/* Layout concept: a gallery wall. Generous paper, footage framed through a lens iris,
   one red tally light as the only added color. Single deliberate light theme. */
:root {
  /* color */
  --paper: #F5F4F0;      /* gallery white, a touch warm */
  --stone: #E9E7E2;      /* plates and fields */
  --rule: #D6D3CC;       /* quiet dividers */
  --ash: #8D8982;        /* secondary text */
  --ink: #1D1C1A;        /* graphite text */
  --on-image: #F7F6F2;   /* type over footage */
  --tally: #C2382B;      /* the recording light: the one accent */
  --veil: rgba(29, 28, 26, 0.86);

  /* type */
  --display: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --sans: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* scale (augmented fourth-ish, set for print rhythm) */
  --t-xs: 0.78rem;
  --t-sm: 0.875rem;
  --t-md: 1.0625rem;
  --t-lg: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem);
  --t-xl: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem);
  --t-2xl: clamp(2.2rem, 1.2rem + 3.6vw, 4.4rem);
  --t-3xl: clamp(2.6rem, 1rem + 5.6vw, 6.4rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1440px;
  color-scheme: light;
}

html { background: var(--paper); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-md);
  font-weight: 350;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection { background: var(--ink); color: var(--paper); }

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 1.5px solid var(--tally); outline-offset: 4px; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; text-wrap: balance; margin: 0; }
p { margin: 0; }

.gutter {
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.inner { max-width: var(--max); margin-inline: auto; padding-inline: clamp(0px, 3.2vw, 48px); }

/* ---------- WebGL layer ---------- */
#gl {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
main { position: relative; z-index: 1; }

.media { position: relative; overflow: hidden; background: var(--stone); }
.media > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.has-gl .media { background: transparent; }
.has-gl .media > img { opacity: 0; }

/* ---------- Tally light ---------- */
.tally {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--tally); flex: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tally) 18%, transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .tally { animation: rec 2.4s ease-in-out infinite; }
}
@keyframes rec { 50% { opacity: 0.35; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 40;
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding-top: calc(env(safe-area-inset-top, 0px) + 20px);
  padding-bottom: 20px;
  padding-left: max(16px, calc(env(safe-area-inset-left, 0px) + clamp(0px, 3.2vw, 48px)));
  padding-right: max(16px, calc(env(safe-area-inset-right, 0px) + clamp(0px, 3.2vw, 48px)));
  color: var(--on-image);
  mix-blend-mode: difference;
}
.brand { display: flex; align-items: baseline; gap: 8px; }
.brand-name { font-family: var(--display); font-size: 1.5rem; letter-spacing: -0.01em; line-height: 1; }
.brand-sub { font-size: var(--t-xs); letter-spacing: 0.02em; opacity: 0.8; }
.nav-links { display: flex; gap: clamp(16px, 2.4vw, 36px); font-size: var(--t-sm); }
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.6s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 720px) {
  .nav { align-items: center; }
  .brand-name { font-size: 1.3rem; }
  .nav-links { gap: 14px; font-size: 0.8rem; }
  .nav-links a[href="#services"] { display: none; }
}
@media (max-width: 360px) {
  .nav-links a[href="#about"] { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; color: var(--on-image); }
.hero-media { position: absolute; inset: 0; }
.hero-copy {
  position: absolute; left: 0; right: 0; bottom: clamp(108px, 17vh, 168px);
  max-width: var(--max); margin-inline: auto;
}
.hero-copy > * { padding-inline: clamp(0px, 3.2vw, 48px); }
.hero-kicker { font-size: var(--t-sm); margin-bottom: 18px; opacity: 0.86; }
.hero-title {
  font-size: var(--t-3xl); line-height: 1.02; letter-spacing: -0.02em;
  max-width: 15ch; font-variation-settings: "opsz" 96;
}
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-w > span { display: inline-block; will-change: transform; }

.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 26px);
  max-width: var(--max); margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 28px;
  font-size: var(--t-sm);
}
.hero-foot > * { margin: 0; }
.hero-foot > :first-child { padding-left: clamp(0px, 3.2vw, 48px); }
.hero-foot > :last-child { padding-right: clamp(0px, 3.2vw, 48px); }
.now { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; }
.now > span:nth-child(2) { opacity: 0.7; }
.now-title { font-family: var(--display); font-style: italic; font-size: 1.05rem; }
.now-meta { opacity: 0.7; }
.seq { display: flex; gap: 6px; padding-bottom: 7px; }
.seq i { position: relative; display: block; width: 34px; height: 1px; background: color-mix(in srgb, var(--on-image) 35%, transparent); overflow: hidden; }
.seq i::after { content: ""; position: absolute; inset: 0; background: var(--on-image); transform: scaleX(var(--p, 0)); transform-origin: left; }
.fstop { font-family: var(--display); font-size: 1.6rem; line-height: 1; font-variant-numeric: tabular-nums; min-width: 3.4ch; text-align: right; }
@media (max-width: 720px) {
  .hero-foot { grid-template-columns: 1fr auto; }
  .seq { display: none; }
}

