
:root {
  --tar:#050403;
  --tar2:#100b08;
  --cream:#f1e5d0;
  --peach:#f6a03b;
  --blood:#b81919;
  --smoke:rgba(5,4,3,.58);
  --max:1260px;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--tar); color:var(--cream); font-family:Impact,"Arial Black",Arial,sans-serif; overflow-x:hidden; -webkit-font-smoothing:antialiased; }
a { color:inherit; }
p { margin:0 0 1rem; font-family:"Arial Narrow",Arial,sans-serif; font-size:clamp(1.02rem,1.35vw,1.18rem); line-height:1.46; letter-spacing:.01em; }
h1,h2,h3 { margin:0 0 .9rem; line-height:.92; text-transform:uppercase; font-weight:900; letter-spacing:.01em; text-shadow:3px 3px 0 rgba(184,25,25,.55), 0 8px 26px rgba(0,0,0,.45); }
h1 { font-size:clamp(2.6rem,6.5vw,6.4rem); }
.eyebrow { margin-bottom:12px; font-family:"Arial Narrow",Arial,sans-serif; font-weight:900; letter-spacing:.22em; text-transform:uppercase; color:var(--peach); text-shadow:2px 2px 0 rgba(0,0,0,.7); }
.site-header { position:fixed; inset:0 0 auto 0; z-index:70; display:flex; justify-content:space-between; align-items:center; gap:20px; padding:16px max(18px,calc((100vw - var(--max))/2)); background:linear-gradient(to bottom, rgba(5,4,3,.92), rgba(5,4,3,.18)); }
.brand { text-decoration:none; font-family:Impact,"Arial Black",Arial,sans-serif; text-transform:uppercase; color:var(--peach); letter-spacing:.08em; text-shadow:2px 2px 0 var(--blood); }
.nav-toggle { display:none; }
nav { display:flex; gap:14px; flex-wrap:wrap; justify-content:flex-end; }
nav a { text-decoration:none; text-transform:uppercase; font-family:"Arial Narrow",Arial,sans-serif; font-weight:900; font-size:.82rem; letter-spacing:.1em; opacity:.88; }
nav a:hover { color:var(--peach); opacity:1; }
.media-section,.tab-panel { position:relative; min-height:100vh; min-height:100svh; display:grid; align-items:center; justify-items:center; padding:92px 22px 38px; overflow:hidden; isolation:isolate; }
.media-section::before,.tab-panel::before { content:""; position:absolute; inset:0; z-index:0; background-image:var(--bg); background-size:cover; background-position:center center; transform:scale(1.01); }
.section-video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:1; }
.veil { position:absolute; inset:0; z-index:1; pointer-events:none; }
.left-fade { background:linear-gradient(90deg, rgba(5,4,3,.88), rgba(5,4,3,.48) 42%, rgba(5,4,3,.10) 75%); }
.right-fade { background:linear-gradient(90deg, rgba(5,4,3,.12), rgba(5,4,3,.48) 54%, rgba(5,4,3,.88)); }
.center-fade { background:radial-gradient(circle at 50% 52%, rgba(5,4,3,.28), rgba(5,4,3,.78) 76%); }
.film-damage { position:absolute; inset:0; z-index:3; pointer-events:none; opacity:.28; background:repeating-linear-gradient(0deg, rgba(255,255,255,.04), rgba(255,255,255,.04) 1px, transparent 1px, transparent 5px); mix-blend-mode:screen; }
body::after { content:""; position:fixed; inset:0; z-index:99; pointer-events:none; opacity:.08; background:radial-gradient(circle, transparent 18%, rgba(0,0,0,.6) 100%), repeating-linear-gradient(90deg, rgba(255,255,255,.07), transparent 1px, transparent 7px); mix-blend-mode:screen; }
.title-only { padding:0; }
.clean-copy { position:relative; z-index:4; width:min(760px,calc(100% - 40px)); color:var(--cream); }
.left-copy { justify-self:start; margin-left:clamp(0px,6vw,92px); text-align:left; }
.right-copy { justify-self:end; margin-right:clamp(0px,6vw,92px); text-align:right; }
.center-copy { justify-self:center; text-align:center; max-width:920px; }
.logline-copy { max-width:860px; }
.logline-copy p:last-child { max-width:820px; }
.world-copy { max-width:900px; }
.act-copy { max-width:720px; }
.themes-copy { max-width:760px; }
.filmmaker-copy { max-width:720px; }
.tabbed-section { position:relative; min-height:100vh; min-height:100svh; background:var(--tar); }
.tabs { position:relative; min-height:100vh; min-height:100svh; z-index:4; }
.tab-list { position:absolute; z-index:20; top:72px; left:50%; transform:translateX(-50%); display:grid; background:rgba(5,4,3,.82); border:2px solid var(--blood); box-shadow:0 0 0 3px rgba(246,160,59,.35), 0 18px 52px rgba(0,0,0,.42); }
.act-tab-list { grid-template-columns:repeat(3,1fr); width:min(560px,calc(100% - 48px)); }
.character-tab-list { grid-template-columns:repeat(6,1fr); width:min(1120px,calc(100% - 48px)); }
.tab-button { appearance:none; border:0; border-right:1px solid rgba(246,160,59,.38); background:rgba(16,11,8,.9); color:var(--cream); padding:14px 10px; cursor:pointer; font-family:Impact,"Arial Black",Arial,sans-serif; text-transform:uppercase; letter-spacing:.05em; font-size:.86rem; }
.tab-button:last-child { border-right:0; }
.tab-button.active { color:var(--tar); background:linear-gradient(90deg,var(--peach),#ffd36c); text-shadow:none; }
.tab-panel { align-items:center; }
.tab-panel[hidden], .tabs [role="tabpanel"] { display:none !important; }
.tabs [role="tabpanel"].active { display:grid !important; }
.character-copy { max-width:720px; }
.split-copy { width:min(1060px,calc(100% - 40px)); display:grid; grid-template-columns:1fr 1fr; gap:clamp(24px,5vw,80px); align-items:start; }
.split-copy div { min-width:0; }
.end-logo-wrap { position:relative; z-index:5; width:min(900px,calc(100% - 36px)); text-align:center; color:var(--cream); }
.end-logo { width:min(760px,90vw); margin:0 auto 28px; box-shadow:0 24px 70px rgba(0,0,0,.48); }
.end-logo-wrap a { display:inline-block; margin:.25rem 0 1rem; text-decoration:none; font-family:Impact,"Arial Black",Arial,sans-serif; color:var(--peach); letter-spacing:.08em; text-shadow:2px 2px 0 var(--blood); }
.scroll-fade { opacity:0; transform:translateY(28px); transition:opacity .7s ease, transform .7s ease; }
.scroll-fade.is-visible { opacity:1; transform:translateY(0); }
footer { padding:22px 18px; text-align:center; background:var(--tar); color:rgba(241,229,208,.72); }
footer p { margin:0; font-size:.9rem; }
@media (max-width:980px){
  .character-tab-list { grid-template-columns:repeat(3,1fr); top:62px; }
  h1 { font-size:clamp(2.35rem,8vw,5rem); }
  .split-copy { grid-template-columns:1fr; gap:22px; }
}
@media (max-width:760px){
  .site-header { padding:14px 16px; }
  .nav-toggle { display:block; border:2px solid var(--blood); background:rgba(5,4,3,.72); color:var(--peach); padding:8px 10px; font-family:Impact,"Arial Black",Arial,sans-serif; text-transform:uppercase; letter-spacing:.08em; }
  nav { position:absolute; display:none; top:56px; right:16px; width:min(260px,calc(100vw - 32px)); padding:12px; background:rgba(5,4,3,.96); border:2px solid var(--blood); }
  nav.open { display:grid; gap:8px; }
  nav a { padding:8px; }
  .media-section,.tab-panel { min-height:86svh; padding:128px 16px 28px; align-items:end; justify-items:stretch; }
  .title-only { min-height:84svh; padding:0; }
  .clean-copy,.end-logo-wrap { width:100%; margin-left:0; margin-right:0; }
  .right-copy,.left-copy,.center-copy { justify-self:stretch; text-align:left; }
  .right-fade,.left-fade,.center-fade { background:linear-gradient(0deg, rgba(5,4,3,.86), rgba(5,4,3,.36) 60%, rgba(5,4,3,.54)); }
  .tab-list { top:64px; width:calc(100% - 28px); }
  .act-tab-list { grid-template-columns:repeat(3,1fr); }
  .character-tab-list { grid-template-columns:repeat(2,1fr); }
  .tab-button { padding:10px 5px; font-size:.72rem; }
  .character-section .tab-panel { padding-top:176px; }
  h1 { font-size:clamp(2.1rem,12vw,3.8rem); }
  p { font-size:1rem; line-height:1.42; }
  .end-logo { width:min(320px,78vw); }
}
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto;} .scroll-fade{opacity:1;transform:none;transition:none;} }


