/* Implied Tonality, v3. One stylesheet. Dark indigo night, raised surfaces for depth,
   cream paper for music, vivid violet for actions. Stripe structure: two-tone headings,
   layered product visuals, alternating feature rows. */
@font-face { font-family: 'Inter'; src: url(/fonts/inter.woff2) format('woff2'); font-weight: 300 800; font-display: swap; }
@font-face { font-family: 'Cover'; src: url(/fonts/fira-800.woff2) format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Mono'; src: url(/fonts/geist-mono.woff2) format('woff2'); font-weight: 400 600; font-display: swap; }

:root {
  --night: #0d0b26; --raised: #17143b; --raised-2: #1f1b4d; --edge: rgba(198,184,255,.12); --edge-2: rgba(198,184,255,.2);
  --ink: #f5f3ff; --slate: #a9a6cf; --dim: #7d79a6;
  --violet: #7c5cff; --violet-2: #9b82ff; --lavender: #c6b8ff;
  --paper: #f3ece1; --paper-ink: #1d1838; --paper-line: #d9cfbf;
  --max: 1160px;
  --lift: 0 1px 0 rgba(255,255,255,.06) inset, 0 0 0 1px var(--edge), 0 24px 48px -20px rgba(3,2,15,.8), 0 60px 120px -40px rgba(3,2,15,.9);
  --lift-paper: 0 0 0 1px rgba(0,0,0,.05), 0 20px 40px -16px rgba(3,2,15,.7), 0 60px 120px -40px rgba(3,2,15,.85);
}
* { box-sizing: border-box; }
html { background: var(--night); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font: 400 18px/1.62 'Inter', system-ui, sans-serif; letter-spacing: -0.011em; -webkit-font-smoothing: antialiased;
  background: radial-gradient(1100px 700px at 75% -180px, rgba(124,92,255,.32), transparent 65%), radial-gradient(900px 600px at 0% 30%, rgba(124,92,255,.08), transparent 70%), var(--night); background-repeat: no-repeat; }
img { max-width: 100%; display: block; }
a { color: var(--lavender); text-decoration: none; }
a:hover { color: #fff; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--lavender); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; color: #fff; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* headings: statement in white, continuation in slate */
.h2 { font-size: clamp(34px, 3.6vw, 50px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; max-width: 660px; }
.h2 span { color: var(--slate); font-weight: 500; }
.body { font-size: 19px; color: var(--slate); line-height: 1.62; max-width: 520px; margin-top: 24px; }
.go { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; color: #fff; font-weight: 600; font-size: 17px; }
.go::after { content: ''; width: 8px; height: 8px; border-top: 2px solid var(--lavender); border-right: 2px solid var(--lavender); transform: rotate(45deg); transition: transform .2s; }
.go:hover::after { transform: translateX(3px) rotate(45deg); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px; border-radius: 10px; font: 600 17px 'Inter', sans-serif; letter-spacing: -0.01em; border: 0; cursor: pointer; transition: background .15s, box-shadow .15s, transform .1s; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 24px -8px rgba(124,92,255,.7); }
.btn-primary:hover { background: var(--violet-2); color: #fff; }
.btn-quiet { background: rgba(255,255,255,.06); color: #fff; box-shadow: 0 0 0 1px var(--edge-2) inset; }
.btn-quiet:hover { background: rgba(255,255,255,.1); color: #fff; }

/* nav (markup from site.js) */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(13,11,38,.72); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--edge); }
.nav .wrap { display: flex; align-items: center; gap: 36px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand .mark { width: 22px; height: 26px; }
.nav-links { display: flex; align-items: center; }
.nav-more { position: relative; }
.nav-more > button { display: flex; align-items: center; gap: 7px; background: none; border: 0; color: #e9e6ff; font: 500 16.5px 'Inter', sans-serif; padding: 12px 14px; cursor: pointer; }
.nav-more > button svg { opacity: .6; transition: transform .2s; }
.nav-more > button:hover, .nav-more.open > button { color: #fff; }
.nav-more.open > button svg { transform: rotate(180deg); }
.nav-more.active > button { color: var(--lavender); }
.nav-more .menu { position: absolute; top: calc(100% + 4px); left: -6px; min-width: 320px; padding: 10px; border-radius: 14px; background: var(--raised); box-shadow: var(--lift); visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav-more.open .menu { visibility: visible; opacity: 1; transform: none; }
.nav-more .menu a { display: block; padding: 12px 14px; border-radius: 10px; }
.nav-more .menu a b { display: block; color: #fff; font-weight: 600; font-size: 16px; }
.nav-more .menu a span { display: block; color: var(--slate); font-size: 14.5px; margin-top: 2px; }
.nav-more .menu a:hover { background: rgba(255,255,255,.05); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav-ask { color: #e9e6ff; font-weight: 500; font-size: 16.5px; }
.nav-right .btn { height: 42px; padding: 0 18px; font-size: 15.5px; background: var(--violet); color: #fff; border-radius: 9px; }
.nav-right .btn::after { display: none; }
.nav-burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
.nav-burger span { display: block; width: 22px; height: 2px; margin: 5px auto; background: #fff; border-radius: 2px; }

/* hero */
.hero { position: relative; padding: clamp(70px, 8vw, 120px) 0 clamp(90px, 9vw, 140px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.hero h1 { font-family: 'Cover', sans-serif; font-weight: 800; text-transform: uppercase; font-size: clamp(64px, 7.6vw, 112px); line-height: .9; letter-spacing: 0; }
.hero .sub { font-size: clamp(24px, 2.2vw, 30px); color: #e4dfff; font-weight: 500; letter-spacing: -0.02em; margin-top: 18px; }
.hero .body { margin-top: 22px; font-size: 20px; max-width: 500px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 38px; }

/* feature rows */
.row { padding: clamp(90px, 10vw, 150px) 0; border-top: 1px solid var(--edge); }
.row-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 6vw, 96px); align-items: center; }
.row.flip .row-grid > :first-child { order: 2; }
.visual { position: relative; }
.paper { background: var(--paper); color: var(--paper-ink); border-radius: 16px; padding: 22px; box-shadow: var(--lift-paper); }
.raised { background: var(--raised); border-radius: 16px; padding: 26px; box-shadow: var(--lift); }
.paper .cap, .raised .cap { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; margin-bottom: 8px; }
.paper .cap { color: #6f6788; } .paper .cap b { color: var(--paper-ink); font-weight: 600; }
.raised .cap { color: var(--slate); } .raised .cap b { color: #fff; font-weight: 600; }
.overlap { position: absolute; right: -24px; bottom: -40px; width: 260px; }
.overlap b { display: block; font-size: 40px; font-weight: 600; letter-spacing: -0.04em; color: #fff; line-height: 1; }
.overlap span { display: block; color: var(--slate); font-size: 15px; margin-top: 8px; line-height: 1.4; }
.figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--paper-line); }
.figs b { display: block; font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.figs span { display: block; font-size: 14px; color: #6f6788; margin-top: 6px; line-height: 1.35; }
.raised .figs { border-top-color: var(--edge); } .raised .figs b { color: #fff; } .raised .figs span { color: var(--slate); }

/* census band */
.census { padding: clamp(100px, 11vw, 160px) 0; border-top: 1px solid var(--edge); background: linear-gradient(180deg, rgba(124,92,255,.07), transparent 40%); }
.census .h2 { max-width: 760px; }
.census-panel { margin-top: 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; background: var(--raised); border-radius: 18px; box-shadow: var(--lift); overflow: hidden; }
.chart-side { padding: 32px 34px 26px; border-right: 1px solid var(--edge); }
.chart-side .cap { display: flex; justify-content: space-between; color: var(--slate); font-size: 15px; margin-bottom: 14px; }
.chart-side .cap b { color: #fff; font-weight: 600; }
.chart-side svg { width: 100%; height: auto; display: block; }
.facts { display: grid; }
.fact { padding: 26px 32px; border-bottom: 1px solid var(--edge); }
.fact:last-child { border-bottom: 0; }
.fact b { display: block; font-size: 42px; font-weight: 600; letter-spacing: -0.04em; color: #fff; line-height: 1; }
.fact span { display: block; color: var(--slate); font-size: 16px; margin-top: 8px; line-height: 1.45; }
.fact:nth-child(2) b { color: var(--lavender); }
.live { margin-top: 26px; background: var(--raised); border-radius: 18px; box-shadow: var(--lift); overflow: hidden; }
.live-head { display: flex; justify-content: space-between; gap: 16px; padding: 18px 28px; border-bottom: 1px solid var(--edge); color: var(--slate); font-size: 16px; }
.live-head b { color: #fff; font-weight: 600; }
.c-stream { height: 336px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.c-row { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: center; padding: 16px 28px; border-bottom: 1px solid rgba(198,184,255,.06); color: inherit; animation: cin .4s ease; }
.c-row:hover { background: rgba(255,255,255,.025); color: inherit; }
.c-notes { display: flex; gap: 14px; font: 500 17px 'Mono', monospace; color: #cfc9ef; }
.c-notes span.hit { color: #fff; text-decoration: underline; text-decoration-color: var(--violet-2); text-decoration-thickness: 3px; text-underline-offset: 7px; }
.c-detail b { display: block; color: #fff; font-weight: 600; font-size: 16.5px; }
.c-detail span { display: block; color: var(--slate); font-size: 14.5px; line-height: 1.45; }
.c-row.none .c-detail b { color: #ffc89b; }
@keyframes cin { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* reader showcase */
.desk-shot { position: relative; height: 440px; perspective: 2000px; }
.desk-shot .spread { position: absolute; left: 6%; top: 30px; width: 88%; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-radius: 6px; box-shadow: var(--lift-paper); transform: rotateX(18deg) rotateZ(-2deg); overflow: hidden; }
.desk-shot .spread img { width: 100%; mix-blend-mode: multiply; }
.desk-shot .spread::after { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 60px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(40,25,20,.22) 50%, transparent); }
.desk-shot .closed { position: absolute; right: -10px; bottom: -10px; width: 180px; border-radius: 2px 8px 8px 2px; box-shadow: var(--lift-paper); transform: rotate(6deg); }

/* quote */
.quote { padding: clamp(110px, 12vw, 170px) 0; border-top: 1px solid var(--edge); text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 940px; font-size: clamp(32px, 3.6vw, 52px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.16; color: #fff; transition: opacity .3s; }
.quote .who { margin-top: 26px; color: var(--slate); font-size: 17px; }
.quote .qnav { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 30px; color: var(--dim); font: 500 15px 'Mono', monospace; }
.quote .qnav button { width: 44px; height: 44px; border-radius: 10px; border: 0; background: rgba(255,255,255,.05); box-shadow: 0 0 0 1px var(--edge-2) inset; color: #fff; font-size: 22px; cursor: pointer; }
.quote .qnav button:hover { background: rgba(255,255,255,.1); }
.quote.fade blockquote { opacity: 0; }

/* video */
.video-card { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border: 0; padding: 0; border-radius: 16px; overflow: hidden; background: #000; box-shadow: var(--lift); cursor: pointer; }
.video-card img { width: 100%; height: 100%; object-fit: contain; }
.video-card .play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--violet); box-shadow: 0 16px 40px -10px rgba(124,92,255,.8); transition: transform .2s; }
.video-card .play::after { content: ''; position: absolute; left: 30px; top: 25px; border-left: 20px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.video-card:hover .play { transform: scale(1.06); }
.video-frame { aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; box-shadow: var(--lift); }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* closing */
.closing { padding: 0 0 clamp(110px, 10vw, 150px); }
.closing-card { display: grid; grid-template-columns: 1fr 260px; gap: 56px; align-items: center; padding: 56px 64px; border-radius: 22px; background: linear-gradient(135deg, #2a1f72, #17143b 70%); box-shadow: var(--lift); overflow: hidden; position: relative; }
.closing-card .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.closing-card img { width: 240px; border-radius: 3px 8px 8px 3px; box-shadow: var(--lift-paper); transform: rotate(4deg); justify-self: center; }

/* footer (markup from site.js) */
.end { border-top: 1px solid var(--edge); padding: 72px 0 44px; background: rgba(0,0,0,.18); }
.end .grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; }
.end .brand { margin-bottom: 18px; }
.end h4 { margin: 0 0 14px; color: #fff; font-size: 16px; font-weight: 600; }
.end a { display: block; color: var(--slate); font-size: 16px; padding: 5px 0; }
.end a:hover { color: #fff; }
.end .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.end .actions .btn { height: 42px; font-size: 15px; padding: 0 16px; display: inline-flex; }
.end .actions .btn-white { background: var(--violet); color: #fff; }
.end .actions .btn-soft { background: rgba(255,255,255,.06); color: #fff; box-shadow: 0 0 0 1px var(--edge-2) inset; }
.end .legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--edge); color: var(--dim); font-size: 14.5px; }

@media (max-width: 1060px) {
  .nav-links, .nav-ask { display: none; } .nav-burger { display: block; margin-left: 0; }
  .nav.open .nav-links { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 76px; left: 0; right: 0; background: var(--raised); padding: 12px 24px 24px; box-shadow: var(--lift); }
  .nav.open .nav-more .menu { visibility: visible; opacity: 1; transform: none; position: static; box-shadow: none; padding: 0 0 8px; background: none; }
}
@media (max-width: 980px) {
  .hero-grid, .row-grid, .census-panel, .closing-card { grid-template-columns: 1fr; }
  .row.flip .row-grid > :first-child { order: 0; }
  .chart-side { border-right: 0; border-bottom: 1px solid var(--edge); }
  .overlap { position: static; margin-top: 18px; width: auto; }
  .c-row { grid-template-columns: 1fr; gap: 8px; } .c-notes { gap: 9px; font-size: 15px; flex-wrap: wrap; }
  .end .grid { grid-template-columns: 1fr 1fr; }
  .closing-card { padding: 36px 28px; } .closing-card img { width: 170px; }
}
@media (max-width: 560px) { body { font-size: 17px; } .desk-shot { height: 300px; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