/* ---------- Statement ---------- */
.statement { padding-block: clamp(120px, 22vh, 240px) clamp(100px, 16vh, 180px); }
.statement-text {
  font-family: var(--display); font-size: var(--t-2xl); line-height: 1.14;
  letter-spacing: -0.015em; max-width: 22ch; text-indent: 2.2em;
  font-variation-settings: "opsz" 72;
}
.statement-text .w { color: var(--rule); transition: color 0.2s linear; }
.statement-text .w.on { color: var(--ink); }
.no-motion .statement-text .w { color: var(--ink); }
@media (max-width: 720px) {
  .statement { padding-block: 96px 72px; }
  .statement-text { font-size: 1.85rem; line-height: 1.18; text-indent: 1.4em; }
}
.statement-sign { margin-top: 40px; font-size: var(--t-sm); color: var(--ash); padding-left: 0.2em; }

/* ---------- Work ---------- */
.work-pin {
  position: relative; height: 100vh; height: 100svh; min-height: 620px;
  display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: 100%; overflow: hidden;
}
.work-track { justify-self: start; align-self: center; }
.work-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding-top: clamp(84px, 13vh, 120px);
  max-width: var(--max); width: 100%; margin-inline: auto; box-sizing: border-box;
}
.work-head > * { padding-inline: clamp(0px, 3.2vw, 48px); }
.work-head h2 { font-size: var(--t-xl); letter-spacing: -0.01em; }
.work-note { font-size: var(--t-sm); color: var(--ash); max-width: 34ch; text-align: right; }

.work-track {
  display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px);
  width: max-content; will-change: transform;
  padding-left: max(16px, calc(env(safe-area-inset-left, 0px) + clamp(0px, 3.2vw, 48px) + max(0px, (100vw - var(--max)) / 2)));
  padding-right: 18vw;
}
.film { margin: 0; display: grid; gap: 16px; flex: none; }
.film-hit { all: unset; display: block; cursor: pointer; }
.film-hit:focus-visible { outline: 1.5px solid var(--tally); outline-offset: 6px; }
.film .media { height: var(--h, 50svh); aspect-ratio: var(--ar); max-width: 82vw; }
.film[data-shape="tall"] { --h: min(60svh, 640px); }
.film[data-shape="wide"] { --h: min(46svh, 520px); }
.film[data-shape="mid"] { --h: min(54svh, 600px); }
.film figcaption { display: grid; gap: 2px; width: 0; min-width: 100%; }
.film-title { font-family: var(--display); font-size: var(--t-lg); line-height: 1.2; }
.film-client { grid-column: 1; font-size: var(--t-sm); color: var(--ash); }
.film-spec { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 18px; margin: 0; font-size: var(--t-xs); color: var(--ash); font-variant-numeric: tabular-nums; }
.film-spec div { display: grid; gap: 1px; }
.film-spec dt { color: var(--ash); opacity: 0.75; }
.film-spec dd { margin: 0; color: var(--ink); }

.work-progress {
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 32px);
  max-width: var(--max); width: 100%; margin-inline: auto; box-sizing: border-box;
}
.work-progress .bar { display: block; margin-inline: clamp(0px, 3.2vw, 48px); height: 1px; background: var(--rule); }
.work-progress i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }

@media (max-width: 820px) {
  .work-pin { height: auto; min-height: 0; display: block; overflow: visible; }
  .work-head { flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 96px; }
  .work-note { text-align: left; }
  .work-track { width: auto; flex-direction: column; align-items: stretch; gap: 36px; padding-block: 48px 24px; padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .film .media { height: auto; width: 100%; max-width: 100%; }
  .film[data-shape="tall"] .media { width: 78%; }
  .film[data-shape="tall"]:nth-child(even) .media { margin-left: auto; }
  .film figcaption { grid-template-columns: 1fr; }
  .film-spec { grid-column: 1; grid-row: auto; margin-top: 8px; }
  .work-progress { display: none; }
}

/* ---------- Stills ---------- */
.stills { padding-block: clamp(110px, 18vh, 200px) clamp(60px, 10vh, 120px); }
.stills-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: clamp(64px, 12vh, 140px); }
.stills-head h2 { font-size: var(--t-3xl); line-height: 1; letter-spacing: -0.025em; }
.stills-head p { font-size: var(--t-sm); color: var(--ash); max-width: 34ch; text-align: right; }
#sets { display: grid; gap: clamp(120px, 22vh, 260px); }
.set { display: grid; grid-template-columns: 3fr 9fr; gap: clamp(28px, 4vw, 72px); align-items: start; }
.set.is-flipped { grid-template-columns: 9fr 3fr; }
.set.is-flipped .set-meta { order: 2; }
.set-meta { position: sticky; top: 16vh; display: grid; gap: 10px; min-width: 0; }
.set-meta h3 { font-size: var(--t-xl); line-height: 1.08; letter-spacing: -0.01em; }
.set-client { font-size: var(--t-sm); color: var(--ink); }
.set-note { font-size: var(--t-sm); color: var(--ash); max-width: 32ch; }
.set-count { font-size: var(--t-xs); color: var(--ash); margin-top: 8px; }
.set-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 28px); align-items: start; }
.set-col { display: grid; gap: clamp(14px, 1.8vw, 28px); will-change: transform; }
.set-col:nth-child(2) { margin-top: 18%; }
.set-col:nth-child(3) { margin-top: 6%; }
.still { all: unset; display: block; cursor: zoom-in; }
.still:focus-visible { outline: 1.5px solid var(--tally); outline-offset: 5px; }
.still-frame { display: block; overflow: hidden; background: var(--stone); max-width: 100%; }
.still-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; transition: transform 1.1s var(--ease), filter 0.6s; }
@media (hover: hover) {
  .set-grid:hover .still-frame img { filter: saturate(0.6) brightness(0.96); }
  .set-grid .still:hover .still-frame img { filter: none; transform: scale(1.06) !important; }
}
@media (max-width: 820px) {
  .stills-head { flex-direction: column; gap: 12px; }
  .stills-head p { text-align: left; }
  .set, .set.is-flipped { grid-template-columns: 1fr; }
  .set.is-flipped .set-meta { order: 0; }
  .set-meta { position: static; }
  .set-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .set-col { display: contents; }
}

/* Photo viewer */
.stillbox { position: fixed; inset: 0; z-index: 60; }
.sb-backdrop { position: absolute; inset: 0; background: var(--veil); opacity: 0; }
.sb-img { position: fixed; object-fit: contain; display: block; }
.sb-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px 20px;
  color: var(--on-image); font-size: var(--t-sm); opacity: 0;
}
.sb-bar > p { margin: 0; padding-left: clamp(0px, 3.2vw, 48px); }
.sb-ctrls { display: flex; gap: 22px; margin-right: clamp(0px, 3.2vw, 48px); }

/* ---------- Services ---------- */
.services-pin {
  min-height: 100vh; min-height: 100svh; box-sizing: border-box;
  display: flex; align-items: center; padding-block: clamp(84px, 12vh, 120px) 48px;
}
.services-grid { width: 100%; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 120px); align-items: center; }
.services-copy h2 { font-size: var(--t-lg); color: var(--ash); margin-bottom: clamp(22px, 4.5vh, 56px); }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(16px, 3vh, 34px); }
.service h3 {
  font-size: clamp(1.8rem, 0.9rem + 2.3vw, 3.5rem); line-height: 1.05; letter-spacing: -0.015em;
  color: var(--rule); transition: color 0.7s var(--ease);
}
.service p {
  max-width: 44ch; font-size: var(--t-md); color: var(--ash);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: opacity 0.6s var(--ease), margin 0.6s var(--ease), max-height 0.7s var(--ease);
}
.service.is-active h3 { color: var(--ink); }
.service.is-active p { opacity: 1; margin-top: 14px; max-height: 12em; }
.services-media { height: min(76svh, 820px); width: 100%; }
@media (max-width: 820px) {
  .services-pin { min-height: 0; padding-block: 72px; }
  .services-grid { grid-template-columns: 1fr; }
  .services-pin { padding-block: 72px 24px; }
  .services-media { order: -1; height: 34svh; }
  .services-copy h2 { margin-bottom: 12px; }
  .service-list { gap: 12px; }
  .service h3 { font-size: 1.45rem; }
  .service p { font-size: var(--t-sm); }
}

