/* =======================================================
   MANGROVE DIGITAL — Website
   Built on the Mangrove Digital brand system.
   Colours: #CFFDD8 mint · #A9D9D4 teal · #1E2615 forest
   Type:    Montserrat (display + body) · Poppins (accent)
   Treatment: full-bleed mangrove imagery, per brandbook
              guidance — photo + brand colour overlay
              (multiply/overlay ~70% opacity).
   ======================================================= */

:root {
  /* Brand */
  --brand-mint:   #CFFDD8;
  --brand-teal:   #A9D9D4;
  --brand-forest: #1E2615;

  /* Derived surfaces */
  --ink:        #080C05;
  --forest-0:   #0F160A;   /* base */
  --forest-1:   #141D0E;   /* surface */
  --forest-2:   #1D2816;   /* raised */
  --forest-3:   #25331D;   /* hover */
  --forest-line: rgba(207, 253, 216, .10);

  /* Text */
  --text:       #E8F2DB;
  --text-soft:  #B8C9AE;
  --text-muted: #8A9A82;

  /* Accents */
  --accent:       var(--brand-mint);
  --accent-deep:  #A5D1AE;
  --accent-cool:  var(--brand-teal);

  /* Motion */
  --ease-out-quint:    cubic-bezier(.22,1,.36,1);
  --ease-in-out-quint: cubic-bezier(.83,0,.17,1);
  --ease-out-expo:     cubic-bezier(.16,1,.3,1);

  /* Layout */
  --container: 1280px;
  --pad: clamp(20px, 4vw, 56px);
  --radius-lg: 22px;
  --radius-md: 14px;

  /* ============ IMAGE MANIFEST ============
     Swap any of these paths to point at different photos.
     Each section reads its image from one of these vars. */
  --img-hero:      url('./img/hero-aerial-river.jpg');
  --img-essence:   url('./img/essence-mangrove-grove.jpg');
  --img-bento-1:   url('./img/bento-1-aerial-river.jpg');
  --img-bento-3:   url('./img/bento-3-root-detail.jpg');
  --img-bento-5:   url('./img/bento-5-ecosystem-skyline.jpg');
  --img-approach:  url('./img/approach-above-below.jpg');
  --img-quote:     url('./img/quote-canopy-up.jpg');
  --img-cta:       url('./img/bento-5-ecosystem-skyline.jpg');
  /* About-page photo slots (reuse source files — easy to swap later) */
  --img-about:     url('./img/bento-3-root-detail.jpg');
  --img-team:      url('./img/essence-mangrove-grove.jpg');
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 400;
  background: var(--forest-0);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}
html.has-cursor body,
html.has-cursor button,
html.has-cursor a { cursor: none; }
@media (hover: none) {
  html.has-cursor body,
  html.has-cursor button,
  html.has-cursor a { cursor: auto; }
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }
ul, ol { list-style: none; padding: 0; margin: 0; }

::selection { background: var(--brand-mint); color: var(--brand-forest); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); position: relative; z-index: 2; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

.brace {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  color: var(--brand-mint);
  display: inline-block;
  transition: transform .6s var(--ease-out-expo);
}
.brace--hero {
  color: var(--brand-mint);
  font-weight: 200;
  padding: 0 .08em;
  display: inline-block;
  /* Hero braces sit a touch higher than Montserrat cap-height — nudge so the
     curl reads as a parenthetical wrapper, not a clipped glyph. */
  line-height: 1;
  transform: translateY(-0.02em);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.eyebrow__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-mint);
  box-shadow: 0 0 0 4px rgba(207,253,216,.16);
  animation: pulseDot 2.6s infinite ease-in-out;
}
@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 0 4px rgba(207,253,216,.14); }
  50%     { box-shadow: 0 0 0 9px rgba(207,253,216,.04); }
}

.section__kicker {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 26px;
  padding-left: 14px;
  position: relative;
}
.section__kicker::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 6px;
  transform: translateY(-50%);
  background: var(--accent);
  border-radius: 50%;
}

