/* =============================================================
   Luxeon Energy — styles.css
   1. Tokens · 2. Reset · 3. Utilities · 4. Type · 5. Components
   6. Sections · 7. Effects · 8. Responsive · 9. Reduced motion
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --ink:        #0f1517;
  --ink-2:      #141c1f;
  --ink-3:      #1b2528;
  --ink-4:      #26323a;
  --ink-deep:   #0a0f11;
  --paper:      #f3f4f2;
  --paper-2:    #e8eae7;
  --white:      #fdfdfc;

  --green:      #54a81e;   /* brand green (sampled from the PDF) */
  --green-2:    #6cc22e;   /* brighter — accents on dark */
  --green-text: #3a7f10;   /* green for text on light backgrounds (AA) */
  --green-soft: rgba(84, 168, 30, .14);

  --text:          #172023;
  --text-mute:     #56636a;
  --on-dark:       #eef1ef;
  --on-dark-mute:  rgba(238, 241, 239, .64);
  --on-dark-dim:   rgba(238, 241, 239, .55);
  --line:          rgba(15, 21, 23, .12);
  --line-dark:     rgba(238, 241, 239, .12);

  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --sans:    "Barlow", "Segoe UI", system-ui, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4.2vw, 56px);
  --nav-h: 72px;
  --radius: 4px;
  --section-y: clamp(88px, 11vw, 168px);

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-io:   cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-padding-top: var(--nav-h);
  background: var(--ink);
}
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.02; }
.kicker, .commit-card .eyebrow, .form-title { line-height: 1.6; }
::selection { background: var(--green); color: var(--ink); }

[tabindex="-1"]:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--green-2);
  outline-offset: 3px;
  border-radius: 2px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--green); color: var(--ink);
  font-weight: 600; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

.ico {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}

/* =============================================================
   4. Typography
   ============================================================= */
.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.kicker {
  display: flex; align-items: center; gap: 14px;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 22px;
}
.kicker span {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--green-text);
  font-family: var(--display); font-size: 1rem; letter-spacing: .08em;
}
.kicker span::after {
  content: ""; width: 38px; height: 2px; background: var(--green);
}
.title {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.3rem, 5.2vw, 4.7rem);
  line-height: .94;
  letter-spacing: -.005em;
  color: var(--ink);
}
.title em { font-style: normal; color: var(--green-text); }
.lead {
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  color: var(--text-mute);
  max-width: 58ch;
}

.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark .kicker { color: var(--on-dark-mute); }
.section--dark .kicker span { color: var(--green-2); }
.section--dark .title { color: var(--on-dark); }
.section--dark .title em { color: var(--green-2); }
.section--dark .lead { color: var(--on-dark-mute); }

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  font-weight: 600; font-size: .86rem;
  letter-spacing: .16em; text-transform: uppercase;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  transition: color .4s var(--ease-out), border-color .4s var(--ease-out), transform .4s var(--ease-out);
}
.btn .ico { width: 18px; height: 18px; transition: transform .45s var(--ease-out); }
.btn:hover .ico { transform: translateX(4px); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translateX(calc(-100% - 24px)) skewX(-18deg);
  transform-origin: left;
  transition: transform .55s var(--ease-out);
}
.btn:hover::before { transform: translateX(0) skewX(0); }
.btn-green { background: var(--green); color: var(--ink); }
.btn-green::before { background: var(--green-2); }
.btn-ghost { color: var(--on-dark); border: 1px solid rgba(238, 241, 239, .32); }
.btn-ghost::before { background: var(--on-dark); }
.btn-ghost:hover { color: var(--ink); border-color: var(--on-dark); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .74rem; }
.btn-block { width: 100%; }

/* check list — circled green checks like the PDF */
.checks { display: grid; gap: 9px; }
.checks li {
  position: relative;
  padding-left: 28px;
  font-size: .95rem;
  line-height: 1.45;
}
.checks li::before {
  content: "";
  position: absolute; left: 0; top: .18em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* =============================================================
   6. Sections
   ============================================================= */

/* ---------- Splash ---------- */
.splash { display: none; }
.js .splash {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: var(--ink);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease-io), visibility 0s linear 1s;
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none; }
@keyframes splashSafety { to { clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none; } }

.splash-logo { position: relative; width: min(58vw, 320px); }
.splash-word {
  width: 100%;
  clip-path: inset(0 0 100% 0);
  animation: splashWord 1s var(--ease-out) .15s forwards;
}
.splash-leaves {
  position: absolute; inset: 0; width: 100%;
  transform-origin: 31% 37%;
  transform: scale(0) rotate(-30deg);
  animation: splashLeaves .8s var(--ease-bounce) .8s forwards;
}
.splash-line {
  position: absolute; left: 50%; bottom: 18%;
  width: 140px; height: 2px; margin-left: -70px;
  background: var(--line-dark); overflow: hidden;
}
.splash-line::after {
  content: ""; position: absolute; inset: 0; background: var(--green);
  transform: scaleX(0); transform-origin: left;
  animation: splashLine 1.4s var(--ease-io) .1s forwards;
}
@keyframes splashWord { to { clip-path: inset(0 0 0 0); } }
@keyframes splashLeaves { to { transform: scale(1) rotate(0); } }
@keyframes splashLine { to { transform: scaleX(1); } }