/* V4 requested layout refinements */
.logline-copy h1 { white-space: nowrap; font-size: clamp(2.15rem, 5.2vw, 5.4rem); }
.logline-copy p:last-child { font-size: clamp(1.2rem, 1.85vw, 1.7rem); line-height: 1.36; max-width: 980px; }
.logline-copy { width: min(1040px, calc(100% - 40px)); max-width: 1040px; }
.world-section { justify-items: stretch; }
.world-copy { max-width: 860px; text-align: left; }
.world-copy p { font-size: clamp(1.22rem, 1.9vw, 1.85rem); line-height: 1.32; }
.act-copy { max-width: 1120px; width: min(1120px, calc(100% - 40px)); text-align: center; }
.act-copy h1.single-line { white-space: nowrap; font-size: clamp(2.1rem, 4.9vw, 5.2rem); }
.act-copy p { font-size: clamp(1.18rem, 1.75vw, 1.6rem); line-height: 1.34; max-width: 980px; margin-left: auto; margin-right: auto; }
.character-tab-list { grid-template-columns: repeat(3, 1fr); width: min(720px, calc(100% - 48px)); }
.lower-left { align-self: end; justify-self: start; margin-left: clamp(18px, 5.5vw, 92px); margin-bottom: clamp(26px, 6vh, 72px); text-align: left; }
.lower-right { align-self: end; justify-self: end; margin-right: clamp(18px, 5.5vw, 92px); margin-bottom: clamp(26px, 6vh, 72px); text-align: right; }
.lower-center { align-self: end; justify-self: center; margin-bottom: clamp(26px, 6vh, 72px); }
.split-copy.lower-center { width: min(980px, calc(100% - 40px)); grid-template-columns: 1fr 1fr; gap: clamp(32px, 8vw, 110px); }
.character-copy h1 { font-size: clamp(2.3rem, 5.2vw, 5.6rem); }
.character-copy p { font-size: clamp(1.08rem, 1.45vw, 1.32rem); line-height: 1.34; }
.themes-section { justify-items: center; }
.themes-copy { max-width: 1040px; width: min(1040px, calc(100% - 40px)); text-align: center; }
.themes-copy h1 { font-size: clamp(2.2rem, 5.4vw, 5.7rem); max-width: 950px; margin-left: auto; margin-right: auto; }
.themes-copy p { font-size: clamp(1.2rem, 1.8vw, 1.65rem); line-height: 1.35; max-width: 840px; margin-left: auto; margin-right: auto; }
.filmmaker-copy h1 { font-size: clamp(2.1rem, 4.4vw, 4.8rem); }
.end-logo-wrap { width: min(980px, calc(100% - 36px)); }
.end-logo { display:block; width:auto; height:auto; max-width:min(820px, 88vw); max-height:42vh; object-fit:contain; margin:0 auto 30px; box-shadow:none; filter:none; }
.end-logo-wrap a, .end-logo-wrap p { text-shadow:none; }
@media (max-width: 980px){
  .character-tab-list { grid-template-columns: repeat(3, 1fr); }
  .logline-copy h1, .act-copy h1.single-line { white-space: normal; }
}
@media (max-width:760px){
  .logline-copy h1, .act-copy h1.single-line { white-space: normal; }
  .logline-copy p:last-child, .world-copy p, .act-copy p, .themes-copy p { font-size: 1.08rem; line-height: 1.42; }
  .act-copy { width:100%; }
  .world-copy { text-align:left; }
  .lower-left, .lower-right, .lower-center { margin:0; justify-self: stretch; align-self:end; text-align:left; }
  .split-copy.lower-center { width:100%; grid-template-columns: 1fr; gap: 18px; }
  .themes-copy { width:100%; }
  .end-logo { max-width: min(360px, 82vw); max-height: 42vh; }
}


