/* Brock Films: public site
   A projection room: the film plays full screen, and the page slides up over it. */

:root {
  --night: #0d0d0d;      /* projection-room black (Studio: Dark) */
  --ink: #141414;        /* text on light (Studio: Text) */
  --paper: #fafafa;      /* silver-print paper (Studio: Light) */
  --muted: #6e6e6e;      /* captions (Studio: Muted) */
  --print: #ffffff;      /* lighter print, for "White" sections */
  --stock: #eeeeee;      /* "Soft grey" sections */
  --halation: #d4553a;   /* the red glow around highlights on film. Used only for the record light and focus */
  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Libre Franklin', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --safe: 1320px;        /* the "safe zone": menus, text and photos stay inside this centered width; backgrounds still run edge to edge */
  --gut: max(clamp(20px, 5vw, 72px), calc((100vw - var(--safe)) / 2));
  --sec: clamp(96px, 14vw, 200px);
}

*, *::before, *::after { box-sizing: border-box; }
/* Cropped photos keep the upper part in frame (where faces usually are) unless a focus point is set in the Studio */
img { object-position: 50% 30%; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 300 1.0625rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--halation); outline-offset: 3px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--paper); color: var(--ink); padding: 10px 16px; }
.skip:focus { top: 12px; }

/* Film grain over everything */
body::after {
  content: '';
  /* only slightly bigger than the screen (it shifts by up to 6%): a layer 4x the screen's size cost a lot of
     graphics memory and made every frame heavier */
  position: fixed; inset: -8%;
  z-index: 250; pointer-events: none; will-change: transform;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .07;
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); }
}

/* ---------- type ---------- */
.display, .hero-title, .ft-mark, .ft-lead, .rv-head, .price, .signature, .mobile-menu nav a {
  font-family: var(--serif);
  font-optical-sizing: auto;
}
.display {
  margin: 0;
  font-weight: 400;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.025em;
}
.display.xl { font-size: clamp(3.1rem, 9vw, 9.5rem); line-height: .94; letter-spacing: -.035em; }
.display em { font-style: italic; }
.prose { max-width: 36em; }
.prose p { margin: 0 0 1.2em; }
.prose p:last-child { margin-bottom: 0; }
.prose em { font-style: italic; }
.prose strong { font-weight: 500; }
.lead-first p:first-child { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.4; letter-spacing: -.01em; font-weight: 400; }
.tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1.6vw, 1.4rem); margin: 1.2rem 0 1.6rem; }
.empty-note { padding: 80px var(--gut); text-align: center; color: var(--muted); }

