/* ============================================================
   ANANTA CAPITAL — design direction “Academy”
   Palette: Soil Black #181A14 · Verdant #16482E · Field #3E9B63
            Cobalt #22409E · Clay #AE5730 · Ground #F0EADC
   Type:    Georgia (display serif) · Josefin Sans (titling) · Hanken Grotesk (text/UI)
   ============================================================ */

:root {
  --soil:    #181A14;
  --verdant: #16482E;
  --field:   #3E9B63;
  --cobalt:  #22409E;
  --clay:    #AE5730;
  --ground:  #F0EADC;

  --ground-60: rgba(240, 234, 220, .6);
  --ground-35: rgba(240, 234, 220, .35);
  --soil-60:   rgba(24, 26, 20, .62);
  --soil-35:   rgba(24, 26, 20, .38);

  --font-display: Georgia, "Times New Roman", serif;
  --font-text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-titling: "Josefin Sans", "Futura", "Helvetica Neue", sans-serif;

  --pad: clamp(24px, 5vw, 96px);
  --maxw: 1440px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  font-family: var(--font-text);
  font-weight: 400;
  background: var(--soil);
  color: var(--ground);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body[data-loading] .hero__inner,
body[data-loading] .hero__scrollcue { visibility: hidden; }

::selection { background: var(--field); color: var(--soil); }

img { display: block; max-width: 100%; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------------- eyebrows & statements ---------------- */

.eyebrow {
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: .34em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: clamp(28px, 4vh, 56px);
  display: flex;
  align-items: center;
  gap: 18px;
}
.eyebrow::before {
  content: "";
  width: 44px; height: 1px;
  background: currentColor;
  opacity: .9;
  display: inline-block;
}
.eyebrow--field   { color: var(--field); }
.eyebrow--verdant { color: var(--verdant); }
.eyebrow--ground  { color: var(--ground-60); }

.statement {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4.3vw, 70px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  max-width: 20ch;
}
.statement em {
  font-style: italic;
  font-weight: 400;
}
.mission .statement em { color: var(--verdant); }
.statement--ground { color: var(--ground); }
.statement--ground em { color: var(--field); }

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--pad);
  color: var(--ground);
  transition: color .5s ease, background-color .5s ease;
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity .5s ease;
  background: linear-gradient(to bottom, rgba(24,26,20,.72), rgba(24,26,20,.38) 70%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  mask-image: linear-gradient(to bottom, black 55%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent);
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-light { color: var(--soil); }
.nav.is-light::before {
  background: linear-gradient(to bottom, rgba(240,234,220,.82), rgba(240,234,220,.45) 70%, transparent);
}

.nav__brand {
  display: flex; align-items: center; gap: 14px;
  color: inherit; text-decoration: none;
}
.nav__mark { width: 46px; height: 23px; }
.nav__word {
  font-size: 13px; letter-spacing: .32em; text-transform: uppercase;
  font-weight: 600;
}

.nav__links { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.nav__links a {
  color: inherit; text-decoration: none;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 500;
  opacity: .78;
  position: relative;
  padding-bottom: 4px;
  transition: opacity .3s ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right center;
  transition: transform .45s cubic-bezier(.65,.05,0,1);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left center; }

.nav__cta {
  color: inherit; text-decoration: none;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 10px 22px;
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}
.nav.is-light .nav__cta:hover { background: var(--soil); color: var(--ground); }
.nav:not(.is-light) .nav__cta:hover { background: var(--ground); color: var(--soil); }

@media (max-width: 900px) {
  .nav__links { display: none; }
}
.nav__cta { white-space: nowrap; }
@media (max-width: 480px) {
  .nav__cta { font-size: 11px; padding: 8px 16px; }
  .nav__word { letter-spacing: .22em; }
}

/* ============================================================
   HERO — orbit
   ============================================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 110%, #0d1524 0%, var(--soil) 55%, #101210 100%);
}

.hero__globe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}

.hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 var(--pad);
  transform: translateY(-9vh);
}

.hero__eyebrow {
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: .38em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ground-60);
  margin-bottom: clamp(24px, 4vh, 48px);
}

.hero__wordmark {
  width: min(78vw, 880px);
  height: auto;
  color: var(--ground);
  filter: drop-shadow(0 0 60px rgba(240,234,220,.08));
}

.hero__line {
  margin-top: clamp(28px, 4.5vh, 52px);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 34px);
  color: var(--ground);
}

.hero__sub {
  margin-top: 18px;
  max-width: 52ch;
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.75;
  font-weight: 300;
  color: var(--ground-60);
}
.hero__sub em { color: var(--ground); font-style: italic; }

.hero__scrollcue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ground-35);
}
.hero__scrollline {
  width: 1px; height: 72px;
  background: linear-gradient(to bottom, transparent, var(--ground-60));
  overflow: hidden;
  position: relative;
}
.hero__scrollline::after {
  content: ""; position: absolute; left: 0; top: -40%;
  width: 100%; height: 40%;
  background: var(--ground);
  animation: scrolldrip 2.4s cubic-bezier(.65,.05,0,1) infinite;
}
@keyframes scrolldrip {
  0% { top: -40%; } 60%, 100% { top: 110%; }
}

/* ============================================================
   THE CORE QUESTION
   ============================================================ */

.question {
  background: var(--soil);
  padding: clamp(140px, 22vh, 260px) 0;
}

.question__text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(31px, 5vw, 80px);
  line-height: 1.12;
  letter-spacing: -0.012em;
  max-width: 18ch;
  color: var(--ground);
}
.question__text em {
  font-style: italic;
  color: var(--field);
}

.question__body {
  margin-top: clamp(36px, 6vh, 64px);
  max-width: 58ch;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.85;
  font-weight: 300;
  color: var(--ground-60);
}

/* ============================================================
   FLYOVERS — full-bleed scroll-scrubbed earth imagery
   ============================================================ */

.flyover {
  position: relative;
  background: var(--soil);
}

.flyover__frame {
  position: relative;
  height: 130vh;
  overflow: hidden;
}
.flyover--delta .flyover__frame { height: 150vh; }

.flyover__img {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}

.flyover__caption {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  bottom: 34px;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(240,234,220,.85);
  text-shadow: 0 1px 14px rgba(0,0,0,.5);
}

.flyover__quote {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--pad);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 3.3vw, 52px);
  line-height: 1.25;
  color: var(--ground);
  text-shadow: 0 2px 40px rgba(10, 16, 32, .65);
}
.flyover__quote-text {
  display: block;
  max-width: 22ch;
}
.flyover__quote em { font-style: italic; color: #BFE3CD; }
.flyover--delta .flyover__frame::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(58% 42% at 50% 46%, rgba(13, 22, 44, .38) 0%, transparent 100%),
    rgba(13, 22, 44, .34);
}
.flyover--delta .flyover__quote { z-index: 3; }
.flyover--delta .flyover__caption { z-index: 3; }

