/* self-hosted fonts (were Google Fonts: two extra origins on the critical path). Fraunces = Latin headings; Playfair Display = Cyrillic letters on /ru/ */
@font-face {font-family: 'Fraunces'; font-style: normal; font-weight: 300 600; font-display: swap; src: url(assets/fonts/fraunces-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face {font-family: 'Fraunces'; font-style: normal; font-weight: 300 600; font-display: swap; src: url(assets/fonts/fraunces-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face {font-family: 'Playfair Display'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(assets/fonts/playfair-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* Model 42 landing v2 — new presentation brand (deep emerald + mint, MODEL42 gradient logo, glass 3D art)
   on the site's own type: Fraunces headings + system sans text (client: fonts stay unchanged). */
:root {
  --ink-950: #021714;      /* page base: the darkest tone of the deck's key slides */
  --ink-900: #03211d;
  --ink-800: #072d28;
  --teal-700: #0f5c55;     /* deck primary */
  --teal-600: #16695f;
  --teal-500: #2e8b7a;
  --mint-400: #7cc3ad;
  --mint-300: #a8d0c0;     /* logo gradient light end */
  --mint-100: #e3f1eb;
  --mint-50: #f2f8f5;      /* deck light slide background */
  --paper: #fbfdfc;
  --text-on-dark: #e9f4ef;
  --muted-on-dark: rgba(214, 236, 227, .72);   /* 4.9:1 on --ink-900, measured */
  --text-on-light: #0b2f2a;
  --muted-on-light: #48655f;                     /* 6.1:1 on --mint-50 */
  --line-dark: rgba(168, 208, 192, .18);
  --line-light: rgba(15, 92, 85, .14);
  --r-xl: 40px;            /* section sheets */
  --r-lg: 28px;            /* cards — client: "rounder corners" (original site: 2px) */
  --r-md: 20px;
  --serif: Fraunces, "Fraunces Fallback", Georgia, serif;
  --sans: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.review { scroll-behavior: auto; }   /* in Deckroom the viewer drives the scroll: no smoothing fighting it */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ink-950); color: var(--text-on-dark);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--mint-300); color: var(--ink-900); padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--mint-300); outline-offset: 3px; border-radius: 8px; }
.panel:not(.panel-dark) :focus-visible { outline-color: var(--teal-700); }   /* #0f5c55 on mint = 7.4:1; mint ring there was 1.6:1 */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------- the shared 3D world behind everything ---------- */
.world { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.world canvas { width: 100%; height: 100%; display: block; }
.world-fallback { position: absolute; inset: 0; background: url(assets/img/dna-static.webp) 70% 50% / cover no-repeat; opacity: 0; transition: opacity .6s; }
.no-webgl .world-fallback { opacity: .55; }   /* the still helix only where WebGL fails; user: no see-through stand-in before the live one */
.world canvas { opacity: 0; transition: opacity 1.4s var(--ease); }
.world-live .world canvas { opacity: 1; }
.world-veil { /* keeps text contrast: darkens the left half where copy sits */
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 85% 40%, transparent 0 35%, rgba(2, 23, 20, .55) 75%),
              linear-gradient(90deg, rgba(2, 23, 20, .7), rgba(2, 23, 20, .15) 55%, transparent);
}
main, .foot { position: relative; z-index: 1; }
@media (max-width: 700px) { .world-veil { background: linear-gradient(90deg, rgba(2, 23, 20, .82), rgba(2, 23, 20, .55) 70%, rgba(2, 23, 20, .25)); } }

/* ---------- header: logo now ~3x larger than the old text mark ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter); transition: background .4s, padding .4s, box-shadow .4s;
}
.top.scrolled { background: rgba(3, 33, 29, .62); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); padding-block: 12px; box-shadow: 0 1px 0 var(--line-dark); }
.brand img { height: clamp(30px, 3.4vw, 44px); width: auto; transition: height .4s var(--ease); }
.top.scrolled .brand img { height: clamp(26px, 2.6vw, 34px); }

/* ---------- buttons ---------- */
.btn {
  --bg: linear-gradient(135deg, #c9e8dc, var(--mint-300) 45%, #6fb7a2);
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px;
  background: var(--bg); color: var(--ink-900); font: 600 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 -2px 0 rgba(11, 74, 67, .25) inset, 0 10px 30px -8px rgba(124, 195, 173, .55);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 -2px 0 rgba(11,74,67,.25) inset, 0 16px 36px -8px rgba(124, 195, 173, .7); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.ico-inline { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
.btn .ico-inline { transition: transform .35s var(--ease); }
.btn:hover .ico-inline { transform: translateX(3px); }

/* ---------- type ---------- */
.eyebrow { font: 600 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--mint-300); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow:has(.eb-ico)::before { display: none; }
.eb-ico { width: 30px; height: 30px; padding: 6px; border-radius: 10px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  background: linear-gradient(150deg, rgba(214,239,230,.22), rgba(124,195,173,.06)); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 0 0 1px rgba(168,208,192,.25), 0 6px 14px -6px rgba(0,0,0,.5); }
.eb-ico .f { fill: currentColor; fill-opacity: .16; stroke: none; }
.panel:not(.panel-dark) .eb-ico { background: linear-gradient(150deg, #fff, #e3f1eb); box-shadow: 0 1px 0 #fff inset, 0 0 0 1px rgba(15,92,85,.14), 0 6px 14px -6px rgba(15,92,85,.4); }
h1 { font-size: clamp(44px, 7.4vw, 104px); line-height: .98; font-weight: 350; }
h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.05; font-weight: 350; max-width: 18ch; }
h2.display { font-size: clamp(38px, 5.6vw, 80px); max-width: 20ch; }
h3 { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.2; }
.soft { color: var(--mint-300); }
.lede { font-size: clamp(17px, 1.35vw, 20px); color: var(--muted-on-dark); max-width: 52ch; margin: 28px 0 36px; }
.body { font-size: clamp(16px, 1.15vw, 18px); color: var(--muted-on-dark); max-width: 62ch; margin-top: 22px; }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(96px, 13vw, 168px) 0; }
.sec-open { /* transparent: the 3D world shows through */ }
.panel { /* light "slide" sheets — the deck's mint content slides, floating over the 3D world */
  background: linear-gradient(180deg, var(--mint-50), var(--paper));
  color: var(--text-on-light); margin-inline: clamp(8px, 1.6vw, 24px); border-radius: var(--r-xl);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255,255,255,.5) inset;
}
.panel .eyebrow, .panel .soft { color: var(--teal-600); }
.panel .body { color: var(--muted-on-light); }
.panel-dark { background: radial-gradient(120% 120% at 80% 0%, #0d4c45, var(--ink-900) 60%); color: var(--text-on-dark); box-shadow: 0 40px 120px -40px rgba(0,0,0,.8), 0 0 0 1px var(--line-dark) inset; overflow: hidden; }
.panel-dark .eyebrow, .panel-dark .soft { color: var(--mint-300); }
.panel-dark .body { color: var(--muted-on-dark); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(var(--vh, 1svh) * 100); display: flex; flex-direction: column; justify-content: center; padding: 140px 0 120px; }
.hero h1 { max-width: 11ch; }
.scroll-cue { position: absolute; left: var(--gutter); bottom: 92px; display: flex; align-items: center; gap: 12px; font: 600 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted-on-dark); text-decoration: none; }
.scroll-cue i { width: 1px; height: 40px; background: linear-gradient(var(--mint-300), transparent); transform-origin: top; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.marquee { position: absolute; inset: auto 0 0; overflow: hidden; border-top: 1px solid var(--line-dark); padding: 18px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 48s linear infinite; font: 600 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted-on-dark); }
.marquee-track b { color: var(--mint-400); font-weight: 400; }
.marquee:hover .marquee-track, .marquee.paused .marquee-track { animation-play-state: paused; }
.marquee-toggle { position: absolute; right: var(--gutter); bottom: 12px; z-index: 2; width: 32px; height: 32px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  color: var(--mint-300); background: rgba(3, 33, 29, .85); box-shadow: 0 0 0 1px var(--line-dark); }
.marquee-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.marquee-toggle .play, .marquee-toggle[aria-pressed="true"] .pause { display: none; }
.marquee-toggle[aria-pressed="true"] .play { display: block; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- who we are ---------- */
.who { max-width: var(--wrap); }
.nots { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.pill { /* client: flat chips -> volumetric with rounded corners */
  display: flex; flex-direction: column; gap: 4px; padding: 16px 24px 18px; border-radius: 22px;
  font: 400 clamp(18px, 1.5vw, 22px)/1.2 var(--serif); color: var(--text-on-dark);
  background: linear-gradient(160deg, rgba(168, 208, 192, .2), rgba(168, 208, 192, .04) 60%), rgba(7, 45, 40, .55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 -1px 0 rgba(0,0,0,.3) inset, 0 0 0 1px var(--line-dark), 0 18px 40px -16px rgba(0,0,0,.6);
}
.pill small { font: 600 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--mint-400); text-decoration: line-through; text-decoration-color: rgba(168,208,192,.6); }
.who h2 { max-width: 16ch; }
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 48px; font: 600 13px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--mint-300); }
.chain i { width: 34px; height: 1px; background: linear-gradient(90deg, var(--mint-300), transparent); }

/* ---------- media ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1.05fr .95fr; gap: 72px; } }
.media { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 70px -30px rgba(11, 47, 42, .55), 0 0 0 1px var(--line-light); transform: perspective(1200px) rotateY(-6deg) rotateX(2deg); transition: transform .8s var(--ease); }
.media:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* ---------- icons: each sits in a glass tile with depth (client: illustrated icons instead of numbers) ---------- */
.ico {
  --tile: linear-gradient(150deg, rgba(214, 239, 230, .26), rgba(124, 195, 173, .08) 55%, rgba(4, 30, 26, .2));
  position: relative; display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; flex: none;
  background: var(--tile);
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 -2px 6px rgba(0,0,0,.25) inset, 0 0 0 1px rgba(168,208,192,.22), 0 14px 28px -12px rgba(0,0,0,.6);
}
.ico::after { /* soft specular highlight */ content: ""; position: absolute; inset: 1px 1px 50%; border-radius: 19px 19px 40% 40%; background: linear-gradient(rgba(255,255,255,.18), transparent); pointer-events: none; }
.ico svg { width: 34px; height: 34px; fill: none; stroke: url(#g-ico); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 6px rgba(124, 195, 173, .35)); }
.ico svg .f { fill: url(#g-ico); fill-opacity: .16; stroke: none; }
.panel:not(.panel-dark) .ico {
  --tile: linear-gradient(150deg, #ffffff, #e6f3ee 60%, #d3e9e0);
  box-shadow: 0 1px 0 #fff inset, 0 -3px 6px rgba(15,92,85,.1) inset, 0 0 0 1px rgba(15,92,85,.1), 0 14px 24px -12px rgba(15,92,85,.45);
}
.panel:not(.panel-dark) .ico svg { stroke: url(#g-ico-dark); filter: drop-shadow(0 2px 4px rgba(15, 92, 85, .2)); }
.panel:not(.panel-dark) .ico svg .f { fill: url(#g-ico-dark); fill-opacity: .14; }
.ico-sm { width: 40px; height: 40px; border-radius: 13px; }
.ico-sm::after { border-radius: 12px 12px 40% 40%; }
.ico-sm svg { width: 22px; height: 22px; stroke-width: 1.8; }
.ico-xl { width: clamp(150px, 16vw, 220px); height: clamp(150px, 16vw, 220px); border-radius: 48px; }
.ico-xl::after { border-radius: 47px 47px 40% 40%; }
.ico-xl svg { width: 52%; height: 52%; stroke-width: 1.25; }

/* ---------- cards: separated, volumetric, rounded (client: p.3, p.11, p.12) ---------- */
.cards { display: grid; gap: 18px; margin-top: 56px; }
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  --mx: 50%; --my: 0%;
  position: relative; border-radius: var(--r-lg); padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 18px;
  background: radial-gradient(160% 100% at var(--mx) var(--my), rgba(168,208,192,.16), transparent 55%), linear-gradient(165deg, rgba(14, 72, 64, .75), rgba(4, 34, 30, .82));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,.16) inset, 0 -1px 0 rgba(0,0,0,.35) inset, 0 0 0 1px var(--line-dark), 0 30px 60px -28px rgba(0,0,0,.75);
}
.card p { color: var(--muted-on-dark); }
.card h3 + p { margin-top: -8px; }
.panel:not(.panel-dark) .card {
  background: radial-gradient(160% 100% at var(--mx) var(--my), rgba(255,255,255,1), transparent 60%), linear-gradient(165deg, #ffffff, #eef7f3);
  box-shadow: 0 1px 0 #fff inset, 0 0 0 1px var(--line-light), 0 2px 4px rgba(15,92,85,.06), 0 24px 50px -24px rgba(15, 92, 85, .4);
}
.panel:not(.panel-dark) .card p { color: var(--muted-on-light); }
.panel:not(.panel-dark) .card h3 { color: var(--text-on-light); }
#why-now .card p { color: var(--text-on-light); font: 400 19px/1.3 var(--serif); }

/* 3D tilt toward the mouse (JS sets --rx/--ry) */
.tilt { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); transition: transform .5s var(--ease), box-shadow .5s var(--ease); will-change: transform; }
.tilt.hovering { --lift: -6px; transition: transform .12s linear, box-shadow .5s var(--ease); }

/* ---------- pillars ---------- */
.pillars { display: grid; gap: 20px; margin-top: 56px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pillar { border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(170deg, rgba(14,72,64,.78), rgba(4,34,30,.9)); box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 0 0 1px var(--line-dark), 0 40px 70px -30px rgba(0,0,0,.8); display: flex; flex-direction: column; }
.pillar-img { overflow: hidden; aspect-ratio: 4 / 3; }
.pillar-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.pillar:hover .pillar-img img { transform: scale(1.1); }
.pillar-body { position: relative; padding: 0 24px 28px; display: flex; flex-direction: column; gap: 12px; }
.pillar-body .ico { margin-top: -32px; margin-bottom: 6px; background: linear-gradient(150deg, #1b6e63, #0a3c36); }
.pillar-body p { color: var(--muted-on-dark); font-size: 15px; }

/* ---------- how it works (sticky) ---------- */
.steps-sec { padding: 0; height: calc(var(--vh, 1vh) * 520); /* 6 stages x ~85vh of scroll each */ }
.steps-pin { position: sticky; top: 0; min-height: calc(var(--vh, 1vh) * 100); display: flex; align-items: center; padding: clamp(84px, calc(var(--vh, 1vh) * 10), 120px) 0 clamp(40px, calc(var(--vh, 1vh) * 6), 72px); }
.steps { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: clamp(28px, calc(var(--vh, 1vh) * 5), 56px); }
@media (min-width: 900px) { .steps { grid-template-columns: minmax(260px, .8fr) 1.2fr; gap: 64px; align-items: center; } }
.steps-nav { position: relative; display: grid; gap: 6px; padding-left: 22px; }
.steps-nav button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 8px 12px 8px 0; border: 0; background: none; font: 400 clamp(17px, 1.4vw, 20px)/1.2 var(--serif); color: var(--muted-on-light); cursor: pointer; text-align: left; transition: color .4s; }  /* #48655f on mint = 6.1:1 (AA) — no opacity dimming */
.steps-nav li.on button { color: var(--text-on-light); font-weight: 500; }
.steps-nav .ico-sm { transition: transform .5s var(--ease); }
.steps-nav li.on .ico-sm { transform: scale(1.12); }
.steps-rail { position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--line-light); }
.steps-rail i { position: absolute; inset: 0 0 auto; height: 100%; border-radius: 2px; background: linear-gradient(var(--teal-500), var(--mint-400)); transform-origin: top; transform: scaleY(var(--p, 0)); }
.steps-stage { position: relative; min-height: clamp(300px, calc(var(--vh, 1vh) * 44), 420px); }
.step { position: absolute; inset: 0; display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; opacity: 0; pointer-events: none; transform: translateY(24px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.step.on { opacity: 1; transform: none; pointer-events: auto; }
.step .ico-xl { grid-row: span 2; transform: perspective(900px) rotateY(-18deg) rotateX(8deg) scale(.86); transition: transform 1.1s var(--ease); }
.step.on .ico-xl { transform: perspective(900px) rotateY(-8deg) rotateX(4deg) scale(1); animation: float 6s ease-in-out infinite 1.1s; }
@keyframes float { 50% { translate: 0 -10px; } }
.step h3 { font-size: clamp(30px, 3.2vw, 48px); align-self: end; color: var(--text-on-light); }
.step p { align-self: start; color: var(--muted-on-light); font-size: clamp(16px, 1.2vw, 19px); max-width: 34ch; }
@media (max-width: 640px) { .step { grid-template-columns: 1fr; text-align: left; } .step .ico-xl { grid-row: auto; width: 120px; height: 120px; border-radius: 34px; } }

/* ---------- who we are for: input -> platform -> output ---------- */
.flow { display: grid; gap: 14px; margin-top: 56px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 900px) { .flow { grid-template-columns: 1fr 56px 1.15fr 56px 1fr; } }
.flow small { font: 600 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--mint-300); }
.flow .card p { font: 400 clamp(18px, 1.4vw, 21px)/1.35 var(--serif); color: var(--text-on-dark); }
.card-hero { background: radial-gradient(160% 100% at var(--mx) var(--my), rgba(168,208,192,.24), transparent 55%), linear-gradient(165deg, #12645a, #073a34); }
.flow-arrow { display: grid; place-items: center; color: var(--mint-300); }
.flow-arrow svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 899px) { .flow-arrow svg { transform: rotate(90deg); } }
.audience { margin-top: 48px; font: 600 12px/1.8 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--mint-300); }
.panel .audience { color: var(--teal-600); }
.audience .ico-inline { width: 18px; height: 18px; margin-right: 8px; }

/* ---------- client journey ---------- */
.journey .card { padding-top: 30px; }
.journey .card h3 { font-size: 22px; }

/* ---------- portfolio ---------- */
.folio { display: grid; gap: 22px; margin-top: 56px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.work { border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(170deg, rgba(14,72,64,.8), rgba(4,34,30,.92)); box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 0 0 1px var(--line-dark), 0 40px 70px -30px rgba(0,0,0,.8); }
.work-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.work-img > img:first-child { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work:hover .work-img > img:first-child { transform: scale(1.05); }
.work-badge { position: absolute; right: 18px; bottom: 18px; width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,.92); padding: 4px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.work-logo { position: absolute; left: 18px; top: 18px; padding: 10px 14px; border-radius: 16px; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.work-logo img { height: 34px; width: auto; }
.work-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; }
.work-body p { color: var(--muted-on-dark); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tags li { padding: 8px 14px; border-radius: 999px; font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--mint-300); background: rgba(168,208,192,.08); box-shadow: 0 0 0 1px var(--line-dark), 0 1px 0 rgba(255,255,255,.1) inset; }
.eco { line-height: 2; }

/* ---------- founders ---------- */
.people { display: grid; gap: 22px; margin-top: 56px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); max-width: 920px; }
.person { border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line-light), 0 30px 60px -28px rgba(15,92,85,.45); padding-bottom: 26px; }
.person-img { aspect-ratio: 1 / 1; overflow: hidden; background: linear-gradient(#dfeee8, #f4faf7); }
.person-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.person h3 { color: var(--text-on-light); padding: 22px 26px 6px; }
.person p { padding: 0 26px; font: 600 12px/1.5 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--teal-600); }
.quote { margin-top: 56px; font: 300 italic clamp(24px, 2.6vw, 36px)/1.3 var(--serif); color: var(--text-on-light); max-width: 30ch; }

/* ---------- ESG ---------- */
.advisor { margin-top: 56px; display: grid; grid-template-columns: 1fr; gap: 28px; max-width: 980px; padding: 22px; }
@media (min-width: 760px) { .advisor { grid-template-columns: 220px 1fr; gap: 40px; padding: 26px 40px 26px 26px; } }
.advisor-img { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 222 / 335; max-width: 220px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); }
.advisor-img img { width: 100%; height: 100%; object-fit: cover; }
.advisor-body { align-self: center; }
.advisor .role { margin-top: 6px; font: 600 12px/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--mint-300); }
.creds { margin-top: 20px; display: grid; gap: 12px; }
.creds li { position: relative; padding-left: 22px; color: var(--muted-on-dark); }
.creds li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 3px; background: linear-gradient(135deg, var(--mint-300), var(--teal-500)); }

/* ---------- advantage ---------- */
.adv-bg { position: absolute; inset: 0; opacity: .35; }
.adv-bg img { width: 100%; height: 100%; object-fit: cover; }
.panel-dark .wrap { position: relative; }
.adv .card { flex-direction: row; align-items: center; gap: 18px; padding: 20px 22px; }
.adv .card p { font: 400 20px/1.25 var(--serif); color: var(--text-on-dark); }

/* ---------- connect ---------- */
.connect { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) { .connect { grid-template-columns: 1fr 1fr; gap: 80px; } }
.form { gap: 6px; padding: 32px; }
.hp { position: absolute; left: -9999px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 26px 18px 10px; border: 0; border-radius: 16px; resize: vertical;
  background: rgba(2, 23, 20, .45); color: var(--text-on-dark); font: 400 16px/1.4 var(--sans);
  box-shadow: 0 0 0 1px var(--line-dark) inset, 0 2px 6px rgba(0,0,0,.25) inset; transition: box-shadow .3s;
}
.field input:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 1.5px var(--mint-300) inset, 0 2px 6px rgba(0,0,0,.25) inset; }
.field label { position: absolute; left: 18px; top: 18px; color: var(--muted-on-dark); pointer-events: none; transition: transform .25s var(--ease), font-size .25s, color .25s; transform-origin: left top; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.78); color: var(--mint-300); }
.field + .field { margin-top: 10px; }
.field.bad input, .field.bad textarea { box-shadow: 0 0 0 1.5px #f2a38f inset; }
.form .btn { margin-top: 14px; align-self: flex-start; }
.form-status { min-height: 1.4em; font-size: 14px; color: var(--mint-300); }
.form-status.err { color: #f6b7a7; }
.form-alt { margin-top: 10px; font-size: 14px; color: var(--muted-on-dark); }
.form-alt a { color: var(--mint-300); }

/* ---------- footer ---------- */
.foot { padding: 72px 0 40px; margin-top: 40px; border-top: 1px solid var(--line-dark); background: linear-gradient(transparent, rgba(2, 23, 20, .9) 30%); color: var(--muted-on-dark); font-size: 14px; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:last-child { text-align: right; } }
.foot-logo { height: 40px; width: auto; margin-bottom: 14px; }
.foot p + p { margin-top: 6px; }
.foot a { color: var(--mint-300); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.copy { margin-top: 40px; font-size: 13px; opacity: .7; }

/* ---------- reveal on scroll ---------- */
.js .r { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .r.in { opacity: 1; transform: none; }
.js .tilt.r.in { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); }
.js h1[data-split] .w { display: inline-block; opacity: 0; transform: translateY(.5em) rotateX(-40deg); transform-origin: 50% 100%; transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(.08s * var(--i)); }
.js h1[data-split].in .w { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .r, .js h1[data-split] .w { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee-track, .scroll-cue i, .step.on .ico-xl { animation: none; }
  .tilt { transform: none !important; }
}
@media (max-width: 640px) {
  .panel { border-radius: 28px; }
  .hero { padding-top: 120px; }
  .scroll-cue { display: none; }
  .form { padding: 22px; }
}

/* ---------- review mode (inside Deckroom): the six stages unrolled, each at its own fixed place on the page ----------
   A pinned (sticky) block shows different content at the same page spot depending on scroll, so a comment left on
   "Validation" would appear over "Sourcing" for the next reviewer. Unrolled, every stage and its icon has one address. */
html.unrolled .steps-sec { height: auto; }
html.unrolled .steps-pin { position: static; min-height: 0; padding: clamp(96px, 13vw, 168px) 0; }
html.unrolled .steps { display: block; }
html.unrolled .steps-nav { display: none; }
html.unrolled .steps-stage { min-height: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px 64px; }
html.unrolled .step { position: static; opacity: 1; transform: none; pointer-events: auto; }
html.unrolled .step .ico-xl { width: 150px; height: 150px; border-radius: 40px; }
html.unrolled .step h3 { font-size: clamp(26px, 2.4vw, 36px); }

@media (max-width: 899px) {
  html:not(.review) .steps-sec { height: auto; }
  html:not(.review) .steps-pin { position: static; min-height: 0; padding: clamp(96px, 13vw, 168px) 0; }
  html:not(.review) .steps { display: block; }
  html:not(.review) .steps-nav { display: none; }
  html:not(.review) .steps-stage { min-height: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px 64px; }
  html:not(.review) .step { position: static; opacity: 1; transform: none; pointer-events: auto; }
  html:not(.review) .step .ico-xl { width: clamp(96px, 24vw, 150px); height: clamp(96px, 24vw, 150px); border-radius: clamp(28px, 6vw, 40px); }
  html:not(.review) .step h3 { font-size: clamp(26px, 2.4vw, 36px); }
}

/* =====================================================================================================================
   v2 — "make it expensive": preloader, living logo, city with parallax sky, scroll parallax, 3D stage carousel,
   founders on one stage, the advisor's story, journey light line
   ===================================================================================================================== */

/* ---------- preloader (hidden in Deckroom review mode: the review tool shows its own) ---------- */
.preload { position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; gap: 28px; background: radial-gradient(70% 60% at 50% 45%, #0b3d36, var(--ink-950) 70%); transition: opacity .9s var(--ease), visibility .9s; }
.preload-mark .logo-anim img { width: min(320px, 60vw); height: auto; }
.preload-bar { width: min(220px, 50vw); height: 2px; margin-inline: auto; border-radius: 2px; background: rgba(168, 208, 192, .15); overflow: hidden; }
.preload-bar i { display: block; height: 100%; width: 40%; border-radius: inherit; background: linear-gradient(90deg, transparent, var(--mint-300), transparent); animation: bar 1.3s var(--ease) infinite; }
@keyframes bar { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
html.loaded .preload, html.review .preload { opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------- the living logo: a light sweep runs across the letters (masked by the logo itself) + a soft breathing glow ---------- */
.logo-anim { position: relative; display: inline-block; line-height: 0; isolation: isolate; }
/* Both effects run on the compositor only (opacity / transform): the old filter + background-position animations
   repainted the logo every frame and, with the city streaks, cost 60–250 ms frames on an integrated GPU (measured 2026-10-11). */
.logo-anim::before {   /* breathing glow: a soft mint halo behind the letters, only its opacity moves */
  content: ""; position: absolute; inset: -18% -6%; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, rgba(127, 240, 207, .30), rgba(127, 240, 207, 0)); will-change: opacity;
  animation: logo-breathe 6s ease-in-out infinite;
}
.logo-shine {          /* light sweep: masked by the logo, the band inside moves by transform */
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  -webkit-mask: url(assets/img/logo-gradient.webp) center / 100% 100% no-repeat; mask: url(assets/img/logo-gradient.webp) center / 100% 100% no-repeat;
}
.logo-shine::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 100%; will-change: transform;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .95) 50%, transparent 62%);
  transform: translateX(-100%); animation: logo-shine 5.5s var(--ease) infinite 1.2s;
}
html.is-scrolling .logo-anim::before, html.is-scrolling .logo-shine::before, html.is-scrolling .streaks path, html.is-scrolling .nodes circle,
html.is-scrolling .ico > .ico3d, html.is-scrolling .marquee-track, html.is-scrolling .scroll-cue i, html.is-scrolling .step.on .ico-xl { animation: none; }   /* none, not paused: a paused loop still kept the iGPU busy (measured) */
@keyframes logo-shine { 0% { transform: translateX(-100%); } 45%, 100% { transform: translateX(100%); } }
@keyframes logo-breathe { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }

/* ---------- WHY NOW: the city block ---------- */
.city-sec { padding: 0; overflow: hidden; }
.city-stage { position: relative; isolation: isolate; padding-top: clamp(96px, 9vw, 140px); }
.city-sky { position: absolute; inset: -12% 0 0 0; z-index: -2; will-change: transform;
  background: linear-gradient(180deg, #b9ded3 0%, #d8eee6 30%, #f4efe4 62%, #f7e6cf 100%); }
.city-aurora { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.city-copy { position: relative; z-index: 2; will-change: transform; }
.city-copy h2 { max-width: 14ch; }
.city-copy .body { max-width: 52ch; color: #2f4d47; }
.city-ground { position: relative; z-index: 1; margin-top: clamp(-150px, -8vw, -40px); }
.city-img { width: 100%; height: auto; }
.city-streaks { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.streaks path { fill: none; stroke: #f2fffb; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 0 1; opacity: .95; }
.city-sec.in-view .streaks path { animation: streak-draw 1.6s var(--ease) forwards, streak-flow 3.6s linear infinite 1.6s; }
.city-sec.in-view .streaks path:nth-child(2) { animation-delay: .12s, 1.72s; } .city-sec.in-view .streaks path:nth-child(3) { animation-delay: .24s, 1.84s; }
.city-sec.in-view .streaks path:nth-child(4) { animation-delay: .36s, 1.96s; } .city-sec.in-view .streaks path:nth-child(5) { animation-delay: .48s, 2.08s; }
.city-sec.in-view .streaks path:nth-child(6) { animation-delay: .6s, 2.2s; } .city-sec.in-view .streaks path:nth-child(7) { animation-delay: .72s, 2.32s; }
.city-sec.in-view .streaks path:nth-child(8) { animation-delay: .84s, 2.44s; }
@keyframes streak-draw { from { stroke-dasharray: 0 1; } to { stroke-dasharray: 1 0; } }
@keyframes streak-flow { 0% { stroke-dasharray: .14 .86; stroke-dashoffset: 1; } 100% { stroke-dasharray: .14 .86; stroke-dashoffset: 0; } }
.city-streaks .nodes circle { fill: #fff; stroke: rgba(127, 240, 207, .45); stroke-width: 5; paint-order: stroke; opacity: 0; /* stroke halo, not drop-shadow: a filter here re-blurred every pulse frame */ transform-box: fill-box; transform-origin: center; }
.city-sec.in-view .nodes circle { animation: node-pop .6s var(--ease) forwards, node-pulse 2.8s ease-in-out infinite 1.4s; }
@keyframes node-pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
@keyframes node-pulse { 0%, 100% { transform: none; opacity: 1; } 50% { transform: scale(1.5); opacity: .55; } }
.city-cards { position: relative; z-index: 3; margin-top: clamp(-150px, -9vw, -60px); padding-bottom: clamp(80px, 9vw, 130px); }
.city-cards .cards { margin-top: 0; }
.panel .city-cards .card { background: radial-gradient(160% 100% at var(--mx) var(--my), rgba(255,255,255,.95), transparent 60%), linear-gradient(165deg, rgba(255,255,255,.88), rgba(238,247,243,.82));
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }

/* ---------- scroll parallax helpers (JS writes --py) ---------- */
[data-par] { transform: translate3d(0, var(--py, 0px), 0); }
.pillar-img img[data-par-img] { transform: translate3d(0, var(--py, 0px), 0) scale(1.18); transition: none; }
.pillar:hover .pillar-img img[data-par-img] { transform: translate3d(0, var(--py, 0px), 0) scale(1.24); transition: transform 1.2s var(--ease); }

/* pillars build in: a curtain opens from the bottom, then the icon pops */
.js .pillar.r { clip-path: inset(18% 0 0 0 round var(--r-lg)); }
.js .pillar.r.in { clip-path: inset(0 0 0 0 round var(--r-lg)); transition: clip-path 1.2s var(--ease), opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .pillar.r .pillar-body .ico { transform: scale(.4) rotate(-20deg); opacity: 0; transition: transform .9s var(--ease), opacity .6s; transition-delay: calc(var(--d, 0s) + .35s); }
.js .pillar.r.in .pillar-body .ico { transform: none; opacity: 1; }

/* light sheets grow into place as they arrive (JS writes --ps 0.94 → 1) */
.panel:not(.steps-sec) { transform: scale(var(--ps, 1)); transform-origin: 50% 0; }

/* ---------- six stages: 3D carousel canvas ---------- */
.steps-3d { position: absolute; left: 0; right: 0; top: -30px; height: 76%; width: 100%; display: none; }
html.has-steps3d:not(.unrolled) .steps-3d { display: block; }
html.has-steps3d:not(.unrolled) .step { inset: auto 0 0 0; grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 10px; }
html.has-steps3d:not(.unrolled) .step .ico-xl { display: none; }
html.has-steps3d:not(.unrolled) .step h3 { font-size: clamp(28px, 2.6vw, 40px); }
html.has-steps3d:not(.unrolled) .steps-stage { min-height: clamp(400px, 56vh, 540px); }

/* ---------- client journey: a light line runs through the four stages ---------- */
.journey-wrap { position: relative; }
.journey-line { position: absolute; left: 4%; top: 118px; width: 92%; height: 20px; z-index: 0; overflow: visible; }
.journey-line path { fill: none; stroke: var(--teal-500); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--jp, 0)); filter: drop-shadow(0 0 6px rgba(46, 139, 122, .6)); vector-effect: non-scaling-stroke; }
.journey .card { position: relative; z-index: 1; }
@media (max-width: 899px) { .journey-line { display: none; } }

/* ---------- founders: one shared stage, heads over the frame ---------- */
.duo { position: relative; max-width: 1000px; margin: 72px auto 0; height: clamp(440px, 50vw, 660px); }
.duo-frame { position: absolute; inset: 24% 0 0 0; border-radius: 40px; overflow: hidden;
  background: radial-gradient(70% 90% at 50% 105%, #1d8a79, #0a3f39 55%, #052520 100%);
  box-shadow: 0 50px 100px -40px rgba(4, 40, 35, .7), 0 0 0 1px rgba(255,255,255,.06) inset; }
.duo-glow { position: absolute; inset: -20% 10% 20%; background: radial-gradient(closest-side, rgba(127, 240, 207, .35), transparent); filter: blur(10px); }
.duo-lines { position: absolute; inset: -10% -5%; opacity: .35;
  background: repeating-radial-gradient(circle at 50% 120%, transparent 0 38px, rgba(168, 208, 192, .25) 39px 40px); }
.duo-person { position: absolute; bottom: 0; height: 100%; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.duo-person img { height: 100%; width: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.duo-a { left: 6%; } .duo-b { right: 7%; }
.duo-person figcaption { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); width: max-content; max-width: 300px; text-align: center;
  padding: 14px 22px; border-radius: 20px; background: rgba(4, 34, 30, .62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px rgba(168, 208, 192, .2), 0 1px 0 rgba(255,255,255,.12) inset; }
.duo-person h3 { color: #fff; font-size: 22px; }
.duo-person p { margin-top: 4px; font: 600 11px/1.5 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--mint-300); }
@media (max-width: 700px) {
  .duo { height: auto; display: grid; gap: 28px; }
  .duo-frame { display: none; }
  .duo-person { position: relative; height: 420px; left: auto; right: auto; border-radius: 32px; overflow: hidden; background: radial-gradient(80% 90% at 50% 105%, #1d8a79, #052520); padding-top: 30px; }
}

/* ---------- ESG: the advisor's story ---------- */
.advisor { margin-top: 64px; display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; max-width: none; padding: 0; background: none; box-shadow: none; }
@media (min-width: 900px) { .advisor { grid-template-columns: minmax(300px, .85fr) 1.15fr; } }
.advisor-portrait { position: relative; margin: 0; }
.advisor-photo { aspect-ratio: 4 / 5; border-radius: 36px; overflow: hidden; position: relative;
  background: radial-gradient(80% 80% at 50% 100%, #1d8a79, #052520);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(168,208,192,.22); }
.advisor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.advisor-portrait figcaption { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 3; padding: 16px 20px; border-radius: 20px;
  background: rgba(3, 33, 29, .66); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 0 0 1px rgba(168,208,192,.2); }
.advisor-portrait h3 { font-size: 26px; color: #fff; }
.advisor-portrait figcaption p { margin-top: 4px; font: 600 11px/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--mint-300); }
.adv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
.adv-stats li { padding: 20px 18px; border-radius: 22px; background: linear-gradient(160deg, rgba(168,208,192,.14), rgba(168,208,192,.03)); box-shadow: 0 0 0 1px var(--line-dark), 0 1px 0 rgba(255,255,255,.12) inset; }
.adv-stats b { display: block; font: 350 clamp(36px, 4vw, 56px)/1 var(--serif);
  background: linear-gradient(180deg, #fff, var(--mint-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.adv-stats span { display: block; margin-top: 8px; font-size: 13px; line-height: 1.35; color: var(--muted-on-dark); }
.advisor .creds { display: grid; gap: 10px; margin: 0; }
.advisor .creds li { display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 12px; border-radius: 18px; background: rgba(4, 34, 30, .5);
  box-shadow: 0 0 0 1px var(--line-dark); }
.advisor .creds li::before { display: none; }
.advisor .creds p { color: var(--text-on-dark); font-size: 15px; }
@media (max-width: 560px) { .adv-stats { gap: 8px; } .adv-stats li { padding: 14px 10px; } .adv-stats span { font-size: 11px; } }

/* ---------- connect: a smiling person peeking into the block ---------- */
.connect-copy { position: relative; }
.connect-person { margin: 32px 0 0; max-width: 520px; }
.connect-person img { width: 100%; height: auto; -webkit-mask: linear-gradient(#000 70%, transparent); mask: linear-gradient(#000 70%, transparent); }

@media (prefers-reduced-motion: reduce) {
  .logo-anim::before, .logo-shine::before, .preload-bar i, .streaks path, .nodes circle { animation: none !important; }
  .streaks path { stroke-dasharray: none; }
  [data-par], .pillar-img img[data-par-img] { transform: none !important; }
  .panel { transform: none !important; }
}

/* the carousel lives on a dark emerald "display" inside the light sheet — glowing particles need darkness to read */
html.has-steps3d:not(.unrolled) .steps-stage { border-radius: 36px; overflow: hidden;
  background: radial-gradient(90% 80% at 50% 38%, #0f4f47, #04221e 72%);
  box-shadow: 0 40px 90px -40px rgba(4, 40, 35, .75), 0 0 0 1px rgba(15, 92, 85, .2); }
html.has-steps3d:not(.unrolled) .step { padding: 0 32px 34px; }
html.has-steps3d:not(.unrolled) .step h3 { color: #fff; }
html.has-steps3d:not(.unrolled) .step p { color: rgba(214, 236, 227, .78); margin-inline: auto; }

/* the helix passes behind the advisor story: its plates are dense glass so the text stays readable */
.adv-stats li, .advisor .creds li { background: rgba(4, 30, 26, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* phones: the city is cropped to its centre at a readable size (a 390 px wide strip of the whole district is a sliver) */
@media (max-width: 700px) {
  .city-ground { overflow: hidden; margin-top: 8px; }
  .city-img, .city-streaks { width: 190%; max-width: none; margin-left: -50%; }
  .city-streaks { left: 0; right: auto; }
  .city-cards { margin-top: -36px; }
}

/* =====================================================================================================================
   v3 — layered photo parallax, larger photos, full-width scenes, cheaper glass
   ===================================================================================================================== */

/* ---------- layered photos: background plate + cut-out subject, moved apart by scroll (JS writes the vars) ----------
   Both layers share one box, one object-fit and one origin, so at the window centre (p = 0) they line up exactly. */
.ly { position: absolute; inset: 0; overflow: hidden; isolation: isolate; --hz: 0; }
.ly > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; backface-visibility: hidden;
  transition: transform .45s var(--ease); }   /* a short ease = the layers glide after the wheel instead of stepping */
.ly-bg { transform: translate3d(var(--bx, 0px), var(--by, 0px), 0) scale(var(--bs, 1.14)); filter: saturate(1.05); }
.ly-fg { z-index: 2; transform: translate3d(var(--fx, 0px), var(--fy, 0px), 0) scale(var(--fs, 1.14)); filter: drop-shadow(0 18px 26px rgba(4, 34, 30, .28)); }
.ly-haze { /* light between the two layers: the subject steps out of a softly lit room */
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: calc(.35 + var(--hz) * .45);
  background: radial-gradient(70% 60% at 50% 55%, rgba(233, 247, 241, .0), rgba(233, 247, 241, .0) 40%, rgba(4, 34, 30, .28) 100%),
              linear-gradient(180deg, rgba(214, 239, 230, .22), transparent 45%); }
.ly-solo .ly-haze { opacity: .5; }
.ly::after { /* a soft emerald grade at the bottom ties every photo to the brand */
  content: ""; position: absolute; inset: 55% 0 0; z-index: 3; pointer-events: none; background: linear-gradient(transparent, rgba(4, 34, 30, .38)); }
.pillar-img, .work-img { position: relative; }

/* ---------- pillars: 2 x 2, photos twice as large ---------- */
.pillars { grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
.pillar-img { aspect-ratio: 16 / 10; }
.pillar-body { padding: 0 32px 34px; }
.pillar-body h3 { font-size: clamp(22px, 1.9vw, 28px); }
.pillar-body p { font-size: 16px; }

/* ---------- portfolio: compounding = a full-width cinematic scene, the other three below it ---------- */
.folio { grid-template-columns: 1fr; }
@media (min-width: 1000px) { .folio { grid-template-columns: repeat(3, 1fr); } }
.work-wide { grid-column: 1 / -1; position: relative; }
.work-wide .work-img { aspect-ratio: 21 / 9; }
.work-wide .work-body { position: absolute; left: 0; bottom: 0; z-index: 4; max-width: 560px; padding: 36px 40px; }
.work-wide .ly::after { inset: 30% 0 0; background: linear-gradient(transparent, rgba(3, 33, 29, .55) 55%, rgba(3, 33, 29, .88)); }
.work-wide .work-body h3 { font-size: clamp(26px, 2.6vw, 40px); color: #fff; }
.work-wide .work-body p { color: rgba(233, 244, 239, .86); font-size: 17px; }
@media (max-width: 700px) { .work-wide .work-img { aspect-ratio: 4 / 3; } .work-wide .work-body { padding: 22px; } }
.work-badge, .work-logo { z-index: 4; }
.work:hover .ly, .pillar:hover .ly { --hov: 1; }

/* ---------- advantage: the glass network orb fills the whole sheet and grows as you scroll through it ---------- */
.adv-bg { opacity: .7; z-index: 0; }
.panel-dark .wrap { z-index: 2; }
.adv-bg .ly::after { display: none; }
.adv-bg .ly-haze { background: radial-gradient(60% 70% at 70% 45%, rgba(47, 214, 166, .18), transparent 70%); opacity: 1; }
.adv-bg .ly-fg { filter: drop-shadow(0 0 40px rgba(47, 214, 166, .35)); transform: translate3d(var(--fx, 0px), var(--fy, 0px), 0) scale(var(--fs, 1)) rotate(var(--fr, 0deg)); }
.panel-dark::before { /* keeps the copy readable over the brighter orb */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(3, 33, 29, .82), rgba(3, 33, 29, .35) 55%, transparent); }

/* ---------- performance: glass blur over the moving 3D world re-blurs every frame -> solid tinted glass instead ---------- */
.card, .pill, .adv-stats li, .advisor .creds li { backdrop-filter: none; -webkit-backdrop-filter: none; }
.card { background: radial-gradient(160% 100% at var(--mx) var(--my), rgba(168,208,192,.16), transparent 55%), linear-gradient(165deg, rgba(14, 72, 64, .93), rgba(4, 34, 30, .96)); }
.pill { background: linear-gradient(160deg, rgba(168, 208, 192, .2), rgba(168, 208, 192, .04) 60%), rgba(7, 45, 40, .92); }
.adv-stats li, .advisor .creds li { background: rgba(4, 30, 26, .93); }
.panel .city-cards .card { backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }   /* over a still photo: cheap */

@media (prefers-reduced-motion: reduce) { .ly > img { transform: scale(1.06) !important; } }

/* v4 (Muhammet 10.10): portfolio of five — wide Compounding on top, 2 x 2 below */
@media (min-width: 1000px) { .folio { grid-template-columns: repeat(2, 1fr); } }
.work-mark { position: absolute; right: 36px; bottom: 30px; z-index: 4; width: clamp(120px, 13vw, 190px); }
.work-mark img { width: 100%; height: auto; filter: drop-shadow(0 10px 30px rgba(0,0,0,.45)); }
@media (max-width: 700px) { .work-mark { width: 92px; right: 16px; top: 16px; bottom: auto; } }
.work-logo img[src*="longevity"], .work-logo img[src*="energymax"] { height: 40px; }
/* v4 team (Sol 6.1 «light studio»): photo on its own, captions straight on the light panel, no card box */
.team { list-style: none; display: grid; gap: 28px; margin-top: 56px; padding: 0; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team { grid-template-columns: 1fr; } }
.person-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 240ms ease; }
.person:hover .person-photo img { transform: scale(1.02); }
/* hover = the same portrait in colour: a second image fades in on top (opacity only, so it costs the GPU nothing) */
.person-photo { position: relative; }
.person-photo img.c { position: absolute; inset: 0; opacity: 0; transition: opacity 450ms ease, transform 240ms ease; }
.person:hover .person-photo img.c, .person:focus-within .person-photo img.c { opacity: 1; }
/* Samiullah: monochrome until his better photo arrives (Muhammet 10.10) */
.advisor-photo img { filter: grayscale(1) contrast(1.05); transition: filter 600ms ease; }
.advisor:hover .advisor-photo img { filter: none; }   /* hover = his real colour photo */
/* team captions: name in Fraunces, role and line in sans — overrides the old founders caption rules */
.team .person h3 { margin: 18px 0 0; font: 400 22px/1.2 var(--serif, "Fraunces", serif); color: #021714; }
.team .person-role { margin: 6px 0 0; font: 600 11px/1.45 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #3b7d71; }
.team .person-desc { margin: 8px 0 0; font: 400 13px/1.45 var(--sans); letter-spacing: 0; text-transform: none; color: #48635C; }
.work-logo img[src*="energymax"] { height: 52px; }
/* team: no card box at all — the old .person rule (white card + shadow) is switched off here */
.team .person { background: none; box-shadow: none; border-radius: 0; overflow: visible; padding: 0; }
.team .person h3, .team .person p { padding: 0; }

/* ---------- ECOSYSTEM: expanding rail (replaced the 3D card ring, 2026-10-11: "looks cheap") ----------
   One panel open = icon + name + one line; the others stand as slim glass columns with the name running upward.
   Opening animates flex-grow (6 boxes, a short layout) — the content inside only fades/slides. */
.adv-rail { --rail-h: clamp(380px, 34vw, 460px); --rail-open: 5.2; --rail-gap: 12px;
  list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: flex; gap: var(--rail-gap); height: var(--rail-h); }
.rail-item { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; cursor: pointer; outline: none; border-radius: 28px;
  background: linear-gradient(170deg, rgba(214, 239, 230, .10), rgba(8, 48, 42, .55) 45%, rgba(2, 22, 19, .78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px rgba(168, 208, 192, .16), 0 30px 60px -30px rgba(0, 0, 0, .7);
  transition: flex-grow .8s var(--ease), background .6s ease, box-shadow .6s ease; }
.rail-item::before { /* mint light that lives only in the open panel */ content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(90% 70% at 30% 0%, rgba(127, 240, 207, .22), transparent 60%), radial-gradient(60% 50% at 100% 100%, rgba(46, 139, 122, .25), transparent 70%);
  transition: opacity .8s ease; }
.rail-item.on { flex-grow: var(--rail-open); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(168, 208, 192, .38), 0 40px 80px -30px rgba(0, 0, 0, .8); }
.rail-item.on::before { opacity: 1; }
@media (hover: hover) { .rail-item:not(.on):hover { background: linear-gradient(170deg, rgba(214, 239, 230, .16), rgba(10, 58, 50, .6) 45%, rgba(2, 22, 19, .8)); } }
.rail-item:focus-visible { box-shadow: inset 0 0 0 2px var(--mint-300); }
.rail-no { position: absolute; left: 24px; top: 22px; font: 600 12px/1 var(--sans); letter-spacing: .2em; color: var(--mint-300); opacity: .8; }
.rail-item .ico { position: absolute; right: clamp(28px, 4vw, 64px); top: 50%; margin-top: -130px; width: clamp(170px, 15vw, 220px); height: clamp(170px, 15vw, 220px); border-radius: 52px;   /* big, on the right: balances the text bottom-left */
  opacity: 0; transform: translateY(18px) scale(.9); transition: opacity .5s ease, transform .8s var(--ease); }
.rail-title { position: absolute; left: 50%; bottom: 28px; white-space: nowrap; transform-origin: 0 50%;
  transform: rotate(-90deg) translateY(-50%); font: 400 20px/1.1 var(--serif); color: var(--text-on-dark);
  transition: transform .8s var(--ease), left .8s var(--ease), bottom .8s var(--ease), font-size .8s var(--ease); }
.rail-text { position: absolute; left: 28px; right: 28px; bottom: 30px; max-width: 34ch; font: 400 15.5px/1.5 var(--sans); color: var(--muted-on-dark);
  opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .6s var(--ease); }
.rail-item.on .ico { opacity: 1; transform: none; transition-delay: .25s, .2s; }
.rail-item.on .rail-title { left: 28px; bottom: 92px; transform: none; font-size: clamp(26px, 2.3vw, 34px); white-space: normal; max-width: 16ch; }
.rail-item.on .rail-text { opacity: 1; transform: none; transition-delay: .35s; }
.rail-item .ico > .ico3d { animation: none; }   /* the rail is the motion; floating icons on top read busy */
/* progress line in the open panel: shows when it moves on */
.rail-item.on.timing::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 16px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--mint-300), rgba(168, 208, 192, .15)); transform-origin: left; animation: rail-time var(--rail-ms, 5200ms) linear forwards; }
@keyframes rail-time { from { transform: scaleX(0); } to { transform: scaleX(1); } }
html.review .rail-item.on.timing::after { animation: none; }
@media (max-width: 760px) {   /* phone: a vertical stack, every panel open — nothing to guess behind a tap */
  .adv-rail { flex-direction: column; height: auto; }
  .rail-item, .rail-item.on { flex: none; min-height: 0; padding: 22px 22px 24px 112px; }
  .rail-item .ico, .rail-item.on .ico { opacity: 1; transform: none; left: 18px; top: 50%; margin-top: -40px; width: 80px; height: 80px; border-radius: 24px; }
  .rail-no { display: none; }
  .rail-title, .rail-item.on .rail-title { position: static; transform: none; white-space: normal; font-size: 22px; display: block; }
  .rail-text, .rail-item.on .rail-text { position: static; opacity: 1; transform: none; display: block; margin-top: 6px; }
  .rail-item.on.timing::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .rail-item, .rail-item *, .rail-item::before { transition: none !important; } }

/* ecosystem background: one crisp 2878 px render (ChatGPT + SeedVR2) instead of the blown-up parallax layers */
#advantage .adv-bg { opacity: 1; }
#advantage .adv-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
#advantage .adv-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 22, 19, .55), rgba(2, 22, 19, .1) 60%, rgba(2, 22, 19, .35)); }