/* V5 responsive/parallax and placement pass */
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
.media-section, .tab-panel, .tabbed-section, .tabs {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
}

/* Optional parallax treatment on desktop only. Disabled on touch/mobile for stability. */
@media (min-width: 900px) and (hover: hover) {
  .parallax-ready.media-section::before,
  .parallax-ready .tab-panel::before {
    background-attachment: fixed;
  }
}

/* Logline lower-left placement */
.logline-section { align-items: end; justify-items: stretch; }
.logline-section .logline-copy {
  align-self: end;
  justify-self: start;
  margin-left: clamp(18px, 6vw, 110px);
  margin-bottom: clamp(34px, 8vh, 96px);
}
.logline-copy h1 { white-space: nowrap; }

/* World top-left placement */
.world-section { align-items: start; justify-items: stretch; }
.world-section .world-copy {
  align-self: start;
  justify-self: start;
  margin-left: clamp(18px, 6vw, 110px);
  margin-top: clamp(70px, 14vh, 150px);
  text-align: left;
}

/* Primary character copy vertically centered. Supporting duo slides retain lower placement. */
#panel-arlene .character-copy,
#panel-thomas .character-copy,
#panel-kyd .character-copy {
  align-self: center;
  margin-bottom: 0;
}
#panel-arlene .character-copy,
#panel-kyd .character-copy {
  justify-self: start;
  text-align: left;
}
#panel-thomas .character-copy {
  justify-self: end;
  text-align: right;
}

