/* ==========================================================================
   CHIAROS — Ivory Atelier, in motion
   Display: Bodoni Moda · Body: Newsreader · Labels: Jost
   The page "dims like a cinema" in the Theatre (films) and returns to ivory.
   ========================================================================== */

/* Registered so the house-lights fade can transition smoothly */
@property --bg          { syntax: "<color>"; inherits: true; initial-value: #F4EFE6; }
@property --fg          { syntax: "<color>"; inherits: true; initial-value: #2B2420; }
@property --fg-soft     { syntax: "<color>"; inherits: true; initial-value: #5A4E45; }
@property --accent-fg   { syntax: "<color>"; inherits: true; initial-value: #6A5B40; }
@property --rule        { syntax: "<color>"; inherits: true; initial-value: rgba(43, 36, 32, .16); }
@property --rule-strong { syntax: "<color>"; inherits: true; initial-value: rgba(43, 36, 32, .38); }

:root {
  /* Brand palette */
  --paper:    #F4EFE6;
  --paper-2:  #ECE4D6;
  --paper-3:  #E3D8C6;
  --ink:      #2B2420;
  --theatre:  #1A1512;
  --accent:   #8A7A5C;
  --gilt:     #D8C7A2;
  --oxblood:  #6B2E2A;

  /* Live theme tokens (light) */
  --bg: #F4EFE6;
  --fg: #2B2420;
  --fg-soft: #5A4E45;       /* 7.1:1 on ivory */
  --accent-fg: #6A5B40;     /* 5.6:1 on ivory */
  --rule: rgba(43, 36, 32, .16);
  --rule-strong: rgba(43, 36, 32, .38);

  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-body:    "Newsreader", Georgia, "Times New Roman", serif;
  --f-label:   "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --sec:    clamp(104px, 14vw, 200px);
  --max:    1440px;
  --navh:   76px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io:  cubic-bezier(.65, 0, .35, 1);
  --t-fast: 200ms;
  --t-med:  500ms;

  --z-nav: 40;
  --z-cursor: 90;
  --z-pre: 100;

  transition:
    --bg 1.2s var(--ease-io), --fg 1.2s var(--ease-io), --fg-soft 1.2s var(--ease-io),
    --accent-fg 1.2s var(--ease-io), --rule 1.2s var(--ease-io), --rule-strong 1.2s var(--ease-io);
}

/* House lights down */
:root.is-dark {
  --bg: #1A1512;
  --fg: #F1EADF;
  --fg-soft: #BFB2A2;       /* 9:1 on theatre */
  --accent-fg: #D8C7A2;
  --rule: rgba(241, 234, 223, .16);
  --rule-strong: rgba(241, 234, 223, .36);
}

@media (max-width: 899px) { :root { --navh: 64px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body, h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { list-style: none; padding: 0; }
img, video, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: clamp(17px, 1.05vw + 10px, 19px);
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Living film grain */
body::after {
  content: "";
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 95;
  opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .45 0 0 0 0 .4 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  17%  { transform: translate(-3%, 2%); }
  33%  { transform: translate(2%, -4%); }
  50%  { transform: translate(-4%, -1%); }
  67%  { transform: translate(3%, 3%); }
  83%  { transform: translate(-1%, 4%); }
  100% { transform: translate(0, 0); }
}

::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 4px; }
.is-dark :focus-visible { outline-color: var(--gilt); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  padding: 12px 18px; background: var(--ink); color: var(--paper);
  font-family: var(--f-label); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
}
.skip:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sec); }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--f-label); font-size: 12px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent-fg);
}
.h2 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(46px, 6.6vw, 112px);
  line-height: .98; letter-spacing: -.02em;
  margin-top: 20px;
  text-wrap: balance;
}
em { font-style: italic; }

.section-head { max-width: 960px; margin-bottom: clamp(56px, 8vw, 112px); }
.section-head__note { margin-top: 28px; max-width: 44ch; color: var(--fg-soft); font-size: 1.05em; }
.section-head--split { max-width: none; display: grid; gap: 28px; align-items: end; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.4fr 1fr; }
  .section-head--split .section-head__note { margin-top: 0; justify-self: end; }
}

/* SplitText line masks */
.split-line { padding-bottom: .06em; margin-bottom: -.06em; }

/* ---------- Buttons ---------- */
.magnetic { will-change: transform; }
.magnetic > span { display: inline-flex; align-items: center; gap: 14px; will-change: transform; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 58px; padding: 0 38px;
  border: 1px solid var(--fg); border-radius: 999px;
  font-family: var(--f-label); font-size: 13px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--fg);
  position: relative; overflow: hidden; isolation: isolate;
  transition: color var(--t-med) var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; left: 50%; top: 100%; z-index: -1;
  width: 150%; aspect-ratio: 1; border-radius: 50%;
  background: var(--fg);
  transform: translate(-50%, 0) scale(0);
  transition: transform 700ms var(--ease-out);
}
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: translate(-50%, -60%) scale(1); }
.btn--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--solid::before { background: var(--oxblood); }
.btn--solid:hover { color: var(--paper); }
.btn--light { border-color: var(--paper); color: var(--paper); }
.btn--light::before { background: var(--paper); }
.btn--light:hover { color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: progress; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  font-family: var(--f-label); font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  border-bottom: 1px solid var(--rule-strong);
  transition: gap var(--t-med) var(--ease-out), border-color var(--t-fast);
}
.link-arrow::after { content: "→"; font-family: var(--f-body); letter-spacing: 0; font-size: 16px; }
.link-arrow:hover { gap: 22px; border-color: var(--fg); }

