/* Night Shift — shared styles for inner pages */
:root {
  --night: #07080D; --midnight: #0B0E1B; --panel: #10131F; --panel-2: #141828;
  --line: #22263A; --line-2: #2E3350;
  --text: #EDEAE3; --muted: #A6A9B6; --dim: #8A8EA3;
  --lead: #3EE6B0; --lead-hi: #C8FBEA; --lead-rgb: 62, 230, 176; --accent-ink: #0B6E4F;
  --day: #F3EEE6; --ink: #14151A; --ink-2: #45464F; --ok: #5BE49B;
  --ease: cubic-bezier(.75, 0, .25, 1); --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 5vw, 96px);
  --display: 'Inter Tight', system-ui, sans-serif;
  --body: 'Inter Tight', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--night); color: var(--text); font-family: var(--body); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; line-height: .95; }
em { font-style: normal; color: var(--lead); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.tag { color: var(--lead); }
.muted { color: var(--muted); }
::selection { background: var(--lead); color: var(--night); }

/* atmosphere */
.sky { position: fixed; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(ellipse 90% 70% at 70% 110%, #151B36 0%, var(--night) 70%); }
.sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* nav (matches home) */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px var(--gutter); }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,8,13,.85), rgba(7,8,13,0)); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 600; font-size: 20px; text-decoration: none; letter-spacing: -0.01em; }
.brand-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--lead); box-shadow: 0 0 14px var(--lead); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 26px 4px var(--lead); } }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--muted); position: relative; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-links a[aria-current="page"]::after { background: var(--lead); }
.nav-cta { display: flex; align-items: center; gap: 12px; padding: 11px 18px 11px 14px; min-height: 44px; border-radius: 999px; background: var(--text); color: var(--night); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-clock { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--accent-ink); padding-right: 12px; border-right: 1px solid rgba(0,0,0,.15); white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 16px 26px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 17px; border: 0; font-family: inherit; cursor: pointer; transition: box-shadow .3s, background .3s, border-color .3s, transform .3s var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn-lead { background: var(--lead); color: var(--night); }
.btn-lead:hover { box-shadow: 0 0 40px rgba(var(--lead-rgb), .45); }
.btn-ghost { border: 1px solid #3A3F56; color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); }
.btn-dark { background: var(--ink); color: var(--day); }
.btn-outline { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn[disabled] { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; }
.row { display: flex; flex-wrap: wrap; gap: 14px; }

/* page hero */
.ph { position: relative; min-height: 88svh; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 40px; padding: 140px var(--gutter) 80px; overflow: hidden; }
.ph-copy { display: flex; flex-direction: column; gap: 26px; position: relative; z-index: 2; }
.ph h1 { font-size: clamp(48px, 7.6vw, 124px); }
.ph .lede { font-size: clamp(18px, 1.5vw, 22px); color: var(--muted); max-width: 640px; }
.ph-orb { position: relative; justify-self: center; width: min(380px, 70vw); aspect-ratio: 1; }
.ph-orb .halo { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(var(--lead-rgb), .38) 0%, rgba(var(--lead-rgb), .07) 42%, transparent 70%); }
.ph-orb .core { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px; border-radius: 50%; background: var(--lead-hi); box-shadow: 0 0 40px 12px var(--lead), 0 0 120px 40px rgba(var(--lead-rgb), .35); }
.ph-orb .ring { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px; border-radius: 50%; border: 1px solid rgba(var(--lead-rgb), .6); animation: ring 3.6s var(--ease-out) infinite; }
.ph-orb .ring:nth-child(4) { animation-delay: 1.2s; } .ph-orb .ring:nth-child(5) { animation-delay: 2.4s; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(9); opacity: 0; } }
.ph-orb .label { position: absolute; left: calc(50% + 34px); top: calc(50% - 14px); color: var(--lead); font-size: 11px; line-height: 1.7; white-space: nowrap; }
.ph-orb .label span { color: var(--muted); }
.live-pill { display: inline-flex; align-items: center; gap: 8px; color: var(--ok); }
.live-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* split text */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.split .c { display: inline-block; }

/* sections */
.sec { padding: 120px var(--gutter); }
.sec-h { display: flex; flex-direction: column; gap: 18px; max-width: 900px; margin-bottom: 56px; }
.sec-h h2 { font-size: clamp(38px, 5vw, 80px); }
.sec-h p:not(.mono) { color: var(--muted); font-size: 19px; max-width: 680px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { position: relative; padding: clamp(24px, 2.6vw, 38px); border-radius: 24px; background: var(--panel); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 14px; overflow: hidden; transition: border-color .4s, transform .5s var(--ease-out); }
.card:hover { border-color: rgba(var(--lead-rgb), .45); }
.card h3 { font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -0.025em; }
.card p { color: var(--muted); font-size: 16.5px; }
.card .meta { color: var(--lead); font-size: 11px; }
.card .scene { font-family: var(--display); font-weight: 400; font-size: 19px; line-height: 1.35; color: var(--text); letter-spacing: -0.01em; }
.card .chip { align-self: flex-start; margin-top: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.card .chip.lead { border-color: rgba(var(--lead-rgb), .5); color: var(--lead); }
.card::after { content: ""; position: absolute; width: 260px; height: 260px; right: -120px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--lead-rgb), .14), transparent 70%); pointer-events: none; opacity: 0; transition: opacity .5s; }
.card:hover::after { opacity: 1; }
.num { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--lead); }