/* Theme layout */
.themes-section { align-items: center; justify-items: center; }
.themes-copy { text-align: center; }
.themes-copy h1 {
  display: grid;
  gap: .08em;
  line-height: .92;
  text-wrap: balance;
}
.themes-copy h1 span { display: block; }
.themes-copy p {
  font-size: clamp(1.25rem, 1.9vw, 1.75rem);
  line-height: 1.35;
}

/* Filmmaker image and text pass */
.filmmaker-section::before { background-position: center center; }
.filmmaker-section .right-fade {
  background: linear-gradient(90deg, rgba(5,4,3,.08) 0%, rgba(5,4,3,.42) 48%, rgba(5,4,3,.90) 100%);
}
.filmmaker-copy {
  max-width: 760px;
}
.filmmaker-copy h1 {
  text-transform: uppercase;
  font-size: clamp(2.3rem, 4.6vw, 5rem);
  line-height: .95;
}
.filmmaker-copy p:last-child {
  text-transform: uppercase;
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  line-height: 1.25;
}

/* Better phone scaling */
@media (max-width: 980px) {
  .logline-copy h1 { white-space: normal; }
  .world-section .world-copy { margin-top: 110px; }
  .filmmaker-section::before { background-position: 38% center; }
}
@media (max-width: 760px) {
  .media-section, .tab-panel { min-height: 86svh; min-height: 86dvh; }
  .logline-section .logline-copy,
  .world-section .world-copy {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-top: 0;
    align-self: end;
    justify-self: stretch;
    width: 100%;
  }
  .world-section { align-items: end; }
  #panel-arlene .character-copy,
  #panel-thomas .character-copy,
  #panel-kyd .character-copy {
    align-self: end;
    justify-self: stretch;
    text-align: left;
    margin: 0;
  }
  .themes-copy h1 { font-size: clamp(2rem, 11vw, 3.8rem); }
  .themes-copy p { font-size: 1.08rem; line-height: 1.42; }
  .filmmaker-section .right-fade {
    background: linear-gradient(0deg, rgba(5,4,3,.90), rgba(5,4,3,.38) 60%, rgba(5,4,3,.24));
  }
  .filmmaker-section::before { background-position: center top; }
  .filmmaker-copy {
    text-align: left;
    justify-self: stretch;
  }
}