.icon-btn {
  width: 52px; height: 52px; display: grid; place-items: center;
  border: 1px solid var(--rule-strong); border-radius: 50%;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.25; }
.icon-btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* ==========================================================================
   MEDIA PLACEHOLDERS — drop an <img>/<video> inside any .media to replace
   ========================================================================== */
.media { position: relative; display: block; overflow: hidden; background: var(--paper-3); }
.media > img, .media > video, .media > iframe {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover;
}
.media::after {
  content: attr(data-label);
  position: absolute; left: 16px; top: 14px; z-index: 0;
  font-family: var(--f-label); font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255, 250, 242, .78);
}
.t-sand  { background: radial-gradient(120% 90% at 28% 22%, #EFE2CB 0%, #CDB592 42%, #8B7253 100%); }
.t-rose  { background: radial-gradient(120% 90% at 70% 25%, #F0DDD1 0%, #C9A393 45%, #7A574B 100%); }
.t-olive { background: radial-gradient(120% 90% at 35% 30%, #E4E0C8 0%, #AAA47F 45%, #5C5840 100%); }
.t-dusk  { background: radial-gradient(110% 100% at 72% 18%, #E8D3B6 0%, #A7836A 38%, #4A372D 78%, #2E231E 100%); }
.t-umber { background: radial-gradient(90% 120% at 20% 40%, #D8BFA0 0%, #8E6C55 45%, #3A2B24 100%); }
.t-linen { background: radial-gradient(120% 90% at 50% 20%, #F3EADC 0%, #D9CAB2 50%, #A08B6D 100%); }

.light-sweep {
  position: absolute; inset: -30%; z-index: 2; pointer-events: none;
  background: radial-gradient(35% 50% at 50% 50%, rgba(255, 236, 205, .45), transparent 70%);
  mix-blend-mode: soft-light;
  animation: sweep 12s var(--ease-io) infinite alternate;
}
@keyframes sweep { from { transform: translate(-25%, -10%); } to { transform: translate(25%, 10%); } }

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader { display: none; }
.js .preloader {
  display: block;
  position: fixed; inset: 0; z-index: var(--z-pre);
  background: var(--paper); color: var(--ink);
}
.preloader__center {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 22px;
}
.preloader__mark { width: clamp(88px, 10vw, 128px); overflow: visible; }
.pre-ring { stroke-dasharray: 1; stroke-dashoffset: 1; }
.pre-star { transform-box: fill-box; transform-origin: center; transform: scale(0); }
.preloader__word {
  font-family: var(--f-display); font-size: clamp(30px, 3.6vw, 48px);
  letter-spacing: .32em; text-transform: uppercase; padding-left: .32em;
}
.preloader__sub {
  font-family: var(--f-label); font-size: 11px; font-weight: 500;
  letter-spacing: .5em; text-transform: uppercase; color: #6A5B40; padding-left: .5em;
}
.preloader__count {
  position: absolute; right: var(--gutter); bottom: var(--gutter);
  font-family: var(--f-display); font-size: clamp(56px, 9vw, 150px); line-height: .8;
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.preloader__note {
  position: absolute; left: var(--gutter); bottom: var(--gutter);
  font-family: var(--f-label); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #6A5B40;
}

/* ==========================================================================
   CURSOR
   ========================================================================== */
.cursor {
  position: fixed; left: 0; top: 0; z-index: var(--z-cursor);
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: #F4EFE6;
  mix-blend-mode: difference;
  pointer-events: none;
  display: grid; place-items: center;
  opacity: 0;
  transition: width 450ms var(--ease-out), height 450ms var(--ease-out), margin 450ms var(--ease-out),
              background var(--t-fast), opacity var(--t-fast);
}
.cursor.is-visible { opacity: 1; }
.cursor.is-link { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.cursor.is-label {
  width: 104px; height: 104px; margin: -52px 0 0 -52px;
  mix-blend-mode: normal; background: rgba(244, 239, 230, .94);
}
.cursor__label {
  font-family: var(--f-label); font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink); opacity: 0; transition: opacity var(--t-fast);
}
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: var(--z-nav);
  border-bottom: 1px solid transparent;
  transition: background var(--t-med), border-color var(--t-med), transform 700ms var(--ease-out);
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-color: var(--rule);
}
.nav.is-hidden { transform: translateY(-101%); }
.nav__inner {
  max-width: var(--max); margin-inline: auto; padding: 0 var(--gutter);
  height: var(--navh);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.nav__links { display: flex; gap: clamp(18px, 2.2vw, 36px); }
.nav__links a, .nav__clock, .nav__cta {
  font-family: var(--f-label); font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
}
.nav__links a { padding: 12px 0; position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform var(--t-med) var(--ease-out);
}
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }

.nav__brand { display: inline-flex; align-items: center; gap: 12px; padding: 8px 0; }
.nav__mark { width: 28px; height: 28px; }
.nav__word { font-family: var(--f-display); font-size: 17px; letter-spacing: .34em; text-transform: uppercase; padding-left: .34em; }

.nav__right { display: flex; justify-content: flex-end; align-items: center; gap: clamp(16px, 2vw, 32px); }
.nav__clock { color: var(--fg-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.nav__clock span { color: var(--accent-fg); }
.nav__cta {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 22px;
  border: 1px solid var(--fg); border-radius: 999px;
  transition: background var(--t-fast), color var(--t-fast);
}
.nav__cta:hover { background: var(--fg); color: var(--bg); }

.nav__toggle { display: none; width: 48px; height: 48px; position: relative; }
.nav__toggle span {
  position: absolute; left: 12px; right: 12px; height: 1px; background: currentColor;
  transition: transform var(--t-med) var(--ease-out);
}
.nav__toggle span:first-child { top: 20px; }
.nav__toggle span:last-child  { top: 28px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child  { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1099px) { .nav__clock { display: none; } }
@media (max-width: 899px) {
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__brand { justify-self: start; }
  .nav__toggle { display: block; }
  .nav__word { font-size: 15px; }
}
@media (max-width: 520px) { .nav__cta { display: none; } }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: calc(var(--z-nav) - 1);
  background: var(--paper); color: var(--ink);
  padding: 110px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu[hidden] { display: none; }
.menu-open .nav { color: var(--ink); }
.menu__list li { border-top: 1px solid rgba(43, 36, 32, .16); }
.menu__list li:last-child { border-bottom: 1px solid rgba(43, 36, 32, .16); }
.menu__list a {
  display: flex; align-items: baseline; gap: 18px; padding: 16px 0;
  font-family: var(--f-display); font-size: clamp(34px, 9vw, 52px); line-height: 1.1;
}
.menu__list span { font-family: var(--f-label); font-size: 12px; letter-spacing: .2em; color: #6A5B40; width: 28px; }
.menu__foot { font-family: var(--f-label); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: #5A4E45; }
.menu.is-open .menu__list li { animation: menuIn 700ms var(--ease-out) both; }
.menu.is-open .menu__list li:nth-child(2) { animation-delay: 50ms; }
.menu.is-open .menu__list li:nth-child(3) { animation-delay: 100ms; }
.menu.is-open .menu__list li:nth-child(4) { animation-delay: 150ms; }
.menu.is-open .menu__list li:nth-child(5) { animation-delay: 200ms; }
.menu.is-open .menu__list li:nth-child(6) { animation-delay: 250ms; }
@keyframes menuIn { from { opacity: 0; transform: translateY(24px); } }

/* ==========================================================================
   HERO — prints on the editor's table
   A cover photo sits behind the masthead with four prints scattered around.
   On scroll the prints spin away and the cover opens to full-screen.
   ========================================================================== */
.hero {
  --mast: min(23vw, 29svh);
  --cw: clamp(190px, 21vw, 360px);      /* cover photo width */
  --ch: calc(var(--cw) * 1.25);         /* cover photo height (4:5) */
  --cy: 54%;                            /* cover photo vertical centre */
  --bw: 1;                              /* 1 = warm black & white, 0 = colour */
  /* Cover clip (JS animates these to 0 on scroll) */
  --ct: calc(var(--cy) - var(--ch) / 2);
  --cb: calc(100% - var(--cy) - var(--ch) / 2);
  --cl: calc(50% - var(--cw) / 2);
  --cr: calc(50% - var(--cw) / 2);
  position: relative;
  height: 100svh; min-height: 600px;
  overflow: hidden;
  isolation: isolate;
}

.hero__meta {
  position: absolute; left: 0; right: 0; top: var(--navh); z-index: 6;
  display: flex; justify-content: space-between; gap: 16px;
  padding-block: 12px;
  font-family: var(--f-label); font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
}
.hero__meta::before, .hero__meta::after {
  content: ""; position: absolute; left: var(--gutter); right: var(--gutter); height: 1px;
}
.hero__meta::before { top: 0; background: var(--fg); }
.hero__meta::after  { bottom: 0; background: var(--rule); }
.hero__meta-mid { color: var(--accent-fg); }

/* Masthead */
.hero__mast {
  position: absolute; left: 0; right: 0; z-index: 2;
  top: calc(50% - var(--mast) * .46);
  margin: 0; font-weight: 400; pointer-events: none;
}
.hero__mast > span {
  display: block;
  font-family: var(--f-display); font-size: var(--mast);
  line-height: .86; letter-spacing: -.035em;
  text-align: center; white-space: nowrap;
  padding-top: .05em;
  clip-path: inset(-30% -5% 0 -5%);
}
.hero__mast .char { display: inline-block; will-change: transform; }

/* Cover: paper mat + full-screen layer clipped to the photo's slot */
.hero__mat {
  position: absolute; z-index: 1; left: 50%; top: var(--cy);
  width: calc(var(--cw) + 20px); height: calc(var(--ch) + 48px);
  margin-left: calc((var(--cw) + 20px) / -2);
  margin-top: calc(var(--ch) / -2 - 10px);
  background: #FBF8F2;
  box-shadow: 0 40px 70px -30px rgba(43, 36, 32, .45), 0 2px 10px rgba(43, 36, 32, .08);
}
.hero__mat span {
  position: absolute; left: 12px; right: 12px; bottom: 9px;
  font-family: var(--f-display); font-style: italic; font-size: 14px; color: #6A5B40;
}
.hero__cover {
  position: absolute; inset: 0; z-index: 3;
  clip-path: inset(var(--ct) var(--cr) var(--cb) var(--cl));
}
/* On tall screens the photo overflows sideways: keep the couple (right of centre) in view */
.hero__cover img { object-position: 69% 50%; }
.hero__mast--light { z-index: 1; color: #FBF6EE; }
.hero__cover .media {
  position: absolute; inset: 0;
  filter: grayscale(var(--bw)) sepia(calc(var(--bw) * .28)) contrast(calc(1 + var(--bw) * .06)) brightness(calc(1 + var(--bw) * .03));
}
.hero__cover .media::after {
  top: calc(var(--cy) - var(--ch) / 2 + 12px);
  left: calc(50% - var(--cw) / 2 + 12px);
}

/* Prints */
.print { position: absolute; margin: 0; width: var(--w); }
.print__inner { will-change: transform; }
.print__paper {
  position: relative;
  padding: 8px 8px 32px;
  background: #FBF8F2;
  rotate: var(--r);
  box-shadow: 0 34px 60px -26px rgba(43, 36, 32, .5), 0 2px 8px rgba(43, 36, 32, .08);
}
.print__paper .media { width: 100%; aspect-ratio: var(--ar); }
.print__paper .media::after { left: 10px; top: 9px; font-size: 8px; }
.print figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 8px;
  font-family: var(--f-display); font-style: italic; font-size: 14px; line-height: 1.2; color: #6A5B40;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.print--1 { --w: clamp(130px, 14vw, 240px); --ar: 4 / 5; --r: -7deg; left: 6%;  top: max(19%, calc(var(--navh) + 72px)); z-index: 1; }
.print--4 { --w: clamp(110px, 12vw, 210px); --ar: 2 / 3; --r: 7deg;  right: 6%; top: max(16%, calc(var(--navh) + 60px)); z-index: 1; }
.print--2 { --w: clamp(170px, 19vw, 320px); --ar: 3 / 2; --r: 4deg;  left: 12%; top: 57%; z-index: 4; }
.print--3 { --w: clamp(120px, 13vw, 230px); --ar: 1 / 1; --r: -5deg; right: 13%; top: 57%; z-index: 4; }
.print .media > img { transition: scale 1.2s var(--ease-out); }
.print:hover .media > img { scale: 1.05; }

/* Foot line */
.hero__foot {
  position: absolute; left: 0; right: 0; bottom: clamp(20px, 4svh, 44px); z-index: 5;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  pointer-events: none;
}
.hero__foot > * { pointer-events: auto; }
.hero__title {
  font-family: var(--f-display);
  font-size: clamp(30px, 3.6vw, 60px); line-height: 1; letter-spacing: -.015em;
}
.hero__cta {
  display: inline-flex; align-items: center;
  min-height: 52px; padding: 0 28px;
  border: 1px solid var(--fg); border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  font-family: var(--f-label); font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast);
}
.hero__cta:hover { background: var(--fg); color: var(--bg); }
.hero__arrow { display: inline-block; margin-left: 4px; animation: bob 1.8s var(--ease-io) infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* Line that appears over the full-screen cover */
.hero__reveal {
  position: absolute; inset: 0; z-index: 5;
  display: grid; place-content: center; text-align: center; padding-inline: var(--gutter);
  font-family: var(--f-display); font-size: clamp(44px, 7vw, 124px); line-height: 1; letter-spacing: -.02em;
  /* Sturdier cut of Bodoni (small optical size = thicker hairlines) so it holds up over a photo */
  font-weight: 500; font-variation-settings: "opsz" 16;
  color: #FBF6EE; text-shadow: 0 1px 24px rgba(20, 15, 12, .55);
  opacity: 0; pointer-events: none;
}

@media (max-width: 720px) {
  .hero { --mast: 25vw; --cw: 54vw; --cy: 53%; }
  .hero__meta-mid { display: none; }
  .print__paper { padding: 5px 5px 22px; }
  .print figcaption { font-size: 10px; left: 6px; right: 6px; bottom: 5px; }
  .hero__mat { height: calc(var(--ch) + 40px); }
  .hero__mat span { font-size: 11px; bottom: 7px; }
  .print--1 { --w: 30vw; left: 3%;  top: max(17%, calc(var(--navh) + 64px)); }
  .print--4 { --w: 25vw; right: 3%; top: max(15%, calc(var(--navh) + 56px)); }
  .print--2 { --w: 38vw; left: 2%;  top: 67%; }
  .print--3 { --w: 28vw; right: 3%; top: 70%; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero__title { font-size: 30px; }
}

/* In this issue */
.issue {
  display: grid; gap: 0; grid-template-columns: 1fr;
  padding-top: clamp(40px, 5vw, 72px);
}
.issue__label { font-family: var(--f-label); font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--accent-fg); padding-bottom: 16px; }
.issue__lines { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--fg); }
.issue__lines li { border-bottom: 1px solid var(--rule); }
.issue__lines li + li { border-left: 1px solid var(--rule); }
.issue__lines a {
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px 24px 26px 0;
  font-family: var(--f-display); font-style: italic; font-size: clamp(19px, 1.6vw, 26px); line-height: 1.2;
  transition: color var(--t-fast), padding var(--t-med) var(--ease-out);
}
.issue__lines li + li a { padding-left: 24px; }
.issue__lines a:hover { color: var(--accent-fg); padding-left: 12px; }
.issue__lines li + li a:hover { padding-left: 36px; }
.issue__lines a span { font-family: var(--f-label); font-style: normal; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-fg); }
@media (max-width: 720px) {
  .issue__lines { grid-template-columns: 1fr; }
  .issue__lines li + li { border-left: 0; }
  .issue__lines li + li a { padding-left: 0; }
}

/* ==========================================================================
   MANIFESTO
   ========================================================================== */
.manifesto__grid { display: grid; gap: 56px; }
@media (min-width: 960px) { .manifesto__grid { grid-template-columns: 4fr 8fr; gap: 80px; align-items: start; } }
.define { border-top: 1px solid var(--fg); padding-top: 20px; max-width: 340px; }
.define__word { font-family: var(--f-display); font-size: 28px; font-style: italic; }
.define__pos { margin-top: 6px; font-size: 15px; color: var(--accent-fg); }
.define__body { margin-top: 18px; font-size: 16px; color: var(--fg-soft); }

.lede {
  margin-top: 28px;
  font-family: var(--f-display);
  font-size: clamp(30px, 3.6vw, 58px); line-height: 1.16; letter-spacing: -.012em;
}
.lede em { color: var(--accent-fg); }

.compare { margin-top: clamp(96px, 11vw, 160px); display: grid; gap: 32px; }
@media (min-width: 800px) { .compare { grid-template-columns: 1fr auto 1fr; gap: 56px; align-items: center; } }
.compare__col { padding: 36px 0; border-top: 1px solid var(--rule-strong); }
.compare__head { font-family: var(--f-label); font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--fg-soft); }
.compare__col ul { margin-top: 22px; display: grid; gap: 12px; }
.compare__col li { font-family: var(--f-display); font-size: clamp(21px, 1.9vw, 30px); line-height: 1.25; }
.compare__col--them li { color: var(--fg-soft); }
.compare__col--them li span { position: relative; }
.compare__col--them li span::after {
  content: ""; position: absolute; left: -2px; right: -2px; top: 55%; height: 1px;
  background: var(--fg-soft);
  transform: scaleX(var(--strike, 1)); transform-origin: left;
}
.compare__col--us { border-top-color: var(--fg); }
.compare__col--us .compare__head { color: var(--accent-fg); }
.compare__col--us li { font-style: italic; }
.compare__vs span {
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  border: 1px solid var(--rule-strong);
  font-family: var(--f-display); font-style: italic; font-size: 22px;
}

/* ==========================================================================
   THE THEATRE — horizontal reel
   ========================================================================== */
.theatre { position: relative; }

.reel { position: relative; padding-block: var(--sec); }
.reel__track {
  display: grid; gap: clamp(72px, 10vw, 120px);
  max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
}
.reel__perf, .reel__progress, .reel__hint { display: none; }
.reel__note { margin-top: 24px; max-width: 36ch; color: var(--fg-soft); }

.film__frame { display: block; width: 100%; position: relative; overflow: hidden; }
.film__media { aspect-ratio: 2.39 / 1; width: 100%; transform-origin: center; }
/* Films framed at 16:9 instead of widescreen (add class "film--169" to the article) */
.film--169 .film__media { aspect-ratio: 16 / 9; }
/* The whole frame lifts toward you on hover, so it reads as clickable. Add class "film--lift". */
.film--lift .film__frame {
  transition: transform 700ms var(--ease-out), box-shadow 700ms var(--ease-out);
  will-change: transform;
}
.film--lift .film__frame:hover,
.film--lift .film__frame:focus-visible {
  transform: scale(1.04);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
}
.film--lift .film__frame:active { transform: scale(1.02); transition-duration: 150ms; }
/* No letterbox bars on hover. Add class "film--nobars". */
.film--nobars .film__frame::before,
.film--nobars .film__frame::after { display: none; }
/* Warm black & white thumbnail (colour appears only when the film plays). Add class "film--mono". */
.film--mono .film__media > img {
  filter: grayscale(1) sepia(.28) contrast(1.06) brightness(1.03);
}
.film__frame::before, .film__frame::after {
  content: ""; position: absolute; left: 0; right: 0; z-index: 2; height: 10%;
  background: #0E0B09;
  transition: transform 600ms var(--ease-out);
}
.film__frame::before { top: 0; transform: translateY(-101%); }
.film__frame::after  { bottom: 0; transform: translateY(101%); }
.film__frame:hover::before, .film__frame:hover::after,
.film__frame:focus-visible::before, .film__frame:focus-visible::after { transform: none; }
.film__frame .film__media { transition: scale 1.4s var(--ease-out); }
.film__frame:hover .film__media { scale: 1.04; }

.film__credits { display: grid; gap: 18px; margin-top: 24px; }
.film__no { font-family: var(--f-label); font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--accent-fg); }
.film__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 4.4vw, 76px); line-height: 1; letter-spacing: -.02em; }
.film__meta { display: flex; flex-wrap: wrap; gap: 14px 40px; }
.film__meta dt { font-family: var(--f-label); font-size: 10px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--fg-soft); }
.film__meta dd { font-size: 17px; }

.reel__outro-big { font-family: var(--f-display); font-size: clamp(40px, 5vw, 84px); line-height: 1; letter-spacing: -.02em; }
.reel__outro .link-arrow { margin-top: 32px; }

/* Horizontal mode (enabled by JS on wide screens) */
.reel.is-horizontal { height: 100svh; padding: 0; overflow: hidden; }
.reel.is-horizontal .reel__track {
  display: flex; align-items: center; gap: 7vw;
  height: 100%; width: max-content; max-width: none;
  padding: 0 8vw; margin: 0;
  position: relative;
}
.reel.is-horizontal .reel__intro  { width: 36vw; flex: none; }
.reel.is-horizontal .film         { width: 60vw; flex: none; }
.reel.is-horizontal .film--169    { width: min(50vw, 118svh); }
/* Narrower frame: stack title above a single row of details */
.reel.is-horizontal .film--169 .film__credits { grid-template-columns: 1fr; row-gap: 14px; }
.reel.is-horizontal .film--169 .film__meta { justify-content: flex-start; flex-wrap: nowrap; gap: 14px 36px; }
.reel.is-horizontal .reel__outro  { width: 34vw; flex: none; }
.reel.is-horizontal .film__credits { grid-template-columns: auto 1fr; align-items: end; column-gap: 48px; }
.reel.is-horizontal .film__no { grid-column: 1 / -1; }
.reel.is-horizontal .film__meta { justify-content: flex-end; }
.reel.is-horizontal .reel__hint {
  display: inline-flex; gap: 12px; margin-top: 48px;
  font-family: var(--f-label); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--fg-soft);
}
.reel.is-horizontal .reel__hint span { animation: nudge 1.8s var(--ease-io) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }

.reel.is-horizontal .reel__perf {
  display: block; position: absolute; left: 0; right: 0; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='14'%3E%3Crect x='6' y='0' width='24' height='14' rx='3' fill='%23F1EADF' fill-opacity='.14'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
}
.reel__perf--top { top: 8svh; }
.reel__perf--bottom { bottom: 8svh; }

.reel.is-horizontal .reel__progress {
  display: flex; align-items: center; gap: 24px;
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 3.2svh;
  font-family: var(--f-label); font-size: 11px; letter-spacing: .26em; color: var(--fg-soft); font-variant-numeric: tabular-nums;
}
.reel__bar { flex: 1; height: 1px; background: var(--rule); position: relative; }
.reel__bar span { position: absolute; inset: 0; background: var(--fg); transform: scaleX(0); transform-origin: left; }

/* ==========================================================================
   INTERLUDE — scattered words assemble
   ========================================================================== */
.interlude {
  position: relative; overflow: hidden;
  height: 100svh; min-height: 560px;
  display: grid; place-items: center;
  color: #FBF6EE;
}
.interlude__media { position: absolute; inset: -8%; }
/* Deeper shade behind the words, softer at the edges */
.interlude::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 50%, rgba(20, 15, 12, .55), rgba(20, 15, 12, .3)); }
.interlude__line {
  position: relative; z-index: 2; text-align: center; padding-inline: var(--gutter);
  font-family: var(--f-display);
  font-size: clamp(44px, 7.4vw, 128px); line-height: 1; letter-spacing: -.02em;
  /* Sturdier cut of Bodoni (small optical size = thicker hairlines) so it holds up over a photo */
  font-weight: 500; font-variation-settings: "opsz" 16;
  text-shadow: 0 1px 24px rgba(20, 15, 12, .55);
}
.interlude__line .word { display: inline-block; will-change: transform, opacity, filter; }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  overflow: hidden;
  padding-block: clamp(28px, 4vw, 56px);
  border-block: 1px solid var(--rule);
  margin-top: clamp(40px, 6vw, 80px);
}
.marquee__track { display: flex; align-items: center; width: max-content; will-change: transform; }
.marquee__track span {
  font-family: var(--f-display); font-size: clamp(64px, 11vw, 190px); line-height: 1;
  letter-spacing: -.03em; white-space: nowrap; padding-inline: .28em;
}
.marquee__track em { color: var(--accent-fg); }
.marquee__star { width: clamp(20px, 2.4vw, 40px); height: auto; fill: var(--accent); flex: none; }

/* ==========================================================================
   STILLS
   ========================================================================== */
.plates {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2vw, 32px); row-gap: clamp(56px, 7vw, 120px);
}
.plate__frame { overflow: hidden; }
/* A light warm grade so photos from different weddings read as one gallery on the ivory page.
   Delete this rule to show the photos exactly as exported. */
.stills .media > img { filter: sepia(.14) saturate(.88) contrast(1.02); }
.plate__frame .media { width: 100%; }
.plate figcaption {
  margin-top: 14px; font-family: var(--f-display); font-style: italic; font-size: 17px; color: var(--fg-soft);
}
.plate figcaption span { font-family: var(--f-label); font-style: normal; font-size: 11px; letter-spacing: .2em; color: var(--accent-fg); margin-right: 8px; }

.plate--1 { grid-column: 1 / span 5; }                     .plate--1 .media { aspect-ratio: 4/5; }
.plate--2 { grid-column: 7 / span 6; align-self: end; }    .plate--2 .media { aspect-ratio: 3/2; }
.plate--3 { grid-column: 2 / span 4; }                     .plate--3 .media { aspect-ratio: 2/3; }
.plate--4 { grid-column: 7 / span 4; align-self: center; } .plate--4 .media { aspect-ratio: 1/1; }
.plate--5 { grid-column: 1 / span 8; }                     .plate--5 .media { aspect-ratio: 16/9; }
.plate--6 { grid-column: 9 / span 4; align-self: end; }    .plate--6 .media { aspect-ratio: 4/5; }
@media (max-width: 720px) {
  .plates { grid-template-columns: repeat(6, 1fr); row-gap: 48px; }
  .plate--1 { grid-column: 1 / span 5; }
  .plate--2 { grid-column: 2 / span 5; }
  .plate--3 { grid-column: 1 / span 3; }
  .plate--4 { grid-column: 4 / span 3; }
  .plate--5 { grid-column: 1 / -1; }
  .plate--6 { grid-column: 2 / span 4; }
}

/* ==========================================================================
   THE HOUSE
   ========================================================================== */
.house { background: var(--paper-2); color: var(--ink); }
.house__grid { display: grid; gap: 56px; }
@media (min-width: 960px) { .house__grid { grid-template-columns: 5fr 6fr; gap: clamp(56px, 8vw, 140px); align-items: center; } }
.house__portrait .media { aspect-ratio: 4/5; }
.house__portrait figcaption { margin-top: 12px; font-family: var(--f-label); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-soft); }
.letter { margin-top: 36px; display: grid; gap: 22px; max-width: 34em; }
.letter p { font-size: 1.1em; line-height: 1.7; }
.signature { margin-top: 40px; font-size: 16px; color: var(--fg-soft); }
.signature span { display: block; margin-top: 6px; font-family: var(--f-display); font-style: italic; font-size: clamp(38px, 3.6vw, 56px); line-height: 1; color: var(--fg); }
.house__role { margin-top: 10px; font-family: var(--f-label); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-fg); }

/* ==========================================================================
   EXPERIENCE
   ========================================================================== */
.steps { display: grid; }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 32px; } }
.step { position: relative; padding: 32px 0 36px; border-top: 1px solid var(--rule); }
.step__rule { position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--fg); transform-origin: left; }
.step__no { font-family: var(--f-display); font-style: italic; font-size: 40px; line-height: 1; color: var(--accent); }
.step h3 { margin-top: 28px; font-family: var(--f-label); font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.step p { margin-top: 14px; font-size: 16px; color: var(--fg-soft); line-height: 1.6; }
@media (max-width: 999px) {
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; }
  .step__no { grid-row: span 2; }
  .step h3 { margin-top: 8px; }
}

/* ==========================================================================
   COMMISSIONS
   ========================================================================== */
.commission { background: var(--ink); color: var(--paper); }
.commission .eyebrow { color: var(--gilt); }
.commission__head { text-align: center; max-width: 880px; margin: 0 auto clamp(64px, 8vw, 120px); }
.commission__price {
  margin-top: 22px; font-family: var(--f-display);
  font-size: clamp(54px, 8.6vw, 140px); line-height: .95; letter-spacing: -.02em;
}
.gilt {
  background: linear-gradient(100deg, #A88D5E 0%, #D8C7A2 30%, #FFF3D6 45%, #D8C7A2 60%, #A88D5E 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: gilt 5s var(--ease-io) infinite;
  padding-right: .06em;
}
@keyframes gilt { 0% { background-position: 100% 0; } 60%, 100% { background-position: 0% 0; } }
.commission__note { margin-top: 24px; color: rgba(244, 239, 230, .78); }

.collections { display: grid; border-top: 1px solid rgba(244, 239, 230, .22); }
@media (min-width: 900px) { .collections { grid-template-columns: repeat(4, 1fr); } }
.collections li {
  position: relative; isolation: isolate;
  padding: 36px 28px 40px 0;
  border-bottom: 1px solid rgba(244, 239, 230, .22);
}
.collections li::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(244, 239, 230, .05);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 700ms var(--ease-out);
}
.collections li:hover::before { transform: scaleY(1); }
@media (min-width: 900px) {
  .collections li { border-bottom: 0; padding-left: 28px; }
  .collections li + li { border-left: 1px solid rgba(244, 239, 230, .22); }
}
.collections__no { font-family: var(--f-label); font-size: 11px; letter-spacing: .26em; color: var(--gilt); }
.collections h3 { margin-top: 18px; font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 2.4vw, 38px); line-height: 1.1; }
.collections p { margin-top: 14px; font-size: 16px; color: rgba(244, 239, 230, .78); }
.commission__cta { margin-top: clamp(56px, 7vw, 96px); text-align: center; }

