/* Super Intelligent Agents: /agents
   Solid near-black page, lit glass, Inter Tight + Playfair Display italic gold. */

@font-face{font-family:'Inter Tight';font-style:normal;font-weight:300 800;font-display:swap;src:url(/fonts/inter-tight-latin-var.woff2) format('woff2')}
@font-face{font-family:'Playfair Display';font-style:italic;font-weight:400 700;font-display:swap;src:url(/fonts/playfair-display-italic-latin-var.woff2) format('woff2')}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/playfair-display-latin-var.woff2) format('woff2')}

:root{
  --bg:#07070a;
  --ink:#f3eee4;
  --ink-2:#e2dbcd;
  --mute:#a7a091;
  --gold:#d9b76b;
  --gold-hi:#f0d79a;
  --gold-lo:#9c7a3c;
  --ivory:#f4efe4;
  --line:rgba(217,183,107,.18);
  --glass-fill:rgba(255,255,255,.055);
  --glass-border:rgba(255,255,255,.12);
  --glass-border-gold:rgba(217,183,107,.38);
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,'Liberation Mono',monospace;
  --ease:cubic-bezier(.22,1,.36,1);
}

*{box-sizing:border-box}
html{background:var(--bg);-webkit-text-size-adjust:100%;text-size-adjust:100%;overflow-x:clip;scroll-padding-top:88px}
.vh-probe{position:fixed;left:0;top:0;width:1px;height:100vh;height:100svh;visibility:hidden;pointer-events:none}
body{margin:0;background:var(--bg);color:var(--ink);font:400 17px/1.5 'Inter Tight',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;overflow-x:clip;-webkit-tap-highlight-color:transparent}
img,svg,video{display:block;max-width:100%}
a{color:inherit}
h1,h2,h3{margin:0;text-wrap:balance;font-weight:700}
p{margin:0}
ul{margin:0;padding:0;list-style:none}
figure{margin:0}
em{font-family:'Playfair Display',Georgia,'Times New Roman',serif;font-style:italic;font-weight:500;color:var(--gold);letter-spacing:-.005em}
:focus-visible{outline:2px solid var(--gold-hi);outline-offset:3px;border-radius:10px}
h1,h2,h3{scroll-margin-top:88px}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:-9999px;top:10px;z-index:100;background:var(--ivory);color:#111;padding:12px 18px;border-radius:10px;font-weight:700;text-decoration:none}
.skip:focus{left:12px}

/* ---------- mask icons (single color marks, recolored for the dark page) ---------- */
.ic{display:inline-block;width:1em;height:1em;flex:none;background:currentColor;
  -webkit-mask:var(--m) center/contain no-repeat;mask:var(--m) center/contain no-repeat}

/* ---------- glass recipes ----------
   Standard cards: one quiet recipe. Gold glow is reserved for the approval board, the featured routine and the join card.
   No backdrop blur on cards: they sit on a solid page, so blur only costs GPU time. */
.glass{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.14);border-radius:20px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 12px 28px rgba(0,0,0,.25)}
.glass-gold{
  background:rgba(22,19,14,.62);-webkit-backdrop-filter:blur(16px) saturate(1.2);backdrop-filter:blur(16px) saturate(1.2);
  border:1px solid var(--glass-border-gold);border-radius:20px;
  box-shadow:0 0 0 1px rgba(217,183,107,.10),inset 0 1px 0 rgba(240,215,154,.28),0 20px 48px rgba(0,0,0,.45)}

/* ---------- nav pill ---------- */
.nav{position:fixed;z-index:30;top:max(12px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);
  display:flex;align-items:center;gap:14px;width:max-content;max-width:calc(100% - 24px);padding:6px 6px 6px 8px;border-radius:999px;
  background:rgba(12,11,10,.84);border:1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 10px 30px rgba(0,0,0,.45)}
.nav-brand{display:flex;align-items:center;gap:10px;min-height:44px;padding-right:4px;text-decoration:none;border-radius:999px}
.nav-brand img{width:32px;height:32px;border-radius:50%}
.nav-brand span{font-size:14px;font-weight:650;letter-spacing:.01em;white-space:nowrap}
.nav-cta,.btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border-radius:999px;font-weight:700;color:#1a1408;white-space:nowrap;
  background:var(--gold);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 6px 16px rgba(0,0,0,.35);
  transition:transform .2s var(--ease),box-shadow .2s var(--ease);touch-action:manipulation}
.nav-cta{min-height:44px;padding:0 18px;font-size:14px}
.nav-cta:hover,.btn:hover{transform:translateY(-1px);box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 8px 20px rgba(0,0,0,.4)}

/* ---------- stage ----------
   Default (no JS, or agents.js failed): a static, readable stack of every scene in its final state.
   .js-ready (added by agents.js after it initializes): one fixed scene driven by scroll. */
.stage{position:relative;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:28px 22px;max-width:1100px;margin:0 auto;padding:8px 16px 56px;pointer-events:none}
.stage > div{position:relative}
.wires,.dial{display:none}
.stage > .core{order:-2;width:150px;height:150px;flex:none}
.stage > .orb{order:-1;width:52px;height:52px}
.stage > .panel{width:min(560px,100%)}
html:not(.js-ready) .shield{opacity:1}
html:not(.js-ready) .md[data-md="1"]{left:26%}
html:not(.js-ready) .md[data-md="2"]{left:49%}
html:not(.js-ready) .cv + .cv{display:none}
html:not(.js-ready) .watch,html:not(.js-ready) .br-done{opacity:1}

.js-ready .stage{position:fixed;left:0;top:0;right:0;bottom:0;z-index:1;display:block;max-width:none;margin:0;padding:0;overflow:hidden}
.js-ready .wires{display:block;position:absolute;left:0;top:0;width:100%}
.js-ready .dial{display:block}
.js-ready .stage > div{position:absolute;left:0;top:0;opacity:0;backface-visibility:hidden}
/* r13: no will-change here; Chrome keeps will-change layers at their first raster scale, which blurred scaled orbs at DPR2/3 */
.js-ready .stage > .core{width:var(--core,220px);height:var(--core,220px)}
.js-ready .stage > .orb{width:var(--orb,84px);height:var(--orb,84px)}

.core{border-radius:50%;
  box-shadow:0 0 0 1px rgba(240,215,154,.22),0 0 0 10px rgba(217,183,107,.045),0 24px 60px rgba(0,0,0,.6)}
.core img{width:100%;height:100%;border-radius:50%}
.orb{border-radius:50%;box-shadow:0 10px 26px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.10)}
.orb img{width:100%;height:100%;border-radius:50%}

/* 02 */
.tri{display:flex;align-items:center;gap:12px;padding:9px 20px 9px 9px;border-radius:999px;white-space:nowrap;
  background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),inset 0 0 18px rgba(255,255,255,.05),0 14px 34px rgba(0,0,0,.45)}
.tri-ic{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);color:var(--ink);font-size:22px}
.tri-ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tri-tx{display:flex;flex-direction:column;line-height:1.15}
.tri-tx b{font-size:19px;letter-spacing:.02em}
.tri-tx small{font-size:13px;color:var(--ink-2)}
.shield{position:absolute;inset:-11px;border-radius:999px;border:1.5px solid rgba(217,183,107,.6);background:rgba(217,183,107,.05);
  box-shadow:inset 0 0 18px rgba(217,183,107,.12);opacity:0}
.shield-badge{position:absolute;top:-14px;right:14px;display:flex;align-items:center;gap:6px;padding:3px 10px 3px 5px;border-radius:999px;
  background:#15120c;border:1px solid rgba(217,183,107,.55);font-size:12px;font-weight:650;color:var(--gold-hi)}
.shield-badge img{width:16px;height:16px}

/* panels */
.panel{width:var(--pw,560px)}
.chrome{display:flex;align-items:center;gap:7px;height:36px;padding:0 14px;border-bottom:1px solid rgba(255,255,255,.08)}
.chrome > i{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.2);flex:none}
.chrome > i:first-child{background:#e0796a}.chrome > i:nth-child(2){background:#e3bb5c}.chrome > i:nth-child(3){background:#7cc47a}
.chrome-title{margin-left:10px;font:500 12px/1 var(--mono);color:var(--mute)}
.cli-badge{margin-left:auto;padding:4px 8px;border-radius:6px;font:700 11px/1 var(--mono);letter-spacing:.12em;color:var(--gold-hi);background:rgba(217,183,107,.1);border:1px solid rgba(217,183,107,.45)}

/* 03 terminal */
.term{aspect-ratio:16/10;border-radius:18px;overflow:hidden;
  background:rgba(6,6,8,.72);border:1px solid rgba(255,255,255,.11);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  box-shadow:0 24px 60px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.12),inset 0 0 30px rgba(255,255,255,.03)}
