/* AND Capital — site. Dark stage, Satoshi, emerald as the single node, never as fill. */

:root {
  --bg: #030504;
  --bg-2: #070a08;
  --paper: #f4f6f5;
  --ink: #0a0e0c;
  --fg: #ffffff;
  --fg-2: rgba(255, 255, 255, 0.72);
  --fg-3: rgba(255, 255, 255, 0.46);
  --fg-4: rgba(255, 255, 255, 0.28);
  --fg-5: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.1);
  --emerald: #4fb97a;
  --emerald-hi: #7cf29c;
  --emerald-deep: #1e5d3b;

  --font: "Satoshi", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
  --ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --gutter: clamp(20px, 3.6vw, 56px);
  --max: 1520px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--emerald); color: var(--ink); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }

/* ---------- Type ---------- */
.cap {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-3);
  line-height: 1.4;
}
.display {
  font-weight: 300;
  font-size: clamp(42px, 6.2vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--fg);
  text-wrap: balance;
}
.display em, .title-sm em { font-style: normal; color: var(--fg-4); }
.title-sm {
  font-weight: 400;
  font-size: clamp(30px, 3.2vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.lede {
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--fg-3);
  font-weight: 400;
}
.lede b, .body b { color: var(--fg); font-weight: 500; }
.body { font-size: 16px; line-height: 1.55; color: var(--fg-3); max-width: 44ch; }
.body.center { margin-left: auto; margin-right: auto; }
.section-cap { margin-bottom: 28px; display: flex; align-items: center; gap: 12px; }
.section-cap.center { justify-content: center; }
.section-cap::before { content: ""; width: 6px; height: 6px; background: var(--emerald); flex: none; }
.cap-num { color: var(--fg); display: inline-flex; align-items: center; gap: 12px; }
.cap-num::after { content: ""; width: 32px; height: 1px; background: var(--fg-4); }

/* ---------- Text effects: the rise and the rule ----------
 * Headlines rise word by word out of a mask on one long ease. Labels open
 * left to right behind their node and rule. Body copy settles; nothing flickers.
 */
.split-word { display: inline-block; white-space: nowrap; }
.split-in { display: inline-block; }

[data-text-fade] .split-word,
[data-hero-title] .split-word { overflow: hidden; vertical-align: top; padding-bottom: 0.16em; margin-bottom: -0.16em; }
[data-text-fade] .split-in,
[data-hero-title] .split-in { transform: translate3d(0, 112%, 0); }
[data-text-fade].is-inview .split-in {
  transform: none;
  transition: transform 1.15s var(--ease-expo);
  transition-delay: calc((var(--word) - 1) * 46ms + 0.05s);
}
[data-hero-title].is-inview .split-in {
  transform: none;
  transition: transform 1.5s var(--ease-expo);
  transition-delay: calc((var(--word) - 1) * 72ms);
}

[data-blink] { clip-path: inset(0 100% 0 0); }
[data-blink].is-inview { clip-path: inset(0 0 0 0); transition: clip-path 1.2s var(--ease-expo) 0.1s; }
.section-cap.center[data-blink] { clip-path: inset(0 50% 0 50%); }
.section-cap.center[data-blink].is-inview { clip-path: inset(0 0 0 0); }

[data-words] .split-in { opacity: 0; transform: translate3d(0, 0.45em, 0); }
[data-words].is-inview .split-in {
  opacity: 1; transform: none;
  transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-expo);
  transition-delay: calc((var(--word) - 1) * 9ms + 0.12s);
}
[data-line] { opacity: 0; transform: translate3d(0, 0.5em, 0); }
[data-line].is-inview { opacity: 1; transform: none; transition: opacity 0.8s var(--ease-out), transform 1.1s var(--ease-expo); }

[data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-expo); }
[data-reveal].is-inview { opacity: 1; transform: none; }

/* Icons draw their joins in when they arrive */
.and-icon { overflow: visible; }
.and-icon-line { stroke-dasharray: 1; stroke-dashoffset: 0; }
[data-reveal] .and-icon-line, .step .and-icon-line { stroke-dashoffset: 1; transition: stroke-dashoffset 0.9s var(--ease-in-out) 0.25s; }
[data-reveal].is-inview .and-icon-line, .step.is-inview .and-icon-line { stroke-dashoffset: 0; }
[data-reveal] .and-icon-and, .step .and-icon-and { opacity: 0; transition: opacity 0.2s 0.9s; }
[data-reveal].is-inview .and-icon-and, .step.is-inview .and-icon-and { opacity: 1; }
i[data-icon] { display: inline-flex; color: var(--fg); }