/* ==========================================================================
   LETTERS
   ========================================================================== */
.letters__inner { text-align: center; max-width: 1100px; }
.letters__stage { margin-top: 48px; min-height: 17em; display: grid; }
.letter-card { grid-area: 1 / 1; }
.letter-card blockquote {
  font-family: var(--f-display); font-size: clamp(28px, 3.8vw, 58px); line-height: 1.18; letter-spacing: -.01em;
  text-wrap: balance;
}
.letter-card blockquote em { color: var(--accent-fg); }
.letter-card figcaption { margin-top: 36px; font-family: var(--f-label); font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.letter-card figcaption span { display: block; margin-top: 8px; color: var(--fg-soft); font-weight: 400; }
.letters__controls { margin-top: 48px; display: flex; align-items: center; justify-content: center; gap: 28px; }
.letters__count { font-family: var(--f-label); font-size: 12px; letter-spacing: .2em; font-variant-numeric: tabular-nums; min-width: 72px; }

/* ==========================================================================
   INQUIRE
   ========================================================================== */
.inquire { background: var(--paper-2); color: var(--ink); }
.inquire__grid { display: grid; gap: 64px; }
@media (min-width: 1000px) { .inquire__grid { grid-template-columns: 5fr 7fr; gap: clamp(64px, 8vw, 140px); } }
.inquire__copy { margin-top: 28px; max-width: 30em; color: var(--fg-soft); }
.inquire__details { margin-top: 48px; border-top: 1px solid var(--rule); }
.inquire__details div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.inquire__details dt { font-family: var(--f-label); font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--fg-soft); padding-top: 4px; }
.inquire__details dd { font-size: 17px; text-align: right; }
.inquire__details a { border-bottom: 1px solid var(--rule-strong); }
.inquire__details a:hover { border-color: var(--fg); }