.term-body{position:relative;height:calc(100% - 36px);overflow:hidden}
.code-bg{position:absolute;left:0;right:0;top:0;margin:0;padding:12px 18px;font:400 12px/1.75 var(--mono);color:#c8e6c0;opacity:.22;white-space:pre;pointer-events:none;
  animation:code-drift 40s linear infinite;animation-play-state:paused;
  -webkit-mask-image:linear-gradient(180deg,transparent,#000 22%,#000 78%,transparent);mask-image:linear-gradient(180deg,transparent,#000 22%,#000 78%,transparent)}
@keyframes code-drift{from{transform:translateY(0)}to{transform:translateY(-50%)}}
.term.run .code-bg{animation-play-state:running}
/* icon group: one row of 3 builders, then a centered row of 2, centered in the area above the command line */
.term-grid{position:absolute;left:0;right:0;top:0;bottom:46px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:0 4%}
.tt-row{display:flex;justify-content:center;width:100%;gap:2%}
.tt{flex:0 0 30%;max-width:150px;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--ink);text-shadow:0 1px 8px rgba(0,0,0,.9)}
.tt-ic{display:grid;place-items:center;width:58px;height:58px;border-radius:16px;font-size:28px;color:var(--ink);
  background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 10px 24px rgba(0,0,0,.45)}
.tt-ic img{width:28px;height:28px}
.tt-sm .tt-ic{width:46px;height:46px;border-radius:13px;font-size:22px}
.tt-sm .tt-ic img{width:22px;height:22px}
.tt-sm{font-size:12.5px;color:var(--ink-2)}
.term-line{position:absolute;left:16px;right:16px;bottom:12px;height:30px;display:flex;align-items:center;gap:8px;padding:0 12px;border-radius:9px;
  background:rgba(14,13,12,.94);border:1px solid rgba(255,255,255,.1);font:500 13px/1 var(--mono);color:var(--gold-hi);white-space:pre}
.term-line .pr{color:var(--gold)}
.typed span{opacity:0}

/* 04 browser */
.browser{aspect-ratio:16/10;border-radius:16px;overflow:hidden;
  background:rgba(18,16,12,.78);border:1px solid rgba(255,255,255,.11);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  box-shadow:0 24px 60px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.12)}
.browser .chrome{height:40px;padding-right:8px;border-bottom:0;background:rgba(0,0,0,.25)}
.tabs{position:relative;flex:1;align-self:flex-end;display:grid;grid-template-columns:repeat(4,1fr);height:32px;margin-left:12px}
.tab{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:6px;font-size:12.5px;font-weight:600;color:var(--mute);white-space:nowrap;overflow:hidden}
.tab .ic{font-size:13px}
.tab-more{color:var(--gold)}
.tab-hi{position:absolute;left:0;top:0;bottom:0;width:25%;border-radius:9px 9px 0 0;background:rgba(255,255,255,.085);border:1px solid rgba(255,255,255,.1);border-bottom:0}
.addr{display:flex;align-items:center;gap:8px;height:30px;margin:10px 14px 4px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.07);font-size:12px;color:var(--mute)}
.addr-dot{width:8px;height:8px;border-radius:50%;background:var(--gold)}
.br-body{position:relative;height:calc(100% - 84px)}
.cv{position:absolute;left:0;right:0;top:0;padding:12px 20px 0}
html:not(.js-ready) .cv{position:relative}
.msg.me{display:flex;align-items:center;gap:10px}
.msg.me img{width:30px;height:30px;border-radius:50%;flex:none}
.msg.me span{padding:9px 14px;border-radius:14px 14px 14px 4px;font-size:14px;background:rgba(217,183,107,.12);border:1px solid rgba(217,183,107,.3);color:var(--ink)}
.msg.ai{margin:14px 0 0 40px;max-width:78%;padding:10px 14px 12px;border-radius:14px 14px 4px 14px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12)}
.msg.ai b{display:block;margin-bottom:4px;font-size:12px;font-weight:700;letter-spacing:.04em;color:var(--gold)}
.reply{margin:0;font-size:14px;line-height:1.4;color:var(--ink);min-height:2.8em}
.reply span{opacity:0}
.br-done{position:absolute;right:16px;bottom:14px;display:flex;align-items:center;gap:6px;padding:6px 12px 6px 8px;border-radius:999px;font-size:12px;font-weight:650;color:var(--gold-hi);
  background:rgba(217,183,107,.12);border:1px solid rgba(217,183,107,.4);opacity:0}