.section__title {
  font-size: clamp(36px, 6vw, 84px);
  line-height: .98;
  font-weight: 700;
  letter-spacing: -.035em;
  max-width: 16ch;
}
.section__title em {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
}
.section__lede {
  font-size: clamp(16px, 1.25vw, 19px);
  color: var(--text-soft);
  max-width: 54ch;
  line-height: 1.6;
}
.section__head { margin-bottom: 80px; }
.section__head--split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: end;
}
@media (max-width: 880px) {
  .section__head--split { grid-template-columns: 1fr; gap: 32px; }
}

/* ===========================================================
   FULL-BLEED IMAGE LAYER  (.bleed)
   Every full-bleed section uses this wrapper:
     <section class="bleed">
       <div class="bleed__bg">
         <div class="bleed__image bleed__image--foo"></div>  // photo
         <div class="bleed__tint  bleed__tint--foo"></div>   // overlay
         <div class="bleed__grain"></div>                    // texture
       </div>
       <div class="container"> content </div>
     </section>
   Per brandbook: image desaturated + brand-colour overlay
   in multiply/overlay mode. That's what --tint layers do.
   =========================================================== */
.bleed { position: relative; isolation: isolate; overflow: hidden; }
.bleed__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.bleed__image {
  position: absolute;
  inset: -8% -4%;    /* overflow for parallax */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}
.bleed__tint {
  position: absolute; inset: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.bleed__grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.09  0 0 0 0 0.11  0 0 0 0 0.06  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.6'/></svg>");
  mix-blend-mode: overlay;
}

/* Individual image sources */
.bleed__image--hero     { background-image: var(--img-hero); }
.bleed__image--essence  { background-image: var(--img-essence); }
.bleed__image--approach { background-image: var(--img-approach); }
.bleed__image--quote    { background-image: var(--img-quote); }
.bleed__image--cta      { background-image: var(--img-cta); }
.bleed__image--about    { background-image: var(--img-about); }
.bleed__image--team     { background-image: var(--img-team); }

/* Tints — brand colour overlays per brandbook treatment
   (desaturate + forest/mint overlay). Each section gets its
   own mood via layered gradients. */
.bleed__tint--hero {
  background:
    /* deepen edges so H1 reads clean */
    radial-gradient(120% 80% at 30% 50%, rgba(15,22,10,.20) 0%, rgba(15,22,10,.88) 72%),
    /* mint highlight top-left */
    linear-gradient(125deg, rgba(207,253,216,.10) 0%, rgba(207,253,216,0) 45%),
    /* forest teal wash */
    linear-gradient(180deg, rgba(30,38,21,.40) 0%, rgba(15,22,10,.88) 90%);
  mix-blend-mode: normal;
}
.bleed__tint--essence {
  background:
    radial-gradient(100% 80% at 70% 40%, rgba(169,217,212,.14) 0%, transparent 55%),
    linear-gradient(180deg, rgba(15,22,10,.68) 0%, rgba(15,22,10,.93) 92%),
    linear-gradient(20deg,  rgba(30,38,21,.55) 0%, rgba(30,38,21,.20) 60%);
  mix-blend-mode: normal;
}
.bleed__tint--approach {
  /* mint wash — approach is the light section. Photo reads
     as a pale, desaturated canopy behind the mint field. */
  background:
    linear-gradient(180deg, rgba(207,253,216,.94) 0%, rgba(207,253,216,.92) 100%);
  mix-blend-mode: normal;
}
.bleed__tint--quote {
  background:
    radial-gradient(80% 70% at 50% 40%, rgba(15,22,10,.50) 0%, rgba(15,22,10,.95) 90%),
    linear-gradient(180deg, rgba(15,22,10,.6) 0%, rgba(15,22,10,.95) 100%);
  mix-blend-mode: normal;
}
.bleed__tint--cta {
  background:
    /* darken left side where the headline + CTA live */
    linear-gradient(90deg, rgba(8,12,5,.80) 0%, rgba(8,12,5,.50) 40%, rgba(8,12,5,.18) 75%, rgba(8,12,5,.10) 100%),
    /* subtle bottom vignette for depth */
    linear-gradient(180deg, rgba(8,12,5,.05) 0%, rgba(8,12,5,.35) 100%);
  mix-blend-mode: normal;
}
.bleed__tint--about {
  /* About hero — forest-dominant with a mint halo top-right for depth */
  background:
    radial-gradient(110% 90% at 78% 18%, rgba(207,253,216,.18) 0%, transparent 55%),
    radial-gradient(120% 90% at 24% 58%, rgba(15,22,10,.25) 0%, rgba(15,22,10,.92) 75%),
    linear-gradient(180deg, rgba(30,38,21,.45) 0%, rgba(15,22,10,.92) 90%);
  mix-blend-mode: normal;
}
.bleed__tint--team {
  background:
    radial-gradient(100% 80% at 30% 30%, rgba(169,217,212,.16) 0%, transparent 60%),
    linear-gradient(180deg, rgba(15,22,10,.78) 0%, rgba(15,22,10,.95) 95%);
  mix-blend-mode: normal;
}