/* ============================================================
   MISSION (paper / ground)
   ============================================================ */

.mission {
  background: var(--ground);
  color: var(--soil);
  padding: clamp(140px, 20vh, 240px) 0 clamp(120px, 16vh, 200px);
}

.mission__meta {
  margin-top: clamp(56px, 9vh, 110px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 4vw, 72px);
  max-width: 980px;
}
.mission__meta p {
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.85;
  font-weight: 400;
  color: var(--soil-60);
  border-top: 1px solid rgba(24,26,20,.18);
  padding-top: 26px;
}

/* ============================================================
   APPROACH
   ============================================================ */

.approach {
  background: var(--ground);
  color: var(--soil);
  padding: 0 0 clamp(140px, 20vh, 240px);
}

.approach__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(32px, 4vw, 64px);
}

.pillar {
  position: relative;
  padding-top: 34px;
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: rgba(24,26,20,.14);
}
.pillar::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s cubic-bezier(.65,.05,0,1);
}
.pillar[data-accent="verdant"]::after { background: var(--verdant); }
.pillar[data-accent="field"]::after   { background: var(--field); }
.pillar[data-accent="cobalt"]::after  { background: var(--cobalt); }
.pillar.is-inview::after { transform: scaleX(1); }

.pillar__num {
  font-size: 12px;
  letter-spacing: .3em;
  font-weight: 600;
  color: var(--soil-35);
}
.pillar__title {
  margin-top: 18px;
  font-family: var(--font-titling);
  font-weight: 500;
  font-size: clamp(17px, 1.55vw, 23px);
  line-height: 1.35;
  letter-spacing: .12em;
  text-transform: uppercase;
  max-width: 18ch;
}
.pillar__body {
  margin-top: 16px;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.8;
  color: var(--soil-60);
  max-width: 42ch;
}

/* ============================================================
   VALUES (verdant)
   ============================================================ */

.values {
  position: relative;
  background: var(--verdant);
  color: var(--ground);
  padding: clamp(140px, 20vh, 240px) 0;
  overflow: hidden;
}
.values__bg {
  position: absolute; inset: 0;
  background: url("../assets/img/flyover_forest.jpg") center / cover no-repeat;
  opacity: .14;
  mix-blend-mode: luminosity;
  pointer-events: none;
}
.values .container { position: relative; }