.br-done svg,.gh-ok svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* 05 tools */
.tool{display:flex;flex-direction:column;align-items:center;gap:7px}
.tl-disc{display:grid;place-items:center;width:60px;height:60px;border-radius:50%;font-size:27px;color:var(--ink);
  background:#15130f;border:1px solid rgba(255,255,255,.15);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 12px 28px rgba(0,0,0,.5)}
.tl-disc img{width:28px;height:28px}
.tl-disc.wm{width:auto;height:46px;padding:0 18px;border-radius:999px}
.tl-disc.wm img{width:auto;height:18px}
.tl-disc.light img{height:24px}
.tool small{font-size:12.5px;font-weight:600;color:var(--ink-2)}
.tool[data-tool="1"] .tl-disc{color:#2d8cff}

/* 06 memory */
.mem{aspect-ratio:16/9}
.md{position:absolute;left:3%;top:14%;width:30%;aspect-ratio:3/4;padding:12px;border-radius:14px;
  background:rgba(255,255,255,.065);border:1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 18px 36px rgba(0,0,0,.5);transform-origin:50% 100%}
.md-h{display:flex;align-items:center;gap:6px;margin-bottom:12px;font:600 12px/1 var(--mono);color:var(--gold-hi)}
.md-h svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}
.md i{display:block;height:6px;margin-top:9px;border-radius:3px;background:rgba(255,255,255,.14)}
.md i:nth-of-type(2){width:82%}.md i:nth-of-type(3){width:64%}.md i:nth-of-type(4){width:74%}
.sync{position:absolute;left:66%;top:50%;width:10%;height:8px;margin-top:-4px}
.sync i{position:absolute;left:0;top:0;width:8px;height:8px;border-radius:50%;background:var(--gold-hi);box-shadow:none;opacity:0}
.gh{position:absolute;right:2%;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;gap:10px}
.gh-disc{position:relative;display:grid;place-items:center;width:84px;height:84px;border-radius:50%;
  background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 16px 34px rgba(0,0,0,.5)}
.gh-disc img{width:42px;height:42px}
.gh-ok{position:absolute;right:-4px;bottom:-2px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--gold);color:#1a1408;box-shadow:0 0 0 3px var(--bg);opacity:0}
.gh small{font-size:12.5px;font-weight:600;color:var(--ink-2);white-space:nowrap}

/* 07 dial */
.dial{width:var(--dial,520px);height:var(--dial,520px)}
.dial-ring{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.dial-ring circle{fill:none;stroke:rgba(217,183,107,.28);stroke-width:.6}
.dial-ring .dial-ticks{stroke:rgba(217,183,107,.45);stroke-width:4;stroke-dasharray:.6 9.45}
.hand{position:absolute;left:50%;top:50%;width:50%;height:2px;margin-top:-1px;transform-origin:0 50%}
.hand i{position:absolute;left:28%;right:0;top:0;height:2px;border-radius:2px;background:rgba(240,215,154,.9)}
.hand i::after{content:"";position:absolute;right:-6px;top:-5px;width:12px;height:12px;border-radius:50%;background:var(--gold-hi);box-shadow:none}
.rpill{position:absolute;display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 14px;border-radius:14px;transform:translate(-50%,-50%);white-space:nowrap;
  font-size:13.5px;font-weight:650;color:var(--ink);text-align:center;
  background:rgba(20,18,13,.94);border:1px solid rgba(255,255,255,.16);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 12px 28px rgba(0,0,0,.5);transition:border-color .25s,background-color .25s,box-shadow .25s}
.rpill.on{background:rgba(44,36,20,.96);border-color:rgba(217,183,107,.75);box-shadow:inset 0 1px 0 rgba(240,215,154,.3),0 12px 28px rgba(0,0,0,.5)}
.rpill b{font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--gold)}

/* approval board */
.board{padding:14px;border-radius:22px;
  background:rgba(16,14,11,.82);-webkit-backdrop-filter:blur(16px) saturate(1.2);backdrop-filter:blur(16px) saturate(1.2);border:1px solid var(--glass-border-gold);
  box-shadow:0 0 0 1px rgba(217,183,107,.10),inset 0 1px 0 rgba(240,215,154,.24),0 24px 60px rgba(0,0,0,.55)}
.board-h{display:flex;align-items:center;gap:9px;padding:2px 4px 12px;font-size:15px}
.board-h .ic{font-size:18px;color:var(--ink)}
.watch{margin-left:auto;display:flex;align-items:center;gap:7px;padding:5px 11px;border-radius:999px;font-size:12px;font-weight:650;color:var(--gold-hi);
  background:rgba(217,183,107,.12);border:1px solid rgba(217,183,107,.42);opacity:0}
.watch-dot{width:7px;height:7px;border-radius:50%;background:var(--gold-hi);box-shadow:0 0 8px rgba(240,215,154,.9)}
.cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.col{position:relative;display:flex;flex-direction:column;padding:8px;border-radius:14px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.06);min-height:236px}
.col-h{display:flex;align-items:center;gap:7px;height:20px;margin-bottom:8px;font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--mute);white-space:nowrap;overflow:hidden}
.pip{width:8px;height:8px;border-radius:50%}
.p0{background:#e3a95c}.p1{background:#7fb6e8}.p2{background:#7cc79a}
.kcard,.slot{flex:none;height:58px;margin-bottom:8px;border-radius:11px}
.kcard{display:flex;flex-direction:column;justify-content:center;gap:6px;padding:0 11px;overflow:hidden;
  background:rgba(32,29,22,.92);border:1px solid rgba(255,255,255,.11);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 6px 14px rgba(0,0,0,.35)}
.kcard b{font-size:13px;font-weight:650;white-space:nowrap}
.tag{align-self:flex-start;justify-self:start;padding:2px 8px;border-radius:999px;font-size:10.5px;font-weight:700;white-space:nowrap}
.t0{background:rgba(227,169,92,.16);color:#f0c486}.t1{background:rgba(127,182,232,.16);color:#a9d0f2}.t2{background:rgba(124,199,154,.16);color:#a6dfbd}
.slot.ghost{border:1px dashed rgba(255,255,255,.16);opacity:0}
.col > .slot:not(.ghost){border:1px dashed rgba(255,255,255,.12)}
.hint{margin:auto 0 0;padding:8px;border-radius:10px;text-align:center;font-size:12px;font-weight:600;line-height:1.3;color:var(--gold-hi);border:1px dashed rgba(217,183,107,.5);background:rgba(217,183,107,.06)}
.mover{position:absolute;left:8px;right:8px;top:36px;z-index:3;background:#2c261a;border-color:rgba(217,183,107,.45)}
.tags{display:grid}
.tags .tag{grid-area:1/1}
.mover .t1,.mover .t2{opacity:0}
.cursor{position:absolute;right:12px;bottom:4px;width:20px;height:20px;fill:#fff;stroke:#111;stroke-width:1.2;stroke-linejoin:round;opacity:0}

/* ---------- story beats ----------
   Default: static stacked headlines. Under .js-ready each beat's copy is pinned (fixed) and agents.js sets its
   opacity and translateY from the same story time as the scene. Headings are never visibility:hidden. */
.story{position:relative;z-index:2}
.beat{position:relative}
.pin{padding:44px 22px}
html:not(.js-ready) .beat.hero .pin{padding-top:120px}
.copy{max-width:720px;margin:0 auto;text-align:center}
.js:not(.js-ready) .story{opacity:0;animation:show-static 0s 3s forwards}
@keyframes show-static{to{opacity:1}}

.js-ready .beat{height:125vh;height:125svh}
.js-ready .beat.hero{height:110vh;height:110svh}
.js-ready .beat.last{height:150vh;height:150svh}
.js-ready .pin{position:fixed;left:0;right:0;top:0;z-index:2;height:100vh;height:100svh;display:flex;align-items:center;padding:0;pointer-events:none}
.js-ready .copy{margin:0 0 0 56vw;width:min(540px,38vw);max-width:none;text-align:left}
.js-ready .hero .copy{width:min(620px,40vw)}
.eyebrow{display:inline-flex;align-items:center;gap:12px;font-size:13px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--gold)}
.eyebrow::before{content:"";width:28px;height:1px;background:var(--gold);opacity:.75}
h1{margin-top:18px;font-size:clamp(40px,3.9vw,64px);line-height:1.02;letter-spacing:-.035em;font-weight:720}
h1 em{display:inline;font-weight:500;letter-spacing:-.02em;padding-bottom:.06em}
.cue{display:flex;align-items:center;gap:12px;margin-top:34px;font-size:12px;font-weight:600;letter-spacing:.24em;text-transform:uppercase;color:var(--mute)}
.cue span{width:1px;height:34px;background:var(--gold);opacity:.6}
.n{display:flex;align-items:center;gap:12px;margin-bottom:16px;font-size:13px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--gold)}
.n::after{content:"";width:40px;height:1px;background:var(--gold);opacity:.75}
.beat h2{font-size:clamp(30px,3.15vw,50px);line-height:1.08;letter-spacing:-.03em;font-weight:700}
.beat h2 em{font-weight:500;letter-spacing:-.015em}

/* ---------- centered column (demo and below) ---------- */
.sec{position:relative;z-index:2;padding:clamp(64px,10vh,128px) 20px;text-align:center}
.sec > h2{max-width:900px;margin:0 auto;font-size:clamp(34px,4.3vw,62px);line-height:1.06;letter-spacing:-.035em}
.sec > h2 em{font-weight:500;letter-spacing:-.015em}
.demo{padding-top:clamp(72px,14vh,140px)}
.vframe{max-width:1080px;margin:clamp(28px,4vw,48px) auto 0;padding:10px;border-radius:26px;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.13);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 30px 80px rgba(0,0,0,.6),0 0 0 1px rgba(217,183,107,.08)}
.vframe video{width:100%;height:auto;aspect-ratio:16/9;border-radius:17px;background:#000}

/* ---------- letter from Elliott (personal sheet, distinct from cards) ---------- */
@font-face{font-family:'Great Vibes';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/great-vibes-latin.woff2) format('woff2')}

.letter-s{
  padding-top:clamp(96px,12vh,140px);
  padding-bottom:clamp(24px,4vh,48px);
  scroll-margin-top:112px;
}
.letter{
  --letter-pad:clamp(28px,4.2vw,64px);
  position:relative;
  scroll-margin-top:112px;
  max-width:min(760px,92vw);
  margin:0 auto;
  padding:var(--letter-pad);
  text-align:left;
  border-radius:28px;
  overflow:hidden;
  /* warmer glass sheet, gold edge, soft paper glow */
  background:rgba(20,18,15,.72);
  border:1px solid rgba(217,183,107,.28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    inset 0 0 0 1px rgba(255,255,255,.04),
    0 24px 64px rgba(0,0,0,.45),
    0 0 0 1px rgba(217,183,107,.06);
}
.letter::before{
  content:"";
  position:absolute;inset:0;pointer-events:none;border-radius:inherit;z-index:0;
  opacity:.35;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.9 0 0 0 0 0.8 0 0 0 0.07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode:soft-light;
}
.letter::after{
  content:"";
  position:absolute;left:var(--letter-pad);right:var(--letter-pad);top:0;height:1px;z-index:1;pointer-events:none;
  background:rgba(240,215,154,.32);
}
.letter-head,.letter-body,.letter-foot,.lv{position:relative;z-index:1}
.letter-head{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-bottom:clamp(20px,2.4vw,28px)}
.letter-eyebrow{
  margin:0;font-size:12px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--gold);
}
.letter h2{
  font-size:clamp(28px,3.4vw,44px);line-height:1.08;letter-spacing:-.03em;margin:0;
}
.letter-body{display:flex;flex-direction:column;gap:0}
.letter p{
  font-size:clamp(17px,.55vw + 15.2px,21.5px);
  line-height:1.72;
  color:var(--ink-2);
  max-width:62ch;
}
.letter-body > p + p{margin-top:clamp(14px,1.6vw,20px)}
.letter .lead::first-letter{
  float:left;
  font-family:'Playfair Display',Georgia,serif;
  font-style:italic;
  font-weight:600;
  font-size:3.15em;
  line-height:.82;
  padding:.08em .12em 0 0;
  color:var(--gold-hi);
  text-shadow:none;
}
.letter .pull{ /* r11: gold ink + underline only, no highlight wash */
  color:var(--gold-hi);
  background:none;
  text-decoration:underline;
  text-decoration-color:rgba(217,183,107,.9);
  text-decoration-thickness:1.6px;
  text-underline-offset:.22em;
  text-decoration-skip-ink:auto;
}
.letter .pull .u{text-decoration:none} /* the pull already carries the underline; avoid a double line */
.letter-foot{margin-top:clamp(26px,3vw,36px);padding-top:clamp(18px,2vw,24px)}
.letter .sign{margin:0;line-height:1}


/* letter emphasis (human letter marks, not links) */
.letter strong{font-weight:750;color:var(--ink);letter-spacing:-.01em}
.letter i.lit{font-style:italic;font-family:inherit;font-weight:500;color:var(--ink)}
.letter .u{
  color:inherit;
  text-decoration:underline;
  text-decoration-color:rgba(217,183,107,.9);
  text-decoration-thickness:1.6px;
  text-underline-offset:.22em;
  text-decoration-skip-ink:auto;
}
.letter a .u{text-decoration:none} /* safety */

/* paragraph reveal: transform/opacity only; parent .rv still fades the sheet */
.js-ready .letter:not(.is-in) .letter-body > p,
.js-ready .letter:not(.is-in) .letter-head,
.js-ready .letter:not(.is-in) .lv,
.js-ready .letter:not(.is-in) .letter-foot{
  opacity:0;
  transform:translate3d(0,14px,0);
}
.js-ready .letter.is-in .letter-body > p,
.js-ready .letter.is-in .letter-head,
.js-ready .letter.is-in .lv,
.js-ready .letter.is-in .letter-foot{
  opacity:1;
  transform:none;
  transition:opacity .55s var(--ease),transform .55s var(--ease);
}
.js-ready .letter.is-in .letter-head{transition-delay:.08s}
.js-ready .letter.is-in .letter-body > p:nth-child(1){transition-delay:.06s}
.js-ready .letter.is-in .letter-body > p:nth-child(2){transition-delay:.11s}
.js-ready .letter.is-in .letter-body > p:nth-child(3){transition-delay:.16s}
.js-ready .letter.is-in .letter-body > p:nth-child(4){transition-delay:.21s}
.js-ready .letter.is-in .letter-body > p:nth-child(5){transition-delay:.26s}
.js-ready .letter.is-in .letter-body > p:nth-child(6){transition-delay:.31s}
.js-ready .letter.is-in .letter-body > p:nth-child(7){transition-delay:.36s}
.js-ready .letter.is-in .letter-body > p:nth-child(8){transition-delay:.41s}
.js-ready .letter.is-in .letter-body > p:nth-child(9){transition-delay:.46s}
.js-ready .letter.is-in .letter-body > p:nth-child(10){transition-delay:.51s}
.js-ready .letter.is-in .lv{transition-delay:0s}
.js-ready .letter.is-in .letter-foot{transition-delay:.62s}

@media (min-width:860px){
  .letter{max-width:min(760px,94vw);padding:clamp(40px,5vw,68px) clamp(44px,5.5vw,72px)}
  .letter p{font-size:clamp(19px,.4vw + 16.5px,21.5px);line-height:1.74}
}
@media (min-width:1280px){
  .letter{max-width:760px}
}
@media (min-width:1600px){
  .letter{max-width:780px;padding:68px 76px}
  .letter p{font-size:22px}
}

@media (max-width:859px){
  .letter-s{padding-top:108px;scroll-margin-top:108px}
  .letter{scroll-margin-top:108px}
  .letter{max-width:100%;border-radius:24px;padding:clamp(24px,6vw,32px)}
  .letter h2{font-size:clamp(26px,7vw,34px)}
  .letter p{font-size:17.5px;line-height:1.7;max-width:none}
}
@media (max-width:520px){
  .letter-s{padding-top:100px;scroll-margin-top:100px}
  .letter{scroll-margin-top:100px}
  .letter{padding:22px 18px 26px;border-radius:22px}
  .letter p{font-size:17px;line-height:1.68}
  .letter .lead::first-letter{font-size:2.85em;padding-right:.1em}
}
@media (max-width:380px){
  .letter{padding:20px 16px 24px}
  .letter p{font-size:16.5px}
}

@media (prefers-reduced-motion:reduce){
  .js-ready .letter:not(.is-in) .letter-body > p,
  .js-ready .letter:not(.is-in) .letter-head,
  .js-ready .letter:not(.is-in) .letter-foot,
  .js-ready .letter:not(.is-in) .lv,
  .js-ready .letter.is-in .lv,
  .js-ready .letter.is-in .letter-body > p,
  .js-ready .letter.is-in .letter-head,
  .js-ready .letter.is-in .letter-foot{
    opacity:1!important;transform:none!important;transition:none!important
  }
}

.cards3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;max-width:1140px;margin:0 auto}
.c3{padding:20px 20px 24px;text-align:left;display:flex;flex-direction:column}
.c3-art{position:relative;height:210px;margin-bottom:20px;border-radius:16px;background:rgba(0,0,0,.25);border:1px solid rgba(255,255,255,.06);overflow:hidden}
.c3 h3{font-size:clamp(21px,1.8vw,25px);line-height:1.15;letter-spacing:-.02em}
.c3-tag{display:inline-flex;align-items:center;gap:7px;margin-top:12px;padding:5px 11px 5px 8px;border-radius:999px;font-size:13px;font-weight:650;color:var(--mute);
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.09)}
.c3-tag img,.c3-tag .ic{width:16px;height:16px;font-size:16px;color:var(--ink)}
.c3-tag.gold{color:var(--gold-hi);border-color:rgba(217,183,107,.35);background:rgba(217,183,107,.08)}
.c3-tag.gold img{width:18px;height:18px;border-radius:50%}
.c3-hub{border-color:rgba(217,183,107,.32)}
.win{position:absolute;left:14%;right:14%;top:22%;bottom:10%;border-radius:12px;padding:0 12px 12px;
  background:rgba(30,28,24,.96);border:1px solid rgba(255,255,255,.13);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 14px 30px rgba(0,0,0,.5)}
