/* Paly AI Labs — site styles (v2)
   Motion grammar, measured from the reference and re-voiced:
   · quart in-out (.76,0,.24,1) for structure: lines, frames, panels, wipes
   · expo out (.16,1,.3,1) for text rising out of slots
   · things are never "already there": hairlines draw, the header bar and
     edge frame slide in over the image, text rises out of masked slots
   · Paly twist: 30° slanted page wipes, lime accents, springy diagram blocks */

:root {
  --bg: #0b110c;
  --bg-2: #111a13;
  --ink: #eef4ec;
  --mut: rgba(238, 244, 236, 0.58);
  --line: rgba(238, 244, 236, 0.15);
  --brand: #0f6712;
  --lime: #4be25a;
  --lime-2: #c6f432;
  --cream: #f2f5ee;
  --cream-ink: #0e1a10;
  --cream-mut: rgba(14, 26, 16, 0.58);
  --cream-line: rgba(14, 26, 16, 0.16);
  --ease: cubic-bezier(0.76, 0, 0.24, 1);   /* quart in-out */
  --ex: cubic-bezier(0.16, 1, 0.3, 1);      /* expo out */
  --qo: cubic-bezier(0.25, 1, 0.5, 1);      /* quart out */
  --c3: cubic-bezier(0.65, 0, 0.35, 1);     /* cubic in-out */
  --out: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --hdr: 64px;
  --edge: 20px;
  --cap: 0.72em; /* Manrope cap height: marks sit on the baseline and span exactly this */
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.cream { background: var(--cream); color: var(--cream-ink); }
html:has(body.cream) { background: var(--cream); color-scheme: light; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: left; }
::selection { background: var(--brand); color: #fff; }

/* ───────── slots: everything rises out of an overflow edge ───────── */
.w { display: inline-block; white-space: nowrap; }
.m {
  display: inline-block; overflow: hidden; vertical-align: top;
  padding: 0 0.05em 0.14em; margin: 0 -0.05em -0.14em;
}
.ltr {
  display: inline-block; will-change: transform;
  transform: translateY(115%) rotate(8deg); transform-origin: 0 100%;
  transition: transform 0.85s var(--qo); transition-delay: calc(var(--base, 0ms) + var(--i, 0) * 28ms);
}
.ready [data-split].in .ltr { transform: none; }
[data-scrub] .ltr { transition: none !important; }

/* a logo/mark that lives inline with a title: baseline-aligned, exactly cap-height tall */
.m.mk { vertical-align: baseline; padding: 0; margin: 0 0.16em 0 0; }
.mk .ltr { display: block; transform-origin: 0 100%; }
.mk img { display: block; height: var(--cap); width: auto; border-radius: 0.1em; }

/* generic slot for UI chrome (logo, nav items, buttons) */
.slot { display: inline-block; overflow: hidden; vertical-align: middle; padding: 6px; margin: -6px; }
.up { display: block; transform: translateY(115%); }
.go .up { transform: none; transition: transform 0.7s var(--ex); transition-delay: var(--d, 0ms); }

/* reveal blocks */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.72s var(--ex), transform 0.72s var(--ex); transition-delay: var(--d, 0ms);
}
.ready [data-reveal].in { opacity: 1; transform: none; }

/* words that rise + fade (28px), used for body copy */
.iw { display: inline-block; opacity: 0; transform: translateY(28px); }

/* per-letter roll (links) */
.r { position: relative; display: inline-block; overflow: hidden; vertical-align: top; }
.r b { display: block; font-weight: inherit; line-height: 1.3; transition: transform 0.45s var(--ease); transition-delay: var(--d); }
.r b.rn { position: absolute; left: 0; top: 0; transform: translateY(100%); color: var(--lime); }
.rl:hover .r b:not(.rn), .rl:focus-visible .r b:not(.rn) { transform: translateY(-100%); }
.rl:hover .r b.rn, .rl:focus-visible .r b.rn { transform: none; }
.cream .r b.rn { color: var(--brand); }

/* hairlines that draw in */
.fl { position: absolute; background: var(--line); pointer-events: none; }
.fl.h { height: 1px; transform: scaleX(0); }
.fl.v { width: 1px; transform: scaleY(0); transform-origin: top; }
.go .fl { transform: none; transition: transform 0.46s var(--ease); transition-delay: var(--d, 0ms); }
.fl.h.t { transform-origin: left; --d: 0ms; }
.fl.h.b { transform-origin: right; --d: 55ms; }
.fl.v.l { --d: 110ms; }
.fl.v.r { --d: 200ms; }

/* ───────── preloader (home, first visit): tagline conveys top → bottom ───────── */
#pre { position: fixed; inset: 0; z-index: 90; background: var(--bg); display: none; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
html.pre #pre { display: flex; }
.pre-mark { width: 30px; height: auto; overflow: visible; transition: opacity 0.4s var(--c3); }
.pre-mark polygon { fill: var(--lime); stroke: var(--lime); stroke-width: 6; stroke-linejoin: round; fill-opacity: 0; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pre-in .pre-mark polygon { animation: draw 1.1s var(--ease) forwards, fillin 0.5s var(--out) 0.85s forwards; }
.pre-out .pre-mark { opacity: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillin { to { fill-opacity: 1; } }
.pre-line { font-size: clamp(17px, 1.9vw, 24px); font-weight: 500; letter-spacing: -0.03em; white-space: nowrap; }
.pw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.1em 0.04em 0.2em; margin: -0.1em -0.04em -0.2em; }
.pi { display: inline-block; transform: translateY(-110%); }
.pre-in .pi { transform: none; transition: transform 0.73s var(--ex); transition-delay: calc(var(--i) * 100ms); }
.pre-out .pi { transform: translateY(110%); transition: transform 0.45s var(--c3); transition-delay: calc(var(--i) * 45ms); }
.pw + .pw { margin-left: 0.28em; }

/* ───────── page-to-page curtain (slanted wipe) ───────── */
#curtain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  background: var(--brand); display: grid; place-items: center;
  clip-path: polygon(0 130%, 100% 100%, 100% 100%, 0 100%);
}
html.covered #curtain { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); pointer-events: all; }
.cmark { width: 60px; height: auto; overflow: visible; }
.cmark polygon { fill: #fff; }

/* ───────── header: the bar itself slides in; its contents rise out of slots ───────── */
.hdr {
  position: fixed; inset: 0 0 auto 0; height: var(--hdr); z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--edge); background: var(--bg); border-bottom: 1px solid var(--line);
  transform: translateY(-100%);
}
.go .hdr { transform: none; transition: transform 0.9s var(--ease) 1.82s; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 30px; height: 30px; border-radius: 6px; transition: transform 0.5s var(--spring); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.bt { font-size: 15px; font-weight: 700; line-height: 1.02; letter-spacing: -0.03em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a.l { font-size: 14px; font-weight: 600; letter-spacing: -0.02em; color: var(--mut); transition: color 0.3s; }
.nav a.l:hover { color: var(--ink); }
.soc { display: flex; gap: 14px; align-items: center; }
.soc a { color: var(--mut); transition: color 0.3s, transform 0.4s var(--spring); }
.soc a:hover { color: var(--lime); transform: translateY(-2px) rotate(-6deg); }
.soc svg { width: 18px; height: 18px; fill: currentColor; }

.btn {
  display: inline-flex; align-items: center; gap: 0; height: 40px; padding: 0 16px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  font-size: 14px; font-weight: 600; letter-spacing: -0.02em; border-radius: 2px;
  transition: background 0.35s var(--out), border-color 0.35s, color 0.35s;
}
.btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn .arr { display: grid; grid-template-columns: 0fr; opacity: 0; transition: grid-template-columns 0.3s var(--out), opacity 0.3s var(--out); }
.btn .arr > span { overflow: hidden; }
.btn:hover .arr, .btn:focus-visible .arr { grid-template-columns: 1fr; opacity: 1; }
.btn .arr > span::before { content: "→"; display: inline-block; padding-left: 8px; }
.btn.solid { background: var(--brand); border-color: var(--brand); color: #fff; height: 48px; padding: 0 22px; font-size: 15px; }
.btn.solid:hover { background: var(--lime); border-color: var(--lime); color: #06200a; }
.btn.ghost { height: 48px; padding: 0 22px; font-size: 15px; }
.cream .btn { border-color: var(--cream-line); background: transparent; }
.cream .btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.cream .btn.solid { background: var(--brand); color: #fff; }
.cream .btn.solid:hover { background: var(--cream-ink); border-color: var(--cream-ink); color: #fff; }

/* ───────── hero ───────── */
.hero { height: 100dvh; min-height: 560px; position: relative; background: var(--bg); }
.hero-stage { position: relative; height: 100%; overflow: hidden; }
/* image opens from a centre seam, full-bleed … */
.hero-media { position: absolute; inset: 0; clip-path: inset(0 50%); background: #07140a; }
.go .hero-media { clip-path: inset(0); transition: clip-path 1.3s var(--ease) 0.7s; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; filter: saturate(0.9) contrast(1.02); }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 20, 8, 0.55) 0%, rgba(5, 20, 8, 0.08) 40%, rgba(5, 20, 8, 0.78) 100%),
    linear-gradient(90deg, rgba(15, 103, 18, 0.35), transparent 60%);
}
/* … then the frame closes in over it: edge bars slide in from outside */
.edge { position: absolute; background: var(--bg); z-index: 2; }
.edge.l { left: 0; top: 0; bottom: 0; width: var(--edge); transform: translateX(calc(var(--edge) * -1)); }
.edge.r { right: 0; top: 0; bottom: 0; width: var(--edge); transform: translateX(var(--edge)); }
.edge.b { left: 0; right: 0; bottom: 0; height: var(--edge); transform: translateY(var(--edge)); }
.go .edge { transform: none; transition: transform 0.9s var(--ease) 1.82s; }
.hero .fl { z-index: 3; }
.hero .fl.h.t { top: calc(var(--hdr) - 1px); left: 0; width: 100%; }
.hero .fl.h.b { bottom: calc(var(--edge) - 1px); left: 0; width: 100%; }
.hero .fl.v.l { left: calc(var(--edge) - 1px); top: var(--hdr); bottom: 0; }
.hero .fl.v.r { right: calc(var(--edge) - 1px); top: var(--hdr); bottom: 0; }

.hero-cap { position: absolute; z-index: 4; top: calc(var(--hdr) + 14px); left: calc(var(--edge) + 14px); max-width: 430px; }
.cap-panel { position: absolute; inset: 0; background: rgba(11, 17, 12, 0.92); border: 1px solid var(--line); border-radius: 2px; clip-path: inset(0 100% 100% 0); }
.go .cap-panel { clip-path: inset(0); transition: clip-path 0.85s var(--ease) 1.175s; }
.cap-text { position: relative; padding: 16px 18px; font-size: 15px; line-height: 1.55; letter-spacing: -0.01em; font-weight: 500; }
.go .iw { opacity: 1; transform: none; transition: transform 0.72s var(--ex), opacity 0.72s var(--ex); transition-delay: calc(1.82s + var(--i) * 14ms); }
.cap-text mark { color: #fff; background: var(--brand); padding: 1px 4px; margin: 0 -1px; border-radius: 2px; }

.hero-title {
  position: absolute; z-index: 4; right: calc(var(--edge) + 18px); bottom: calc(var(--edge) + 30px); white-space: nowrap;
  font-weight: 600; font-size: clamp(40px, 7.4vw, 104px); line-height: 1; letter-spacing: -0.055em;
}
.hero-title .ltr { transform: translateY(115%) scale(0.96) rotate(6deg); transition: transform 0.8s var(--qo); transition-delay: calc(130ms + var(--i) * 30ms); }
.go .hero-title .ltr { transform: none; }
.scroll-cue {
  position: absolute; z-index: 4; left: calc(var(--edge) + 18px); bottom: calc(var(--edge) + 18px); font: 500 11px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,.7);
  display: flex; align-items: center; gap: 10px; opacity: 0; transition: opacity 0.9s var(--ex) 3.4s;
}
.go .scroll-cue { opacity: 1; }
.scroll-cue i { width: 1px; height: 26px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 10px; background: var(--lime); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-10px); } to { transform: translateY(26px); } }

/* ───────── feature (scroll-pinned accordion) ───────── */
.feature { position: relative; height: 340vh; background: var(--bg); }
.feature-sticky {
  position: sticky; top: var(--hdr); height: calc(100dvh - var(--hdr));
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: center;
  gap: 32px; padding: 0 var(--edge) 0 0; margin: 0 var(--edge);
}
/* frame hairlines draw down when the section arrives */
.feature-sticky::before, .feature-sticky::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line);
  transform: scaleY(0); transform-origin: top; transition: transform 1.2s var(--ease);
}
.feature-sticky::before { left: 0; }
.feature-sticky::after { right: 0; transition-delay: 0.12s; }
.feature-sticky.in::before, .feature-sticky.in::after { transform: none; }
.rail { position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; pointer-events: none; z-index: 2; }
.rail i { position: absolute; inset: 0; background: var(--lime); transform-origin: top; transform: scaleY(var(--p, 0)); }
.rail b {
  position: absolute; left: -4px; top: calc(var(--p, 0) * 100%); width: 10px; height: 10px; margin-top: -5px;
  border-radius: 50%; background: var(--lime-2); box-shadow: 0 0 0 4px rgba(75, 226, 90, 0.18), 0 0 22px 4px rgba(75, 226, 90, 0.55);
}
.f-left { padding: 0 0 0 clamp(20px, 5vw, 72px); }
.f-left h2 {
  font-weight: 500; font-size: clamp(30px, 3.6vw, 54px); line-height: 1.04; letter-spacing: -0.045em; margin-bottom: clamp(24px, 5vh, 52px); max-width: 12.5em;
}
.f-left h2 .ltr { transform-origin: 0 100%; }
.f-left h2 em { font-style: normal; color: var(--lime); }
.acc { list-style: none; max-width: 440px; border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ex), transform 0.8s var(--ex); transition-delay: calc(var(--k, 0) * 90ms + 200ms); }
.feature-sticky.in .acc-item { opacity: 1; transform: none; }
.acc-item > button { display: flex; align-items: baseline; gap: 18px; width: 100%; padding: 15px 0; }
.acc-item .n { font: 500 11px/1 var(--mono); color: rgba(238, 244, 236, 0.4); width: 20px; flex: none; transition: color 0.5s; }
.acc-item .t { font-size: 22px; letter-spacing: -0.035em; font-weight: 500; color: rgba(238, 244, 236, 0.4); transition: color 0.5s var(--ease), transform 0.6s var(--ease); }
.acc-item[data-d="1"] .t { color: rgba(238, 244, 236, 0.65); }
.acc-item:hover .t { color: rgba(238, 244, 236, 0.8); }
.acc-item.on .t { color: var(--ink); transform: translateX(2px); }
.acc-item.on .n { color: var(--lime); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.8s var(--ease); }
.acc-item.on .acc-body { grid-template-rows: 1fr; }
.acc-body > div { overflow: hidden; padding-left: 38px; }
.acc-body p { color: var(--mut); font-size: 16px; line-height: 1.55; letter-spacing: -0.01em; padding-bottom: 18px; opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ex), transform 0.8s var(--ex); }
.acc-item.on .acc-body p { opacity: 1; transform: none; transition-delay: 0.3s; }
.acc-body .btn { margin-bottom: 20px; }
.f-right { position: relative; height: 100%; display: grid; place-items: center; min-width: 0; }
#iso { width: 100%; height: auto; max-height: calc(100dvh - var(--hdr) - 40px); overflow: visible; transition: transform 0.6s var(--out); }
#iso text { font: 500 7px var(--mono); fill: rgba(238, 244, 236, 0.62); letter-spacing: 0.04em; }
#iso .grp { transition: opacity 0.9s var(--ease), filter 0.9s var(--ease); }
#iso .grp.dim { opacity: 0.3; }
#iso .grp.hot { filter: drop-shadow(0 0 16px rgba(75, 226, 90, 0.38)); }
#iso .blk { opacity: 0; transform: translateY(-70px); }
#iso.in .blk { animation: grow 1.1s var(--spring) calc(var(--k) * 90ms) both; }
@keyframes grow { from { opacity: 0; transform: translateY(-70px); } to { opacity: 1; transform: none; } }
#iso .float { animation: bob 7s ease-in-out infinite alternate; }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-7px); } }