/* ---------- TEAM GRID (about page) ---------- */
.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 720px) { .team__grid { grid-template-columns: 1fr; } }

.teammate {
  position: relative;
  padding: 28px 26px 32px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(207,253,216,.14);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: transform .6s var(--ease-out-expo), border-color .4s ease;
  overflow: hidden;
}
.teammate:hover {
  transform: translateY(-4px);
  border-color: rgba(207,253,216,.34);
}
.teammate__mark {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 44px;
  color: var(--brand-mint);
  line-height: 1;
  margin-bottom: 22px;
  letter-spacing: -.04em;
}
.teammate__mark .brace { font-weight: 200; opacity: .55; padding: 0 2px; }
.teammate__photo {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid rgba(207,253,216,.28);
  background: rgba(15,22,10,.4);
  transition: border-color .4s ease, transform .6s var(--ease-out-expo);
}
.teammate__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.teammate:hover .teammate__photo {
  border-color: rgba(207,253,216,.55);
}
.teammate__name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -.02em;
  margin-bottom: 2px;
}
.teammate__role {
  display: block;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-mint);
  opacity: .82;
  margin-bottom: 14px;
}
.teammate__bio {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-soft);
}

/* ---------- ABOUT PAGE MANIFESTO BLOCK ---------- */
.manifesto {
  padding: clamp(100px, 14vh, 160px) 0 clamp(80px, 12vh, 140px);
  background: var(--brand-forest);
  color: var(--text);
  position: relative;
}
.manifesto__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative; z-index: 2;
}
.manifesto__lede {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.18;
  letter-spacing: -.02em;
}
.manifesto__lede em {
  font-style: normal;
  color: var(--brand-mint);
  font-weight: 500;
}
.manifesto__rule {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, rgba(207,253,216,.5), rgba(207,253,216,0));
  margin: 42px 0 36px;
  max-width: 420px;
}
.manifesto__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 24px;
}
@media (max-width: 720px) { .manifesto__meta { grid-template-columns: 1fr; } }
.manifesto__metaItem h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand-mint);
  margin-bottom: 8px;
}
.manifesto__metaItem p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-soft);
}

/* Hero motion comes from JS parallax + rhizome draw. No CSS animation
   on the image layer itself — it would fight the parallax transform. */

/* ---------- INTRO CURTAIN ---------- */
.intro {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  pointer-events: none;
}
.intro__panel {
  position: absolute; inset: 0;
  background: var(--brand-mint);
  transform-origin: bottom;
  animation: curtainUp 1.4s .5s var(--ease-in-out-quint) forwards;
}
.intro__mark {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(80px, 14vw, 180px);
  color: var(--brand-forest);
  font-weight: 300;
  display: flex;
  align-items: center;
  letter-spacing: -.06em;
  opacity: 0;
  animation: markIn .7s .2s var(--ease-out-expo) forwards, markOut .5s 1.2s var(--ease-out-expo) forwards;
}
.intro__m { font-weight: 700; }
@keyframes curtainUp {
  0%   { transform: translateY(0);   border-radius: 0; }
  60%  { transform: translateY(-60%); border-radius: 0 0 40% 40% / 0 0 30% 30%; }
  100% { transform: translateY(-110%); border-radius: 0 0 50% 50% / 0 0 50% 50%; }
}
@keyframes markIn  { to { opacity: 1; transform: scale(1); } }
@keyframes markOut { to { opacity: 0; transform: scale(.9) translateY(-10px); } }

.intro.is-done { display: none; }

