/* The film is photographic imagery; every frame has a static fallback. */
body { font-family: "DM Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; }
.wordmark, h1, h2 { font-family: "Zen Old Mincho", "Yu Mincho", serif; font-weight: 400; }
.wordmark { letter-spacing: .18em; }
h1, h2 { letter-spacing: -.035em; }
.hero { min-height: max(720px, 100svh); isolation: isolate; background: #ead1c3; }
.film-poster, .film-screen, .film-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.film-poster { object-fit: cover; object-position: center; }
.film-screen, .film-fallback { opacity: 0; transition: opacity .65s ease; pointer-events: none; }
.film-fallback { overflow: hidden; }
.film-fallback img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform, opacity; }
.hero[data-renderer="webgl"] .film-screen, .hero[data-renderer="images"] .film-fallback { opacity: 1; }
.film-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(62,34,29,.24), transparent 66%), linear-gradient(0deg, rgba(67,39,31,.29), transparent 28%); }
.site-header { z-index: 3; height: 100px; color: #503b37; border-color: rgba(80,59,55,.2); background: linear-gradient(rgba(255,248,242,.43), transparent); }
.site-header nav, .menu-link { font-size: .875rem; }
.site-header a { text-shadow: 0 1px 10px rgba(255,247,240,.7); }
.film-caption { position: absolute; z-index: 2; left: clamp(28px, 8vw, 128px); top: 40%; max-width: 42%; color: #fffaf8; text-shadow: 0 2px 24px rgba(73,34,26,.24); pointer-events: none; opacity: 0; transition: opacity .65s ease; }
.hero[data-state="playing"] .film-caption, .hero[data-state="paused"] .film-caption { opacity: 1; }
.film-caption .eyebrow { font-size: .75rem; margin-bottom: 24px; letter-spacing: .24em; }
.film-caption-text { font-family: "Zen Old Mincho", "Yu Mincho", serif; font-size: clamp(1.9rem, 3.2vw, 3.3rem); line-height: 1.6; letter-spacing: .09em; margin: 0; }
.hero-copy { position: relative; z-index: 2; max-width: 100%; width: 58%; padding: clamp(145px,22vh,230px) 0 180px clamp(28px,8vw,128px); transition: opacity 1.25s ease, transform 1.25s ease, visibility 1.25s; }
.hero-copy h1 { font-size: clamp(2.6rem,3.7vw,4.3rem); line-height: 1.55; letter-spacing: .025em; }
.hero-copy .eyebrow { font-size: .75rem; }
.hero-copy .intro { max-width: 450px; line-height: 2.15; font-size: 1rem; margin-top: 22px; }
.hero-cta { font-size: .875rem; gap: 30px; padding: 17px 26px; }
.hero[data-state="playing"] .hero-copy, .hero[data-state="paused"] .hero-copy { opacity: 0; visibility: hidden; transform: translateY(18px); pointer-events: none; }
.film-footer { position: absolute; z-index: 4; bottom: 30px; left: clamp(24px,5vw,80px); right: clamp(24px,5vw,80px); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.film-chapters { display: flex; align-items: center; gap: 18px; width: min(320px, 40vw); }
.film-chapter { flex: 1; color: #fffaf8; opacity: .6; transition: opacity .4s; }
.film-chapter[data-active="true"] { opacity: 1; }
.film-chapter span { display: block; font-size: .75rem; letter-spacing: .16em; margin-bottom: 10px; }
.film-chapter-track { display: block; height: 1px; background: rgba(255,250,248,.35); }
.film-chapter-track i { display: block; height: 1px; background: #fffaf8; transform: scaleX(var(--progress, 0)); transform-origin: left; }
.film-buttons { display: none; gap: 9px; align-items: center; }
.hero[data-ready="true"] .film-buttons { display: flex; }
.film-button { min-height: 44px; border: 1px solid rgba(255,250,248,.65); border-radius: 999px; padding: 10px 18px; background: rgba(78,48,41,.27); color: #fffaf8; cursor: pointer; font: 400 .875rem/1.3 "DM Sans", "Yu Gothic", sans-serif; backdrop-filter: blur(10px); }
.film-button:hover { background: rgba(78,48,41,.5); }
.film-button:focus-visible, .hero a:focus-visible { outline: 2px solid #fffaf8; outline-offset: 5px; }
.film-button[hidden] { display: none; }
.hero .vertical-note { font-size: .75rem; z-index: 2; bottom: 130px; opacity: .85; }
.hero .scroll-cue { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media(max-width:760px) {
  .hero { min-height: max(760px, 100svh); }
  .site-header { height: 80px; }
  .film-poster { object-position: 67% center; }
  .film-shade { background: linear-gradient(0deg,rgba(58,29,22,.6),transparent 72%), linear-gradient(90deg,rgba(67,36,27,.12),transparent 65%); }
  .hero-copy { width: 100%; padding: 46vh 28px 150px; }
  .hero-copy h1 { font-size: clamp(2rem,6.9vw,3.4rem); line-height: 1.5; }
  .hero-copy .intro { font-size: 1rem; max-width: 330px; margin: 18px 0 23px; }
  .hero-copy .eyebrow { margin-bottom: 13px; }
  .film-caption { left: 28px; top: auto; bottom: 170px; max-width: calc(100% - 56px); }
  .film-caption-text { font-size: 2rem; }
  .film-caption .eyebrow { margin-bottom: 14px; }
  .film-footer { bottom: 26px; flex-wrap: wrap; row-gap: 18px; }
  .film-chapters { width: 100%; gap: 20px; }
  .film-buttons { margin-left: auto; }
  .hero .vertical-note { display: none; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } .hero-copy,.film-caption,.film-screen,.film-fallback { transition: none; } }
