/* linkolu.css — shared design system for every linkolu page.
   Theme tokens live in :root (dark) and html.light; the GLASS LAYER section near the end sets the glass look. */
html, body { background: #0a0a0b; margin: 0; }
:root {
  --dark: #0a0a0b; --dark-2: #121214; --cream: #f4f4f5; --cream-2: #e4e4e7;
  --bg: var(--dark); --ink: #f4f4f5; --muted: #a1a1aa; --line: rgba(244,244,245,.12); --line-2: rgba(244,244,245,.22);
  --card: #17171a; --gold: #c6f432; --gold-2: #d9f99d; --accent: var(--gold); --live: #6ee7b7;
  --serif: 'Instrument Serif', Georgia, serif; --sans: 'Geist', system-ui, sans-serif;
  --side: 300px; --pad: 20px; --gutter: clamp(20px, 4vw, 64px);
}
html.light { --bg: var(--cream); --ink: #0a0a0b; --muted: #52525b; --line: rgba(10,10,11,.12); --line-2: rgba(10,10,11,.24); --card: var(--cream-2); --accent: #3f6212; }
*, *::before, *::after { box-sizing: border-box; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; transition: background-color .6s ease, color .6s ease; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 8px; }
::selection { background: var(--gold); color: var(--dark); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--gold); color: var(--dark); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 16px; }
body::after { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 150; opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 180; background: var(--dark); display: grid; place-items: center; }
.preloader .pl-word { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: clamp(110px, 18vw, 260px); line-height: 1; display: flex; overflow: hidden; padding: 0 .08em .06em; }
.preloader .pl-word span { display: inline-block; }
.preloader .pl-count { position: absolute; right: 32px; bottom: 26px; font-size: 13px; letter-spacing: .14em; color: var(--muted); font-variant-numeric: tabular-nums; }
html:not(.motion) .preloader { display: none; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; font: 500 15px var(--sans); border: 0; cursor: pointer; white-space: nowrap; transition: background .3s, color .3s, box-shadow .3s; }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .45s cubic-bezier(.22,1,.36,1); }
.btn:hover svg { transform: rotate(45deg); }
.btn-gold { background: var(--gold); color: var(--dark); }
.btn-gold:hover { background: var(--gold-2); }
.btn-line { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.roll { display: inline-grid; overflow: hidden; height: 1.3em; line-height: 1.3em; }
.roll > span { grid-area: 1 / 1; transition: transform .5s cubic-bezier(.65,0,.35,1); }
.roll > span + span { transform: translateY(110%); user-select: none; }
.btn:hover .roll > span:first-child, a:hover > .roll > span:first-child { transform: translateY(-110%); }
.btn:hover .roll > span + span, a:hover > .roll > span + span { transform: none; }

/* ---------- Sidebar (desktop) ---------- */
.side { position: fixed; z-index: 60; left: var(--pad); top: var(--pad); bottom: var(--pad); width: var(--side); display: flex; flex-direction: column; gap: 12px; pointer-events: none; }
.side > * { pointer-events: auto; }
.side-panel { position: absolute; inset: 0; border-radius: 26px; background: rgba(18,18,20,.62); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px rgba(244,244,245,.08); pointer-events: none; transition: background .6s, box-shadow .6s; }
html.light .side-panel { background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(10,10,11,.1); }
.side-inner { position: relative; display: flex; flex-direction: column; height: 100%; padding: 26px 22px 22px; gap: 22px; }
.side-logo { display: inline-block; font-family: var(--serif); font-style: italic; font-size: 54px; line-height: .9; color: var(--accent); align-self: flex-start; transform-origin: 0 0; transition: color .6s; }
.side-role { font-size: 13px; color: var(--muted); margin-top: -12px; line-height: 1.45; }
.side-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.side-nav a { box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 16px; border-radius: 14px; font-size: 15px; background: rgba(244,244,245,.05); box-shadow: inset 0 0 0 1px rgba(244,244,245,.06); transform-origin: 0 0; transition: background .3s, color .3s; }
html.light .side-nav a { background: rgba(10,10,11,.05); box-shadow: inset 0 0 0 1px rgba(10,10,11,.07); }
.side-nav a:hover, .side-nav a.active { background: var(--gold); color: var(--dark); }
.side-nav a i { font-style: normal; font-size: 12px; opacity: .55; font-variant-numeric: tabular-nums; }
.side-status { margin-top: auto; padding: 16px; border-radius: 16px; background: rgba(244,244,245,.05); font-size: 13px; color: var(--muted); line-height: 1.5; }
html.light .side-status { background: rgba(10,10,11,.05); }
.side-status b { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; margin-bottom: 4px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(110,231,183,.6); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(110,231,183,0); } 100% { box-shadow: 0 0 0 0 rgba(110,231,183,0); } }
.side-mail { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; height: 46px; padding: 0 16px; border-radius: 14px; border: 0; cursor: pointer; background: rgba(244,244,245,.05); font-size: 14px; }
html.light .side-mail { background: rgba(10,10,11,.05); }
.side-mail svg { width: 16px; height: 16px; opacity: .7; }
.side-cta { width: 100%; transform-origin: 0 0; }
.topbar, .menu-btn, .mnav { display: none; }

/* ---------- Main ---------- */
main { margin-left: calc(var(--side) + var(--pad) * 2); overflow-x: clip; }
.wrap { padding: 0 var(--gutter) 0 calc(var(--gutter) * .6); max-width: 1240px; }
section { position: relative; }
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 26px; }
.eyebrow b { color: var(--accent); font-weight: 500; }
.eyebrow::after { content: ''; height: 1px; width: 120px; background: var(--line-2); }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 6vw, 96px); line-height: .96; letter-spacing: -.025em; margin: 0; }
h2 em { color: var(--accent); }