/* ---------- Progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 150;
  height: 3px; pointer-events: none;
}
.progress span {
  display: block; height: 100%; background: var(--green-2);
  transform: scaleX(0); transform-origin: left;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  height: var(--nav-h);
  color: var(--on-dark);
  transition: background-color .5s var(--ease-out), border-color .5s var(--ease-out), transform .5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(15, 21, 23, .9);
  border-bottom-color: var(--line-dark);
}
@supports (backdrop-filter: blur(12px)) {
  .nav.is-scrolled { background: rgba(15, 21, 23, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
}
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner {
  height: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 28px;
}
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: none; margin-left: auto; gap: 30px; }
.nav-links a {
  position: relative;
  font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--on-dark-mute);
  padding-block: 8px;
  transition: color .3s var(--ease-out);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--green-2); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--on-dark); }
.nav-links a:hover::after, .nav-links a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; }
.nav-toggle {
  margin-left: auto;
  width: 46px; height: 46px;
  display: grid; place-content: center; gap: 7px;
  border: 1px solid var(--line-dark); border-radius: var(--radius);
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--on-dark);
  transition: transform .45s var(--ease-out);
}
.menu-open .nav-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .nav-toggle span:last-child  { transform: translateY(-4.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 110;
  background: var(--ink);
  color: var(--on-dark);
  padding: calc(var(--nav-h) + 36px) var(--gutter) 36px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .7s var(--ease-io), visibility 0s linear .7s;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-io), visibility 0s; }
.menu-links { display: grid; gap: 6px; }
.menu-links a {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.4rem, 11vw, 3.6rem); line-height: 1.05;
  border-bottom: 1px solid var(--line-dark);
  padding-block: 6px 10px;
}
.menu-links a span { font-size: .9rem; color: var(--green-2); letter-spacing: .1em; }
.menu { overflow-y: auto; overscroll-behavior: contain; }
.menu-foot { display: grid; gap: 4px; color: var(--on-dark-mute); font-size: .95rem; }
.menu-foot a:not(.btn) { padding-block: 10px; }
.menu-foot .btn { margin-bottom: 14px; }
@media (max-height: 520px) {
  .menu { padding-top: calc(var(--nav-h) + 12px); justify-content: flex-start; gap: 24px; }
  .menu-links a { font-size: 2rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--ink);
  color: var(--on-dark);
  overflow: clip;
  isolation: isolate;
}
.hero-media {
  position: absolute; top: 0; left: 0; right: 0; z-index: -2;
  height: 60vh;
  overflow: hidden;
}
@supports (height: 1svh) { .hero-media { height: 60svh; } }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 14% 30%;
  transform: scale(1.04);
  transform-origin: 60% 40%;
  filter: saturate(1.06) contrast(1.04);
}
.hero-media::after {
  /* legibility + grain (also hides upscaling softness) */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,21,23,.6) 0%, rgba(15,21,23,.05) 26%, rgba(15,21,23,.25) 58%, var(--ink) 100%);
}
.hero-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-slash { display: none; }

.hero-inner {
  position: relative; z-index: 2;
  align-self: end;
  padding-top: 50vh; padding-top: 52svh;
  padding-bottom: 28px;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  color: var(--on-dark-mute);
  font-size: .7rem;
  margin-bottom: 22px;
}
.pulse {
  position: relative; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-2); flex: none;
}
.pulse::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1px solid var(--green-2);
  animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.hero-title {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 13.5vw, 8.6rem);
  line-height: .9;
  letter-spacing: -.01em;
  margin-bottom: 24px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .03em; margin-bottom: -.03em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { font-style: normal; color: var(--green-2); }
.hero-sub {
  max-width: 44ch;
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  color: var(--on-dark-mute);
  margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-foot {
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding-top: 22px; padding-bottom: 26px;
}
.hero-foot::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px; background: var(--line-dark);
}
.hero-stats { display: flex; gap: clamp(18px, 4vw, 48px); }
.hero-stats li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.hero-stats strong {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1;
  color: var(--green-2);
  font-variant-numeric: tabular-nums;
}
.hero-stats span {
  font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--on-dark-mute); line-height: 1.35;
}
.hero-coords { display: none; }
.scroll-cue {
  display: none;
  flex-direction: column; align-items: center; gap: 10px;
  font-size: .66rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: var(--on-dark-mute);
}
.scroll-cue i {
  position: relative; width: 1px; height: 48px; background: var(--line-dark); overflow: hidden;
}
.scroll-cue i::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%;
  background: var(--green-2);
  animation: cue 2s var(--ease-io) infinite;
}
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* ---------- Ticker ---------- */
.ticker {
  position: relative;
  background: var(--ink-2);
  color: var(--on-dark);
  border-block: 1px solid var(--line-dark);
  overflow: hidden;
  padding-block: 22px;
}
.ticker-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.ticker-track.is-gsap { animation: none; }
.ticker-list { display: flex; align-items: center; }
.ticker-list li {
  display: flex; align-items: center; gap: 14px;
  padding-inline: 34px;
  font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  white-space: nowrap;
}
.ticker-list li::after {
  content: ""; width: 10px; height: 22px; margin-left: 34px;
  background: var(--green); transform: skewX(-22deg);
}
.ticker-list .ico { width: 26px; height: 26px; color: var(--green-2); stroke-width: 1.5; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.section { position: relative; padding-block: var(--section-y); }
.about { background: var(--paper); }
.about-grid { display: grid; gap: 48px; }
.about-tag {
  font-size: .82rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
  color: var(--text-mute); line-height: 1.8;
}
.manifesto {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.3vw, 3.05rem);
  line-height: 1.16;
  letter-spacing: -.012em;
  color: var(--ink);
}
.manifesto em { font-style: normal; color: var(--green-text); }
.manifesto.is-split .w { opacity: .14; }