/* footer */
.ftr { border-top: 1px solid var(--line); margin: 0 var(--edge); padding: 56px 0 28px; }
.ftr-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.ftr-big { font-size: clamp(30px, 5vw, 64px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; max-width: 12em; }
.ftr-big em { font-style: normal; color: var(--lime); }
.ftr-links { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.ftr-links a { color: var(--mut); width: fit-content; }
.ftr-links a:hover { color: var(--ink); }
.ftr-bot { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--mut); font: 500 11px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }

/* ───────── inner pages (cream) ───────── */
.back {
  position: fixed; top: 22px; left: 28px; z-index: 60; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; transition: transform 0.5s var(--spring), background 0.3s, opacity 0.7s var(--ex) 0.6s; opacity: 0;
}
.go .back { opacity: 1; }
.back:hover { transform: translateX(-4px); background: rgba(14, 26, 16, 0.07); }
.back svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* page frame (hairlines drawn around the viewport) */
.pg-frame { position: fixed; inset: 0; z-index: 40; pointer-events: none; }
.pg-frame .fl { background: var(--cream-line); }
.pg-frame .fl.h { left: var(--edge); right: var(--edge); }
.pg-frame .fl.h.t { top: var(--edge); }
.pg-frame .fl.h.b { bottom: var(--edge); }
.pg-frame .fl.v { top: var(--edge); bottom: var(--edge); }
.pg-frame .fl.v.l { left: var(--edge); }
.pg-frame .fl.v.r { right: var(--edge); }

.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100dvh; }
.pane { position: sticky; top: 0; height: 100dvh; overflow: hidden; background: #07140a; clip-path: inset(0 50%); }
.go .pane { clip-path: inset(0); transition: clip-path 1.3s var(--ease) 0.15s; }
.pane img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 50%; transform: scale(1.15); transition: transform 2s var(--ex) 0.15s; }
.go .pane img { transform: scale(1); }
.pane .back { color: #fff; }
.pane .back:hover { background: rgba(255,255,255,.14); }
.pane figcaption { position: absolute; left: 24px; bottom: 22px; right: 24px; color: rgba(255,255,255,.85); font: 500 11px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.content { padding: 120px clamp(24px, 6vw, 96px) 120px; }
.eyebrow { font: 600 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); margin-bottom: 22px; }
.h-xl { font-weight: 500; font-size: clamp(44px, 7vw, 108px); letter-spacing: -0.06em; line-height: 0.95; margin-bottom: 28px; }
.lede { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: var(--cream-mut); max-width: 31em; letter-spacing: -0.01em; }
.sec-h { margin: 72px 0 4px; display: flex; align-items: center; gap: 14px; font: 600 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-mut); }
.sec-h::after { content: ""; flex: 1; height: 1px; background: var(--cream-line); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease) 0.2s; }
.sec-h.in::after { transform: scaleX(1); }
.row { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; padding: 22px 0; border-bottom: 1px solid var(--cream-line); position: relative; }
.row::before { content: ""; position: absolute; left: -14px; top: 22px; width: 3px; height: 0; background: var(--brand); border-radius: 2px; transition: height 0.5s var(--ease); }
.row:hover::before { height: 28px; }
.row h3 { font-size: 24px; letter-spacing: -0.04em; font-weight: 600; line-height: 1.15; transition: transform 0.5s var(--ease); }
.row:hover h3 { transform: translateX(6px); }
.row .role { color: var(--cream-ink); opacity: 0.8; font-size: 15px; font-weight: 600; letter-spacing: -0.015em; }
.row p { grid-column: 1; color: var(--cream-mut); font-size: 15px; letter-spacing: -0.01em; max-width: 34em; }
.row time { grid-column: 2; grid-row: 1; font: 500 12px/1.6 var(--mono); color: var(--cream-mut); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.tag { display: inline-block; font: 600 10px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 7px; border-radius: 2px; background: rgba(15, 103, 18, 0.1); color: var(--brand); margin-left: 8px; vertical-align: 3px; }
.page { padding: 120px clamp(24px, 4vw, 56px) 100px; max-width: 1200px; margin: 0 auto; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 32px; margin-top: 12px; }
.person { padding: 22px 0; border-bottom: 1px solid var(--cream-line); position: relative; overflow: hidden; }
.person .ph { width: 100%; aspect-ratio: 4/5; background: linear-gradient(160deg, #0f6712, #07140a); margin-bottom: 14px; position: relative; overflow: hidden; border-radius: 2px; }
.person .ph img { position: absolute; width: 38%; left: 31%; top: 30%; opacity: 0.9; transition: transform 0.8s var(--spring); }
.person:hover .ph img { transform: scale(1.18) rotate(-4deg); }
.person h3 { font-size: 20px; letter-spacing: -0.035em; font-weight: 600; }
.person span { color: var(--cream-mut); font-size: 14px; font-weight: 600; }

/* get involved: centred, framed */
.gi { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 96px 32px; }
.gi-title { font-weight: 500; font-size: clamp(48px, 9vw, 132px); letter-spacing: -0.055em; line-height: 1; white-space: nowrap; margin-bottom: 28px; }
.gi-title .ltr { --base: 130ms; }
.gi-sub { max-width: 30em; color: var(--cream-mut); font-size: clamp(15px, 1.3vw, 18px); line-height: 1.55; letter-spacing: -0.01em; }
.gi-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin-top: 32px; }
.gi-actions .soc a { color: var(--cream-mut); }
.gi-actions .soc a:hover { color: var(--brand); }
.gi-actions .soc { margin-left: 8px; }
.meta { margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; font: 600 12px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream-mut); }
.meta i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); margin-right: 8px; box-shadow: 0 0 0 3px rgba(75,226,90,.2); }