/* ---------- CUSTOM CURSOR ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 28px; height: 28px;
  border: 1px solid rgba(207,253,216,.55);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: width .28s var(--ease-out-expo), height .28s var(--ease-out-expo),
              border-color .2s ease, background-color .2s ease;
  z-index: 900;
  mix-blend-mode: difference;
}
.cursor span {
  position: absolute;
  top: 50%; left: 50%;
  width: 5px; height: 5px;
  background: var(--brand-mint);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: transform .25s var(--ease-out-expo);
}
.cursor.is-hover {
  width: 58px; height: 58px;
  border-color: rgba(207,253,216,.85);
  background: rgba(207,253,216,.04);
}
.cursor.is-hover span { transform: translate(-50%,-50%) scale(0); }
.cursor.is-press { transform: translate(-50%,-50%) scale(.75); }

@media (hover: none) { .cursor { display: none; } }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px var(--pad);
  transition: transform .6s var(--ease-out-expo), background .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(15,22,10, .62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-color: var(--forest-line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -.02em;
  display: inline-flex;
  align-items: baseline;
  color: var(--brand-mint);
  white-space: nowrap;
}
.logo__word { font-weight: 500; margin: 0 1px; }
.logo__tag {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-left: 10px;
  transform: translateY(-1px);
}
.logo__img {
  display: block;
  height: 32px;
  width: auto;
}
.logo--footer .logo__img { height: 44px; }
.logo:hover .brace { transform: translateX(var(--d, 0)); }
.logo:hover .brace:first-child { --d: -3px; }
.logo:hover .brace:nth-child(3) { --d: 3px; }

.nav__links { display: flex; gap: 8px; }
.nav__links a {
  position: relative;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: -.005em;
  border-radius: 999px;
  overflow: hidden;
}
.nav__links a span {
  position: relative;
  display: inline-block;
  transition: transform .45s var(--ease-out-expo);
}
.nav__links a::before {
  content: '';
  position: absolute; left: 50%; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%,-50%) scale(0);
  transition: transform .5s var(--ease-out-expo), opacity .3s ease;
  opacity: 0;
}
.nav__links a:hover { color: var(--brand-mint); }
.nav__links a:hover span { transform: translateY(-1px); }
.nav__links a:hover::before {
  transform: translate(-50%, 18px) scale(1);
  opacity: .9;
}

@media (max-width: 820px) { .nav__links { display: none; } }

/* ---------- BUTTONS ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .01em;
  border-radius: 999px;
  overflow: hidden;
  transition: transform .5s var(--ease-out-expo), color .4s ease;
  will-change: transform;
}
.btn--primary {
  background: var(--brand-mint);
  color: var(--brand-forest);
  padding: 16px 28px;
}
.btn--primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, var(--accent-cool), var(--brand-mint) 55%);
  transform: translateY(100%);
  transition: transform .55s var(--ease-out-expo);
  z-index: 0;
}
.btn--primary:hover::before { transform: translateY(0); }
.btn--primary > * { position: relative; z-index: 1; }

.btn--ghost {
  background: rgba(207,253,216, .07);
  color: var(--brand-mint);
  border: 1px solid var(--forest-line);
  padding: 11px 20px;
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  border-color: rgba(207,253,216, .35);
  background: rgba(207,253,216, .12);
}

.btn--text {
  color: var(--text);
  padding: 16px 4px;
}
.btn--text .btn__underline {
  position: absolute; left: 4px; bottom: 12px;
  height: 1px; width: calc(100% - 8px);
  background: currentColor;
  transform-origin: right;
  transform: scaleX(.4);
  opacity: .4;
  transition: transform .45s var(--ease-out-expo), opacity .3s ease;
}
.btn--text:hover .btn__underline { transform-origin: left; transform: scaleX(1); opacity: 1; }

.btn--lg { padding: 22px 34px; font-size: 15px; }

.btn__arrow { transition: transform .4s var(--ease-out-expo); display: inline-block; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 140px;
  display: grid;
  align-items: center;
}
.hero__rhizome {
  position: absolute; inset: -5%;
  width: 110%; height: 110%;
  opacity: .5;
  mix-blend-mode: screen;
}
.rhz path {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: drawRhz 3.2s .9s var(--ease-out-expo) forwards;
}
@keyframes drawRhz { to { stroke-dashoffset: 0; } }

.hero__grid {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  gap: 40px;
  width: 100%;
}

.hero__h1 {
  font-size: clamp(52px, 10vw, 148px);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.045em;
  color: var(--text);
  text-shadow: 0 4px 40px rgba(0,0,0,.35);
}
.hero__h1 .line {
  display: block;
  overflow: hidden;
  /* Generous vertical padding so the { } motif and descenders aren't clipped
     by the mask used for the reveal animation. Negative margin reclaims the
     visual space so line-height doesn't open up. */
  padding: 0.22em 0 0.18em;
  margin: -0.14em 0;
}
.hero__h1 .line > * {
  display: inline-block;
  will-change: transform;
  transform: translateY(110%);
}
.hero.is-ready .hero__h1 .line > * {
  transform: translateY(0);
  transition: transform 1.1s var(--ease-out-expo);
}
.hero.is-ready .hero__h1 .line:nth-child(1) > * { transition-delay: .05s; }
.hero.is-ready .hero__h1 .line:nth-child(2) > * { transition-delay: .18s; }
.hero.is-ready .hero__h1 .line:nth-child(3) > * { transition-delay: .32s; }