.about-figure { position: relative; }
.about-figure-media {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--ink);
}
[data-parallax] img {
  position: absolute; left: 0; top: -9%;
  width: 100%; height: 118%;
  object-fit: cover;
}
.about-figure figcaption {
  margin-top: 14px;
  font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: var(--text-mute);
}
.about-pillars { display: grid; gap: 28px; align-content: end; }
.pillar { border-top: 1px solid var(--line); padding-top: 22px; }
.pillar-num { font-family: var(--display); font-weight: 600; color: var(--green-text); letter-spacing: .1em; }
.pillar h3 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 1.9rem; color: var(--ink); margin: 6px 0 8px;
}
.pillar p { color: var(--text-mute); font-size: .98rem; max-width: 34ch; }

/* ---------- Services ---------- */
.services { background: var(--white); overflow: clip; }
.services > .container { position: relative; z-index: 1; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(44px, 6vw, 80px); max-width: 900px; }
.services-grid { display: grid; gap: 18px; }
.service {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .6s var(--ease-out);
}
.service::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.service-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.service-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter .6s var(--ease-out);
}
.service-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15,21,23,.35));
}
.service-icon {
  position: relative; z-index: 2;
  width: 60px; height: 60px; margin: -30px 0 0 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green); color: var(--white);
  box-shadow: 0 0 0 5px var(--paper);
  transition: transform .6s var(--ease-bounce);
}
.service-icon .ico { width: 28px; height: 28px; stroke-width: 1.9; }
.service-body { position: relative; padding: 16px 22px 28px; flex: 1; }
.service-num {
  position: absolute; top: -22px; right: 22px;
  font-family: var(--display); font-weight: 600; font-size: .95rem; letter-spacing: .12em;
  color: var(--text-mute);
}
.service h3 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 1.42rem; line-height: 1.02; color: var(--ink);
  margin-bottom: 16px; min-height: 2.04em;
}
.service .checks li { font-size: .9rem; color: var(--text-mute); }
.service:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -24px rgba(15,21,23,.35); border-color: rgba(84,168,30,.45); }
.service:hover::after { transform: scaleX(1); }
.service:hover .service-media img { transform: scale(1.07); }
.service:hover .service-icon { transform: rotate(-12deg) scale(1.06); }

.deco-slash {
  position: absolute; pointer-events: none;
  width: 90px; height: 520px;
  background: linear-gradient(180deg, var(--green), rgba(84,168,30,0));
  transform: skewX(-24deg);
  opacity: .9;
}
.deco-slash--services { top: -60px; right: 6%; }

/* ---------- Ops band ---------- */
.ops { position: relative; background: var(--ink); color: var(--on-dark); overflow: clip; }
.ops-inner { display: grid; }
.ops-panel {
  background: var(--green); color: var(--ink);
  padding: 48px var(--gutter);
}
.ops-panel h2 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: .98; letter-spacing: .01em;
  max-width: 13ch;
}
.ops-panel h2 span { display: block; color: var(--white); }
.ops-panel p {
  margin-top: 22px; padding-top: 18px; border-top: 2px solid rgba(15,21,23,.25);
  font-size: .72rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  display: inline-block;
}
.ops-list {
  display: grid; grid-template-columns: repeat(2, 1fr);
  padding: 20px var(--gutter) 40px;
}
.ops-list li {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 24px 16px 24px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  line-height: 1.4;
}
.ops-list .ico { width: 46px; height: 46px; stroke-width: 1.3; color: var(--green-2); }

/* ---------- Team ---------- */
.team { background: var(--paper); }
.team-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 80px); }
.team-grid { display: grid; gap: 28px; }
.team-figure { position: relative; }
.team-figure-media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 1 / 1.05; background: var(--ink);
}
.team-figure-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 40%, rgba(15,21,23,.78) 100%);
}
.team-figure figcaption {
  position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2;
  color: var(--on-dark);
}
.team-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.team-tags li {
  font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  padding: 6px 10px; border: 1px solid rgba(238,241,239,.3); border-radius: 2px;
  background: rgba(15,21,23,.35);
}
.team-figure figcaption p {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 1.5rem; line-height: 1;
}
.roles { display: grid; gap: 14px; }
.role {
  position: relative;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px 26px;
  transition: border-color .5s var(--ease-out), transform .5s var(--ease-out);
}
.role:hover { border-color: rgba(84,168,30,.5); transform: translateY(-4px); }
.role-icon {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: var(--white);
  margin-bottom: 16px;
}
.role-icon .ico { width: 24px; height: 24px; stroke-width: 1.9; }
.role h3 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 1.28rem; color: var(--ink); margin-bottom: 8px;
}
.role p { font-size: .93rem; color: var(--text-mute); line-height: 1.5; }

