:root {
  --hero-forest: #153b34;
  --hero-forest-deep: #102f2a;
  --hero-mist: #d5e2db;
  --hero-lime: #d2e39b;
}

.site-header {
  background: rgba(247, 247, 241, 0.94);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(21, 27, 29, 0.1);
  box-shadow: 0 8px 30px rgba(15, 35, 31, 0.08);
}

.site-header .container.nav {
  height: 84px;
}

.site-header .brand {
  font-size: 1.12rem;
}

.site-header .brand small {
  color: var(--pine);
  font-size: 0.67rem;
  text-transform: uppercase;
}

.site-header .nav-links a {
  color: #394744;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-header .nav-links a:hover {
  color: var(--pine-dark);
}

.site-header .nav-cta .btn.btn-ghost {
  background: var(--pine-dark);
  border-color: var(--pine-dark);
  color: var(--white);
  transition: background 0.2s ease, transform 0.2s ease;
}

.site-header .nav-cta .btn.btn-ghost:hover {
  background: var(--hero-forest);
  border-color: var(--hero-forest);
  transform: translateY(-1px);
}

.hero {
  isolation: isolate;
  padding: calc(84px + 4.2rem) 0 2.1rem;
  overflow: hidden;
  background: var(--hero-forest);
  color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 4rem, 4rem);
  align-items: center;
}

.hero-copy {
  max-width: 590px;
}

.hero .hero-copy .hero-eyebrow {
  color: #c2d8cd;
  margin-bottom: 1.4rem;
}

.hero .hero-copy h1 {
  max-width: 620px;
  color: var(--white);
  font-size: 60px;
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero .hero-copy .hero-sub {
  max-width: 48ch;
  margin-top: 1.35rem;
  color: var(--hero-mist);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero .hero-actions {
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero .hero-actions .btn {
  min-height: 52px;
  padding-inline: 1.2rem;
}

.hero .hero-actions .btn-primary {
  background: var(--hero-lime);
  color: var(--hero-forest-deep);
}

.hero .hero-actions .btn-primary:hover {
  background: #e1edb9;
}

.hero .hero-actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--white);
}

.hero .hero-actions .btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero .hero-art {
  position: relative;
  width: 100%;
  min-height: 0;
  max-height: 610px;
  aspect-ratio: 1 / 0.94;
  overflow: hidden;
  background: var(--hero-forest-deep);
  box-shadow: none;
}

.hero .hero-art img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.86) contrast(1.04);
}

.hero .hero-art::after {
  background: linear-gradient(0deg, rgba(10, 31, 27, 0.68), transparent 42%);
}

.hero .hero-art span {
  left: 1.4rem;
  bottom: 1.3rem;
  padding: 0.65rem 0.8rem;
  background: rgba(16, 47, 42, 0.68);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0;
}

.hero .hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 2.4rem;
  padding-top: 1.25rem;
  border-top-color: rgba(255, 255, 255, 0.24);
}

.hero .hero-meta > div {
  min-width: 0;
  padding: 0.25rem 1.4rem;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.hero .hero-meta > div:first-child {
  padding-left: 0;
}

.hero .hero-meta > div:last-child {
  border-right: 0;
}

.hero .hero-meta .n {
  color: var(--white);
  font-size: 1.05rem;
}

.hero .hero-meta .l {
  color: #bfd0c8;
  font-size: 0.82rem;
}

.site-header {
  animation: header-arrive 0.55s ease-out both;
}

.hero-copy > * {
  animation: hero-copy-arrive 0.7s var(--ease) both;
}

.hero-copy > :nth-child(1) { animation-delay: 0.08s; }
.hero-copy > :nth-child(2) { animation-delay: 0.16s; }
.hero-copy > :nth-child(3) { animation-delay: 0.24s; }
.hero-copy > :nth-child(4) { animation-delay: 0.32s; }

.hero .hero-art img {
  animation: hero-image-arrive 1.1s 0.12s var(--ease) both;
}

.hero .hero-meta {
  animation: hero-copy-arrive 0.7s 0.4s var(--ease) both;
}

@keyframes header-arrive {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-copy-arrive {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-image-arrive {
  from { opacity: 0.5; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 920px) {
  .hero {
    padding-top: calc(84px + 2.5rem);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .hero .hero-art {
    order: -1;
    max-height: none;
    aspect-ratio: 16 / 10;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero .hero-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.8rem;
  }

  .hero .hero-meta > div,
  .hero .hero-meta > div:first-child {
    padding: 0.75rem 1rem;
  }

  .hero .hero-meta > div:nth-child(odd):not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hero .hero-meta > div:last-child {
    grid-column: 1 / -1;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
}

@media (max-width: 600px) {
  .site-header .container.nav {
    height: 76px;
  }

  .hero {
    padding-top: calc(76px + 1.4rem);
    padding-bottom: 2rem;
  }

  .hero .hero-copy h1 {
    font-size: 42px;
    line-height: 1.08;
  }

  .hero .hero-copy .hero-sub {
    font-size: 1rem;
  }

  .hero .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero .hero-actions .btn {
    justify-content: space-between;
  }

  .hero .hero-meta {
    grid-template-columns: 1fr;
    margin-top: 1.6rem;
    padding-top: 0.5rem;
  }

  .hero .hero-meta > div,
  .hero .hero-meta > div:first-child {
    padding: 0.75rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero .hero-meta > div:nth-child(odd):not(:last-child) {
    border-right: 0;
  }

  .hero .hero-meta > div:last-child {
    padding-left: 0;
    border-top: 0;
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .hero-copy > *,
  .hero .hero-art img,
  .hero .hero-meta {
    animation: none !important;
  }
}