.hero__sub {
  max-width: 54ch;
  font-size: clamp(16px, 1.4vw, 21px);
  color: var(--text-soft);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(24px);
  text-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.hero.is-ready .hero__sub {
  opacity: 1; transform: none;
  transition: opacity .9s .5s var(--ease-out-expo), transform .9s .5s var(--ease-out-expo);
}

.hero__cta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  opacity: 0; transform: translateY(24px);
}
.hero.is-ready .hero__cta {
  opacity: 1; transform: none;
  transition: opacity .9s .68s var(--ease-out-expo), transform .9s .68s var(--ease-out-expo);
}

.hero__meta {
  display: flex;
  gap: clamp(28px, 4vw, 64px);
  flex-wrap: wrap;
  padding-top: 28px;
  margin-top: 8px;
  border-top: 1px solid var(--forest-line);
  opacity: 0; transform: translateY(24px);
}
.hero.is-ready .hero__meta {
  opacity: 1; transform: none;
  transition: opacity 1s .85s var(--ease-out-expo), transform 1s .85s var(--ease-out-expo);
}
.hero__metaItem { display: flex; flex-direction: column; gap: 6px; }
.hero__metaNum {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 700;
  color: var(--brand-mint);
  letter-spacing: -.03em;
  display: inline-block;
}
.hero__metaLbl {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero .eyebrow { opacity: 0; transform: translateY(16px); }
.hero.is-ready .eyebrow {
  opacity: 1; transform: none;
  transition: opacity .7s .2s var(--ease-out-expo), transform .7s .2s var(--ease-out-expo);
}

.hero__scroll {
  position: absolute;
  bottom: 38px;
  right: var(--pad);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero__scrollLine {
  position: relative;
  display: block;
  width: 1px; height: 64px;
  background: rgba(232, 242, 219, .2);
  overflow: hidden;
}
.hero__scrollLine::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 40%;
  background: var(--brand-mint);
  animation: scrollLine 2.2s infinite var(--ease-in-out-quint);
}
@keyframes scrollLine {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(250%); }
}

/* ---------- MARQUEE ---------- */
.marquee {
  background: var(--forest-1);
  padding: 64px 0;
  border-top: 1px solid var(--forest-line);
  border-bottom: 1px solid var(--forest-line);
  overflow: hidden;
}
.marquee__label {
  text-align: center;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.marquee__track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  will-change: transform;
  animation: scrollX 48s linear infinite;
}
.marquee__track:hover { animation-play-state: paused; }
.marquee__row {
  display: flex;
  align-items: center;
  gap: 64px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -.02em;
  color: var(--text-soft);
  flex-shrink: 0;
}
.marquee__row span { transition: color .4s ease, letter-spacing .6s var(--ease-out-expo); }
.marquee__row span:hover { color: var(--brand-mint); letter-spacing: -.005em; }
.marquee__row em {
  color: var(--accent-cool);
  opacity: .35;
  font-style: normal;
  font-size: .8em;
}
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ---------- ESSENCE / PILLARS — GLASS OVER FULL-BLEED PHOTO ---------- */
.essence {
  padding: clamp(100px, 14vw, 180px) 0;
}
.essence .section__title { color: var(--text); }
.essence .section__lede { color: rgba(232, 242, 219, .82); }

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1100px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .pillars { grid-template-columns: 1fr; } }

