/* ==========================================================================
   Smart Energy Solutions — style.css
   1. Tokens          8. Section head        15. Process (sticky stack)
   2. Base            9. Solutions cards     16. Charts & calculator
   3. Utilities      10. Statement text      17. Map
   4. Loader         11. Stats (glass)       18. Projects / gallery
   5. Header & nav   12. Audience cards      19. Testimonials (orb)
   6. Hero frame     13. Media & collage     20. CTA, forms, FAQ
   7. Marquee        14. Glass widgets       21. Footer · 22. Motion · 23. Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* brand — sampled from the logo */
  --char: #303030;          /* logo wordmark */
  --ink: #1b1d1c;           /* deepest text / dark sections */
  --ink-2: #242726;
  --green: #00a254;         /* logo "Energy Solutions" + sun */
  --green-600: #008a47;
  --green-800: #0b4a2b;
  --green-900: #082a1a;
  --lime: #a8cc3c;          /* logo leaf + t-dot */
  --lime-300: #c9e27a;

  /* neutrals & tints */
  --paper: #f5f5f0;
  --white: #ffffff;
  --mist: #ecede6;
  --stone: #e7e5dc;
  --tint-lime: #eef4dc;
  --tint-green: #dcefe3;
  --tint-stone: #ecebe5;
  --muted: #6a6f6b;
  --muted-2: #8d918e;
  --line: rgba(27, 29, 28, .1);
  --line-2: rgba(27, 29, 28, .16);

  --tone-grad: linear-gradient(92deg, var(--green) 0%, #2fb35a 45%, var(--lime) 100%);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --notch: 24px;

  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --font: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 2.2vw, 28px);
  --max: 1320px;
  --frame: clamp(8px, 1.1vw, 16px);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.js body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; left: 16px; top: 16px; z-index: 999;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  transform: translateY(-200%); opacity: 0; pointer-events: none;
  transition: transform .3s var(--ease), opacity .3s;
}
.skip-link:focus { transform: none; opacity: 1; pointer-events: auto; }

/* 3. Utilities ------------------------------------------------------------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--flush-top { padding-top: 0; }
.section--dark { background: var(--ink); color: #fff; }
.section--mist { background: var(--mist); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--lime); border-radius: 2px; }
.section--dark .eyebrow { color: rgba(255, 255, 255, .6); }

.h1 { font-weight: 300; font-size: clamp(2.6rem, 6.4vw, 6rem); line-height: .98; letter-spacing: -.045em; }
.h2 { font-weight: 400; font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.08; letter-spacing: -.03em; }
.h3 { font-weight: 400; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.15; letter-spacing: -.02em; }
.lede { font-size: .98rem; color: var(--muted); line-height: 1.65; max-width: 46ch; }
.section--dark .lede, .stats .lede, .cta .lede { color: rgba(255, 255, 255, .72); }
.tone-grad { background: var(--tone-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--font-mono); }

/* buttons */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: 54px; padding: 0 8px 0 24px; border-radius: 999px;
  background: var(--bg); color: var(--fg); font-weight: 500; font-size: .95rem;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--green); transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: none; }
.btn .btn-ico {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lime); color: var(--ink); transition: transform .6s var(--ease);
}
.btn:hover .btn-ico { transform: rotate(45deg); }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light::before { background: var(--lime); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--sm { height: 44px; padding: 0 6px 0 18px; font-size: .88rem; }
.btn--sm .btn-ico { width: 32px; height: 32px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: .9rem;
  padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: gap .5s var(--ease);
}
.link-arrow:hover { gap: 16px; }
.link-arrow svg { width: 18px; height: 18px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px;
  border-radius: 999px; background: #fff; font-size: .8rem; color: var(--ink);
}
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }

.sq { display: inline-block; width: .32em; height: .32em; background: var(--lime); border-radius: .05em; margin-left: .06em; vertical-align: .62em; }

/* 4. Loader ---------------------------------------------------------------- */
html:not(.js) .loader { display: none; }
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--ink); color: #fff;
  display: grid; place-items: center;
  transition: clip-path 1.1s var(--ease-io);
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader-inner { display: grid; justify-items: center; gap: 22px; }
.loader-mark { width: 120px; height: 120px; }
.loader-mark .ray { stroke: var(--green); stroke-width: 7; stroke-linecap: square; stroke-dasharray: 24; stroke-dashoffset: 24; animation: ray .5s var(--ease) forwards; }
.loader-mark .arc { fill: none; stroke: var(--green); stroke-width: 9; stroke-dasharray: 160; stroke-dashoffset: 160; animation: ray 1s var(--ease) .2s forwards; }
.loader-mark .leaf { fill: var(--lime); transform-origin: 60px 74px; transform: scale(0); animation: pop .7s var(--ease-out) .7s forwards; }
.loader-count { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .1em; color: rgba(255, 255, 255, .55); }
@keyframes ray { to { stroke-dashoffset: 0; } }
@keyframes pop { to { transform: scale(1); } }

/* 5. Header & nav ---------------------------------------------------------- */
.site-nav {
  position: absolute; z-index: 5; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px, 2.6vw, 36px); color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  margin: 0 calc(var(--hero-cta-w, 260px)) 0 0;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 64px; width: auto; }
.nav-links { display: flex; gap: clamp(18px, 2.6vw, 40px); font-size: .92rem; }
.nav-links a { position: relative; opacity: .92; padding: 6px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform .4s var(--ease); }

/* compact floating nav that appears after the hero */
.float-nav {
  position: fixed; z-index: 60; top: 14px; left: 50%;
  transform: translate(-50%, -180%); transition: transform .7s var(--ease), visibility .7s; visibility: hidden;
  display: flex; align-items: center; gap: 6px; padding: 6px;
  background: rgba(27, 29, 28, .72); color: #fff; border-radius: 999px;
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.float-nav.is-on { transform: translate(-50%, 0); visibility: visible; }
.float-nav .fn-mark { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.float-nav .fn-mark img { width: 28px; }
.float-nav a.fn-link { padding: 10px 14px; border-radius: 999px; font-size: .86rem; opacity: .85; transition: background .3s, opacity .3s; }
.float-nav a.fn-link:hover, .float-nav a.fn-link[aria-current="page"] { background: rgba(255, 255, 255, .1); opacity: 1; }
.float-nav .btn { height: 40px; padding: 0 5px 0 16px; font-size: .84rem; --bg: var(--green); }
.float-nav .btn::before { background: var(--lime); }
.float-nav .btn .btn-ico { width: 30px; height: 30px; background: #fff; }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 150; background: var(--ink); color: #fff;
  padding: 90px 24px 32px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0 at calc(100% - 44px) 44px); transition: clip-path .8s var(--ease-io);
  visibility: hidden;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.menu-close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .1); font-size: 1.4rem; }
.menu-links a { display: block; font-size: clamp(2.2rem, 10vw, 3.4rem); font-weight: 300; letter-spacing: -.04em; line-height: 1.2; padding: 4px 0; }
.menu-links a span { font-family: var(--font-mono); font-size: .8rem; color: var(--lime); vertical-align: top; margin-right: 10px; letter-spacing: 0; }
.menu-foot { font-size: .9rem; color: rgba(255, 255, 255, .6); display: grid; gap: 6px; }

/* 6. Hero frame (notched) -------------------------------------------------- */
.hero-wrap { padding: var(--frame); }
.hero {
  --hero-cta-w: 270px;
  position: relative; isolation: isolate;
  height: calc(100svh - var(--frame) * 2); min-height: 640px; max-height: 980px;
  border-radius: var(--radius-xl); overflow: hidden; color: #fff;
  background: var(--ink);
}
.hero--inner { height: clamp(520px, 78svh, 760px); min-height: 520px; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
/* hero grade — every photo is graded into one brand set:
   1 colour grade on the image · 2 brand duotone wash + 3 film grain (::before)
   4 vignette + text gradient (::after) · 5 slow zoom on load (see choreography) */
.hero-media img { filter: saturate(.82) contrast(1.06) brightness(.92); }
.hero-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: 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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(135deg, rgba(0, 74, 40, .34) 0%, rgba(48, 48, 48, .14) 55%, rgba(18, 20, 19, .2) 100%);
  background-size: 160px 160px, cover;
  mix-blend-mode: multiply;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(130% 95% at 50% 42%, transparent 45%, rgba(9, 12, 10, .5) 100%),
    linear-gradient(180deg, rgba(9, 12, 10, .55) 0%, rgba(9, 12, 10, .12) 26%, rgba(9, 12, 10, 0) 48%, rgba(9, 12, 10, .2) 70%, rgba(9, 12, 10, .62) 100%);
}