.win.w2{background:rgba(24,22,19,.96)}
.win.w3{background:rgba(19,18,16,.96)}
.wbar{display:flex;align-items:center;gap:7px;height:30px;margin:0 -12px 10px;padding:0 12px;border-bottom:1px solid rgba(255,255,255,.08);font-size:12px;font-weight:650;color:var(--ink)}
.wbar .ic,.wbar img{width:14px;height:14px;font-size:14px}
.win > i{display:block;height:8px;margin-top:9px;border-radius:4px;background:rgba(255,255,255,.12);width:70%}
.win > i.b{height:18px;width:62%;border-radius:9px;background:rgba(255,255,255,.1)}
.win > i.b.r{margin-left:auto;width:48%;background:rgba(255,255,255,.17)}
.term-stack .win{background:rgba(10,10,12,.96)}
.term-stack .win.w2{background:rgba(14,14,16,.96)}
.term-stack .win.w3{background:rgba(18,18,20,.96)}
.term-stack code{display:block;margin-top:6px;font:500 11.5px/1.5 var(--mono);color:#c8e6c0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.term-stack code.dim{color:var(--gold-hi)}
.hubart{--rot:0deg}
.hcore,.hb{position:absolute;left:50%;top:50%;border-radius:50%}
.hcore{width:84px;height:84px;margin:-42px 0 0 -42px;box-shadow:0 0 0 1px rgba(240,215,154,.3)}
.hcore img,.hb img{width:100%;height:100%;border-radius:50%}
.hb{width:40px;height:40px;margin:-20px 0 0 -20px;transform:rotate(calc(var(--a) + var(--rot))) translate(80px) rotate(calc(-1 * (var(--a) + var(--rot))))}
.hubart::before{content:"";position:absolute;left:50%;top:50%;width:160px;height:160px;margin:-80px 0 0 -80px;border-radius:50%;border:1px dashed rgba(217,183,107,.3)}

.bots-s{padding-bottom:clamp(28px,4vh,48px)}
.bots{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:780px;margin:clamp(28px,4vw,44px) auto 0}
.bt{display:flex;flex-direction:column;align-items:center;gap:12px;padding:22px 10px 20px;border-radius:22px}
.bt img{width:76px;height:76px;border-radius:50%;box-shadow:0 10px 24px rgba(0,0,0,.45)}
.bt b{font-size:15.5px;font-weight:650;line-height:1.2}

.more-s{padding-top:clamp(28px,4vh,48px)}
.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;max-width:1000px;margin:clamp(26px,4vw,40px) auto 0}
.chip{display:inline-flex;align-items:center;gap:11px;min-height:52px;padding:8px 18px 8px 8px;border-radius:999px;font-size:15.5px;font-weight:600}
.chip-ics{display:flex;align-items:center;gap:8px;height:36px;padding:0 10px;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08);font-size:18px;color:var(--ink)}
.chip-ics img{width:20px;height:20px}
.chip-ics img.wmk{width:auto;height:13px}
.chip-ics.light img.wmk{height:17px}
.chip-ics svg{width:19px;height:19px;fill:none;stroke:var(--gold-hi);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.brand-fb{color:#3b8cff}.brand-ig{color:#f0567a}.brand-yt{color:#ff3d3d}.brand-li{color:#4a9be6}.brand-meta{color:#2d8cff}

.routines{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;max-width:1200px;margin:clamp(30px,4vw,48px) auto 0;text-align:left}
.rt{display:flex;flex-direction:column;gap:8px;padding:20px 20px 22px;border-radius:20px}
.rt b{display:flex;align-items:center;gap:8px;font-size:16.5px;font-weight:700;line-height:1.25;letter-spacing:-.01em}
.rt span{font-size:14.5px;line-height:1.5;color:var(--mute)}
.rt-gold b{color:var(--gold-hi)}
.rt-gold b img{width:18px;height:18px}
.rt-gold span{color:var(--ink-2)}

.join-s{padding-top:clamp(40px,6vh,72px)}
.join{max-width:640px;margin:0 auto;padding:clamp(32px,5vw,52px) clamp(22px,5vw,52px) clamp(30px,4vw,44px);border-radius:30px}
.join-bot{width:96px;height:96px;margin:0 auto 22px;border-radius:50%;box-shadow:0 0 0 1px rgba(240,215,154,.3)}
.join h2{font-size:clamp(32px,3.8vw,48px);line-height:1.06;letter-spacing:-.035em}
.join h2 em{display:block;font-weight:500}
.join-line{margin-top:16px;font-size:clamp(17px,1.5vw,19px);color:var(--ink-2)}
.price{margin-top:22px;font-size:clamp(48px,5vw,62px);font-weight:750;line-height:1;letter-spacing:-.04em}
.price span{font-size:18px;font-weight:600;letter-spacing:0;color:var(--mute);margin-left:4px}
.btn{min-height:58px;margin-top:26px;padding:0 34px;font-size:17px}
.price-note{margin-top:10px;font-size:14px;color:var(--mute)}
.aff-note{margin-top:12px;font-size:12.5px;color:var(--mute)}
.aff-note a{color:var(--mute);text-decoration:underline;text-underline-offset:3px}
.aff-note a:hover{color:var(--ink-2)}
.fine{margin-top:8px;font-size:13.5px;color:var(--mute)}

.foot{position:relative;z-index:2;max-width:880px;margin:0 auto;padding:36px 20px calc(48px + env(safe-area-inset-bottom));border-top:1px solid var(--line);text-align:center}
.foot nav{display:flex;flex-wrap:wrap;justify-content:center;gap:0 22px;margin-bottom:12px}
.foot nav a{display:inline-flex;align-items:center;min-height:44px;font-size:14.5px;font-weight:600;text-decoration:underline;text-decoration-color:rgba(217,183,107,.4);text-underline-offset:4px}
.foot nav a:hover{text-decoration-color:var(--gold)}
.foot p{font-size:13px;line-height:1.6;color:var(--mute)}
.foot p + p{margin-top:6px}

/* ---------- tablet ---------- */
@media (max-width:1100px){
  .routines{grid-template-columns:repeat(3,1fr)}
}

/* ---------- phone / small tablet: scene on top, words below ---------- */
@media (max-width:859px){
  /* scene owns the top 54% of the viewport (agents.js keeps every hanging label inside it);
     copy is pinned below at 55.5svh + 24px padding, faded in by a top mask so nothing overlaps. */
  .js-ready .beat{height:115vh;height:115svh}
  .js-ready .beat.hero{height:110vh;height:110svh}
  .js-ready .beat.last{height:140vh;height:140svh}
  .js-ready .pin{top:55.5vh;top:55.5svh;height:44.5vh;height:44.5svh;align-items:flex-start;justify-content:center;padding:24px 22px 0;overflow:hidden;
    -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 20px);mask-image:linear-gradient(180deg,transparent 0,#000 20px)}
  .js-ready .copy,.js-ready .hero .copy{margin:0;width:100%;max-width:520px;text-align:center}
  .eyebrow{font-size:12px;letter-spacing:.2em}
  .eyebrow::before{display:none}
  h1{margin-top:10px;font-size:clamp(30px,8.6vw,42px)}
  .cue{justify-content:center;margin-top:16px}
  .cue span{height:20px}
  .n{justify-content:center;margin-bottom:10px;font-size:12px}
  .n::before{content:"";width:28px;height:1px;background:var(--gold);opacity:.75}
  .n::after{width:28px}
  .beat h2{font-size:clamp(24px,7vw,34px);line-height:1.12}

  .tri{gap:8px;padding:6px 13px 6px 6px}
  .tri-ic{width:34px;height:34px;font-size:17px}
  .tri-ic svg{width:17px;height:17px}
  .tri-tx b{font-size:15px}
  .tri-tx small{font-size:12px}
  .shield{inset:-8px}
  .shield-badge{top:-12px;right:8px;font-size:11px;padding:2px 8px 2px 4px}
  .shield-badge img{width:13px;height:13px}

  .chrome{height:30px;padding:0 10px;gap:5px}
  .chrome > i{width:8px;height:8px}
  .chrome-title{font-size:11px;margin-left:6px}
  .cli-badge{font-size:10px;padding:3px 6px}
  .term{aspect-ratio:16/11;border-radius:14px}
  .term-body{height:calc(100% - 30px)}
  .code-bg{font-size:10px;padding:8px 12px}
  .term-grid{bottom:38px;gap:12px}
  .tt{gap:5px;font-size:12px}
  .tt-ic{width:42px;height:42px;border-radius:12px;font-size:20px}
  .tt-ic img{width:20px;height:20px}
  .tt-sm .tt-ic{width:36px;height:36px;border-radius:10px;font-size:17px}
  .tt-sm .tt-ic img{width:17px;height:17px}
  .tt-sm{font-size:12px}
  .term-line{left:10px;right:10px;bottom:9px;height:24px;font-size:11.5px;padding:0 9px}

  .browser{aspect-ratio:16/11;border-radius:13px}
  .browser .chrome{height:32px}
  .tabs{height:26px;margin-left:6px}
  .tab{font-size:10.5px;gap:4px}
  .tab .ic{font-size:10.5px}
  .addr{height:24px;margin:7px 10px 2px;font-size:11px}
  .br-body{height:calc(100% - 65px)}
  .cv{padding:8px 12px 0}
  .msg.me{gap:8px}
  .msg.me img{width:24px;height:24px}
  .msg.me span{font-size:12px;padding:7px 10px}
  .msg.ai{margin:10px 0 0 32px;max-width:86%;padding:7px 10px 9px}
  .msg.ai b{font-size:11px;margin-bottom:2px}
  .reply{font-size:12.5px}
  .br-done{right:10px;bottom:9px;font-size:11px;padding:4px 9px 4px 6px}

  .tl-disc{width:46px;height:46px;font-size:21px}
  .tl-disc img{width:22px;height:22px}
  .tl-disc.wm{height:38px;padding:0 13px}
  .tl-disc.wm img{height:14px}
  .tl-disc.light img{height:19px}
  .tool{gap:4px}
  .tool small{font-size:12px}

  .md{padding:8px;border-radius:10px}
  .md-h{font-size:10.5px;margin-bottom:8px;gap:4px}
  .md-h svg{width:11px;height:11px}
  .md i{height:4px;margin-top:6px}
  .gh-disc{width:60px;height:60px}
  .gh-disc img{width:30px;height:30px}
  .gh-ok{width:22px;height:22px}
  .gh small{font-size:12px}

  .rpill{padding:5px 9px;font-size:12px;border-radius:11px}
  .rpill b{font-size:10px}

  .board{padding:9px;border-radius:16px}
  .board-h{padding:0 2px 8px;font-size:13px;gap:6px}
  .board-h .ic{font-size:14px}
  .watch{font-size:11px;padding:3px 8px;gap:5px}
  .cols{gap:6px}
  .col{padding:5px;border-radius:10px;min-height:196px}
  .col-h{font-size:10.5px;letter-spacing:.02em;text-transform:none;gap:4px;height:16px;margin-bottom:6px}
  .pip{width:6px;height:6px}
  .kcard,.slot{height:52px;margin-bottom:6px;border-radius:8px}
  .kcard{padding:0 7px;gap:4px}
  .kcard b{font-size:12px}
  .tag{font-size:10.5px;padding:1px 6px}
  .hint{font-size:10.5px;padding:6px 5px}
  .mover{left:5px;right:5px;top:27px}
  .cursor{width:15px;height:15px;right:6px}

  .cards3{grid-template-columns:1fr;max-width:460px}
  .c3-art{height:190px}
  .bots{gap:10px}
  .bt{padding:16px 6px 14px;gap:9px;border-radius:18px}
  .bt img{width:56px;height:56px}
  .bt b{font-size:13.5px}
  .routines{grid-template-columns:repeat(2,1fr);gap:10px}
  .rt{padding:16px 14px 18px;border-radius:18px}
  .rt b{font-size:15px}
  .rt span{font-size:14px}
}

@media (max-width:720px){
  .term,.browser,.md,.tri,.nav{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
  .nav{background:rgba(10,10,12,.9)}
}

@media (max-width:520px){
  .nav-brand span{display:none}
  .nav{gap:10px}
  .chip{font-size:14.5px;min-height:48px;padding-right:15px}
  .btn{display:flex;width:100%;padding:0 20px}
  .sec{padding-left:16px;padding-right:16px}
}

@media (max-width:420px){
  .routines{grid-template-columns:1fr;gap:10px}
  .rt{padding:18px 20px 20px}
  .rt b{font-size:16px}
  .rt span{font-size:15px;line-height:1.5}
}

@media (prefers-reduced-motion:reduce){
  .code-bg,.term.run .code-bg{animation:none}
  .rpill{transition:none}
  .nav-cta,.btn{transition:none}
  html{scroll-behavior:auto}
}

/* =====================================================================
   ROUND 9/10: portrait seal, signature, magic sauce (iOS + Android safe)
   Motion uses transform/opacity only. Text is always painted with a solid
   color first; gradient (background-clip:text) is an optional static layer.
   ===================================================================== */

/* ---------- shared glint: a narrow window slides across while the text inside
   counter-slides, so the bright copy stays locked on the real glyphs.
   Pure transform + overflow clip; no background-position, no clip-path. ---------- */
.glint{
  position:absolute;top:-.3em;bottom:-.3em;left:0;width:28%;
  overflow:hidden;pointer-events:none;z-index:2;
  opacity:0;transform:translate3d(-100%,0,0);
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 38%,#000 62%,transparent 100%);
          mask-image:linear-gradient(90deg,transparent 0,#000 38%,#000 62%,transparent 100%);
}
.glint-in{
  position:absolute;left:0;top:.3em;white-space:nowrap;
  transform:translate3d(28%,0,0);
}
.glint-in::before{content:attr(data-text)}
@keyframes glintBand{
  0%{transform:translate3d(-100%,0,0);opacity:0}
  6%{opacity:1}
  40%{opacity:1}
  46%,100%{transform:translate3d(357%,0,0);opacity:0}
}
@keyframes glintText{
  0%{transform:translate3d(28%,0,0)}
  46%,100%{transform:translate3d(-100%,0,0)}
}

/* ---------- signature: solid gold ink, left-to-right handwriting wipe, pen nib, glint ---------- */
.letter .sign-ink{
  position:relative;z-index:0;display:inline-block;
  font-family:'Great Vibes',Georgia,'Times New Roman',cursive;
  font-style:normal;font-weight:400;
  font-size:clamp(42px,4.6vw,62px);line-height:1.15;letter-spacing:.01em;
  color:#efcf86;-webkit-text-fill-color:#efcf86;
  text-shadow:0 1px 0 rgba(90,64,24,.55);
}
.letter .sign-ink::after{ /* soft gold glow behind the name */
  content:"";position:absolute;z-index:-1;left:-6%;right:-6%;top:-20%;bottom:-30%;pointer-events:none;
  background:none;
  opacity:0;
}
.sign-wipe{display:inline-block;vertical-align:top;overflow:hidden;margin:-.3em -.4em}
.sign-text{display:block;padding:.3em .4em;white-space:nowrap}
.sign .glint-in{color:#fffbea;-webkit-text-fill-color:#fffbea;text-shadow:0 0 10px rgba(255,244,210,.85),0 0 22px rgba(240,215,154,.6)}
.sign-track{position:absolute;left:0;top:0;bottom:0;width:100%;pointer-events:none;opacity:0;transform:translate3d(-100%,0,0)}
.sign-nib{
  position:absolute;right:-2px;top:52%;width:8px;height:8px;margin-top:-4px;border-radius:50%;
  background:var(--gold-hi);
  box-shadow:none;
}

/* hidden until the signature scrolls into view (JS adds .is-signed on .sign) */
.js-ready .sign:not(.is-signed) .sign-wipe{transform:translate3d(-100%,0,0)}
.js-ready .sign:not(.is-signed) .sign-text{transform:translate3d(100%,0,0)}
.js-ready .sign.is-signed .sign-wipe{animation:signWipe 2.1s cubic-bezier(.37,.1,.35,1) .15s both}
.js-ready .sign.is-signed .sign-text{animation:signWipeIn 2.1s cubic-bezier(.37,.1,.35,1) .15s both}
.js-ready .sign.is-signed .sign-track{animation:signWipe 2.1s cubic-bezier(.37,.1,.35,1) .15s both,nibFade 2.1s linear .15s both}
.js-ready .sign.is-signed .sign-nib{animation:nibBob .42s ease-in-out .15s 5 alternate}
.js-ready .sign.is-signed .glint{animation:glintBand 4.4s linear 2.4s infinite}
.js-ready .sign.is-signed .glint-in{animation:glintText 4.4s linear 2.4s infinite}
.js-ready .sign.is-signed .sign-ink::after{animation:signGlow 3.6s ease-in-out 2.2s infinite}
html:not(.js-ready) .sign .glint{animation:glintBand 4.4s linear 1s infinite}
html:not(.js-ready) .sign .glint-in{animation:glintText 4.4s linear 1s infinite}
@keyframes signWipe{from{transform:translate3d(-100%,0,0)}to{transform:none}}
@keyframes signWipeIn{from{transform:translate3d(100%,0,0)}to{transform:none}}
@keyframes nibFade{0%{opacity:0}6%{opacity:1}88%{opacity:1}100%{opacity:0}}
@keyframes nibBob{from{transform:translate3d(0,-7px,0)}to{transform:translate3d(0,7px,0)}}
@keyframes signGlow{0%,100%{opacity:.45}50%{opacity:1}}

@media (max-width:859px){ .letter .sign-ink{font-size:40px} }
@media (max-width:520px){ .letter .sign-ink{font-size:38px} }

/* ---------- magic sauce (routines beat, data-beat 8 since r11; r10): "the magic sauce to automate everything"
   Two nowrap chunks (.ms-a / .ms-b) so the phrase can wrap once on phones while every
   overlay (gradient, glint, drips, twinkles) stays locked to its own line. ---------- */
.ms-wrap{position:relative}
.magic-sauce{
  position:relative;z-index:1;display:inline-block;white-space:nowrap;overflow:visible;
  font-weight:780;letter-spacing:-.02em;
  color:var(--gold-hi);-webkit-text-fill-color:var(--gold-hi); /* r14: one solid gold, no gradient fill */
  text-shadow:0 1px 0 rgba(0,0,0,.35);
  transform-origin:50% 60%;
}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .ms-grad{position:absolute;left:0;top:0;z-index:1;white-space:nowrap;pointer-events:none}
  .ms-grad::before{ /* optional static sauce gradient on top of the solid ink (aria-hidden layer) */
    content:none; /* r14: gradient text removed */
    background:none;
    -webkit-background-clip:text;background-clip:text;
    color:transparent;-webkit-text-fill-color:transparent;text-shadow:none;
    opacity:.94;
  }
}
.magic-sauce::after{ /* halo behind each chunk */
  content:"";position:absolute;z-index:-1;left:-8%;right:-8%;top:-45%;bottom:-55%;pointer-events:none;
  background:none;
  opacity:0;
}
.magic-sauce .glint{width:22%}
.magic-sauce .glint-in{transform:translate3d(22%,0,0)}
.magic-sauce .glint-in{color:#fff7dc;-webkit-text-fill-color:#fff7dc;text-shadow:0 0 10px rgba(255,236,190,.95),0 0 22px rgba(240,215,154,.75)}
.ms-nobr{white-space:nowrap}

/* drips: hanging stretch from each chunk's base, each with a drop that falls and fades */
.ms-drips{position:absolute;left:0;right:0;top:86%;height:0;pointer-events:none;z-index:0}
.ms-a .ms-drip:nth-child(1){--x:8%;--h:.5em;--d:0s}
.ms-a .ms-drip:nth-child(2){--x:29%;--h:.7em;--d:.7s}
.ms-a .ms-drip:nth-child(3){--x:52%;--h:.42em;--d:1.35s}
.ms-a .ms-drip:nth-child(4){--x:72%;--h:.78em;--d:.35s}
.ms-a .ms-drip:nth-child(5){--x:92%;--h:.48em;--d:1.8s}
.ms-b .ms-drip:nth-child(1){--x:6%;--h:.46em;--d:.2s}
.ms-b .ms-drip:nth-child(2){--x:20%;--h:.74em;--d:1.1s}
.ms-b .ms-drip:nth-child(3){--x:36%;--h:.4em;--d:.55s}
.ms-b .ms-drip:nth-child(4){--x:51%;--h:.82em;--d:1.6s}
.ms-b .ms-drip:nth-child(5){--x:66%;--h:.5em;--d:.9s}
.ms-b .ms-drip:nth-child(6){--x:81%;--h:.68em;--d:.1s}
.ms-b .ms-drip:nth-child(7){--x:94%;--h:.44em;--d:1.95s}
.ms-drip{
  position:absolute;top:0;left:var(--x);width:.14em;height:var(--h,.5em);margin-left:-.07em;
  border-radius:0 0 .09em .09em;
  background:var(--gold-hi);
  box-shadow:none;
  transform-origin:50% 0;transform:scaleY(.25);opacity:.95;
}
.ms-drip::after{
  content:"";position:absolute;left:50%;bottom:-.09em;width:.22em;height:.26em;margin-left:-.11em;
  border-radius:50% 50% 50% 50%/40% 40% 60% 60%;
  background:var(--gold-hi);
  box-shadow:none;
  opacity:0;
}

/* ongoing twinkles: tiny four-point glints that pop on and off over each chunk */
.ms-tws{position:absolute;inset:0;pointer-events:none;z-index:3}
.ms-tw{
  position:absolute;left:var(--x);top:var(--y);width:.34em;height:.34em;margin:-.17em 0 0 -.17em;
  background:
    linear-gradient(90deg,transparent 42%,#fffbe6 50%,transparent 58%),
    linear-gradient(0deg,transparent 42%,#fffbe6 50%,transparent 58%);
  border-radius:50%;filter:drop-shadow(0 0 4px rgba(255,220,150,.95));
  opacity:0;transform:scale(0) rotate(0deg);
}
.ms-a .ms-tw:nth-child(1){--x:14%;--y:12%;--d:.4s}
.ms-a .ms-tw:nth-child(2){--x:58%;--y:4%;--d:1.6s}
.ms-a .ms-tw:nth-child(3){--x:90%;--y:30%;--d:2.7s}
.ms-b .ms-tw:nth-child(1){--x:10%;--y:8%;--d:1.1s}
.ms-b .ms-tw:nth-child(2){--x:47%;--y:2%;--d:2.2s}
.ms-b .ms-tw:nth-child(3){--x:84%;--y:14%;--d:.2s}
@keyframes twinkle{
  0%,100%{opacity:0;transform:scale(0) rotate(0deg)}
  8%{opacity:1;transform:scale(1.15) rotate(45deg)}
  18%{opacity:0;transform:scale(.2) rotate(90deg)}
}

/* before the poof (JS layout) the phrase waits; static/no-JS layout and post-poof run the loop */
html:not(.js-ready) .magic-sauce::after,
.ms-wrap.is-poof .magic-sauce::after{animation:sauceHalo 3.2s ease-in-out infinite}
.ms-wrap.is-poof .ms-b::after{animation-delay:-1.6s}
html:not(.js-ready) .magic-sauce .glint,
.ms-wrap.is-poof .magic-sauce .glint{animation:glintBandW 4.2s linear 1s infinite}
html:not(.js-ready) .magic-sauce .glint-in,
.ms-wrap.is-poof .magic-sauce .glint-in{animation:glintTextW 4.2s linear 1s infinite}
/* glint runs across .ms-a, then continues across .ms-b: one continuous sweep over the phrase */
html:not(.js-ready) .ms-b .glint,html:not(.js-ready) .ms-b .glint-in,
.ms-wrap.is-poof .ms-b .glint,.ms-wrap.is-poof .ms-b .glint-in{animation-delay:1.75s}
html:not(.js-ready) .ms-drip,
.ms-wrap.is-poof .ms-drip{animation:dripStretch 2.6s cubic-bezier(.5,0,.5,1) var(--d,0s) infinite}
html:not(.js-ready) .ms-drip::after,
.ms-wrap.is-poof .ms-drip::after{animation:dropFall 2.6s cubic-bezier(.55,0,1,.45) var(--d,0s) infinite}
html:not(.js-ready) .ms-tw,
.ms-wrap.is-poof .ms-tw{animation:twinkle 3.4s ease-in-out var(--d,0s) infinite}
.ms-wrap.is-poof .magic-sauce{animation:saucePop .8s cubic-bezier(.2,1.6,.4,1) both}
.ms-wrap.is-poof .ms-b{animation-delay:.08s}

@keyframes glintBandW{
  0%{transform:translate3d(-100%,0,0);opacity:0}
  4%{opacity:1}
  36%{opacity:1}
  42%,100%{transform:translate3d(455%,0,0);opacity:0}
}
@keyframes glintTextW{
  0%{transform:translate3d(22%,0,0)}
  42%,100%{transform:translate3d(-100%,0,0)}
}
@keyframes saucePop{
  0%{transform:scale(1)}
  20%{transform:scale(.88)}
  55%{transform:scale(1.14)}
  100%{transform:scale(1)}
}
@keyframes sauceHalo{0%,100%{opacity:.5;transform:scale(.96)}50%{opacity:1;transform:scale(1.08)}}
@keyframes dripStretch{
  0%{transform:scaleY(.25)}
  55%{transform:scaleY(1)}
  62%{transform:scaleY(.55)}
  100%{transform:scaleY(.25)}
}
@keyframes dropFall{
  0%,52%{opacity:0;transform:translate3d(0,0,0) scale(.6)}
  56%{opacity:1;transform:translate3d(0,0,0) scale(1)}
  90%{opacity:.85;transform:translate3d(0,1.5em,0) scale(.85,1.15)}
  100%{opacity:0;transform:translate3d(0,1.9em,0) scale(.6)}
}

/* phones: a touch smaller so the phrase breaks once, cleanly, between the two chunks */
@media (max-width:520px){
  #h-07 .ms-wrap{font-size:.92em}
}

/* poof effects, created by agents.js at each chunk's center */
.ms-fx{position:absolute;left:50%;top:50%;width:0;height:0;pointer-events:none;z-index:4}
.ms-spark,.ms-puff,.ms-ring,.ms-flash{position:absolute;left:0;top:0;pointer-events:none;will-change:transform,opacity}
.ms-spark{
  width:var(--s,6px);height:var(--s,6px);margin:calc(var(--s,6px) / -2) 0 0 calc(var(--s,6px) / -2);border-radius:50%;
  background:radial-gradient(circle,#fffbe6 0,var(--c,#ffd27a) 45%,rgba(240,215,154,0) 72%);
  box-shadow:0 0 10px var(--c,#ffd27a);
  opacity:0;animation:sparkBurst var(--t,1s) cubic-bezier(.15,.7,.3,1) var(--dl,0s) both;
}
.ms-spark.star{border-radius:1px;transform:rotate(45deg)}
@keyframes sparkBurst{
  0%{opacity:0;transform:translate3d(0,0,0) scale(.3)}
  12%{opacity:1;transform:translate3d(calc(var(--dx) * .25),calc(var(--dy) * .25),0) scale(1.3)}
  70%{opacity:.9;transform:translate3d(var(--dx),var(--dy),0) scale(.8)}
  100%{opacity:0;transform:translate3d(var(--dx),calc(var(--dy) + 26px),0) scale(.2)}
}
.ms-puff{
  width:var(--s,44px);height:var(--s,44px);margin:calc(var(--s,44px) / -2) 0 0 calc(var(--s,44px) / -2);border-radius:50%;
  background:radial-gradient(circle,rgba(255,236,205,.6) 0,rgba(240,215,154,.3) 38%,rgba(217,183,107,.12) 58%,transparent 72%);
  opacity:0;animation:puffUp 1.7s cubic-bezier(.2,.7,.3,1) var(--dl,0s) both;
}
@keyframes puffUp{
  0%{opacity:0;transform:translate3d(var(--dx),0,0) scale(.4)}
  18%{opacity:.9}
  100%{opacity:0;transform:translate3d(calc(var(--dx) * 1.6),var(--dy),0) scale(2)}
}
.ms-ring{
  width:140px;height:140px;margin:-70px 0 0 -70px;border-radius:50%;
  background:radial-gradient(circle,transparent 46%,rgba(255,220,150,.6) 58%,rgba(217,183,107,.28) 64%,transparent 72%);
  opacity:0;animation:ringOut .85s cubic-bezier(.15,.7,.3,1) var(--dl,0s) both;
}
@keyframes ringOut{0%{opacity:.95;transform:scale(.15)}100%{opacity:0;transform:scale(2.3)}}
.ms-flash{
  width:220px;height:90px;margin:-45px 0 0 -110px;border-radius:50%;
  background:radial-gradient(ellipse 50% 50% at 50% 50%,rgba(255,246,220,.75),rgba(240,215,154,.35) 40%,transparent 70%);
  opacity:0;animation:flashOut .7s ease-out both;
}
@keyframes flashOut{0%{opacity:0;transform:scale(.5)}20%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.5)}}

/* mobile: the pinned copy box is masked at its top edge. On the routines beat (data-beat 8 since r11) only, grow the box 40px upward
   (copy stays exactly where it was) so sparks have room, and let it overflow sideways and down. */
.js-ready .beat[data-beat="8"] .pin,
.js-ready .beat[data-beat="8"] .copy,
#h-07{overflow:visible}
@media (max-width:859px){
  .js-ready .beat[data-beat="8"] .pin{
    top:calc(55.5vh - 40px);top:calc(55.5svh - 40px);
    height:calc(44.5vh + 40px);height:calc(44.5svh + 40px);
    padding-top:64px;
    -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 18px);mask-image:linear-gradient(180deg,transparent 0,#000 18px);
  }
}

@media (prefers-reduced-motion:reduce){
  .sign-wipe,.sign-text,.js-ready .sign .sign-wipe,.js-ready .sign .sign-text{animation:none!important;transform:none!important}
  .sign-track,.glint{display:none!important}
  .letter .sign-ink::after,.magic-sauce::after{animation:none!important;opacity:.8!important;transform:none!important}
  .magic-sauce,.ms-wrap.is-poof .magic-sauce{animation:none!important;transform:none!important}
  .ms-drip{animation:none!important;transform:scaleY(.7)!important}
  .ms-drip::after{animation:none!important;opacity:0!important}
  .ms-tws,.ms-fx{display:none!important}
}

/* =====================================================================
   ROUND 12 (fix 1): one version. The talking-portrait video feathers into the letter card
   (no box), a gold rule under it rhymes with the gold rule over the sign-off.
   Framer-style appear: opacity, 24px rise, .97 scale, 8px blur, 900ms cubic-bezier(.16,1,.3,1).
   ===================================================================== */
.letter{--fx:cubic-bezier(.16,1,.3,1)}

/* ---------- letter video: feathered on all four sides, no rectangle, no player chrome ---------- */
.letter.has-video .letter-head{align-items:center;text-align:center}
.lv{
  position:relative;z-index:1;
  width:min(320px,80vw);margin:clamp(4px,1vw,12px) auto clamp(44px,5vw,60px);
}
.lv::before{ /* very faint warm glow behind the head, page gold */
  content:"";position:absolute;z-index:0;pointer-events:none;
  left:-18%;right:-18%;top:-6%;bottom:8%;
  background:none;
}
.lv::after{ /* gold hairline under the video, fading out at both ends (rhymes with the rule over the sign-off) */
  content:"";position:absolute;z-index:1;pointer-events:none;
  left:50%;bottom:calc(-1 * clamp(22px,2.6vw,30px));width:min(78%,260px);height:1px;transform:translateX(-50%);
  background:rgba(217,183,107,.45);
}
.lv-frame{
  position:relative;z-index:1;aspect-ratio:4/5;background:transparent;cursor:pointer;
  /* three masks intersected: a soft ellipse around the face, a vertical fade (solid from 9% so the hair
     and the space above it stay fully opaque, out to 0 before the bottom) and a side fade */
  -webkit-mask-image:
    radial-gradient(ellipse 58% 56% at 50% 40%,#000 62%,rgba(0,0,0,.45) 82%,transparent 100%),
    linear-gradient(180deg,transparent 0,#000 9%,#000 64%,rgba(0,0,0,.35) 84%,transparent 98%),
    linear-gradient(90deg,transparent 0,#000 22%,#000 78%,transparent 100%);
  -webkit-mask-composite:source-in,source-in;
          mask-image:
    radial-gradient(ellipse 58% 56% at 50% 40%,#000 62%,rgba(0,0,0,.45) 82%,transparent 100%),
    linear-gradient(180deg,transparent 0,#000 9%,#000 64%,rgba(0,0,0,.35) 84%,transparent 98%),
    linear-gradient(90deg,transparent 0,#000 22%,#000 78%,transparent 100%);
          mask-composite:intersect;
}
.lv-video{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:50% 0;background:transparent;display:block;
  /* the video files are graded so their near-black matches the card (about 28,25,23); no CSS filter */
}
.lv-video::-webkit-media-controls{display:none!important}
.lv-video::cue{
  font-family:'Inter Tight',system-ui,sans-serif;font-size:13px;line-height:1.4;font-weight:500;
  color:#f3eee4;background:rgba(7,7,10,.74);
}
.lv.is-full .lv-frame{cursor:default}

/* captions: drawn above the feather (unmasked), in the page's type, above the pill */
.lv-cap{
  position:absolute;z-index:5;left:50%;bottom:calc(clamp(4px,1.6vw,10px) + 50px);
  width:max-content;max-width:min(94%,330px);margin:0;transform:translate3d(-50%,4px,0);
  padding:6px 11px;border-radius:9px;text-align:center;pointer-events:none;
  font:500 13.5px/1.4 'Inter Tight',system-ui,sans-serif;letter-spacing:0;color:#f3eee4;
  background:rgba(10,9,8,.66);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  box-shadow:0 0 0 1px rgba(217,183,107,.14);
  opacity:0;transition:opacity .25s ease,transform .35s var(--fx);
}
.letter .lv-cap{max-width:min(94%,330px);color:#f3eee4;font-size:13.5px;line-height:1.4}
.lv.has-cap .lv-cap{opacity:1;transform:translate3d(-50%,0,0)}

/* ---------- pill: glass, gold hairline, Framer-like control ---------- */
.lv-btn{
  position:absolute;z-index:4;left:50%;bottom:clamp(4px,1.6vw,10px);
  transform:translate3d(-50%,0,0);
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:38px;min-height:38px;padding:0 16px 0 13px;border-radius:999px;
  font:500 13px/1 'Inter Tight',system-ui,sans-serif;letter-spacing:-.005em;white-space:nowrap;
  color:var(--ink);cursor:pointer;-webkit-appearance:none;appearance:none;
  -webkit-tap-highlight-color:transparent;
  background:rgba(20,17,13,.55);
  border:1px solid rgba(217,183,107,.42);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 8px 24px rgba(0,0,0,.38),0 1px 2px rgba(0,0,0,.4);
  -webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%);
  transition:transform .35s var(--fx),background .2s ease,border-color .2s ease,box-shadow .2s ease,width .35s var(--fx),padding .35s var(--fx);
}
.lv-btn:hover{
  border-color:rgba(240,215,154,.72);
  background:rgba(28,23,16,.66);
  transform:translate3d(-50%,-1px,0);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 12px 28px rgba(0,0,0,.42),0 0 0 4px rgba(217,183,107,.07);
}
.lv-btn:active{transform:translate3d(-50%,0,0) scale(.96);transition-duration:.12s}
.lv-btn:focus{outline:none}
.lv-btn:focus-visible{
  outline:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 0 0 2px rgba(14,12,10,.9),0 0 0 4px rgba(240,215,154,.85);
}
.lv-ico{width:16px;height:16px;flex:none;fill:none;stroke:var(--gold-hi);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.lv-ico .i-spk{fill:var(--gold-hi);stroke:none}
.lv-ico .i-play{fill:var(--gold-hi);stroke:none}
.lv-ico .i-pause,.lv-ico .i-play{display:none}
/* full read playing: the pill condenses into a 38px round pause / play toggle in the same spot */
.lv.is-full .lv-btn{width:38px;padding:0}
.lv.is-full .lv-lab{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.lv.is-full .lv-ico .i-spk,.lv.is-full .lv-ico .i-wave{display:none}
.lv.is-full:not(.is-paused) .lv-ico .i-pause{display:inline}
.lv.is-full.is-paused .lv-ico .i-play{display:inline}

@media (min-width:860px){
  .lv{width:340px}
}

/* ---------- sign-off: thin gold rule, small round portrait, signature, name, role ---------- */
.so{
  position:relative;display:flex;align-items:center;gap:clamp(16px,2vw,22px);text-align:left;
  margin-top:clamp(44px,5vw,64px);padding-top:clamp(28px,3.2vw,38px);
}
.so::before{
  content:"";position:absolute;left:0;right:0;top:0;height:1px;transform-origin:50% 50%;
  background:rgba(217,183,107,.4);
}
.so-avatar{
  display:block;flex:none;width:64px;height:64px;border-radius:50%;overflow:hidden;
  box-shadow:0 0 0 1px rgba(217,183,107,.55),0 8px 20px rgba(0,0,0,.3);
}
.so-avatar picture{display:block}
.so-round{display:block;width:64px;height:64px;object-fit:cover;object-position:50% 30%;border-radius:50%}
.so-text{position:relative;z-index:2;min-width:0}
.letter .so .sign-ink{font-size:38px}
.letter .so .sign-ink::after{opacity:.35}
.letter .so-name{
  margin:6px 0 0;max-width:none;
  font:700 12.5px/1.2 'Inter Tight',system-ui,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:var(--ink);
}
.letter .so-role{
  margin:4px 0 0;max-width:none;
  font:400 14.5px/1.4 'Inter Tight',system-ui,sans-serif;letter-spacing:.01em;color:var(--mute);
}
@media (min-width:860px){
  .so-avatar,.so-round{width:72px;height:72px}
  .letter .so .sign-ink{font-size:44px}
}

/* ---------- Framer-style appear ---------- */
/* video first, then eyebrow + h2, then the body (same order as before, nudged after the head) */
/* r13: text never gets filter/scale (keeps glyphs crisp); the video block alone gets the soft blur-in,
   and every end state is filter:none (blur(0) keeps a filter layer alive and Chrome can raster it soft) */
.js-ready .letter:not(.is-in) .lv{opacity:0;transform:translate3d(0,24px,0) scale(.97);filter:blur(8px)}
.js-ready .letter:not(.is-in) .letter-head{opacity:0;transform:translate3d(0,24px,0)}
.js-ready .letter.is-in .lv,
.js-ready .letter.is-in .letter-head{
  opacity:1;transform:none;filter:none;
  transition:opacity .9s var(--fx),transform .9s var(--fx),filter .9s var(--fx);
}
.js-ready .letter.is-in .lv{transition-delay:0s}
.js-ready .letter.is-in .letter-head{transition-delay:.14s}
.js-ready .letter.is-in .letter-body > p:nth-child(1){transition-delay:.26s}
.js-ready .letter.is-in .letter-body > p:nth-child(2){transition-delay:.31s}
.js-ready .letter.is-in .letter-body > p:nth-child(3){transition-delay:.36s}
.js-ready .letter.is-in .letter-body > p:nth-child(4){transition-delay:.41s}
.js-ready .letter.is-in .letter-body > p:nth-child(5){transition-delay:.46s}
.js-ready .letter.is-in .letter-body > p:nth-child(6){transition-delay:.51s}
.js-ready .letter.is-in .letter-body > p:nth-child(7){transition-delay:.56s}
.js-ready .letter.is-in .letter-body > p:nth-child(8){transition-delay:.61s}
.js-ready .letter.is-in .letter-body > p:nth-child(9){transition-delay:.66s}
.js-ready .letter.is-in .letter-body > p:nth-child(10){transition-delay:.71s}
/* the sign-off sits far below the top of the letter, so it appears on its own when it scrolls in (.fx-in from JS) */
.js-ready .letter .letter-foot.so:not(.fx-in),
.js-ready .letter.is-in .letter-foot.so:not(.fx-in){
  opacity:0;transform:translate3d(0,24px,0);transition:none;
}
.js-ready .letter .letter-foot.so.fx-in{
  opacity:1;transform:none;
  transition:opacity .9s var(--fx),transform .9s var(--fx);transition-delay:0s;
}
.js-ready .letter .so:not(.fx-in)::before{transform:scaleX(.2);opacity:0}
.js-ready .letter .so.fx-in::before{transform:none;opacity:1;transition:transform 1.2s var(--fx) .1s,opacity .9s var(--fx) .1s}
.js-ready .letter .so:not(.fx-in) .so-avatar{opacity:0;transform:scale(.9)}
.js-ready .letter .so.fx-in .so-avatar{opacity:1;transform:none;transition:opacity .9s var(--fx) .12s,transform .9s var(--fx) .12s}

@media (prefers-reduced-motion:reduce){
  .js-ready .letter .lv,.js-ready .letter .letter-head,
  .js-ready .letter .letter-foot.so,.js-ready .letter .so::before,.js-ready .letter .so .so-avatar{
    opacity:1!important;transform:none!important;filter:none!important;transition:none!important;
  }
  .lv-frame{transform:none!important;will-change:auto}
  .lv-btn,.lv-cap{transition:none}
}

/* Preview only, 2026-11-11: tool objection note near the join CTA.
   Solid finishes only. Do not copy this block back into live staging until approved. */
.tool-note{
  margin-top:20px;
  padding-top:18px;
  border-top:1px solid var(--glass-border-gold);
  font-size:15px;
  line-height:1.5;
  color:var(--ink-2);
}
.join .tool-note + .btn{margin-top:22px}