/* ---------- Capacity ---------- */
.capacity { overflow: clip; padding-bottom: clamp(56px, 6vw, 96px); }
.capacity-grid { display: grid; gap: 48px; align-items: start; }
.capacity-copy .title { margin-bottom: 36px; }
.checks--lg { gap: 0; }
.checks--lg li {
  padding: 16px 0 16px 40px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 1.04rem; color: var(--on-dark);
}
.checks--lg li:first-child { border-top: 1px solid var(--line-dark); }
.checks--lg li::before { top: 17px; width: 22px; height: 22px; background-size: 13px; }

.base {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 26px 24px 20px;
}
.base-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.base-head .eyebrow { color: var(--on-dark-mute); }
.base-head h3 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 1.6rem; letter-spacing: .04em;
}
.radar { width: 100%; height: auto; overflow: visible; -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent); mask-image: linear-gradient(180deg, #000 88%, transparent); }
.radar-grid path { stroke: var(--line-dark); stroke-width: 1; fill: none; stroke-dasharray: 3 5; }
.ring { fill: none; stroke: rgba(108,194,46,.28); stroke-width: 1; }
.radar-km text { fill: var(--on-dark-dim); font: 600 9px var(--sans); letter-spacing: .12em; }
.radar-sweep { transform-box: view-box; transform-origin: 200px 320px; animation: sweep 7s linear infinite; }
@keyframes sweep { to { transform: rotate(-360deg); } }
.radar-link { fill: none; stroke: var(--green-2); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 0; }
.pt { fill: var(--green-2); }
.pt-halo { fill: rgba(108,194,46,.18); stroke: rgba(108,194,46,.55); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: halo 2.6s var(--ease-out) infinite; }
@keyframes halo { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(2.1); opacity: 0; } }
.radar-pt text, .radar-base text { fill: var(--on-dark); font: 600 12px var(--sans); letter-spacing: .04em; }
.base-pt { fill: var(--white); stroke: var(--green-2); stroke-width: 3; }
.base-halo { fill: rgba(108,194,46,.22); transform-box: fill-box; transform-origin: center; animation: halo 2.2s var(--ease-out) infinite; }
.radar-n { fill: var(--on-dark-mute); font: 700 11px var(--sans); letter-spacing: .2em; }
.base-list { display: grid; gap: 4px; margin-top: 12px; }
.base-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0; border-top: 1px solid var(--line-dark);
}
.base-list .ico { color: var(--green-2); margin-top: 2px; }
.base-list strong { display: block; font-weight: 600; }
.base-list span { color: var(--on-dark-mute); font-size: .92rem; }

.assets { display: grid; gap: 18px; margin-top: clamp(56px, 8vw, 110px); }
.asset {
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius);
  overflow: hidden; padding-bottom: 24px;
}
.asset-media { position: relative; aspect-ratio: 2 / 1; overflow: hidden; margin-bottom: 20px; background: var(--ink-3); }
.asset h3 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 1.35rem; padding-inline: 22px; margin-bottom: 6px;
}
.asset p { padding-inline: 22px; color: var(--on-dark-mute); font-size: .95rem; }

/* ---------- Works ---------- */
.works { position: relative; overflow: clip; padding-block: clamp(24px, 4vw, 64px) var(--section-y); }
.works-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 40px;
}
.works-progress { display: flex; align-items: center; gap: 16px; color: var(--on-dark-mute); }
.works-count { font-family: var(--display); font-weight: 600; font-size: 1.1rem; letter-spacing: .1em; }
.works-count b { color: var(--on-dark); font-weight: 700; }
.works-bar { position: relative; width: 140px; height: 2px; background: var(--line-dark); overflow: hidden; }
.works-bar i { position: absolute; inset: 0; background: var(--green-2); transform: scaleX(.02); transform-origin: left; }
.works-hint {
  display: none; align-items: center; gap: 8px;
  font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
}
.works-hint .ico { width: 16px; height: 16px; transform: rotate(90deg); }

.works-viewport {
  overflow-x: auto; overflow-y: visible;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.works-viewport::-webkit-scrollbar { display: none; }
.works-track {
  display: flex; gap: 16px;
  width: max-content;
  padding-inline: var(--gutter);
}
.work {
  flex: none;
  width: min(84vw, 560px);
  scroll-snap-align: center;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.work-media { position: relative; aspect-ratio: 2 / 1; overflow: hidden; background: var(--ink-3); }
.work-media img {
  position: absolute; top: 0; left: -6%;
  width: 112%; max-width: none; height: 100%;
  object-fit: cover;
  transition: filter .6s var(--ease-out);
}
.work-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15,21,23,.5));
}
.work-body { display: flex; align-items: center; gap: 16px; padding: 20px 22px 22px; flex: 1; }
.work-icon {
  width: 48px; height: 48px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: var(--white);
  box-shadow: 0 0 0 4px rgba(84,168,30,.18);
}
.work-cat {
  font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--green-2); margin-bottom: 4px;
}
.work h3 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1;
}
.work-num {
  margin-left: auto;
  font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(238,241,239,.3);
}
.work--cta { background: var(--green); border-color: var(--green); color: var(--ink); width: min(78vw, 420px); }
.work-cta { display: flex; flex-direction: column; justify-content: center; gap: 18px; height: 100%; padding: 36px 24px; }
.work--cta .btn { white-space: nowrap; letter-spacing: .12em; padding-inline: 20px; }
.work-cta .eyebrow { color: var(--ink); }
.work--cta .btn:focus-visible { outline-color: var(--ink); }
.work-cta-title {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.9rem, 2.8vw, 2.6rem); line-height: .98;
}
.work--cta .btn-green { background: var(--ink); color: var(--on-dark); align-self: flex-start; }
.work--cta .btn-green::before { background: var(--ink-4); }