/* notch — a bite out of the frame in the page colour, with concave joins */
.notch { position: absolute; z-index: 4; background: var(--paper); color: var(--ink); }
.notch::before, .notch::after { content: ""; position: absolute; width: var(--notch); height: var(--notch); pointer-events: none; }
.notch--tr { top: 0; right: 0; border-bottom-left-radius: var(--notch); padding: 10px 10px 14px 26px; width: var(--hero-cta-w); }
.notch--tr::before { top: 0; left: calc(var(--notch) * -1); background: radial-gradient(circle at 0 100%, transparent calc(var(--notch) - .5px), var(--paper) var(--notch)); }
.notch--tr::after { right: 0; bottom: calc(var(--notch) * -1); background: radial-gradient(circle at 0 100%, transparent calc(var(--notch) - .5px), var(--paper) var(--notch)); }
.notch--left { left: 0; bottom: 0; top: 46%; width: 76px; border-top-right-radius: var(--notch); display: flex; align-items: center; justify-content: center; }
.notch--left::before { left: 0; top: calc(var(--notch) * -1); background: radial-gradient(circle at 100% 0, transparent calc(var(--notch) - .5px), var(--paper) var(--notch)); }
.notch--left::after { right: calc(var(--notch) * -1); bottom: 0; background: radial-gradient(circle at 100% 0, transparent calc(var(--notch) - .5px), var(--paper) var(--notch)); }
.notch--br { right: 0; bottom: 0; width: 84px; height: 84px; border-top-left-radius: var(--notch); display: grid; place-items: center; }
.notch--br::before { right: 0; top: calc(var(--notch) * -1); background: radial-gradient(circle at 0 0, transparent calc(var(--notch) - .5px), var(--paper) var(--notch)); }
.notch--br::after { left: calc(var(--notch) * -1); bottom: 0; background: radial-gradient(circle at 0 0, transparent calc(var(--notch) - .5px), var(--paper) var(--notch)); }

.hero-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 58px; font-size: 1.02rem; font-weight: 500; }
.hero-cta .circ { width: 46px; height: 46px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; transition: background .4s, transform .6s var(--ease); }
.hero-cta:hover .circ { background: var(--lime); transform: rotate(45deg); }

.clock { writing-mode: vertical-rl; transform: rotate(180deg); display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.clock-time { font-size: 1.45rem; font-weight: 500; letter-spacing: -.02em; }
.clock-date { font-size: .78rem; color: var(--muted); }
.clock-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-600); }
.clock-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(0, 162, 84, .5); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(0, 162, 84, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 162, 84, 0); } }

.scroll-btn { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; background: #fff; transition: background .4s, transform .5s var(--ease); }
.scroll-btn:hover { background: var(--lime); transform: translateY(3px); }
.scroll-btn svg { animation: nudge 2.2s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }

.hero-title {
  position: absolute; z-index: 2; right: clamp(24px, 5vw, 90px); top: clamp(120px, 17vh, 170px);
  text-align: right; font-weight: 300; letter-spacing: -.05em; line-height: .9;
  text-shadow: 0 10px 50px rgba(0, 0, 0, .18);
}
.hero-title .l1 { display: block; font-size: clamp(2.4rem, 6vw, 5.6rem); }
.hero-title .l2 { display: block; font-size: clamp(4.6rem, 14.5vw, 13.5rem); letter-spacing: -.06em; margin-right: -.04em; }
.hero-title .l2 em { font-style: normal; color: var(--lime); }
.line-mask { display: block; overflow: hidden; padding-bottom: .06em; }
.line-mask > span { display: block; }
.js .line-mask > span { transform: translateY(105%); transition: transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.js .is-in .line-mask > span, .js .line-mask.is-in > span { transform: none; }

.bubble {
  position: absolute; z-index: 3; left: clamp(28px, 7vw, 120px); top: 46%;
  max-width: 250px; padding: 12px 18px; border-radius: 22px; text-align: center;
  background: #fff; color: var(--ink); font-size: .9rem; line-height: 1.35;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .35);
}
.bubble::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; background: #fff; border-radius: 50%; transform: translateY(-50%); }
.bubble::before { content: ""; position: absolute; right: -18px; top: 50%; width: 6px; height: 6px; background: #fff; border-radius: 50%; transform: translateY(-50%); }

.hero-card {
  position: absolute; z-index: 3; background: #fff; color: var(--ink);
  border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45);
}
.hero-card--people { left: calc(76px + clamp(12px, 2vw, 28px)); bottom: clamp(16px, 2.4vw, 28px); padding: 18px 26px 16px; text-align: center; }
.avatars { display: flex; justify-content: center; }
.avatars img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-left: -10px; background: var(--tint-lime); }
.avatars img:first-child { margin-left: 0; }
.hero-card--people .big { margin-top: 10px; color: var(--green-600); font-size: .95rem; font-weight: 500; }
.hero-card--people .small { font-size: .88rem; }

.hero-card--media { right: calc(84px + clamp(10px, 1.4vw, 18px)); bottom: clamp(16px, 2.4vw, 28px); width: min(300px, 32vw); padding: 8px 8px 12px; }
.hero-card--media .ph { aspect-ratio: 16 / 8.5; border-radius: 14px; overflow: hidden; position: relative; }
.hero-card--media .ph img { width: 100%; height: 100%; object-fit: cover; }
.hero-card--media p { font-size: .8rem; line-height: 1.4; padding: 10px 8px 0; color: var(--char); }
.live-chip {
  position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: 999px; font-size: .72rem; color: #fff;
  background: rgba(20, 24, 22, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .25);
}
.live-chip b { font-family: var(--font-mono); font-weight: 500; }
.live-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: ping 2s infinite; }

