@font-face {
  font-family: Assistant;
  src: url(assistant.ttf) format("truetype");
  font-display: swap;
}

:root {
  --cream: #f2e9d9;
  --wine: #551822;
  --dark: #120e0f;
  --header-height: 62px;
  --serif: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  --sans: Assistant, system-ui, sans-serif;
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--dark); color: var(--cream); font: 1.08rem/1.5 var(--sans); }
a { color: inherit; text-underline-offset: .28em; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #f5cf8d; outline-offset: 5px; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding-inline: clamp(1rem, 4vw, 4rem);
  background: #120e0f;
  border-bottom: 1px solid #f2e9d934;
}
.wordmark img { width: 152px; height: auto; }
.masthead > a:last-child { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }

main { overflow: visible; }
.sequence { --stage-height: max(390px, calc(100svh - var(--header-height))); }
.sequence.is-interactive { min-height: calc(var(--stage-height) + 245svh); }
.stage {
  position: relative;
  isolation: isolate;
  height: var(--stage-height);
  overflow: hidden;
  background: #100810;
}
.sequence.is-interactive .stage { position: sticky; top: var(--header-height); }
.scene, .scene img, .footlights, .curtains, .film-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.scene, .film-screen { background: #10080d; }
.scene { container-type: size; }
.scene-frame {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(100%, 177.778cqh);
  height: min(100%, 56.25cqw);
}
.scene img { object-fit: cover; }
.backstage { filter: brightness(var(--studio-light, .48)) saturate(.78); }
.runway {
  opacity: var(--runway-opacity, 0);
  filter: brightness(var(--runway-light, .7));
}
.runway-floor {
  opacity: var(--floor-opacity, 0);
  mask-image: linear-gradient(0deg, #000 0%, #000 var(--lit-floor, 0%), transparent calc(var(--lit-floor, 0%) + 11%));
}
.footlights {
  background: radial-gradient(ellipse 25% 12% at 50% 73%, rgb(255 216 168 / var(--light-far, 0)), transparent),
              radial-gradient(ellipse 36% 14% at 50% 85%, rgb(255 209 157 / var(--light-middle, 0)), transparent),
              radial-gradient(ellipse 48% 14% at 50% 96%, rgb(255 225 187 / var(--light-near, 0)), transparent);
  mix-blend-mode: screen;
}
.curtains { pointer-events: none; }
.curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.2%;
  background-image: url(velvet.webp);
  background-size: 200% 100%;
  background-repeat: no-repeat;
  box-shadow: 0 0 58px #12070dbf;
  will-change: transform;
}
.curtain-left {
  left: 0;
  background-position: left center;
  transform-origin: left center;
  transform: translateX(var(--left-travel, 0%)) scaleX(var(--fold-scale, 1));
}
.curtain-right {
  right: 0;
  background-position: right center;
  transform-origin: right center;
  transform: translateX(var(--right-travel, 0%)) scaleX(var(--fold-scale, 1));
}
.curtain-seam {
  position: absolute;
  inset: 0 0 0 50%;
  width: 1px;
  background: linear-gradient(transparent 1%, #b97b4f9e 23%, #ffe7b7e0 47%, #9e5c3d91 76%, transparent 99%);
  box-shadow: 0 0 15px 2px #dba66b3d;
  opacity: var(--seam-opacity, .82);
}
.intro-copy {
  position: absolute;
  inset: 0;
  display: grid;
  justify-items: center;
  align-content: center;
  pointer-events: none;
  text-align: center;
  opacity: var(--intro-opacity, 1);
}
.intro-copy h1 { margin: 0; }
.intro-copy h1 img { width: clamp(230px, 48vw, 690px); height: auto; filter: drop-shadow(0 12px 36px #16030ee6); }
.intro-copy p {
  margin: -.15rem 0 0;
  padding: .35rem .65rem;
  color: #f1ddc7;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  text-shadow: 0 2px 10px #150208;
}
.jump-film {
  position: absolute;
  bottom: 1.25rem;
  right: clamp(1.2rem, 6vw, 6rem);
  min-height: 40px;
  background: #170f13b3;
  color: var(--cream);
  border: 1px solid #ebd8c0a0;
  padding: .5rem .85rem;
  font-size: .76rem;
}
.progress { position: absolute; bottom: 0; background: #f2e9d944; height: 2px; width: 100%; }
.progress span { background: #e2b59d; display: block; height: 100%; transform: scaleX(var(--progress, 0)); transform-origin: left; }

.film-screen video { display: block; width: 100%; height: 100%; object-fit: contain; }
.play-film, .sound-film {
  position: absolute;
  color: var(--cream);
  border: 1px solid #e6d6bf;
  background: #21151aeb;
  padding: .65rem 1.1rem;
  min-height: 44px;
}
.play-film { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.sound-film { top: 1rem; right: 1rem; }
.film-status { position: absolute; right: 1rem; bottom: 3.2rem; background: #21151aeb; margin: 0; padding: .35rem .65rem; }
.film-status:empty { display: none; }
.end-link {
  position: absolute;
  left: 50%;
  bottom: clamp(4rem, 13%, 9rem);
  translate: -50%;
  padding: .8rem 1.2rem;
  border: 1px solid #e6d6bf;
  background: #21151aeb;
  color: var(--cream);
  text-decoration: none;
  white-space: nowrap;
}
.houses {
  scroll-margin-top: var(--header-height);
  padding: clamp(3.1rem, 7vw, 6rem) clamp(1.15rem, 5vw, 5rem);
  background: var(--cream);
  color: var(--wine);
}
.houses h2 { font: 400 clamp(2.5rem, 5vw, 5.8rem)/.95 var(--serif); letter-spacing: -.06em; margin: 0; }
.houses ul { margin: 2.25rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(.9rem, 1.5vw, 1.65rem); }
.house-card { display: block; color: inherit; text-decoration: none; }
.house-shot { aspect-ratio: 4 / 3; overflow: hidden; background: var(--wine); }
.house-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.house-card:is(:hover, :focus-visible) img { transform: scale(1.045); }
.house-caption { border-bottom: 1px solid #55182250; padding: .75rem 0 .85rem; }
.house-card strong { display: block; font: 400 clamp(1.45rem, 2.25vw, 2.45rem)/1 var(--serif); }
.house-card small { display: block; margin-top: .45rem; font: .85rem/1.25 var(--sans); }
.houses :focus-visible { outline-color: var(--wine); }
@media (max-width: 900px) { .houses ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .houses ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) {
  :root { --header-height: 54px; }
  .wordmark img { width: 126px; }
  .intro-copy h1 img { width: min(82vw, 390px); }
  .intro-copy p { font-size: .67rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .sequence.is-interactive { min-height: var(--stage-height); }
  .sequence.is-interactive .stage { position: relative; top: auto; }
  .intro-copy p, .progress { display: none; }
  .house-shot img { transition: none; }
}

/* Burgundy sampled from the supplied film's final brand card: RGB 81,19,44. */
:root { --curtain-color: #51132c; }
.sequence.is-interactive { min-height: calc(var(--stage-height) + 160svh); }
.stage, .film-screen { background: var(--curtain-color); }
.film-screen { z-index: 0; }
.curtains { z-index: 2; }
.intro-copy, .jump-film, .progress { z-index: 3; }
.curtain {
  background-image: none;
  background-color: var(--curtain-color);
}
.curtain::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url(velvet.webp) no-repeat;
  background-size: 200% 100%;
  filter: grayscale(1);
  mix-blend-mode: soft-light;
  opacity: .72;
}
.curtain-left::before { background-position: left center; }
.curtain-right::before { background-position: right center; }
.curtain-seam {
  background: #18050c;
  box-shadow: 0 0 18px 3px #20070f66;
}
.intro-copy p { font-size: .875rem; }
.jump-film { font-size: .875rem; min-height: 44px; }
.film-final { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) {
  .sequence.is-interactive { min-height: var(--stage-height); }
}

/* Fill the screen with the current film, without letterboxing. */
.film-screen video { object-fit: cover; object-position: center; }
.film-final { background: var(--curtain-color); }

.intro-copy p{background:#310015;color:#f3ecde;border-radius:3px}

.film-screen video::cue{background:rgba(0,0,0,.9);color:#fff;font-size:1rem;line-height:1.4}

/* The original film is scrubbed directly; no frames or transitions are rewritten. */
.sequence.is-interactive{min-height:calc(var(--stage-height) + 650svh)}
.scroll-film{position:absolute;inset-block-start:76px;inset-inline-start:16px;z-index:4;min-height:44px;padding:.6rem .9rem;background:#18050ce8;color:#f2e9d9;border:1px solid #f2e9d9;font:inherit;font-size:.875rem;cursor:pointer}
.scroll-film[aria-pressed=true]{background:#f2e9d9;color:#381b26}
.scroll-film:focus-visible{outline:3px solid #fff;outline-offset:4px}
.film-status{position:absolute;bottom:72px;inset-inline:16px;text-align:center;background:#18050ce8;color:#f2e9d9;font-size:1rem;line-height:1.5;pointer-events:none}
.film-status:empty{display:none}
.film-screen .play-film{font-size:1rem;padding:.7rem 1rem;background:#18050ce8;color:#f2e9d9}
@media(prefers-reduced-motion:reduce){.sequence.is-interactive{min-height:var(--stage-height)}}
html.reduce-motion .sequence.is-interactive{min-height:var(--stage-height)}
html.reduce-motion .scroll-film{display:none}

.film-scroll-hint{position:absolute;bottom:5.5rem;inset-inline:1rem;width:fit-content;max-width:calc(100% - 2rem);margin-inline:auto;margin-block:0;padding:.35rem .75rem;background:#18050cdd;color:#f2e9d9;font-size:.875rem;line-height:1.5;text-align:center;pointer-events:none;border-radius:3px}
.film-scroll-hint[hidden]{display:none}
.film-disclosure{position:static;max-width:70rem;margin:0 auto;padding:.75rem 1.5rem;background:var(--dark);color:var(--cream);font-size:.875rem;line-height:1.6;text-align:center}