/* V6: logo and filmmaker background correction */
.filmmaker-section.parallax-ready::before {
  background-image: var(--bg);
  background-size: cover;
  background-position: 34% center;
  filter: contrast(1.08) brightness(.78);
}
.filmmaker-section {
  align-items: center;
  justify-items: end;
}
.filmmaker-section .right-fade {
  background:
    linear-gradient(90deg, rgba(5,4,3,.12) 0%, rgba(5,4,3,.18) 38%, rgba(5,4,3,.80) 100%);
}
@media (min-width: 900px) and (hover: hover) {
  .filmmaker-section.parallax-ready::before { background-attachment: fixed; }
}
.filmmaker-copy {
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  text-align: right;
  margin-right: clamp(22px, 7vw, 120px);
}
.filmmaker-copy .eyebrow,
.filmmaker-copy h1,
.filmmaker-copy p {
  text-transform: uppercase;
}
.end-logo-wrap {
  width: min(1280px, calc(100% - 48px));
}
.end-logo {
  width: min(1180px, 92vw);
  max-width: 1180px;
  height: auto;
  max-height: none;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
  filter: none;
}
@media (max-width: 760px) {
  .filmmaker-section.parallax-ready::before {
    background-size: cover;
    background-position: 36% center;
    filter: contrast(1.05) brightness(.68);
  }
  .filmmaker-section {
    justify-items: stretch;
    align-items: end;
  }
  .filmmaker-copy {
    text-align: left;
    margin-right: 0;
  }
  .end-logo-wrap { width: calc(100% - 28px); }
  .end-logo { width: min(92vw, 520px); }
}


/* V7 browser scaling / responsive correction pass */
html, body {
  width: 100%;
  max-width: 100%;
}
body {
  min-width: 0;
}
img, video, svg {
  max-width: 100%;
  height: auto;
}
.media-section,
.tab-panel {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  padding-top: clamp(78px, 10vh, 132px);
  padding-right: clamp(16px, 4vw, 64px);
  padding-bottom: clamp(28px, 6vh, 78px);
  padding-left: clamp(16px, 4vw, 64px);
}
.title-only {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  padding: 0;
}
.clean-copy,
.end-logo-wrap,
.split-copy {
  max-width: calc(100vw - clamp(32px, 7vw, 96px));
}
.logline-copy,
.world-copy,
.act-copy,
.themes-copy,
.filmmaker-copy {
  width: min(var(--copy-width, 980px), calc(100vw - clamp(32px, 7vw, 96px)));
}
.logline-copy { --copy-width: 1040px; }
.world-copy { --copy-width: 860px; }
.act-copy { --copy-width: 1120px; }
.themes-copy { --copy-width: 1040px; }
.filmmaker-copy { --copy-width: 720px; }
.left-copy {
  margin-left: clamp(18px, 5vw, 92px);
}
.right-copy {
  margin-right: clamp(18px, 5vw, 92px);
}
.tab-list {
  max-width: calc(100vw - 32px);
}
.character-tab-list,
.act-tab-list {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tab-button {
  min-width: 0;
  white-space: nowrap;
}
.end-logo {
  max-width: min(980px, calc(100vw - 48px));
  max-height: clamp(120px, 26vh, 320px);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: none;
  background: transparent;
}

/* Parallax only where browser support and desktop viewport make it stable. */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .parallax-ready::before,
  .filmmaker-section::before {
    background-attachment: fixed;
  }
}

/* Keep single-line hero statements only when viewport is wide enough. */
@media (min-width: 1080px) {
  .logline-copy h1,
  .act-copy h1.single-line {
    white-space: nowrap;
  }
}
@media (max-width: 1079px) {
  .logline-copy h1,
  .act-copy h1.single-line,
  .themes-copy h1,
  .end-logo-wrap h1 {
    white-space: normal !important;
  }
}

@media (max-width: 980px) {
  .media-section,
  .tab-panel {
    min-height: 92svh;
    min-height: 92dvh;
  }
  .tabs {
    min-height: 92svh;
    min-height: 92dvh;
  }
  .tab-list {
    top: clamp(58px, 8vh, 72px);
  }
  .character-tab-list {
    grid-template-columns: repeat(5, minmax(116px, 1fr));
    justify-content: start;
  }
  .act-tab-list {
    grid-template-columns: repeat(3, minmax(92px, 1fr));
  }
  .split-copy.lower-center {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    gap: clamp(18px, 5vw, 46px);
  }
}