/* ---------- Commit + norms ---------- */
.commit { background: var(--paper); }
.commit-grid { display: grid; gap: 18px; }
.commit-card {
  position: relative;
  background: var(--green); color: var(--ink);
  border-radius: var(--radius);
  padding: 40px 32px;
  overflow: hidden;
}
.commit-card::after {
  content: ""; position: absolute; right: -40px; top: -30%; bottom: -30%; width: 110px;
  background: rgba(255,255,255,.14); transform: skewX(-22deg);
}
.commit-icon { width: 60px; height: 60px; stroke-width: 1.3; margin-bottom: 26px; }
.commit-card .eyebrow { margin-bottom: 12px; }
.commit-text {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; max-width: 18ch;
}
.norms-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px;
  display: grid; gap: 26px;
}
.norms-head { display: flex; align-items: center; gap: 18px; }
.norms-icon { width: 58px; height: 58px; stroke-width: 1.3; color: var(--green-text); }
.norms-head h2 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 1.8rem; line-height: 1; color: var(--ink);
}
.norms-card .checks li { font-size: 1rem; }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: clip; padding-bottom: var(--section-y); }
.bigtext {
  padding-block: clamp(40px, 7vw, 90px) clamp(40px, 6vw, 80px);
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: clamp(56px, 8vw, 110px);
}
.bigtext-row {
  display: flex; align-items: center; gap: .3em;
  width: max-content;
  white-space: nowrap;
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(4rem, 12vw, 12.5rem); line-height: .9;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(238,241,239,.26);
  padding-left: var(--gutter);
}
.bigtext-row i {
  display: inline-block; width: .22em; height: .62em;
  background: var(--green); transform: skewX(-22deg);
}
.contact-grid { display: grid; gap: 48px; }
.contact-copy .title { margin-bottom: 20px; }
.contact-copy .lead { margin-bottom: 36px; }
.contact-list { display: grid; gap: 0; }
.contact-list li > a, .contact-list li > div {
  display: flex; align-items: center; gap: 18px;
  padding: 16px 0; border-top: 1px solid var(--line-dark);
  font-size: 1.05rem; font-weight: 500;
  word-break: break-word;
  transition: color .3s var(--ease-out);
}
.contact-list li:last-child > * { border-bottom: 1px solid var(--line-dark); }
.contact-list small {
  display: block;
  font-size: .66rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--on-dark-mute); margin-bottom: 2px;
}
.c-ico {
  width: 46px; height: 46px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark); color: var(--green-2);
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out), border-color .4s var(--ease-out);
}
.c-ico .ico { width: 20px; height: 20px; }
.contact-list a:hover { color: var(--green-2); }
.contact-list a:hover .c-ico { background: var(--green); border-color: var(--green); color: var(--ink); }

.contact-form {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 30px 24px;
  display: grid; gap: 18px;
  align-self: start;
}
.form-title {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 1.7rem; margin-bottom: 4px;
}
.field-row { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field > span {
  font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--on-dark-mute);
}
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1px solid rgba(238,241,239,.22);
  border-radius: 0;
  padding: 10px 0 12px;
  color: var(--on-dark);
  font-size: 1rem;
  transition: border-color .3s var(--ease-out);
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  appearance: none; -webkit-appearance: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236cc22e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 2px center / 18px no-repeat;
  padding-right: 28px;
}
.field select option { background: var(--ink-2); color: var(--on-dark); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--green-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { box-shadow: 0 2px 0 0 var(--green-2); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #e2725b; }
.form-note { font-size: .8rem; color: var(--on-dark-dim); }
.field-msg { font-size: .78rem; color: #f0a08f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { font-size: .88rem; color: #f0a08f; }
.form-error[hidden] { display: none; }
.form-error a { text-decoration: underline; }
.contact-form.is-sending .btn { opacity: .6; pointer-events: none; }
.field-msg[hidden] { display: none; }
.field.is-invalid :is(input, textarea):focus-visible { box-shadow: 0 2px 0 0 #e2725b; }
.form-ok {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-content: center; justify-items: center; gap: 16px;
  padding: 32px; text-align: center;
  background: var(--ink-2); border-radius: var(--radius);
}
.form-ok[hidden] { display: none; }
.form-ok svg { width: 72px; height: 72px; fill: none; stroke: var(--green-2); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.form-ok circle, .form-ok path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawOk .9s var(--ease-out) forwards; }
.form-ok path { animation-delay: .45s; }
@keyframes drawOk { to { stroke-dashoffset: 0; } }
.form-ok p { max-width: 32ch; color: var(--on-dark-mute); }
.form-ok strong { display: block; color: var(--on-dark); font-family: var(--display); font-size: 1.8rem; text-transform: uppercase; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-deep); color: var(--on-dark-mute); padding-top: 72px; overflow: hidden; }
.footer-grid { display: grid; gap: 36px; }
.footer-brand img { width: 170px; margin-bottom: 16px; }
.footer-brand p { max-width: 30ch; }
.footer-nav, .footer-contact { display: grid; gap: 0; align-content: start; }
.footer-nav a, .footer-contact a, .footer-contact span { padding-block: 8px; }
.footer-nav a, .footer-contact a { transition: color .3s var(--ease-out); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--green-2); }
.footer-mark { margin: 56px auto 0; max-width: calc(var(--container) + var(--gutter) * 2); padding-inline: var(--gutter); opacity: .07; }
.footer-mark img { width: 100%; max-width: 1400px; margin-inline: auto; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  padding-block: 24px 30px; margin-top: 24px;
  position: relative;
  font-size: .82rem;
}
.footer-base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line-dark); }
.footer-demo { color: var(--on-dark-dim); }

