/* ============================================================
   KINETIQ — Eco turbines & clean energy
   Hero section. Geometry sampled 1:1 from the reference design:
     vertical rules   20% / 40% / 60% / 80%
     horizontal rules 14.1% / 56.1% / 70%
   Every tile snaps to those rules.
   ============================================================ */

:root{
  --ink:#0B0F0E;
  --ink-2:#16211D;
  --ink-3:#4B5A54;
  --green:#005918;
  --green-lit:#0A7A28;
  --cream:#FDE9CB;
  --black:#000000;
  --white:#FFFFFF;

  --rule:rgba(255,255,255,.24);

  /* left inset from the 20% rule — 26px at the reference 1420px width */
  --inset:clamp(18px,1.85vw,30px);

  --ease:cubic-bezier(.22,.61,.36,1);
  --ease-out:cubic-bezier(.16,1,.3,1);
  /* Symmetric ease-in-out. --ease-out is deliberately front-loaded, which is
     right for entrances but makes a size change look instant, so anything
     that should read as *growing* uses this instead. */
  --ease-inout:cubic-bezier(.65,0,.35,1);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;
  background:#3F555B;
  color:var(--ink);
  font-family:"Inter","Helvetica Neue",Arial,sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
h1,h2{
  font-family:"Inter Tight","Inter",sans-serif;
  font-weight:600;
  letter-spacing:-.035em;
  line-height:1;
  margin:0;
}
p{margin:0}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- image slots: never break before assets land ---------- */
.slot{
  background:linear-gradient(150deg,#7E9484 0%,#546E5C 55%,#2F4438 100%);
  overflow:hidden;
}
.slot-img{width:100%;height:100%;object-fit:cover;display:block}
.slot.is-empty>.slot-img,
.hero-media-inner.is-empty>.slot-img{opacity:0;visibility:hidden}

/* ============================================================
   PRELOADER
   Hidden unless JS is running, so a no-JS visitor is never trapped
   behind a curtain that nothing can lift.
   ============================================================ */
.preloader{display:none}
.js .preloader{
  position:fixed;
  inset:0;
  z-index:100;
  display:grid;
  place-items:center;
  /* Last-resort CSS failsafe: if script.js never executes, the curtain
     still lifts on its own rather than holding the page hostage. */
  animation:pre-failsafe 0s linear 12s forwards;
}
@keyframes pre-failsafe{to{opacity:0;visibility:hidden;pointer-events:none}}

/* scroll is locked only by JS, which always unlocks it again */
.js.is-loading,.js.is-loading body{overflow:hidden}

.pre-cols{position:absolute;inset:0;display:grid;grid-template-columns:repeat(5,1fr)}
.pre-cols span{
  background:var(--cream);
  border-right:1px solid rgba(11,15,14,.05);
  transform:translateY(0);
  transition:transform 1.05s var(--ease-out);
  transition-delay:var(--d,0ms);
}
.pre-cols span:last-child{border-right:0}

.pre-inner{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:clamp(16px,2.1vw,28px);
  width:min(320px,66vw);
  transition:opacity .4s var(--ease),transform .6s var(--ease-out);
}
.pre-mark{
  width:clamp(36px,3.7vw,54px);
  height:auto;
  color:var(--ink);
  animation:pre-pulse 1.9s var(--ease) infinite;
}
@keyframes pre-pulse{
  0%,100%{opacity:1;transform:translateY(0)}
  50%{opacity:.5;transform:translateY(-5px)}
}

.pre-bar{position:relative;width:100%;height:2px;background:rgba(11,15,14,.14);overflow:hidden}
.pre-fill{
  position:absolute;
  top:0;bottom:0;left:0;
  width:0;
  background:var(--green);
  transition:width .35s var(--ease-out);
}
.pre-meta{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:12px;
  width:100%;
  font-size:clamp(10px,.9vw,12px);
  letter-spacing:.13em;
  text-transform:uppercase;
  color:var(--ink-3);
}
.pre-pct{color:var(--ink);font-variant-numeric:tabular-nums}

/* exit — content lifts away, then the five panels clear upward in sequence */
.preloader.is-done .pre-inner{opacity:0;transform:translateY(-12px)}
.preloader.is-done .pre-cols span{transform:translateY(-101%)}
.preloader.is-gone{visibility:hidden;pointer-events:none}

/* ============================================================
   HERO SHELL
   ============================================================ */
.hero{
  position:relative;
  width:100%;
  height:100vh;
  height:100svh;
  min-height:760px;
  display:grid;
  grid-template-columns:repeat(5,20%);
  grid-template-rows:14.1fr 41.9fr 13.9fr 30fr;
  overflow:hidden;
  isolation:isolate;
  background:linear-gradient(#BFD0CE,#8FA893);
}

/* ---------- background photograph ---------- */
.hero-media{position:absolute;inset:0;z-index:0;overflow:hidden}
.hero-media-inner{
  position:absolute;
  inset:-4%;
  background:
    linear-gradient(#A9BCBE 0%,#C9C6AE 34%,#9FAE8C 52%,#5E7355 74%,#3D5240 100%);
  will-change:transform;
}
.hero-media-inner>.slot-img,
.hero-media-inner>.hero-video{
  width:100%;height:100%;
  object-fit:cover;
  display:block;
  pointer-events:none;
}
.hero-scrim{
  position:absolute;inset:0;
  background:
    linear-gradient(104deg,rgba(255,255,255,.34) 0%,rgba(255,255,255,.06) 46%,rgba(255,255,255,0) 68%),
    linear-gradient(0deg,rgba(12,26,20,.30) 0%,rgba(12,26,20,0) 32%);
  pointer-events:none;
}

/* ---------- structural grid rules ---------- */
.hero-rules{position:absolute;inset:0;z-index:1;pointer-events:none}
.hero-rules span{position:absolute;background:var(--rule)}
.rule-v{left:var(--p);top:0;width:1px;height:100%;transform-origin:50% 0}
.rule-h{top:var(--p);left:0;height:1px;width:100%;transform-origin:0 50%}

/* ============================================================
   NAV — row 1
   ============================================================ */
.nav{
  grid-column:1 / -1;
  grid-row:1;
  z-index:6;
  display:grid;
  grid-template-columns:repeat(5,20%);
  align-items:center;
}
.brand{
  grid-column:1;
  justify-self:center;
  color:var(--ink);
  display:block;
  transition:transform .5s var(--ease);
}
.brand:hover{transform:translateY(-2px)}
/* the new mark is near-square (243:248); the old one was 1.82:1, so every
   mark width is retuned to keep the same optical height */
.brand-mark{width:clamp(28px,2.7vw,46px);height:auto;display:block}

.nav-links{
  grid-column:2 / 5;
  justify-self:start;
  padding-left:var(--inset);
  display:flex;
  align-items:center;
  gap:clamp(24px,6.6vw,96px);
}
.nav-links a{
  position:relative;
  font-size:clamp(13px,1.2vw,18px);
  font-weight:500;
  color:var(--ink);
  padding:6px 0;
  white-space:nowrap;
}
.nav-links a::after{
  content:"";
  position:absolute;left:0;bottom:0;
  width:100%;height:1.5px;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:100% 50%;
  transition:transform .55s var(--ease-out);
}
.nav-links a:hover::after{transform:scaleX(1);transform-origin:0 50%}

.nav-tools{
  grid-column:5;
  justify-self:center;
  display:flex;
  align-items:center;
  gap:clamp(8px,.95vw,16px);
}
.circle-btn{
  width:clamp(38px,3.52vw,54px);
  aspect-ratio:1;
  border-radius:50%;
  background:var(--white);
  color:var(--ink);
  display:grid;
  place-items:center;
  box-shadow:0 2px 14px rgba(8,22,16,.10);
  transition:transform .45s var(--ease-out),box-shadow .45s var(--ease);
}
.circle-btn svg{width:44%;height:44%}
.circle-btn:hover{transform:scale(1.09);box-shadow:0 6px 22px rgba(8,22,16,.20)}
/* ---------- hamburger ---------- */
.burger-lines{
  display:block;
  position:relative;
  width:42%;
  height:9px;
}
.burger-lines span{
  position:absolute;
  left:0;
  width:100%;
  height:1.8px;
  border-radius:2px;
  background:currentColor;
  transition:transform .45s var(--ease-out);
}
.burger-lines span:first-child{top:0}
.burger-lines span:last-child{bottom:0}
.burger-btn:hover .burger-lines span:first-child{transform:translateY(-1px)}
.burger-btn:hover .burger-lines span:last-child{transform:translateY(1px)}

/* the sticky bar keeps its inline links on desktop, so its burger is
   mobile-only; the hero nav's burger is always shown */
.navbar-burger{display:none}

/* ============================================================
   ASIDE STAT — row 2, col 1
   ============================================================ */
.hero-aside{
  grid-column:1;
  grid-row:2;
  z-index:5;
  display:grid;
  place-items:center;
}
/* the reference sits this block slightly above the row's optical centre;
   the bottom margin lifts it by half its value inside the centred cell */
.aside-stat{
  display:flex;flex-direction:column;align-items:center;text-align:center;
  margin-bottom:5.4svh;
}
.aside-num{
  font-family:"Inter Tight","Inter",sans-serif;
  font-size:clamp(26px,2.85vw,46px);
  font-weight:600;
  letter-spacing:-.03em;
  line-height:1.05;
  color:var(--ink);
  font-variant-numeric:tabular-nums;
}
.aside-label{
  font-size:clamp(12px,1.27vw,20px);
  color:var(--ink-2);
  margin-top:.15em;
}
.aside-faces{display:flex;margin-top:clamp(10px,1.2vw,20px)}
.face{
  width:clamp(32px,3.66vw,58px);
  aspect-ratio:1;
  border-radius:50%;
  border:2.5px solid var(--white);
  box-shadow:0 3px 12px rgba(8,22,16,.18);
}
.face+.face{margin-left:clamp(-16px,-1.1vw,-8px)}

/* ============================================================
   COPY — row 2, cols 2-5
   ============================================================ */
.hero-copy{
  grid-column:2 / -1;
  grid-row:2;
  z-index:5;
  padding-left:var(--inset);
  padding-right:clamp(16px,3vw,60px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  min-width:0;
}
.hero-title{
  font-size:clamp(38px,6.2vw,112px);
  line-height:.99;
  letter-spacing:-.035em;
  color:var(--ink);
}
/* padding gives the 'g' descender room inside the reveal mask */
.hero-title .line{display:block;overflow:hidden;padding-bottom:.16em;margin-bottom:-.16em}
.hero-title .line-in{display:block}

.hero-sub{
  margin-top:clamp(14px,1.85vw,32px);
  font-size:clamp(14px,1.55vw,23px);
  line-height:1.62;
  color:var(--ink-2);
  /* the authored <br> sets the two lines; no max-width fighting it */
  max-width:none;
}
.btn-primary{
  margin-top:clamp(20px,2.8vw,46px);
  position:relative;
  display:grid;
  place-items:center;
  width:clamp(190px,20.4vw,300px);
  height:clamp(48px,4.79vw,72px);
  background:var(--green);
  color:var(--white);
  font-size:clamp(14px,1.34vw,20px);
  font-weight:500;
  letter-spacing:.005em;
  overflow:hidden;
  --c:clamp(9px,.85vw,15px);
  clip-path:polygon(var(--c) 0,100% 0,100% calc(100% - var(--c)),
                    calc(100% - var(--c)) 100%,0 100%,0 var(--c));
  will-change:transform;
  transition:transform .5s var(--ease-out);
}
.btn-primary::before{
  content:"";
  position:absolute;inset:0;
  background:var(--green-lit);
  transform:translateY(101%);
  transition:transform .55s var(--ease-out);
}
.btn-primary:hover::before{transform:translateY(0)}
.btn-label{position:relative;z-index:1}

/* ============================================================
   BLACK STAT TILE — row 3, col 1
   ============================================================ */
.tile-stat{
  grid-column:1;
  grid-row:3;
  z-index:4;
  background:var(--black);
  color:var(--white);
  padding:clamp(12px,1.5vw,24px);
  --c:clamp(14px,1.5vw,26px);
  display:flex;
  flex-direction:column;
  /* The tile's height tracks the viewport height while its type tracks the
     viewport width, so space-between drifts apart on large screens. Centring
     the pair with a fixed gap keeps the top/bottom breathing room equal. */
  justify-content:center;
  gap:clamp(6px,.9vw,16px);
  overflow:hidden;
}
.tile-stat-num{
  align-self:flex-end;
  font-family:"Inter Tight","Inter",sans-serif;
  font-size:clamp(24px,3.1vw,48px);
  font-weight:500;
  letter-spacing:-.03em;
  line-height:1;
  font-variant-numeric:tabular-nums;
}
.tile-stat-label{
  align-self:flex-start;
  font-size:clamp(11px,1.2vw,19px);
  line-height:1.32;
  text-transform:uppercase;
  letter-spacing:.012em;
}

/* ============================================================
   CREAM CARD — row 4, cols 2-3
   ============================================================ */
.tile-card{
  grid-column:2 / 4;
  grid-row:4;
  z-index:4;
  position:relative;
  background:var(--cream);
  padding:clamp(20px,2.7vw,42px) clamp(18px,1.97vw,32px);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.card-title{
  position:relative;
  z-index:2;
  font-size:clamp(21px,2.62vw,42px);
  line-height:1.14;
  letter-spacing:-.028em;
  color:var(--ink);
  pointer-events:none;
}
.card-note{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  font-size:clamp(12px,1.2vw,19px);
  color:var(--ink-2);
  pointer-events:none;
}
.dot{
  width:.55em;height:.55em;
  border-radius:50%;
  background:var(--green);
  margin-right:.62em;
  flex:none;
}
.card-play{
  position:absolute;
  z-index:3;
  top:clamp(16px,2.4vw,38px);
  right:clamp(14px,2.3vw,36px);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:clamp(8px,1.35vw,22px);
}
.play-circle{
  width:clamp(38px,3.8vw,60px);
  aspect-ratio:1;
  border-radius:50%;
  background:var(--black);
  color:var(--white);
  display:grid;
  place-items:center;
  transition:transform .5s var(--ease-out);
  will-change:transform;
}
.play-circle svg{width:42%;height:42%;margin-left:6%}
.card-play:hover .play-circle{transform:scale(1.12)}
.play-label{font-size:clamp(11px,1.2vw,19px);color:var(--ink)}

/* Sits left of the card's right edge and stands taller than the card, so the
   head breaks out above the top edge the way the reference does. The card's
   resolved clip-path (below) is what lets that overflow show. */
.card-figure{
  position:absolute;
  right:7%;
  bottom:0;
  height:124%;
  width:auto;
  aspect-ratio:928/1152; /* matches worker-card.webp */
  background:none;
  z-index:1;
  pointer-events:none;
}
.card-figure .slot-img{
  width:auto;height:100%;
  object-fit:contain;
  object-position:bottom right;
  margin-left:auto;
}

/* ============================================================
   CAREER BLOCK — row 4, cols 4-5
   ============================================================ */
.tile-career{
  grid-column:4 / -1;
  grid-row:4;
  z-index:4;
  position:relative;
  pointer-events:none;
}
.career-figure{
  position:absolute;
  right:7%;
  top:0;
  height:82%;
  width:auto;
  aspect-ratio:560/1003; /* matches worker-career.png */
  background:none;
  -webkit-mask-image:radial-gradient(72% 68% at 52% 34%,#000 46%,rgba(0,0,0,0) 100%);
  mask-image:radial-gradient(72% 68% at 52% 34%,#000 46%,rgba(0,0,0,0) 100%);
}
.career-figure .slot-img{width:auto;height:100%;object-fit:contain;object-position:bottom center}
.career-copy{
  position:absolute;
  right:12.3%;
  bottom:15.7%;
  text-align:left;
  font-size:clamp(12px,1.34vw,21px);
  line-height:1.45;
  font-weight:500;
  text-transform:uppercase;
  color:var(--white);
  text-shadow:0 1px 16px rgba(9,20,14,.55),0 1px 3px rgba(9,20,14,.4);
}

/* ============================================================
   INTRO ANIMATION — states applied only when JS is present
   ============================================================ */
.js .anim{opacity:0;will-change:transform,opacity}
.js .anim-up{transform:translateY(26px)}
.js .anim-fade{transform:none}
.js .anim-scale{transform:scale(.86)}
.js .hero-title .line-in{transform:translateY(130%)}
.js .rule-v{transform:scaleY(0)}
.js .rule-h{transform:scaleX(0)}
/* tile-card still wipes with inset(). The stat tile needs a chamfer, and an
   element can carry only one clip-path — so its reveal interpolates between two
   6-point polygons (points parked on the bottom edge, then opened out). */
.js .tile-card{clip-path:inset(0 0 100% 0)}
.js .tile-stat{
  clip-path:polygon(0 100%,calc(100% - var(--c)) 100%,100% 100%,
                    100% 100%,var(--c) 100%,0 100%);
}
.js .card-figure,
.js .career-figure{opacity:0;transform:translateY(34px)}

.hero.is-ready .anim{
  opacity:1;
  transform:none;
  transition:opacity .9s var(--ease-out),transform 1s var(--ease-out);
  transition-delay:var(--d,0ms);
}
.hero.is-ready .hero-title .line-in{
  transform:translateY(0);
  transition:transform 1.15s var(--ease-out);
  transition-delay:var(--d,0ms);
}
.hero.is-ready .rule-v,
.hero.is-ready .rule-h{
  transform:none;
  transition:transform 1.5s var(--ease-out);
  transition-delay:var(--d,0ms);
}
/* mirrored on the horizontal axis: the cuts sit top-right and bottom-left */
.tile-stat,
.hero.is-ready .tile-stat{
  clip-path:polygon(0 0,calc(100% - var(--c)) 0,100% var(--c),
                    100% 100%,var(--c) 100%,0 calc(100% - var(--c)));
}
.hero.is-ready .tile-stat{
  transition:clip-path 1.1s var(--ease-out);
  transition-delay:var(--d,0ms);
}
/* the card resolves to a loose clip so the cut-out figure can still
   break past the top and right edges once the wipe finishes */
.hero.is-ready .tile-card{
  clip-path:inset(-40% -10% 0 0);
  transition:clip-path 1.1s var(--ease-out);
  transition-delay:var(--d,0ms);
}
.hero.is-ready .card-figure,
.hero.is-ready .career-figure{
  opacity:1;
  transform:none;
  transition:opacity 1s var(--ease-out),transform 1.15s var(--ease-out);
  transition-delay:var(--d,0ms);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Short-but-wide viewports (laptops, restored windows): the hero rows are
   proportional to height while the type is proportional to width, so the copy
   row grows past its share and squeezes the tile rows until they clip their
   own text. Easing the hero type back gives the tiles their share again. */
@media (min-width:861px) and (max-height:940px){
  .hero-title{font-size:clamp(34px,4.7vw,76px)}
  .hero-sub{font-size:clamp(13px,1.25vw,18px);margin-top:clamp(10px,1.2vw,18px)}
  .btn-primary{height:clamp(44px,3.9vw,58px);margin-top:clamp(14px,1.8vw,26px)}
  .tile-stat-num{font-size:clamp(20px,2.4vw,36px)}
  .tile-stat-label{font-size:clamp(10px,1vw,15px)}
  .tile-stat{padding:clamp(10px,1.2vw,18px);gap:clamp(4px,.6vw,10px)}
  .card-title{font-size:clamp(19px,2.2vw,34px)}
}

@media (max-width:1100px){
  :root{--inset:clamp(14px,2.2vw,24px)}
  .nav-links{gap:clamp(18px,4.4vw,44px)}
  .hero-sub br{display:none}
}

@media (max-width:860px){
  .hero{
    height:auto;
    min-height:0;
    display:flex;
    flex-direction:column;
    grid-template-columns:none;
    grid-template-rows:none;
  }
  .hero-rules{display:none}

  .nav{
    position:relative;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 20px;
    gap:16px;
  }
  /* the full-screen overlay owns navigation at this size */
  .nav-links{display:none}

  .hero-copy{
    padding:clamp(40px,11vw,72px) 20px clamp(26px,7vw,44px);
    align-items:flex-start;
  }
  .hero-title{font-size:clamp(38px,11.4vw,66px)}
  .hero-sub{font-size:16px;margin-top:16px;max-width:38ch}
  .btn-primary{width:100%;max-width:320px;height:56px;font-size:16px;margin-top:26px}

  .hero-aside{padding:0 20px 8px;place-items:start}
  .aside-stat{flex-direction:row;align-items:center;gap:14px;text-align:left;width:100%;margin-bottom:0}
  .aside-num{font-size:30px}
  .aside-label{font-size:14px;margin:0}
  .aside-faces{margin:0 0 0 auto}
  .face{width:40px}

  .tile-stat{
    padding:18px 20px;
    flex-direction:row;
    align-items:flex-end;
    justify-content:space-between;
    gap:16px;
  }
  .tile-stat-num{font-size:32px;align-self:flex-end;order:2}
  .tile-stat-label{font-size:13px;order:1}

  .tile-card{
    padding:26px 20px 0;
    min-height:300px;
  }
  .card-title{font-size:clamp(24px,6.6vw,34px)}
  .card-note{margin-bottom:22px}
  .card-play{top:24px;right:20px}
  .play-circle{width:46px}
  .play-label{font-size:13px}
  /* stays inside the card on mobile — the title sits directly above it */
  .card-figure{height:auto;width:60%;right:0;aspect-ratio:928/1152}
  .card-figure .slot-img{width:100%;height:auto}

  .tile-career{
    min-height:230px;
    background:linear-gradient(#3D5240,#22351F);
  }
  .career-figure{right:6%;height:88%;top:6%}
  .career-copy{font-size:15px;right:auto;left:20px;bottom:22px}
}

@media (max-width:480px){
  .hero-title{font-size:clamp(34px,12.4vw,54px)}
  .aside-num{font-size:26px}
  .card-figure{width:62%}
}

/* ============================================================
   PAGE SECTIONS — shared system
   ============================================================ */
:root{
  --paper:#F7F5EF;
  --deep:#0C2A18;
  --pad:clamp(20px,5.6vw,80px);
  --sec-y:clamp(68px,8.6vw,136px);
  --hair:rgba(11,15,14,.13);
}

.wrap{width:100%;max-width:1420px;margin:0 auto;padding:0 var(--pad)}
.section{padding:var(--sec-y) 0;position:relative}
/* keep anchored headings clear of the fixed navbar */
section[id]{scroll-margin-top:clamp(58px,6vw,82px)}
.section-about{background:var(--paper);padding-bottom:0}
.section-solutions{background:#FFFFFF}
.section-projects{background:var(--paper)}

h3,h4{font-family:"Inter Tight","Inter",sans-serif;font-weight:600;letter-spacing:-.02em;margin:0}

.eyebrow{
  font-size:clamp(11px,.85vw,13px);
  text-transform:uppercase;
  letter-spacing:.15em;
  font-weight:500;
  color:var(--green);
  margin-bottom:clamp(10px,1vw,16px);
}
.sec-title{
  font-family:"Inter Tight","Inter",sans-serif;
  font-size:clamp(28px,4vw,58px);
  font-weight:600;
  line-height:1.06;
  letter-spacing:-.035em;
  color:var(--ink);
  margin:0;
}
.sec-head{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:clamp(22px,4vw,64px);
  align-items:end;
  margin-bottom:clamp(36px,5.4vw,84px);
}
.sec-head-side{display:flex;flex-direction:column;align-items:flex-start;gap:clamp(14px,1.6vw,22px)}
.sec-head-side p{color:var(--ink-3);font-size:clamp(15px,1.15vw,18px);line-height:1.7;max-width:46ch}

.link-arrow{
  display:inline-flex;align-items:center;gap:10px;
  color:var(--green);font-weight:500;
  font-size:clamp(14px,1.1vw,17px);
}
.link-arrow svg{width:1em;height:1em;transition:transform .5s var(--ease-out)}
.link-arrow:hover svg{transform:translateX(6px)}

.ico{
  width:clamp(26px,2.3vw,34px);height:auto;
  color:var(--green);
  display:block;
  margin-bottom:clamp(14px,1.4vw,20px);
  transition:transform .6s var(--ease-out);
}

/* ---------- About: pillar cards ---------- */
/* Same language as the Our-commitment bento: filled surfaces, chamfered
   corners alternating direction, one accent tile for rhythm. */
.pillars{
  list-style:none;margin:0;padding:0;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:clamp(10px,1.15vw,20px);
}
.pillar{
  display:flex;
  flex-direction:column;
  padding:clamp(18px,1.9vw,32px);
  min-height:clamp(180px,16vw,244px);
  background:var(--white);
}
/* These carry .reveal too, whose `.is-in` rule sets a transition shorthand at
   higher specificity — so both the hover lift and the scroll-in are declared
   together here, above it. (Same trap as the projects accordion.) */
.pillars .pillar,
.js .pillars .pillar.is-in{
  transition:transform .5s var(--ease-out),opacity .9s var(--ease-out),
             background-color .4s var(--ease);
}
/* a lift rather than a shadow — clip-path would cut a shadow off anyway */
.pillar:hover{transform:translateY(-6px)}
/* the three white cards warm slightly; the accent card deepens instead */
.pillar:not(.is-accent):hover{background:#FBF5E9}
.pillar:hover .ico{transform:scale(1.12)}
.pillar.is-accent:hover{background:#123B22}
/* the deep-green card mirrors the cream accent tile in the bento */
.pillar.is-accent{background:var(--deep);color:var(--white)}
.pillar.is-accent .ico{color:#6BD489}
.pillar.is-accent p{color:rgba(255,255,255,.66)}

/* ---------- Solutions: numbered steps (keeps the rule lines) ---------- */
.steps{
  list-style:none;margin:0;padding:0;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:clamp(8px,1vw,16px);
}
/* paper cards on the white section — the inverse of About's white-on-paper */
.step{
  display:flex;
  flex-direction:column;
  padding:clamp(18px,1.9vw,30px);
  min-height:clamp(180px,15.5vw,236px);
  background:var(--paper);
}
.steps .step,
.js .steps .step.is-in{
  transition:transform .5s var(--ease-out),opacity .9s var(--ease-out),
             background-color .4s var(--ease);
}
/* same subtle warming as the About cards, one step deeper since these
   already sit on paper rather than white */
.step:hover{transform:translateY(-6px);background:#F1EADC}
.step:hover .ico{transform:scale(1.12)}

.pillar h3,.step h3{font-size:clamp(16px,1.4vw,21px);margin-bottom:clamp(6px,.6vw,10px)}
.pillar p,.step p{color:var(--ink-3);font-size:clamp(13px,1.02vw,16px);line-height:1.62}
.step-n{
  display:block;
  font-size:clamp(11px,.85vw,13px);
  letter-spacing:.15em;
  color:var(--ink-3);
  margin-bottom:clamp(12px,1.3vw,20px);
}

/* ---------- About: black stat band ---------- */
.statband{background:var(--black);color:var(--white);margin-top:clamp(44px,6vw,90px)}
.statband-in{
  display:grid;grid-template-columns:repeat(4,1fr);
  padding-top:clamp(26px,3vw,44px);
  padding-bottom:clamp(26px,3vw,44px);
}
.stat{
  display:flex;flex-direction:column;gap:clamp(2px,.4vw,7px);
  padding-left:clamp(14px,2vw,32px);
  border-left:1px solid rgba(255,255,255,.18);
}
.stat:first-child{border-left:0;padding-left:0}
.stat-n{
  font-family:"Inter Tight","Inter",sans-serif;
  font-size:clamp(24px,2.8vw,44px);
  font-weight:600;letter-spacing:-.03em;line-height:1.05;
  font-variant-numeric:tabular-nums;
}
.stat-l{font-size:clamp(12px,1vw,16px);color:rgba(255,255,255,.66)}

/* ---------- Projects: hover accordion ---------- */
.projects-acc{
  display:flex;
  height:clamp(330px,40vw,520px);
}
.acc-card{
  position:relative;
  flex:1 1 0;
  min-width:0;
  overflow:hidden;
  isolation:isolate;
  color:var(--white);
  /* square corners throughout */
  border-radius:0;
  /* The separator is a border, not a grid gap. A gap is dead space: crossing
     it leaves no card hovered, so the whole row snapped back mid-movement.
     As a border it belongs to the card, so the row is continuous to hover. */
  border-right:clamp(8px,.9vw,16px) solid var(--paper);
}

/* These cards also carry .reveal, and `.js .reveal.is-in` sets its own
   `transition` shorthand at higher specificity — which silently wiped out the
   flex-grow transition and made the panel snap open with no animation at all.
   All three properties are declared together here, above that specificity. */
.projects-acc .acc-card,
.js .projects-acc .acc-card.is-in{
  transition:
    flex-grow .72s var(--ease-inout),
    opacity .9s var(--ease-out),
    transform 1s var(--ease-out);
}
.acc-card:last-child{border-right:0}
.acc-card:hover,.acc-card:focus-visible,.acc-card:focus-within{flex-grow:3}
/* one panel sits open until the row is entered, so the interaction reads */
.projects-acc:not(:hover):not(:focus-within) .acc-card:first-child{flex-grow:3}
/* :has() keeps it steady if the pointer is inside the row but on no card */
.projects-acc:not(:has(.acc-card:hover)):not(:focus-within) .acc-card:first-child{flex-grow:3}

.acc-media{position:absolute;inset:0;display:block;background:none}
.acc-media .slot-img{width:100%;height:100%;object-fit:cover;transition:transform .95s var(--ease-inout)}
.acc-card:hover .acc-media .slot-img{transform:scale(1.05)}
.acc-card::after{
  content:"";
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(0deg,
    rgba(5,18,11,.9) 0%,rgba(5,18,11,.55) 32%,rgba(5,18,11,.08) 64%,rgba(5,18,11,0) 100%);
}

.acc-body{
  position:absolute;z-index:2;
  left:0;right:0;bottom:0;
  display:flex;flex-direction:column;
  padding:clamp(15px,1.6vw,30px);
}
.acc-title{
  font-family:"Inter Tight","Inter",sans-serif;
  font-weight:600;
  font-size:clamp(15px,1.5vw,25px);
  letter-spacing:-.022em;
  line-height:1.18;
}
/* 0fr -> 1fr animates the panel open without hard-coding a height */
.acc-detail{
  display:grid;
  grid-template-rows:0fr;
  opacity:0;
  transition:grid-template-rows .72s var(--ease-inout),opacity .42s var(--ease);
}
/* fixed width so the copy does not re-wrap on every frame of the expand */
.acc-detail-in{overflow:hidden;min-height:0;width:clamp(200px,24vw,400px)}
.acc-card:hover .acc-detail,
.acc-card:focus-within .acc-detail,
.projects-acc:not(:hover):not(:focus-within) .acc-card:first-child .acc-detail{
  grid-template-rows:1fr;
  opacity:1;
  /* copy arrives just after the panel starts opening, never before */
  transition-delay:.1s;
}
.acc-meta{
  display:block;
  margin-top:clamp(8px,.8vw,12px);
  font-size:clamp(12px,.95vw,15px);
  color:rgba(255,255,255,.72);
}
.acc-meta i{font-style:normal;opacity:.55;margin:0 5px}
.acc-desc{
  display:block;
  margin-top:clamp(8px,.8vw,13px);
  font-size:clamp(12px,1vw,16px);
  line-height:1.62;
  color:rgba(255,255,255,.78);
  max-width:44ch;
}
.acc-btn{
  display:inline-block;
  align-self:flex-start;
  margin-top:clamp(13px,1.3vw,22px);
  padding:clamp(9px,.8vw,13px) clamp(15px,1.4vw,24px);
  background:var(--white);
  color:var(--ink);
  font-size:clamp(12px,.98vw,15px);
  font-weight:500;
  transition:background .4s var(--ease),color .4s var(--ease);
}
.acc-card:hover .acc-btn{background:var(--green);color:var(--white)}

/* Four panels side by side stop working once each collapsed strip drops
   under ~150px, and touch has no hover to open them with — so stack. */
@media (max-width:900px){
  .projects-acc{flex-direction:column;height:auto;gap:clamp(10px,1.6vw,16px)}
  .acc-card{flex:none;height:clamp(230px,54vw,330px);border-right:0}
  .acc-card .acc-detail,
  .projects-acc:not(:hover):not(:focus-within) .acc-card:first-child .acc-detail{
    grid-template-rows:1fr;opacity:1;
  }
  .projects-acc:not(:hover):not(:focus-within) .acc-card:first-child{flex-grow:0}
}

/* ---------- Sustainability: bento mosaic ---------- */
.section-sustain{background:var(--deep);color:var(--white);overflow:hidden}
.section-sustain .sec-title{color:var(--white)}
.sustain-media{
  position:absolute;left:0;top:0;bottom:0;
  width:clamp(64px,9vw,170px);
  background:linear-gradient(150deg,#1E5B33,#0C2A18);
  -webkit-mask-image:linear-gradient(90deg,#000 40%,rgba(0,0,0,0));
  mask-image:linear-gradient(90deg,#000 40%,rgba(0,0,0,0));
}
.sustain-in{position:relative;z-index:1;padding-left:clamp(20px,9.5vw,190px)}

/* Angled corners, echoing the notched logo mark. Two mirrored variants so
   the tiles alternate rather than all leaning the same way. */
.cut-a,.cut-b{--chamfer:clamp(14px,1.5vw,26px)}
.cut-a{
  clip-path:polygon(
    var(--chamfer) 0, 100% 0,
    100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%,
    0 100%, 0 var(--chamfer));
}
.cut-b{
  clip-path:polygon(
    0 0, calc(100% - var(--chamfer)) 0,
    100% var(--chamfer), 100% 100%,
    var(--chamfer) 100%, 0 calc(100% - var(--chamfer)));
}

/* Deliberately uneven columns so the mosaic has rhythm rather than reading
   as a plain 4-up grid. */
.bento{
  display:grid;
  grid-template-columns:1.15fr .92fr 1.2fr .88fr;
  gap:clamp(10px,1.15vw,20px);
  grid-auto-rows:clamp(186px,20.5vw,286px);
}
.bento-head{grid-column:span 2}

.bento-head,.bento-stat{
  display:flex;
  flex-direction:column;
  padding:clamp(18px,1.9vw,32px);
  background:rgba(255,255,255,.07);
  overflow:hidden;
}
.bento-head{background:rgba(255,255,255,.05)}
.bento-head .eyebrow{color:#6BD489}
.bento-head .sec-title{font-size:clamp(24px,2.9vw,44px)}
.bento-lead{
  color:rgba(255,255,255,.72);
  font-size:clamp(13px,1.05vw,17px);
  line-height:1.65;
  margin-top:clamp(10px,1.1vw,18px);
  max-width:38ch;
}
.bento-head .link-arrow{color:#6BD489;margin-top:auto;padding-top:clamp(12px,1.3vw,20px)}

.b-n{
  font-family:"Inter Tight","Inter",sans-serif;
  font-size:clamp(32px,4vw,62px);
  font-weight:600;
  letter-spacing:-.03em;
  line-height:1;
  color:#6BD489;
  font-variant-numeric:tabular-nums;
}
.b-t{
  font-family:"Inter Tight","Inter",sans-serif;
  font-weight:600;
  font-size:clamp(15px,1.35vw,21px);
  letter-spacing:-.02em;
  margin-top:clamp(8px,.9vw,14px);
}
/* grouped under the title, as in the reference — not pinned to the bottom */
.bento-stat p{
  margin-top:clamp(10px,1.1vw,16px);
  color:rgba(255,255,255,.6);
  font-size:clamp(12px,.98vw,15px);
  line-height:1.6;
  max-width:34ch;
}
/* one cream tile to tie the section back to the hero card */
.bento-stat.is-cream{background:var(--cream);color:var(--ink)}
.is-cream .b-n{color:var(--green)}
.is-cream p{color:var(--ink-3)}

.bento-media{position:relative;overflow:hidden;background:linear-gradient(150deg,#2F5B3F,#12301F)}
.bento-media .slot-img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s var(--ease-out)}
.bento-media:hover .slot-img{transform:scale(1.06)}

/* ---------- CTA band ---------- */
.section-cta{
  position:relative;overflow:hidden;
  min-height:clamp(300px,32vw,440px);
  display:grid;align-items:center;
}
.cta-media{position:absolute;inset:0;background:linear-gradient(120deg,#BCCBC4,#6D8A72)}
.cta-media::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(96deg,rgba(247,245,239,.94) 0%,rgba(247,245,239,.72) 34%,rgba(247,245,239,0) 62%);
}
.cta-in{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;gap:clamp(14px,1.6vw,22px)}
.cta-in p{color:var(--ink-2);font-size:clamp(15px,1.15vw,18px);line-height:1.7;max-width:38ch}
.cta-in .btn-primary{margin-top:clamp(6px,.8vw,12px)}

/* ---------- Footer ---------- */
/* ============================================================
   BRAND WATERMARK across the CTA/footer seam
   One mark, drawn as two aligned halves. A single element cannot work on
   both backdrops — white reads on the black footer but disappears over the
   bright CTA photo. So each section clips its own half and picks a fill that
   suits what is behind it. Shared vars keep the two halves in register.
   ============================================================ */
:root{
  --mark-w:clamp(240px,30vw,540px);
  --mark-right:clamp(-70px,-3.4vw,-14px);
  --mark-above:clamp(80px,10vw,180px);   /* how far it reaches into the CTA */
  --mark-ratio:1.0189;                   /* 248 / 243.4 */
}
.cta-mark,.footer-mark{
  position:absolute;
  width:var(--mark-w);
  height:auto;
  right:var(--mark-right);
  pointer-events:none;
  z-index:0;
}
/* upper half — light. The right side of the CTA photo is dark grass and
   turbines, not bright sky, so a dark fill vanished into it. */
.cta-mark{
  bottom:calc(var(--mark-above) - var(--mark-w) * var(--mark-ratio));
  color:var(--white);
  opacity:.22;
}
/* lower half — light, so it reads against the black footer */
.footer{position:relative;overflow:hidden}
.footer-mark{
  top:calc(-1 * var(--mark-above));
  color:var(--white);
  opacity:.09;
}
.cta-in{z-index:1}
.footer-in,.footer-base{position:relative;z-index:1}

.footer{background:var(--black);color:rgba(255,255,255,.68);padding-top:clamp(44px,6vw,88px)}
.footer-in{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1.5fr;
  gap:clamp(24px,3vw,48px);
  padding-bottom:clamp(34px,4vw,64px);
}
.footer-brand .brand-mark{width:clamp(28px,2.3vw,38px);color:var(--white);margin-bottom:clamp(14px,1.5vw,22px)}
.footer-brand p{font-size:clamp(13px,.98vw,15px);line-height:1.7;max-width:30ch}
.footer-col h4{color:var(--white);font-size:clamp(14px,1.05vw,16px);margin-bottom:clamp(12px,1.2vw,18px)}
.footer-col a{display:block;font-size:clamp(13px,.98vw,15px);padding:5px 0;transition:color .35s var(--ease)}
.footer-col a:hover{color:var(--white)}
.footer-news p{font-size:clamp(13px,.98vw,15px);line-height:1.7;max-width:32ch}
.news-form{display:flex;margin-top:clamp(12px,1.2vw,18px);border:1px solid rgba(255,255,255,.2);max-width:360px}
.news-form input{
  flex:1;min-width:0;background:transparent;border:0;
  padding:12px 14px;color:var(--white);font-size:14px;
}
.news-form input:focus{outline:2px solid var(--green-lit);outline-offset:-2px}
.news-form input::placeholder{color:rgba(255,255,255,.42)}
.news-form button{
  width:46px;flex:none;background:var(--green);color:var(--white);
  display:grid;place-items:center;transition:background .35s var(--ease);
}
.news-form button:hover{background:var(--green-lit)}
.news-form button svg{width:16px;height:16px}
.news-msg{font-size:13px;margin-top:10px;color:#7FD79A;min-height:19px}
.footer-base{
  display:flex;justify-content:space-between;align-items:center;
  gap:16px;flex-wrap:wrap;
  padding-top:clamp(16px,1.6vw,24px);
  padding-bottom:clamp(22px,2.4vw,34px);
  border-top:1px solid rgba(255,255,255,.12);
  font-size:clamp(12px,.9vw,14px);
}
.footer-legal{display:flex;gap:clamp(14px,1.6vw,24px)}
.footer-legal a:hover{color:var(--white)}

/* ============================================================
   STICKY NAV — slides in once the hero is behind us
   ============================================================ */
.navbar{
  position:fixed;top:0;left:0;right:0;
  z-index:50;
  transform:translateY(-101%);
  background:rgba(253,233,203,.94);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(11,15,14,.08);
  transition:transform .6s var(--ease-out);
}
.navbar.is-on{transform:none}
.navbar-in{
  width:100%;max-width:1420px;margin:0 auto;
  padding:clamp(10px,1vw,15px) var(--pad);
  display:flex;align-items:center;gap:clamp(16px,2vw,32px);
}
.navbar-brand{display:flex;align-items:center;gap:11px;color:var(--ink)}
.navbar-brand .brand-mark{width:clamp(21px,1.8vw,28px)}
.navbar-word{font-family:"Inter Tight","Inter",sans-serif;font-weight:600;font-size:clamp(16px,1.3vw,20px);letter-spacing:-.025em}
.navbar-links{display:flex;align-items:center;gap:clamp(14px,2.3vw,40px);margin-left:auto}
.navbar-links a{
  position:relative;padding:6px 0;
  font-size:clamp(13px,1.02vw,16px);font-weight:500;color:var(--ink);
  transition:color .35s var(--ease);
}
.navbar-links a::after{
  content:"";position:absolute;left:0;bottom:0;width:100%;height:1.5px;
  background:currentColor;transform:scaleX(0);transform-origin:100% 50%;
  transition:transform .5s var(--ease-out);
}
.navbar-links a:hover::after{transform:scaleX(1);transform-origin:0 50%}
.btn-ghost{
  flex:none;
  border:1.5px solid rgba(11,15,14,.26);
  padding:clamp(8px,.75vw,12px) clamp(14px,1.4vw,22px);
  font-size:clamp(13px,1.02vw,16px);font-weight:500;color:var(--ink);
  transition:background .4s var(--ease),color .4s var(--ease),border-color .4s var(--ease);
}
.btn-ghost:hover{background:var(--green);border-color:var(--green);color:var(--white)}

/* active section highlight — both navs */
.navbar-links a.is-active,
.nav-links a.is-active{color:var(--green)}
.navbar-links a.is-active::after,
.nav-links a.is-active::after{transform:scaleX(1);transform-origin:0 50%;background:var(--green)}

/* ============================================================
   MENU OVERLAY
   Sits above the sticky bar but below the preloader.
   ============================================================ */
.menu-overlay{
  position:fixed;
  inset:0;
  z-index:90;
  visibility:hidden;
  pointer-events:none;
  transition:visibility 0s linear .85s;
}
.menu-overlay.is-open{
  visibility:visible;
  pointer-events:auto;
  transition-delay:0s;
}
/* scroll lock while the menu is up */
.js.nav-open,.js.nav-open body{overflow:hidden}

/* five panels, same motif as the preloader and the hero grid */
.menu-cols{position:absolute;inset:0;display:grid;grid-template-columns:repeat(5,1fr)}
.menu-cols span{
  background:var(--cream);
  border-right:1px solid rgba(11,15,14,.05);
  transform:translateY(-101%);
  transition:transform .8s var(--ease-out);
  transition-delay:var(--d,0ms);
}
.menu-cols span:last-child{border-right:0}
.menu-overlay.is-open .menu-cols span{transform:none}

.menu-inner{
  position:relative;
  z-index:1;
  height:100%;
  display:flex;
  flex-direction:column;
}
.menu-top{
  display:grid;
  grid-template-columns:repeat(5,20%);
  align-items:center;
  height:14.1svh;
  min-height:64px;
  flex:none;
}
.menu-top .brand{grid-column:1;justify-self:center}
.menu-close{grid-column:5;justify-self:center}

.menu-links{
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:0 var(--inset) 0 calc(20% + var(--inset));
}
.menu-links a{
  position:relative;
  display:flex;
  align-items:baseline;
  gap:clamp(14px,1.8vw,30px);
  padding:clamp(4px,.7vw,12px) 0;
  color:var(--ink);
  opacity:0;
  transform:translateY(26px);
  transition:opacity .6s var(--ease-out),transform .7s var(--ease-out);
  transition-delay:var(--d,0ms);
}
.menu-overlay.is-open .menu-links a{opacity:1;transform:none}
.menu-idx{
  font-size:clamp(11px,.95vw,14px);
  letter-spacing:.14em;
  color:var(--green);
  flex:none;
}
.menu-word{
  font-family:"Inter Tight","Inter",sans-serif;
  font-size:clamp(30px,5.6vw,84px);
  font-weight:600;
  letter-spacing:-.035em;
  line-height:1.04;
  transition:transform .55s var(--ease-out),color .4s var(--ease);
}
.menu-links a:hover .menu-word{transform:translateX(clamp(8px,1.2vw,20px));color:var(--green)}
/* the scrollspy marks the section you were on when you opened the menu */
.menu-links a.is-active .menu-word{color:var(--green)}
.menu-links a.is-active .menu-idx{opacity:1}
.menu-idx{opacity:.55;transition:opacity .4s var(--ease)}

.menu-foot{
  flex:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:clamp(16px,2vw,32px);
  flex-wrap:wrap;
  padding:0 var(--inset) clamp(28px,4vw,60px) calc(20% + var(--inset));
  opacity:0;
  transform:translateY(20px);
  transition:opacity .6s var(--ease-out),transform .7s var(--ease-out);
  transition-delay:var(--d,0ms);
}
.menu-overlay.is-open .menu-foot{opacity:1;transform:none}
.menu-note{
  display:flex;
  align-items:center;
  font-size:clamp(12px,1vw,16px);
  color:var(--ink-2);
}

@media (max-width:860px){
  .menu-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 20px;
    height:auto;
    min-height:0;
  }
  .menu-links,.menu-foot{padding-left:20px;padding-right:20px}
  .menu-foot{align-items:flex-start;flex-direction:column;padding-bottom:32px}
  .menu-foot .btn-primary{width:100%;max-width:320px}
}


/* ============================================================
   VIDEO LIGHTBOX
   Above the menu overlay, below the preloader.
   ============================================================ */
.video-modal{
  position:fixed;
  inset:0;
  z-index:95;
  visibility:hidden;
  opacity:0;
  pointer-events:none;
  transition:opacity .4s var(--ease),visibility 0s linear .4s;
}
.video-modal.is-open{visibility:visible;opacity:1;pointer-events:auto;transition-delay:0s}
.vm-backdrop{position:absolute;inset:0;background:rgba(5,15,10,.9)}
.vm-inner{
  position:relative;
  height:100%;
  display:grid;
  place-items:center;
  padding:clamp(18px,4vw,64px);
}
.vm-frame{
  width:min(1080px,100%);
  aspect-ratio:16/9;
  background:#000;
  --c:clamp(12px,1.3vw,22px);
  clip-path:polygon(0 0,calc(100% - var(--c)) 0,100% var(--c),
                    100% 100%,var(--c) 100%,0 calc(100% - var(--c)));
  transform:scale(.955);
  transition:transform .5s var(--ease-out);
}
.video-modal.is-open .vm-frame{transform:none}
.vm-frame video{width:100%;height:100%;display:block;object-fit:cover;background:#000}
.vm-close{
  position:absolute;
  z-index:2;
  top:clamp(14px,2vw,34px);
  right:clamp(14px,2vw,34px);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.js .reveal{opacity:0;transform:translateY(28px);will-change:transform,opacity}
.js .reveal.is-in{
  opacity:1;transform:none;
  transition:opacity .9s var(--ease-out),transform 1s var(--ease-out);
  transition-delay:var(--d,0ms);
}

/* ============================================================
   SECTION RESPONSIVE
   ============================================================ */
@media (max-width:1000px){
  .sec-head{grid-template-columns:1fr;align-items:start}
  .pillars{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(3,1fr)}
  .statband-in{grid-template-columns:repeat(2,1fr);gap:clamp(20px,3vw,30px)}
  .stat:nth-child(odd){border-left:0;padding-left:0}
  .sustain-in{padding-left:clamp(20px,7vw,110px)}
  .bento{grid-template-columns:1.08fr .92fr;grid-auto-rows:clamp(178px,26vw,236px)}
  .bento-head{grid-column:span 2}
  .footer-in{grid-template-columns:1fr 1fr}
}

@media (max-width:860px){
  .navbar-links{display:none}
  .btn-ghost{margin-left:auto}
  .navbar-burger{display:grid}
}

@media (max-width:640px){
  .pillars,.steps{grid-template-columns:1fr}
  .pillar,.step{min-height:0}
  .sustain-media{width:56px}
  .sustain-in{padding-left:0}
  .bento{grid-template-columns:1fr;grid-auto-rows:auto}
  .bento-head{grid-column:span 1}
  .bento-media{aspect-ratio:16/10}
  .bento-stat{min-height:210px}
  .footer-in{grid-template-columns:1fr;gap:30px}
  .footer-base{flex-direction:column;align-items:flex-start;gap:12px}
  .statband-in{grid-template-columns:1fr 1fr}
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js .anim,
  .js .card-figure,
  .js .career-figure{opacity:1 !important;transform:none !important}
  .js .hero-title .line-in{transform:none !important}
  .js .rule-v,.js .rule-h{transform:none !important}
  .js .tile-card{clip-path:none !important}
  .js .reveal{opacity:1 !important;transform:none !important}
  .js .preloader{display:none !important}
  .pre-mark{animation:none}
  .navbar{transition:none}
  *{transition-duration:.01ms !important;animation-duration:.01ms !important}
}