.values__list { list-style: none; }

.value {
  display: grid;
  grid-template-columns: 64px minmax(200px, 420px) 1fr;
  gap: clamp(16px, 3vw, 48px);
  align-items: baseline;
  padding: clamp(26px, 4vh, 44px) 0;
  border-bottom: 1px solid rgba(240,234,220,.18);
  position: relative;
}
.value::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 1px;
  background: var(--field);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.2s cubic-bezier(.65,.05,0,1);
}
.value.is-inview::after { transform: scaleX(1); }
.value:first-child { border-top: 1px solid rgba(240,234,220,.18); }

.value__index {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: rgba(240,234,220,.5);
}
.value__name {
  font-family: var(--font-titling);
  font-weight: 400;
  font-size: clamp(19px, 2.15vw, 33px);
  line-height: 1.25;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.value__line {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.75;
  font-weight: 300;
  color: rgba(240,234,220,.72);
  max-width: 52ch;
}

@media (max-width: 760px) {
  .value { grid-template-columns: 40px 1fr; }
  .value__line { grid-column: 2; margin-top: 8px; }
}

/* ============================================================
   VISION (soil, night)
   ============================================================ */

.vision .statement {
  max-width: 30ch;
  font-size: clamp(25px, 3.5vw, 56px);
  line-height: 1.28;
}

.vision {
  position: relative;
  background:
    radial-gradient(90% 70% at 70% 20%, rgba(34, 64, 158, .16) 0%, transparent 60%),
    var(--soil);
  padding: clamp(160px, 24vh, 280px) 0;
}

/* ============================================================
   BAND — clay divider
   ============================================================ */

.band {
  position: relative;
  height: 56vh;
  min-height: 380px;
  overflow: hidden;
  background: var(--clay);
}
.band__img {
  position: absolute;
  inset: -12% 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  will-change: transform;
}
.band__caption {
  position: absolute;
  left: var(--pad);
  bottom: 28px;
  z-index: 2;
  max-width: 46ch;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  line-height: 1.9;
  color: rgba(240,234,220,.9);
  text-shadow: 0 1px 12px rgba(0,0,0,.45);
}

/* ============================================================
   TEAM
   ============================================================ */

.team {
  background: var(--ground);
  color: var(--soil);
  padding: clamp(140px, 20vh, 240px) 0;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(40px, 6vw, 96px);
  max-width: 1080px;
}

.person__avatar {
  width: 92px; height: 92px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
  color: var(--ground);
}
.person__avatar[data-accent="verdant"] { background: var(--verdant); }
.person__avatar[data-accent="clay"]    { background: var(--clay); }
.person__avatar span {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: .04em;
}

.person__name {
  font-family: var(--font-titling);
  font-weight: 500;
  font-size: clamp(19px, 1.9vw, 28px);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.person__role {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--clay);
}
.person__bio {
  margin-top: 20px;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.85;
  color: var(--soil-60);
  max-width: 46ch;
}

/* ============================================================
   CONTACT / FOOTER
   ============================================================ */

.contact {
  background:
    radial-gradient(100% 80% at 50% 120%, rgba(22, 72, 46, .5) 0%, transparent 65%),
    var(--soil);
  padding-top: clamp(160px, 22vh, 280px);
}

.contact__title {
  font-family: var(--font-titling);
  font-weight: 300;
  font-size: clamp(36px, 6.2vw, 106px);
  line-height: 1.14;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ground);
  max-width: 13ch;
}
.contact__title em { font-style: normal; color: var(--field); }

.contact__mail {
  display: inline-block;
  margin-top: clamp(40px, 7vh, 72px);
  font-size: clamp(17px, 1.8vw, 24px);
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--ground);
  text-decoration: none;
  border: 1px solid var(--ground-35);
  border-radius: 999px;
  padding: 20px 44px;
  transition: background .4s ease, color .4s ease, border-color .4s ease;
}
.contact__mail:hover {
  background: var(--ground);
  color: var(--soil);
  border-color: var(--ground);
}

.footer {
  margin-top: clamp(120px, 16vh, 220px);
  border-top: 1px solid rgba(240,234,220,.14);
  padding: 40px var(--pad) 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer__lockup {
  display: flex; align-items: center; gap: 16px;
  color: var(--ground);
}
.footer__mark { width: 52px; height: 26px; }
.footer__word {
  font-size: 13px; letter-spacing: .32em; text-transform: uppercase; font-weight: 600;
}

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ground-35);
}

/* ============================================================
   REVEALS (JS adds spans; these are safe defaults)
   ============================================================ */

.split-words .word, .split .line { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .hero__scrollline::after { animation: none; }
}
