/* Viewing pass: compact chrome, fewer competing elements, and media-first layouts. */
html { scroll-padding-top: 24px; }
.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px var(--gutter);
}
.brand { gap: 0; font-size: 17px; }
.brand-mark { font-size: .6em; align-self: flex-start; margin: 3px 0 0 2px; }
.site-header nav { grid-column: auto; grid-row: auto; flex-wrap: nowrap; gap: clamp(16px, 2vw, 30px); justify-content: center; overflow: visible; }
.site-header nav a { font-size: 12px; min-height: 44px; display: inline-flex; align-items: center; padding: 0; }
.site-header a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold-leaf); }
.site-preferences { display: flex; align-items: center; gap: 10px; }
.language-select {
  border: 0; background: transparent; color: var(--muted);
  font: inherit; font-size: 11px; min-height: 40px; max-width: 80px;
  padding: 6px; cursor: pointer;
}
.language-select option { color: var(--ink); background: var(--paper); }
.theme-toggle { margin: 0; border: 0; font-size: 11px; min-height: 40px; padding-inline: 8px; }
.menu-toggle, .mobile-secondary { display: none; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 50; padding: 12px 20px; background: var(--button-bg); color: var(--button-ink); }
.skip-link:focus { top: 12px; }
.hero { padding-top: 24px; column-gap: 7%; }
.project-masthead { margin-bottom: 28px; padding-top: 10px; }
.hero .hero-title { font-size: clamp(64px, 7vw, 108px); }
.tagline { font-size: clamp(17px, 1.5vw, 22px); line-height: 1.6; max-width: 39ch; }
.hero-intro .actions { margin-top: 20px; }
.hero .project-still { margin-top: 32px; }
.project-still figcaption { padding-block: 12px; font-size: 10px; }
.project-still::after { bottom: 30px; }
.section { padding-block: 64px; }
.section-title { max-width: 860px; margin-bottom: 32px; }
.section-title :is(h1,h2), .final-cta :is(h1,h2) {
  font-family: var(--display); font-weight: 500; font-size: clamp(34px, 4.3vw, 64px);
  line-height: 1.12; letter-spacing: -.045em; color: var(--ink);
  margin: 14px 0 20px; text-shadow: none;
}
.section-copy { font-size: 16px; line-height: 1.75; }
.page-index { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 24px; }
.page-index a { font-size: 12px; text-transform: none; letter-spacing: 0; color: var(--ink); min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.page-index a:hover { border-color: var(--gold-leaf); }
.production-notes { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 16px; }
.production-notes summary {
  font-size: 12px; color: var(--muted); cursor: pointer;
  min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.production-notes summary::after { content: "+"; font-size: 18px; font-weight: 400; color: var(--ink); }
.production-notes[open] > summary::after { content: "−"; }
.production-notes summary::-webkit-details-marker { display: none; }
.production-notes p { font-size: 14px; color: var(--muted); line-height: 1.8; max-width: 70ch; }
.media-hero-section { padding-bottom: 16px; border-bottom: 0; }
.media-hero-copy { margin-bottom: 0; }
.media-proof-section { border-top: 0; padding-block: 40px; }
.media-proof-card { display: block; padding: 0; max-width: none; border: 0; }
.media-proof-card .video-frame { max-width: none; }
.media-proof-copy { display: grid; grid-template-columns: 1fr auto; gap: 0 40px; align-items: baseline; padding: 20px 0 0; }
.media-proof-copy h2 { font-family: var(--display); font-weight: 500; color: var(--ink); font-size: clamp(21px, 2.4vw, 32px); line-height: 1.3; letter-spacing: -.025em; margin: 0; }
.media-proof-copy > .text-link { grid-column: 2; grid-row: 1; align-self: center; min-height: 44px; display: inline-flex; align-items: center; }
.media-proof-copy .production-notes { grid-column: 1 / -1; margin-top: 16px; }
.media-proof-copy .media-toolkit { font-weight: 400; font-size: 11px; letter-spacing: 0; }
.media-footer-section { padding-block: 24px 48px; }
.media-footer-note { max-width: none; padding: 16px 0; border-width: 1px 0 0; }
.media-footer-note h3 { font-size: 24px; margin-top: 20px; }
.script-version-switch { display: flex; gap: 24px; border-bottom: 1px solid var(--line); max-width: 1100px; margin-inline: auto; }
.script-version {
  display: flex; flex-direction: column; gap: 5px; padding: 16px 0; margin-bottom: -1px;
  border-bottom: 2px solid transparent; color: var(--muted); text-decoration: none; min-width: 140px;
}
.script-version span { font-size: 14px; }
.script-version small { font-size: 11px; line-height: 1.6; }
.script-version[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gold-leaf); }
.script-access { max-width: 1100px; margin-inline: auto; }
.script-reader { padding: 24px 0 0; border: 0; margin: 0; overflow: visible; }
.script-reader-header { align-items: center; margin-bottom: 16px; }
.script-reader h3 { font-size: clamp(20px, 2.5vw, 30px); line-height: 1.3; }
.script-reader-header .eyebrow, .script-reader-header .reader-badge { display: none; }
.reader-actions .btn { min-height: 44px; white-space: nowrap; font-size: 11px; }
.reader-fineprint { margin: 0 0 16px; font-size: 12px!important; }
.reader-frame iframe { height: 78dvh; min-height: 500px; }
.reader-toolbar { font-size: 9px; letter-spacing: .025em; }
.script-reader, .script-reader * { -webkit-user-select: auto; user-select: auto; }
.story-premise { max-width: 70ch; }
.cast-entry { padding-block: 24px; gap: 6%; }
.cast-rail { gap: 24px; }
.cast-thumbs { gap: 8px; }
.cast-thumb { min-width: 48px; min-height: 48px; }
.gallery-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.gallery-grid .asset-panel { min-height: 260px; }
.home-directory { padding-block: 56px; }
.home-card { padding-block: 20px; }
.home-card .index-number, .directory-heading > .eyebrow { display: none; }
.home-card { grid-template-columns: 130px 1fr 20px; gap: 16px; }
.home-card p { grid-column: auto; grid-row: auto; }
.home-card .index-arrow { grid-column: auto; grid-row: auto; }
.home-card h3 { font-size: 17px; }
.project-materials { padding-block: 64px; }
footer { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 64px; padding-block: 32px; }
footer > div { justify-content: flex-end; }
footer > .social-links { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--line); }
footer a { min-height: 36px; display: inline-flex; align-items: center; }
footer > p { max-width: 70ch; }
dialog.lightbox { margin: 0; border: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; }
dialog.lightbox::backdrop { background: #121c28; }
.lightbox-close, .lightbox-step { min-width: 44px; min-height: 44px; }
@media (max-width: 1050px) {
  .site-header { gap: 16px; }
  .site-header nav { gap: 16px; }
  .site-header nav a { font-size: 11px; }
  .site-preferences { gap: 4px; }
}
@media (max-width: 800px) {
  .site-header { display: grid; grid-template-columns: 1fr auto; padding-block: 12px; gap: 0 16px; }
  .site-header .brand { font-size: 17px; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 12px; justify-content: center;
    border: 0; border-radius: 0; background: transparent; color: var(--ink);
    min-height: 44px; padding: 8px 0 8px 16px; font: inherit; font-size: 12px;
    grid-column: 2; grid-row: 1; cursor: pointer;
  }
  .site-header .site-preferences { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; padding-top: 4px; }
  .site-header .theme-toggle { margin: 0; min-height: 36px; padding: 6px 0 6px 12px; font-size: 10px; }
  .language-select { min-height: 36px; padding-left: 0; font-size: 10px; }
  .site-header nav { display: none; grid-column: 1 / -1; grid-row: 3; order: unset; padding: 16px 0 8px; border-top: 1px solid var(--line); margin-top: 8px; }
  .site-header.menu-open nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .site-header nav a { font-size: 16px; line-height: 1.4; white-space: normal; padding-block: 14px; border: 0; }
  .mobile-secondary { display: contents; }
  .hero, .locale-es .hero, .locale-ja .hero { padding-top: 18px; grid-template-columns: minmax(0,1fr); }
  .project-masthead { margin-bottom: 18px; border-top: 0; padding-top: 0; }
  .project-masthead .eyebrow { max-width: none; font-size: 9px; }
  .project-masthead > p:last-child { display: none; }
  .hero .hero-title { font-size: clamp(50px, 13vw, 88px); line-height: .98; }
  .hero-content { grid-row: 2; }
  .hero .project-still { grid-row: 3; margin-top: 22px; }
  .hero-intro { grid-row: 4; margin: 22px 0 32px; padding: 0; }
  .tagline { font-size: 17px; line-height: 1.7; max-width: none; }
  .hero-intro .actions { margin-top: 20px; }
  .project-still figcaption { font-size: 9px; }
  .project-still::after { bottom: 30px; }
  .intro-audio { min-height: 40px; min-width: 84px; font-size: 10px; padding: 8px 12px; bottom: 10px; right: 10px; }
  .section { padding-block: 40px; }
  .section-title :is(h1,h2), .final-cta :is(h1,h2) { font-size: clamp(30px, 8vw, 44px); }
  .section-copy { font-size: 15px; }
  .media-hero-section { padding-bottom: 12px; }
  .page-index { gap: 24px; }
  .media-proof-section { padding-block: 28px; }
  .media-proof-copy { grid-template-columns: 1fr; gap: 8px; padding-top: 16px; }
  .media-proof-copy > .text-link { grid-column: 1; grid-row: auto; justify-self: start; }
  .media-proof-copy .production-notes { margin-top: 8px; }
  .media-proof-card .media-proof-copy { order: initial; }
  .media-footer-section { padding-top: 0; }
  .script-version-switch { gap: 20px; }
  .script-version { min-width: 0; flex: 1; }
  .script-version span { font-size: 13px; }
  .script-version small { font-size: 10px; }
  .script-reader-header { align-items: flex-start; gap: 8px; }
  .script-reader h3 { font-size: 21px; }
  .reader-frame iframe { min-height: 420px; height: 70dvh; }
  .reader-toolbar { display: none; }
  .cast-entry { padding-block: 20px; }
  .cast-portrait img { height: clamp(260px,80vw,380px); padding: 16px; }
  .cast-copy h3 { font-size: 28px; }
  .cast-index { margin-bottom: 12px; }
  .cast-entry:nth-child(even) .cast-copy { text-align: left; }
  .cast-entry:nth-child(even) .cast-meta { justify-content: flex-start; }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .gallery-grid .asset-panel { min-height: 210px; }
  .asset-panel span { left: 8px; bottom: 8px; font-size: 10px; }
  .home-directory { padding-block: 40px; }
  .directory-heading h2 { font-size: 30px; margin: 0 0 24px; }
  .home-card { grid-template-columns: 100px 1fr 16px; padding-block: 18px; }
  .home-card p { grid-column: auto; grid-row: auto; font-size: 11px; }
  .home-card h3 { font-size: 15px; }
  .home-card .index-arrow { grid-column: auto; grid-row: auto; }
  .project-materials { padding-block: 40px; gap: 28px; }
  .project-materials h2 { font-size: 34px; }
  footer { display: flex; flex-direction: column; gap: 20px; padding-block: 28px; }
  footer > div { justify-content: flex-start; gap: 12px 20px; }
}
@media (max-width: 380px) {
  .gallery-grid { grid-template-columns: minmax(0,1fr); }
  .home-card { grid-template-columns: 1fr 20px; gap: 8px; }
  .home-card p { grid-column: 1; grid-row: 2; }
  .home-card .index-arrow { grid-column: 2; grid-row: 1; }
}
/* Keep the mobile masthead to one line; language stays in the expanded menu. */
.project-still::after { display: none; }
@media (max-width: 800px) {
  .site-header { grid-template-columns: minmax(0,1fr) auto auto; gap: 0 10px; }
  .site-header .brand { font-size: 16px; }
  .site-header .site-preferences { display: contents; }
  .site-header .theme-toggle { grid-column: 2; grid-row: 1; min-width: 40px; padding: 6px; }
  .menu-toggle { grid-column: 3; padding-inline: 0; gap: 8px; }
  .site-preferences .language-select { display: none; grid-column: 1; grid-row: 3; justify-self: start; }
  .site-header.menu-open .language-select { display: block; }
  .site-header nav { grid-row: 2; }
  .project-still figcaption span:last-child { display: none; }
}

/* Trust pages reuse the existing reading layout and both appearance palettes. */
.trust-content { max-width: 70ch; }
.trust-content > section + section { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.trust-content h2 { font-family: var(--display); font-size: clamp(21px,2.3vw,30px); font-weight: 500; line-height: 1.3; letter-spacing: -.025em; color: var(--ink); }
.trust-content p, .trust-content li { color: var(--muted); font-size: 15px; line-height: 1.8; }
.trust-content ul { padding-left: 20px; }
.trust-content a { color: var(--ink); text-decoration-color: var(--gold-leaf); text-underline-offset: 4px; overflow-wrap: anywhere; }
.trust-content a:hover { color: var(--accent); }
.trust-page > .page-index { margin-top: 40px; }