/* timeline */
.tl { position: relative; list-style: none; padding: 0 0 0 64px; display: flex; flex-direction: column; gap: 70px; max-width: 980px; }
.tl::before { content: ""; position: absolute; left: 14px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-fill { position: absolute; left: 14px; top: 6px; width: 2px; height: calc(100% - 12px); background: var(--lead); box-shadow: 0 0 12px var(--lead); transform-origin: top; transform: scaleY(0); }
.tl li { position: relative; display: flex; flex-direction: column; gap: 10px; }
.tl li::before { content: ""; position: absolute; left: -58px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--night); border: 2px solid var(--line-2); transition: background .4s, border-color .4s, box-shadow .4s; }
.tl li.on::before { background: var(--lead-hi); border-color: var(--lead); box-shadow: 0 0 18px var(--lead); }
.tl .mono { color: var(--lead); }
.tl h3 { font-size: clamp(26px, 3vw, 44px); }
.tl p { color: var(--muted); max-width: 640px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat { padding: 24px; border-radius: 20px; border: 1px solid var(--line-2); background: var(--panel); display: flex; flex-direction: column; gap: 8px; }
.stat b { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3vw, 44px); letter-spacing: -0.03em; line-height: 1; }
.stat b em { color: var(--lead); }
.stat span { color: var(--muted); font-size: 15px; }

/* quote */
.pull { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3.6vw, 56px); line-height: 1.08; letter-spacing: -0.03em; max-width: 1100px; }
.pull em { color: var(--lead); }

/* callout */
.callout { padding: clamp(24px, 3vw, 44px); border-radius: 24px; border: 1px dashed rgba(var(--lead-rgb), .5); background: rgba(var(--lead-rgb), .05); display: flex; flex-direction: column; gap: 12px; max-width: 980px; }
.callout p { color: var(--muted); }
.callout b { color: var(--text); }

/* demo (Instant Lead Response) */
.demo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); }
.demo-form { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; border-right: 1px solid var(--line-2); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select { min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--night); color: var(--text); font: inherit; font-size: 16px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--lead); box-shadow: 0 0 0 3px rgba(var(--lead-rgb), .18); }
.demo-out { position: relative; padding: clamp(24px, 3vw, 40px); background: var(--night); display: flex; flex-direction: column; gap: 14px; justify-content: center; min-height: 420px; }
.demo-idle { color: var(--dim); text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.demo-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(91,228,155,.1); border: 1px solid rgba(91,228,155,.35); color: var(--ok); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; }
.sms { align-self: flex-end; max-width: 88%; padding: 14px 16px; border-radius: 18px 18px 4px 18px; background: var(--lead); color: var(--night); font-size: 15px; }
.sms-meta { align-self: flex-end; color: var(--dim); font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; }
.mail { border-radius: 16px; background: var(--day); color: var(--ink); padding: 18px; font-size: 14.5px; white-space: pre-line; }
.mail b { display: block; font-size: 15px; }
.mail small { display: block; color: var(--ink-2); margin-bottom: 10px; font-family: var(--mono); font-size: 11px; }
.demo-note { color: var(--dim); font-size: 13.5px; }
.demo-sending { display: flex; align-items: center; gap: 12px; color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.demo-sending i { width: 10px; height: 10px; border-radius: 50%; background: var(--lead); box-shadow: 0 0 12px var(--lead); animation: blink .8s infinite; }

/* pricing */
.pks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.pk { position: relative; padding: 32px; border-radius: 26px; background: var(--panel); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 16px; transition: transform .5s var(--ease-out), border-color .4s, box-shadow .4s; }
.pk:hover, .pk:focus-within { transform: translateY(-6px); border-color: rgba(var(--lead-rgb), .6); box-shadow: 0 30px 80px rgba(0,0,0,.4), 0 0 60px rgba(var(--lead-rgb), .12); }
.pk.hot { border-color: rgba(var(--lead-rgb), .5); }
.pk-flag { position: absolute; top: -12px; left: 32px; padding: 5px 12px; border-radius: 999px; background: var(--lead); color: var(--night); font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }
.pk-name { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pk-price { font-family: var(--display); font-weight: 800; font-size: clamp(48px, 4.4vw, 72px); letter-spacing: -0.04em; line-height: .95; }
.pk-price small { font-size: .3em; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.pk-fee { color: var(--lead); font-weight: 600; }
.pk-desc { color: var(--muted); font-size: 16px; }
.pk-map { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.pk-map span { aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--mono); font-size: 10px; color: var(--dim); transition: all .4s var(--ease-out); }
.pk-map span.on { border-color: transparent; background: rgba(var(--lead-rgb), .16); color: var(--lead); }
.pk:hover .pk-map span.on { background: var(--lead); color: var(--night); box-shadow: 0 0 14px rgba(var(--lead-rgb), .6); }
.pk ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15.5px; color: var(--muted); }
.pk li::before { content: "→ "; color: var(--lead); }
.pk .btn { margin-top: auto; justify-content: center; }
.custom { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; padding: 28px 32px; border-radius: 26px; border: 1px dashed var(--line-2); text-decoration: none; transition: border-color .3s, background .3s; }
.custom:hover { border-color: var(--lead); background: rgba(var(--lead-rgb), .05); }
.custom b { font-family: var(--display); font-size: 26px; letter-spacing: -0.02em; }
.custom p { color: var(--muted); flex: 1; min-width: 260px; font-size: 16px; }
.matrix-wrap { overflow-x: auto; border-radius: 22px; border: 1px solid var(--line-2); }
.matrix { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 16px; }
.matrix th, .matrix td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.matrix thead th { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--panel); }
.matrix td.c { text-align: center; color: var(--lead); font-weight: 700; }
.matrix td.c.no { color: var(--dim); font-weight: 400; }
.matrix tbody tr:hover { background: rgba(var(--lead-rgb), .04); }
.matrix tbody tr:last-child td { border-bottom: 0; }
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 980px; }
.faq details { border-radius: 18px; border: 1px solid var(--line-2); background: var(--panel); transition: border-color .3s; }
.faq details[open] { border-color: rgba(var(--lead-rgb), .45); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 22px; color: var(--lead); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 26px 24px; color: var(--muted); display: flex; flex-direction: column; gap: 12px; font-size: 16.5px; }