/* ───────── responsive ───────── */
@media (max-width: 899px) {
  :root { --edge: 14px; }
  .feature { height: auto; padding: 56px 0 24px; }
  .feature-sticky { position: relative; top: 0; height: auto; grid-template-columns: 1fr; padding: 0 var(--edge) 0 0; gap: 28px; }
  .rail { display: none; }
  .f-left { padding-left: 20px; }
  .acc-item .acc-body { grid-template-rows: 1fr; }
  .acc-item .t { color: var(--ink); }
  .acc-body p { opacity: 1; transform: none; }
  .nav .l, .soc { display: none; }
  .hero-title { right: calc(var(--edge) + 12px); }
  .scroll-cue { display: none; }
  .split { grid-template-columns: 1fr; }
  .pane { position: relative; height: 46dvh; }
  .content { padding: 48px 24px 80px; }
  .row { grid-template-columns: 1fr; }
  .row time { grid-column: 1; grid-row: auto; }
  .gi-title { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  #curtain, #pre { display: none !important; }
  *, *::before, *::after { transition-duration: 0.001ms !important; transition-delay: 0ms !important; animation-duration: 0.001ms !important; animation-delay: 0ms !important; }
  .ltr, .up, .iw, [data-reveal], .hero-media, .cap-panel, .pane, .pane img, .hdr, .edge, .fl, .acc-item { transform: none !important; opacity: 1 !important; clip-path: none !important; }
  #iso .blk { opacity: 1; transform: none; animation: none !important; }
  #iso .float, .scroll-cue i::after { animation: none; }
}

/* ───────── custom cursor ("blueprint marker") — see cursor.js ───────── */
html.cursor-ready, html.cursor-ready * { cursor: none !important; }
body { --cx-c: var(--lime); --cx-tag-bg: var(--lime); --cx-tag-ink: #06200a; }
body.cream { --cx-c: var(--brand); --cx-tag-bg: var(--brand); --cx-tag-ink: #fff; }
.cx, .cx-halo, .cx-tag, .cx-fx { position: fixed; left: 0; top: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s var(--ex); }
.cx-fx { opacity: 1; }
.cx { z-index: 9999; width: 0; height: 0; mix-blend-mode: difference; }
.cx-core { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 3px; background: #f4f1ea; transition: transform 0.4s var(--spring); }
.cx-halo { z-index: 9998; width: 0; height: 0; }
.cx-halo i { position: absolute; left: -15px; top: -15px; width: 30px; height: 30px; border-radius: 5px; border: 1.5px solid var(--cx-c); background: transparent; transition: background 0.35s var(--ease), border-color 0.35s, border-radius 0.35s var(--spring); }
.cx-tag {
  z-index: 9999; margin: 0; padding: 4px 7px; border-radius: 2px; background: var(--cx-tag-bg); color: var(--cx-tag-ink);
  font: 600 10px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; transition: opacity 0.25s var(--ex);
}
.cx-fx { z-index: 9997; }
.cx-fx i { position: fixed; border-radius: 1px; pointer-events: none; }
html.cx-on .cx, html.cx-on .cx-halo { opacity: 1; }
html.cx-on.cx-tagged .cx-tag { opacity: 1; }
html.cx-link .cx-core { transform: scale(0.45); }
html.cx-link .cx-halo i { background: color-mix(in srgb, var(--cx-c) 20%, transparent); border-radius: 9px; }
html.cx-down .cx-core { transform: scale(0.7); }
html.cx-coords .cx-halo i { border-style: dashed; }
@media (hover: none), (pointer: coarse) { .cx, .cx-halo, .cx-tag, .cx-fx { display: none; } }