/* Words rise out of a mask when a heading enters the screen */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .12em 0; margin: 0 -.06em -.12em 0; }
.js [data-split] .w > span { display: inline-block; transform: translateY(110%); transition: transform .8s var(--ease) calc(var(--i) * 40ms); }
.js [data-split].in .w > span { transform: none; }
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .85s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .is-preview [data-reveal], .js .is-preview [data-split] .w > span { opacity: 1; transform: none; transition: none; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center;
  height: 3.4em; padding: 0 2.1em;
  border-radius: 0;
  background: var(--ink); color: var(--paper);
  font: 400 .8rem/1 var(--sans); letter-spacing: .06em;
  text-decoration: none; overflow: hidden;
  transition: transform .5s var(--ease), background .4s;
}
.btn > span { display: block; position: relative; transition: transform .55s var(--ease); }
.btn > span::after { content: attr(data-t); position: absolute; left: 0; top: 2.4em; }
.btn:hover > span { transform: translateY(-2.4em); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: progress; }
.tone-dark .btn, .btn.light { background: var(--paper); color: var(--ink); }
.btn-row { margin: 2.4rem 0 0; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 200;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 16px var(--gut);
  background: #171517; color: var(--paper); /* matches the logo's own black */
  border-bottom: 1px solid color-mix(in srgb, var(--paper) 8%, transparent);
  transition: transform .5s var(--ease);
}
/* On the home page the film plays with nothing on top of it; the bar slides down once you scroll past it */
.is-home .site-header { transform: translateY(-101%); }
.is-home .site-header.shown, .menu-open .site-header, .is-preview .site-header { transform: none; }
.site-header:focus-within { transform: none; }
.logo { display: block; text-decoration: none; line-height: 0; }
.logo img { height: clamp(34px, 3.4vw, 46px); width: auto; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 40px); font-size: .82rem; letter-spacing: .04em; }
.nav-right { justify-content: flex-end; }
.nav a { position: relative; text-decoration: none; padding: 6px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.menu-btn { display: none; width: 44px; height: 44px; justify-self: end; position: relative; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.menu-btn span:first-child { top: 18px; } .menu-btn span:last-child { top: 25px; }
.menu-open .menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 150;
  background: #171517; color: var(--paper);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--gut) 40px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-size: clamp(2.6rem, 11vw, 4rem); line-height: 1.12; text-decoration: none; letter-spacing: -.03em; animation: rise .8s var(--ease) both calc(var(--i) * 60ms + 100ms); }
.mm-foot { color: var(--muted); font-size: .85rem; margin: 40px 0 0; max-width: 28em; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } }
.menu-open { overflow: hidden; }

/* ---------- sections ---------- */
.blk { position: relative; z-index: 1; }
.tone-paper { background: var(--paper); }
.tone-white { background: var(--print); }
.tone-grey { background: var(--stock); }
.tone-dark { background: var(--night); color: var(--paper); }
.tone-dark .prose, .tone-dark .note { color: color-mix(in srgb, var(--paper) 78%, transparent); }
.is-inner main > .blk:first-child:not(.blk-imageText):not(.blk-banner) { padding-top: 120px; }
.is-hidden { opacity: .4; }

/* ---------- hero: the film, full screen ---------- */
.blk-hero { position: sticky; top: 0; z-index: 0; height: 100vh; height: 100svh; background: var(--night); overflow: hidden; }
.hero, .hero-frame { position: absolute; inset: 0; }
.hero-frame { transform: scale(calc(1 - var(--p, 0) * .1)); filter: brightness(calc(1 - var(--p, 0) * .55)); transform-origin: 50% 70%; will-change: transform; }
.blk-hero.handoff .hero-frame { transform: none; filter: none; } /* the next section carries the film on */
.hero-win { position: absolute; inset: 0; overflow: hidden; background: #000; }
.hero-media, .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media.placeholder { background: #2b2824; opacity: 1; }
.hero-canvas, .hero-fx, .hero-room { display: none; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 8, 6, .55), transparent 38%), linear-gradient(to bottom, rgba(10, 8, 6, .35), transparent 22%); }

/* Film intro: the film starts as a small square in a dark room, slow and choppy (with motion blur), while short
   lines appear around it. It then grows to full screen at full speed.
   Nothing tints the picture; the glow sits outside the frame and takes its color from the footage.
   JS sets: --q progress 0-1, --ww/--wh frame size, --ga glow amount, --ui hero controls, --s small-frame size. */
.blk-hero.intro { position: relative; height: calc(100svh + var(--intro-len, 450svh)); overflow: visible; }
.blk-hero.intro .hero { position: sticky; inset: 0 auto auto 0; width: 100%; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
/* once the film is full screen it scrolls away with the page like any other section: the next section follows
   right below it. With a film hand-off (Classic "Animate in"), the next section slides up over the pinned film. */
.blk-hero.intro.handoff { height: calc(200svh + var(--intro-len, 450svh)); }
.blk-hero.intro.handoff + #after-hero { margin-top: -200svh; }
.blk-hero.intro { --gc: var(--glow, 255, 190, 140); }
.intro .hero-frame { filter: none; transform: none; z-index: 2; }
.intro .hero-win {
  inset: auto; left: 50%; top: 50%;
  width: var(--ww, 100%); height: var(--wh, 100%);
  transform: translate(-50%, -50%);
  overflow: visible; background: none;
}
/* halation: a tight bloom right at the edge of the picture, like light bleeding on film stock */
.intro .hero-win::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  box-shadow: 0 0 calc(var(--ga, 0) * 18px) calc(var(--ga, 0) * 1px) rgba(var(--gc), calc(var(--ga, 0) * .5)); }
.intro .hero-canvas { display: block; opacity: var(--cv, 1); }
/* until the intro has drawn its first frame, keep the film underneath hidden so nothing flashes first */
.intro:not(.drawn) .hero-media { visibility: hidden; }
.intro .hero-shade { display: none; }
.intro .hero-room { display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: var(--ga, 0);
  /* matte projector spill: uneven, grainy light on the dark room rather than a smooth glow */
  background:
    radial-gradient(ellipse calc(var(--ww, 400px) * .62 + 6vw) calc(var(--wh, 400px) * .62 + 6vh) at 50% 50%, rgba(var(--gc), .32), rgba(var(--gc), .1) 60%, transparent 100%),
    radial-gradient(ellipse calc(var(--ww, 400px) * 1.1 + 20vw) calc(var(--wh, 400px) * .9 + 18vh) at 50% 56%, rgba(var(--gc), .07), transparent 80%);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 2.2 -.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 2.2 -.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-mask-size: 180px; mask-size: 180px;
  animation: lightgrain .5s steps(4) infinite; }
/* once the film is full screen the projector light is gone: stop animating it */
.intro.past .hero-room { animation: none; display: none; }
@keyframes lightgrain { 0% { -webkit-mask-position: 0 0; mask-position: 0 0; } 25% { -webkit-mask-position: -60px 40px; mask-position: -60px 40px; } 50% { -webkit-mask-position: 50px -70px; mask-position: 50px -70px; } 75% { -webkit-mask-position: -30px -20px; mask-position: -30px -20px; } 100% { -webkit-mask-position: 0 0; mask-position: 0 0; } }


/* The lines around the small film */
.ix { display: none; }
.intro .ix { display: block; position: absolute; inset: 0; z-index: auto; pointer-events: none; color: var(--paper); font-family: var(--serif); }
.ix-lead, .ix-words { position: absolute; z-index: 1; top: 50%; margin: 0; font-size: clamp(1.8rem, 3.4vw, 3.4rem); line-height: 1.15; letter-spacing: -.02em; white-space: nowrap; }
.ix-lead { right: calc(50% + var(--s, 300px) / 2 + 3vw); transform: translate(-40px, -50%); opacity: 0; transition: opacity .9s ease, transform 1.1s var(--ease); }
.ix-lead.on { opacity: 1; transform: translate(0, -50%); }
.ix-words { left: calc(50% + var(--s, 300px) / 2 + 3vw); transform: translateY(-50%); height: 1.25em; width: 30vw; overflow: hidden; font-style: italic; }
.ix-word { position: absolute; left: 0; top: 0; transform: translateY(110%); transition: transform .85s var(--ease); }
.ix-word.on { transform: none; }
.ix-word.past { transform: translateY(-110%); }
/* The title sits over the small film and is swallowed as the film fills the screen */
.ix-title { position: absolute; left: 0; right: 0; top: 50%; z-index: 3; margin: 0; transform: translateY(-50%); text-align: center; white-space: nowrap;
  font-size: clamp(3.4rem, 12vw, 13rem); line-height: 1; letter-spacing: -.04em; transition: opacity .8s ease, transform 1.4s var(--ease); }
.ix-title span { display: inline-block; transform: translateY(70%); opacity: 0; transition: transform 1.1s var(--ease) calc(var(--i) * 45ms), opacity .7s ease calc(var(--i) * 45ms); text-shadow: 0 4px 40px rgba(0, 0, 0, .35); }
.ix-title.on span { transform: none; opacity: 1; }
.ix-title.gone { opacity: 0; transform: translateY(-50%) scale(1.25); }

.intro .hero-ui { z-index: 4; text-shadow: 0 1px 12px rgba(0, 0, 0, .45); opacity: calc(var(--ui, 0) - var(--p, 0) * 2.2); pointer-events: none; }
.intro .hero-ui.live { pointer-events: auto; }
.intro .hero-ui { padding-bottom: clamp(44px, 7vh, 72px); }
.intro .scroll-cue { font-size: .85rem; gap: 10px; text-shadow: 0 1px 3px rgba(0, 0, 0, .7), 0 0 18px rgba(0, 0, 0, .5); }
.intro .scroll-cue svg { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .7)); }
.intro .scroll-cue svg { height: 30px; stroke-width: 1.5; }
.intro .hero-ui .scroll-cue { transform: translateY(calc((1 - var(--ui, 0)) * 24px)); }
/* After the title has rested a few seconds: a quiet prompt to carry on */
.intro-cue-end { position: absolute; z-index: 4; left: 0; right: 0; bottom: clamp(28px, 6vh, 56px); margin: 0; text-align: center; pointer-events: none;
  color: rgba(255, 255, 255, .7); font-family: var(--serif); font-style: italic; font-size: .95rem; letter-spacing: .14em; text-shadow: 0 1px 10px rgba(0, 0, 0, .45);
  opacity: 0; transform: translateY(6px); transition: opacity .5s ease, transform .5s ease; }