/* about */
.mono-portrait { position: relative; justify-self: center; width: min(360px, 70vw); aspect-ratio: 1; display: grid; place-items: center; }
.mono-portrait .halo { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(var(--lead-rgb), .32), transparent 68%); }
.mono-portrait .disc { position: relative; width: 62%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(var(--lead-rgb), .6); background: radial-gradient(circle at 35% 30%, rgba(var(--lead-rgb), .25), var(--panel) 70%); display: grid; place-items: center; box-shadow: 0 0 80px rgba(var(--lead-rgb), .25); }
.mono-portrait .disc span { font-family: var(--display); font-weight: 800; font-size: clamp(60px, 7vw, 100px); letter-spacing: -0.05em; }

/* book-a-call form */
.book-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 28px; align-items: start; }
.lf { border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); }
.lf-head { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px clamp(22px, 3vw, 36px) 18px; border-bottom: 1px solid var(--line-2); }
.lf-head .mono { color: var(--muted); }
.lf-head .count { color: var(--text); text-transform: uppercase; }
.lf-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.lf-bar i { display: block; height: 100%; background: var(--lead); box-shadow: 0 0 12px rgba(var(--lead-rgb), .6); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.lf-form, .lf-done { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 22px; }
.lf-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 16px; }
.lf-grid .full { grid-column: 1 / -1; }
.field textarea { min-height: 120px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--night); color: var(--text); font: inherit; font-size: 16px; line-height: 1.5; resize: vertical; }
.field textarea::placeholder { color: var(--muted); opacity: .7; }
.field textarea:focus { outline: none; border-color: var(--lead); box-shadow: 0 0 0 3px rgba(var(--lead-rgb), .18); }
.field input[aria-invalid="true"] { border-color: #FF8A7A; }
.field .opt { text-transform: none; letter-spacing: 0; }
.field .err { min-height: 0; font-size: 13.5px; color: #FF8A7A; }
.field .err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lf-consent { display: flex; flex-direction: column; gap: 14px; }
.lf-check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.55; color: var(--muted); cursor: pointer; }
.lf-check a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.lf-check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--lead); }
.lf-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.lf-foot .btn[disabled] { opacity: .6; cursor: wait; }
.lf-status { color: var(--muted); font-size: 15px; }
.lf-status:empty { display: none; }
.lf-fine { font-size: 13px; color: var(--muted); }
.lf-fine a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.lf-done { align-items: flex-start; outline: none; }
.lf-done h2 { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.025em; line-height: 1.1; }
.lf-done p:not(.tag) { color: var(--muted); font-size: 17px; }
[hidden] { display: none !important; }
.side { display: flex; flex-direction: column; gap: 16px; }
.side .card p { font-size: 15.5px; }

/* websites showcase */
.works { display: flex; flex-direction: column; gap: 22px; }
.work { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0; border-radius: 30px; overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); text-decoration: none; transition: transform .6s var(--ease-out), border-color .4s, box-shadow .4s; }
.work:hover { transform: translateY(-6px); border-color: rgba(var(--lead-rgb), .5); box-shadow: 0 40px 100px rgba(0,0,0,.45); }
.work-copy { padding: clamp(26px, 3.4vw, 52px); display: flex; flex-direction: column; gap: 16px; }
.work-copy h3 { font-size: clamp(34px, 3.6vw, 58px); }
.work-copy p { color: var(--muted); font-size: 17px; }
.work-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.work-tags span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.work-open { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; color: var(--lead); font-weight: 600; }
.work-open i { font-style: normal; transition: transform .4s var(--ease-out); }
.work:hover .work-open i { transform: translate(4px, -4px); }
.work-prev { position: relative; min-height: 380px; overflow: hidden; }
.work-prev > * { transition: transform 1s var(--ease-out); }
.work:hover .work-prev > * { transform: scale(1.04); }

/* closing band: a planet horizon lit in the theme colour */
.close { position: relative; margin-top: 40px; padding: 150px var(--gutter) 320px; text-align: center; color: var(--text); overflow: hidden; }
.close::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70%; background: radial-gradient(ellipse 55% 60% at 50% 100%, rgba(var(--lead-rgb), .22), transparent 70%); pointer-events: none; }
.close-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.close .mono { color: var(--lead); }
.close h2 { font-size: clamp(48px, 8vw, 132px); }
.close p:not(.mono) { color: var(--muted); font-size: 20px; max-width: 600px; }
.planet { position: absolute; left: 50%; top: calc(100% - 210px); width: min(260vw, 3600px); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse 22% 4% at 50% 0%, rgba(var(--lead-rgb), .45), transparent 70%), linear-gradient(180deg, #0C1022 0%, #05060A 8%);
  box-shadow: 0 0 0 1.5px rgba(var(--lead-rgb), .75), 0 -6px 30px rgba(var(--lead-rgb), .45), 0 -30px 140px rgba(var(--lead-rgb), .3), 0 -80px 300px rgba(var(--lead-rgb), .18); }