.pillar {
  position: relative;
  padding: 40px 28px 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .6s var(--ease-out-expo), background .5s ease, border-color .5s ease;
  transform-style: preserve-3d;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

/* Glass pillars read over the full-bleed photo */
.pillar--glass {
  background: rgba(15, 22, 10, .48);
  border: 1px solid rgba(207,253,216, .18);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  color: var(--text);
}
.pillar--glass:hover {
  background: rgba(15, 22, 10, .62);
  border-color: rgba(207,253,216, .38);
}

.pillar__num {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .2em;
  margin-bottom: 28px;
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid rgba(207,253,216, .28);
  border-radius: 999px;
  align-self: flex-start;
}
.pillar__title {
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -.02em;
  min-height: 2.4em;
}
.pillar__body {
  color: rgba(232, 242, 219, .82);
  font-size: 14.5px;
  line-height: 1.6;
}
.pillar__corner {
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at top right, rgba(207,253,216,.28), transparent 70%);
  opacity: 0;
  transition: opacity .5s ease;
}
.pillar:hover .pillar__corner { opacity: 1; }

/* Solid accent pillar — stands out against imagery */
.pillar--accent {
  background: var(--brand-mint);
  color: var(--brand-forest);
  border: none;
}
.pillar--accent .pillar__num {
  color: var(--brand-forest);
  border-color: rgba(30,38,21, .28);
}
.pillar--accent .pillar__body { color: rgba(30,38,21, .78); }
.pillar--accent:hover { background: #BEEEC7; }

/* ---------- KINETIC VALUES STRIP ---------- */
.kinetic {
  background: var(--brand-mint);
  color: var(--brand-forest);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
}
.kinetic::before, .kinetic::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.kinetic::before { left: 0;  background: linear-gradient(90deg, var(--brand-mint), transparent); }
.kinetic::after  { right: 0; background: linear-gradient(270deg, var(--brand-mint), transparent); }
.kinetic__track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: scrollX 34s linear infinite;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 32px);
  letter-spacing: -.02em;
}
.kinetic__track span { display: inline-flex; align-items: center; }
.kinetic__track i {
  color: var(--brand-forest);
  opacity: .35;
  font-style: normal;
  margin: 0 8px;
}

/* ---------- CAPABILITIES BENTO (photographic + flat cards) ---------- */
.caps {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--forest-0);
  position: relative;
}
.bento {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-auto-rows: minmax(280px, auto);
  gap: 14px;
}
.bento .card:nth-child(1) { grid-row: span 2; }
.bento .card:nth-child(5) { grid-column: span 2; }
@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .card:nth-child(1) { grid-row: span 1; grid-column: span 2; }
  .bento .card:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento .card:nth-child(1),
  .bento .card:nth-child(5) { grid-column: span 1; }
}