/* inner hero */
.hero-inner-copy { position: absolute; z-index: 2; left: clamp(24px, 5vw, 80px); right: clamp(24px, 5vw, 80px); bottom: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: 1fr minmax(0, 380px); align-items: end; gap: 32px; }
.hero-inner-copy .h1 { font-size: clamp(2.8rem, 7.4vw, 7rem); }
.hero-inner-copy p { color: rgba(255, 255, 255, .85); font-size: 1rem; line-height: 1.6; }
.crumbs { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-bottom: 18px; display: flex; gap: 10px; }
.crumbs a:hover { color: #fff; }

/* hero intro choreography */
.js .hero .hero-media img { transform: scale(1.14); transition: transform 2.6s var(--ease-out); }
.js .hero.is-in .hero-media img { transform: scale(1); }
.js .hero { clip-path: inset(6% 4% 6% 4% round 40px); transition: clip-path 1.6s var(--ease-io); }
.js .hero.is-in { clip-path: inset(0 0 0 0 round var(--radius-xl)); }
.js .hero .notch--tr { transform: translateY(-101%); }
.js .hero .notch--left { transform: translateX(-101%); }
.js .hero .notch--br { transform: translate(101%, 101%); }
.hero .notch { transition: transform 1.1s var(--ease-out) .9s; }
.js .hero.is-in .notch { transform: none; }
.js .hero .site-nav { opacity: 0; transform: translateY(-14px); transition: opacity 1s, transform 1s var(--ease-out); transition-delay: 1s; }
.js .hero.is-in .site-nav { opacity: 1; transform: none; }
.js .hero .bubble, .js .hero .hero-card { opacity: 0; transform: translateY(30px) scale(.94); transition: opacity .9s, transform 1.1s var(--ease-out); }
.js .hero.is-in .bubble { opacity: 1; transform: none; transition-delay: 1.5s; }
.js .hero.is-in .hero-card--people { opacity: 1; transform: none; transition-delay: 1.65s; }
.js .hero.is-in .hero-card--media { opacity: 1; transform: none; transition-delay: 1.8s; }
.js .hero .avatars img { transform: scale(0); transition: transform .6s var(--ease-out); }
.js .hero.is-in .avatars img { transform: none; }
.js .hero.is-in .avatars img:nth-child(1) { transition-delay: 1.9s; }
.js .hero.is-in .avatars img:nth-child(2) { transition-delay: 1.97s; }
.js .hero.is-in .avatars img:nth-child(3) { transition-delay: 2.04s; }
.js .hero.is-in .avatars img:nth-child(4) { transition-delay: 2.11s; }
.js .hero.is-in .avatars img:nth-child(5) { transition-delay: 2.18s; }
.js .hero-inner-copy p, .js .hero-inner-copy .crumbs { opacity: 0; transform: translateY(16px); transition: opacity 1s 1.2s, transform 1s var(--ease-out) 1.2s; }
.js .hero.is-in .hero-inner-copy p, .js .hero.is-in .hero-inner-copy .crumbs { opacity: 1; transform: none; }

/* 7. Marquee --------------------------------------------------------------- */
.marquee { overflow: hidden; padding: 26px 0; border-bottom: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 400; letter-spacing: -.02em; white-space: nowrap; }
.marquee-item img { width: 34px; height: 34px; object-fit: contain; }
.marquee-item .sep { width: 10px; height: 10px; background: var(--lime); border-radius: 2px; transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 8. Section head ---------------------------------------------------------- */
.section-head { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }

/* 9. Solutions cards (3D objects) ----------------------------------------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-item {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 400px; padding: 30px 28px 32px;
  background: var(--mist); border-radius: var(--radius-lg);
  transition: color .6s var(--ease);
}
.service-item::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .6s var(--ease);
  background: radial-gradient(120% 90% at 100% 0%, rgba(168, 204, 60, .32), transparent 55%), linear-gradient(160deg, #24302a, var(--ink));
}
.service-item .num { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); transition: color .6s; display: flex; justify-content: space-between; }
.service-item .icon {
  width: 132px; height: 132px; object-fit: contain; margin: 18px 0 auto -8px;
  filter: drop-shadow(0 22px 18px rgba(20, 30, 24, .22)) drop-shadow(0 4px 4px rgba(20, 30, 24, .12));
  animation: float 7s ease-in-out infinite; animation-delay: var(--fd, 0s);
  transition: transform .8s var(--ease), filter .8s var(--ease);
}
.service-item h3 { margin-top: 36px; }
.service-item p { font-size: .92rem; color: var(--muted); max-width: 34ch; margin-top: 10px; transition: color .6s; }
.service-item .link-arrow { margin-top: 22px; align-self: flex-start; }
.service-item:hover, .service-item.is-inview { color: #fff; }
.service-item:hover::before, .service-item.is-inview::before { opacity: 1; }
.service-item:hover .num, .service-item.is-inview .num { color: var(--lime); }
.service-item:hover p, .service-item.is-inview p { color: rgba(255, 255, 255, .75); }
.service-item:hover .icon, .service-item.is-inview .icon { transform: rotate(-12deg) scale(1.08); filter: drop-shadow(0 30px 26px rgba(0, 0, 0, .45)) drop-shadow(0 4px 4px rgba(0, 0, 0, .2)); }
.service-item .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.service-item .tags span { font-size: .72rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); transition: border-color .6s; }
.service-item:hover .tags span, .service-item.is-inview .tags span { border-color: rgba(255, 255, 255, .2); }
@keyframes float { 50% { transform: translateY(-18px); } }

/* 10. Statement text (scroll-scrubbed) ------------------------------------ */
.statement { font-size: clamp(1.7rem, 3.5vw, 3.2rem); font-weight: 300; letter-spacing: -.035em; line-height: 1.18; max-width: 22ch; }
.statement--wide { max-width: 28ch; }
.statement .w { color: rgba(27, 29, 28, .16); transition: color .4s; }
.statement .w.on { color: var(--ink); }
.statement .w.hl.on { color: var(--green); }
.statement .chip-img { display: inline-block; width: 1.9em; height: .9em; border-radius: 999px; vertical-align: -.08em; overflow: hidden; margin: 0 .08em; }
.statement .chip-img img { width: 100%; height: 100%; object-fit: cover; }

/* 11. Stats (glass over sun) ---------------------------------------------- */
.stats { position: relative; overflow: hidden; border-radius: var(--radius-xl); margin: 0 var(--frame); color: #fff; isolation: isolate; }
.stats-bg { position: absolute; inset: -10% 0; z-index: -1; }
.stats-bg img { width: 100%; height: 100%; object-fit: cover; }
.stats-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 20, 14, .2), rgba(6, 26, 16, .55)); }
.stats-inner { padding-block: clamp(56px, 9vw, 130px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px; }
.glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06));
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.stat { border-radius: var(--radius-lg); padding: 26px 24px 24px; min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; }
.stat .val { font-size: clamp(2.6rem, 4.6vw, 4.2rem); font-weight: 300; letter-spacing: -.05em; line-height: 1; }
.stat .val small { font-size: .42em; letter-spacing: -.02em; margin-left: 4px; color: var(--lime); }
.stat .lbl { font-size: .9rem; color: rgba(255, 255, 255, .78); max-width: 22ch; }
.stat .k { font-family: var(--font-mono); font-size: .7rem; color: rgba(255, 255, 255, .6); letter-spacing: .08em; text-transform: uppercase; }

