/* ============================================================
   HOMEPAGE ONLY — index.html
   Hero, ticker, recognition, homepage about teaser
   Loads after style.css
   ============================================================ */

/* Fixed nav offset for homepage */
body {
  padding-top: 64px;
}

/* Homepage nav behavior */
.nav {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent;
  border-bottom-color: var(--rule);
  transition:
    background var(--ease-slow, 400ms cubic-bezier(0.16, 1, 0.3, 1)),
    border-color var(--ease-slow, 400ms cubic-bezier(0.16, 1, 0.3, 1));
}

.nav--hero {
  background: transparent;
  border-bottom-color: var(--rule);
}

.nav--hero .nav__logo,
.nav--hero .nav__toggle,
.nav--hero .nav__mobile-btn {
  color: var(--text);
}

.nav--hero .nav__logo span,
.nav--hero .nav__links a {
  color: var(--text-muted);
}

.nav--hero .nav__links a:hover,
.nav--hero .nav__links a[aria-current='page'] {
  color: var(--text);
}

.nav--solid {
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  border-bottom-color: var(--rule);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav--solid .nav__logo,
.nav--solid .nav__mobile-btn {
  color: var(--text);
}

.nav--solid .nav__logo span,
.nav--solid .nav__toggle,
.nav--solid .nav__links a {
  color: var(--text-muted);
}

.nav--solid .nav__links a:hover,
.nav--solid .nav__links a[aria-current='page'],
.nav--solid .nav__toggle:hover {
  color: var(--text);
}

/* Homepage hero */
.hero {
  position: relative;
  min-height: calc(100svh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--bg);
  overflow: clip;
}

.hero--no-image {
  background: var(--bg);
}

.hero__bg,
.hero__overlay,
.hero__image,
.hero__scroll {
  display: none;
}

.hero__content {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding:
    clamp(3rem, 7vw, 5.5rem)
    var(--gutter)
    clamp(3rem, 7vw, 5rem)
    var(--gutter);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  border-right: none;
}

.hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
}

.hero__eyebrow .label {
  color: var(--text-faint);
}

.hero__headline {
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--text);
  text-shadow: none;
}

.hero__sub {
  max-width: 58ch;
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-muted);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  width: fit-content;
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--rule);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  transition: gap var(--ease), color var(--ease);
}

.hero__cta:hover {
  gap: var(--space-5);
  color: var(--text-muted);
}

.hero__content .hero__eyebrow,
.hero__content .hero__headline,
.hero__content .hero__sub,
.hero__content .hero__cta {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__content .hero__eyebrow  { animation-delay: 0.18s; }
.hero__content .hero__headline { animation-delay: 0.32s; }
.hero__content .hero__sub      { animation-delay: 0.46s; }
.hero__content .hero__cta      { animation-delay: 0.60s; }

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ticker */
.ticker {
  position: relative;
  z-index: 10;
  overflow: hidden;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
}

.ticker__track {
  display: flex;
  gap: var(--space-8);
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}

.ticker__item {
  white-space: nowrap;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* Recognition band */
.recognition {
  padding-block: var(--space-12);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
}

.recognition__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.recognition__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.recognition__value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text);
}

.recognition__desc {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Homepage about teaser */
.about-teaser {
  padding-block: clamp(var(--space-16), 6vw, var(--space-24));
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg-alt);
}

.about-teaser__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-12), 6vw, var(--space-24));
  align-items: center;
}

.about-teaser__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.about-teaser__quote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text);
}

.about-teaser__body {
  max-width: 42ch;
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-muted);
}

.about-teaser__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--surface);
}

.about-teaser__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero__content {
    padding-top: clamp(2.5rem, 6vw, 3.5rem);
    padding-bottom: clamp(2.5rem, 6vw, 3.5rem);
    gap: var(--space-5);
  }

  .hero__headline,
  .hero__sub {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .about-teaser__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .about-teaser__image {
    order: -1;
    aspect-ratio: auto;
    max-height: none;
    height: auto;
    overflow: visible;
  }

  .about-teaser__image img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center top;
  }
}

@media (max-width: 640px) {
  body {
    padding-top: 56px;
  }

  .nav {
    border-bottom-color: var(--rule);
  }

  .nav--hero {
    background: transparent !important;
    border-bottom-color: var(--rule) !important;
  }

  .hero {
    min-height: auto;
    align-items: center;
    justify-content: center;
  }

  .hero__content {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
    gap: var(--space-4);
  }

  .hero__eyebrow {
    gap: 0.3rem 0.5rem;
  }

  .hero__headline {
    font-size: clamp(1.75rem, 7vw, 2.3rem);
    line-height: 1.22;
    max-width: 100%;
  }

  .hero__sub {
    max-width: 100%;
    font-size: var(--text-sm);
    line-height: 1.65;
  }

  .hero__cta {
    margin-top: 0.1rem;
  }
}

@media (max-width: 600px) {
  .recognition__list {
    grid-template-columns: repeat(2, 1fr);
  }
}