/* ---------- WhatsApp ---------- */
.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: var(--ink);
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.45);
  transition: transform .5s var(--ease-bounce), background-color .3s var(--ease-out), opacity .4s var(--ease-out);
}
.wa.is-away { opacity: 0; transform: scale(.6); pointer-events: none; }
.wa svg { width: 28px; height: 28px; fill: currentColor; }
.wa:hover { transform: scale(1.08); background: var(--green-2); }

/* =============================================================
   7. Effects — reveal states (only when JS is running)
   ============================================================= */
[data-reveal] {
  transition:
    opacity .9s var(--ease-out) calc(var(--i, 0) * 90ms),
    transform 1.1s var(--ease-out) calc(var(--i, 0) * 90ms),
    clip-path 1.3s var(--ease-io) calc(var(--i, 0) * 90ms);
}
.reveal-on [data-reveal]:not(.is-revealed) { opacity: 0; transform: translateY(42px); }
.reveal-on [data-reveal="left"]:not(.is-revealed) { transform: translateX(-60px); }
.reveal-on [data-reveal="clip"]:not(.is-revealed) { opacity: 1; transform: none; }
[data-reveal="clip"] > :first-child { clip-path: inset(0 0 0 0); transition: clip-path 1.3s var(--ease-io) calc(var(--i, 0) * 90ms); }
.reveal-on [data-reveal="clip"]:not(.is-revealed) > :first-child { clip-path: inset(100% 0 0 0); }
.reveal-on [data-reveal="list"]:not(.is-revealed),
.reveal-on [data-reveal="radar"]:not(.is-revealed) { opacity: 1; transform: none; }

.service.is-settled { transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .6s var(--ease-out); }
.role.is-settled { transition: border-color .5s var(--ease-out), transform .5s var(--ease-out); }

/* services: image settles, icon pops */
.reveal-on .service:not(.is-revealed) .service-media img { transform: scale(1.18); }
.reveal-on .service:not(.is-revealed) .service-icon { transform: scale(0) rotate(-90deg); }
.service .service-icon { transition: transform .8s var(--ease-bounce) calc(var(--i, 0) * 90ms + .25s); }
.service:hover .service-icon { transition-delay: 0s; }

/* line icons draw themselves */
.reveal-on [data-reveal]:not(.is-revealed) .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.draw { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-io) calc(var(--i, 0) * 90ms + .2s); }

/* checklist draws line by line */
[data-reveal="list"] li { transition: opacity .7s var(--ease-out) calc(var(--i, 0) * 110ms), transform .9s var(--ease-out) calc(var(--i, 0) * 110ms); }
[data-reveal="list"] li::before { transition: transform .6s var(--ease-bounce) calc(var(--i, 0) * 110ms + .15s); }
.reveal-on [data-reveal="list"]:not(.is-revealed) li { opacity: 0; transform: translateX(-24px); }
.reveal-on [data-reveal="list"]:not(.is-revealed) li::before { transform: scale(0); }

/* radar */
.ring { transform-box: view-box; transform-origin: 200px 320px; transition: transform 1.4s var(--ease-out) calc(var(--i, 0) * 100ms), opacity 1s var(--ease-out) calc(var(--i, 0) * 100ms); }
.reveal-on [data-reveal="radar"]:not(.is-revealed) .ring { transform: scale(.2); opacity: 0; }
.radar-link { transition: stroke-dashoffset 1.1s var(--ease-io) calc(var(--i, 0) * 150ms + .3s); }
.reveal-on [data-reveal="radar"]:not(.is-revealed) .radar-link { stroke-dashoffset: 1; }
.radar-pt { transition: opacity .6s var(--ease-out) calc(var(--i, 0) * 150ms + .9s); }
.reveal-on [data-reveal="radar"]:not(.is-revealed) .radar-pt { opacity: 0; }