.close-dot { position: absolute; left: 50%; top: calc(100% - 210px); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--lead-hi); box-shadow: 0 0 24px 8px var(--lead), 0 0 90px 30px rgba(var(--lead-rgb), .45); z-index: 1; }
.close-dot i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(var(--lead-rgb), .7); animation: ring 3.6s var(--ease-out) infinite; }
.close-dot i + i { animation-delay: 1.8s; }

/* footer */
.foot { background: #05060A; color: var(--text); padding: 30px var(--gutter) 32px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot-row p { color: var(--dim); font-size: 11px; }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot-row a { text-decoration: none; font-size: 15px; color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }
.foot-row a:hover { color: var(--lead); }

/* reveal */
.rv { opacity: 0; transform: translateY(40px); }
.rv.in { opacity: 1; transform: none; transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }

/* responsive */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav { padding: 14px 16px; }
  .ph { grid-template-columns: minmax(0, 1fr); padding: 110px 16px 60px; min-height: 0; }
  .ph-orb { order: -1; width: 200px; justify-self: start; }
  .ph-orb .label { display: none; }
  .mono-portrait { order: -1; width: 220px; justify-self: start; }
  .sec { padding: 80px 16px; }
  .grid-2, .grid-3, .pks, .stats, .book-grid, .demo, .work, .lf-grid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-form { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .tl { padding-left: 46px; gap: 48px; }
  .tl li::before { left: -40px; }
  .work-prev { min-height: 240px; order: -1; }
  .close { padding: 100px 16px 240px; }
  .planet, .close-dot { top: calc(100% - 150px); }
  .planet { width: 320vw; }
  .foot { padding: 24px 16px 90px; }
}
@media (max-width: 600px) { .nav-clock { display: none; } .nav-cta { padding: 11px 18px; } .stats { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* ═════ round 3 ═════ */
/* hover: every box lifts, a soft spotlight follows the cursor, an accent line draws on top */
.card, .stat, .pk, .wk { --mx: 50%; --my: -30%; }
.card, .stat { transition: transform .5s var(--ease-out), border-color .4s, box-shadow .4s, background .4s; }
.card::after { content: ""; position: absolute; inset: 0; width: auto; height: auto; right: 0; top: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(320px circle at var(--mx) var(--my), rgba(var(--lead-rgb), .14), transparent 70%); opacity: 0; transition: opacity .4s; }
.card::before, .stat::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; border-radius: 2px; background: var(--lead); box-shadow: 0 0 12px var(--lead); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); pointer-events: none; }
.stat { position: relative; overflow: hidden; }
.card:hover, .stat:hover { transform: translateY(-6px); border-color: rgba(var(--lead-rgb), .45); box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.card:hover::after { opacity: 1; }
.card:hover::before, .stat:hover::before { transform: scaleX(1); }
.card .num { display: inline-block; transition: transform .5s var(--ease-out); }
.card:hover .num { transform: translateX(6px) scale(1.15); }

/* fix: callouts and notes sit on the page's centre line */
.callout.center { margin-left: auto; margin-right: auto; margin-top: 40px; text-align: left; }
.sec > .callout { margin-left: auto; margin-right: auto; }
.note { margin-top: 22px; color: var(--muted); font-size: 15.5px; text-align: center; }
.note a { color: var(--lead); }
.prose { display: flex; flex-direction: column; gap: 18px; color: var(--muted); font-size: 18px; }
.sec-h.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }

/* module illustrations */
.ill { position: relative; height: 150px; border-radius: 16px; background: var(--night); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 6px; }
.ib { margin: 0; max-width: 85%; padding: 8px 12px; border-radius: 14px; font-size: 12.5px; line-height: 1.35; }
.ib.in { background: #1B1F33; color: var(--text); border-bottom-left-radius: 4px; align-self: flex-start; }
.ib.out { background: var(--lead); color: var(--night); border-bottom-right-radius: 4px; align-self: flex-end; }
.ib.note { background: var(--panel-2); border: 1px solid var(--line-2); color: var(--muted); }
.ib.note b { color: var(--text); }
.ill-chat { flex-direction: column; align-items: stretch; justify-content: center; gap: 8px; padding: 14px 16px; }
.ill-timer { position: absolute; top: 10px; right: 12px; font-size: 10px; letter-spacing: .1em; color: var(--ok); }
.ill-intake { gap: 14px; }
.ill-pdf { width: 50px; height: 64px; border-radius: 6px; background: var(--day); color: var(--night); display: grid; place-items: start center; padding-top: 8px; font-size: 9px; letter-spacing: .1em; box-shadow: inset 0 -30px 0 -22px rgba(0,0,0,.08); }
.ill-arrow { color: var(--lead); font-size: 22px; }
.ill-fields { display: flex; flex-direction: column; gap: 8px; }
.ill-fields i { display: block; width: 92px; height: 12px; border-radius: 6px; background: var(--line-2); }
.ill-fields i.ok { background: var(--lead); box-shadow: 0 0 12px rgba(var(--lead-rgb), .5); }
.ill-nurture { gap: 0; padding: 0 18px; }
.ill-nurture .nd { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; display: grid; place-items: center; font-size: 10px; color: var(--night); }
.ill-nurture .nl { flex: 1; height: 2px; background: var(--line-2); }
.ill-nurture .nd.done { width: 30px; height: 30px; background: var(--lead); border-color: var(--lead); box-shadow: 0 0 16px rgba(var(--lead-rgb), .6); font-weight: 700; }
.ill-react { display: grid; grid-template-columns: repeat(8, 12px); gap: 10px; align-content: center; }
.ill-react i { width: 12px; height: 12px; border-radius: 50%; background: #262B42; }
.ill-react i.on { background: var(--lead); box-shadow: 0 0 10px var(--lead); }
.ill-digest { flex-direction: column; align-items: stretch; gap: 9px; padding: 18px 26px; }
.ill-digest p { color: var(--dim); font-size: 10px; }
.ill-digest span { display: block; height: 10px; border-radius: 5px; background: var(--lead); width: calc(var(--w) * 100%); transform-origin: left; }
.ill-voice { gap: 4px; padding: 0 22px; }
.ill-voice i { flex: 1; height: var(--h); max-height: 70%; border-radius: 3px; background: var(--lead); opacity: .85; }
.ill-voice .mono { position: absolute; right: 12px; bottom: 10px; font-size: 10px; color: var(--ok); }

/* play once when revealed, and again on hover */
@keyframes popIn { from { opacity: 0; transform: translateY(10px) scale(.94); } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes lit { from { background: transparent; border-color: var(--line-2); } to { background: rgba(var(--lead-rgb), .35); border-color: var(--lead); } }
@keyframes wave { 50% { transform: scaleY(.35); } }
@keyframes glowOn { 50% { background: #262B42; box-shadow: none; } }
.mod.in .ib, .mod:hover .ib { animation: popIn .5s var(--ease-out) both; }
.mod.in .ib.out, .mod:hover .ib.out { animation-delay: .35s; }
.mod.in .ill-fields i, .mod:hover .ill-fields i { animation: grow .5s var(--ease-out) both; }
.mod.in .ill-fields i:nth-child(2), .mod:hover .ill-fields i:nth-child(2) { animation-delay: .15s; }
.mod.in .ill-fields i:nth-child(3), .mod:hover .ill-fields i:nth-child(3) { animation-delay: .3s; }
.mod:hover .ill-nurture .nd:not(.done) { animation: lit .4s both; }
.mod:hover .ill-nurture .nd:nth-child(3) { animation-delay: .2s; } .mod:hover .ill-nurture .nd:nth-child(5) { animation-delay: .4s; }
.mod:hover .ill-react i.on { animation: glowOn 1s ease-in-out infinite; }
.mod:hover .ill-react i.on:nth-child(3n) { animation-delay: .3s; }
.mod.in .ill-digest span, .mod:hover .ill-digest span { animation: grow .9s var(--ease-out) both; }
.mod:hover .ill-voice i { animation: wave .7s ease-in-out infinite; transform-origin: center; }
.mod:hover .ill-voice i:nth-child(2n) { animation-delay: .15s; } .mod:hover .ill-voice i:nth-child(3n) { animation-delay: .3s; }

/* "what changes" icons */
.feat-ill { width: 96px; height: 96px; border-radius: 24px; background: var(--night); border: 1px solid var(--line-2); display: grid; place-items: center; margin-bottom: 6px; }
.feat-ill svg { width: 72px; height: 72px; overflow: visible; }
.fi-bg { fill: none; stroke: var(--line-2); stroke-width: 5; }
.fi-ring { fill: none; stroke: var(--lead); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 189; stroke-dashoffset: 189; transform: rotate(-90deg); transform-origin: 40px 40px; transition: stroke-dashoffset 1.2s var(--ease-out); filter: drop-shadow(0 0 4px rgba(var(--lead-rgb), .6)); }
.feat-ill text { fill: var(--text); font-family: var(--display); font-weight: 800; font-size: 17px; }
.feat.in .fi-ring, .feat:hover .fi-ring { stroke-dashoffset: 20; }
.fi-loop, .fi-head { fill: none; stroke: var(--lead); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.feat-ill svg:has(.fi-loop) { transition: transform .9s var(--ease-out); }
.feat:hover .feat-ill svg:has(.fi-loop) { transform: rotate(360deg); }
.fi-bar { fill: var(--lead); transform-origin: 50% 64px; transform-box: view-box; }
.feat.in .fi-bar, .feat:hover .fi-bar { animation: barUp .8s var(--ease-out) both; }
.feat:hover .fi-bar.b2, .feat.in .fi-bar.b2 { animation-delay: .1s; } .feat:hover .fi-bar.b3, .feat.in .fi-bar.b3 { animation-delay: .2s; }
@keyframes barUp { from { transform: scaleY(0); } }

/* your case study: builder */
.builder { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--panel); border: 1px solid var(--line-2); }
.bq { display: flex; flex-direction: column; gap: 14px; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick button { min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--night); color: var(--text); font: inherit; font-size: 15px; cursor: pointer; transition: border-color .25s, background .25s, color .25s, transform .3s var(--ease-out); }
.pick button:hover { border-color: var(--lead); transform: translateY(-2px); }
.pick button[aria-checked="true"] { background: var(--lead); color: var(--night); border-color: var(--lead); font-weight: 600; }
.slider { display: flex; align-items: center; gap: 16px; min-height: 44px; }
.slider input { flex: 1; accent-color: var(--lead); height: 28px; cursor: pointer; }
.slider output { font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -0.03em; color: var(--lead); min-width: 3ch; text-align: right; }

/* your case study: the generated story */
.cs { margin-top: 70px; }
.cs-head { display: flex; flex-direction: column; gap: 14px; }
.cs-head h2 { font-size: clamp(36px, 4.8vw, 76px); }
.cs-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 30px 0 46px; }
.cs-cols { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.3fr); color: var(--dim); font-size: 11px; padding: 0 24px 10px; }
.week { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.wk { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.3fr); border-radius: 22px; border: 1px solid var(--line-2); background: var(--panel); overflow: hidden; transition: transform .5s var(--ease-out), border-color .4s, box-shadow .4s; }
.wk:hover { transform: translateY(-4px); border-color: rgba(var(--lead-rgb), .45); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.wk > div { padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.wk-when .mono { color: var(--lead); font-size: 11px; }
.wk-when b { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; }
.wk-when .chip { margin-top: auto; align-self: flex-start; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.wk-before { background: rgba(255,255,255,.015); border-left: 1px solid var(--line); }
.wk-before .mono { color: var(--dim); font-size: 10.5px; }
.wk-before p { color: var(--muted); font-size: 16px; }
.wk-before p::before { content: "✕ "; color: #E07A7A; }
.wk-after { background: rgba(var(--lead-rgb), .06); border-left: 1px solid rgba(var(--lead-rgb), .25); }
.wk-after .mono { color: var(--lead); font-size: 10.5px; }
.wk-after p { font-size: 16px; }
.wk-after > p::before { content: "✓ "; color: var(--lead); }
.wk-ill { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.wk-ill .ib { font-size: 13px; }
.wk-ill > .mono { align-self: flex-end; color: var(--dim); font-size: 10px; }
.wk-ill.ill-intake { flex-direction: row; align-items: center; gap: 12px; }
.ill-react.small { display: grid; grid-template-columns: repeat(8, 10px); gap: 8px; }
.ill-react.small i { width: 10px; height: 10px; }
.ill-voice.small { position: relative; flex-direction: row; align-items: center; height: 46px; padding: 0 70px 0 0; gap: 3px; }
.ill-digest.small { padding: 12px 14px; border-radius: 12px; background: var(--night); border: 1px solid var(--line-2); max-width: 280px; }
.cs-fit { margin-top: 40px; padding: clamp(24px, 3vw, 40px); border-radius: 26px; border: 1px solid rgba(var(--lead-rgb), .5); background: radial-gradient(ellipse 70% 120% at 0% 0%, rgba(var(--lead-rgb), .12), transparent 60%), var(--panel); display: flex; flex-direction: column; gap: 14px; }
.cs-fit h3 { font-size: clamp(32px, 3.6vw, 52px); }
.cs-fit p { color: var(--muted); max-width: 760px; }
.cs-fit b { color: var(--text); }
.fit-note { color: var(--lead-hi) !important; font-size: 15px; }

@media (max-width: 960px) {
  .builder { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .cs-stats { grid-template-columns: minmax(0, 1fr); }
  .cs-cols { display: none; }
  .wk { grid-template-columns: minmax(0, 1fr); }
  .wk-before, .wk-after { border-left: 0; border-top: 1px solid var(--line); }
}
.ill-voice .mono { top: 10px; bottom: auto; } .ill-voice i { max-height: 62%; } .ill-voice.small .mono { top: auto; bottom: 14px; }
.foot { padding-bottom: 84px !important; }

/* ═════ round 4: about page + AI-in-your-workflow card ═════ */
.sphere-wrap { position: relative; justify-self: center; width: min(500px, 82vw); aspect-ratio: 1; touch-action: pan-y; }
.sphere { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.sphere .tag { position: absolute; left: 0; top: 0; white-space: nowrap; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(16,19,31,.78); color: var(--muted); will-change: transform, opacity; transition: color .3s, border-color .3s, box-shadow .3s; pointer-events: none; }
.sphere .tag.front { color: var(--text); border-color: rgba(var(--lead-rgb), .6); box-shadow: 0 0 18px rgba(var(--lead-rgb), .25); }
.sphere-core { position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; z-index: 50; background: radial-gradient(circle at 35% 30%, rgba(var(--lead-rgb), .35), var(--panel) 70%); border: 1px solid rgba(var(--lead-rgb), .55); box-shadow: 0 0 80px rgba(var(--lead-rgb), .3), inset 0 0 40px rgba(var(--lead-rgb), .15); }
.sphere-core span { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 4.4vw, 60px); letter-spacing: -0.05em; }
.sphere-core::after { content: ""; position: absolute; inset: -14%; border-radius: 50%; border: 1px dashed rgba(var(--lead-rgb), .35); animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.ab-stats-sec { padding-top: 40px; }
.ab-stats .stat b { font-size: clamp(30px, 3.2vw, 46px); }

.flips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.flip { position: relative; height: 330px; perspective: 1300px; cursor: pointer; border-radius: 24px; outline: none; }
.flip:focus-visible { box-shadow: 0 0 0 2px var(--lead); }
.flip-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.flip.on .flip-in, .flip:focus-within .flip-in { transform: rotateY(180deg); }
@media (hover: hover) { .flip:hover .flip-in { transform: rotateY(180deg); } }
.face { position: absolute; inset: 0; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; border: 1px solid var(--line-2); }
.face.front { background: radial-gradient(320px circle at 100% 0%, rgba(var(--lead-rgb), .16), transparent 60%), var(--panel); }
.face.front h3 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.025em; line-height: 1.05; }
.face .meta { color: var(--lead); font-size: 11px; }
.flip-hint { margin-top: auto; color: var(--dim); font-size: 11px; }
.face.back { transform: rotateY(180deg); background: var(--panel-2); border-color: rgba(var(--lead-rgb), .45); box-shadow: inset 0 0 60px rgba(var(--lead-rgb), .06); }
.face.back ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.face.back li::before { content: "→ "; color: var(--lead); }
.flip-link { margin-top: auto; color: var(--lead); font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.flip.gold .face.front { border-color: rgba(var(--lead-rgb), .6); background: radial-gradient(400px circle at 0% 100%, rgba(var(--lead-rgb), .28), transparent 60%), var(--panel); }

.principles .card { padding-top: 34px; }
.pnum { font-family: var(--display); font-weight: 800; font-size: 64px; line-height: .8; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(var(--lead-rgb), .8); transition: color .5s; }
.principles .card:hover .pnum { color: rgba(var(--lead-rgb), .25); }

.journey { position: relative; display: flex; flex-direction: column; gap: 22px; max-width: 1100px; margin: 0 auto; padding: 10px 0; perspective: 1200px; }
.jr-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--line); }
.jr-line i { position: absolute; inset: 0; background: var(--lead); box-shadow: 0 0 12px var(--lead); transform-origin: top; transform: scaleY(0); }
.jr { position: relative; width: calc(50% - 44px); padding: 24px 26px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 8px; transform-style: preserve-3d; will-change: transform; transition: border-color .4s, box-shadow .4s; }
.jr:nth-of-type(odd) { align-self: flex-start; }
.jr:nth-of-type(even) { align-self: flex-end; }
.jr::before { content: ""; position: absolute; top: 28px; width: 14px; height: 14px; border-radius: 50%; background: var(--lead-hi); box-shadow: 0 0 16px var(--lead); }
.jr:nth-of-type(odd)::before { right: -51px; }
.jr:nth-of-type(even)::before { left: -51px; }
.jr .mono { color: var(--lead); font-size: 11px; }
.jr h3 { font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.025em; }
.jr p:not(.mono) { color: var(--muted); font-size: 16px; }
.jr:hover { border-color: rgba(var(--lead-rgb), .5); box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.jr.now { border-color: rgba(var(--lead-rgb), .6); box-shadow: 0 0 50px rgba(var(--lead-rgb), .12); }

.beyond { margin-top: 18px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 34px; align-items: center; }
.beyond-ill { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 18px; background: var(--night); border: 1px solid var(--line-2); }
.task { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line-2); font-size: 15px; color: var(--muted); transition: color .4s, border-color .4s; }
.task i { width: 18px; height: 18px; flex: none; border-radius: 6px; border: 2px solid var(--line-2); display: grid; place-items: center; font-style: normal; font-size: 11px; color: var(--night); }
@keyframes tick { to { background: var(--lead); border-color: var(--lead); } }
@keyframes taskdone { to { color: var(--text); border-color: rgba(var(--lead-rgb), .4); } }
.beyond.in .task, .beyond:hover .task { animation: taskdone .4s forwards; }
.beyond.in .task i, .beyond:hover .task i { animation: tick .4s forwards; }
.beyond.in .task i::after, .beyond:hover .task i::after { content: "✓"; }
.beyond .task:nth-child(2), .beyond .task:nth-child(2) i { animation-delay: .35s !important; }
.beyond .task:nth-child(3), .beyond .task:nth-child(3) i { animation-delay: .7s !important; }
.beyond .task:nth-child(4), .beyond .task:nth-child(4) i { animation-delay: 1.05s !important; }
.beyond-copy { display: flex; flex-direction: column; gap: 12px; }
.beyond-copy h3 { font-size: clamp(30px, 3vw, 44px); }

@media (max-width: 960px) {
  .flips { grid-template-columns: minmax(0, 1fr); }
  .flip { height: 300px; }
  .jr-line { left: 14px; }
  .jr, .jr:nth-of-type(odd), .jr:nth-of-type(even) { width: auto; align-self: stretch; margin-left: 40px; }
  .jr:nth-of-type(odd)::before, .jr:nth-of-type(even)::before { left: -33px; right: auto; }
  .beyond { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .sphere-wrap { width: min(340px, 86vw); order: -1; justify-self: center; }
  .sphere .tag { font-size: 11px; padding: 5px 9px; }
}

/* display font: Inter Tight (professional, unambiguous letterforms) */
h1, h2, h3 { letter-spacing: -0.03em; }

/* ═════ round 5: Selected work viewer ═════ */
.sw { display: grid; grid-template-columns: minmax(240px, .38fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.sw-tabs { display: flex; flex-direction: column; gap: 10px; }
.sw-tab { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 4px; min-height: 76px; padding: 16px 20px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: border-color .3s, background .3s, transform .4s var(--ease-out); }
.sw-tab:hover { transform: translateX(4px); border-color: rgba(var(--lead-rgb), .4); }
.sw-tab .mono { font-size: 10.5px; color: var(--dim); transition: color .3s; }
.sw-tab b { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.sw-tab[aria-selected="true"] { border-color: rgba(var(--lead-rgb), .7); background: linear-gradient(90deg, rgba(var(--lead-rgb), .12), transparent 80%), var(--panel); }
.sw-tab[aria-selected="true"] .mono { color: var(--lead); }
.sw-tab:focus-visible { outline: 2px solid var(--lead); outline-offset: 2px; }
.sw-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--lead); box-shadow: 0 0 10px var(--lead); transform: scaleX(0); transform-origin: left; }
.sw-tab.run .sw-bar { animation: swprog 7s linear forwards; }
@keyframes swprog { to { transform: scaleX(1); } }
.sw-stage { position: relative; perspective: 1400px; min-height: 430px; display: grid; }
.sw-panel { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 26px; border: 1px solid var(--line-2); background: var(--panel); overflow: hidden; transform-origin: 50% 50%; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.sw-panel[hidden] { display: none; }
.sw-prev { position: relative; display: flex; align-items: center; justify-content: center; padding: 32px; background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(var(--lead-rgb), .14), transparent 70%), var(--night); border-right: 1px solid var(--line-2); }
.sw-info { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.sw-info .meta { color: var(--lead); font-size: 11px; }
.sw-info h3 { font-size: clamp(26px, 2.5vw, 38px); line-height: 1.08; }
.sw-info ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 16.5px; }
.sw-info li { padding-left: 22px; position: relative; }
.sw-info li::before { content: "→"; position: absolute; left: 0; color: var(--lead); }
.sw-link { align-self: flex-start; color: var(--lead); font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.sw-link:hover { text-decoration: underline; }
.pv-badge { display: block; font-size: 10px; letter-spacing: .1em; }
/* osmosis preview */
.pv-doc { width: 100%; max-width: 380px; padding: 26px; border-radius: 18px; background: var(--day); color: var(--ink); box-shadow: 0 24px 50px rgba(0,0,0,.4); }
.pv-doc p { margin: 0 0 16px; font-size: 18px; line-height: 2; }
.pv-doc u { text-decoration: underline; text-decoration-color: var(--accent-ink); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pv-doc u.hot { position: relative; background: rgba(var(--lead-rgb), .25); border-radius: 4px; }
.pv-tip { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); padding: 6px 10px; border-radius: 8px; background: var(--ink); color: var(--day); font-size: 13px; line-height: 1.2; white-space: nowrap; animation: tipfloat 2.4s ease-in-out infinite; }
.pv-tip::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -5px; border: 5px solid transparent; border-top-color: var(--ink); }
@keyframes tipfloat { 50% { transform: translate(-50%, -4px); } }
.pv-doc .pv-badge { color: var(--ink-2); }
/* chat previews */
.pv-chat { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 10px; }
.pv-q, .pv-a { margin: 0; padding: 12px 16px; border-radius: 16px; font-size: 15px; line-height: 1.4; max-width: 90%; }
.pv-q { align-self: flex-end; background: #1B1F33; border-bottom-right-radius: 4px; }
.pv-a { align-self: flex-start; background: var(--panel-2); border: 1px solid rgba(var(--lead-rgb), .4); border-bottom-left-radius: 4px; }
.pv-a.lead { background: var(--lead); color: var(--night); border: 0; }
.pv-cites { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pv-cites i { font-style: normal; font-family: var(--mono); font-size: 10.5px; padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(var(--lead-rgb), .6); color: var(--lead); }
.pv-chat .pv-badge { color: var(--ok); }
/* transfer preview */
.pv-meter { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 12px; }
.pv-meter > .mono { color: var(--dim); font-size: 11px; }
.pv-segs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.pv-segs i { height: 12px; border-radius: 6px; background: var(--line-2); }
.pv-segs i.on { background: var(--lead); box-shadow: 0 0 10px rgba(var(--lead-rgb), .5); }
.pv-plan { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.pv-plan span { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line-2); }
.pv-plan b { font-size: 13px; min-width: 58px; font-weight: 600; }
.pv-plan i { flex: 1; height: 8px; border-radius: 4px; background: rgba(var(--lead-rgb), .55); }
.pv-plan i.s { flex: .5; background: rgba(var(--lead-rgb), .25); }
.pv-meter .pv-badge { color: var(--dim); }

@media (max-width: 960px) {
  .sw { grid-template-columns: minmax(0, 1fr); }
  .sw-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .sw-tab { flex: 0 0 200px; min-height: 70px; }
  .sw-tab:hover { transform: none; }
  .sw-panel { grid-template-columns: minmax(0, 1fr); }
  .sw-prev { border-right: 0; border-bottom: 1px solid var(--line-2); min-height: 230px; padding: 24px 18px; }
  .sw-stage { min-height: 0; }
}
@media (max-width: 960px) {
  .pv-tip { bottom: auto; top: calc(100% + 8px); }
  .pv-tip::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: var(--ink); }
  .pv-doc p { margin-bottom: 30px; }
}
.works-top { padding-top: 120px; } .works-label { margin-bottom: 22px; } @media (max-width: 960px) { .works-top { padding-top: 96px; } }
@media (max-width: 960px) { .work-prev { min-height: 330px; } }

/* legal pages (privacy, terms) */
.legal-hero { min-height: auto; padding-bottom: 10px; grid-template-columns: minmax(0, 1fr); }
.legal-hero h1 { font-size: clamp(44px, 6vw, 88px); }
.legal-sec { padding-top: 10px; }
.legal { max-width: 760px; display: flex; flex-direction: column; gap: 16px; color: var(--muted); font-size: 16.5px; line-height: 1.65; }
.legal h2 { margin-top: 28px; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; line-height: 1.2; color: var(--text); scroll-margin-top: 100px; }
.legal h3 { margin-top: 10px; font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--text); }
.legal strong { color: var(--text); }
.legal ul { display: flex; flex-direction: column; gap: 8px; padding-left: 22px; list-style: disc; }
.legal ul ul { margin-top: 8px; list-style: circle; }
.legal li::marker { color: var(--lead); }
.legal a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(var(--lead-rgb), .7); text-underline-offset: 3px; }
.legal-note { padding: 16px 20px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--panel); }
.legal .caps { text-transform: uppercase; font-size: 14px; letter-spacing: .02em; }

/* /work/ page heading keeps the small label look */
h1.works-label { font-family: var(--mono); font-weight: 400; letter-spacing: .16em; line-height: normal; }

/* 404 page */
.nf { min-height: 80svh; }
.nf .row { display: flex; flex-wrap: wrap; gap: 12px; }