.intro-cue-end.on { opacity: 1; transform: none; transition: opacity 1.6s ease, transform 1.6s var(--ease); animation: cue-breathe 3.2s ease-in-out 1.6s infinite; }
@keyframes cue-breathe { 50% { opacity: .45; } }
/* Light-leak flare over the film's frame on each cut: black drops out (screen blend), only the light shows */
.intro-flare { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; pointer-events: none;
  mix-blend-mode: screen; opacity: 0; transition: opacity .3s ease; }
.intro-flare.on { opacity: .92; transition: opacity .06s linear; }
/* The opening prompt: a band of light sweeps across the word and it glows, so the motion catches the eye */
.intro-cue { position: absolute; z-index: 4; left: 50%; bottom: clamp(32px, 7vh, 64px); width: max-content; margin: 0; transform: translateX(-50%); pointer-events: none;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem); font-weight: 500; letter-spacing: .32em; text-transform: uppercase; padding-left: .32em;
  color: transparent; background: linear-gradient(100deg, rgba(255, 255, 255, .5) 35%, #fff 48%, rgb(255, 226, 190) 52%, rgba(255, 255, 255, .5) 65%) 0 0 / 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  opacity: calc(1 - var(--q, 1) * 12);
  animation: cue-sweep 2.6s ease-in-out infinite, cue-glow 2.6s ease-in-out infinite; }
.intro-cue::after { content: ''; display: block; width: 1px; height: 26px; margin: 12px auto 0; transform-origin: top;
  background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, 0)); animation: cue-drip 2.6s ease-in-out infinite; }
@keyframes cue-sweep { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes cue-glow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 220, 180, 0)); } 50% { filter: drop-shadow(0 0 12px rgba(255, 220, 180, .75)); } }
@keyframes cue-drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.hero-ui {
  position: absolute; inset: auto 0 0; z-index: 2;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end;
  padding: 0 var(--gut) clamp(24px, 4vh, 40px);
  color: #fff; opacity: calc(1 - var(--p, 0) * 2.2);
}
.hero-title { margin: 0; font-weight: 400; font-style: italic; font-size: clamp(1.05rem, 1.6vw, 1.35rem); letter-spacing: 0; max-width: 18em; line-height: 1.3; }
.hero-tools { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 28px; font-size: .78rem; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.tc { display: inline-flex; align-items: center; gap: 9px; opacity: .85; }
.tc i { width: 7px; height: 7px; border-radius: 50%; background: var(--halation); box-shadow: 0 0 10px var(--halation); animation: rec 2s ease-in-out infinite; }
@keyframes rec { 50% { opacity: .25; } }
.sound { display: inline-flex; align-items: center; gap: 10px; padding: 10px 0; }
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.bars i { width: 2px; height: 3px; background: currentColor; transition: height .3s; }
.sound[aria-pressed="true"] .bars i { animation: eq .9s ease-in-out infinite alternate; }
.sound[aria-pressed="true"] .bars i:nth-child(2) { animation-delay: -.3s; } .sound[aria-pressed="true"] .bars i:nth-child(3) { animation-delay: -.6s; } .sound[aria-pressed="true"] .bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { from { height: 3px; } to { height: 12px; } }
.scroll-cue { grid-column: 2; grid-row: 1; justify-self: center; display: grid; justify-items: center; gap: 10px; text-decoration: none; font-size: .78rem; letter-spacing: .06em; padding: 8px 12px; }
.scroll-cue svg { width: 12px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.2; animation: nudge 2.2s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(-4px); opacity: .6; } 50% { transform: translateY(6px); opacity: 1; } }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
/* The first section after the film slides up over it */