/* ---------- Opening ----------
 * "Andean Capital" arrives, the "ean" closes up, and "And Capital" gives way
 * to the wordmark. Nine nodes fill as the page loads; the last is the AND node.
 */
.opening { position: fixed; inset: 0; z-index: 100; pointer-events: none; background-color: #000; transition: background-color 1.1s var(--ease-in-out); }
.opening.is-opening { background-color: transparent; }
.opening.is-done { display: none; }
.opening-word { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; }
.ow-name {
  grid-area: 1 / 1; display: flex; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em;
  font-weight: 400; font-size: clamp(30px, 3.4vw, 52px); letter-spacing: -0.025em; line-height: 1.05; white-space: pre;
}
.ow-name > span { display: inline-block; transform: translate3d(0, 112%, 0); transition: transform 1.1s var(--ease-expo); }
.ow-name.is-in > span { transform: none; }
.ow-name.is-in > span:nth-child(2) { transition-delay: 45ms; }
.ow-name.is-in > span:nth-child(3) { transition-delay: 90ms; }
.ow-name > .ow-cut { overflow: hidden; transition: transform 1.1s var(--ease-expo), width 0.8s var(--ease-in-out), opacity 0.45s var(--ease-out); }
.ow-name.is-cut > .ow-cut { width: 0 !important; opacity: 0; }
.ow-name.is-out > span { transform: translate3d(0, -112%, 0); transition: transform 0.8s var(--ease-in-out); transition-delay: 0s; }
.ow-logo { grid-area: 1 / 1; width: clamp(200px, 21vw, 340px); transform-origin: 50% 50%; will-change: transform; }
.ow-logo svg { width: 100%; height: auto; overflow: hidden; }
.ow-logo path { fill: #fff; transform-box: fill-box; transform: translateY(140%); transition: transform 1.1s var(--ease-expo); transition-delay: calc(var(--i) * 26ms + 0.18s); }
.ow-logo.is-on path { transform: none; }
.ow-logo.is-gone path { transform: translateY(-140%); opacity: 0; transition: transform 0.95s var(--ease-in-out), opacity 0.7s var(--ease-out); transition-delay: calc(var(--i) * 22ms); }
.opening-nodes {
  position: absolute; left: 50%; top: calc(50% + clamp(58px, 7vh, 86px)); transform: translateX(-50%);
  display: grid; grid-template-columns: repeat(3, 5px); gap: 9px; transition: opacity 0.5s;
}
.opening-nodes i { width: 5px; height: 5px; background: rgba(255, 255, 255, 0.16); transition: background-color 0.35s, transform 0.5s var(--ease-expo); }
.opening-nodes i.is-on { background: #fff; }
.opening-nodes i.is-and.is-on { background: var(--emerald); transform: scale(1.6); }
.opening-nodes.is-out { opacity: 0; }

/* ---------- Chrome ---------- */
.chrome {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 3vw, 48px);
  padding: 22px var(--gutter);
  transition: transform 0.6s var(--ease-expo), opacity 1.2s var(--ease-out) 0.5s;
}
.chrome-logo { width: 132px; display: block; }
.chrome-logo svg { width: 100%; height: auto; }
.chrome-logo path { fill: currentColor; }
.chrome-nav { justify-self: end; display: flex; gap: clamp(18px, 2.2vw, 36px); font-size: 13px; font-weight: 500; letter-spacing: 0.01em; color: var(--fg-2); }
.chrome-nav a { position: relative; padding: 6px 0; transition: color 0.3s; }
.chrome-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease-expo); }
.chrome-nav a:hover { color: var(--fg); }
.chrome-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
body:not(.is-open) .chrome { opacity: 0; transition: none; }
.chrome.is-hidden { transform: translateY(-110%); }
.chrome.on-light { color: var(--ink); }
.chrome.on-light .chrome-nav { color: rgba(10, 14, 12, 0.6); }
.chrome.on-light .chrome-nav a:hover { color: var(--ink); }
.chrome.on-light .tag { background: rgba(10, 14, 12, 0.07); color: var(--ink); }