@media (max-width: 760px) {
  .media-section,
  .tab-panel {
    min-height: auto;
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: 128px;
    padding-right: 16px;
    padding-bottom: 28px;
    padding-left: 16px;
  }
  .title-only {
    min-height: 86svh;
    min-height: 86dvh;
    padding: 0;
  }
  .clean-copy,
  .end-logo-wrap,
  .split-copy,
  .logline-copy,
  .world-copy,
  .act-copy,
  .themes-copy,
  .filmmaker-copy {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .left-copy,
  .right-copy,
  .center-copy {
    justify-self: stretch;
    margin-left: 0;
    margin-right: 0;
  }
  .lower-left,
  .lower-right,
  .lower-center {
    align-self: end;
    justify-self: stretch;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    text-align: left;
  }
  .split-copy.lower-center {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }
  .character-tab-list {
    display: flex;
    width: calc(100vw - 28px);
    overflow-x: auto;
  }
  .character-tab-list .tab-button {
    flex: 0 0 auto;
    min-width: 118px;
  }
  .act-tab-list {
    width: calc(100vw - 28px);
  }
  .logline-copy h1,
  .act-copy h1.single-line,
  .themes-copy h1 {
    white-space: normal !important;
  }
  .logline-copy p:last-child,
  .world-copy p,
  .act-copy p,
  .themes-copy p,
  .character-copy p {
    font-size: clamp(1rem, 4.3vw, 1.22rem);
    line-height: 1.38;
  }
  .end-logo {
    width: min(92vw, 560px);
    max-height: 24vh;
  }
}

@media (max-height: 720px) and (min-width: 761px) {
  .media-section,
  .tab-panel {
    min-height: 720px;
    padding-top: 96px;
    padding-bottom: 42px;
  }
  .tab-list {
    top: 60px;
  }
}


/* V8 title graphic scaling fix
   The title image is treated like a responsive contained graphic, not a cover background. */
.title-only {
  background: #050403;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 0;
}
.title-only::before {
  inset: 0;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  transform: none !important;
}

/* Keep the end/logo graphic scaling fluid as well. */
.end-logo-wrap {
  width: min(1200px, calc(100vw - clamp(32px, 7vw, 96px)));
}
.end-logo {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  max-height: none;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 760px) {
  .title-only {
    min-height: 86svh;
    min-height: 86dvh;
    padding: 0;
  }
  .title-only::before {
    background-size: contain !important;
  }
  .end-logo-wrap {
    width: calc(100vw - 28px);
  }
  .end-logo {
    width: 100%;
    max-width: 100%;
    max-height: none;
  }
}

@media (orientation: portrait) {
  .title-only::before {
    background-size: contain !important;
  }
}


/* V9 viewport scaling / no-black-gap correction
   Reverts the title section back to full-bleed cover behavior and forces all
   background sections, tabs, and copy blocks to respond fluidly to browser size. */
:root { --safe-x: clamp(16px, 4.5vw, 88px); --safe-y: clamp(24px, 6vh, 78px); }
html, body { min-height: 100%; margin: 0; padding: 0; background: var(--tar); overflow-x: hidden; }
main { display: block; margin: 0; padding: 0; background: var(--tar); }
.media-section,
.tab-panel,
.tabbed-section,
.tabs {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  margin: 0;
}
.media-section,
.tab-panel {
  padding: clamp(72px, 10vh, 128px) var(--safe-x) var(--safe-y);
}
.media-section::before,
.tab-panel::before {
  inset: 0;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center;
  transform: scale(1.015) !important;
}
/* Title card must remain full-bleed; no contain sizing that creates black bars. */
.title-only {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  padding: 0 !important;
  background: var(--tar);
}
.title-only::before {
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  transform: scale(1.01) !important;
}
.clean-copy,
.logline-copy,
.world-copy,
.act-copy,
.themes-copy,
.filmmaker-copy,
.character-copy,
.split-copy,
.end-logo-wrap {
  width: min(100%, calc(100vw - (var(--safe-x) * 2)));
  max-width: min(var(--copy-max, 980px), calc(100vw - (var(--safe-x) * 2)));
}
.logline-copy { --copy-max: 1060px; }
.world-copy { --copy-max: 900px; }
.act-copy { --copy-max: 1180px; }
.themes-copy { --copy-max: 1100px; }
.filmmaker-copy { --copy-max: 820px; }
.character-copy { --copy-max: 760px; }
.split-copy { --copy-max: 1120px; }
.end-logo-wrap { --copy-max: 1260px; }
h1 { font-size: clamp(2.05rem, 5.8vw, 6.2rem); }
p { font-size: clamp(1rem, 1.25vw + .25rem, 1.45rem); }
.logline-copy p:last-child,
.world-copy p,
.act-copy p,
.themes-copy p,
.filmmaker-copy p,
.character-copy p {
  font-size: clamp(1.04rem, 1.25vw + .35rem, 1.65rem);
}
.tab-list {
  width: auto;
  max-width: calc(100vw - 32px);
}
.end-logo {
  width: min(100%, 1200px);
  height: auto;
  max-height: clamp(120px, 32vh, 360px);
  object-fit: contain;
}
@media (min-width: 900px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .parallax-ready::before,
  .filmmaker-section::before {
    background-attachment: fixed;
  }
}
@media (max-width: 980px) {
  :root { --safe-x: clamp(16px, 4vw, 42px); --safe-y: clamp(22px, 5vh, 52px); }
  .media-section,
  .tab-panel,
  .tabbed-section,
  .tabs {
    min-height: 100svh;
    min-height: 100dvh;
  }
  .title-only { min-height: 100svh; min-height: 100dvh; }
  .title-only::before { background-position: center center !important; }
  .logline-copy h1,
  .act-copy h1.single-line {
    white-space: normal !important;
  }
}
@media (max-width: 760px) {
  :root { --safe-x: 16px; --safe-y: 28px; }
  .media-section,
  .tab-panel {
    min-height: 100svh;
    min-height: 100dvh;
    padding: 128px var(--safe-x) var(--safe-y);
    align-items: end;
    justify-items: stretch;
  }
  .title-only {
    min-height: 100svh;
    min-height: 100dvh;
    padding: 0 !important;
  }
  .title-only::before {
    background-size: cover !important;
    background-position: center center !important;
  }
  .clean-copy,
  .logline-copy,
  .world-copy,
  .act-copy,
  .themes-copy,
  .filmmaker-copy,
  .character-copy,
  .split-copy,
  .end-logo-wrap {
    width: 100%;
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .tab-list { max-width: calc(100vw - 28px); }
  h1 { font-size: clamp(2rem, 11.5vw, 4.2rem); }
  p { font-size: clamp(1rem, 4vw, 1.22rem); }
  .end-logo { width: min(100%, 92vw); max-height: 34vh; }
}
@media (max-height: 720px) and (min-width: 761px) {
  .media-section,
  .tab-panel {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: clamp(72px, 10vh, 98px);
    padding-bottom: clamp(24px, 5vh, 42px);
  }
}


/* V10 header logo replacement */
.site-header { min-height: 64px; }
.brand-logo {
  display: inline-flex;
  align-items: center;
  width: clamp(142px, 18vw, 245px);
  max-width: 42vw;
  padding: 0;
  line-height: 0;
}
.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(2px 2px 0 rgba(126, 22, 20, .75));
}
@media (max-width: 760px) {
  .site-header { min-height: 58px; }
  .brand-logo { width: clamp(118px, 42vw, 180px); max-width: 50vw; }
}

/* V11 end-card script / novel status */
.end-logo-wrap .availability {
  margin: clamp(18px, 3vh, 28px) 0 clamp(12px, 2vh, 20px);
  font-size: clamp(1.05rem, 1.8vw, 1.55rem);
  line-height: 1.25;
  letter-spacing: .14em;
  font-weight: 900;
}

/* V13 mobile-only vertical image and alignment pass
   Desktop behavior is unchanged. Mobile uses the updated 1080x1920 portrait assets. */
@media (max-width: 760px) {
  .media-section::before,
  .tab-panel::before {
    background-image: var(--bg);
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    transform: none !important;
  }

  /* Preserve the full mobile title artwork so the logo is not cropped on tall phones. */
  .title-only::before {
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    transform: none !important;
  }

  /* Mobile-only text balance: these were visually low/high after the vertical art pass. */
  .themes-section,
  .closing {
    align-items: center !important;
    justify-items: center !important;
    padding-top: 96px !important;
    padding-bottom: 48px !important;
  }

  .themes-copy,
  .end-logo-wrap {
    align-self: center !important;
    justify-self: center !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .themes-copy h1 {
    font-size: clamp(2rem, 10vw, 3.55rem);
  }

  .themes-copy p,
  .end-logo-wrap p,
  .end-logo-wrap a {
    text-align: center !important;
  }

  .end-logo-wrap {
    width: min(100%, 92vw) !important;
    max-width: 92vw !important;
  }

  .end-logo {
    width: min(100%, 82vw) !important;
    max-height: 24vh !important;
    margin-bottom: clamp(16px, 3vh, 24px) !important;
  }
}