/* Hero */
.hero { min-height: 100vh; padding: 40px 0 64px; display: flex; flex-direction: column; }
.hero-top { display: flex; min-height: 140px; align-items: flex-start; justify-content: space-between; gap: 24px; }
.ghost-logo { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: clamp(120px, 15vw, 230px); line-height: .82; letter-spacing: -.03em; margin: 0; }
.ghost-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; max-width: 580px; list-style: none; padding: 0 58px 0 0; margin: 10px 0 0; }
.ghost-links a { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 999px; font-size: 15px; box-shadow: inset 0 0 0 1px var(--line-2); }
.hero-body { position: relative; display: grid; grid-template-columns: minmax(0, 54%) 1fr; gap: clamp(28px, 5vw, 72px); align-items: end; margin-top: auto; padding-top: 48px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 5.2vw, 96px); line-height: .95; letter-spacing: -.03em; margin: 0; }
.hero h1 em { color: var(--gold); }
.mask { display: block; overflow: hidden; padding-bottom: .06em; }
.mask > span { display: inline-block; }
.hero-sub { display: flex; gap: 28px; align-items: flex-start; margin-top: 30px; max-width: 700px; }
.tri { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 22px; white-space: nowrap; line-height: 1.4; }
.hero-sub p { margin: 0; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.ghost-cta { height: 58px; padding: 0 28px; font-size: 16px; }
.portrait { position: absolute; right: -3%; bottom: 0; height: min(70vh, 680px); aspect-ratio: 1 / 1; margin: 0; isolation: isolate; z-index: 0; pointer-events: none; transform: translateY(clamp(54px, 8vh, 96px)); }
.hero-body > div { position: relative; z-index: 1; }
.portrait::before { content: ''; position: absolute; z-index: -1; left: 8%; right: 8%; top: 10%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(212,212,216,.55), rgba(198,244,50,.18) 45%, rgba(198,244,50,0) 70%); animation: glow 6s ease-in-out infinite alternate; }
.portrait::after { content: ''; position: absolute; z-index: -1; left: 14%; right: 14%; top: 16%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(212,212,216,.35); }
@keyframes glow { to { transform: scale(1.08); opacity: .8; } }
.portrait img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%), linear-gradient(90deg, transparent 0, #000 18%, #000 86%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, #000 70%, transparent 100%), linear-gradient(90deg, transparent 0, #000 18%, #000 86%, transparent 100%); mask-composite: intersect; }
.stats { position: relative; z-index: 2; background: var(--bg); display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(80px, 7.5vw, 100px) 0 0; border-top: 1px solid var(--line); padding: 0; }
.stat { padding: 22px 0 0 22px; border-left: 1px solid var(--line); margin: 0; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat dd { margin: 0; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.2vw, 64px); line-height: 1; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: 14px; }

/* About text reveal */
.about { padding: clamp(52px, 7vw, 104px) 0; }
.reveal-text { font-family: var(--serif); font-size: clamp(34px, 4.1vw, 64px); line-height: 1.12; letter-spacing: -.015em; margin: 0; max-width: 18em; }
.reveal-text em { color: var(--accent); }
.marquee { margin-top: clamp(64px, 8vw, 110px); border-block: 1px solid var(--line); overflow: hidden; padding: 20px 0; }
.marquee-track { display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; animation: slide 34s linear infinite; padding-left: 44px; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee .lbl { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.marquee .item { font-family: var(--serif); font-size: clamp(28px, 3vw, 44px); display: inline-flex; align-items: center; gap: 44px; }
.marquee .item::after { content: '✦'; font-size: 15px; color: var(--accent); }

/* Work: horizontal pinned reel */
.work { padding-top: 40px; }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 44px; }
.work-head p { color: var(--muted); max-width: 26em; margin: 0; }
.reel-pin { overflow: hidden; height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.reel { display: flex; gap: 22px; padding: 0 var(--gutter) 0 calc(var(--gutter) * .6); width: max-content; will-change: transform; }
.wcard { position: relative; width: min(64vw, 820px); height: min(66vh, 600px); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 30px; color: #fff; flex: none; isolation: isolate; }
.wcard::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--g); transition: transform 1.2s cubic-bezier(.22,1,.36,1); }
.wcard:hover::before { transform: scale(1.05); }
.wcard::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.5)); }
.wtop { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.wno { font-size: 13px; letter-spacing: .14em; opacity: .75; }
.wtag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 8px 14px; border-radius: 999px; background: rgba(0,0,0,.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.wtag i { width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.wtag.build i { background: var(--gold-2); }
.wbig { font-family: var(--serif); font-size: clamp(64px, 9vw, 150px); line-height: .85; letter-spacing: -.035em; margin: 0; font-weight: 400; }
.wbot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.wbot p { margin: 0 0 10px; max-width: 26em; font-size: 16px; opacity: .9; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.warrow { width: 58px; height: 58px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; flex: none; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.warrow svg { width: 20px; height: 20px; }
.wcard:hover .warrow { transform: rotate(45deg); }
.wend { width: min(30vw, 360px); flex: none; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 30px; }
.wend p { font-family: var(--serif); font-size: 34px; line-height: 1.1; margin: 0; }
.g1 { --g: radial-gradient(120% 120% at 85% 0%, #e7b46e 0%, #9a542f 42%, #2b150d 100%); }
.g2 { --g: radial-gradient(120% 120% at 10% 0%, #7c90b8 0%, #29365a 50%, #11151f 100%); }
.g3 { --g: radial-gradient(120% 120% at 90% 10%, #a7d8ba 0%, #3d6c58 50%, #13201a 100%); }
.g5 { --g: radial-gradient(120% 120% at 80% 0%, #8fc6c9 0%, #2f5f66 48%, #0f1c1f 100%); }
.g6 { --g: radial-gradient(120% 120% at 85% 0%, #7fd1b9 0%, #0f766e 45%, #0b2a2a 100%); }
.g7 { --g: radial-gradient(120% 120% at 15% 0%, #c6a0f0 0%, #6a3fb5 48%, #2a1a45 100%); }
.g4 { --g: radial-gradient(120% 120% at 20% 10%, #dcc6ec 0%, #6c4f8a 50%, #1c1426 100%); }

/* Capabilities: cards fly out of the sentence */
.caps { padding: clamp(52px, 7vw, 104px) 0; }
.caps-sentence { font-family: var(--serif); font-size: clamp(34px, 4.2vw, 66px); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 clamp(60px, 7vw, 100px); max-width: 17em; }
.slot { display: inline-block; vertical-align: middle; width: 1.7em; height: .92em; border-radius: 999px; background: var(--ink); color: var(--bg); position: relative; top: -.06em; margin: 0 .08em; }
.slot svg { position: absolute; inset: 0; margin: auto; width: .5em; height: .5em; }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.cap { border-radius: 26px; background: var(--dark); color: #f4f4f5; padding: 34px 30px 36px; min-height: 360px; display: flex; flex-direction: column; will-change: transform; }
.cap .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--gold); color: var(--dark); display: grid; place-items: center; }
.cap .ic svg { width: 24px; height: 24px; }
.cap h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.05; letter-spacing: -.015em; margin: auto 0 12px; }
.cap p { margin: 0; color: #a1a1aa; }

/* Engagements */
.eng { padding: clamp(52px, 7vw, 104px) 0; }
.eng-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.eng-head p { color: var(--muted); margin: 0; max-width: 28em; }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.pack { border-radius: 26px; padding: 32px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 16px; background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)); transition: box-shadow .3s; }
.pack:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.pack.feature { background: linear-gradient(180deg, rgba(198,244,50,.16), rgba(198,244,50,.02)); box-shadow: inset 0 0 0 1px rgba(198,244,50,.5); }
.pack .k { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pack h3 { font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1.05; margin: 0; }
.pack .price { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 21px; }
.pack ul { list-style: none; padding: 18px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 10px; flex: 1; }
.pack li { display: flex; gap: 10px; color: var(--muted); font-size: 15px; }
.pack li svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 3px; }
.pack .btn { align-self: flex-start; margin-top: 8px; }

/* CTA chat */
.cta { padding: 0 0 clamp(52px, 7vw, 104px); }
.chat { border-radius: 32px; background: var(--dark-2); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(36px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; overflow: hidden; position: relative; }
.chat::before { content: ''; position: absolute; width: 700px; height: 700px; right: -260px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(198,244,50,.18), rgba(198,244,50,0) 62%); pointer-events: none; }
.thread { display: flex; flex-direction: column; gap: 14px; position: relative; }
.bubble { max-width: 88%; padding: 16px 20px; border-radius: 22px; font-size: 17px; line-height: 1.45; }
.bubble.them { background: rgba(244,244,245,.08); border-bottom-left-radius: 6px; align-self: flex-start; }
.bubble.me { background: var(--gold); color: var(--dark); border-bottom-right-radius: 6px; align-self: flex-end; font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.who { display: flex; align-items: center; gap: 10px; align-self: flex-end; font-size: 13px; color: var(--muted); }
.who img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.typing { align-self: flex-end; display: inline-flex; gap: 5px; padding: 14px 18px; border-radius: 18px; background: rgba(244,244,245,.08); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-copy h2 { font-size: clamp(42px, 5vw, 80px); }
.chat-copy p { color: var(--muted); margin: 20px 0 30px; max-width: 26em; }
.chat-copy .row { display: flex; gap: 12px; flex-wrap: wrap; }

/* FAQ */
.faq { padding: clamp(52px, 7vw, 104px) 0; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa button { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--serif); font-size: 27px; line-height: 1.2; }
.qa button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.qa .pm { position: relative; width: 22px; height: 22px; flex: none; }
.qa .pm::before, .qa .pm::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--accent); transition: transform .45s cubic-bezier(.22,1,.36,1); }
.qa .pm::after { transform: rotate(90deg); }
.qa.open .pm::after { transform: rotate(0); }
.qa .ans { height: 0; overflow: hidden; }
.qa .ans p { margin: 0; padding: 0 0 26px; color: var(--muted); max-width: 36em; }

/* Footer */
footer { padding: 90px 0 30px; border-top: 1px solid var(--line); overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.mail { font-family: var(--serif); font-size: clamp(34px, 4.4vw, 68px); line-height: 1; display: inline-flex; align-items: center; gap: 14px; background: none; border: 0; cursor: pointer; padding: 0; text-align: left; }
.mail:hover { color: var(--gold-2); }
.mail svg { width: 24px; height: 24px; color: var(--gold); flex: none; }
.foot-bio { color: var(--muted); max-width: 28em; margin: 20px 0 0; }
footer h4 { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 8px 0 16px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
footer ul a:hover { color: var(--gold-2); }
.foot-big { font-family: var(--serif); font-style: italic; font-size: min(26vw, 340px); line-height: .9; max-width: 100%; color: transparent; -webkit-text-stroke: 1px var(--line-2); margin: 70px 0 20px; letter-spacing: -.04em; user-select: none; }
.foot-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13.5px; padding-top: 20px; border-top: 1px solid var(--line); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; z-index: 170; transition: opacity .3s, transform .4s; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* Welcome portrait */
.pl-img { position: fixed; left: 50%; top: 50%; width: 300px; height: 300px; margin: -150px 0 0 -150px; z-index: 181; clip-path: inset(100% 0 0 0); }
.pl-img img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%), linear-gradient(90deg, transparent 0, #000 18%, #000 86%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, #000 70%, transparent 100%), linear-gradient(90deg, transparent 0, #000 18%, #000 86%, transparent 100%); mask-composite: intersect; }
.preloader .pl-word { position: absolute; left: 50%; top: 50%; transform: translate(-50%, 140px); font-size: clamp(60px, 8vw, 110px); }
@media (min-width: 1024px) { .motion .ghost-logo, .motion .ghost-links { visibility: hidden; } }

/* Hero project strip */
.strip { overflow: hidden; padding: 26px 0 30px; border-top: 1px solid var(--line); }
.strip-head { display: flex; justify-content: space-between; align-items: center; padding: 0 var(--gutter) 18px calc(var(--gutter) * .6); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.strip-track { display: flex; gap: 14px; width: max-content; will-change: transform; }
.tile { width: 300px; height: 190px; border-radius: 20px; padding: 18px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; background: var(--g); flex: none; position: relative; overflow: hidden; }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.45)); }
.tile > * { position: relative; z-index: 1; }
.tile b { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: .9; letter-spacing: -.02em; }
.tile span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.tile:hover b { color: var(--gold-2); }

/* Category label on work cards */
.wcat { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.wcat em { font-style: normal; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.wtop-l { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* Story timeline */
.story { padding: clamp(52px, 7vw, 104px) 0; }
.story-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 80px; }
.story-head p { color: var(--muted); margin: 0; max-width: 28em; }
.tline { position: relative; list-style: none; margin: 0; padding: 0; }
.tline::before, .tline .fill { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--line-2); }
.tline .fill { background: var(--accent); transform-origin: 50% 0; transform: scaleY(0); }
.chap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding: 34px 0; }
.chap .node { position: absolute; left: 50%; top: 58px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--line-2); transition: background .4s, box-shadow .4s; }
.chap.on .node { background: var(--accent); box-shadow: 0 0 0 6px rgba(198,244,50,.18); }
.chap .card { grid-column: 1; border-radius: 24px; padding: 30px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.chap:nth-child(odd of .chap) .card { grid-column: 2; }
.chap .yr { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 22px; }
.chap .lbl { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-left: 10px; }
.chap h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.8vw, 42px); line-height: 1.05; letter-spacing: -.015em; margin: 12px 0 10px; }
.chap p { margin: 0; color: var(--muted); }
.chap .big { position: absolute; top: 20px; font-family: var(--serif); font-size: clamp(90px, 10vw, 160px); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-2); pointer-events: none; user-select: none; }
.chap:nth-child(odd of .chap) .big { left: 0; } .chap:nth-child(even of .chap) .big { right: 0; }


/* Live project previews on work cards */
.wshot { position: absolute; right: 30px; top: 86px; width: 54%; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.12); z-index: -1; transform: rotate(2deg); transition: transform .9s cubic-bezier(.22,1,.36,1); }
.wshot .bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; background: #f1ede6; }
.wshot .bar i { width: 8px; height: 8px; border-radius: 50%; background: #d8d1c6; }
.wshot .bar span { margin-left: 10px; flex: 1; height: 16px; border-radius: 6px; background: #fff; font: 500 10px/16px var(--sans); color: #52525b; padding: 0 8px; white-space: nowrap; overflow: hidden; }
.wshot .view { aspect-ratio: 16 / 10; overflow: hidden; }
.wshot img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 0; transition: transform 1.2s cubic-bezier(.22,1,.36,1); }
.wcard:hover .wshot { transform: rotate(0deg) translateY(-8px) scale(1.03); }
.wcard:hover .wshot img { transform: translateY(-12%); }
.wcard.has-shot .wbig { text-shadow: 0 6px 40px rgba(0,0,0,.45); }
.tile .thumb { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: .55; transition: opacity .5s, transform .8s cubic-bezier(.22,1,.36,1); }
.tile:hover .thumb { opacity: .8; transform: scale(1.06); }
@media (max-width: 1023px) { .wshot { flex: none; position: relative; right: auto; top: auto; width: 100%; transform: none; margin: 4px 0 14px; z-index: 0; } .wcard { height: auto; min-height: 480px; gap: 10px; } }

/* Footer wordmark glow */
@media (min-width: 1024px) { .foot-big { font-size: min(calc((100vw - 420px) * .3), 380px) !important; } }
.foot-big { display: inline-block; position: relative; --mx: 30%; --my: 50%;
  background: radial-gradient(circle at var(--mx) var(--my), #ffffff 0%, #d9f99d 18%, #c6f432 34%, rgba(198,244,50,.22) 60%, rgba(198,244,50,.08) 80%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 1px rgba(212,212,216,.45);
  filter: drop-shadow(0 0 24px rgba(198,244,50,.35)) drop-shadow(0 0 70px rgba(198,244,50,.18)); padding-right: .08em; }
.foot-big::after { content: attr(data-text); position: absolute; inset: 0; z-index: -1; color: #c6f432; -webkit-text-stroke: 0; filter: blur(42px); opacity: .45; animation: breathe 5s ease-in-out infinite alternate; }
@keyframes breathe { from { opacity: .25; } to { opacity: .6; } }



/* Proof lines, role, deliverables, trust */
.wout { margin: 0 0 12px !important; font-size: 14px !important; line-height: 1.45; opacity: .95; padding-left: 12px; border-left: 2px solid rgba(255,255,255,.55); max-width: 30em; }
.wout b { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; opacity: .75; margin-bottom: 2px; }
.role { margin-top: 40px; display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding-top: 28px; border-top: 1px solid var(--line); }
.role-k { margin: 0; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.role-t { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); line-height: 1.3; max-width: 34em; }
.pack .pk { margin: 6px 0 -6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.trust { padding: clamp(52px, 7vw, 104px) 0; }
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.principles li { grid-column: span 2; }
.principles li:nth-child(n+4) { grid-column: span 3; }
.principles li { border-radius: 22px; padding: 24px 22px 26px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 8px; min-height: 210px; }
.principles .pn { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 22px; }
.principles h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.1; margin: auto 0 4px; }
.principles p { margin: 0; color: var(--muted); font-size: 14.5px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 40px 0 0; border-top: 1px solid var(--line); }
.facts div { padding: 20px 20px 0 0; }
.facts dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.facts dd { margin: 0; font-size: 16px; }
.confidential { margin: 28px 0 0; color: var(--muted); font-size: 15px; }

@media (max-width: 1023px) { .principles, .facts { grid-template-columns: 1fr 1fr; } .principles li, .principles li:nth-child(n+4) { grid-column: auto; } .role { grid-template-columns: 1fr; gap: 10px; } }
@media (max-width: 560px) { .principles, .facts { grid-template-columns: 1fr; } .principles li { min-height: 0; } }

/* ---------- Accessibility menu ---------- */
.a11y { position: fixed; z-index: 175; right: var(--gutter); top: 50px; }
.a11y::after { content: ''; position: absolute; left: -20px; right: 0; top: 100%; height: 12px; }
.a11y-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%; border: 0; cursor: pointer; background: rgba(18,18,20,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #f4f4f5; font: 500 14px var(--sans); box-shadow: inset 0 0 0 1px rgba(244,244,245,.14); }
.a11y-btn:hover, .a11y-btn[aria-expanded="true"] { box-shadow: inset 0 0 0 1px var(--gold); }
.a11y-btn > svg:first-child { width: 24px; height: 24px; }
.a11y-btn span, .a11y-btn .caret { display: none; }
.a11y-btn .caret { width: 14px; height: 14px; transition: transform .2s; }
.a11y-btn[aria-expanded="true"] .caret { transform: rotate(180deg); }
.a11y-panel { position: absolute; right: 0; top: calc(100% + 8px); width: 290px; max-height: calc(100vh - 90px); overflow: auto; background: #121214; color: #f4f4f5; border-radius: 18px; padding: 18px 22px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), inset 0 0 0 1px rgba(244,244,245,.12); }
.a11y-panel[hidden] { display: none; }
.a11y-panel fieldset { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 2px; }
.a11y-panel legend { font: 400 22px var(--serif); margin-bottom: 6px; padding: 0; color: #d9f99d; }
.a11y-panel label { display: flex; align-items: center; gap: 12px; min-height: 38px; cursor: pointer; font-size: 15px; }
.a11y-panel input[type="radio"] { width: 20px; height: 20px; margin: 0; accent-color: #c6f432; flex: none; }
.a11y-actions { display: grid; gap: 4px; border-top: 1px solid rgba(244,244,245,.14); padding-top: 12px; }
.a11y-actions button { display: flex; align-items: center; gap: 10px; min-height: 40px; background: none; border: 0; padding: 0; color: #f4f4f5; font: 600 15px var(--sans); cursor: pointer; text-align: left; }
.a11y-actions button:hover { color: #d9f99d; text-decoration: underline; }
.a11y-actions svg { width: 20px; height: 20px; }
html[data-big="true"] main, html[data-big="true"] footer { zoom: var(--fs, 1); }
/* Background choices (override the light/dark flips) */
html[data-bg="contrast"] { --bg: #000; --ink: #fff; --muted: #f0f0f0; --line: rgba(255,255,255,.55); --line-2: rgba(255,255,255,.8); --card: #111; --gold: #ffd400; --gold-2: #ffe766; --accent: #ffd400; }
html[data-bg="contrast"] .side-panel, html[data-bg="contrast"] .topbar { background: #000 !important; box-shadow: inset 0 0 0 2px #fff !important; }
html[data-bg="contrast"] .hero-sub p, html[data-bg="contrast"] .lead { color: #fff; }
html[data-bg="cream"] { --bg: #f6eedc; --ink: #0a0a0b; --muted: #4f4438; --line: rgba(10,10,11,.16); --line-2: rgba(10,10,11,.3); --card: #ece2cc; --accent: #7a5526; }
html[data-bg="blue"] { --bg: #e3eef8; --ink: #0d2238; --muted: #34506b; --line: rgba(13,34,56,.16); --line-2: rgba(13,34,56,.3); --card: #d3e3f2; --accent: #1f5c99; }
html[data-bg="cream"] .side-panel, html[data-bg="cream"] .topbar { background: rgba(236,226,204,.85) !important; }
html[data-bg="blue"] .side-panel, html[data-bg="blue"] .topbar { background: rgba(211,227,242,.85) !important; }
html[data-bg="cream"] .ghost-logo, html[data-bg="cream"] .side-logo, html[data-bg="blue"] .side-logo, html[data-bg="blue"] .ghost-logo { color: var(--accent); }
html[data-bg="cream"] .chat, html[data-bg="blue"] .chat { background: var(--card); }
html[data-pointer="big"], html[data-pointer="big"] * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 11.2-6.6 1.1 3.9 7.2-2.9 1.5-3.9-7.3L4 20z' fill='%23000' stroke='%23fff' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") 6 3, auto !important; }
.mask-shade { position: fixed; left: 0; right: 0; background: rgba(0,0,0,.6); z-index: 160; pointer-events: none; }
.mask-shade.top { top: 0; } .mask-shade.bottom { bottom: 0; }
@media (max-width: 1023px) {
  .a11y { right: 72px; top: 20px; }
  .a11y-btn { width: 44px; height: 44px; border-radius: 12px; background: rgba(244,244,245,.08); box-shadow: none; }
  .a11y-panel { position: fixed; left: 12px; right: 12px; top: 80px; width: auto; }
}

/* ---------- Tablet & mobile ---------- */
@media (max-width: 1023px) {
  .side { display: none; }
  main { margin-left: 0; overflow-x: clip; }
  .wrap { padding: 0 var(--gutter); }
  .topbar { display: flex; position: fixed; z-index: 60; left: 12px; right: 12px; top: 12px; height: 60px; align-items: center; justify-content: space-between; padding: 0 10px 0 18px; border-radius: 18px; background: rgba(18,18,20,.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: background .6s; }
  html.light .topbar { background: rgba(255,255,255,.8); }
  .topbar .tl { font-family: var(--serif); font-style: italic; font-size: 32px; color: var(--accent); line-height: 1; }
  .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(244,244,245,.08); cursor: pointer; }
  html.light .menu-btn { background: rgba(10,10,11,.08); }
  .menu-btn svg { width: 18px; height: 18px; }
  .mnav { position: fixed; z-index: 59; left: 12px; right: 12px; top: 80px; border-radius: 18px; background: var(--dark-2); padding: 12px; display: none; }
  .mnav.open { display: grid; gap: 6px; }
  .mnav a { padding: 12px 14px; border-radius: 12px; font-family: var(--serif); font-size: 28px; color: #f4f4f5; }
  .mnav .btn { margin-top: 6px; }
  .hero { padding-top: 100px; min-height: auto; }
  .ghost-links { display: none; }
  .hero-body { grid-template-columns: 1fr; }
  .portrait { position: relative; right: auto; height: auto; max-width: 480px; width: 100%; margin: 0 auto -40px; transform: none; }
  .reel-pin { height: auto; overflow: visible; }
  .reel { flex-direction: column; width: auto; padding: 0 var(--gutter); }
  .wcard { width: 100%; height: 480px; }
  .wend { width: 100%; padding: 10px 0; }
  .cap-grid, .packs { grid-template-columns: 1fr; }
  .story-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .tline::before, .tline .fill { left: 9px; }
  .chap { grid-template-columns: 1fr; padding: 18px 0 18px 42px; gap: 0; }
  .chap .node { left: 9px; top: 44px; }
  .chap .card, .chap:nth-child(odd of .chap) .card { grid-column: 1; }
  .chap .big { display: none; }
  .tile { width: 240px; height: 160px; }
  .cap { min-height: 280px; }
  .eng-head, .faq-grid, .chat { grid-template-columns: 1fr; gap: 28px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ghost-logo { font-size: 104px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px 0 18px 18px; border-bottom: 1px solid var(--line); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-sub { flex-direction: column; gap: 12px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .work-head { flex-direction: column; align-items: flex-start; }
  .wcard { height: auto; min-height: 440px; padding: 22px; }
  .wbot { flex-direction: column; align-items: flex-start; }
  .bubble.me { font-size: 24px; }
  .qa button { font-size: 22px; }
  .foot-top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .dot, .typing i { animation: none; }
  .roll > span, .btn svg { transition: none; }
}

/* =====================================================================
   GLASS LAYER — midnight glass palette, aurora background, glass panels
   Tokens: change these to re-theme every page that uses this stylesheet.
   ===================================================================== */
:root {
  --glass: rgba(255,255,255,.055); --glass-2: rgba(255,255,255,.09); --glass-b: rgba(255,255,255,.13); --glass-hi: rgba(255,255,255,.22);
  --grad: linear-gradient(120deg, #f4f4f5 0%, #d4d4d8 38%, #c6f432 100%);
  --grad-soft: linear-gradient(140deg, rgba(244,244,245,.08), rgba(198,244,50,.10));
  --blur: blur(22px) saturate(160%);
  --lift: 0 24px 60px -30px rgba(0,0,0,.85);
}
html.light { --glass: rgba(255,255,255,.5); --glass-2: rgba(255,255,255,.7); --glass-b: rgba(255,255,255,.9); --glass-hi: #fff; --lift: 0 24px 60px -34px rgba(20,20,20,.35); }
html { background: var(--bg); transition: background-color .7s ease; }
body { background: transparent !important; }

/* Aurora: slow-moving light behind the glass */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(70px); opacity: .5; mix-blend-mode: screen; will-change: transform; }
.aurora .a1 { background: radial-gradient(circle, #3f3f46 0%, rgba(63,63,70,0) 65%); left: -18vmax; top: -22vmax; animation: au1 26s ease-in-out infinite alternate; }
.aurora .a2 { background: radial-gradient(circle, #27272a 0%, rgba(39,39,42,0) 65%); right: -20vmax; top: 10vh; animation: au2 30s ease-in-out infinite alternate; }
.aurora .a3 { background: radial-gradient(circle, #a3e635 0%, rgba(163,230,53,0) 65%); left: 20vw; bottom: -30vmax; opacity: .38; animation: au3 34s ease-in-out infinite alternate; }
.aurora .a4 { width: 34vmax; height: 34vmax; background: radial-gradient(circle, #52525b 0%, rgba(82,82,91,0) 65%); right: 18vw; bottom: 8vh; opacity: .22; animation: au1 24s ease-in-out infinite alternate-reverse; }
.aurora::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); }
html.light .aurora i { mix-blend-mode: multiply; opacity: .22; }
html.light .aurora .a3, html.light .aurora .a4 { opacity: .14; }
html.light .aurora::after { background-image: linear-gradient(rgba(13,18,38,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(13,18,38,.05) 1px, transparent 1px); }
@keyframes au1 { to { transform: translate(14vw, 10vh) scale(1.15); } }
@keyframes au2 { to { transform: translate(-16vw, 14vh) scale(.9); } }
@keyframes au3 { to { transform: translate(-10vw, -18vh) scale(1.2); } }
html[data-bg] .aurora { display: none; }

/* Glass surfaces */
html:not([data-bg]) :is(.side-panel, .topbar, .mnav, .a11y-btn, .a11y-panel, .ghost-links a, .btn-line, .pack, .principles li, .chap .card, .chat, .wend) {
  background-color: var(--glass) !important; -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: inset 0 0 0 1px var(--glass-b), inset 0 1px 0 var(--glass-hi), var(--lift) !important; }
html:not([data-bg]) :is(.side-panel, .a11y-panel, .mnav) { background-color: rgba(18,18,20,.45) !important; }
html.light:not([data-bg]) :is(.side-panel, .a11y-panel, .mnav, .topbar) { background-color: rgba(255,255,255,.55) !important; }
html.light:not([data-bg]) .a11y-panel, html.light:not([data-bg]) .a11y-panel .a11y-actions button { color: #18181b; }
html.light:not([data-bg]) .a11y-panel legend { color: #3f6212; }
html.light:not([data-bg]) .mnav a { color: #18181b; }
.pack.feature { background-image: var(--grad-soft) !important; }
html:not([data-bg]) :is(.side-nav a, .side-status, .side-mail) { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: rgba(255,255,255,.06) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.09) !important; }
html.light:not([data-bg]) :is(.side-nav a, .side-status, .side-mail) { background-color: rgba(255,255,255,.6) !important; box-shadow: inset 0 0 0 1px rgba(13,18,38,.06) !important; }
html.light .a11y-btn, html.light .menu-btn { color: #18181b; }
html:not([data-bg]) .side-nav a:hover, html:not([data-bg]) .side-nav a.active { background: var(--grad) !important; color: #0a0a0b; }

/* Buttons */
.btn-gold { background: #c6f432; color: #0a0a0b; box-shadow: 0 8px 22px -18px rgba(198,244,50,.4), 0 2px 6px -3px rgba(10,10,11,.12), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-gold:hover { background: #d9f99d; filter: none; }
html[data-bg="contrast"] .btn-gold { background: #ffd400; box-shadow: none; }

/* Iridescent accents */
:is(.hero h1 em, h2 em, .chat-copy h2 em, .tri, .stat b, .pl-word, .ghost-logo, .side-logo, .topbar .tl) {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pl-word span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
html.light :is(h2 em, .stat b) { background: linear-gradient(120deg, #18181b, #3f6212); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-bg] :is(.hero h1 em, h2 em, .chat-copy h2 em, .tri, .stat b, .ghost-logo, .side-logo, .topbar .tl) { background: none; color: var(--accent); }
.eyebrow b, .role-k, .chap .yr, .principles .pn, .cap .n { color: var(--accent); }

/* Capabilities: deep glass cards */
.cap { background: linear-gradient(160deg, rgba(30,30,34,.92), rgba(12,12,14,.94)) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), inset 0 1px 0 rgba(255,255,255,.2), 0 30px 60px -30px rgba(0,0,0,.6); }
.cap .ic, .slot { background: var(--grad); color: #0a0a0b; }
.bubble.me { background: var(--grad); color: #0a0a0b; }
.bubble.them { background: var(--glass-2); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 0 0 1px var(--glass-b); }
.tline .fill { background: var(--grad); }
.chap.on .node { background: #d9f99d; box-shadow: 0 0 0 6px rgba(198,244,50,.22), 0 0 24px rgba(212,212,216,.8); }
.wtag, .wcat em { -webkit-backdrop-filter: blur(10px) saturate(160%); backdrop-filter: blur(10px) saturate(160%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.wcard { box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 40px 80px -40px rgba(0,0,0,.8); }

/* Hero graphics: glass ring, orbs and floating chips */
.portrait::before { background: radial-gradient(circle at 50% 45%, rgba(212,212,216,.5), rgba(113,113,122,.22) 42%, rgba(163,230,53,.08) 60%, rgba(0,0,0,0) 72%) !important; }
.portrait::after { border: 1px solid rgba(255,255,255,.22) !important; box-shadow: inset 0 0 40px rgba(212,212,216,.12), 0 0 60px rgba(113,113,122,.15); background: conic-gradient(from 200deg, rgba(255,255,255,0), rgba(255,255,255,.08), rgba(255,255,255,0) 30%); }
.orb { position: absolute; border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.95) 0 4%, rgba(255,255,255,.35) 10%, rgba(212,212,216,.25) 32%, rgba(113,113,122,.22) 58%, rgba(255,255,255,.06) 75%);
  box-shadow: inset -10px -14px 30px rgba(82,82,91,.35), inset 8px 10px 24px rgba(255,255,255,.35), 0 30px 60px -20px rgba(0,0,0,.7);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: bob 7s ease-in-out infinite alternate; }
.orb.o1 { width: 92px; height: 92px; left: 4%; top: 18%; }
.orb.o2 { width: 46px; height: 46px; right: 6%; top: 8%; animation-duration: 9s; }
.orb.o3 { width: 28px; height: 28px; right: 30%; bottom: 6%; animation-duration: 6s; }
.gchip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 10px; border-radius: 999px; font: 500 14px var(--sans); color: #f4f4f5; white-space: nowrap;
  background: rgba(255,255,255,.08); -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), inset 0 1px 0 rgba(255,255,255,.35), 0 20px 40px -20px rgba(0,0,0,.7); animation: bob 6s ease-in-out infinite alternate; }
.gchip i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #0a0a0b; }
.gchip i svg { width: 15px; height: 15px; }
.gchip.c1 { left: 20%; top: 9%; } .gchip.c2 { right: 2%; top: 30%; animation-delay: -2s; } .gchip.c3 { right: 10%; bottom: 20%; animation-delay: -4s; }
@keyframes bob { to { translate: 0 -12px; } }
@media (max-width: 1023px) { .gchip { font-size: 12.5px; padding: 8px 12px 8px 8px; } .gchip i { width: 24px; height: 24px; } .orb.o1 { width: 60px; height: 60px; } }

/* Footer wordmark: iridescent */
.foot-big { background: radial-gradient(circle at var(--mx) var(--my), #ffffff 0%, #d9f99d 20%, #c6f432 38%, rgba(198,244,50,.35) 62%, rgba(212,212,216,.12) 82%) !important; -webkit-background-clip: text !important; background-clip: text !important; -webkit-text-stroke: 1px rgba(212,212,216,.4); filter: drop-shadow(0 0 24px rgba(198,244,50,.4)) drop-shadow(0 0 80px rgba(113,113,122,.25)); }
.foot-big::after { color: #c6f432; }

/* Section hairlines */
footer, .strip, .stats, .faq-list, .qa, .facts, .role { border-color: var(--line); }
footer { border-top: 0; position: relative; }
footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(212,212,216,.5), rgba(212,212,216,.5), transparent); }
@media (prefers-reduced-motion: reduce) { .aurora i, .orb, .gchip { animation: none; } }
html:not(.motion) .aurora i, html:not(.motion) .orb, html:not(.motion) .gchip { animation: none; }

/* Page header for inner pages (see _template.html) */
.page-head { padding: clamp(150px, 16vw, 220px) 0 clamp(70px, 8vw, 110px); }
.page-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 7vw, 116px); line-height: .95; letter-spacing: -.03em; margin: 0; max-width: 13em; }
.page-head h1 em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 1023px) { .page-head { padding-top: 120px; } }

/* Hero proof strip (labels above values) */
.stats .stat dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.stats .stat b { font-size: clamp(22px, 1.9vw, 32px); line-height: 1.1; letter-spacing: -.01em; }
.stats .stat b[data-count] { font-size: clamp(36px, 3.4vw, 52px); line-height: 1; }
html:not([data-bg]) .stats { background: rgba(255,255,255,.04); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); border-radius: 22px; border-top: 0; box-shadow: inset 0 0 0 1px var(--glass-b), inset 0 1px 0 var(--glass-hi); padding: 0 24px 22px; }

/* Graphite & lime refinements */
html:not([data-bg]) .side-nav a:hover, html:not([data-bg]) .side-nav a.active { background: #c6f432 !important; color: #0a0a0b !important; }
.gchip i, .cap .ic, .slot, .bubble.me { background: #c6f432 !important; color: #0a0a0b !important; }
.chap.on .node { background: #c6f432; box-shadow: 0 0 0 6px rgba(198,244,50,.18), 0 0 24px rgba(198,244,50,.6); }
.tline .fill { background: linear-gradient(180deg, #d4d4d8, #c6f432); }
html.light .tline .fill { background: linear-gradient(180deg, #52525b, #3f6212); }
.orb { background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.95) 0 4%, rgba(255,255,255,.35) 10%, rgba(212,212,216,.22) 32%, rgba(113,113,122,.25) 58%, rgba(255,255,255,.05) 75%); box-shadow: inset -10px -14px 30px rgba(0,0,0,.45), inset 8px 10px 24px rgba(255,255,255,.3), 0 30px 60px -20px rgba(0,0,0,.8); }
.orb.o2 { background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.95) 0 4%, rgba(236,252,203,.5) 12%, rgba(198,244,50,.4) 40%, rgba(77,124,15,.35) 70%); box-shadow: inset -6px -8px 18px rgba(26,46,5,.5), 0 20px 40px -14px rgba(198,244,50,.35); }
html.light :is(.eyebrow b, .role-k, .chap .yr, .principles .pn, .cap .n) { color: #3f6212; }
.dot { background: #c6f432; box-shadow: 0 0 0 0 rgba(198,244,50,.6); }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(198,244,50,0); } 100% { box-shadow: 0 0 0 0 rgba(198,244,50,0); } }
.wtag i { background: #c6f432; }
::selection { background: #c6f432; color: #0a0a0b; }
:focus-visible { outline-color: #c6f432; }
html.light :focus-visible { outline-color: #3f6212; }

/* Granite · deep teal · lime
   Granite base, deep teal atmosphere, lime as the single sharp accent. */
:root { --teal: #0f5f63; --teal-2: #14b8a6; --teal-l: #5eead4; --lime: #c6f432;
  --grad: linear-gradient(120deg, #f4f4f5 0%, #5eead4 48%, #c6f432 100%); }
.aurora .a1 { background: radial-gradient(circle, #0f5f63 0%, rgba(15,95,99,0) 65%); opacity: .6; }
.aurora .a2 { background: radial-gradient(circle, #134e4a 0%, rgba(19,78,74,0) 65%); opacity: .5; }
.aurora .a3 { background: radial-gradient(circle, #a3e635 0%, rgba(163,230,53,0) 65%); opacity: .14; }
.aurora .a4 { background: radial-gradient(circle, #14b8a6 0%, rgba(20,184,166,0) 65%); opacity: .2; }
html.light .aurora .a1, html.light .aurora .a2 { opacity: .16; }
.portrait::before { background: radial-gradient(circle at 50% 45%, rgba(20,184,166,.42), rgba(15,95,99,.28) 42%, rgba(198,244,50,.08) 60%, rgba(0,0,0,0) 72%) !important; }
.portrait::after { box-shadow: inset 0 0 40px rgba(94,234,212,.1), 0 0 60px rgba(20,184,166,.15) !important; }
.orb { background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.95) 0 4%, rgba(204,251,241,.45) 12%, rgba(94,234,212,.28) 34%, rgba(15,95,99,.4) 62%, rgba(255,255,255,.05) 78%); box-shadow: inset -10px -14px 30px rgba(4,47,46,.6), inset 8px 10px 24px rgba(255,255,255,.3), 0 30px 60px -20px rgba(0,0,0,.8); }
.cap { background: linear-gradient(160deg, rgba(15,95,99,.55), rgba(12,12,14,.96) 70%) !important; }
.pack.feature { background-image: linear-gradient(160deg, rgba(20,184,166,.16), rgba(198,244,50,.06)) !important; }
.tline .fill { background: linear-gradient(180deg, #5eead4, #c6f432); }
html.light :is(h2 em, .stat b) { background: none !important; color: #0f766e !important; -webkit-text-fill-color: #0f766e; }
html.light :is(.eyebrow b, .role-k, .chap .yr, .principles .pn, .cap .n) { color: #0f766e; }
html.light .tline .fill { background: linear-gradient(180deg, #0f766e, #4d7c0f); }
html.light :focus-visible { outline-color: #0f766e; }
.foot-big { background: radial-gradient(circle at var(--mx) var(--my), #ffffff 0%, #ccfbf1 16%, #5eead4 34%, #c6f432 56%, rgba(20,184,166,.18) 82%) !important; -webkit-background-clip: text !important; background-clip: text !important; filter: drop-shadow(0 0 26px rgba(20,184,166,.35)) drop-shadow(0 0 80px rgba(198,244,50,.12)); -webkit-text-stroke: 1px rgba(94,234,212,.35); }
.foot-big::after { color: #14b8a6; }
footer::before { background: linear-gradient(90deg, transparent, rgba(94,234,212,.5), rgba(198,244,50,.45), transparent); }

/* Lime text legibility: a soft shadow on dark, and on pale backgrounds a deep olive
   ink with a lime glow so it stays readable but still reads as "lime". */
.pack .price, .tri { text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 0 18px rgba(198,244,50,.25); }
.pack li svg, .mail svg { filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.5)); }
:is(html.light, html[data-bg="cream"], html[data-bg="blue"]) :is(.pack .price, .tri) {
  color: #3f6212 !important; -webkit-text-fill-color: #3f6212;
  text-shadow: 0 0 1px rgba(63,98,18,.35), 0 0 14px rgba(198,244,50,.55), 0 1px 0 rgba(255,255,255,.7); }
:is(html.light, html[data-bg="cream"], html[data-bg="blue"]) :is(.pack li svg, .mail svg) {
  color: #4d7c0f; filter: drop-shadow(0 0 4px rgba(198,244,50,.6)); }
:is(html.light, html[data-bg="cream"], html[data-bg="blue"]) .pack { box-shadow: inset 0 0 0 1px rgba(77,124,15,.35), 0 18px 40px -24px rgba(20,20,20,.25) !important; }

/* Footer "Olusanya": same legibility treatment as the lime text */
.foot-big { -webkit-text-stroke: 1px rgba(198,244,50,.45) !important;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.65)) drop-shadow(0 0 22px rgba(20,184,166,.35)) drop-shadow(0 0 60px rgba(198,244,50,.18)) !important; }
:is(html.light, html[data-bg="cream"], html[data-bg="blue"]) .foot-big {
  background: radial-gradient(circle at var(--mx) var(--my), #4d7c0f 0%, #3f6212 22%, #0f766e 48%, #134e4a 72%, #18181b 92%) !important;
  -webkit-background-clip: text !important; background-clip: text !important;
  -webkit-text-stroke: 1px rgba(63,98,18,.35) !important;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.7)) drop-shadow(0 0 16px rgba(198,244,50,.55)) drop-shadow(0 0 40px rgba(198,244,50,.25)) !important; }
:is(html.light, html[data-bg="cream"], html[data-bg="blue"]) .foot-big::after { color: #c6f432; opacity: .35; }
html[data-bg="contrast"] .foot-big { background: none !important; color: #ffd400 !important; -webkit-text-fill-color: #ffd400; filter: none !important; -webkit-text-stroke: 0 !important; }

/* Build / Secure / Ship: stacked on the right, clear of the face */
.gchip.c1, .gchip.c2, .gchip.c3 { left: auto; bottom: auto; right: -3%; animation-delay: 0s; }
.gchip.c1 { top: 48%; } .gchip.c2 { top: 58%; } .gchip.c3 { top: 68%; }
@media (max-width: 1023px) { .gchip.c1, .gchip.c2, .gchip.c3 { right: 0; } .gchip.c1 { top: 58%; } .gchip.c2 { top: 68%; } .gchip.c3 { top: 78%; } }

/* Long single-word project names (e.g. ClarityConduct) stay clear of the preview */
.wbig.wbig-long { font-size: clamp(44px, 4.4vw, 70px); white-space: nowrap; }
@media (max-width: 1023px) { .wbig.wbig-long { font-size: clamp(38px, 10.5vw, 64px); } }

/* Work cards: project photo as a full-bleed background (replaces the browser-frame preview) */
.wcard .wshot { position: absolute !important; inset: 0 -60px !important; width: auto !important; top: 0 !important; right: -60px !important;
  margin: 0 !important; border-radius: 0; background: none; box-shadow: none !important; transform: none; z-index: -1; flex: none; }
.wcard .wshot .bar { display: none; }
.wcard .wshot .view { position: absolute; inset: 0; aspect-ratio: auto; }
.wcard .wshot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.04); transition: transform 1.4s cubic-bezier(.22,1,.36,1), filter .6s; filter: saturate(1.05) contrast(1.02); }
.wcard .wshot::after { content: ''; position: absolute; inset: 0; background: var(--g); mix-blend-mode: soft-light; opacity: .7; }
.wcard:hover .wshot { transform: none; }
.wcard:hover .wshot img { transform: scale(1.1); }
.wcard.has-shot::after { background:
  linear-gradient(90deg, rgba(6,8,10,.82) 0%, rgba(6,8,10,.55) 45%, rgba(6,8,10,.15) 100%),
  linear-gradient(180deg, rgba(6,8,10,.45) 0%, rgba(6,8,10,0) 30%, rgba(6,8,10,.25) 60%, rgba(6,8,10,.85) 100%) !important; }
.wcard.has-shot .wbig { text-shadow: 0 4px 30px rgba(0,0,0,.55); }
.wcard.has-shot .wbot p, .wcard.has-shot .wno { text-shadow: 0 1px 12px rgba(0,0,0,.6); }
/* busier source images sit further back */
.wcard.shot-busy .wshot img { filter: grayscale(.4) blur(1.5px) brightness(.8); }
.wcard.g4.shot-busy .wshot img { filter: grayscale(.6) blur(6px) brightness(.55); transform: scale(1.12); }
@media (max-width: 1023px) {
  .wcard .wshot { inset: 0 !important; }
  .wcard.has-shot { min-height: 520px; justify-content: space-between; }
  .wcard.has-shot::after { background: linear-gradient(180deg, rgba(6,8,10,.55) 0%, rgba(6,8,10,.25) 30%, rgba(6,8,10,.88) 70%, rgba(6,8,10,.95) 100%) !important; }
}
@media (prefers-reduced-motion: reduce) { .wcard .wshot img { transition: none; } }

/* Hero: supporting line sits under "Build. Secure. Ship." */
.hero-sub { flex-direction: column !important; align-items: flex-start; gap: 10px !important; max-width: 34em; }
.hero-sub p { max-width: 30em; }

/* Glass chips readable on light backgrounds (Blue, Cream, light sections) */
:is(html.light, html[data-bg="cream"], html[data-bg="blue"]) .gchip {
  color: #18181b; background: rgba(255,255,255,.82);
  box-shadow: inset 0 0 0 1px rgba(24,24,27,.14), 0 14px 30px -16px rgba(24,24,27,.35); text-shadow: none; }
:is(html.light, html[data-bg="cream"], html[data-bg="blue"]) .gchip i { background: #c6f432; color: #18181b; box-shadow: inset 0 0 0 1px rgba(24,24,27,.12); }
html[data-bg="contrast"] .gchip { color: #fff; background: #000; box-shadow: inset 0 0 0 2px #fff; }


/* Headings: give descenders (g, y, p) room inside the line-reveal mask */
.ln-mask { padding-bottom: .16em; margin-bottom: -.16em; }
.mask { padding-bottom: .16em !important; margin-bottom: -.1em; }

/* Emphasis marker: a lime highlighter stroke behind the italic words in section headings */
:is(h2, .page-head h1) em:not(:empty) {
  background: linear-gradient(var(--mark, #c6f432), var(--mark, #c6f432)) no-repeat 0 60% / 100% 86% !important;
  -webkit-background-clip: border-box !important; background-clip: border-box !important;
  color: var(--mark-ink, inherit) !important; -webkit-text-fill-color: currentColor;
  padding: 0 .1em; margin: 0 -.04em; border-radius: .08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
html:not([data-bg]):not(.light) :is(h2, .page-head h1) em:not(:empty) { --mark: rgba(198,244,50,.92); --mark-ink: #0a0a0b; }
:is(html.light, html[data-bg="blue"], html[data-bg="cream"]) :is(h2, .page-head h1) em:not(:empty) { --mark: #d4f75a; --mark-ink: #0b1220; }
html[data-bg="contrast"] :is(h2, .page-head h1) em:not(:empty) { --mark: #ffd400; --mark-ink: #000; }
/* draw the marker in when the heading arrives */
html.motion :is(h2, .page-head h1).mark-pending em:not(:empty) { background-size: 0% 86% !important; }
html.motion :is(h2, .page-head h1) em:not(:empty) { transition: background-size 1s cubic-bezier(.65,0,.35,1) .35s; }
@media (prefers-reduced-motion: reduce) { :is(h2, .page-head h1) em { transition: none !important; } }

/* ---------- Booking window (styled after the BuildGrade scheduler) ---------- */
.book { width: min(1080px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 28px; color: var(--ink); background: transparent; overflow: visible; }
.book::backdrop { background: rgba(6,10,16,.55); -webkit-backdrop-filter: blur(10px) saturate(120%); backdrop-filter: blur(10px) saturate(120%); }
.book[open] { animation: bookIn .5s cubic-bezier(.22,1,.36,1); }
.book[open]::backdrop { animation: fadeIn .4s ease; }
@keyframes bookIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes fadeIn { from { opacity: 0; } }
.book-card { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; padding: 24px; border-radius: 28px; max-height: calc(100dvh - 32px); overflow: auto;
  background: rgba(14,18,22,.86); -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), inset 0 1px 0 rgba(255,255,255,.18), 0 40px 120px -30px rgba(0,0,0,.7); }
:is(html.light, html[data-bg="blue"], html[data-bg="cream"]) .book-card { background: rgba(250,252,255,.9); color: #0b1220; box-shadow: inset 0 0 0 1px rgba(11,18,32,.1), 0 40px 120px -30px rgba(11,18,32,.45); }
html[data-bg="contrast"] .book-card { background: #000; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.book-info { display: flex; flex-direction: column; padding: 18px 12px 12px 14px; }
.book-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.book-eyebrow::before { content: ''; width: 8px; height: 8px; background: #c6f432; transform: rotate(45deg); }
.book-info h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; letter-spacing: -.02em; margin: 0; }
.book-info > p { margin: 16px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: 26em; }
.book-meta { list-style: none; padding: 18px 0 0; margin: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14px; }
.book-meta li { display: flex; gap: 10px; align-items: center; }
.book-meta svg { width: 18px; height: 18px; flex: none; color: var(--accent); }
.book-steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; counter-reset: st; }
.book-steps li { counter-increment: st; display: flex; gap: 10px; align-items: baseline; font-size: 13.5px; color: var(--muted); }
.book-steps li::before { content: counter(st); font: 600 11px var(--sans); width: 20px; height: 20px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #c6f432; color: #0a0a0b; }
.book-alt { margin-top: auto; padding-top: 24px; font-size: 13.5px; color: var(--muted); }
.book-alt a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.book-frame { position: relative; min-height: min(640px, calc(100dvh - 80px)); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px rgba(11,18,32,.08); }
html:not([data-bg]):not(.light) .book-frame { background: #101114; }
.book-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.book-frame .book-loading { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #6b7280; }
.book-frame .book-loading i { display: block; width: 28px; height: 28px; margin: 0 auto 12px; border-radius: 50%; border: 2px solid rgba(15,118,110,.2); border-top-color: #0f766e; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.book-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: inherit; background: rgba(127,127,127,.14); box-shadow: inset 0 0 0 1px rgba(127,127,127,.25); }
.book-close:hover { background: #c6f432; color: #0a0a0b; }
.book-close svg { width: 18px; height: 18px; }
@media (max-width: 820px) {
  .book-card { grid-template-columns: 1fr; padding: 14px; gap: 14px; border-radius: 22px; }
  .book-info { padding: 14px 52px 4px 8px; }
  .book-steps { display: none; }
  .book-alt { padding-top: 12px; }
  .book-frame { min-height: 70dvh; }
}
html.book-open, html.book-open body { overflow: hidden; }

/* Proof strip: recognition row */
.stats .stat-award { grid-column: 1 / -1; border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 18px; padding-bottom: 0; display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.stats .stat-award dt { margin: 0; }
.stats .stat-award dd { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.stats .stat-award b { font-size: clamp(20px, 1.6vw, 26px) !important; }
.stats .stat-award .award-by { color: var(--muted); font-size: 14px; }
.stats .stat-award b::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: #c6f432; transform: rotate(45deg) translateY(-3px); }
@media (max-width: 640px) { .stats .stat-award { border-bottom: 0; } }