.tag { justify-self: end; }
.chrome.on-light .cap { color: rgba(10, 14, 12, 0.5); }
.chrome.on-light .tag { background: rgba(10, 14, 12, 0.07); color: var(--ink); }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-2);
  transition: background 0.3s, color 0.3s;
}
.tag:hover { background: rgba(255, 255, 255, 0.14); color: var(--fg); }
.tag-light { background: rgba(10, 14, 12, 0.07); color: var(--ink); }
.tag-light:hover { background: rgba(10, 14, 12, 0.12); color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 44px;
  padding: 16px 20px 16px 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  position: relative; overflow: hidden;
  transition: border-color 0.4s, color 0.4s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--fg);
  transform: translateY(101%); transition: transform 0.6s var(--ease-expo);
}
.btn > * { position: relative; }
.btn:hover { color: var(--ink); border-color: var(--fg); }
.btn:hover::before { transform: none; }
.btn:hover i[data-icon] { color: var(--ink); }

/* ---------- Media ---------- */
.media { position: relative; overflow: hidden; background: var(--bg); }
.media video, .media img { width: 100%; height: 100%; object-fit: cover; }
.media .film-poster, .media .film { position: absolute; inset: 0; width: 100%; height: 100%; }
.media .film { display: block; opacity: 0; transition: opacity 1.4s var(--ease-out); }
.media .film.is-live { opacity: 1; }

/* ---------- 1. Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; display: grid; place-items: center; }
.hero-media { position: absolute; inset: 0; }
.hero-media .film, .hero-media .film-poster { transform: scale(1.12); will-change: transform; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 50%, rgba(3, 5, 4, 0.55), transparent 70%),
    linear-gradient(180deg, rgba(3, 5, 4, 0.55) 0%, transparent 22%, transparent 62%, var(--bg) 100%);
}
.hero-inner { position: relative; text-align: center; padding: 0 var(--gutter); display: grid; justify-items: center; }
.hero-eyebrow { color: var(--fg-2); margin-bottom: 26px; }
.hero-title {
  font-weight: 300;
  font-size: clamp(46px, 7.4vw, 124px);
  line-height: 0.96;
  letter-spacing: -0.045em;
}
.hero-title .line { display: block; }
.hero-foot {
  position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%);
  width: min(460px, calc(100% - 2 * var(--gutter)));
  text-align: center; font-size: 15px; line-height: 1.4; color: var(--fg-3);
}
.hero-foot b { color: var(--fg); font-weight: 500; }
.hero-scroll { position: absolute; right: var(--gutter); bottom: 44px; display: flex; align-items: center; gap: 10px; }
.hero-scroll span { width: 1px; height: 28px; background: var(--fg-4); position: relative; overflow: hidden; }
.hero-scroll span::after { content: ""; position: absolute; left: 0; top: -100%; width: 1px; height: 100%; background: var(--emerald-hi); animation: drip 2.2s var(--ease-in-out) infinite; }
@keyframes drip { to { top: 100%; } }
body:not(.is-open) .hero-foot, body:not(.is-open) .hero-scroll { opacity: 0; }
.hero-scroll { transition: opacity 0.8s var(--ease-out) 0.9s; }

/* ---------- 2. Intro ---------- */
.intro { padding: clamp(120px, 18vh, 220px) 0 clamp(80px, 12vh, 160px); }
.intro .display { max-width: 15ch; }
.intro-grid { margin-top: clamp(60px, 8vw, 120px); display: grid; grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); gap: clamp(32px, 5vw, 96px); align-items: end; }
.intro-lines { margin: 44px 0 28px; display: grid; gap: 6px; }
.intro-lines li { font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.02em; line-height: 1.15; font-weight: 400; }
.intro-lines li:nth-child(odd) { color: var(--fg); }
.intro-lines li:nth-child(even) { color: var(--fg-3); }
.intro-media { aspect-ratio: 16 / 10; -webkit-mask-image: radial-gradient(85% 85% at 60% 50%, #000 45%, transparent 100%); mask-image: radial-gradient(85% 85% at 60% 50%, #000 45%, transparent 100%); }
.diagram { position: relative; aspect-ratio: 16 / 10; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.005)); -webkit-mask-image: none; mask-image: none; }
.diagram svg { width: 100%; height: 100%; }
.dg-grid rect { fill: rgba(255, 255, 255, 0.13); }
.dg-lines path { fill: none; stroke: rgba(255, 255, 255, 0.72); stroke-width: 1.2; stroke-linecap: square; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease-in-out); }
.dg-lines path:nth-child(2) { transition-delay: 0.12s; }
.dg-lines path:nth-child(3) { transition-delay: 0.24s; }
.dg-lines path:nth-child(4) { transition-delay: 0.36s; }
.diagram.is-inview .dg-lines path { stroke-dashoffset: 0; }
.dg-nodes rect { fill: #fff; }
.dg-and { fill: var(--emerald); transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 0.7s var(--ease-expo) 1.9s; }
.diagram.is-inview .dg-and { transform: none; }
.dg-labels text { font-family: var(--font); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; fill: var(--fg-3); }
.dg-labels .dg-and-label { fill: var(--emerald); opacity: 0; transition: opacity 0.6s 2.2s; }
.diagram.is-inview .dg-and-label { opacity: 1; }

/* ---------- 3. Split ---------- */
.split { padding: clamp(80px, 12vh, 160px) 0; border-top: 1px solid var(--line); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 120px); }
.split-head .sticky { position: sticky; top: 22vh; max-width: 9ch; }
.split-body .lede { max-width: 26ch; margin-bottom: 72px; }
.point { padding: 44px 0 52px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 64px 1fr; column-gap: 24px; }
.point i[data-icon] { grid-row: span 3; align-self: start; margin-top: 2px; }
.point .cap { margin-bottom: 12px; }
.point h3 { font-weight: 400; font-size: clamp(24px, 2.1vw, 32px); letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 14px; }

