:root {
  --ink: #0f2e23;                 /* deep forest text */
  --muted: #4f6f64;               /* muted sage */
  --surface: #ffffff;             /* main background */
  --surface-2: #edf7f2;           /* soft mint section bg */
  --accent: #1b8a5a;              /* primary green */
  --accent-2: #0f5132;            /* darker green (hover / strong elements) */
  --accent-3: #7cc9a6;            /* light mint highlight */
  --line: #d6ebe2;                /* subtle green border */
  --shadow: 0 24px 48px rgba(16, 64, 48, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
}


* {
  box-sizing: border-box;
}

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 42%, #f7faff 100%);
}

a {
  color: var(--accent);
}

a:hover {
  color: #003f7a;
}

.title,
h1,
h2,
h3 {
  font-family: "Avenir Next", "Avenir", "Raleway", "Helvetica Neue", sans-serif;
}

.publication-title {
  font-family: "Avenir Next", "Avenir", "Raleway", sans-serif;
  font-weight: 700;
}

.publication-logo {
  height: 50px;
  width: 50px;
  margin-right: 1rem;
  object-fit: contain;
  vertical-align: middle;
  display: inline-block;
}

.section-title {
  font-family: "Avenir Next", "Avenir", "Raleway", sans-serif;
  letter-spacing: 0.3px;
}

.hero-landing {
  position: relative;
  overflow: hidden;
}

.hero-landing::before,
.hero-landing::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.28;
  z-index: 0;
}

.hero-landing::before {
  background: radial-gradient(circle, rgba(11, 78, 162, 0.18) 0%, rgba(11, 78, 162, 0) 70%);
  top: -160px;
  left: -140px;
}

.hero-landing::after {
  background: radial-gradient(circle, rgba(198, 40, 40, 0.18) 0%, rgba(198, 40, 40, 0) 70%);
  bottom: -180px;
  right: -120px;
}

.hero-landing .hero-body {
  position: relative;
  z-index: 1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.wacv-line {
  margin-top: 0.75rem;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}


.hero-subtitle {
  color: var(--muted);
  max-width: 780px;
  margin: 0 auto 1.5rem auto;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.pill {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.9rem;
}

.pill-outline {
  background: transparent;
  border: 1px dashed var(--accent-2);
  color: var(--accent-2);
}


.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin: 1.5rem 0 2.5rem;
}

.hero-cta .button.is-light {
  background: #ffffff;
  border: 1px solid var(--line);
}

.hero-cta .button.is-dark {
  background: var(--accent);
}

.hero-highlight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: left;
}

.highlight-title {
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.highlight-text {
  color: var(--muted);
  font-size: 0.98rem;
}

.overview-figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  max-height: 720px;
  object-fit: contain;
  background: #ffffff;
  padding: 1rem;
}

.section-contrast {
  background: var(--surface-2);
}

.card-panel {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  height: 100%;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.metric {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 1rem 1.25rem;
}

.metric-label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.metric-value {
  font-weight: 600;
}

.callout {
  background: linear-gradient(120deg, rgba(11, 78, 162, 0.08), rgba(198, 40, 40, 0.08));
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.callout-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}


.task-carousel-wrapper {
  margin-top: 2.5rem;
}

.task-carousel .item {
  padding: 0.5rem;
}

.task-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  height: 100%;
}

.task-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.task-pill {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  background: var(--surface-2);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
}

.task-figure {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #ffffff;
  object-fit: contain;
}

.task-caption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.task-stack {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.task-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.task-panel-figure img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.sample-carousel .item {
  padding: 0.5rem;
  width: 100%;
}

.sample-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
}

.sample-item {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.sample-track::-webkit-scrollbar {
  height: 8px;
}

.sample-track::-webkit-scrollbar-track {
  background: #eef2ff;
  border-radius: 999px;
}

.sample-track::-webkit-scrollbar-thumb {
  background: rgba(11, 78, 162, 0.35);
  border-radius: 999px;
}

.sample-card {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 0.75rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.sample-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.sample-caption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  word-break: break-all;
}

.results-stack {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.figure-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: 1rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.figure-card img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.full-figure img {
  max-height: 720px;
  object-fit: contain;
}

.publication-title {
  font-family: "Fraunces", serif;
}

.publication-authors {
  font-family: "Space Grotesk", sans-serif;
}

.asu-affiliation {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.publication-authors a {
  color: var(--accent-2) !important;
}

.publication-authors a:hover {
  text-decoration: underline;
}

.footer {
  background: transparent;
  padding-top: 2rem;
}

.footer a {
  color: var(--accent);
}

@media (max-width: 768px) {
  .hero-highlight {
    grid-template-columns: 1fr;
  }

  .overview-figure img {
    width: 100%;
  }

  .hero-cta {
    flex-direction: column;
  }

  .sample-card img {
    height: 180px;
  }
}
