/* One look for every screen: bone paper, ink type, one black action. No scrollbars, nothing slides sideways. */
@font-face { font-family: 'Archivo'; src: url('/fonts/archivo-wdth.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
	--bone: #F7F3E9; --ink: #111311; --cue: #EDB743; --dim: #6B675D; --off: #ADA897; --field: #ECE6D8; --line: #DDD6C6;
	--r: 16px; --pad: 24px; --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
	--top: max(20px, env(safe-area-inset-top)); --bottom: max(16px, env(safe-area-inset-bottom));
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bone); color: var(--ink); font: 16px/1.45 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; scrollbar-width: none; }
::-webkit-scrollbar { display: none; }
body { min-height: 100dvh; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
button:disabled, .is-off { cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

/* type */
.big { font-weight: 800; font-stretch: 72%; letter-spacing: -0.035em; line-height: .86; margin: 0; }
.mid { font-weight: 700; font-stretch: 80%; letter-spacing: -0.015em; line-height: 1.05; }
.dim { color: var(--dim); }
.off { color: var(--off); }
.sm { font-size: 14px; }
.xs { font-size: 13px; }
h1, h2, p { margin: 0; }

/* frame */
#app { min-height: 100dvh; display: flex; flex-direction: column; }
#nav { display: none; }
.screen { flex: 1; display: flex; flex-direction: column; padding: var(--top) var(--pad) var(--bottom); width: 100%; max-width: 520px; margin: 0 auto; min-height: 100dvh; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; font-size: 15px; font-weight: 600; }
.top a, .top button { min-height: 44px; display: inline-flex; align-items: center; }
.push { flex: 1; min-height: 24px; }
.stack { display: grid; gap: 10px; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.sep { border-top: 1px solid var(--line); }
.foot { display: flex; justify-content: space-between; gap: 12px; padding-top: 18px; font-size: 15px; font-weight: 600; }
.foot a { min-height: 44px; display: inline-flex; align-items: center; }

/* actions */
.slab { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 60px; padding: 0 22px; border-radius: 18px; background: var(--ink); color: var(--bone); font-weight: 700; font-stretch: 85%; font-size: 18px; }
.slab.lt { background: var(--field); color: var(--ink); }
.slab:disabled, .slab.is-off { background: #E4DDCD; color: #A49E8C; }
.slab small { font-weight: 500; font-size: 14px; opacity: .8; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 12px; background: var(--field); font-weight: 600; font-size: 15px; }
.chip[aria-pressed="true"], .chip.on { background: var(--ink); color: var(--bone); }
.chip:disabled { color: #A49E8C; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tchk { cursor: pointer; position: relative; }
.tchk input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tchk:has(input:checked) { background: var(--ink); color: var(--bone); }
.tchk:has(input:disabled) { color: #A49E8C; cursor: not-allowed; }
.tchk:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.dres { display: grid; gap: 32px; margin-top: 8px; }
.rcount { font-size: clamp(88px, 26vw, 200px); }
.rlist { display: grid; gap: 16px; align-content: end; }
.rlist a { display: flex; gap: 16px; align-items: center; min-height: 80px; }
.dchan { display: flex; align-items: center; gap: 14px; padding: 8px 0; width: 100%; min-height: 56px; }
.dinv { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 10px; }
.phead { display: grid; gap: 14px; }
.pcards { display: grid; gap: 14px; margin-top: 26px; }
.pcard { padding: 28px; border-radius: 24px; display: flex; flex-direction: column; background: var(--field); min-height: 380px; }
.pcard.up { background: var(--ink); color: var(--bone); }
.pcard .pprice { font-size: 36px; margin-top: 8px; }
.pcard .pprice small { font-size: 16px; font-weight: 500; }
.pcard .pblurb { font-size: 16px; line-height: 1.5; margin-top: 18px; opacity: .72; }
.pcard .pfeat { list-style: none; padding: 0; margin: 22px 0 24px; display: grid; gap: 10px; font-size: 16px; }
.pcard .slab.inv { background: var(--bone); color: var(--ink); }
.pcard .slab.inv:disabled { background: rgba(247,243,233,.22); color: rgba(247,243,233,.6); }
.pfoot { display: grid; gap: 12px; margin-top: 22px; }
.pcode { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; max-width: 520px; }
.pcode .slab { width: auto; }
.dset { display: grid; gap: 40px; margin-top: 8px; }
.dset section { display: flex; flex-direction: column; }
.slist { margin-top: 20px; }
.srow { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; font-size: 17px; border-top: 1px solid var(--line); min-height: 52px; align-items: center; }
.srow:first-child { border-top: 0; }
.srow span:last-child { text-align: right; }
.srow.is-off { color: var(--off); }
.lhead { margin: 8px 0 18px; display: grid; gap: 14px; }
.lcount { font-size: clamp(72px, 20vw, 120px); }
.ltools { display: grid; gap: 12px; }
.dpost { display: grid; gap: 22px; margin-top: 12px; }
.dpost .pclip .img { width: 46%; display: block; }
.dpost .ph { font-size: 30px; margin-bottom: 6px; }
.dpost .acct { margin: 6px 0; font-size: 15px; }
.dpost .psend { display: grid; gap: 10px; }
.dpost .dl { min-height: 44px; align-items: center; }
.link { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* fields */
.field { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 16px; border-radius: 16px; background: var(--field); font-size: 18px; width: 100%; }
.field input, .field textarea, input.field, textarea.field, select.field { border: 0; background: none; font: inherit; color: inherit; width: 100%; outline: none; min-width: 0; }
textarea.field { background: var(--field); padding: 14px 16px; min-height: 120px; resize: none; line-height: 1.4; font-size: 16px; }
select.field { appearance: none; }
.field:focus-within { box-shadow: 0 0 0 2px var(--ink); }
.check { display: flex; gap: 12px; align-items: center; font-size: 16px; line-height: 1.35; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.box { width: 26px; height: 26px; border-radius: 9px; flex: none; display: grid; place-items: center; background: var(--field); border: 2px solid #B8B2A7; }
.check input:checked + .box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .box::after { content: ''; width: 10px; height: 6px; border: solid var(--bone); border-width: 0 0 3px 3px; transform: translateY(-2px) rotate(-45deg); }
.check input:focus-visible + .box { outline: 2px solid var(--ink); outline-offset: 3px; }
.note { font-size: 14px; color: var(--dim); }
.err { font-size: 15px; color: #8A2B1F; min-height: 0; }
.err:empty { display: none; }

/* media */
.img { position: relative; overflow: hidden; border-radius: 14px; background: #26261F center / cover no-repeat; }
.tall { aspect-ratio: 9 / 16; }
.av { border-radius: 50%; background: #C9C3B8 center / cover no-repeat; display: grid; place-items: center; font-weight: 700; flex: none; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.tile { display: block; min-width: 0; }
.tile .cap { font-size: 13px; line-height: 1.25; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line { height: 3px; border-radius: 2px; background: var(--line); position: relative; overflow: hidden; }
.line i { position: absolute; inset: 0 auto 0 0; background: var(--ink); border-radius: 2px; }
.card { padding: 16px; border-radius: 18px; background: var(--field); }
.list > * { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); min-height: 56px; }
.list > *:first-child { border-top: 0; }

/* review: the clip is the screen */
.review { position: fixed; inset: 0; background: #000; color: var(--bone); overflow: hidden; touch-action: pan-y; }
.review .deck { position: absolute; inset: 0; z-index: 0; }
.review .done, .review .sound, .review .acts, .review .bars { z-index: 3; }
.review .poster { pointer-events: none; }
.review .card-v { position: absolute; inset: 0; will-change: transform; }
.review video, .review .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000 center / cover no-repeat; }
.review .shade { position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,.78)); pointer-events: none; }
.review .bars { position: absolute; top: calc(var(--top) + 6px); left: var(--pad); right: var(--pad); display: flex; gap: 3px; }
.review .bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(247,243,233,.3); }
.review .bars i.on { background: var(--bone); }
.review .done { position: absolute; top: calc(var(--top) + 18px); right: var(--pad); font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.review .sound { position: absolute; top: calc(var(--top) + 18px); left: var(--pad); font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.review .hook { position: absolute; left: var(--pad); right: var(--pad); bottom: 200px; font-size: 46px; line-height: .92; text-transform: uppercase; outline: none; }
.review .why { position: absolute; left: var(--pad); right: var(--pad); bottom: 112px; font-size: 14px; color: rgba(247,243,233,.85); }
.review .acts { position: absolute; left: 16px; right: 16px; bottom: var(--bottom); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.review .acts .slab { background: rgba(247,243,233,.16); color: var(--bone); backdrop-filter: blur(8px); }
.review .acts .keep { background: var(--bone); color: var(--ink); }
.review .acts .slab:disabled { opacity: .45; }
.review .stamp { position: absolute; top: 40%; font-size: 64px; padding: 4px 16px; border-radius: 16px; border: 4px solid currentColor; opacity: 0; pointer-events: none; }
.review .stamp.k { right: 24px; color: var(--bone); transform: rotate(8deg); }
.review .stamp.s { left: 24px; color: rgba(247,243,233,.7); transform: rotate(-8deg); }

/* sheets */
#sheet { position: fixed; inset: 0; z-index: 30; display: none; }
#sheet.open { display: block; }
#sheet .veil { position: absolute; inset: 0; background: rgba(17,19,17,.42); }
#sheet .panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92dvh; overflow-y: auto; background: var(--bone); border-radius: 24px 24px 0 0; padding: 22px var(--pad) var(--bottom); max-width: 560px; margin: 0 auto; }
dialog#player { border: 0; padding: 0; background: #000; border-radius: 20px; max-width: min(420px, 92vw); width: 100%; }
dialog#player::backdrop { background: rgba(0,0,0,.7); }
dialog#player video { width: 100%; display: block; aspect-ratio: 9 / 16; background: #000; }
dialog#player .bar { display: flex; gap: 10px; padding: 10px; }

/* sign in */
.welcome { position: relative; min-height: 100dvh; background: var(--ink); color: var(--bone); display: flex; flex-direction: column; padding: var(--top) var(--pad) var(--bottom); max-width: 520px; margin: 0 auto; }
.welcome .slab { background: var(--bone); color: var(--ink); }
.welcome .slab.lt { background: rgba(247,243,233,.14); color: var(--bone); }
.welcome .field { background: rgba(247,243,233,.12); color: var(--bone); }
.welcome .field:focus-within { box-shadow: 0 0 0 2px var(--bone); }
.welcome .dot { background-image: url('/brand/symbol-ivory.svg'); }
.welcome .dim { color: rgba(247,243,233,.7); }
.welcome .err { color: #F2B8AE; }
.dot { display: inline-block; width: 30px; height: 25px; background: url('/brand/symbol-ink.svg') center / contain no-repeat; }
.review .stamp.k { color: var(--cue); }
.review .bars i.on { background: var(--cue); }
.line i { background: var(--ink); }
.live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #E5484D; margin-left: 6px; vertical-align: middle; }

/* desktop: a quiet bar on top, wider layouts, no sidebar */
.d-only { display: none; }
@media (min-width: 960px) {
	:root { --pad: 56px; }
	#nav { display: flex; justify-content: space-between; align-items: center; padding: 28px var(--pad) 0; font-size: 16px; font-weight: 600; max-width: 1440px; margin: 0 auto; width: 100%; }
	#nav .links { display: flex; gap: 28px; align-items: center; }
	#nav .links a { color: var(--dim); min-height: 44px; display: inline-flex; align-items: center; }
	#nav .links a[aria-current="page"] { color: var(--ink); }
	#nav .right { display: flex; gap: 20px; align-items: center; }
	.screen { max-width: 1440px; min-height: 0; padding-top: 28px; }
	.screen.narrow { max-width: 620px; }
	.m-only { display: none !important; }
	.d-only { display: block; }
	.grid3 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
	.dhome { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 56px; margin-top: 12px; flex: 1; min-height: calc(100vh - 170px); }
	.dhome .dl { display: flex; flex-direction: column; }
	.dhome .dcount { font-size: clamp(180px, 21vw, 300px); }
	.dhome .dgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-content: start; }
	.dhome .dgrid a { display: block; }
	.split { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 56px; align-items: end; flex: 1; }
	.half { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
	.review .card-v { left: calc(50% - min(24vh, 240px)); right: auto; width: min(48vh, 480px); border-radius: 20px; overflow: hidden; top: 24px; bottom: 24px; }
	.review .card-v .hook, .review .card-v .why { left: 24px; right: 24px; }
	.review .acts { left: calc(50% - min(24vh, 240px) + 16px); right: auto; width: calc(min(48vh, 480px) - 32px); bottom: 44px; }
	.review .bars { left: calc(50% - min(24vh, 240px) + 16px); right: auto; width: calc(min(48vh, 480px) - 32px); top: 36px; }
	.review .card-v .hook { bottom: 210px; }
	.review .card-v .why { bottom: 128px; }
	#nav .lft { display: flex; gap: 36px; align-items: center; }
	#nav .lft > a { min-height: 44px; display: inline-flex; align-items: center; }
	#nav .right .av { text-decoration: none; }
	.drv { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 56px; margin-top: 4px; height: calc(100vh - 150px); min-height: 560px; }
	.dclip { position: relative; border-radius: 20px; overflow: hidden; background: #000; cursor: pointer; color: var(--bone); }
	.dclip video, .dclip .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000 center / cover no-repeat; transition: opacity .25s; }
	.dclip .shade { position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0,0,0,.72)); pointer-events: none; }
	.dclip .ohook { position: absolute; left: 22px; right: 22px; bottom: 26px; font-size: 40px; line-height: .92; text-transform: uppercase; letter-spacing: -0.01em; pointer-events: none; }
	.dclip .sound { position: absolute; top: 14px; left: 18px; font-weight: 600; font-size: 15px; min-height: 44px; color: var(--bone); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
	.dside { display: flex; flex-direction: column; min-width: 0; }
	.dside .dhook { font-size: clamp(52px, 5vw, 72px); margin-top: 14px; outline: none; max-width: 900px; overflow-wrap: anywhere; }
	.dside .dhook:focus { box-shadow: 0 2px 0 var(--ink); }
	.dside .dwhy { font-size: 17px; line-height: 1.45; margin-top: 20px; max-width: 620px; }
	.pulse { display: flex; align-items: flex-end; gap: 5px; height: 90px; margin-top: 30px; max-width: 620px; }
	.pulse i { flex: 1; border-radius: 4px; background: var(--line); }
	.pulse i.in { background: var(--ink); }
	.dacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 620px; }
	.dpost-wrap { max-width: 1440px; }
	.dres { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; margin-top: 24px; min-height: calc(100vh - 220px); }
	.dteam { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; margin-top: 16px; min-height: calc(100vh - 170px); }
	.dteam section { display: flex; flex-direction: column; }
	.phead { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 12px; }
	.pcards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
	.pcard { min-height: 520px; }
	.dset { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; margin-top: 16px; min-height: calc(100vh - 170px); }
	.lhead { display: flex; justify-content: space-between; align-items: flex-end; margin: 0 0 28px; }
	.lcount { font-size: 120px; }
	.ltools { display: flex; gap: 6px; align-items: center; }
	.ltools .lfind { min-height: 40px; font-size: 15px; width: 240px; border-radius: 12px; margin-left: 6px; }
	.lgrid .cap { font-size: 14px; margin-top: 8px; }
	.dpost { grid-template-columns: 300px minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; row-gap: 0; align-items: start; margin-top: 16px; }
	.dpost .pclip { grid-row: span 2; }
	.dpost .pclip .img { width: 100%; border-radius: 20px; }
	.dpost .ph { font-size: 44px; }
	.dpost .dl { display: inline-flex; }
	.dpost .psend { grid-column: 2 / -1; align-self: end; margin-top: 28px; max-width: 620px; justify-self: end; width: 100%; }
	.review .keys { position: absolute; bottom: 32px; right: var(--pad); font-size: 14px; color: rgba(247,243,233,.6); }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
.welcome .slab:disabled { background: rgba(247,243,233,.14); color: rgba(247,243,233,.4); }
.ico { width: 20px; height: 20px; object-fit: contain; flex: none; display: inline-block; vertical-align: -4px; }
.ico.sm { width: 15px; height: 15px; vertical-align: -2px; margin-right: 5px; }
.with { display: inline-flex; align-items: center; gap: 10px; }
.welcome .slab.lt .ico { background: #fff; border-radius: 50%; padding: 3px; width: 24px; height: 24px; }