/* hero intro (plays when the splash leaves) */
.hero-title .line > span { transition: transform 1.2s var(--ease-out); }
.hero-title .line:nth-child(2) > span { transition-delay: .09s; }
.hero-title .line:nth-child(3) > span { transition-delay: .18s; }
.hero-eyebrow, .hero-sub, .hero-actions, .hero-foot { transition: opacity 1s var(--ease-out) .35s, transform 1.1s var(--ease-out) .35s; }
.hero-sub { transition-delay: .45s; }
.hero-actions { transition-delay: .55s; }
.hero-foot { transition-delay: .7s; }
.hero-media { transition: clip-path 1.5s var(--ease-io), opacity 1.2s var(--ease-out); }
.hero-slash { transition: clip-path 1.2s var(--ease-io) .5s; }
.reveal-on:not(.is-loaded) .hero-title .line > span { transform: translateY(110%); }
.reveal-on:not(.is-loaded) .hero-eyebrow,
.reveal-on:not(.is-loaded) .hero-sub,
.reveal-on:not(.is-loaded) .hero-actions,
.reveal-on:not(.is-loaded) .hero-foot { opacity: 0; transform: translateY(22px); }
.reveal-on:not(.is-loaded) .hero-media { opacity: 0; }

/* =============================================================
   8. Responsive (mobile-first)
   ============================================================= */
@media (max-width: 719px) {
  /* phones: the hero CTA stays on the first screen */
  .hero-media { height: 50vh; }
  .hero-inner { padding-top: 40vh; }
  .hero-eyebrow { margin-bottom: 14px; }
  .hero-title { margin-bottom: 16px; }
  .hero-sub { margin-bottom: 22px; }
  .service h3 { min-height: 0; }
  .radar-pt text, .radar-base text { font-size: 16px; }
  .radar-km text { font-size: 12px; }
}
@supports (height: 1svh) {
  @media (max-width: 719px) {
    .hero-media { height: 50svh; }
    .hero-inner { padding-top: 42svh; }
  }
}

@media (min-width: 540px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .ops-list { grid-template-columns: repeat(3, 1fr); }
  .contact-form { padding: 36px 32px; }
}