/* ---------- 4. Focus ---------- */
.focus { position: relative; padding: clamp(110px, 16vh, 200px) 0 clamp(100px, 14vh, 180px); overflow: hidden; }
.focus-media { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%); opacity: 0.9; }
.focus-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 55%, rgba(3,5,4,.7), rgba(3,5,4,.4) 70%, rgba(3,5,4,.2)); pointer-events: none; }
.focus-head { position: relative; text-align: center; display: grid; gap: 18px; justify-items: center; margin-bottom: clamp(90px, 18vh, 220px); }
.focus-list { position: relative; padding: 0 var(--gutter); display: grid; gap: clamp(10px, 2vh, 24px); }
.focus-item { padding-left: var(--x); }
.focus-name {
  display: inline-flex; align-items: center; gap: clamp(14px, 1.6vw, 28px);
  font-weight: 300; font-size: clamp(38px, 6vw, 100px); letter-spacing: -0.045em; line-height: 1.02;
  text-align: left;
  transition: color 0.4s;
}
.focus-name i[data-icon] { opacity: 0.6; transition: opacity 0.4s; }
.focus-name:hover i[data-icon], .focus-item.is-open .focus-name i[data-icon] { opacity: 1; }
.focus-list:hover .focus-name { color: var(--fg-4); }
.focus-list:hover .focus-name:hover, .focus-item.is-open .focus-name { color: var(--fg); }
.focus-desc {
  max-width: 52ch; margin-left: calc(28px + clamp(14px, 1.6vw, 28px));
  font-size: 15px; line-height: 1.55; color: var(--fg-3);
  display: grid; grid-template-rows: 0fr; overflow: hidden;
  opacity: 0; transition: opacity 0.5s, margin 0.6s var(--ease-expo), max-height 0.6s var(--ease-expo);
  max-height: 0;
}
.focus-item.is-open .focus-desc { opacity: 1; max-height: 12em; margin-top: 10px; margin-bottom: 18px; }

