/* One type system for the narrative, controls, and project viewers. */
:root {
  --type-hero: clamp(72px, 10vw, 160px);
  --type-section: clamp(48px, 6.25vw, 90px);
  --type-body: 17px;
  --type-label: 11px;
  --type-control: 13px;
}

body {
  font-family: var(--sans);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.65;
  font-synthesis: none;
  font-optical-sizing: auto;
}
h1, h2, h3, .collection-invitation p {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.025em;
}
/* Existing emphasis marks remain semantic, without a second visual typeface. */
.journey em, .journey h1 em, .journey h2 em {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}
.opening-intro h1 {
  font-size: var(--type-hero);
  font-weight: 300;
  letter-spacing: .08em;
  line-height: 1.02;
  margin: 28px 0 30px;
}
.opening { min-height: max(800px, calc(var(--type-hero) * 2.04 + 580px)); }
.opening-intro { top: 22%; }
.scene-copy h2, #holy-forever h2, .selection-heading h2,
.closing-note h2 {
  font-size: var(--type-section);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.025em;
}
.scene-copy h2 { margin: 26px 0 28px; }
.opening-foot h2 {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 12px 0 22px;
}
.closing-note {
  grid-template-columns: 1.25fr 1fr;
  column-gap: 8%;
}
.closing-note h2 { font-size: clamp(48px, 4.5vw, 72px); }
.contact h2 {
  font-size: clamp(72px, 8.5vw, 136px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 72px 0 56px;
}
.collection-invitation p {
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.15;
}
.opening-intro p, .scene-copy>p, .selection-heading p,
.closing-note>p, .contact-bottom p, .modal-copy p, .info-dialog p {
  font-family: var(--sans);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;
  max-width: 42ch;
}
.opening-intro p { max-width: 38ch; }
.scene-copy>p { max-width: 36ch; }
.scene-prelude {
  font-family: var(--sans);
  font-size: var(--type-body);
  font-style: normal;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;
  max-width: 36ch;
  margin-bottom: 48px;
}

/* Small mono details punctuate the large editorial typography. */
.eyebrow, .opening-intro>.eyebrow, .opening-foot .eyebrow,
.scene-copy .eyebrow, .selection-heading>.eyebrow, .modal-tag,
.stills-toolbar, .still-caption, .gallery-toolbar, #gallery-count,
.contact-top>span, .coming-next span:first-child,
.scene-number, .food-frame, .film-choice-index, .journey-header sup,
.film-player-links>span {
  font-family: var(--mono);
  font-size: var(--type-label);
  font-style: normal;
  font-weight: 400;
  letter-spacing: .12em;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}
.scene-number { opacity: .75; bottom: 10%; }
.food-frame { bottom: 9%; }
.still-caption { letter-spacing: .1em; }
.selection-heading>.eyebrow { margin-bottom: 30px; }
.coming-next { font-size: 15px; line-height: 1.65; }

.identity, .footer-brand {
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: .12em;
}
.journey-header { gap: 24px; }
.journey-header nav {
  font-family: var(--display);
  font-size: var(--type-control);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.journey-header nav a { display: inline-flex; align-items: center; min-height: 44px; }
.journey-header sup { font-size: 10px; margin-left: 7px; }
.watch-film, .collection-button, .contact-button, #background-toggle,
.next-project, .film-restart, .film-player-links a,
.scene-next, .continue-link, .back-top {
  font-family: var(--display);
  font-size: var(--type-control);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.watch-film, #background-toggle { min-height: 44px; }
.scene-next, .continue-link, .back-top { font-size: 12px; }
.scene-next { margin-top: 48px; }
.collection-button, .contact-button { gap: 20px; }
.play-disc { flex-shrink: 0; }
.footer-brand span {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .12em;
  line-height: 1.6;
  margin-top: 10px;
}
.site-footer { font-size: 12px; line-height: 1.6; }
.site-footer>button { font-family: var(--sans); font-size: 13px; }

/* Dialogs use the same families, at a scale suited to their narrower canvas. */
.modal-copy h2, .has-films .modal-copy h2, .has-gallery .modal-copy h2,
.info-dialog h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.025em;
}
.film-choice-copy b {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.01em;
}
.film-choice-copy small { font-family: var(--sans); font-size: 13px; line-height: 1.5; }
.film-player-links { font-size: 13px; line-height: 1.6; }
.modal-copy .dialog-note, .journey .image-credit-original { font-size: 15px; }
.credit-list li { font-size: 15px; line-height: 1.65; }
.modal-tag { display: block; }

@media (max-width: 900px) {
  .journey-header { gap: 20px; }
  .journey-header nav { gap: 18px; }
  .closing-note { column-gap: 6%; }
  .closing-note h2 { font-size: 48px; }
  .opening-intro { top: 23%; }
}

@media (max-width: 600px) {
  :root {
    --type-hero: clamp(48px, 12vw, 72px);
    --type-section: clamp(32px, 10.5vw, 52px);
    --type-body: 16px;
    --type-label: 10px;
    --type-control: 12px;
  }
  .journey-header { gap: 10px; padding-left: 5%; padding-right: 5%; }
  .identity { font-size: 12px; letter-spacing: .1em; }
  .journey-header nav { gap: 12px; letter-spacing: .08em; }
  .opening-intro { top: 22%; }
  .opening { min-height: 780px; }
  .opening-intro h1 { margin: 26px 0; }
  .opening-intro p { max-width: 31ch; }
  .opening-foot { gap: 16px; }
  .opening-foot h2 { font-size: 26px; margin: 12px 0 18px; }
  .opening-actions { height: auto; gap: 26px; max-width: 122px; }
  #background-toggle { font-size: 12px; letter-spacing: .08em; padding: 10px 12px; }
  .continue-link { font-size: 12px; max-width: 122px; letter-spacing: .08em; }
  .scene-prelude { max-width: 30ch; margin-bottom: 36px; }
  .scene-copy h2 { margin: 24px 0; }
  .scene-copy>p { max-width: 30ch; }
  .scene-next { font-size: 12px; letter-spacing: .08em; margin-top: 36px; }
  .scene-number { bottom: 8%; }
  .food-frame { bottom: 7%; }
  .selection-heading>.eyebrow { margin-bottom: 24px; }
  .stills-toolbar { gap: 15px; align-items: start; }
  .stills-toolbar>span:last-child { white-space: nowrap; }
  .still-caption { flex-wrap: wrap; gap: 4px 10px; }
  .collection-invitation p { font-size: clamp(32px, 8vw, 42px); }
  .collection-button { padding: 18px 16px; justify-content: center; }
  .closing-note h2 { font-size: var(--type-section); }
  .coming-next { font-size: 15px; }
  .contact h2 { font-size: clamp(40px, 10.5vw, 64px); margin: 44px 0 36px; }
  .contact-top { gap: 18px; align-items: start; }
  .contact-top>span { text-align: right; }
  .contact-button { justify-content: center; }
  .footer-brand { font-size: 13px; }
  .site-footer { gap: 28px 18px; }
  .back-top { letter-spacing: .08em; }
  .modal-copy h2, .has-films .modal-copy h2, .has-gallery .modal-copy h2,
  .info-dialog h2 { font-size: 32px; }
  .film-choice-copy b { font-size: 15px; }
  .film-choice-copy small { font-size: 12px; }
  .film-player-links a, .film-restart { letter-spacing: .08em; }
  .gallery-toolbar { gap: 14px; }
}

@media (max-width: 360px) {
  .journey-header { gap: 8px; }
  .journey-header nav { gap: 8px; }
  .identity { letter-spacing: .08em; }
  .opening-intro { top: 20%; }
  .opening { min-height: 820px; }
  .opening-foot { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .opening-actions { flex-direction: row; align-items: center; max-width: none; justify-content: space-between; }
  .opening-actions .continue-link { max-width: 130px; }
  #background-toggle { max-width: 130px; }
}