/* ---------- image + text (philosophy, about) ---------- */
.it-framed { padding: var(--sec) var(--gut); }
.it-head { max-width: 1500px; margin: 0 auto clamp(56px, 8vw, 120px); }
.it-head .display { max-width: 11ch; }
.img-right .it-head { text-align: right; } .img-right .it-head .display { margin-left: auto; }
.it-body { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 clamp(20px, 3vw, 48px); align-items: center; }
.it-framed .it-media { grid-column: 1 / span 5; margin: 0; }
.it-framed .it-text { grid-column: 7 / span 6; }
.img-right.it-framed .it-media { grid-column: 8 / span 5; grid-row: 1; }
.img-right.it-framed .it-text { grid-column: 1 / span 6; grid-row: 1; }
.align-top .it-body { align-items: start; }
.align-top .it-media { position: sticky; top: 110px; }
.clip { overflow: hidden; position: relative; }
.it-framed .clip { aspect-ratio: 4 / 5; }
.clip img { width: 100%; height: 118%; object-fit: cover; transform: translateY(calc(var(--py, 0) * 1px - 5.5% - 4.5% * var(--fy, .3))); }
.it-media figcaption { margin-top: 14px; font-size: .8rem; color: var(--muted); }
.signature { font-style: italic; font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin: 2.2rem 0 0; letter-spacing: -.01em; }
.signature::before { content: ''; display: inline-block; width: 48px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 18px; opacity: .5; }

/* Classic: heading over a wide photo on one side, text on the other; fits in one screen */
.it-classic { padding: clamp(72px, 9vw, 130px) var(--gut); }
.it-classic .it-body { max-width: 1240px; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.it-classic .it-side { text-align: center; }
.it-classic .it-side .display { font-size: clamp(2.2rem, 3.8vw, 3.6rem); margin: 0 0 clamp(28px, 3.5vw, 48px); }
.it-classic .it-media { margin: 0; }
.it-classic .clip { aspect-ratio: 16 / 9; }
.clip .it-video { display: block; width: 100%; height: 100%; object-fit: cover; background: #111; }
.it-classic figcaption { display: inline-block; margin-top: 16px; padding: 8px 22px; background: var(--ink); color: var(--paper); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; }
.it-classic .prose { max-width: 34em; }
.it-classic .signature { font-size: clamp(1.4rem, 2vw, 1.9rem); }
.img-right.it-classic .it-side { order: 2; }
/* Staged entrance (Classic style, "Animate in" on): the heading rises alone into the middle of the screen,
   then the photo and quote come in, then everything settles into the layout. Scroll drives it.
   Without JavaScript (or with reduced motion) only the finished layout shows. */
.reel-quote { display: none; }
.reel.live { height: calc(var(--stage-h, 100svh) + var(--reel-len, 250svh)); }
.reel.live .reel-stage { background: color-mix(in srgb, var(--night) calc(var(--dk, 0) * 100%), transparent); position: sticky; top: var(--stage-top, 0px); min-height: 100vh; min-height: 100svh; display: grid; align-items: center; overflow: hidden; }
.reel.live .reel-final [data-reveal]:not([data-st]), .reel.live .reel-final [data-split] span { opacity: 1 !important; transform: none !important; transition: none !important; }
.reel.live [data-st] { transition: none !important; }
.reel.live [data-st] { transform-origin: 50% 50%; will-change: transform, opacity; }
.reel.live .it-side .display { position: relative; z-index: 2; }
/* the intro film, continuing into this section: full screen at first, then playing in the photo's frame */
.reel-film { position: absolute; left: 0; top: 0; z-index: 1; display: block; object-fit: cover; object-position: 50% 50%; pointer-events: none; opacity: 0; }
.reel-film.on { opacity: 1; }
/* sliding up over the intro film: see-through until it fills the screen */
.blk.reel-pre, .reel-pre .reel.live .reel-stage { background: transparent; }
.reel-pre .reel-film, .reel-pre .reel .it-media { visibility: hidden; }
.blk.reel-pre { pointer-events: none; }
.reel.live .it-text, .reel.live .it-media figcaption { opacity: var(--rest, 0); }
.reel.live .reel-quote {
  display: block; position: absolute; left: 0; top: 0; z-index: 3; margin: 0; text-align: center;
  width: var(--qw, 600px); transform-origin: 0 0; will-change: transform, opacity; pointer-events: none;
}
.reel-quote p { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.1vw, 2rem); line-height: 1.22; letter-spacing: -.015em; }
.reel-quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.it-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }
.it-split .it-media .clip { height: 100%; min-height: 70svh; }
.it-split .it-media img { position: absolute; inset: 0; height: 118%; }
/* a split photo that opens the page starts below the fixed header, so its top isn't hidden */
.is-inner > main > .blk:first-child .it-split .it-media img { transform: translateY(calc(var(--py, 0) * 1px + var(--hdr-h, 80px))); }
.it-split .it-text { align-self: center; padding: 140px clamp(24px, 6vw, 110px) 100px; }
.it-split .it-text .display { margin-bottom: 2.4rem; }
.img-right.it-split .it-media { order: 2; }