/* ---------- 5. Stats ---------- */
.stats { padding: clamp(110px, 16vh, 200px) 0; position: relative; }
.stats::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, transparent, var(--line) 20%, var(--line) 80%, transparent); }
.stats .title-sm { position: relative; background: var(--bg); padding: 18px 0; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(60px, 9vh, 120px); }
.stat { position: relative; display: grid; justify-items: center; }
.stat-art { width: min(440px, 80%); aspect-ratio: 1; }
.stat-art svg { width: 100%; height: 100%; overflow: visible; }
.ring line { stroke: rgba(255, 255, 255, 0.8); stroke-width: 1.4; }
.ring .tick-hi { stroke: var(--emerald-hi); }
.orbits circle { fill: none; stroke: rgba(255, 255, 255, 0.28); stroke-width: 1; vector-effect: non-scaling-stroke; }
.stat-num {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(440px, 80%); aspect-ratio: 1;
  display: grid; place-items: center;
  font-weight: 300; font-size: clamp(52px, 6.6vw, 116px); letter-spacing: -0.05em; line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}
.stat-cap { margin-top: 36px; text-align: center; font-size: 13px; line-height: 1.45; color: var(--fg-3); }
.stats-gp { margin: clamp(80px, 12vh, 140px) auto 0; max-width: 560px; display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 32px; position: relative; background: var(--bg); }
.stats-gp h3 { font-weight: 400; font-size: 24px; letter-spacing: -0.02em; margin-bottom: 8px; }

/* ---------- 6. Decide ---------- */
.decide { position: relative; padding: clamp(110px, 16vh, 200px) 0 clamp(100px, 14vh, 180px); border-top: 1px solid var(--line); }
.decide-head { position: relative; display: grid; gap: 22px; justify-items: center; padding: 0 var(--gutter); }
.steps { margin-top: clamp(100px, 16vh, 180px); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 40px); }
.step { display: grid; align-content: start; }
.step-num {
  display: block; height: 0.64em; overflow: hidden;
  font-weight: 300; font-size: clamp(80px, 9vw, 152px); letter-spacing: -0.05em; line-height: 0.86;
  color: rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
  transition: color 0.6s;
}
.step:hover .step-num { color: rgba(255, 255, 255, 0.3); }
.step i[data-icon] { margin-bottom: 44px; }
.step h3 { font-weight: 500; font-size: 18px; letter-spacing: -0.01em; margin-bottom: 14px; }
.step p { font-size: 15px; line-height: 1.5; color: var(--fg-3); max-width: 24ch; }

/* ---------- 7. Infrastructure ---------- */
.infra { padding: clamp(100px, 14vh, 180px) 0; border-top: 1px solid var(--line); }
.infra-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.infra-head { position: sticky; top: 18vh; }
.infra-head .display { max-width: 11ch; margin-bottom: 34px; }
.infra-cards { display: grid; gap: 20px; }
.frame {
  --c: rgba(255, 255, 255, 0.55); --s: 14px;
  position: relative; padding: clamp(32px, 3.4vw, 52px);
  min-height: 300px; display: grid; align-content: space-between; gap: 48px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--s) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top left / 1px var(--s) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--s) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 1px var(--s) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--s) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 1px var(--s) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--s) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 1px var(--s) no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  transition: background-color 0.5s;
}
.frame:hover { background-color: rgba(79, 185, 122, 0.04); }
.frame h3 { font-weight: 400; font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -0.03em; line-height: 1.05; }
.frame p { font-size: 15px; line-height: 1.55; color: var(--fg-3); max-width: 46ch; }
.frame i[data-icon] { order: -1; }

/* ---------- 8. Team ---------- */
.team { padding: clamp(100px, 14vh, 180px) 0; border-top: 1px solid var(--line); }
.team-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(48px, 7vh, 90px); }
.team-head .display { max-width: 13ch; }
.team-rail {
  display: grid; grid-template-columns: repeat(2, minmax(0, 480px)); gap: clamp(12px, 2vw, 24px);
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
}
.person { min-width: 0; }
.person-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); position: relative; }
.person-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(3, 5, 4, 0.55)); }
.person-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; transform-origin: 50% 0; filter: grayscale(1) contrast(1.05) brightness(0.9); transform: scale(1.02); transition: filter 0.8s var(--ease-out), transform 1.2s var(--ease-expo); user-select: none; -webkit-user-drag: none; }
.person:hover .person-img img { filter: grayscale(0.2) contrast(1.05) brightness(1); transform: scale(1.06); }
.person figcaption { padding-top: 16px; display: grid; gap: 4px; }
.person b { font-weight: 500; font-size: 16px; letter-spacing: -0.01em; }
.person span { font-size: 13px; color: var(--fg-3); }