.form { display: grid; gap: 32px; align-content: start; }
.form__row { display: grid; gap: 32px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; position: relative; }
.field label { font-family: var(--f-label); font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-soft); }
.field label span { color: var(--oxblood); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 0;
  background: transparent; border: 0; border-bottom: 1px solid var(--rule-strong); border-radius: 0;
  font-size: 18px; -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(var(--ink), var(--ink));
  background-size: 0% 1px; background-repeat: no-repeat; background-position: left bottom;
  transition: background-size 700ms var(--ease-out);
}
.field select {
  background-image: linear-gradient(var(--ink), var(--ink)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%232B2420' stroke-width='1.2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-size: 0% 1px, auto; background-position: left bottom, right 4px center;
  padding-right: 28px; cursor: pointer;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: rgba(90, 78, 69, .72); font-style: italic; }
.field input:focus, .field textarea:focus { outline: none; background-size: 100% 1px; }
.field select:focus { outline: none; background-size: 100% 1px, auto; }
.field.has-error input { border-color: var(--oxblood); }
.field__err { font-size: 14px; color: var(--oxblood); }
.field__err:empty { display: none; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 8px; }
.form__status { font-style: italic; color: var(--fg-soft); }
.form__status.is-error { color: var(--oxblood); }

/* ==========================================================================
   CREDITS
   ========================================================================== */
.credits { padding: clamp(96px, 11vw, 160px) 0 32px; overflow: hidden; }
.credits__mark { width: 72px; margin: 0 auto 48px; color: var(--fg); }
.credits__roll { display: grid; gap: 28px; text-align: center; }
.credits__roll dt { font-family: var(--f-label); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--fg-soft); }
.credits__roll dd { margin-top: 6px; font-family: var(--f-display); font-size: clamp(20px, 1.8vw, 26px); }
.credits__roll a { border-bottom: 1px solid var(--rule-strong); }
.credits__word {
  margin-top: clamp(64px, 8vw, 120px);
  font-family: var(--f-display); font-size: clamp(80px, 23vw, 370px); line-height: .8; letter-spacing: -.035em;
  text-align: center; color: var(--fg); user-select: none;
  overflow: hidden; padding-top: .04em;
}
.credits__word .char { display: inline-block; }
.credits__base {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-family: var(--f-label); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-soft);
}
.credits__base ul { display: flex; gap: 28px; }
.credits__base a { padding: 12px 0; }
.credits__base a:hover { color: var(--fg); }