/* ---------- About ---------- */
.about { padding-block: clamp(110px, 18vh, 200px); }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 7vw, 140px); align-items: start; }
.portrait { margin: 0; position: sticky; top: 13vh; }
.portrait-media { aspect-ratio: 857 / 1101; max-width: 100%; }
.portrait figcaption { margin-top: 14px; display: flex; justify-content: space-between; gap: 12px; font-size: var(--t-xs); color: var(--ash); }
.portrait-name { font-family: var(--display); font-size: var(--t-md); color: var(--ink); }
.signature { margin-top: 30px !important; font-family: var(--display); font-style: italic; font-size: var(--t-lg); color: var(--ink) !important; display: grid; gap: 2px; }
.signature span { font-family: var(--sans); font-style: normal; font-size: var(--t-xs); color: var(--ash); }
.about-lists { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.about-lists h3 { font-family: var(--sans); font-size: var(--t-xs); font-weight: 400; color: var(--ash); margin-bottom: 14px; }
.about-lists ul { list-style: none; margin: 0; padding: 0; display: grid; }
.about-lists li { font-family: var(--display); font-size: var(--t-lg); line-height: 1.25; padding-block: 9px; border-top: 1px solid var(--rule); }
.about-copy { min-width: 0; max-width: 62ch; }
.about-copy h2 { font-size: var(--t-xl); margin-bottom: 34px; }
.about-copy .lede { font-family: var(--display); font-size: var(--t-xl); line-height: 1.22; margin-bottom: 28px; font-style: italic; }
.about-copy p + p { margin-top: 18px; }
.about-copy > p:not(.lede) { color: color-mix(in srgb, var(--ink) 82%, var(--paper)); }

.timeline { list-style: none; margin: 64px 0 0; padding: 0; display: grid; }
.timeline li {
  display: grid; grid-template-columns: 5.5rem 1fr; gap: 16px; align-items: baseline;
  padding-block: 16px; border-top: 1px solid var(--rule); font-size: var(--t-sm);
}
.timeline .yr { font-family: var(--display); font-size: 1.35rem; font-variant-numeric: tabular-nums lining-nums; }
.timeline li.is-now .yr::after {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--tally); margin-left: 8px; vertical-align: 0.3em;
}
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; position: static; }
  .about-lists { grid-template-columns: 1fr; }
}

/* ---------- Behind the scenes ---------- */
.bts { padding-block: clamp(40px, 8vh, 96px); }
.bts-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.bts-head h2 { font-size: var(--t-lg); }
.bts-head p { font-size: var(--t-sm); color: var(--ash); max-width: 44ch; }
.bts-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.bts-track { display: flex; width: max-content; will-change: transform; }
.bts-set { display: flex; gap: 14px; padding-right: 14px; }
.bts-item { margin: 0; display: grid; gap: 8px; flex: none; }
.bts-frame { height: clamp(170px, 24vh, 250px); overflow: hidden; background: var(--stone); }
.bts-frame img, .bts-frame video { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.35); transition: filter 0.6s var(--ease); }
.bts-item:hover .bts-frame img, .bts-item:hover .bts-frame video { filter: none; }
.bts-item figcaption { font-size: var(--t-xs); line-height: 1.35; color: var(--ash); width: 0; min-width: 100%; }
.bts-marquee.is-static { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
.bts-marquee.is-static .bts-set[aria-hidden] { display: none; }

/* ---------- Voices ---------- */
.voices { padding-block: clamp(80px, 14vh, 160px); }
.voices-title { font-size: var(--t-xl); margin-bottom: clamp(48px, 9vh, 96px); }
.voice-list { display: grid; gap: clamp(64px, 12vh, 128px); }
.voice { margin: 0; max-width: min(100%, 980px); }
.voice:nth-child(2) { margin-left: auto; }
.voice:nth-child(3) { margin-left: 12%; }
.voice p {
  max-width: 19em;
  font-family: var(--display); font-style: italic; font-size: clamp(1.75rem, 0.9rem + 2.6vw, 3.6rem);
  line-height: 1.12; letter-spacing: -0.015em; text-wrap: pretty;
}
.voice cite { display: block; margin-top: 22px; font-style: normal; font-size: var(--t-sm); color: var(--ash); }
.voices-note { margin-top: 72px; font-size: var(--t-xs); color: var(--ash); }
@media (max-width: 820px) {
  .voice:nth-child(n) { margin-left: 0; }
}

/* ---------- Inquire ---------- */
.inquire { padding-block: clamp(90px, 16vh, 180px); }
.inquire-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 7vw, 120px); align-items: end; }
.booking { display: flex; align-items: center; gap: 12px; font-size: var(--t-sm); color: var(--ash); margin-bottom: 28px; }
.inquire-copy h2 { font-size: var(--t-3xl); line-height: 1.0; letter-spacing: -0.025em; max-width: 12ch; margin-bottom: 32px; }
.inquire-copy > p:not(.booking) { max-width: 40ch; color: color-mix(in srgb, var(--ink) 80%, var(--paper)); }
.mail { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; }
.mail-addr { font-family: var(--display); font-size: var(--t-lg); user-select: all; overflow-wrap: anywhere; }