/* 12. Audience cards (industry shapes) ------------------------------------ */
.aud-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.aud {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  min-height: 370px; padding: 22px 26px 30px; display: flex; flex-direction: column;
}
.aud--lime { background: var(--tint-lime); }
.aud--stone { background: var(--tint-stone); }
.aud--green { background: var(--tint-green); }
.aud--dark { background: var(--char); color: #fff; }
.aud .pill { align-self: flex-start; }
.aud--dark .pill { background: rgba(255, 255, 255, .1); color: #fff; }
.aud h3 { margin-top: auto; font-size: clamp(1.7rem, 2.4vw, 2.2rem); font-weight: 400; letter-spacing: -.03em; }
.aud p { margin-top: 12px; font-size: .93rem; color: var(--muted); max-width: 36ch; position: relative; z-index: 1; }
.aud--dark p { color: rgba(255, 255, 255, .66); }
.aud .link-arrow { margin-top: 26px; align-self: flex-start; position: relative; z-index: 1; }
.aud h3, .aud .pill { position: relative; z-index: 1; }
.aud-art { position: absolute; right: 0; top: 0; bottom: 0; width: 46%; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
.aud-art svg { width: 100%; height: 100%; }
.aud-art .s { transition: transform 1.2s var(--ease); transform-box: fill-box; transform-origin: center; }
.aud:hover .aud-art .s1 { transform: translate(-6px, -6px); }
.aud:hover .aud-art .s2 { transform: translate(6px, 4px); }
.aud:hover .aud-art .s3 { transform: rotate(-8deg); }
.aud:hover .aud-art .spin { transform: rotate(40deg); }

/* 13. Media & collage ------------------------------------------------------ */
.media { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--mist); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.js .media--reveal { clip-path: inset(12% 12% 12% 12% round var(--radius-lg)); transition: clip-path 1.4s var(--ease-io); }
.js .media--reveal img { transform: scale(1.25); transition: transform 1.8s var(--ease-out); }
.js .media--reveal.is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.js .media--reveal.is-in img { transform: scale(1); }
.parallax img { will-change: transform; }

.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro-copy .statement { margin-top: 26px; }
.intro-copy .row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.collage { position: relative; height: clamp(460px, 52vw, 640px); }
.collage--single { height: auto; }
.collage--single .c1 { position: relative !important; inset: auto; width: 100% !important; height: auto !important; aspect-ratio: 4 / 4.6; }
.collage--single .c1 img { position: absolute; inset: 0; }
.collage .c1 { position: absolute; right: 0; top: 0; width: 78%; height: 72%; }
.collage .c2 { position: absolute; left: 0; bottom: 0; width: 52%; height: 46%; border: 8px solid var(--paper); border-radius: 28px; }
.collage .obj { position: absolute; width: clamp(110px, 12vw, 170px); z-index: 3; filter: drop-shadow(0 30px 24px rgba(20, 30, 24, .3)); animation: float 7s ease-in-out infinite; }
.collage .obj--a { right: 4%; bottom: 6%; }
.collage .obj--b { left: 8%; top: 18%; width: clamp(80px, 8vw, 120px); animation-delay: -3s; }

/* 14. Glass widgets -------------------------------------------------------- */
.widget { position: absolute; z-index: 4; border-radius: 20px; padding: 16px 18px; color: #fff; min-width: 200px; }
.widget .w-k { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); display: flex; align-items: center; gap: 8px; }
.widget .w-k i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: ping 2s infinite; }
.widget .w-v { font-size: 1.9rem; font-weight: 300; letter-spacing: -.04em; margin-top: 6px; line-height: 1; }
.widget .w-v small { font-size: .5em; color: var(--lime-300); margin-left: 4px; }
.battery-bar { margin-top: 12px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.battery-bar span { display: block; height: 100%; width: var(--lvl, 72%); border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--lime)); transition: width 1.4s var(--ease); }
.spark { margin-top: 10px; width: 100%; height: 34px; }
.spark path { fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; }
.spark path.fill { fill: rgba(168, 204, 60, .22); stroke: none; }

/* glass orb */
.orb { position: relative; width: min(360px, 80%); aspect-ratio: 1; }
.orb span { position: absolute; inset: 0; border-radius: 50%; }
.orb .o1 {
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .85), rgba(255, 255, 255, .18) 62%, rgba(255, 255, 255, .5) 74%);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 60px 80px -30px rgba(8, 42, 26, .35), inset -20px -30px 60px rgba(8, 42, 26, .1);
}
.orb .o2 {
  inset: 14% -10% auto auto; width: 34%; height: 34%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--lime-300) 40%, var(--green) 100%);
  box-shadow: 0 30px 40px -20px rgba(0, 162, 84, .55);
  animation: float 6s ease-in-out infinite;
}
.orb .o3 {
  inset: auto auto 6% -6%; width: 16%; height: 16%;
  background: radial-gradient(circle at 35% 30%, #fff, #c9cbc6 55%, var(--char) 100%);
  box-shadow: 0 20px 30px -14px rgba(0, 0, 0, .4);
  animation: float 8s ease-in-out infinite -2s;
}

/* 15. Process (sticky stack) ---------------------------------------------- */
.process { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); }
.process-aside { position: sticky; top: 110px; align-self: start; }
.process-aside .lede { margin-top: 22px; }
.process-steps { display: grid; gap: 16px; }
.step {
  position: sticky; top: calc(100px + var(--i) * 18px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 360px;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 -20px 40px -30px rgba(0, 0, 0, .25);
}
.step-copy { padding: 30px 30px 32px; display: flex; flex-direction: column; }
.step-copy .n { font-family: var(--font-mono); font-size: .75rem; color: var(--green-600); }
.step-copy h3 { margin-top: auto; }
.step-copy p { font-size: .92rem; color: var(--muted); margin-top: 10px; }
.step-copy ul { margin-top: 18px; display: grid; gap: 8px; font-size: .86rem; }
.step-copy li { display: flex; gap: 10px; align-items: center; }
.step-copy li::before { content: ""; width: 7px; height: 7px; background: var(--lime); border-radius: 2px; flex: none; }
.step-media { position: relative; min-height: 260px; }
.step-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.step:nth-child(2) { background: var(--tint-lime); }
.step:nth-child(3) { background: var(--tint-green); }
.step:nth-child(4) { background: var(--char); color: #fff; }
.step:nth-child(4) .step-copy p { color: rgba(255, 255, 255, .7); }
.step:nth-child(4) .step-copy .n { color: var(--lime); }

/* 16. Charts & calculator -------------------------------------------------- */
.chart-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(20px, 2.6vw, 32px); position: relative; }
.chart-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.chart-head h3 { font-size: 1.15rem; font-weight: 500; letter-spacing: -.01em; }
.chart-head p { font-size: .84rem; color: var(--muted); margin-top: 4px; }
.legend { display: flex; gap: 18px; font-size: .8rem; color: var(--muted); flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 4px; border-radius: 2px; background: var(--c); }
.legend i.box { height: 10px; width: 10px; border-radius: 3px; }
.chart { position: relative; margin-top: 18px; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid line { stroke: var(--line); stroke-width: 1; }
.chart .axis text { fill: var(--muted-2); font-size: 11px; font-family: var(--font-mono); }
.chart .lbl-direct { font-size: 12px; font-family: var(--font); font-weight: 500; fill: var(--ink); }
.chart .lbl-muted { font-size: 11px; fill: var(--muted); font-family: var(--font); }
.chart .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 2s var(--ease-io); }
.chart.is-in .draw { stroke-dashoffset: 0; }
.chart .grow { transform: scaleY(0); transform-box: fill-box; transform-origin: bottom; transition: transform 1.2s var(--ease-out); }
.chart.is-in .grow { transform: none; }
.chart .fade { opacity: 0; transition: opacity 1s 1s; }
.chart.is-in .fade { opacity: 1; }
.chart .hover-line { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; }
.chart .hover-dot { opacity: 0; }
.chart.is-hover .hover-line, .chart.is-hover .hover-dot { opacity: 1; }
.tip {
  position: absolute; z-index: 5; pointer-events: none; min-width: 150px;
  background: var(--ink); color: #fff; border-radius: 12px; padding: 10px 12px; font-size: .78rem;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .5); opacity: 0; transform: translate(-50%, calc(-100% - 14px));
  transition: opacity .2s;
}
.tip.on { opacity: 1; }
.tip b { display: block; font-weight: 500; margin-bottom: 6px; font-size: .8rem; }
.tip .r { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tip .r span { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .75); }
.tip .r i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.tip .r em { font-style: normal; font-family: var(--font-mono); }
.table-toggle { margin-top: 14px; font-size: .78rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.data-table { margin-top: 12px; width: 100%; border-collapse: collapse; font-size: .8rem; }
.data-table th, .data-table td { text-align: right; padding: 6px 8px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.data-table th:first-child, .data-table td:first-child { text-align: left; }

.calc { display: grid; grid-template-columns: minmax(0, 400px) 1fr; gap: 14px; }
.calc--media { grid-template-columns: minmax(0, 380px) 1fr; }
.calc--rev { grid-template-columns: 1fr minmax(0, 380px); }
.calc > * { min-width: 0; }
.calc-panel { background: var(--char); color: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; position: relative; overflow: hidden; isolation: isolate; }
.calc-panel::after { content: ""; position: absolute; z-index: -1; right: -30%; bottom: -30%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(0, 162, 84, .45), transparent 65%); }
.calc-panel label { font-size: .86rem; color: rgba(255, 255, 255, .7); margin-top: 26px; display: flex; justify-content: space-between; }
.calc-panel label output { color: #fff; font-family: var(--font-mono); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; margin-top: 14px; background: linear-gradient(90deg, var(--lime) var(--p, 30%), rgba(255, 255, 255, .16) var(--p, 30%)); outline-offset: 6px; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 6px solid var(--green); cursor: grab; box-shadow: 0 4px 14px rgba(0, 0, 0, .4); }
.range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 6px solid var(--green); cursor: grab; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .08); }
.seg button { height: 38px; border-radius: 10px; font-size: .84rem; color: rgba(255, 255, 255, .75); transition: background .3s, color .3s; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.calc-out { margin-top: auto; padding-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; }
.calc-out div { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 12px; }
.calc-out dt { font-size: .74rem; color: rgba(255, 255, 255, .6); }
.calc-out dd { margin: 4px 0 0; font-size: 1.6rem; font-weight: 300; letter-spacing: -.03em; }
.calc-out dd small { font-size: .55em; color: var(--lime); margin-left: 3px; }
.fine { font-size: .74rem; color: var(--muted); margin-top: 14px; max-width: 70ch; }
.calc-panel .fine { color: rgba(255, 255, 255, .45); }

/* 17. Map ------------------------------------------------------------------ */
.map-wrap { display: grid; grid-template-columns: 1.35fr .65fr; gap: 14px; }
.map-card { position: relative; background: var(--ink); border-radius: var(--radius-lg); overflow: hidden; color: #fff; padding: clamp(20px, 2.4vw, 30px); isolation: isolate; }
.map-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 70% 30%, rgba(0, 162, 84, .25), transparent 70%), radial-gradient(40% 40% at 10% 90%, rgba(168, 204, 60, .12), transparent 70%); }
.map-svg { width: 100%; height: auto; display: block; margin-top: 10px; }
.map-svg .dot { fill: rgba(255, 255, 255, .2); transition: fill .6s; }
.map-svg .dot.lit { fill: rgba(168, 204, 60, .55); }
.map-svg .outline { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1; stroke-dasharray: 4 5; }
.map-svg .pin { cursor: pointer; }
.map-svg .pin .core { fill: var(--lime); stroke: var(--ink); stroke-width: 2; transition: r .3s; }
.map-svg .pin .halo { fill: none; stroke: var(--lime); stroke-width: 1.5; opacity: .7; transform-box: fill-box; transform-origin: center; animation: halo 2.6s var(--ease) infinite; }
.map-svg .pin.hq .core { fill: var(--green); stroke: #fff; }
.map-svg .pin text { font-size: 12px; fill: #fff; font-family: var(--font); pointer-events: none; }
.map-svg .pin.is-active .core { fill: #fff; }
.map-svg .route { fill: none; stroke: rgba(168, 204, 60, .45); stroke-width: 1.2; stroke-dasharray: 2 5; }
@keyframes halo { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
.map-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: .78rem; color: rgba(255, 255, 255, .7); margin-top: 12px; }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.map-list { display: grid; gap: 10px; align-content: start; }
.site-card { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; padding: 8px; border-radius: 16px; background: #fff; text-align: left; transition: background .4s, transform .5s var(--ease), box-shadow .4s; }
.site-card img { width: 76px; height: 64px; border-radius: 11px; object-fit: cover; }
.site-card b { font-weight: 500; font-size: .92rem; display: block; }
.site-card span { font-size: .78rem; color: var(--muted); }
.site-card:hover, .site-card.is-active { transform: translateX(-4px); box-shadow: 0 16px 30px -20px rgba(0, 0, 0, .4); }
.site-card.is-active { background: var(--tint-lime); }
.map-detail { position: absolute; right: clamp(16px, 2vw, 26px); bottom: clamp(16px, 2vw, 26px); width: min(260px, 46%); border-radius: 18px; padding: 14px; color: #fff; }
.map-detail img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.map-detail h4 { font-weight: 500; font-size: .98rem; margin-top: 10px; }
.map-detail dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.map-detail dt { font-size: .66rem; color: rgba(255, 255, 255, .6); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .06em; }
.map-detail dd { margin: 2px 0 0; font-size: .95rem; }

/* 18. Projects / gallery --------------------------------------------------- */
.h-scroll { position: relative; }
.h-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline-start: calc(var(--gutter) + max(0px, (100vw - var(--max)) / 2)); padding: 0 var(--gutter) 10px; scrollbar-width: none; cursor: grab; }
.h-track::-webkit-scrollbar { display: none; }
.h-track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.proj { flex: none; width: clamp(280px, 34vw, 460px); scroll-snap-align: start; }
.proj:first-child { margin-left: max(0px, calc((100vw - var(--max)) / 2)); }
.proj .media { aspect-ratio: 4 / 5; }
.proj .media img { transition: transform 1.2s var(--ease); }
.proj:hover .media img { transform: scale(1.06); }
.proj .meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }
.proj .meta b { font-weight: 500; }
.proj .meta span { font-size: .84rem; color: var(--muted); }
.proj .tag { position: absolute; left: 12px; top: 12px; z-index: 2; }
.proj .kpi { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 10px 14px; border-radius: 14px; color: #fff; font-size: .78rem; }
.proj .kpi b { display: block; font-size: 1.3rem; font-weight: 400; letter-spacing: -.03em; }
.h-ctrl { display: flex; gap: 8px; }
.h-ctrl button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s; }
.h-ctrl button:hover { background: var(--lime); border-color: var(--lime); }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.filters button { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .86rem; transition: background .3s, color .3s, border-color .3s; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.proj-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.pg { grid-column: span 4; transition: opacity .5s, transform .6s var(--ease); }
.pg.wide { grid-column: span 8; }
.pg .media { aspect-ratio: 4 / 3.3; }
.pg.wide .media { aspect-ratio: auto; height: 100%; min-height: 100%; }
.pg.wide .media img { position: absolute; inset: 0; }
.pg.is-hidden { display: none; }
.pg-in { position: relative; display: flex; flex-direction: column; height: 100%; }
.pg-in .media { flex: 1; }
.pg .cap.glass, .proj .kpi.glass, .media .cap-chip.glass { background: linear-gradient(135deg, rgba(20, 26, 22, .5), rgba(20, 26, 22, .22)); border-color: rgba(255, 255, 255, .2); }
.pg .cap { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; padding: 14px 16px; border-radius: 16px; color: #fff; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.pg .cap b { font-weight: 500; display: block; }
.pg .cap span { font-size: .78rem; opacity: .8; }
.pg .cap em { font-style: normal; font-family: var(--font-mono); font-size: .78rem; white-space: nowrap; }
.pg .media img { transition: transform 1.2s var(--ease); }
.pg:hover .media img { transform: scale(1.05); }

/* split feature rows (services page) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.feature:nth-of-type(even) .feature-media { order: -1; }
.feature-copy .num { font-family: var(--font-mono); font-size: .75rem; color: var(--green-600); display: flex; align-items: center; gap: 14px; }
.feature-copy .num img { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 12px 10px rgba(0, 0, 0, .18)); animation: float 7s ease-in-out infinite; }
.feature-copy h2 { margin-top: 18px; }
.feature-copy .lede { margin-top: 18px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 28px; font-size: .9rem; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--tint-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%23008a47' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.feature-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.feature-media .m-main { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.feature-media .m-a, .feature-media .m-b { aspect-ratio: 4 / 3; }
.feature-media .widget { left: 18px; top: 18px; }

/* 19. Testimonials --------------------------------------------------------- */
.testi { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.testi-stage { position: relative; display: grid; place-items: center; min-height: 440px; border-radius: var(--radius-xl); overflow: hidden; isolation: isolate; }
.testi-stage .bg { position: absolute; inset: 0; z-index: -1; }
.testi-stage .bg img { width: 100%; height: 100%; object-fit: cover; }
.testi-stage .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(140deg, rgba(0, 162, 84, .25), rgba(27, 29, 28, .2)); }
.testi-stage .orb { width: min(300px, 64%); }
.quote { font-size: clamp(1.4rem, 2.4vw, 2.1rem); font-weight: 300; letter-spacing: -.025em; line-height: 1.25; }
.quote-mark { font-size: 4rem; line-height: .6; color: var(--lime); font-weight: 500; display: block; height: 30px; }
.quote-who { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.quote-who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote-who b { font-weight: 500; display: block; }
.quote-who span { font-size: .84rem; color: var(--muted); }
.testi-slides { position: relative; min-height: 290px; }
.testi-slide { position: absolute; inset: 0; opacity: 0; transform: translateY(20px); transition: opacity .7s, transform .9s var(--ease-out); pointer-events: none; }
.testi-slide.is-active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.testi-nav { display: flex; align-items: center; gap: 16px; margin-top: 34px; }
.testi-dots { display: flex; gap: 6px; }
.testi-dots button { width: 26px; height: 4px; border-radius: 2px; background: var(--line-2); transition: background .3s, width .4s var(--ease); }
.testi-dots button[aria-current="true"] { background: var(--green); width: 44px; }

/* 20. CTA, forms, FAQ ------------------------------------------------------ */
.cta { position: relative; margin: 0 var(--frame); border-radius: var(--radius-xl); overflow: hidden; color: #fff; isolation: isolate; min-height: 560px; display: grid; align-items: end; }
.cta-bg { position: absolute; inset: -12% 0; z-index: -1; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 16, 12, .7), rgba(10, 16, 12, .05) 70%); }
.cta-inner { padding-block: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.cta .h1 { font-size: clamp(2.6rem, 7vw, 6.6rem); }
.cta .obj { position: absolute; right: 8%; top: 10%; width: clamp(120px, 14vw, 200px); filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .4)); animation: float 7s ease-in-out infinite; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink); width: 100%;
  height: 54px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { height: 130px; padding: 14px 18px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(0, 162, 84, .12); }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-row label { position: relative; }
.choice-row input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice-row span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .86rem; color: var(--ink); background: #fff; transition: background .3s, color .3s, border-color .3s; }
.choice-row input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.choice-row input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.form-note { font-size: .82rem; color: var(--green-600); min-height: 1.2em; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 14px; }
.contact-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); }
.contact-side { display: grid; gap: 14px; align-content: start; }
.info-card { border-radius: var(--radius-lg); padding: 24px; background: var(--char); color: #fff; position: relative; overflow: hidden; }
.info-card dl { display: grid; gap: 18px; margin-top: 18px; }
.info-card dt { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.info-card dd { margin: 4px 0 0; font-size: 1.05rem; }
.info-card dd a:hover { color: var(--lime); }
.info-card .obj { position: absolute; right: -24px; bottom: -24px; width: 150px; opacity: .95; animation: float 7s ease-in-out infinite; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: clamp(1.05rem, 1.5vw, 1.3rem); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--mist); position: relative; transition: background .3s, transform .5s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq details[open] summary i { background: var(--lime); transform: rotate(180deg); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq .ans { padding: 0 0 24px; color: var(--muted); max-width: 70ch; font-size: .95rem; }

/* value cards / team */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.value { background: #fff; border-radius: var(--radius-lg); padding: 24px; min-height: 280px; display: flex; flex-direction: column; }
.value img.v-obj { width: 92px; height: 92px; object-fit: contain; filter: drop-shadow(0 14px 12px rgba(0, 0, 0, .18)); margin: -6px 0 0 -6px; transition: transform .8s var(--ease); }
.value:hover img.v-obj { transform: rotate(-12deg) scale(1.08); }
.value h3 { margin-top: auto; font-size: 1.3rem; font-weight: 400; letter-spacing: -.02em; }
.value p { font-size: .88rem; color: var(--muted); margin-top: 8px; }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 210px; gap: 14px; }
.bento > * { border-radius: var(--radius-lg); }
.b-a { grid-column: span 7; grid-row: span 2; }
.b-b { grid-column: span 5; grid-row: span 1; }
.b-c { grid-column: span 5; grid-row: span 1; }
.b-d { grid-column: span 4; grid-row: span 2; }
.b-e { grid-column: span 4; grid-row: span 2; }
.b-f { grid-column: span 4; grid-row: span 2; }
.bento .media { height: 100%; }
.bento .txt { padding: 26px; display: flex; flex-direction: column; justify-content: space-between; }
.bento .txt.dark { background: var(--char); color: #fff; }
.bento .txt.lime { background: var(--tint-lime); }
.bento .txt .big { font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 300; letter-spacing: -.05em; line-height: 1; }
.bento .txt p { font-size: .9rem; color: var(--muted); }
.bento .txt.dark p { color: rgba(255, 255, 255, .7); }
.media .cap-chip { position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 8px 14px; border-radius: 999px; font-size: .8rem; color: #fff; }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: t; }
.tl { border-top: 1px solid var(--line-2); padding-top: 22px; position: relative; }
.tl::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--lime); border-radius: 2px; }
.tl .yr { font-family: var(--font-mono); font-size: .78rem; color: var(--green-600); }
.tl h3 { font-size: 1.2rem; font-weight: 500; margin-top: 10px; letter-spacing: -.01em; }
.tl p { font-size: .88rem; color: var(--muted); margin-top: 8px; }

/* 21. Footer --------------------------------------------------------------- */
.footer { background: var(--ink); color: #fff; margin: var(--frame); border-radius: var(--radius-xl); overflow: hidden; position: relative; isolation: isolate; }
.footer::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -60%; width: 120%; aspect-ratio: 2; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(0, 162, 84, .28), transparent); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: clamp(56px, 7vw, 96px) 0 48px; }
.footer-top .brand img { height: 64px; }
.footer-top p { color: rgba(255, 255, 255, .62); font-size: .92rem; max-width: 34ch; margin-top: 20px; }
.footer h4 { font-family: var(--font-mono); font-weight: 400; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; font-size: .94rem; }
.footer ul a { opacity: .85; transition: opacity .3s, color .3s; }
.footer ul a:hover { opacity: 1; color: var(--lime); }
.news { display: flex; gap: 6px; margin-top: 22px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .08); max-width: 380px; }
.news input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 0 16px; font: inherit; font-size: .9rem; }
.news input::placeholder { color: rgba(255, 255, 255, .45); }
.news input:focus { outline: none; }
.news button { height: 44px; padding: 0 18px; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 500; font-size: .86rem; }
.footer-word { font-size: clamp(5rem, 22vw, 21rem); font-weight: 600; letter-spacing: -.07em; line-height: .78; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .24); user-select: none; margin-bottom: -.06em; white-space: nowrap; }
.footer-word span { display: inline-block; transition: transform 1.2s var(--ease-out), color .6s; }
.js .footer-word span { transform: translateY(40%); }
.js .footer.is-in .footer-word span { transform: none; }
.footer-word span:hover { color: rgba(168, 204, 60, .9); -webkit-text-stroke-color: transparent; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px var(--gutter); border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: rgba(255, 255, 255, .5); }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .3s, color .3s; }
.socials a:hover { background: var(--lime); color: var(--ink); }
.socials svg { width: 18px; height: 18px; }

/* cursor follower (desktop) */
.cursor { position: fixed; z-index: 300; left: 0; top: 0; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; pointer-events: none; display: grid; place-items: center; font-size: .76rem; font-weight: 500; color: var(--ink); background: var(--lime); transform: scale(0); transition: transform .4s var(--ease); }
.cursor.on { transform: scale(1); }

/* 22. Motion --------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.94); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
}

/* 23. Responsive ----------------------------------------------------------- */
@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .calc, .calc--media, .calc--rev { grid-template-columns: 1fr; }
  .map-wrap { grid-template-columns: 1fr; }
  .map-list { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 20px; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 32px 14px; }
}
@media (max-width: 900px) {
  .hero { --hero-cta-w: 0px; }
  .site-nav { margin: 0; border-bottom: 0; padding: 18px 18px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .notch--tr { display: none; }
  .brand img { height: 52px; }
  .hero-title { left: 22px; right: 22px; text-align: left; top: 120px; }
  .hero-title .l2 { margin-right: 0; }
  .bubble { display: none; }
  .hero-card--media { display: none; }
  .notch--left { width: 60px; top: 52%; }
  .clock-time { font-size: 1.15rem; }
  .hero-card--people { left: 74px; }
  .section-head { grid-template-columns: 1fr; }
  .intro-grid, .process, .testi, .contact-grid, .feature { grid-template-columns: 1fr; }
  .feature:nth-of-type(even) .feature-media { order: 0; }
  .process-aside { position: static; }
  .step { grid-template-columns: 1fr; position: relative; top: auto; }
  .step-media { min-height: 220px; order: -1; }
  .aud-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr 1fr; }
  .pg, .pg.wide { grid-column: span 1; }
  .pg.wide .media { aspect-ratio: 4 / 3.3; height: auto; min-height: 0; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .bento > * { grid-column: span 1 !important; grid-row: span 1 !important; }
  .bento .b-a { grid-column: 1 / -1 !important; grid-row: span 2 !important; }
  .hero-inner-copy { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .testi-stage { min-height: 340px; }
  .float-nav a.fn-link { display: none; }
}
@media (max-width: 600px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-item { min-height: 0; }
  .service-item .icon { width: 104px; height: 104px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { min-height: 170px; padding: 18px; }
  .values { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .map-list { grid-template-columns: 1fr; }
  .map-svg .pin text { font-size: 24px; }
  .map-svg .pin .core { r: 9px; }
  .map-detail { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 14px; }
  .proj-grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  /* phones: the art becomes a header band above the copy, so text never sits on it */
  .aud { min-height: 0; padding-top: 22px; }
  .aud-art { top: 0; bottom: auto; left: 0; width: 100%; height: 210px; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .aud-art svg { width: 100%; height: 100%; }
  .aud h3 { margin-top: 170px; }
  .collage { height: 420px; }
  .hero-card--people { padding: 14px 16px 12px; left: 66px; }
  .avatars img { width: 34px; height: 34px; }
  .timeline { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento .b-a { grid-row: span 2 !important; }
  .orb { width: min(260px, 70%); }
  .testi-stage .orb { width: 180px; }
}

/* inner heroes: deeper bottom for the anchored copy */
.hero--inner .hero-media::after {
  background:
    radial-gradient(130% 95% at 50% 40%, transparent 45%, rgba(9, 12, 10, .5) 100%),
    linear-gradient(180deg, rgba(9, 12, 10, .55) 0%, rgba(9, 12, 10, .1) 24%, rgba(9, 12, 10, .2) 50%, rgba(9, 12, 10, .78) 100%);
}

/* 24. Texture system ------------------------------------------------------
   One pattern per surface type, at the threshold of visibility (4–9%):
     dark grounds  → drafting grid (reads as PV cells: the brand's own unit)
     light grounds → dots
     accent tiles  → diagonal hatch
   Patterns are background layers only. Where they meet photography they are
   masked so there is no hard seam. */
:root {
  --pat-grid: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
              linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  --pat-grid-size: 34px 34px;
  --pat-dots: radial-gradient(circle, rgba(27, 29, 28, .1) 1px, transparent 1.5px);
  --pat-dots-size: 16px 16px;
  --pat-hatch: repeating-linear-gradient(-45deg, rgba(27, 29, 28, .055) 0 1px, transparent 1px 10px);
  --fade-tr: radial-gradient(120% 100% at 100% 0, #000 0%, rgba(0, 0, 0, .5) 40%, transparent 75%);
}

/* column rules: the page is set on a drawing sheet */
body::before {
  content: ""; position: fixed; z-index: -1; top: 0; bottom: 0; pointer-events: none;
  left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  right: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  background:
    linear-gradient(90deg, rgba(27, 29, 28, .06) 1px, transparent 1px) 0 0 / 25% 100%,
    linear-gradient(270deg, rgba(27, 29, 28, .06) 1px, transparent 1px) 100% 0 / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 82%, transparent 100%);
}

/* dark grounds: grid */
.section--dark, .bento .txt.dark, .aud--dark, .menu, .loader {
  background-image: var(--pat-grid); background-size: var(--pat-grid-size);
}
.step:nth-child(4), .info-card { background-image: var(--pat-grid); background-size: var(--pat-grid-size); }
.calc-panel::before, .footer::after {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background-image: var(--pat-grid); background-size: var(--pat-grid-size);
}
.calc-panel::before { -webkit-mask-image: radial-gradient(110% 90% at 0 0, #000, transparent 80%); mask-image: radial-gradient(110% 90% at 0 0, #000, transparent 80%); }
.footer::after { -webkit-mask-image: linear-gradient(180deg, #000 40%, rgba(0, 0, 0, .35) 100%); mask-image: linear-gradient(180deg, #000 40%, rgba(0, 0, 0, .35) 100%); }

/* light grounds: dots */
.section--mist { background-image: var(--pat-dots); background-size: var(--pat-dots-size); }
.value, .contact-card { position: relative; isolation: isolate; }
.value::after, .contact-card::after {
  content: ""; position: absolute; z-index: -1; top: 0; right: 0; width: 65%; height: 55%; pointer-events: none; border-top-right-radius: inherit;
  background-image: var(--pat-dots); background-size: var(--pat-dots-size); background-position: 100% 0;
  -webkit-mask-image: var(--fade-tr); mask-image: var(--fade-tr);
}

/* accent tiles: hatch */
.aud--lime, .aud--green, .aud--stone, .bento .txt.lime, .step:nth-child(2), .step:nth-child(3) { background-image: var(--pat-hatch); }

/* photography: grid only where it fades away from the image's subject */
.stats::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--pat-grid); background-size: var(--pat-grid-size);
  -webkit-mask-image: radial-gradient(70% 80% at 50% 0, #000, transparent 80%); mask-image: radial-gradient(70% 80% at 50% 0, #000, transparent 80%);
}
.stats-inner { position: relative; z-index: 1; }

/* solution cards: the top-right corner carries the surface pattern —
   dots while the card is light, the cell grid once it turns dark */
.service-item::after {
  content: ""; position: absolute; z-index: -1; top: 0; right: 0; width: 70%; height: 62%; pointer-events: none;
  background-image: var(--pat-dots); background-size: var(--pat-dots-size); background-position: 100% 0;
  -webkit-mask-image: var(--fade-tr); mask-image: var(--fade-tr);
  transition: opacity .6s;
}
.service-item:hover::after, .service-item.is-inview::after { background-image: var(--pat-grid); background-size: var(--pat-grid-size); }
.service-item .num span:last-child { display: inline-flex; align-items: center; gap: 8px; }
.service-item .num span:last-child::before { content: ""; width: 6px; height: 6px; border-radius: 1.5px; background: var(--lime); transition: transform .6s var(--ease); }
.service-item:hover .num span:last-child::before, .service-item.is-inview .num span:last-child::before { transform: rotate(45deg) scale(1.2); }

/* footer: grid ground + sunrise rays behind the wordmark + an energy wave */
.footer-sun {
  position: absolute; z-index: -1; left: 50%; bottom: 0; width: min(1500px, 140vw); aspect-ratio: 2 / 1; pointer-events: none;
  transform: translateX(-50%); transform-origin: 50% 100%;
  background: repeating-conic-gradient(from -90deg at 50% 100%, rgba(168, 204, 60, .09) 0deg 1deg, transparent 1deg 6deg);
  -webkit-mask-image: radial-gradient(closest-side at 50% 100%, #000 20%, transparent 100%); mask-image: radial-gradient(closest-side at 50% 100%, #000 20%, transparent 100%);
  animation: sway 26s ease-in-out infinite alternate;
}
@keyframes sway { from { transform: translateX(-50%) rotate(-4deg); } to { transform: translateX(-50%) rotate(4deg); } }
.footer-wave { position: relative; height: 56px; }
.footer-wave svg { width: 100%; height: 100%; display: block; overflow: visible; }
.footer-wave .base { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 1; vector-effect: non-scaling-stroke; }
.footer-wave .flow { fill: none; stroke: var(--lime); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 70 930; animation: flow 6s linear infinite; vector-effect: non-scaling-stroke; }
@keyframes flow { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
.footer-wave .tag { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); background: var(--ink); padding-right: 14px; display: inline-flex; align-items: center; gap: 8px; }
.footer-wave .tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: ping 2s infinite; }

/* 25. Details -------------------------------------------------------------- */
html { scrollbar-color: rgba(27, 29, 28, .35) transparent; scrollbar-width: thin; }

/* buttons: press feedback, arrow exits and re-enters */
.btn:active, .h-ctrl button:active, .scroll-btn:active { transform: scale(.96); }
.btn .btn-ico, .hero-cta .circ { overflow: hidden; }
.btn:hover .btn-ico, .hero-cta:hover .circ { transform: none; }
.btn:hover .btn-ico svg, .hero-cta:hover .circ svg { animation: arrowLoop .65s var(--ease); }
@keyframes arrowLoop { 0% { transform: none; } 45% { transform: translate(140%, -140%); } 46% { transform: translate(-140%, 140%); } 100% { transform: none; } }
.h-ctrl button[disabled] { opacity: .3; pointer-events: none; }

/* text links: underline wipes out to the right, redraws from the left */
.link-arrow svg { transition: transform .5s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow:hover { animation: wipe .8s var(--ease); }
@keyframes wipe {
  0% { background-size: 100% 1px; background-position: 100% 100%; }
  45% { background-size: 0% 1px; background-position: 100% 100%; }
  46% { background-size: 0% 1px; background-position: 0 100%; }
  100% { background-size: 100% 1px; background-position: 0 100%; }
}

/* marquee: feathered edges */
.marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }

/* floating nav: reading progress hairline */
.float-nav::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 1px; height: 2px; border-radius: 2px; background: var(--lime); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* chart tooltip nub */
.tip::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: var(--ink); transform: translateX(-50%) rotate(45deg); border-radius: 0 0 2px 0; }

/* stat cards: light sheen on hover */
.stat { position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%); transform: translateX(-120%); transition: transform 1.1s var(--ease); }
.stat:hover::after { transform: translateX(120%); }

/* images: shimmer while loading, then fade in */
.js .media:not(.is-loaded) { background: linear-gradient(100deg, var(--mist) 30%, #f7f8f3 50%, var(--mist) 70%) 0 0 / 220% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }
.js .media > img { opacity: 0; transition: opacity .9s var(--ease), transform 1.8s var(--ease-out); }
.js .media.is-loaded > img { opacity: 1; }

/* gallery: scroll progress rail */
.h-progress { position: relative; height: 2px; margin-top: 26px; background: var(--line); border-radius: 2px; overflow: hidden; }
.h-progress span { position: absolute; top: 0; bottom: 0; left: 0; width: var(--w, 30%); background: var(--ink); border-radius: 2px; transform: translateX(var(--x, 0)); }

/* range: end labels + grab feedback */
.range-ticks { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--font-mono); font-size: .66rem; color: rgba(255, 255, 255, .4); }
.range::-webkit-slider-thumb { transition: transform .2s var(--ease); }
.range:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.15); }

/* forms */
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(27, 29, 28, .3); }
.field select {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231b1d1c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center;
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #c4532a; box-shadow: 0 0 0 4px rgba(196, 83, 42, .1); }
.field input:user-valid:not(:placeholder-shown) { border-color: rgba(0, 162, 84, .45); }
.choice-row span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--muted-2); margin-right: 9px; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.choice-row input:checked + span::before { background: var(--lime); border-color: var(--lime); transform: scale(1.15); }
.choice-row span:hover { border-color: rgba(27, 29, 28, .35); }
.news:focus-within { box-shadow: inset 0 0 0 1px rgba(168, 204, 60, .6); }

/* FAQ */
.faq details[open] .ans { animation: ansIn .6s var(--ease-out); }
@keyframes ansIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq summary { transition: color .3s; }
.faq summary:hover { color: var(--green-600); }

/* testimonial dots: autoplay progress */
.testi-dots button { position: relative; overflow: hidden; }
.testi-dots button[aria-current="true"] { background: var(--line-2); }
.testi-dots button[aria-current="true"]::after { content: ""; position: absolute; inset: 0; background: var(--green); transform-origin: left; animation: fillBar 7s linear forwards; }
@keyframes fillBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* filters & map list */
.filters button:hover:not([aria-pressed="true"]) { border-color: rgba(27, 29, 28, .35); background: #fff; }

/* audience pills: live dot on hover */
.aud .pill .dot { position: relative; }
.aud .pill .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--green); opacity: 0; }
.aud:hover .pill .dot::after { animation: ringOut 1.4s var(--ease) infinite; }
@keyframes ringOut { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }

/* footer: back to top with page-progress ring */
.to-top { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .7); transition: color .3s; }
.to-top:hover { color: #fff; }
.to-top .ring { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; overflow: hidden; }
.to-top .ring svg.r { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke-width: 1.5; }
.to-top .ring .bg { stroke: rgba(255, 255, 255, .15); }
.to-top .ring .fg { stroke: var(--lime); stroke-dasharray: 113.1; stroke-dashoffset: calc(113.1 * (1 - var(--p, 0))); }
.to-top:hover .ring > svg:not(.r) { animation: nudgeUp .6s var(--ease); }
@keyframes nudgeUp { 45% { transform: translateY(-140%); } 46% { transform: translateY(140%); } 100% { transform: none; } }
.footer-bottom { align-items: center; }

@media (max-width: 900px) {
  body::before { display: none; }  /* no columns to rule on mobile */
}
@media (max-width: 600px) {
  .service-item::after { width: 80%; height: 50%; }
}

/* floating nav — one height, one rhythm, nothing wraps */
.btn { white-space: nowrap; }
.float-nav > * { flex: none; }
.float-nav .fn-toggle { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .1); backdrop-filter: none; -webkit-backdrop-filter: none; place-content: center; transition: background .3s; }
.float-nav .fn-toggle:hover { background: rgba(255, 255, 255, .18); }
.float-nav .fn-toggle span { width: 16px; margin: 2px auto; }
@media (max-width: 900px) {
  .float-nav { gap: 6px; padding: 5px; }
  .float-nav .fn-toggle { display: grid; }
  .float-nav .btn { height: 40px; padding: 0 5px 0 16px; gap: 12px; }
  .float-nav .btn .btn-ico { width: 30px; height: 30px; }
  .float-nav::after { left: 50px; right: 50px; }
}

/* mobile nav: bare menu lines + a projects pill */
.nav-mobile { display: none; align-items: center; gap: 6px; }
.nav-toggle, .float-nav .fn-toggle {
  width: 44px; height: 44px; border-radius: 0; background: none !important;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  place-content: center; justify-items: end; gap: 6px; padding: 0 6px;
}
.nav-toggle span, .float-nav .fn-toggle span { display: block; width: 26px; height: 2px; margin: 0; border-radius: 2px; background: currentColor; transition: width .4s var(--ease), transform .4s var(--ease); }
.nav-toggle span:nth-child(2), .float-nav .fn-toggle span:nth-child(2) { width: 17px; }
.nav-toggle:hover span:nth-child(2), .nav-toggle:focus-visible span:nth-child(2) { width: 26px; }
.site-nav .nav-toggle { color: #fff; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .45)); }
.float-nav .fn-toggle { width: 40px; height: 40px; padding: 0 4px; color: #fff; }

.nav-pill {
  display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 4px 16px 4px 4px;
  border-radius: 999px; background: #fff; color: var(--ink); font-size: .86rem; font-weight: 500;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5); transition: transform .4s var(--ease);
}
.nav-pill:active { transform: scale(.96); }
.nav-pill .thumbs { display: flex; }
.nav-pill .thumbs img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.nav-pill .thumbs img + img { margin-left: -12px; }
.nav-pill[aria-current="page"] { background: var(--lime); }
.nav-pill[aria-current="page"] .thumbs img { border-color: var(--lime); }

@media (max-width: 900px) {
  .nav-mobile { display: flex; }
  .site-nav .nav-toggle { display: grid; }
  .float-nav .fn-toggle { display: grid; }
}

/* stats on phones: keep the gutter, size numbers to the half-width cards */
@media (max-width: 600px) {
  .stats-grid { margin-top: 36px; gap: 10px; }
  .stat { min-height: 156px; padding: 16px 14px 16px; border-radius: 18px; }
  .stat .val { font-size: clamp(1.9rem, 9.5vw, 2.4rem); }
  .stat .val small { font-size: .5em; margin-left: 2px; }
  .stat .lbl { font-size: .8rem; line-height: 1.4; }
  .stat .k { font-size: .62rem; }
}
@media (max-width: 340px) { .stats-grid { grid-template-columns: 1fr; } }