/* ==========================================================================
   FILM VIEWER
   ========================================================================== */
.viewer {
  width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh;
  margin: 0; padding: 0; border: 0; background: #120E0B; color: var(--paper);
}
.viewer::backdrop { background: #120E0B; }
.viewer[open] { display: flex; flex-direction: column; animation: viewerIn 600ms var(--ease-out); }
@keyframes viewerIn { from { opacity: 0; clip-path: inset(50% 0 50% 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
.viewer__bar { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); }
.viewer__title { font-family: var(--f-display); font-size: 22px; }
.viewer__close { min-height: 48px; padding: 0 4px; font-family: var(--f-label); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; border-bottom: 1px solid rgba(244,239,230,.4); }
.viewer__screen { flex: 1; display: grid; place-items: center; padding: 0 var(--gutter) var(--gutter); }
/* Sized to each film's own shape (--ratio, set from FILMS in main.js) so there are no black bars */
.viewer__frame { --ratio: 2.39; width: min(100%, calc((100dvh - 120px) * var(--ratio))); aspect-ratio: var(--ratio); position: relative; background: #0A0806; }
.viewer__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.viewer__empty {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; text-align: center; padding: 24px;
  font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 34px); font-style: italic;
}
.viewer__empty small { font-family: var(--f-label); font-style: normal; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; opacity: .7; }

/* ==========================================================================
   READABILITY
   Bodoni's default cut has hairline strokes that thin out, especially on
   phones. Use its sturdier small-size cut (thicker hairlines) everywhere.
   Inherited by all text; Newsreader is barely affected and Jost ignores it.
   The giant display pieces get a middle setting so they stay elegant and
   keep their width.
   ========================================================================== */
body { font-variation-settings: "opsz" 18; }
.hero__mast > span, .credits__word, .marquee__track span, .preloader__count {
  font-variation-settings: "opsz" 40;
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  :root { transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
  body::after { animation: none; }
}