.card {
  position: relative;
  padding: 32px;
  background: var(--forest-1);
  border: 1px solid var(--forest-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background .5s ease, border-color .5s ease;
  will-change: transform;
}
.card::before {
  /* cursor-tracked glow */
  content: '';
  position: absolute;
  top: var(--my, 50%);
  left: var(--mx, 50%);
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(207,253,216,.14), transparent 60%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
  z-index: 2;
}
.card:hover::before { opacity: 1; }
.card:hover {
  background: var(--forest-2);
  border-color: rgba(207,253,216, .22);
}
.card > *:not(.card__photoWash) { position: relative; z-index: 3; }

.card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.card__num {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .2em;
}
.card__tag {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-cool);
  padding: 4px 10px;
  border: 1px solid rgba(169,217,212, .35);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.card__title {
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.2;
  letter-spacing: -.025em;
  margin-top: auto;
}
.card__body {
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.6;
}
.card--hero .card__title { font-size: clamp(30px, 3vw, 44px); font-weight: 800; }

/* Photographic cards */
.card--photo {
  padding: 0;
  border: 1px solid rgba(207,253,216, .1);
  background-color: var(--forest-1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.card--photo-1 { background-image: var(--img-bento-1); }
.card--photo-2 { background-image: var(--img-bento-3); }  /* card 3 */
.card--photo-3 { background-image: var(--img-bento-5); }  /* card 5 */

.card--photo .card__photoWash {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15,22,10,.05) 0%, rgba(15,22,10,.55) 45%, rgba(15,22,10,.92) 100%),
    linear-gradient(30deg, rgba(30,38,21,.45), rgba(30,38,21,.10) 70%);
  transition: background .6s ease;
}
.card--photo:hover .card__photoWash {
  background:
    linear-gradient(180deg, rgba(15,22,10,.00) 0%, rgba(15,22,10,.45) 45%, rgba(15,22,10,.88) 100%),
    linear-gradient(30deg, rgba(30,38,21,.30), rgba(30,38,21,.05) 70%);
}
.card--photo .card__content {
  position: relative; z-index: 3;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  min-height: 280px;
}
.card--photo .card__title { color: var(--text); text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.card--photo .card__body  { color: rgba(232, 242, 219, .88); }
.card--photo .card__link  { color: var(--brand-mint); }
.card--photo .chips li {
  border-color: rgba(207,253,216, .28);
  color: rgba(232, 242, 219, .92);
  background: rgba(15, 22, 10, .35);
  backdrop-filter: blur(4px);
}

/* Flat card backgrounds */
.card:not(.card--photo).card--wide { background: var(--forest-2); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.chips li {
  font-size: 11.5px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(207,253,216, .14);
  color: var(--text-soft);
  letter-spacing: .02em;
  transition: border-color .3s ease, color .3s ease;
}
.card:hover .chips li { border-color: rgba(207,253,216, .34); color: var(--brand-mint); }

.card__link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-mint);
  margin-top: auto;
  letter-spacing: .01em;
}
.card__link em {
  display: inline-block;
  transition: transform .4s var(--ease-out-expo);
  font-style: normal;
}
.card:hover .card__link em { transform: translateX(5px); }

/* ---------- APPROACH — full-bleed light section ---------- */
.approach {
  padding: clamp(100px, 14vw, 180px) 0;
  color: var(--brand-forest);
}
.approach .section__kicker { color: var(--brand-forest); }
.approach .section__kicker::before { background: var(--brand-forest); }
.approach .section__title em { color: var(--brand-forest); opacity: .55; }
.approach .section__lede { color: rgba(30,38,21, .72); }

.steps { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid rgba(30,38,21, .14);
  transition: padding-left .5s var(--ease-out-expo), background .5s ease;
}
.step:last-child { border-bottom: 1px solid rgba(30,38,21, .14); }
.step:hover { padding-left: 14px; }
.step__number span {
  font-family: 'Poppins', sans-serif;
  font-size: 60px;
  font-weight: 300;
  letter-spacing: -.04em;
  color: var(--brand-forest);
  opacity: .82;
  display: inline-block;
  transition: transform .5s var(--ease-out-expo);
}
.step:hover .step__number span {
  transform: translateX(-4px) rotate(-4deg);
  opacity: 1;
}
.step__body h3 {
  font-size: clamp(22px, 2vw, 32px);
  letter-spacing: -.03em;
  margin-bottom: 10px;
  font-weight: 700;
}
.step__body p {
  color: rgba(30,38,21, .74);
  font-size: 16px;
  max-width: 56ch;
  line-height: 1.6;
}
@media (max-width: 720px) {
  .step { grid-template-columns: 80px 1fr; gap: 20px; padding: 32px 0; }
  .step__number span { font-size: 42px; }
}

/* ---------- QUOTE — full-bleed canopy-up ---------- */
.quote { padding: clamp(100px, 14vw, 180px) 0; position: relative; }
.quote blockquote {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--pad);
  text-align: left;
  position: relative;
}
.quote__mark {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(120px, 18vw, 260px);
  line-height: 0.7;
  color: var(--brand-mint);
  opacity: .38;
  position: absolute;
  top: -30px; left: var(--pad);
  font-weight: 400;
}
.quote blockquote p {
  position: relative;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 38px);
  line-height: 1.3;
  letter-spacing: -.025em;
  color: var(--text);
  margin-bottom: 40px;
  text-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.quote blockquote em { color: var(--brand-mint); font-style: italic; font-weight: 500; }