@media (min-width: 720px) {
  .nav-cta { display: inline-flex; margin-left: auto; }
  .nav-toggle { margin-left: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .roles { grid-template-columns: repeat(2, 1fr); }
  .assets { grid-template-columns: repeat(3, 1fr); }
  .about-pillars { grid-template-columns: repeat(3, 1fr); }
  .hero-coords {
    display: block; text-align: right;
    font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
    color: var(--on-dark-mute); margin-left: auto;
  }
  .hero-coords span { display: block; color: var(--on-dark-dim); margin-top: 4px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .norms-card .checks { grid-template-columns: 1fr 1fr; column-gap: 24px; }
}

@media (min-width: 720px) and (max-width: 959px) {
  /* tablet portrait: photo beside the pillars, compact radar card */
  .about-grid { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .about-head, .manifesto { grid-column: 1 / -1; }
  .about-pillars { grid-template-columns: 1fr; align-content: center; }
}

@media (min-width: 960px) {
  :root { --nav-h: 84px; }
  .nav-links { display: flex; }
  .nav:not(.is-scrolled)::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, rgba(15,21,23,.9) 0%, rgba(15,21,23,.72) 66%, rgba(15,21,23,0) 100%);
  }
  .nav:not(.is-scrolled) .nav-links a { color: var(--on-dark); }
  .nav-cta { margin-left: 8px; }
  .nav-toggle, .menu { display: none; }

  /* hero: photo left, brand "/" diagonal on its right edge, copy on the right.
     (the worker sits on the photo's left edge, so the cut goes on the right) */
  .hero { --media-w: 52%; --cutf: .19; --cut: 19%; }
  .hero-media {
    right: auto; bottom: 0; height: auto; width: var(--media-w);
    clip-path: polygon(0 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
  }
  .hero-media img { object-position: 0% 30%; }
  .reveal-on:not(.is-loaded) .hero-media { opacity: 1; clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(15,21,23,.62) 0%, rgba(15,21,23,0) 24%, rgba(15,21,23,0) 64%, rgba(15,21,23,.82) 100%),
      linear-gradient(270deg, rgba(15,21,23,.4) 0%, rgba(15,21,23,0) 30%);
  }
  .hero-slash {
    display: block; position: absolute; top: 0; bottom: 0; z-index: -1;
    left: calc(var(--media-w) * (1 - var(--cutf)) + 14px);
    width: calc(var(--media-w) * var(--cutf) + 18px);
    background: var(--green);
    clip-path: polygon(calc(100% - 18px) 0, 100% 0, 18px 100%, 0 100%);
  }
  .reveal-on:not(.is-loaded) .hero-slash { clip-path: polygon(calc(100% - 18px) 0, 100% 0, 100% 0, calc(100% - 18px) 0); }
  .hero-inner {
    align-self: center;
    max-width: none; margin: 0;
    padding: calc(var(--nav-h) + 32px) var(--gutter) 32px calc(var(--media-w) + 44px);
  }
  .hero-title { font-size: clamp(3.4rem, 6vw, 7.6rem); }
  .hero-sub { max-width: 40ch; }
  .hero-eyebrow { font-size: .72rem; }
  .hero-foot {
    max-width: none; margin: 0;
    padding-left: calc(var(--media-w) + 44px); padding-right: var(--gutter);
  }
  .hero-foot::before { left: calc(var(--media-w) + 44px); right: var(--gutter); }
  .hero-coords { position: absolute; left: var(--gutter); bottom: 28px; text-align: left; margin: 0; }
  .hero-stats li { flex-direction: row; align-items: center; gap: 10px; }
  .title { font-size: clamp(2.3rem, 4.3vw, 4.4rem); }
  .scroll-cue { display: flex; }

  .about-grid { grid-template-columns: repeat(12, 1fr); column-gap: 32px; row-gap: 72px; }
  .about-head { grid-column: 1 / 5; }
  .manifesto { grid-column: 5 / 13; }
  .about-figure { grid-column: 1 / 5; }
  .about-pillars { grid-column: 6 / 13; align-self: center; }

  .ops-list { grid-template-columns: repeat(5, 1fr); padding: 44px var(--gutter); align-items: stretch; }
  .ops-list li { border-bottom: 0; border-left: 1px solid var(--line-dark); padding: 20px 18px 12px; align-items: center; text-align: center; justify-content: flex-start; }
  .ops-list li:first-child { border-left: 0; }

  .team-head { grid-template-columns: 1.1fr 1fr; align-items: end; column-gap: 64px; }
  .team-grid { grid-template-columns: 5fr 7fr; gap: 20px; align-items: start; }
  .team-figure { position: sticky; top: calc(var(--nav-h) + 24px); }
  .team-figure-media { aspect-ratio: 508 / 544; height: auto; min-height: 0; }

  .capacity-grid { grid-template-columns: 1.15fr 1fr; gap: 72px; }

  .norms-card { grid-template-columns: auto 1fr; align-items: center; gap: 40px; padding: 40px; }
  .norms-head { flex-direction: column; align-items: flex-start; padding-right: 36px; border-right: 1px solid var(--line); }

  .contact-grid { grid-template-columns: 1fr 1fr; gap: 72px; }

  /* works: pinned horizontal gallery (JS adds .is-pinned; without it the row just scrolls sideways) */
  .works.is-pinned { padding-block: 0; }
  /* sticky (not a GSAP pin): no layout shift, and #obras stays at the gallery start */
  .works.is-pinned .works-pin {
    position: sticky; top: 0;
    height: 100vh; height: 100svh;
    display: flex; flex-direction: column; justify-content: center;
    padding-top: var(--nav-h);
  }
  .works-head { margin-bottom: clamp(24px, 4vh, 44px); }
  .works-viewport { scroll-snap-type: x proximity; }
  .works.is-pinned .works-viewport { overflow: visible; scroll-snap-type: none; }
  .works-track {
    gap: 24px;
    padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
  }
  .work { width: clamp(420px, 42vw, 640px); }
  .work--cta { width: clamp(320px, 28vw, 420px); }
  .work-media { aspect-ratio: auto; height: clamp(220px, 40vh, 380px); }
  .works.is-pinned .works-hint { display: inline-flex; }
}

@media (min-width: 960px) and (max-width: 1279px) {
  .hero-stats li { flex-direction: column; align-items: flex-start; gap: 6px; }
  .ops-inner { grid-template-columns: 1fr; }
}

@media (min-width: 960px) and (max-height: 760px) {
  /* short laptop screens: the pinned gallery still fits */
  .works-head { margin-bottom: 18px; }
  .works .title { font-size: clamp(2.2rem, 8vh, 4.4rem); }
  .work-media { height: clamp(180px, 36vh, 380px); }
}

@media (min-width: 1280px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }

  /* green panel bleeds left, its text lines up with the container */
  .ops-inner { grid-template-columns: calc(max(var(--gutter), (100% - var(--container)) / 2) + 400px) 1fr; align-items: stretch; }
  .ops-panel {
    padding: 64px 90px 64px max(var(--gutter), calc((100vw - var(--container)) / 2));
    clip-path: polygon(0 0, 100% 0, calc(100% - 70px) 100%, 0 100%);
    display: flex; flex-direction: column; justify-content: center;
  }
  .ops-list { padding: 56px max(var(--gutter), calc((100vw - var(--container)) / 2)) 56px 12px; }

  .commit-grid { grid-template-columns: 5fr 7fr; gap: 20px; }
  .commit-card { clip-path: polygon(0 0, 100% 0, calc(100% - 56px) 100%, 0 100%); padding: 48px 90px 48px 40px; display: flex; flex-direction: column; justify-content: center; }
  .norms-card .checks { grid-template-columns: 1fr; }
  .roles { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 4.6fr 7.4fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 1600px) {
  :root { --container: 1400px; }
}

@media (hover: hover) and (pointer: fine) {
  .works:not(.is-pinned) .works-viewport { scrollbar-width: thin; scrollbar-color: var(--green) var(--line-dark); padding-bottom: 14px; }
  .works:not(.is-pinned) .works-viewport::-webkit-scrollbar { display: block; height: 6px; }
  .works:not(.is-pinned) .works-viewport::-webkit-scrollbar-thumb { background: var(--green); }
}

@media (hover: none) {
  .service:hover, .role:hover { transform: none; }
}

/* =============================================================
   9. Reduced motion — only the intrusive, looping effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .pulse::after, .pt-halo, .base-halo, .scroll-cue i::after { animation: none; }
  .radar-sweep { animation-duration: 18s; }
}
