/* ==========================================================================
   compramischismes.com — "La serie" design system
   A streaming-series page: dark key art, series logotype, episode list.
   The case-file ("expediente") look lives inside thumbnails, stamps and ink notes.
   ========================================================================== */

:root {
  --bg: #0b0608; --bg-2: #160a0e; --panel: #170c10; --panel-2: #1f1115;
  --txt: #f3e9e3; --dim: rgba(243,233,227,.64); --line: rgba(243,233,227,.12);
  --paper: #f6ebdf; --folder: #ebd9c3; --folder-edge: #c8ad8a; --ink: #22151a; --muted: #6b5558;
  --lip: #e0203f; --wine: #8c1c3a; --wine-soft: rgba(224,32,63,.14); --gold: #d2a24c; --rose: #e07b93;
  --serif: "Fraunces", Georgia, serif; --sans: "DM Sans", system-ui, sans-serif; --type: "Special Elite", "Courier New", monospace; --hand: "Caveat", cursive;
  --shadow: 0 30px 50px -28px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--txt); font: 16px/1.6 var(--sans); }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .18; 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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body > * { position: relative; z-index: 1; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.1; margin: 0; }
section[id], div[id], article[id] { scroll-margin-top: 80px; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.wrap-x { max-width: 1240px; margin: 0 auto; padding: 56px 28px 0; }
.eyebrow { font-family: var(--type); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
h2 { font-weight: 600; font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
h2 small { font-family: var(--type); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
h2 em { color: var(--rose); font-style: italic; }
.hand { font-family: var(--hand); font-weight: 500; font-size: 24px; line-height: 1.2; color: var(--rose); }

.btn { appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 6px; font: 700 15px var(--sans); background: #fff; color: #000; text-decoration: none; transition: filter .15s ease, transform .1s ease; }
.btn:hover { filter: brightness(.92); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn.red, .card .btn, .ep .btn, #pay, #ask-pay, #gate-ok, #link-btn { background: var(--lip); color: #fff; }
.btn.red:hover, .ep .btn:hover, #pay:hover { filter: brightness(1.1); }
.btn.ghost, .btn-ghost { background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(6px); }
.btn.soon { opacity: .55; cursor: default; }
.btn:focus-visible, .chip:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible, .tile:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px max(20px, calc((100vw - 1240px) / 2 + 28px)); background: linear-gradient(180deg, rgba(11,6,8,.92), rgba(11,6,8,.55)); backdrop-filter: blur(10px); }
.brand { font-family: var(--serif); font-weight: 900; font-size: 20px; color: var(--txt); text-decoration: none; letter-spacing: -.01em; }
.brand em { color: var(--lip); font-style: italic; font-weight: 600; }
.links { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--dim); }
.links a { color: inherit; text-decoration: none; }
.links a:hover, .links .cur { color: #fff; }
.links .pill { color: #fff; border: 1.5px solid var(--lip); border-radius: 999px; padding: 6px 14px; white-space: nowrap; }
.links .pill:hover { background: var(--lip); }

/* ---------- hero: key art ---------- */
.hero { position: relative; min-height: 88vh; display: grid; align-items: end; overflow: hidden; margin-top: -58px;
  background:
    linear-gradient(180deg, rgba(11,6,8,.25) 0%, rgba(11,6,8,0) 30%, rgba(11,6,8,.78) 72%, var(--bg) 100%),
    linear-gradient(90deg, rgba(11,6,8,.9) 0%, rgba(11,6,8,.35) 55%, rgba(11,6,8,0) 100%),
    radial-gradient(800px 600px at 72% 40%, rgba(224,32,63,.14), transparent 60%),
    linear-gradient(160deg, #3a1a22, #170a0e 60%, #0b0608); }
/* Red shadows that breathe behind the key art: two soft blobs drifting on transform only (GPU-cheap, no filter blur). */
.hero::before, .hero::after { content: ""; position: absolute; z-index: 0; pointer-events: none; border-radius: 50%; will-change: transform; }
.hero::before { width: 70vw; height: 70vw; max-width: 980px; max-height: 980px; right: -8%; top: -22%;
  background: radial-gradient(closest-side, rgba(224,32,63,.38), rgba(224,32,63,.12) 45%, transparent 72%);
  animation: glowA 22s ease-in-out infinite alternate; }
.hero::after { width: 48vw; height: 48vw; max-width: 640px; max-height: 640px; left: 30%; bottom: -30%;
  background: radial-gradient(closest-side, rgba(255,90,110,.22), rgba(224,32,63,.08) 50%, transparent 72%);
  animation: glowB 28s ease-in-out infinite alternate; }
@keyframes glowA { from { transform: translate(0, 0) scale(1); } 50% { transform: translate(-7%, 9%) scale(1.12); } to { transform: translate(5%, -4%) scale(.96); } }
@keyframes glowB { from { transform: translate(0, 0) scale(1); } 50% { transform: translate(10%, -12%) scale(1.15); } to { transform: translate(-6%, 4%) scale(1.02); } }
.hero .art { position: absolute; z-index: 1; right: max(6%, calc((100% - 1240px) / 2 - 40px)); top: 10%; width: 36vw; max-width: 520px; aspect-ratio: 4/5; border-radius: 4px; overflow: hidden;
  background: linear-gradient(160deg, #4a2a31, #8a6a6f 55%, #c9b2ac); filter: grayscale(1) contrast(1.1); opacity: .9;
  mask: linear-gradient(180deg, #000 60%, transparent 100%); display: grid; place-items: center; font-family: var(--serif); font-size: 180px; font-weight: 900; color: rgba(255,255,255,.25); }
.hero .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero .string { position: absolute; inset: 0; pointer-events: none; }
.hero .string path { fill: none; stroke: var(--lip); stroke-width: 2; stroke-dasharray: 5 4; opacity: .7; }
.hero-in { position: relative; z-index: 2; padding: 120px 28px 64px; max-width: 1240px; margin: 0 auto; width: 100%; }
.hero-in > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-in > :nth-child(2) { animation-delay: .08s; } .hero-in > :nth-child(3) { animation-delay: .16s; } .hero-in > :nth-child(4) { animation-delay: .24s; } .hero-in > :nth-child(5) { animation-delay: .32s; } .hero-in > :nth-child(6) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.badge { display: inline-flex; align-items: center; gap: 10px; font-family: var(--type); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--txt); margin-bottom: 18px; }
.badge b { background: var(--lip); color: #fff; padding: 2px 8px; border-radius: 2px; font-weight: 400; white-space: nowrap; }
.logo { font-weight: 900; font-size: clamp(60px, 9.5vw, 136px); line-height: .86; letter-spacing: -.04em; text-transform: uppercase; margin: 0 0 14px; }
.logo span { display: block; }
.logo .k { color: var(--lip); font-style: italic; font-weight: 600; text-transform: none; letter-spacing: -.03em; font-size: 1.1em; }
.tagline { margin: 0 0 18px; transform: rotate(-2deg); transform-origin: left; font-size: clamp(22px, 2.6vw, 30px); }
.meta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; font-size: 14px; color: var(--dim); margin: 0 0 16px; }
.meta .age { border: 1px solid var(--dim); padding: 1px 6px; font-size: 12px; border-radius: 2px; color: var(--txt); }
.syn { max-width: 580px; font-size: 17px; color: var(--txt); margin: 0 0 24px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- rail ---------- */
.rail { display: flex; gap: 14px; overflow-x: auto; padding: 14px 0 22px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.tile { appearance: none; border: 0; padding: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; flex: 0 0 300px; scroll-snap-align: start; position: relative; aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; background: var(--g); transition: transform .25s ease, box-shadow .25s ease; box-shadow: 0 20px 40px -24px rgba(0,0,0,.9); }
.tile { isolation: isolate; }
/* Film grade for covers: warm highlights / teal shadows, punchier contrast, soft vignette. */
.tile img, .ep .th img { filter: contrast(1.14) saturate(1.35) sepia(.14) brightness(1.03); }
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; display: block; }
.tile:has(img)::before, .ep .th:has(img)::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 45%, transparent 52%, rgba(5,2,6,.5) 100%),
    linear-gradient(160deg, rgba(255,150,70,.22) 0%, rgba(255,110,90,.06) 45%, rgba(0,90,120,.34) 100%);
  mix-blend-mode: overlay; }
.tile:has(img)::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(11,6,8,0) 55%, rgba(11,6,8,.45) 100%); }
.tile:hover { transform: scale(1.05); z-index: 2; box-shadow: 0 30px 50px -24px rgba(0,0,0,1); }
.tile .num { position: absolute; left: 10px; top: 6px; font-family: var(--serif); font-weight: 900; font-size: 64px; line-height: 1; color: rgba(255,255,255,.18); }
.tile .ficha { position: absolute; right: -6px; bottom: -14px; width: 46%; background: var(--paper); color: var(--ink); border-radius: 3px; padding: 10px 12px 18px; transform: rotate(-6deg); box-shadow: 0 20px 30px -18px rgba(0,0,0,.9); font-family: var(--type); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.tile .ficha b { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--serif); font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 600; font-style: italic; color: var(--wine); margin-top: 4px; line-height: 1.15; }
.tile .seal { position: absolute; left: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--lip); color: #fff; display: grid; place-items: center; font-family: var(--type); font-size: 11px; box-shadow: 0 6px 14px rgba(0,0,0,.6); }
.tile .t { position: absolute; left: 62px; bottom: 12px; right: 50%; font-size: 13px; line-height: 1.25; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.8); font-weight: 700; }
.tile .t small { display: block; color: var(--dim); font-size: 11px; font-weight: 400; }

/* ---------- episodes ---------- */
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 24px; margin-bottom: 18px; }
.head h2 { margin: 0; }
.disclaimer { max-width: 520px; margin: 0; font-size: 20px; transform: rotate(-1deg); transform-origin: left bottom; }
.eps { display: grid; gap: 4px; }
.ep { display: grid; grid-template-columns: 48px 200px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 16px; border-radius: 10px; transition: background .2s ease; }
.ep:hover { background: rgba(255,255,255,.05); }
.ep .n { font-family: var(--serif); font-weight: 900; font-size: 34px; color: var(--dim); text-align: center; }
.ep .th { aspect-ratio: 16/9; border-radius: 4px; background: var(--g); position: relative; overflow: hidden; box-shadow: 0 16px 30px -20px rgba(0,0,0,.9); }
.ep .th { isolation: isolate; cursor: pointer; }
.ep .th:hover::after { opacity: 1; transform: scale(1.12); }
.ep .th::after { transition: transform .2s ease, opacity .2s ease; }
.ep .th img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; display: block; }
.ep .th::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 22px; opacity: .85; text-shadow: 0 2px 8px rgba(0,0,0,.8); }
/* Locked cases: the real photo is never served, only a heavily blurred copy with a lock. */
.ep .th.photo-locked::after { content: "🔒"; opacity: 1; font-size: 26px; }
.tile .photo-lock { position: absolute; inset: 0; display: grid; place-items: center; font-size: 30px; pointer-events: none; }
.ep .th i { position: absolute; left: 8px; top: 6px; font-style: normal; font-family: var(--type); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.ep .th .flag { position: absolute; right: 8px; top: 6px; font-family: "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif; font-size: 16px; letter-spacing: 2px; }
.ep h3 { font-weight: 600; font-size: 19px; margin: 0 0 2px; line-height: 1.25; }
.ep h3 em { font-style: italic; color: var(--rose); font-weight: 600; }
.ep p { margin: 0; color: var(--dim); font-size: 14px; max-width: 680px; }
.ep p.meta { font-family: var(--type); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin: 0 0 6px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.tags li { font-family: var(--type); font-size: 11px; letter-spacing: .02em; line-height: 1.3; padding: 3px 8px; border: 1px solid var(--line); border-radius: 3px; color: var(--dim); }
.ep-cta { display: grid; gap: 8px; justify-items: end; text-align: right; }
.ep .dur { font-family: var(--type); font-size: 12px; color: var(--dim); letter-spacing: .08em; }
.ep .btn { padding: 11px 16px; font-size: 14px; white-space: nowrap; }
.price-line { margin: 22px 0 0; text-align: center; color: var(--dim); font-size: 15px; }
.price-line strong { color: var(--txt); }

/* ---------- featured premiere (the only live CTA above the catalogue) ---------- */
.estreno { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: center; padding: 22px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(224,32,63,.12), rgba(23,12,16,.9) 45%, var(--panel)); border: 1px solid rgba(224,32,63,.28);
  box-shadow: 0 40px 80px -50px rgba(224,32,63,.55), 0 30px 60px -40px rgba(0,0,0,.9); }
.estreno-art { position: relative; display: block; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; isolation: isolate; box-shadow: 0 30px 50px -30px rgba(0,0,0,1); }
.estreno-art img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; display: block; filter: contrast(1.14) saturate(1.35) sepia(.14) brightness(1.03); transition: transform .6s ease; }
.estreno-art:hover img { transform: scale(1.04); }
.estreno-art::before { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay;
  background: radial-gradient(ellipse at 50% 45%, transparent 52%, rgba(5,2,6,.5) 100%), linear-gradient(160deg, rgba(255,150,70,.22) 0%, rgba(255,110,90,.06) 45%, rgba(0,90,120,.34) 100%); }
.estreno-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; display: grid; place-items: center; border-radius: 50%; background: rgba(224,32,63,.92); color: #fff; font-size: 24px; padding-left: 4px; box-shadow: 0 10px 30px rgba(224,32,63,.5); }
.estreno .kicker { margin: 0 0 12px; font-family: var(--type); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.estreno .kicker b { color: #fff; background: var(--lip); padding: 2px 8px; border-radius: 2px; font-weight: 400; }
.estreno h2 { margin: 0 0 4px; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; font-weight: 600; }
.estreno h2 .who { display: block; font-size: .55em; font-weight: 500; color: var(--dim); letter-spacing: .02em; margin-bottom: 4px; }
.estreno h2 em { font-style: italic; color: var(--rose); }
.estreno p.meta { font-family: var(--type); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin: 0 0 12px; }
.estreno p { margin: 0; color: var(--dim); font-size: 15px; line-height: 1.55; }
.estreno-cta { display: grid; gap: 8px; justify-items: start; margin-top: 20px; }
.estreno-cta .btn { padding: 14px 22px; font-size: 15px; }
.trust { font-family: var(--type); font-size: 11px; letter-spacing: .04em; color: var(--dim); }
/* upcoming episodes: status replaces the duration, the button becomes the waitlist */
.ep.soon .dur { color: var(--rose); }
.ep .btn.notify, .ep .btn.teaser { background: rgba(255,255,255,.1); color: var(--txt); border: 1px solid var(--line); }
.ep.soon .dur { white-space: nowrap; }
.ep-editing { margin: 0; max-width: 240px; font-size: 13px; line-height: 1.4; color: var(--txt); text-align: right; }
.ep .btn.notify:hover, .ep .btn.teaser:hover { background: rgba(255,255,255,.16); filter: none; }
.notify-form { display: flex; gap: 6px; }
.notify-form input { width: 190px; padding: 10px 12px; border-radius: 6px; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: var(--txt); font: 16px var(--sans); }
.notify-form input::placeholder { color: rgba(243,233,227,.4); }
.notify-form .btn { padding: 10px 14px; font-size: 14px; }
.notify-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ep-cta .err { margin: 0; color: var(--rose); font-size: 12px; }
.notified { margin: 0; max-width: 240px; color: var(--txt); font-size: 13px; line-height: 1.4; }
.notified b { color: var(--rose); }
@media (max-width: 900px) { .estreno { grid-template-columns: 1fr; gap: 18px; padding: 14px; } .estreno-cta { justify-items: stretch; } .estreno-cta .btn { width: 100%; } .notify-form { flex-wrap: wrap; } .notify-form input { flex: 1 1 160px; width: auto; } }

/* ---------- how / format ---------- */
.how-wrap h2 { max-width: 760px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 640px) and (max-width: 1099px) { .steps.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps.four { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 24px 22px 22px; }
.steps .n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--lip); color: #fff; font-family: var(--type); font-size: 15px; margin-bottom: 12px; }
.steps h3 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--dim); font-size: 15px; }

/* ---------- sobre la serie: letter on paper ---------- */
.sobre-grid { display: grid; gap: 28px; }
@media (min-width: 980px) { .sobre-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 36px; align-items: start; } .side { position: sticky; top: 84px; } }
.letter { position: relative; background: var(--paper); color: var(--ink); border-radius: 4px; padding: clamp(28px, 5vw, 52px); box-shadow: var(--shadow); font-size: 17px; }
.letter::before { content: ""; position: absolute; top: -14px; left: 28px; width: 18px; height: 48px; border: 3px solid #b9b2a8; border-radius: 10px; border-bottom-color: transparent; transform: rotate(8deg); }
.letter p { margin: 0 0 1.1em; }
.letter p:last-child { margin-bottom: 0; }
.letter strong { color: var(--wine); }
.letter a { color: var(--wine); }
.opening { font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.15; }
.letter-head { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px dashed var(--folder-edge); }
.letter-head .opening { margin-bottom: 10px; }
.letter .known { font-size: 16px; margin-bottom: 8px; }
.letter .known em { font-family: var(--serif); font-size: 19px; color: var(--wine); font-style: italic; }
.letter .pull { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--wine); }
.letter .proof { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--folder-edge); font-size: 15px; color: var(--muted); }
.side { display: grid; gap: 22px; align-content: start; }
.ficha-tecnica { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; }
.ficha-tecnica dt { color: var(--dim); } .ficha-tecnica dd { margin: 0; }
.ficha-tecnica a { color: var(--rose); }
.stat { position: relative; padding: 26px 24px 22px; background: var(--paper); color: var(--ink); border-radius: 4px; box-shadow: var(--shadow); }
.stat::before { content: "Dato"; position: absolute; top: -11px; left: 18px; font-family: var(--type); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--lip); background: var(--paper); padding: 0 8px; }
.stat p { margin: 0 0 8px; }
.stat-big { font-family: var(--serif); font-size: clamp(22px, 4.5vw, 28px); font-weight: 600; line-height: 1.2; }
.stat-big em { color: var(--wine); }
.stat-note { font-size: 15px; }
.stat .stat-src { font-family: var(--type); font-size: 11px; color: var(--muted); margin: 0; }
.stat-src a { color: inherit; }
.price { background: var(--wine); color: #fdf3ee; border-radius: 10px; padding: 26px; position: relative; overflow: hidden; }
.price::after { content: "$"; position: absolute; right: -10px; bottom: -40px; font-family: var(--serif); font-weight: 800; font-size: 180px; line-height: 1; color: rgba(255,255,255,.08); }
.price h2 { font-size: clamp(24px, 3vw, 30px); color: #fff; margin-bottom: 10px; display: block; }
.price p { margin: 0; position: relative; }
.price strong { color: #fff; background: rgba(255,255,255,.14); padding: 0 4px; border-radius: 4px; }

/* ---------- punch ---------- */
section.punch { text-align: center; padding-top: 96px; }
.punch .q { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 4vw, 26px); color: var(--dim); max-width: 560px; margin: 0 auto 18px; }
.punch .a { font-family: var(--serif); font-weight: 900; font-size: clamp(60px, 17vw, 150px); letter-spacing: -.03em; color: var(--lip); line-height: .95; display: inline-block; transform: rotate(-2deg); }
.punch .after { margin: 18px 0 0; font-size: 18px; }
.punch .cta { max-width: 320px; margin: 28px auto 0; }
.punch .cta .btn { width: 100%; background: var(--lip); color: #fff; }

/* ---------- para ti ---------- */
.two { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 760px) { .two { grid-template-columns: 1fr 1fr; } }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: clamp(24px, 4vw, 36px); }
.panel h3 { font-size: 24px; font-weight: 600; margin-bottom: 10px; }
.panel p { margin: 0 0 .8em; color: var(--dim); }
.panel p:last-child { margin: 0; }
.panel strong { color: var(--rose); }
.panel a { color: var(--rose); }
.para-ti .panel.dark { background: var(--paper); color: var(--ink); border-color: transparent; }
.para-ti .panel.dark .eyebrow, .para-ti .panel.dark p { color: var(--muted); }
.para-ti .panel.dark h3 { color: var(--ink); }
.para-ti .panel p.yo { font-family: var(--serif); font-weight: 900; font-size: clamp(40px, 6vw, 64px); line-height: .95; letter-spacing: -.02em; color: var(--lip); margin: 6px 0 16px; }

/* ---------- ask ---------- */
.duo { display: grid; gap: 20px; padding-bottom: 96px; align-items: start; }
.ask-panel { text-align: center; }
.ask-panel h3 { margin-bottom: 18px; }
.ask-panel .btn-ghost { max-width: 320px; width: 100%; border: 1.5px solid var(--lip); background: transparent; color: #fff; }
.ask-panel .btn-ghost:hover { background: var(--lip); }

/* ---------- helplines ---------- */
footer.help { border-top: 1px solid var(--line); padding: 44px 0 48px; font-size: 15px; background: var(--bg-2); }
footer.help h3 { font-size: 22px; margin-bottom: 12px; }
.help-in { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.help-sub { color: var(--dim); font-size: 14px; margin: 0 0 18px; }
.help-in .help-sub:last-child { margin: 18px 0 0; }
ul.hl { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) { ul.hl { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { ul.hl { grid-template-columns: repeat(3, 1fr); } }
ul.hl li { margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); display: flex; flex-direction: column; gap: 3px; font-size: 14px; color: var(--dim); line-height: 1.45; }
.hl-c { color: var(--txt); font-weight: 700; font-size: 15px; }
.hl-f { margin-right: 6px; font-family: "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif; }
.hl b { color: var(--rose); }
.hl-em { font-size: 13px; }
.hl-toggle { display: block; margin: 18px auto 0; width: auto; }

/* ---------- site footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 20px 44px; font-family: var(--type); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 10px; }
.legal-links a { color: var(--txt); text-decoration: none; text-transform: none; letter-spacing: .04em; font-size: 13px; font-family: var(--sans); }
.legal-links a:hover { color: var(--rose); }
.site-footer .copy { margin: 0; text-align: center; }

/* ---------- dialogs: a case file on the desk ---------- */
/* Explicit fixed centering: the global `body > *` rule would otherwise override the UA's position: fixed. */
dialog { position: fixed; inset: 0; margin: auto; z-index: 100; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; border: 0; border-radius: 6px; padding: 0; width: min(460px, calc(100vw - 32px)); background: var(--paper); color: var(--ink); box-shadow: 0 40px 90px rgba(0,0,0,.7); }
dialog:not([open]) { display: none; }
dialog::backdrop { background: rgba(11,6,8,.72); backdrop-filter: blur(4px); }
.modal { padding: 28px; position: relative; }
.modal h3 { font-size: 26px; margin-bottom: 4px; }
.sub { font-family: var(--type); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--wine); margin: 0 0 16px; padding-right: 24px; line-height: 1.5; }
.what { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.what li { padding-left: 18px; position: relative; }
.what li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.what b { color: var(--ink); }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.chip { appearance: none; cursor: pointer; border: 1.5px solid var(--folder-edge); background: transparent; color: var(--ink); border-radius: 6px; padding: 12px 4px; font: 600 15px var(--sans); transition: all .15s ease; }
.chip[aria-pressed="true"] { border-color: var(--lip); background: rgba(224,32,63,.1); color: var(--lip); }
.custom { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--folder-edge); border-radius: 6px; padding: 0 14px; margin-bottom: 18px; }
.custom span { color: var(--muted); font-weight: 600; }
.custom input { flex: 1; border: 0; background: transparent; color: var(--ink); font: 500 16px var(--sans); padding: 12px 0; min-width: 0; }
.custom input:focus { outline: none; }
.modal .btn { width: 100%; }
.demo { font-family: var(--type); font-size: 11px; letter-spacing: .06em; color: var(--muted); text-align: center; margin: 12px 0 0; }
.demo a { color: var(--muted); }
.err { margin: 10px 0 0; min-height: 1.2em; font-size: 14px; color: var(--lip); text-align: center; }
.err:empty { margin: 0; min-height: 0; }
.close { position: absolute; top: 14px; right: 16px; border: 0; background: none; font-size: 26px; color: var(--muted); cursor: pointer; line-height: 1; }
.rules { margin: 0 0 20px; padding-left: 20px; max-height: 50vh; overflow-y: auto; font-size: 15px; line-height: 1.5; }
.rules li { margin-bottom: 8px; }
#ask-q { width: 100%; border: 1.5px solid var(--folder-edge); border-radius: 6px; padding: 12px 14px; font: 400 16px var(--sans); background: transparent; color: var(--ink); resize: vertical; margin-bottom: 14px; }

/* ---------- inner pages ---------- */
.page { max-width: 720px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) 20px 72px; }
.page h1 { font-size: clamp(34px, 6vw, 52px); font-weight: 600; margin-bottom: 8px; }
.page .updated { font-family: var(--type); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin: 0 0 32px; }
.page h2 { font-size: 24px; margin: 32px 0 10px; display: block; }
.page p, .page li { color: var(--dim); }
.page a { color: var(--rose); }
.page mark { background: var(--wine-soft); color: var(--rose); padding: 0 6px; border-radius: 4px; }
.page .note { background: var(--panel); border: 1px solid var(--line); color: var(--txt); border-radius: 8px; padding: 14px 18px; font-size: 15px; margin-bottom: 28px; }
.page .back { display: inline-block; margin-top: 32px; color: var(--rose); font-weight: 600; text-decoration: none; }
.library .panel { margin-top: 24px; }
.library form { display: grid; gap: 12px; }
.library label.eyebrow { margin: 0; }
.library input[type="email"] { width: 100%; border: 1.5px solid var(--line); border-radius: 6px; padding: 13px 14px; font: 500 16px var(--sans); background: var(--bg); color: var(--txt); }
.library ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.library li { padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.library li em { color: var(--dim); }
.library .msg { min-height: 1.2em; color: var(--rose); font-size: 15px; margin: 0; }
.library .signout { background: none; border: 0; color: var(--dim); font: 500 14px var(--sans); cursor: pointer; text-decoration: underline; margin-top: 16px; padding: 0; width: auto; }

/* tablet: episode rows in two tiers */
@media (min-width: 761px) and (max-width: 1000px) {
  .ep { grid-template-columns: 200px minmax(0, 1fr); }
  .ep .n { display: none; }
  .ep-cta { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
}

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .links a:not(.pill) { display: none; }
  .hero { min-height: auto; margin-top: -58px; }
  .hero .art { position: relative; right: auto; top: auto; width: 62%; max-width: 280px; margin: 96px auto 0; mask: linear-gradient(180deg, #000 70%, transparent 100%); }
  .hero-in { padding: 24px 20px 48px; }
  .logo { font-size: clamp(54px, 17vw, 80px); }
  .wrap-x { padding: 48px 20px 0; }
  .ep { grid-template-columns: 1fr; gap: 12px; padding: 14px 0 22px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .ep .n { display: none; }
  .ep .th { max-width: 100%; }
  .ep-cta { justify-items: stretch; text-align: left; }
  .ep-editing { max-width: none; text-align: left; }
  .ep .btn { width: 100%; }
  .letter { padding: 26px 20px; font-size: 16px; }
  .opening { font-size: 24px; }
  section.punch { padding-top: 72px; }
  .panel { padding: 22px 20px; }
  .chips { grid-template-columns: repeat(2, 1fr); }
  .disclaimer { font-size: 18px; }
  .help-in { padding: 0 20px; }
}
@media (prefers-reduced-motion: reduce) { .hero-in > * { animation: none; } .hero::before, .hero::after { animation: none; } * { transition: none !important; } }

/* ---------- /ver: library + player ---------- */
.library-page .topbar .type { font-family: var(--type); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-right: 14px; }
.library .page { max-width: 720px; }
.library .page .panel { margin-top: 24px; }
.library .page form { display: grid; gap: 12px; }
.library input[type="email"] { width: 100%; border: 1.5px solid var(--line); border-radius: 6px; padding: 13px 14px; font: 500 16px var(--sans); background: var(--bg); color: var(--txt); }
.library .msg { min-height: 1.2em; color: var(--rose); font-size: 15px; margin: 0; }
.lib-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 8px; }
.lib-head h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 600; }
.signout { background: none; border: 0; color: var(--dim); font: 500 14px var(--sans); cursor: pointer; text-decoration: underline; padding: 0; }
.lib-row { margin-top: 36px; }
.lib-row h2 { margin-bottom: 4px; }
.library .empty { color: var(--dim); }

.player-wrap { max-width: 1240px; margin: 0 auto; padding: 24px 28px 80px; }
.player-head { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; flex-wrap: wrap; }
.player-title h2 { font-size: 22px; margin: 2px 0 0; display: block; }
.player-title .type { font-family: var(--type); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.btn.sm { padding: 8px 12px; font-size: 13px; }
.screen { position: relative; background: #000; border-radius: 10px; overflow: hidden; aspect-ratio: 16/9; box-shadow: 0 40px 80px -40px rgba(0,0,0,1); }
.screen video { width: 100%; height: 100%; display: block; background: #000; }
.screen:fullscreen { border-radius: 0; }
.wm { position: absolute; font-family: var(--type); font-size: 13px; letter-spacing: .12em; color: rgba(255,255,255,.28); pointer-events: none; mix-blend-mode: screen; transition: left 2s linear, top 2s linear; }
@media (max-width: 899px) { .wm { font-size: 9px; letter-spacing: .06em; } }
.bigplay { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #000; font-size: 30px; cursor: pointer; box-shadow: 0 20px 40px rgba(0,0,0,.6); }
.bigplay[hidden] { display: none; }
/* Pause (design B): the paused frame blurred and darkened behind, condensed uppercase question,
   options as thin outlined boxes, countdown ring top-right, red time bar at the bottom. */
.pause-card, .stitch-card { position: absolute; inset: 0; display: grid; place-items: center; background: #0e0609; padding: 24px; }
.pause-card { background: rgba(8,6,8,.62); backdrop-filter: blur(22px) brightness(.55) saturate(.7); -webkit-backdrop-filter: blur(22px) brightness(.55) saturate(.7); place-items: start center; padding: clamp(18px, 4vw, 56px) clamp(16px, 5vw, 80px); }
.pause-card[hidden], .stitch-card[hidden] { display: none; }
.pc-in { width: min(1100px, 100%); display: grid; gap: clamp(10px, 1.6vw, 20px); }
.pc-k { display: flex; justify-content: space-between; align-items: center; font: 500 clamp(9px, 1vw, 12px) Oswald, sans-serif; letter-spacing: .32em; text-transform: uppercase; color: var(--lip); }
.pause-card h3 { font: 600 clamp(20px, 3.2vw, 44px)/0.98 Oswald, sans-serif; text-transform: uppercase; margin: 0; color: #fff; }
.pause-card .hand { font: italic 400 clamp(12px, 1.3vw, 16px) Archivo, sans-serif; color: rgba(255,255,255,.55); margin: 0; }
.pc-opts { display: grid; gap: clamp(8px, 1vw, 14px); }
@media (min-width: 760px) { .pc-opts { grid-template-columns: 1fr 1fr; } }
.pc-opt { appearance: none; text-align: left; cursor: pointer; border: 2px solid rgba(255,255,255,.28); background: rgba(255,255,255,.03); color: #fff; border-radius: 0; padding: clamp(10px, 1.3vw, 18px) clamp(12px, 1.6vw, 22px); font: 400 clamp(13px, 1.4vw, 18px) Archivo, sans-serif; display: flex; gap: 14px; align-items: center; transition: border-color .15s, background .15s; }
.pc-opt b { font: 600 1.05em Oswald, sans-serif; color: var(--lip); min-width: 1.4em; }
.pc-opt:hover { border-color: #fff; }
.pc-opt.sel { border-color: var(--lip); background: rgba(224,32,63,.18); }
.pc-opt.skip { grid-column: 1 / -1; color: rgba(255,255,255,.5); border-style: dashed; border-color: rgba(255,255,255,.22); background: transparent; }
.pc-opt:disabled { cursor: default; }
.pc-result { margin: 0; color: rgba(255,255,255,.7); font: 400 clamp(12px, 1.2vw, 15px) Archivo, sans-serif; }
.pc-foot { margin: 0; font: 500 clamp(8px, .9vw, 11px) Oswald, sans-serif; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.35); }
/* Countdown ring: --p goes 0→1 as the 5 s run out; the tick sound lives in ver.js. */
.pc-clock { --p: 0; width: clamp(34px, 4vw, 56px); height: clamp(34px, 4vw, 56px); border-radius: 50%; display: grid; place-items: center; font: 600 clamp(14px, 1.8vw, 26px) Oswald, sans-serif; color: #fff; letter-spacing: 0;
  background: conic-gradient(rgba(255,255,255,.14) calc(var(--p) * 360deg), var(--lip) 0); position: relative; visibility: hidden; }
.pc-clock::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #121012; }
.pc-clock > span { position: relative; }
.pause-card.counting .pc-clock { visibility: visible; }
.pc-bar { position: absolute; left: 0; bottom: 0; height: 5px; background: var(--lip); width: calc((1 - var(--p, 0)) * 100%); transition: width 1s linear; }
.pause-card:not(.counting) .pc-bar { display: none; }
.stitch-card { cursor: pointer; }
.sc-paper { width: min(900px, 100%); background: var(--paper); color: var(--ink); border-radius: 8px; padding: clamp(22px, 4vw, 44px); transform: rotate(-.6deg); box-shadow: 0 40px 80px rgba(0,0,0,.7); display: grid; gap: 10px; }
.sc-paper .type { color: var(--wine); }
.sc-paper h3 { font-family: var(--serif); font-weight: 900; font-size: clamp(30px, 5vw, 64px); line-height: 1; letter-spacing: -.02em; }
.sc-paper p { margin: 0; font-size: clamp(13px, 1.5vw, 17px); line-height: 1.4; }
.sc-def { display: grid; gap: .6em; max-height: 42vh; overflow: auto; }
.sc-paper h3 { font-size: clamp(26px, 4vw, 52px); }
.sc-fact { font-family: var(--serif); font-style: italic; color: var(--wine); font-size: clamp(16px, 2vw, 24px) !important; }
.sc-paper #sc-src { color: var(--muted); font-size: 11px; }
.controls { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.ctl { appearance: none; border: 0; background: rgba(255,255,255,.1); color: #fff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 15px; }
.bar { position: relative; flex: 1; height: 8px; background: rgba(255,255,255,.12); border-radius: 4px; cursor: pointer; }
.bar .buf, .bar .prog { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; }
.bar .buf { background: rgba(255,255,255,.18); width: 0; }
.bar .prog { background: var(--lip); width: 0; }
.bar .marks i { position: absolute; top: -3px; width: 4px; height: 14px; border-radius: 2px; transform: translateX(-50%); }
.bar .marks .mk-p { background: #ff8aa0; } .bar .marks .mk-s { background: var(--gold); }
.bar .marks i { pointer-events: auto; cursor: pointer; }
.bar .marks i:hover { transform: translateX(-50%) scaleY(1.6); }
.controls .time { font-family: var(--type); font-size: 12px; color: var(--dim); white-space: nowrap; }
.chapters { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chapters li { display: flex; gap: 8px; align-items: baseline; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 14px; }
.chapters li.cur { border-color: var(--lip); }
.chapters li .type { font-family: var(--type); font-size: 11px; color: var(--dim); }
.player-wrap .hint { font-family: var(--type); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-top: 18px; }

/* hidden always wins over display rules on buttons/cards */
[hidden] { display: none !important; }

/* ---------- /prensa ---------- */
.press-wrap { max-width: 1100px; margin: 0 auto; padding: 48px 28px 80px; }
.press-hero { padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.press-hero .logo { font-size: clamp(48px, 7vw, 96px); margin: 8px 0 18px; }
.press-hero .syn { max-width: 760px; font-size: 18px; }
.press-meta { display: grid; gap: 14px 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 28px; font-size: 14px; color: var(--dim); }
.press-meta b { display: block; font-family: var(--type); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); margin-bottom: 4px; font-weight: 400; }
.press-block { padding-top: 48px; }
.press-block h2 { display: block; font-size: clamp(26px, 3.4vw, 36px); max-width: 760px; }
.press-block h3 { font-size: 20px; margin-bottom: 8px; }
.press-cols { display: grid; gap: 24px 40px; }
@media (min-width: 800px) { .press-cols { grid-template-columns: 1fr 1fr; } }
.press-cols p { color: var(--dim); margin: 0 0 1em; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 820px; }
.facts li { padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--dim); font-size: 15px; }
.facts b { color: var(--txt); }
.facts a { color: var(--rose); }
.press mark { background: var(--wine-soft); color: var(--rose); padding: 0 6px; border-radius: 4px; }
.press blockquote { margin: 0; padding-left: 18px; border-left: 3px solid var(--lip); }
.press blockquote p { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--txt); }
.press-assets { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.asset { display: grid; gap: 6px; text-decoration: none; color: var(--txt); }
.asset .thumb { aspect-ratio: 16/9; border-radius: 8px; background: var(--panel) center/cover no-repeat; border: 1px solid var(--line); display: grid; place-items: center; }
.asset.pending .thumb .hand { font-size: 22px; }
.asset .type { font-family: var(--type); font-size: 11px; color: var(--dim); letter-spacing: .08em; text-transform: uppercase; }
.press-contact { display: grid; gap: 24px; }
@media (min-width: 800px) { .press-contact { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.press-contact p { color: var(--dim); }
.contact-card { display: grid; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; }
.contact-card a { color: var(--rose); font-weight: 700; text-decoration: none; font-size: 18px; margin-bottom: 12px; }
.press .hint { font-family: var(--type); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-top: 16px; }

/* ---------- /contribuye ---------- */
.contrib-wrap { max-width: 1100px; margin: 0 auto; padding: 48px 28px 80px; }
.contrib-hero { padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.contrib-hero .logo { font-size: clamp(48px, 7vw, 96px); margin: 8px 0 10px; }
.contrib-hero .tagline { font-size: clamp(22px, 2.6vw, 30px); }
.contrib-hero .syn { max-width: 760px; font-size: 17px; margin-bottom: 28px; }
.steps.three { gap: 14px; }
.contrib-block { padding-top: 48px; }
.contrib-block h2 { display: block; font-size: clamp(22px, 2.8vw, 30px); max-width: 760px; font-weight: 600; margin-bottom: 20px; }
.contrib-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.contrib-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: grid; }
.cc-body { padding: 16px 18px 18px; display: grid; gap: 8px; }
.cc-body h3 a { text-decoration: none; }
.cc-actions { display: grid; gap: 8px; }
.cc-actions .more { font-size: 13px; color: var(--rose); text-decoration: none; justify-self: center; }
.contrib-card.pending { border-style: dashed; }
.contrib-card .tag { font-family: var(--type); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); }
.contrib-card h3 { font-size: 20px; font-weight: 600; }
.contrib-card .cost { margin: 0; color: var(--dim); font-size: 14px; }
.contrib-card .cost b { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--txt); }
.contrib-card .why { margin: 0 0 8px; color: var(--dim); font-size: 14px; }
.contrib-card .btn { width: 100%; }
.promise { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 760px; }
.promise li { padding-left: 22px; position: relative; color: var(--dim); }
.promise li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.contrib-card .followup { margin: 0 0 8px; font-size: 13px; color: var(--dim); border-left: 2px solid var(--gold); padding-left: 10px; }
.contrib-card .followup .type { color: var(--gold); font-size: 10px; }

.terms { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin: -6px 0 12px; }
.terms input { accent-color: var(--lip); width: 16px; height: 16px; }
.terms a { color: var(--wine); }
.causa-wrap { max-width: 1100px; margin: 0 auto; padding: 36px 28px 80px; }
.causa-hero { display: grid; gap: 24px; margin-bottom: 36px; }
.causa-head h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 600; margin: 6px 0 10px; }
.causa-head .cost { color: var(--dim); margin: 0 0 18px; }
.causa-head .cost b { font-family: var(--serif); font-size: 36px; font-weight: 600; color: var(--txt); }
.causa-body { display: grid; gap: 28px; }
@media (min-width: 900px) { .causa-body { grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; } }
.causa-story p { color: var(--dim); font-size: 17px; }
.causa-side { display: grid; gap: 16px; }
.causa-side .panel p { color: var(--dim); }
.contrib-hero .logo .k { font-size: .62em; line-height: 1.05; }
.breakdown { margin-top: 28px; }
.breakdown ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.breakdown li { padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--dim); font-size: 15px; }
.goal { margin-top: 28px; }
.goal-bar { height: 10px; background: rgba(255,255,255,.1); border-radius: 5px; overflow: hidden; margin: 6px 0 8px; }
.goal-fill { height: 100%; background: var(--lip); }
.contact-form { display: grid; gap: 10px; margin-top: 6px; }
.contact-form input, .contact-form textarea { width: 100%; background: var(--panel); color: var(--txt); border: 1px solid var(--line); border-radius: 6px; padding: 11px 12px; font: 16px var(--sans); }
.contact-form .ok { color: var(--ok, #5ad67d); }
.contact-form .demo { text-align: left; }

/* documentary note: slides in from the right while the video plays */
/* Documentary note (design B): dark glass panel sliding in from the right while the video plays.
   Burned into the video on every screen size; the player only draws this panel for overlay pauses. */
.note-card { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; padding: clamp(12px, 3.5vw, 28px) clamp(12px, 3vw, 24px); box-sizing: border-box;
  background: linear-gradient(90deg, rgba(0,0,0,.6), rgba(0,0,0,.82)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; border-left: 1px solid rgba(255,255,255,.25);
  transform: translateX(105%); transition: transform .45s cubic-bezier(.2,.7,.2,1); display: grid; grid-template-rows: auto auto 1fr auto; gap: clamp(6px, 1.5vw, 14px); overflow: hidden; }
.note-card.in { transform: translateX(0); }
.note-card .nc-k { display: flex; justify-content: space-between; font: 500 10px Oswald, sans-serif; letter-spacing: .3em; text-transform: uppercase; color: var(--lip); }
.note-card .nc-k span:last-child { color: rgba(255,255,255,.55); }
.note-card h4 { font: 600 clamp(22px, 6vw, 40px)/0.95 Oswald, sans-serif; text-transform: uppercase; margin: 0; letter-spacing: .01em; }
.note-card .nc-body { display: grid; gap: .6em; align-content: start; font: 400 clamp(12px, 2.6vw, 16px)/1.4 Archivo, sans-serif; color: rgba(255,255,255,.9); transition: opacity .35s; }
.note-card .nc-body.fade { opacity: 0; }
.note-card .nc-body p { margin: 0; }
.note-card .nc-body .nc-fact { font: 500 clamp(13px, 2.9vw, 18px)/1.3 Oswald, sans-serif; border-left: 3px solid var(--lip); padding-left: 10px; }
.note-card .nc-body .nc-src { font: 500 9px Oswald, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.note-card .nc-dots { display: flex; gap: 6px; } .note-card .nc-dots i { width: 18px; height: 3px; background: rgba(255,255,255,.25); } .note-card .nc-dots i.on { background: var(--lip); }
.note-card:not(.pause) { display: none; }
@media (min-width: 900px) { .note-card.pause { width: 30%; } }
.note-card .term { font-style: italic; font-weight: 700; color: #ff8aa0; }
/* Overlay pause: the same panel in wine, interactive on every screen size. */
.note-card.pause { background: linear-gradient(90deg, rgba(96,10,34,.86), rgba(64,4,22,.96)); }
.note-card.pause .nc-k, .note-card.pause .nc-opt b { color: #ff8aa0; }
.note-card .nc-hand { font: italic 400 clamp(11px, 1.1vw, 14px) Archivo, sans-serif; color: rgba(255,255,255,.6); margin: 0 0 4px; }
.note-card .nc-opts { display: grid; gap: 6px; }
.note-card .nc-opt { appearance: none; text-align: left; cursor: pointer; border: 1.5px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: #fff; border-radius: 0; padding: clamp(6px, .8vw, 10px) clamp(8px, 1vw, 12px); font: 400 clamp(11px, 1.15vw, 14px)/1.3 Archivo, sans-serif; display: flex; gap: 10px; align-items: center; }
.note-card .nc-opt b { font: 600 1.05em Oswald, sans-serif; min-width: 1.2em; }
.note-card .nc-opt:hover { border-color: #fff; }
.note-card .nc-opt.sel { border-color: #ff8aa0; background: rgba(255,138,160,.18); }
.note-card .nc-opt.skip { color: rgba(255,255,255,.55); border-style: dashed; background: transparent; }
.note-card .nc-opt:disabled { cursor: default; }
.note-card .nc-thanks { font: 400 clamp(11px, 1.1vw, 14px) Archivo, sans-serif; color: rgba(255,255,255,.75); margin: 6px 0 0; }
.note-card .nc-ring { --p: 0; width: clamp(26px, 2.6vw, 40px); height: clamp(26px, 2.6vw, 40px); border-radius: 50%; display: grid; place-items: center; font: 600 clamp(11px, 1.2vw, 18px) Oswald, sans-serif; color: #fff; letter-spacing: 0; background: conic-gradient(rgba(255,255,255,.18) calc(var(--p) * 360deg), #ff8aa0 0); position: relative; }
.note-card .nc-ring::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #3c0616; }
.note-card .nc-ring > span { position: relative; }

/* Episodes not on sale yet */
.tile.soon { cursor: default; filter: brightness(.92); }
.tile.soon:hover { transform: none; }
.tile .soon-badge { position: absolute; top: 12px; right: 12px; font: 600 10px Oswald, sans-serif; letter-spacing: .22em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.35); padding: 5px 9px; border-radius: 999px; }
.btn.soon[disabled] { opacity: .55; cursor: default; }

/* ---------- goals: the community unlocks the next case ---------- */
.metas-head { max-width: 760px; }
.metas .kicker { margin: 0 0 12px; font-family: var(--type); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.metas .kicker b { color: #fff; background: var(--lip); padding: 2px 8px; border-radius: 2px; font-weight: 400; }
.metas h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; font-weight: 600; }
.metas-how { margin: 0; color: var(--dim); font-size: 14px; }
.meters { display: grid; gap: 14px; margin-top: 22px; }
.meter { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: baseline; padding: 18px 20px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); }
.meter-label { font-family: var(--type); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.meter-n { font-family: var(--serif); font-weight: 800; font-size: clamp(28px, 3vw, 40px); line-height: 1; font-variant-numeric: tabular-nums; }
.meter .meter-next { grid-column: 1 / -1; }
.meter-next { font-family: var(--type); font-size: 11px; letter-spacing: .06em; color: var(--rose); }
.bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.bar i { display: block; height: 100%; width: 2%; border-radius: inherit; background: linear-gradient(90deg, var(--wine), var(--lip) 60%, var(--rose)); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.ladder { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 2px; }
.ladder li { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 14px; border-radius: 6px; font-size: 14px; }
.ladder li:nth-child(odd) { background: rgba(255,255,255,.03); }
.ladder .goal { margin: 0; font-family: var(--type); font-size: 12px; letter-spacing: .06em; color: var(--gold); white-space: nowrap; }
.ladder a { color: var(--txt); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ladder a:hover { color: var(--rose); }
.ladder .state { font-family: var(--type); font-size: 11px; color: var(--dim); }
.ladder li.done .state { color: var(--gold); }
  background: radial-gradient(120% 140% at 0% 0%, rgba(224,32,63,.28), transparent 55%), linear-gradient(160deg, #1d0a10, #0b0608); border: 1px solid rgba(224,32,63,.35); }
@media (max-width: 640px) { .ladder li { grid-template-columns: 1fr auto; } .ladder .goal { grid-column: 1 / -1; } }

.ep p.cont { margin-top: 6px; font-family: var(--type); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.ep p.cont a { color: inherit; }
.tile.soon { cursor: pointer; }

/* lock dialog (paper case file) */
#lock .bar.paper { background: rgba(34,21,26,.12); height: 10px; margin: 14px 0 6px; }
.lock-count { margin: 0 0 14px; font-family: var(--type); font-size: 12px; letter-spacing: .06em; color: var(--wine); }
.lock-ask { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
#lock-share { width: 100%; background: var(--ink); color: var(--paper); }
.share-alt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.btn.ghost-ink { background: transparent; color: var(--ink); border: 1px solid rgba(34,21,26,.25); padding: 10px 8px; font-size: 13px; }
.lock-notify { margin-top: 4px; }
.lock-share-box { margin-top: 18px; padding-top: 16px; border-top: 1px dashed rgba(34,21,26,.25); }
.lock-or { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
#lock .notify-form input { flex: 1; width: auto; background: #fff; color: var(--ink); border-color: rgba(34,21,26,.25); }
#lock .notify-form .btn { background: var(--lip); color: #fff; }
#lock .err { margin: 6px 0 0; color: var(--lip); font-size: 13px; }
.usd { font-size: .62em; font-weight: 500; letter-spacing: .04em; opacity: .8; }
