:root {
  color-scheme: dark;
  --ink: #080b0f;
  --paper: #f2eadb;
  --ember: #e89a38;
  --rust: #9e392c;
  --smoke: #a9adb0;
  --line: rgba(242, 234, 219, .17);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body.modal-open { overflow: hidden; }
button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.topbar { position: fixed; inset: 0 0 auto; z-index: 20; height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(22px, 5vw, 76px); background: linear-gradient(180deg, rgba(8,11,15,.96), rgba(8,11,15,.72) 70%, transparent); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 850; letter-spacing: .11em; font-size: .88rem; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(232,154,56,.72); color: var(--ember); font: 900 .75rem/1 Georgia, serif; transform: rotate(-3deg); }
.topbar nav { display: flex; gap: clamp(20px, 3vw, 42px); color: #d5d0c6; font-size: .83rem; }
.topbar nav a { padding: 12px 0; border-bottom: 1px solid transparent; transition: .25s ease; }
.topbar nav a:hover { color: white; border-color: var(--ember); }
.menu-button { display: none; border: 1px solid var(--line); background: transparent; color: white; padding: 9px 13px; }
.mobile-nav { position: fixed; z-index: 19; inset: 70px 16px auto; padding: 10px; background: #11161c; border: 1px solid var(--line); box-shadow: 0 22px 70px #000; }
.mobile-nav a { display: block; padding: 15px; border-bottom: 1px solid var(--line); }

.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; padding: 130px clamp(22px, 7vw, 110px) 9vh; }
.hero-art { position: absolute; inset: 0 0 0 44%; overflow: hidden; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; filter: saturate(.78) contrast(1.08); }
.hero-vignette { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(8,11,15,.82) 21%, rgba(8,11,15,.15) 72%), linear-gradient(0deg, var(--ink) 0%, transparent 40%); }
.hero-copy { position: relative; z-index: 2; width: min(690px, 64vw); }
.eyebrow, .section-index { margin: 0 0 18px; color: var(--ember); letter-spacing: .19em; font-size: .72rem; font-weight: 800; }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; }
h1 { font-size: clamp(4rem, 8.7vw, 9rem); line-height: .82; letter-spacing: -.065em; font-weight: 700; text-wrap: balance; }
h1 em { color: var(--ember); font-weight: inherit; }
.lead { width: min(590px, 100%); margin: 32px 0; color: #d0ccc4; font-size: clamp(1.08rem, 1.7vw, 1.35rem); line-height: 1.65; }
.hero-actions, .support-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { border: 1px solid transparent; padding: 15px 21px; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; color: white; font-weight: 750; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--rust); }
.button-primary:hover { background: #b84635; }
.button-ghost { border-color: rgba(255,255,255,.26); background: rgba(8,11,15,.3); backdrop-filter: blur(7px); }
.content-note { display: flex; align-items: center; gap: 10px; margin: 24px 0 0; color: #95999c; font-size: .78rem; }
.content-note span { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid #777; border-radius: 50%; color: #d2d2d2; }
.route-stamp { position: absolute; right: 30px; bottom: 24px; writing-mode: vertical-rl; color: rgba(255,255,255,.32); font-size: .61rem; letter-spacing: .28em; }

.section { padding: clamp(82px, 12vw, 165px) clamp(22px, 7vw, 110px); border-top: 1px solid var(--line); }
.manifesto { display: grid; grid-template-columns: minmax(150px, .36fr) 1fr; gap: 40px; background: var(--paper); color: #16191d; }
.manifesto .section-index { color: var(--rust); }
.manifesto h2 { max-width: 1000px; font-size: clamp(2.8rem, 6vw, 6.6rem); line-height: .98; letter-spacing: -.045em; }
.manifesto h2 span { color: #9e9382; }
.manifesto-grid { max-width: 900px; margin: 60px 0 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; color: #4e5051; font-size: 1.04rem; line-height: 1.75; }
.section-head { display: flex; justify-content: space-between; gap: 30px; align-items: baseline; margin-bottom: 45px; }
.section-aside { color: var(--smoke); font-family: Georgia, serif; font-style: italic; }

.characters { background: #0c1015; }
.character-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.character-card { position: relative; display: flex; align-items: end; padding: 28px; overflow: hidden; isolation: isolate; border-right: 1px solid var(--line); background-position: center; background-size: cover; }
.character-card { min-height: 420px; border-bottom: 1px solid var(--line); }
.character-card:nth-child(4n) { border-right: 0; }
.character-card:nth-last-child(-n + 3) { border-bottom: 0; }
.character-card:last-child { border-right: 0; }
.character-card::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(5,7,10,.98), rgba(5,7,10,.07) 80%); }
.character-card::after { content: ""; position: absolute; z-index: -2; inset: 0; opacity: .34; background: radial-gradient(circle at 50% 15%, var(--ember), transparent 56%); transition: opacity .35s ease, transform .6s ease; }
.character-card:hover::after { opacity: .6; transform: scale(1.1); }
.character-card span { color: var(--ember); font-size: .7rem; letter-spacing: .2em; }
.character-card h3 { margin: 8px 0 12px; font-size: 2.4rem; }
.character-card p { margin: 0; color: #afb1b2; line-height: 1.55; font-size: .9rem; }

.episodes { background: #0a0d11; }
.episode-list { display: grid; gap: 28px; }
.episode { display: grid; grid-template-columns: minmax(180px, 320px) 1fr; min-height: 360px; border: 1px solid var(--line); background: #11161c; }
.episode-cover { overflow: hidden; background: #090b0e; }
.episode-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .55s ease; }
.episode:hover .episode-cover img { transform: scale(1.025); }
.episode-copy { display: flex; flex-direction: column; align-items: start; justify-content: center; padding: clamp(28px, 5vw, 68px); }
.status { padding: 7px 10px; border: 1px solid rgba(232,154,56,.45); color: var(--ember); font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; }
.episode-number { margin: 28px 0 8px; color: #8d9295; font-size: .77rem; text-transform: uppercase; letter-spacing: .16em; }
.episode h3 { font-size: clamp(2.4rem, 5vw, 4.9rem); letter-spacing: -.035em; }
.episode-copy > p:not(.episode-number) { max-width: 680px; color: #aeb2b5; line-height: 1.7; }
.text-link { margin-top: 16px; padding: 8px 0; border: 0; background: transparent; color: white; font-weight: 750; border-bottom: 1px solid var(--ember); }
.text-link span { color: var(--ember); margin-left: 10px; }
.text-link.muted { color: #74787b; border-color: #3a3d40; }
.upcoming { opacity: .78; }

.support { padding-top: 0; border: 0; background: linear-gradient(#0a0d11, #12161b); }
.support-panel { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 110px); background: var(--rust); }
.support-panel::after { content: "BOZA"; position: absolute; right: -2vw; bottom: -7vw; color: rgba(0,0,0,.11); font: 900 clamp(8rem, 25vw, 23rem)/.8 Georgia, serif; pointer-events: none; }
.support-panel .section-index { color: #ffd098; }
.support-panel h2 { position: relative; z-index: 1; max-width: 970px; font-size: clamp(2.9rem, 6.2vw, 6.7rem); line-height: .96; letter-spacing: -.045em; }
.support-panel > p:not(.section-index):not(.coming-note) { position: relative; z-index: 1; max-width: 700px; margin: 30px 0; color: #f0d9d2; line-height: 1.7; font-size: 1.05rem; }
.support-actions { position: relative; z-index: 2; }
.support .button-primary { background: #080b0f; }
.light { background: transparent; border-color: rgba(255,255,255,.5); }
.coming-note { position: relative; z-index: 1; font-size: .78rem; color: #e5b8ad; }

footer { padding: 60px clamp(22px, 7vw, 110px); display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 30px; color: #888d91; border-top: 1px solid var(--line); font-size: .78rem; }
.footer-brand { color: var(--paper); }
.copyright { text-align: right; }

dialog { color: var(--paper); }
dialog::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(8px); }
.reader { width: min(1180px, 100vw); height: 100svh; max-height: none; margin: 0 auto; padding: 0; border: 0; background: #080b0f; }
.reader-bar { position: sticky; z-index: 2; top: 0; display: flex; justify-content: space-between; align-items: center; min-height: 70px; padding: 12px clamp(15px, 4vw, 35px); background: rgba(8,11,15,.95); border-bottom: 1px solid var(--line); }
.reader-bar div { display: flex; align-items: center; gap: 12px; }
.reader-bar span { color: var(--ember); font-size: .66rem; letter-spacing: .16em; }
.reader-bar button, .notice-close { border: 0; background: transparent; color: #c5c8ca; }
.reader-warning { max-width: 650px; margin: 17vh auto; padding: 50px; border: 1px solid var(--line); text-align: center; }
.reader-warning strong { color: var(--ember); text-transform: uppercase; letter-spacing: .17em; font-size: .72rem; }
.reader-warning p { margin: 22px 0 28px; color: #b4b8ba; line-height: 1.7; }
.reader-pages { width: min(864px, 100%); margin: 0 auto; background: #000; }
.reader-pages img { width: 100%; }
.notice { width: min(520px, calc(100vw - 30px)); padding: 44px; border: 1px solid var(--line); background: #11161c; }
.notice-close { position: absolute; right: 16px; top: 12px; font-size: 1.5rem; }
.notice h2 { font-size: 2.6rem; }
.notice > p:not(.eyebrow) { color: #adb1b4; line-height: 1.6; }

@media (max-width: 900px) {
  .topbar nav { display: none; }
  .menu-button { display: block; }
  .hero { min-height: 830px; align-items: end; }
  .hero-art { inset: 0; }
  .hero-vignette { background: linear-gradient(0deg, var(--ink) 8%, rgba(8,11,15,.22) 70%), linear-gradient(90deg, rgba(8,11,15,.7), transparent); }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(3.8rem, 16vw, 7rem); }
  .manifesto { grid-template-columns: 1fr; }
  .manifesto-grid { grid-template-columns: 1fr; margin-top: 42px; gap: 15px; }
  .character-grid { grid-template-columns: 1fr 1fr; }
  .character-card { min-height: 330px; }
  .character-card:nth-child(4n) { border-right: 1px solid var(--line); }
  .character-card:nth-child(2n) { border-right: 0; }
  .character-card:nth-last-child(-n + 3) { border-bottom: 1px solid var(--line); }
  .character-card:last-child { border-bottom: 0; }
  .episode { grid-template-columns: 220px 1fr; }
  footer { grid-template-columns: 1fr; }
  .copyright { text-align: left; }
}

@media (max-width: 600px) {
  .topbar { height: 64px; }
  .hero { min-height: 760px; padding-bottom: 54px; }
  .hero-art img { object-position: 57% top; }
  .lead { font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .route-stamp { display: none; }
  .section-head { display: block; }
  .character-grid { grid-template-columns: 1fr; }
  .character-card, .character-card:nth-child(2n), .character-card:nth-child(4n) { min-height: 260px; border-right: 0; border-bottom: 1px solid var(--line); }
  .episode { grid-template-columns: 1fr; }
  .episode-cover { height: 330px; }
  .support-panel { margin-inline: -22px; }
  .support-actions .button { width: 100%; }
  .reader-bar strong { display: none; }
  .reader-warning { margin: 12vh 16px; padding: 35px 24px; }
  .notice { padding: 36px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Current approved cast */
.hero h1 { font-size:clamp(3rem,6.5vw,6.5rem); line-height:1.04; }
.character-card.malo { background-image:url("malo.png"); }
.character-card.sandra { background-image:url("sandra.png"); }
.character-card.sylvie { background-image:url("sylvie.png"); }
.character-card.jordi { background-image:url("jordi.png"); }
.character-card.kevin { background-image:url("kevin.png"); }
.character-card.ismael { background-image:url("ismael.png"); }
.character-card.nando { background-image:url("nando.png"); }
body { font-size:16px; } .character-card span,.section-index,.content-note { font-size:14px; }
.en-nav { display:flex!important; gap:20px; }