/* ---------- text ---------- */
.text-block { max-width: 1500px; margin: 0 auto; padding: var(--sec) var(--gut); display: grid; grid-template-columns: 5fr 7fr; gap: 48px; }
.tb-centered { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.tb-centered .prose { margin: 0 auto; }

/* ---------- films ---------- */
.blk-films, .blk-video { overflow: clip; }
.films-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 0 var(--gut); margin-bottom: clamp(32px, 5vw, 64px); }
.films-more { margin: clamp(64px, 8vw, 120px) 0 0; text-align: center; }
/* ---------- vintage player: a screen with VHS tapes racked either side ---------- */
.vhs { padding: clamp(80px, 9vw, 140px) var(--gut); }
.vhs .films-head { padding: 0; }
.vhs-deck { display: grid; grid-template-columns: minmax(96px, .62fr) minmax(0, 3.3fr) minmax(96px, .62fr); gap: clamp(20px, 3vw, 48px); align-items: center; max-width: 1500px; margin: 0 auto; }
.vhs-rack { display: grid; gap: clamp(14px, 1.6vw, 22px); }
/* the set: a matte black monitor */
.vhs-tv { background: #0c0b0a; padding: clamp(10px, 1.1vw, 16px) clamp(10px, 1.1vw, 16px) 0; box-shadow: 0 40px 90px rgba(0, 0, 0, .55); }
.vhs-screen { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.vhs-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.vhs-play { position: absolute; inset: 0; width: 100%; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3.5v17l14.5-8.5z' fill='white'/%3E%3C/svg%3E") center / clamp(54px, 6vw, 84px) no-repeat;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .5)); transition: transform .5s var(--ease); }
.vhs-play:hover { transform: scale(1.06); }
.vhs-frame { position: absolute; inset: 0; }
.vhs-frame iframe, .vhs-frame video { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.vhs.playing .vhs-cover, .vhs.playing .vhs-play { opacity: 0; pointer-events: none; }
/* the channel change between films: a canvas drawn by site.js */
.vhs-static { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity .2s ease; }
.vhs-static.on { opacity: 1; transition: none; }
.vhs-bar { display: flex; align-items: center; gap: 12px; padding: 14px 4px 16px; font-size: .8rem; color: color-mix(in srgb, var(--paper) 60%, transparent); }
.vhs-led { width: 6px; height: 6px; border-radius: 50%; background: #3a3633; }
.vhs.playing .vhs-led { background: var(--halation); box-shadow: 0 0 8px var(--halation); }
.vhs-now { flex: 1; font: italic 400 1.05rem/1.2 var(--serif); color: var(--paper); }
.vhs-count { font-variant-numeric: tabular-nums; letter-spacing: .04em; }

/* the small squares either side */
.tape { position: relative; display: block; width: 100%; text-align: left; transition: transform .6s var(--ease); }
.tape-body { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #2a2723; outline: 1px solid transparent; outline-offset: 4px; transition: outline-color .4s; }
.tape-body img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .5s; }
/* the couple's names float above the square on hover */
.tape-name { position: absolute; left: -20px; right: -20px; bottom: calc(100% + 10px); text-align: center; white-space: nowrap;
  font: italic 400 1rem/1.1 var(--serif); color: var(--paper); text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .6s var(--ease); pointer-events: none; }
.tape:hover .tape-name, .tape:focus-visible .tape-name { opacity: 1; transform: none; }
.tape:hover .tape-body img { transform: scale(1.06); }
/* the film that's on the screen: a thin white outline; the others sit back a little */
.tape.in .tape-body { outline-color: rgba(255, 255, 255, .85); }
.vhs.playing .tape:not(.in) .tape-body img { filter: brightness(.7); }
.vhs.playing .tape:not(.in):hover .tape-body img { filter: none; }
@media (hover: none) { .tape-name { opacity: .8; transform: none; } }


.film-card { margin: 0; }
.film-open { display: block; width: 100%; cursor: none; }
@media (hover: none), (pointer: coarse) { .film-open { cursor: pointer; } }
.film-img { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #2a2723; }
.film-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .8s; }
.film-open:hover .film-img img, .film-open:focus-visible .film-img img { transform: scale(1.045); }
.film-img::after { content: ''; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3.5v17l14.5-8.5z' fill='white'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .45)); transition: opacity .4s; }
@media (hover: hover) and (pointer: fine) { .film-img::after { opacity: 0; } }
.film-meta { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding-top: 16px; font-size: .85rem; }
.film-meta h3 { margin: 0; font: italic 400 clamp(1.15rem, 1.5vw, 1.4rem)/1.25 var(--serif); }
.film-meta p { grid-row: 2; margin: 0; color: var(--muted); }
.film-n { grid-column: 2; grid-row: 1; color: var(--muted); font-variant-numeric: tabular-nums; align-self: center; }

.films-grid-wrap, .single-film { padding: var(--sec) 0; }
.films-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(56px, 7vw, 120px) clamp(20px, 3vw, 48px); padding: 0 var(--gut); max-width: 1700px; margin: 0 auto; }
.films-grid .film-card:nth-child(4n + 1) { grid-column: 1 / span 8; }
.films-grid .film-card:nth-child(4n + 2) { grid-column: 9 / span 4; align-self: end; }
.films-grid .film-card:nth-child(4n + 2) .film-img { aspect-ratio: 4 / 5; }
.films-grid .film-card:nth-child(4n + 3) { grid-column: 1 / span 5; }
.films-grid .film-card:nth-child(4n + 4) { grid-column: 6 / span 7; margin-top: 18vw; }
.is-inner main > .blk-films:first-child .films-grid-wrap { padding-top: 40px; }
.single-card { padding: 0 var(--gut); max-width: 1500px; margin: 0 auto; }

/* ---------- reviews ---------- */
/* The couple's photo beside a light card with their words, over a blurred photo from their day */
.reviews { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 110px) var(--gut); background: var(--night); }
.rv-bgs { position: absolute; inset: 0; }
.rv-bg { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.rv-bg.active { opacity: 1; }
.rv-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(14px); transform: scale(1.12); }
.rv-wrap { position: relative; max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 37fr 63fr; gap: 14px; align-items: stretch; }
.rv-photos { position: relative; min-height: 440px; overflow: hidden; background: #2a2723; }
.rv-img { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.rv-img.active { opacity: 1; }
.rv-img img { width: 100%; height: 100%; object-fit: cover; }
.rv-card { display: flex; flex-direction: column; background: var(--print); color: var(--ink); padding: clamp(36px, 4.5vw, 64px) clamp(28px, 5vw, 80px) clamp(28px, 3vw, 40px); text-align: center; }
.rv-label { margin: 0 0 14px; font-size: .8rem; color: var(--muted); }
.reviews .slides { display: grid; flex: 1; }
.review { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s; }
.review.active { opacity: 1; visibility: visible; transition: opacity .8s ease .2s; }
.rv-names { margin: 0 0 1.6rem; font: 400 clamp(1.6rem, 2.6vw, 2.4rem)/1.1 var(--serif); text-transform: uppercase; letter-spacing: .04em; }
.review blockquote { margin: 0 auto; max-width: 40em; font: 400 1.02rem/1.85 var(--serif); }
.review blockquote strong { font-weight: 700; }
.reviews .slider-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 2.4rem; padding: 0 clamp(0px, 3vw, 60px); font: 400 .9rem/1 var(--serif); color: var(--muted); font-variant-numeric: tabular-nums; }
.reviews .slider-controls button { width: 48px; height: 44px; display: grid; place-items: center; color: var(--ink); transition: transform .4s var(--ease); }
.reviews .slider-controls .prev:hover { transform: translateX(-4px); }
.reviews .slider-controls .next:hover { transform: translateX(4px); }
.reviews .slider-controls svg { width: 36px; fill: none; stroke: currentColor; stroke-width: 1; }

/* ---------- gallery ---------- */
.gallery { padding: var(--sec) 0; }
.gallery-grid { columns: 3; column-gap: clamp(14px, 2vw, 28px); padding: 0 var(--gut); }
.gallery-grid.cols-2 { columns: 2; } .gallery-grid.cols-4 { columns: 4; }
.gallery-grid figure { margin: 0 0 clamp(14px, 2vw, 28px); break-inside: avoid; }
.gallery-grid img { width: 100%; }
.gallery-grid figcaption { font-size: .8rem; color: var(--muted); margin-top: 8px; }

/* ---------- call to action ---------- */
.cta-band { position: relative; padding: var(--sec) var(--gut); display: grid; grid-template-columns: 1fr minmax(0, 2.4fr) 1fr; gap: clamp(20px, 3vw, 48px); align-items: center; max-width: 1700px; margin: 0 auto; }
.cta-center { grid-column: 2; text-align: center; display: grid; justify-items: center; gap: 2.6rem; }
.cta-center .display { max-width: 9ch; }
.cta-band .side { overflow: hidden; aspect-ratio: 3 / 4; }
.cta-band .side.left { grid-column: 1; grid-row: 1; transform: translateY(-14%); }
.cta-band .side.right { grid-column: 3; grid-row: 1; transform: translateY(18%); }
.js .cta-band .side.left[data-reveal]:not(.in) { transform: translateY(0); }
.js .cta-band .side.right[data-reveal]:not(.in) { transform: translateY(30%); }
.cta-band .side img { width: 100%; height: 118%; object-fit: cover; transform: translateY(calc(var(--py, 0) * 1px - 5.5% - 4.5% * var(--fy, .3))); }
.note { margin: 1.1rem 0 0; font-size: .85rem; color: var(--muted); }

/* ---------- banner ---------- */
.banner { position: relative; display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center; min-height: 80svh; background: var(--night); }
.banner.h-tall { min-height: 100svh; }
.banner-bg { position: absolute; inset: 0; }
.banner-bg img { width: 100%; height: 120%; object-fit: cover; transform: translateY(calc(var(--py, 0) * 1px - 6% - 5% * var(--fy, .3))); filter: brightness(.62); }
.banner-inner { position: relative; padding: 120px var(--gut); display: grid; justify-items: center; gap: 2.4rem; }
.banner-inner .display { max-width: 10ch; }
.banner .prose { color: rgba(255, 255, 255, .85); }

/* ---------- pricing ---------- */
.package { padding: var(--sec) var(--gut); display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; max-width: 1600px; margin: 0 auto; }
.package-media { grid-column: 1 / span 6; }
.package-media .clip { aspect-ratio: 4 / 5; }
.package-card { grid-column: 8 / span 5; }
.img-right .package-media { grid-column: 7 / span 6; order: 2; }
.img-right .package-card { grid-column: 1 / span 5; }
.price { margin: 2.6rem 0 2.4rem; display: grid; gap: 6px; }
.price .from { font: 300 .8rem/1 var(--sans); color: var(--muted); letter-spacing: .03em; }
.price .amt { font-size: clamp(3.6rem, 7vw, 6.5rem); line-height: .9; letter-spacing: -.04em; font-weight: 500; font-variation-settings: 'opsz' 24; }
.price sup { font-size: .38em; vertical-align: top; position: relative; top: .35em; margin-right: .08em; }
.price.small { display: block; white-space: nowrap; margin: 0; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1; text-align: right; letter-spacing: -.02em; font-weight: 500; font-variation-settings: 'opsz' 24; }
.price.small sup { font-size: .5em; top: .3em; margin-right: .06em; }

.addons { padding: var(--sec) var(--gut); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 110px); max-width: 1600px; margin: 0 auto; align-items: start; }
.addons-head { position: sticky; top: 110px; }
.addons-head .clip { aspect-ratio: 4 / 3; margin-top: 2rem; }
.addons-head .clip img { width: 100%; height: 100%; object-fit: cover; transform: none; }
.addon { display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; padding: 36px 0; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.addon:last-of-type { border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.addon h3 { margin: 0; font: 400 clamp(1.4rem, 2vw, 1.8rem)/1.15 var(--serif); letter-spacing: -.015em; }
.addon .prose { grid-column: 1 / -1; max-width: 34em; }
.addons-btn { margin-top: 48px; }

.faq { padding: var(--sec) var(--gut); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 110px); max-width: 1600px; margin: 0 auto; }
details { border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
details:last-child { border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; font: 400 clamp(1.15rem, 1.6vw, 1.4rem)/1.3 var(--serif); }
summary::-webkit-details-marker { display: none; }
summary i { flex: none; width: 14px; height: 14px; position: relative; }
summary i::before, summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
summary i::after { transform: rotate(90deg); }
details[open] summary i::after { transform: rotate(0); }
details .prose { padding: 0 0 30px; }

/* ---------- contact ---------- */
.contact { padding: var(--sec) var(--gut); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); max-width: 1600px; margin: 0 auto; align-items: start; }
.contact.no-intro { grid-template-columns: minmax(0, 860px); justify-content: center; }
.contact-head { position: sticky; top: 110px; }
.contact-head .display { margin-bottom: 2.4rem; }
.contact-head .prose { color: var(--muted); }
/* contact video: a clean square, played at a choppy flipbook frame rate (see flipbook.js) */
.contact-video { margin-top: 2.6rem; width: min(100%, 340px); aspect-ratio: 1; position: relative; overflow: hidden; background: #111; }
.contact-video video, .contact-video canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.contact-video canvas { opacity: 0; }
.flipbook.on canvas { opacity: 1; }
.flipbook.on video { opacity: 0; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 32px; }
.field { display: grid; gap: 8px; align-content: start; }
.field.wide, .form-error, .form-actions { grid-column: 1 / -1; }
.field .lbl { font-size: .82rem; letter-spacing: .02em; }
.field .req { color: var(--muted); margin-left: .2em; }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  background: transparent; color: inherit; padding: 10px 0 12px; border-radius: 0;
  font: 400 1.25rem/1.4 var(--serif); transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: currentColor; box-shadow: 0 1px 0 currentColor; }
.field small { color: var(--muted); font-size: .8rem; line-height: 1.5; }
.field.invalid input, .field.invalid textarea { border-bottom-color: var(--halation); }
.field.invalid .lbl::after { content: ' (needed)'; color: var(--halation); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; color: var(--halation); }
.form-success { padding: 40px 0; }
.form-success:focus { outline: none; }
.form-success .display { margin-bottom: 1.4rem; }

/* ---------- instagram ---------- */
.insta { padding: var(--sec) var(--gut); text-align: center; }
.insta p { margin: 0 0 1.4rem; color: var(--muted); font-size: .9rem; }
.insta a { text-decoration: none; display: inline-block; font-style: italic; }
.insta a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .12em; }

.spacer.s-small { height: 40px; } .spacer.s-medium { height: 100px; } .spacer.s-large { height: 180px; }
.spacer hr { margin: 0 var(--gut); border: 0; border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent); position: relative; top: 50%; }

/* ---------- footer ---------- */
.site-footer { position: relative; z-index: 1; background: var(--night); color: var(--paper); padding: clamp(90px, 12vw, 160px) var(--gut) 28px; overflow: hidden; }
.ft-top { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: start; }
.ft-kicker { margin: 0 0 18px; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: color-mix(in srgb, var(--paper) 60%, transparent); }
.ft-btn { display: inline-flex; gap: .6em; align-items: center; margin-top: 32px; padding: 14px 24px; border: 1px solid color-mix(in srgb, var(--paper) 40%, transparent); border-radius: 999px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: background .3s, color .3s; }
.ft-btn:hover { background: var(--paper); color: var(--night); }
.ft-lead { margin: 0; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.03em; font-style: italic; }
.ft-lead a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .8s var(--ease); }
.ft-lead a:hover { background-size: 100% 1px; }
.ft-cols { display: flex; gap: clamp(32px, 6vw, 96px); font-size: .85rem; }
.ft-nav { display: grid; gap: 6px; align-content: start; }
.ft-nav a, .ft-meta a { text-decoration: none; }
.ft-nav a:hover, .ft-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ft-meta { max-width: 22em; color: color-mix(in srgb, var(--paper) 70%, transparent); }
.ft-meta p { margin: 0 0 10px; }
.ft-mark { width: max-content; font-size: 17.6vw; line-height: .78; letter-spacing: -.05em; white-space: nowrap; margin: clamp(60px, 9vw, 130px) 0 0 -.04em; color: var(--paper); }
.ft-legal { margin: 24px 0 0; font-size: .75rem; color: var(--muted); }

/* ---------- film player ---------- */
.player { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(12, 10, 8, .96); color: var(--paper); display: none; place-items: center; }
.player[open] { display: grid; animation: fade .5s ease; }
.player::backdrop { background: transparent; }
.player-open, .player-open body { overflow: hidden; }
.player-frame { width: min(92vw, calc(84vh * 16 / 9)); aspect-ratio: 16 / 9; background: #000; }
.player-frame iframe, .player-frame video { width: 100%; height: 100%; border: 0; display: block; }
.player-close { position: absolute; top: 24px; right: var(--gut); font-size: .85rem; letter-spacing: .04em; padding: 12px 0; }
.player-close:hover { text-decoration: underline; text-underline-offset: 4px; }
@keyframes fade { from { opacity: 0; } }

/* Play cursor over films */
.cursor { position: fixed; left: 0; top: 0; z-index: 240; pointer-events: none; width: 72px; height: 72px; margin: -36px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3.5v17l14.5-8.5z' fill='white'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .5)); translate: var(--cx, -100px) var(--cy, -100px); scale: 0; transition: scale .35s var(--ease), translate .08s linear; }
.cursor.on { scale: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- smaller screens ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: block; grid-column: 3; }
  .site-header { grid-template-columns: 1fr auto; padding-top: 10px; padding-bottom: 10px; min-height: 64px; }
  :root { --hdr-h: 64px; }
  .logo { grid-column: 1; }
  .logo img { height: 34px; }
  .it-body, .package, .films-grid { grid-template-columns: 1fr; }
  .it-framed .it-media, .it-framed .it-text, .img-right.it-framed .it-media, .img-right.it-framed .it-text,
  .package-media, .package-card, .img-right .package-media, .img-right .package-card { grid-column: 1; grid-row: auto; order: 0; }
  .it-framed .it-media { width: 78%; margin-bottom: 56px; }
  .it-classic .it-body { grid-template-columns: 1fr; }
  .img-right.it-classic .it-side { order: 0; }
  .img-right.it-framed .it-media { margin-left: auto; }
  .align-top .it-media { position: static; }
  .it-split { grid-template-columns: 1fr; min-height: 0; }
  .it-split .it-media .clip { min-height: 62svh; }
  .it-split .it-text { padding: 72px var(--gut) var(--sec); }
  .img-right.it-split .it-media { order: 0; }
  .text-block, .addons, .faq, .contact, .rv-wrap { grid-template-columns: 1fr; }
  /* Phones: the couple's photo sits right on top of their review, as one piece */
  .rv-wrap { gap: 0; }
  /* iPhone browsers collapsed an aspect-ratio box whose photos are all stacked absolutely,
     so a padding spacer holds it square instead (works everywhere) */
  .rv-photos { min-height: 0; height: auto; align-self: start; }
  .rv-photos::before { content: ""; display: block; padding-top: 100%; }
  .addons-head, .contact-head { position: static; }
  .films-grid .film-card:nth-child(n) { grid-column: 1; margin-top: 0; }
  .films-grid .film-card:nth-child(4n + 2) { width: 70%; margin-left: auto; }
  .cta-band { grid-template-columns: 1fr 1fr; }
  .cta-center { grid-column: 1 / -1; grid-row: 1; margin-bottom: 40px; }
  .cta-band .side.left, .cta-band .side.right { grid-row: 2; transform: none; }
  .cta-band .side.left { grid-column: 1; } .cta-band .side.right { grid-column: 2; margin-top: 30%; }
  .ft-top { grid-template-columns: 1fr; }
  .hero-ui { grid-template-columns: 1fr auto; gap: 14px; }
  .hero-tools { grid-column: 2; }
  .tc { display: none; }
}
@media (max-width: 760px) {
  .ix-lead, .ix-words { font-size: clamp(1.6rem, 7.4vw, 2.4rem); left: 0; right: 0; width: auto; text-align: center; }
  .ix-lead { top: calc(50% - var(--s, 240px) / 2 - 2.4em); transform: translateY(-20px); }
  .ix-lead.on { transform: none; }
  .ix-words { top: calc(50% + var(--s, 240px) / 2 + .8em); transform: none; }
  .ix-word { left: 0; right: 0; }
  .scroll-cue { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 600px) {
  .contact-form { grid-template-columns: 1fr; }
  .gallery-grid, .gallery-grid.cols-4 { columns: 2; }
  .hero-ui { grid-template-columns: 1fr; }
  .hero-tools { grid-column: 1; justify-self: start; }
  .ft-cols { flex-direction: column; }
}

/* ---------- phones ---------- */
/* Touch screens have no hover, so the play marker sits small in the corner instead of over faces */
@media (hover: none), (pointer: coarse) {
  .film-img::after { left: 14px; top: auto; bottom: 14px; width: 30px; height: 30px; margin: 0; }
}
@media (max-width: 760px) {
  body::after { animation: none; } /* still grain: easier on phone batteries */

  /* The fixed menu bar is 64px tall on phones: start inner pages below it */
  .is-inner main { padding-top: 64px; }
  .is-inner main > .blk:first-child:not(.blk-imageText):not(.blk-banner) { padding-top: 56px; }
  /* Footer links: bigger tap targets */
  .ft-nav { gap: 0; }
  .ft-nav a { display: block; padding: 11px 0; }
  .ft-meta a { display: inline-block; padding: 10px 0; }
  /* Film player: edge to edge, with an easy-to-hit close button */
  .player-frame { width: 100vw; }
  .player-close { top: calc(10px + env(safe-area-inset-top)); right: 6px; padding: 14px 16px; font-size: .95rem; }

  /* Vintage player on phones: the screen on top, then two neat rows of tapes with names shown */
  .vhs-deck { grid-template-columns: 1fr; gap: 26px; }
  .vhs-tv { order: -1; }
  .vhs-rack { grid-template-columns: repeat(3, 1fr); gap: 14px 12px; padding-top: 0; }
  .tape-name { position: static; display: block; margin-top: 10px; font-size: .82rem; white-space: normal; opacity: .75; transform: none; text-shadow: none; }
  .tape-body { order: -1; }
  .tape { display: flex; flex-direction: column; }
  .tape.in .tape-name { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .intro .hero-room { animation: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  body::after { animation: none; }
  .hero-frame { transform: none; }
  .hero-win { transform: none !important; }
}