.quote blockquote footer { display: flex; flex-direction: column; gap: 4px; position: relative; }
.quote blockquote strong {
  color: var(--brand-mint);
  font-weight: 600;
  letter-spacing: .02em;
}
.quote blockquote span {
  color: rgba(232, 242, 219, .72);
  font-size: 13px;
  letter-spacing: .05em;
}

/* ---------- CTA — full-bleed heart-lagoon ---------- */
.cta {
  position: relative;
  padding: clamp(120px, 16vw, 200px) 0;
}
.cta__glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at 75% 30%, rgba(207,253,216,.22), transparent 45%);
  pointer-events: none;
  animation: breathe 8s infinite ease-in-out;
  mix-blend-mode: screen;
  z-index: 1;
}
@keyframes breathe {
  0%,100% { transform: scale(1); opacity: 1; }
  50%     { transform: scale(1.05); opacity: .82; }
}
.cta__title {
  font-size: clamp(44px, 7.5vw, 112px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .95;
  margin-bottom: 64px;
  max-width: 14ch;
  text-shadow: 0 4px 40px rgba(0,0,0,.35);
}
.cta__title .line { display: block; overflow: hidden; padding: 0.22em 0 0.18em; margin: -0.14em 0; }
.cta__row {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.cta__team { display: flex; align-items: center; gap: 16px; }
.cta__avatars { display: flex; }
.cta__avatars span {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background-size: cover;
  background-position: center;
  margin-left: -12px;
  filter: grayscale(.25);
  transition: transform .45s var(--ease-out-expo), filter .3s ease;
}
.cta__avatars span:first-child { margin-left: 0; }
.cta__team:hover .cta__avatars span { filter: grayscale(0); }
.cta__team:hover .cta__avatars span:nth-child(1) { transform: translateY(-4px); }
.cta__team:hover .cta__avatars span:nth-child(2) { transform: translateY(-4px) translateX(-4px); }
.cta__team:hover .cta__avatars span:nth-child(3) { transform: translateY(-4px) translateX(-8px); }
.cta__teamTxt { display: flex; flex-direction: column; }
.cta__teamTxt strong { font-size: 14px; color: var(--text); letter-spacing: -.005em; }
.cta__teamTxt span { font-size: 12px; color: rgba(232,242,219, .7); letter-spacing: .04em; }

/* ---------- FOOTER ---------- */
.foot {
  background: var(--forest-1);
  padding: 100px 0 36px;
  border-top: 1px solid var(--forest-line);
}
.foot__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}
.logo--footer { font-size: 22px; }
.foot__tag {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: .06em;
  line-height: 1.6;
  max-width: 32ch;
  text-align: right;
}
@media (max-width: 640px) { .foot__tag { text-align: left; } }

.foot__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--forest-line);
}
@media (max-width: 820px) { .foot__grid { grid-template-columns: repeat(2, 1fr); } }
.foot__grid h4 {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
}
.foot__grid a {
  display: block;
  color: var(--text-soft);
  font-size: 14px;
  padding: 6px 0;
  transition: color .3s ease, transform .3s var(--ease-out-expo);
}
.foot__grid a:hover {
  color: var(--brand-mint);
  transform: translateX(4px);
}

.foot__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 30px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: .03em;
  flex-wrap: wrap;
}
.foot__links { display: flex; gap: 20px; }
.foot__links a:hover { color: var(--brand-mint); }

/* ---------- REVEAL ANIMATIONS ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .95s var(--ease-out-expo), transform .95s var(--ease-out-expo);
}
[data-reveal].is-in { opacity: 1; transform: none; }

[data-split] .line {
  display: block;
  overflow: hidden;
  padding: 0.16em 0 0.12em;
  margin: -0.10em 0;
}
[data-split] .line > * {
  display: inline-block;
  transform: translateY(100%);
}
[data-split].is-in .line > * {
  transform: none;
  transition: transform 1.2s var(--ease-out-expo);
}
[data-split].is-in .line:nth-child(2) > * { transition-delay: .12s; }
[data-split].is-in .line:nth-child(3) > * { transition-delay: .22s; }

/* Prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-delay: 0s !important;
    transition-duration: .001s !important;
  }
  [data-reveal], [data-split] .line > *, .hero__h1 .line > *,
  .hero__sub, .hero__cta, .hero__meta, .hero .eyebrow {
    opacity: 1 !important;
    transform: none !important;
  }
}