/* ---------- 9. Letter ---------- */
.letter { position: relative; padding: clamp(120px, 18vh, 220px) 0 clamp(140px, 20vh, 260px); overflow: hidden; border-top: 1px solid var(--line); }
.letter .wrap { position: relative; }
.letter-quote {
  max-width: 22ch; margin: 0 auto; text-align: center;
  font-weight: 400; font-size: clamp(30px, 3.9vw, 62px); line-height: 1.08; letter-spacing: -0.035em;
}
.letter-quote .split-word { color: rgba(255, 255, 255, 0.2); transition: color 0.35s; }
.letter-quote .split-word.is-lit { color: var(--fg); }
.letter-body { margin-top: clamp(64px, 10vh, 120px); max-width: 48ch; }

/* ---------- Footer ---------- */
.foot { position: relative; background: var(--paper); color: var(--ink); padding: 0 0 28px; overflow: hidden; }
.foot-steps { position: relative; height: clamp(70px, 9vw, 150px); }
.foot-steps svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.foot-steps rect { fill: var(--bg); transform-box: fill-box; transform-origin: 50% 0; }
.foot-letter { padding: 0 var(--gutter); margin-top: clamp(-10px, -1vw, 0px); }
.foot-letter svg { width: 100%; height: auto; overflow: visible; }
.foot-letter path { fill: var(--ink); }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: clamp(60px, 9vh, 110px) var(--gutter) 0; }
.foot-title { font-weight: 400; font-size: clamp(40px, 4.6vw, 76px); letter-spacing: -0.045em; line-height: 1; }
.foot-title.grey { color: #9aa29e; }
.foot-col { display: grid; align-content: start; gap: 28px; }
.foot-col:first-child { align-content: space-between; }
.foot-logo { width: 150px; color: var(--ink); }
.foot-logo svg { width: 100%; height: auto; }
.foot-logo path { fill: currentColor; }
.foot-copy { max-width: 40ch; font-size: 15px; line-height: 1.5; color: #8a928e; }
.foot-copy span { color: var(--ink); }
.foot-copy.dark { color: var(--ink); }
.foot-col .tag { justify-self: start; }
.foot-links { padding: clamp(60px, 8vh, 100px) var(--gutter) 0; }
.foot-links nav { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 22px 0; border-top: 1px solid rgba(10, 14, 12, 0.1); border-bottom: 1px solid rgba(10, 14, 12, 0.1); font-size: 14px; }
.foot-links a { color: #59615d; transition: color 0.3s; }
.foot-links a:hover { color: var(--ink); }
.foot-legal { padding: 28px var(--gutter) 0; }
.foot-legal p { max-width: 110ch; font-size: 11.5px; line-height: 1.6; color: #8a928e; }
.foot-base { margin-top: 28px; display: flex; justify-content: space-between; gap: 16px; color: #8a928e; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .chrome-nav { display: none; }
  .intro-grid, .split-grid, .infra-grid, .foot-grid { grid-template-columns: 1fr; }
  .split-head .sticky, .infra-head { position: static; }
  .split-head .sticky { max-width: 12ch; }
  .stats-grid { grid-template-columns: 1fr; gap: 72px; }
  .stats::before { display: none; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .focus-item { padding-left: 0; }
  .focus-desc { opacity: 1; max-height: none; margin-top: 8px; margin-bottom: 22px; margin-left: 0; }
  .hero-scroll { display: none; }
  .foot-base { flex-direction: column; }
}
@media (max-width: 560px) {
  .chrome-logo { width: 112px; }
  .steps { grid-template-columns: 1fr; }
  .point { grid-template-columns: 1fr; row-gap: 18px; }
  .point i[data-icon] { grid-row: auto; }
  .stats-gp { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0ms !important; transition-duration: 0.001ms !important; }
  [data-text-fade] .split-in, [data-hero-title] .split-in, [data-words] .split-in, [data-line], [data-reveal] { opacity: 1 !important; transform: none !important; }
  [data-blink] { clip-path: none !important; }
}