.link-btn {
  font: inherit; font-size: var(--t-sm); color: inherit; background: none; border: 0; padding: 0;
  cursor: pointer; border-bottom: 1px solid currentColor; padding-bottom: 1px;
}

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: var(--t-xs); color: var(--ash); }
.field input, .field select, .field textarea {
  font: inherit; font-size: var(--t-md); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--rule);
  border-radius: 0; padding: 8px 0 10px; width: 100%; box-sizing: border-box;
  transition: border-color 0.4s var(--ease);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ash) 50%), linear-gradient(-45deg, transparent 50%, var(--ash) 50%); background-size: 5px 5px; background-position: calc(100% - 9px) 55%, calc(100% - 4px) 55%; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--tally); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 8px; }
.btn {
  font: inherit; font-size: var(--t-sm); cursor: pointer;
  color: var(--paper); background: var(--ink); border: 0; border-radius: 999px;
  padding: 15px 30px; transition: transform 0.5s var(--ease), background 0.4s;
}
.btn:hover { transform: translateY(-2px); }
.form-status { font-size: var(--t-sm); color: var(--ash); min-height: 1.6em; max-width: 46ch; }
.form-status.is-error { color: var(--tally); }
@media (max-width: 820px) {
  .inquire-grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
}

/* ---------- Footer with video type ---------- */
.foot { padding-top: clamp(40px, 8vh, 96px); }
.sign { max-width: var(--max); margin-inline: auto; }
.sign-mask {
  position: relative; aspect-ratio: 1000 / 270; max-width: 100%;
  margin-inline: clamp(0px, 3.2vw, 48px); overflow: hidden;
  background: var(--ink);
}
.sign-mask.is-masked {
  -webkit-mask-image: var(--mask); mask-image: var(--mask);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.sign-mask video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.foot-row {
  max-width: var(--max); margin-inline: auto; box-sizing: border-box;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px;
  padding-block: 36px calc(env(safe-area-inset-bottom, 0px) + 36px);
  font-size: var(--t-xs); color: var(--ash);
}
.foot-row > * { padding-inline: clamp(0px, 3.2vw, 48px); }
.foot-row a:hover { color: var(--ink); }

/* ---------- Film player ---------- */
.lightbox { position: fixed; inset: 0; z-index: 60; }
.lb-backdrop { position: absolute; inset: 0; background: var(--veil); opacity: 0; }
.lb-frame { position: fixed; overflow: hidden; background: var(--ink); }
.lb-frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--ink); }
.lb-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  color: var(--on-image); font-size: var(--t-sm); opacity: 0;
}
.lb-meta > * { margin: 0; }
.lb-meta > :first-child { padding-left: clamp(0px, 3.2vw, 48px); }
.lb-meta > :last-child { margin-right: clamp(0px, 3.2vw, 48px); }
.lb-title { font-family: var(--display); font-style: italic; font-size: var(--t-lg); margin-right: 14px; }
.lb-sub { opacity: 0.7; }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 45; pointer-events: none;
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px 9px 12px; border-radius: 999px;
  background: var(--paper); color: var(--ink); font-size: var(--t-xs);
  opacity: 0; transform: translate(-50%, -50%) scale(0.6);
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
