/* ==========================================================================
   MODERN VESTIGE PUBLISHING — Edition II
   An elevated editorial treatment. Static, dependency-free, Cloudflare-ready.
   ========================================================================== */

/* ── 1. Tokens ─────────────────────────────────────────────────────────── */
:root {
  /* ink — cool, deep, layered */
  --ink-000: #050407;
  --ink-100: #0a0810;
  --ink-200: #100d17;
  --ink-300: #17131f;
  --ink-400: #201a2b;

  /* metal */
  --gold-100: #f0dcae;
  --gold-200: #e3c67f;
  --gold-300: #cda855;
  --gold-400: #b08a3c;
  --gold-500: #7d6128;
  --gold-line: rgba(205, 168, 85, 0.26);
  --gold-glow: rgba(205, 168, 85, 0.10);

  /* paper */
  --bone: #f2ece1;
  --bone-2: #cbc2b1;
  --bone-3: #9a9182;
  --bone-4: #6d6559;

  --rule: rgba(242, 236, 225, 0.09);
  --rule-2: rgba(242, 236, 225, 0.055);

  --f-display: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --f-text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --measure: 68ch;
  --wrap: 1320px;
  --gutter: clamp(22px, 5.5vw, 84px);
  --rail: clamp(0px, 5vw, 74px);   /* left margin rail for section numbers */
  --e-out: cubic-bezier(0.16, 1, 0.3, 1);
  --e-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ── 2. Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--ink-100);
  color: var(--bone);
  font: 400 clamp(0.98rem, 0.34vw + 0.86rem, 1.06rem)/1.78 var(--f-text);
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--gold-300); color: var(--ink-000); }
:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; border-radius: 2px; }

/* ── 3. Atmosphere ─────────────────────────────────────────────────────── */
/* vignette + film grain, fixed above content, below pointer */
.grain { position: relative; }
.grain::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background:
    radial-gradient(130% 100% at 50% 0%, transparent 42%, rgba(5,4,7,0.55) 100%),
    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='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: cover, 200px 200px;
  opacity: 0.5;
  mix-blend-mode: normal;
}
.grain::before {
  content: ""; position: fixed; inset: 0; z-index: 89; pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── 4. Type ───────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.022em;
  margin: 0 0 0.45em;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 9.2vw, 7.6rem); }
h2 { font-size: clamp(2.1rem, 5.2vw, 4.1rem); }
h3 { font-size: clamp(1.28rem, 2.1vw, 1.72rem); line-height: 1.14; letter-spacing: -0.012em; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

.display-em { font-style: italic; font-weight: 400; color: var(--gold-200); }
.lede { font-size: clamp(1.06rem, 1.5vw, 1.24rem); line-height: 1.76; color: var(--bone-2); font-weight: 350; }
.smallcaps {
  font-size: 0.655rem; font-weight: 500; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold-300);
}
.muted { color: var(--bone-3); }
.measure { max-width: var(--measure); }
i, em { font-style: italic; }

/* ── 5. Layout ─────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--read { max-width: 900px; }
.section { padding-block: clamp(76px, 10vw, 152px); position: relative; }
.section--edge { border-top: 1px solid var(--rule-2); }

/* numbered left rail */
.rail { position: relative; }
@media (min-width: 1080px) {
  .rail { padding-left: var(--rail); }
  .rail::before {
    content: attr(data-index);
    position: absolute; left: 0; top: 0.5em;
    font-family: var(--f-display); font-size: 0.92rem; font-weight: 500;
    letter-spacing: 0.16em; color: var(--gold-400);
    writing-mode: vertical-rl; text-orientation: mixed;
    border-left: 1px solid var(--gold-line); padding-left: 12px;
  }
}
.grid { display: grid; gap: clamp(24px, 3vw, 44px); }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g-3 { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.split {
  display: grid; gap: clamp(30px, 5vw, 76px);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
}
.split--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 860px) { .split--wide { grid-template-columns: 1fr; } }
.stack > * + * { margin-top: 1.2rem; }

.hairline { height: 1px; border: 0; background: var(--rule); margin: 0; }
.vrule { width: 1px; background: linear-gradient(180deg, transparent, var(--gold-line) 18%, var(--gold-line) 82%, transparent); }

/* ── 6. Scroll progress ────────────────────────────────────────────────── */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%; z-index: 95;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-100));
}

/* ── 7. Header ─────────────────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 80;
  background: color-mix(in srgb, var(--ink-100) 82%, transparent);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--rule-2);
}
.header__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 82px;
}
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--gold-line);
  box-shadow: 0 0 0 4px rgba(5,4,7,0.6);
}
.brand__t { display: grid; line-height: 1.08; }
.brand__n { font-family: var(--f-display); font-size: 1.22rem; letter-spacing: 0.03em; }
.brand__s { font-size: 0.53rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-300); }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.nav a {
  position: relative;
  font-size: 0.7rem; font-weight: 450; letter-spacing: 0.17em;
  text-transform: uppercase; color: var(--bone-3);
  padding: 8px 0;
  transition: color 0.35s var(--e-out);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 2px;
  width: 100%; height: 1px; background: var(--gold-300);
  transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform 0.45s var(--e-out);
}
.nav a:hover, .nav a:focus-visible { color: var(--bone); }
.nav a:hover::after, .nav a:focus-visible::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav a[aria-current="page"] { color: var(--gold-200); }
.nav .nav--cta {
  border: 1px solid var(--gold-line); padding: 11px 22px; border-radius: 999px;
  color: var(--gold-200); transition: background .4s var(--e-out), color .4s var(--e-out), border-color .4s var(--e-out);
}
.nav .nav--cta::after { display: none; }
.nav .nav--cta:hover { background: var(--gold-300); border-color: var(--gold-300); color: var(--ink-000); }

.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--rule); border-radius: 999px; place-items: center; }
.burger i { display: block; width: 17px; height: 1px; background: var(--gold-200); position: relative; transition: background .2s; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; width: 100%; height: 100%; background: inherit; transition: transform .4s var(--e-out); }
.burger i::before { transform: translateY(-6px); }
.burger i::after { transform: translateY(6px); }
.burger[aria-expanded="true"] i { background: transparent; }
.burger[aria-expanded="true"] i::before { transform: rotate(45deg); }
.burger[aria-expanded="true"] i::after { transform: rotate(-45deg); }

@media (max-width: 940px) {
  .burger { display: grid; }
  .nav {
    position: fixed; inset: 82px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-200); border-bottom: 1px solid var(--rule);
    padding: 6px var(--gutter) 30px;
    transform: translateY(-140%); transition: transform .5s var(--e-out);
    max-height: calc(100dvh - 82px); overflow-y: auto;
  }
  .nav[data-open="true"] { transform: translateY(0); }
  .nav a { padding: 17px 0; border-bottom: 1px solid var(--rule-2); font-size: 0.8rem; }
  .nav a::after { display: none; }
  .nav .nav--cta { margin-top: 20px; text-align: center; }
}

/* ── 8. Buttons ────────────────────────────────────────────────────────── */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 34px; border-radius: 999px;
  border: 1px solid var(--gold-line);
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-200);
  transition: color .45s var(--e-out), border-color .45s var(--e-out), transform .45s var(--e-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--gold-300), var(--gold-100));
  transform: translateY(101%); transition: transform .5s var(--e-out);
}
.btn:hover, .btn:focus-visible { color: var(--ink-000); border-color: var(--gold-300); transform: translateY(-2px); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn--fill { background: linear-gradient(120deg, var(--gold-300), var(--gold-100)); color: var(--ink-000); border-color: transparent; }
.btn--fill::before { background: linear-gradient(120deg, var(--gold-100), #fff4d8); }
.btn--quiet { border-color: rgba(242,236,225,0.22); color: var(--bone-2); backdrop-filter: blur(4px); }
.btn--quiet::before { display: none; }
.btn--quiet:hover { color: var(--gold-200); border-color: var(--gold-line); background: rgba(205,168,85,0.07); }
.btn i { font-style: normal; transition: transform .45s var(--e-out); }
.btn:hover i { transform: translateX(6px); }

.tlink { position: relative; display: inline-block; color: var(--gold-200); font-size: 0.78rem; letter-spacing: .14em; text-transform: uppercase; }
.tlink::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .5s var(--e-out); }
.tlink:hover::after { transform: scaleX(1); transform-origin: 0 50%; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--gold-200); color: var(--ink-000); padding: 12px 22px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.skip:focus { left: 14px; top: 14px; }

/* ── 9. Hero ───────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: clamp(560px, 92svh, 1000px); display: grid; align-items: end; overflow: clip; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; filter: saturate(0.86) contrast(1.06) brightness(0.72); }
/* The loop is a 512×766 portrait plate. On a wide hero, `cover` shows the full
   width and a ~42% centre band — which is the text-free middle of the frame, so
   the burned-in logo and captions are cropped out cleanly rather than sliced. */
.hero__loop {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 46%;
  filter: saturate(0.9) contrast(1.04) brightness(0.62);
}
.hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, var(--ink-100) 0%, transparent 22%, transparent 42%, var(--ink-100) 97%),
    radial-gradient(80% 70% at 78% 30%, rgba(205,168,85,0.13), transparent 62%),
    linear-gradient(90deg, rgba(5,4,7,0.82) 0%, rgba(5,4,7,0.22) 62%, transparent 100%);
}
/* WCAG 2.2.2: auto-starting motion needs a way to stop it. */
/* Hidden unless JS is running — without JS it cannot do anything. */
.hero__pause { display: none; }
.js .hero__pause {
  position: absolute; z-index: 4; right: var(--gutter); bottom: clamp(58px, 7vw, 78px);
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px 9px 12px; border-radius: 999px;
  background: rgba(5,4,7,0.55); border: 1px solid var(--rule);
  backdrop-filter: blur(8px);
  font-size: 0.54rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bone-3);
  transition: color .3s var(--e-out), border-color .3s var(--e-out);
}
.hero__pause:hover { color: var(--gold-200); border-color: var(--gold-line); }
.hero__pause i { display: block; width: 8px; height: 9px; position: relative; flex-shrink: 0; }
.hero__pause i::before, .hero__pause i::after {
  content: ""; position: absolute; top: 0; width: 2.5px; height: 100%; background: currentColor;
}
.hero__pause i::before { left: 0; }
.hero__pause i::after  { right: 0; }
.hero__pause[data-paused="true"] i::before {
  width: 0; height: 0; background: transparent;
  border-left: 7px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent;
  top: 1px;
}
.hero__pause[data-paused="true"] i::after { display: none; }
@media (max-width: 760px) { .js .hero__pause { display: none; } }
.hero__in { position: relative; z-index: 2; padding-block: clamp(60px, 9vw, 120px); }
.hero__kicker { display: flex; align-items: center; gap: 16px; margin-bottom: clamp(20px, 3vw, 34px); }
.hero__kicker span { font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-300); }
.hero__kicker::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold-line), transparent); max-width: 260px; }
.hero h1 { margin: 0 0 0.28em; }
.hero h1 .l2 { display: block; font-style: italic; font-weight: 400; color: var(--gold-200); padding-left: clamp(0px, 7vw, 132px); }
.hero__foot { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 60px); align-items: end; margin-top: clamp(28px, 4vw, 46px); }
@media (max-width: 900px) { .hero__foot { grid-template-columns: 1fr; } }
.hero__foot .lede { max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 620px) { .hero__cta .btn { flex: 1 1 100%; justify-content: center; } }

.hero__meta {
  position: absolute; right: var(--gutter); bottom: clamp(20px, 4vw, 44px); z-index: 3;
  display: flex; align-items: center; gap: 14px;
  font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bone-4);
}
.hero__meta b { color: var(--gold-300); font-weight: 500; }
@media (max-width: 760px) { .hero__meta { display: none; } }

/* ── 10. Ticker ────────────────────────────────────────────────────────── */
.ticker { position: relative; z-index: 3; border-block: 1px solid var(--rule); background: var(--ink-200); overflow: clip; }
.ticker__t { display: flex; width: max-content; animation: slide 44s linear infinite; }
.ticker:hover .ticker__t { animation-play-state: paused; }
.ticker__i {
  display: inline-flex; align-items: center; gap: 26px;
  padding: 17px 26px; white-space: nowrap;
  font-size: 0.62rem; font-weight: 450; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--bone-4);
}
.ticker__i::after { content: "◆"; color: var(--gold-500); font-size: 0.44rem; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__t { animation: none; } }

/* ── 11. Credo / editorial ─────────────────────────────────────────────── */
.credo__body { font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.82; color: var(--bone-2); max-width: 60ch; }
.credo__body p:first-of-type::first-letter {
  float: left; font-family: var(--f-display); font-size: 4.6em; line-height: 0.78;
  padding: 0.06em 0.12em 0 0; color: var(--gold-200); font-weight: 500;
}
.dropcap p { margin-bottom: 1.3em; }

.pull {
  position: relative; margin: 0; padding-left: clamp(20px, 3vw, 40px);
  border-left: 1px solid var(--gold-line);
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.6rem, 3.7vw, 2.75rem); line-height: 1.24; color: var(--bone);
}
.pull::before { content: "“"; position: absolute; left: -0.02em; top: -0.34em; font-size: 3.4em; color: var(--gold-500); opacity: .5; font-style: normal; }

.marginalia {
  border-left: 1px solid var(--gold-line); padding-left: 18px;
  font-family: var(--f-display); font-style: italic; font-size: 1.16rem;
  color: var(--bone-3); line-height: 1.5;
}

/* ── 12. Figures ───────────────────────────────────────────────────────── */
.figure { position: relative; margin: 0; overflow: clip; border-radius: 3px; background: var(--ink-300); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--r { aspect-ratio: 3/4; }
.figure--w { aspect-ratio: 4/3; }
.figure--tall { aspect-ratio: 2/3; }
.figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px var(--rule), inset 0 -70px 90px -70px rgba(5,4,7,0.9);
}
.figure--float { animation: drift 15s var(--e-io) infinite alternate; }
@keyframes drift { to { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .figure--float { animation: none; } }
.fig-cap { margin-top: 14px; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-4); }

/* ── 13. Service cards ─────────────────────────────────────────────────── */
.card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(26px, 2.8vw, 38px);
  border: 1px solid var(--rule-2); border-radius: 3px;
  background: linear-gradient(168deg, var(--ink-300), var(--ink-100) 88%);
  overflow: hidden;
  transition: border-color .55s var(--e-out), transform .55s var(--e-out);
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(90% 80% at 50% 0%, var(--gold-glow), transparent 70%);
  transition: opacity .55s var(--e-out);
}
.card:hover { border-color: var(--gold-line); transform: translateY(-6px); }
.card:hover::before { opacity: 1; }
.card__n {
  position: relative; font-family: var(--f-display); font-size: 0.92rem; letter-spacing: 0.2em;
  color: var(--gold-400); margin-bottom: 1.4rem;
}
.card h3 { position: relative; margin: 0 0 0.55rem; }
.card p { position: relative; font-size: 0.9rem; color: var(--bone-3); line-height: 1.72; margin: 0; }

/* ── 14. Service index (30 rows) ───────────────────────────────────────── */
.index { border-top: 1px solid var(--rule); }
.row {
  border-bottom: 1px solid var(--rule-2);
  transition: background .5s var(--e-out);
}
.row:hover { background: linear-gradient(90deg, rgba(205,168,85,0.045), transparent 65%); }
.row__s {
  display: grid; grid-template-columns: 62px 1fr auto; gap: clamp(14px, 2.4vw, 34px);
  align-items: center; padding: clamp(20px, 2.4vw, 30px) clamp(6px, 1.4vw, 18px);
  cursor: pointer; list-style: none;
}
.row__s::-webkit-details-marker { display: none; }
.row__n { font-family: var(--f-display); font-size: 1.5rem; color: var(--gold-400); line-height: 1; }
.row__t { font-family: var(--f-display); font-size: clamp(1.1rem, 1.9vw, 1.5rem); line-height: 1.2; letter-spacing: -0.012em; }
.row__x {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--rule);
  display: grid; place-items: center; color: var(--gold-300); font-size: 1.1rem; line-height: 1;
  transition: transform .5s var(--e-out), background .4s var(--e-out), color .4s var(--e-out), border-color .4s var(--e-out);
}
.row[open] .row__x { transform: rotate(135deg); background: var(--gold-300); border-color: var(--gold-300); color: var(--ink-000); }
.row[open] .row__n { color: var(--gold-200); }
.row__body { padding: 0 clamp(6px, 1.4vw, 18px) clamp(26px, 3vw, 38px) calc(62px + clamp(14px, 2.4vw, 34px)); max-width: 74ch; }
.row__body p { color: var(--bone-3); font-size: 0.94rem; }
@media (max-width: 640px) {
  .row__s { grid-template-columns: 40px 1fr auto; }
  .row__n { font-size: 1.05rem; }
  .row__body { padding-left: 40px; }
}

/* ── 15. Products ──────────────────────────────────────────────────────── */
.shelf { display: grid; gap: clamp(22px, 2.6vw, 40px); grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); }
.book { display: flex; flex-direction: column; }
.book__m {
  position: relative; aspect-ratio: 3/4; overflow: clip;
  border-radius: 3px; background: var(--ink-300);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,0.95);
  transition: transform .7s var(--e-out), box-shadow .7s var(--e-out);
}
.book__m img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--e-out), filter .6s var(--e-out); filter: saturate(.9) brightness(.94); }
.book:hover .book__m { transform: translateY(-10px) scale(1.012); box-shadow: 0 40px 80px -34px rgba(0,0,0,1); }
.book:hover .book__m img { transform: scale(1.05); filter: saturate(1.05) brightness(1); }
.book__badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(5,4,7,0.72); border: 1px solid var(--gold-line);
  backdrop-filter: blur(8px);
  font-size: 0.54rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-200);
}
.book__b { padding-top: 18px; display: flex; flex-direction: column; flex: 1; }
.book__c { font-size: 0.56rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-300); }
.book__n { font-family: var(--f-display); font-size: 1.16rem; line-height: 1.24; margin: 0.6rem 0 0.45rem; }
.book__d { font-size: 0.85rem; color: var(--bone-3); line-height: 1.66; margin: 0 0 1rem; }
.book__f { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: auto; }
.price { font-family: var(--f-display); font-size: 1.5rem; color: var(--gold-200); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 10px 22px; border-radius: 999px; border: 1px solid var(--rule);
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-3);
  transition: border-color .4s var(--e-out), color .4s var(--e-out), background .4s var(--e-out);
}
.chip:hover { border-color: var(--gold-line); color: var(--gold-200); }
.chip[aria-pressed="true"] { background: var(--gold-300); border-color: var(--gold-300); color: var(--ink-000); }

/* ── 16. Product detail ────────────────────────────────────────────────── */
.pdp { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr); gap: clamp(30px, 5.4vw, 84px); align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } }
.pdp__m { border-radius: 3px; overflow: clip; box-shadow: 0 34px 80px -36px rgba(0,0,0,1); }
.pdp__m img { width: 100%; }
.pdp__flat { margin-top: 18px; max-width: 216px; border-radius: 3px; overflow: clip; border: 1px solid var(--rule); }
.pdp h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.pdp__tag { font-family: var(--f-display); font-style: italic; font-size: clamp(1.1rem, 1.9vw, 1.42rem); color: var(--gold-200); line-height: 1.44; margin: 0 0 1.6rem; max-width: 34ch; }
.pdp__price { font-family: var(--f-display); font-size: 2.4rem; color: var(--gold-100); margin: 0 0 1.6rem; }
.pdp__act { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.4rem; }
.spec { margin: 2.4rem 0 0; display: grid; gap: 1px; background: var(--rule-2); border: 1px solid var(--rule-2); border-radius: 3px; overflow: clip; }
.spec > div { display: flex; justify-content: space-between; gap: 20px; padding: 15px 20px; background: var(--ink-200); }
.spec dt { font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bone-4); align-self: center; }
.spec dd { margin: 0; text-align: right; font-size: 0.9rem; }

/* ── 17. Phases ────────────────────────────────────────────────────────── */
.phase { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 44px); padding-block: clamp(30px, 4vw, 52px); border-top: 1px solid var(--rule-2); }
.phase:last-of-type { border-bottom: 1px solid var(--rule-2); }
.phase__d {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--gold-line);
  display: grid; place-items: center; font-family: var(--f-display); font-size: 1.1rem; color: var(--gold-300);
  box-shadow: inset 0 0 22px rgba(205,168,85,0.09);
}
.phase h3 { margin: 0 0 0.5rem; }
.phase p { color: var(--bone-3); max-width: 66ch; margin: 0; }

/* ── 18. Forms ─────────────────────────────────────────────────────────── */
.form { display: grid; gap: 22px; }
.f-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; }
.f { display: grid; gap: 9px; }
.f label { font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bone-2); }
.f .req { color: var(--gold-300); }
.f :is(input, select, textarea) {
  width: 100%; padding: 15px 17px; font: inherit; font-size: 0.93rem;
  color: var(--bone); background: var(--ink-200);
  border: 1px solid var(--rule); border-radius: 3px;
  transition: border-color .35s var(--e-out), background .35s var(--e-out);
}
.f textarea { min-height: 156px; resize: vertical; }
.f :is(input, textarea)::placeholder { color: var(--bone-4); }
.f :is(input, select, textarea):focus { outline: none; border-color: var(--gold-400); background: var(--ink-300); }
.f select {
  appearance: none; padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23cda855' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.note { font-size: 0.76rem; color: var(--bone-4); margin: 0; }
.form__msg {
  display: none; padding: 15px 19px; border-radius: 3px; font-size: 0.87rem;
  border: 1px solid var(--gold-line); background: rgba(205,168,85,0.07); color: var(--gold-200);
}
.form__msg[data-show="true"] { display: block; }
.form__msg[data-kind="error"] { border-color: rgba(180,100,44,.5); background: rgba(180,100,44,.1); color: #e8a273; }

/* ── 19. Info / socials ────────────────────────────────────────────────── */
.info { margin: 0; display: grid; gap: 1px; background: var(--rule-2); border: 1px solid var(--rule-2); border-radius: 3px; overflow: clip; }
.info > div { display: flex; justify-content: space-between; gap: 20px; padding: 17px 21px; background: var(--ink-200); }
.info dt { font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bone-4); align-self: center; }
.info dd { margin: 0; text-align: right; font-size: 0.92rem; }
.info a { border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.info a:hover { color: var(--gold-200); border-bottom-color: var(--gold-400); }
.socials { display: flex; flex-wrap: wrap; gap: 11px; }
.socials a { padding: 11px 20px; border: 1px solid var(--rule); border-radius: 999px; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-3); transition: border-color .35s var(--e-out), color .35s var(--e-out); }
.socials a:hover { border-color: var(--gold-line); color: var(--gold-200); }
.socials__soon { display: block; padding: 11px 20px; border: 1px dashed var(--rule); border-radius: 999px; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-4); }

/* ── 20. CTA band ──────────────────────────────────────────────────────── */
.band {
  position: relative; overflow: clip; text-align: center;
  border: 1px solid var(--rule-2); border-radius: 4px;
  padding: clamp(40px, 6.5vw, 88px) clamp(24px, 5vw, 70px);
  background:
    radial-gradient(120% 130% at 50% 0%, rgba(205,168,85,0.14), transparent 62%),
    linear-gradient(180deg, var(--ink-300), var(--ink-200));
}
.band::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid var(--rule-2);
  border-radius: 2px; pointer-events: none;
}
.band h2 { max-width: 20ch; margin-inline: auto; }
.band p { max-width: 58ch; margin-inline: auto; color: var(--bone-2); }
.band__act { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: clamp(28px, 3.4vw, 44px); }

/* ── 20b. Studio film ──────────────────────────────────────────────────── */
/* Both tracks must be flexible fr. With `auto` on the text side, its
   max-content width (a long paragraph) eats all free space and the media
   column collapses to 0 — which silently hides the video. */
.films { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); gap: clamp(28px, 4.6vw, 64px); align-items: center; }
@media (max-width: 980px) { .films { grid-template-columns: 1fr; } }
.film__pair { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(20px, 2.6vw, 40px); align-items: end; }
@media (max-width: 620px) { .film__pair { grid-template-columns: 1fr; } }

.film__stage {
  position: relative; aspect-ratio: 1 / 1; overflow: clip;
  border: 1px solid var(--rule); border-radius: 3px; background: var(--ink-300);
  box-shadow: 0 40px 90px -44px rgba(0,0,0,1);
}
/* The reel is 2:3 with its logo at the top and captions at the bottom.
   It must never be cropped — contain, full frame, exact ratio. */
.film__stage--reel {
  aspect-ratio: 360 / 538; width: clamp(150px, 14vw, 205px);
  border-radius: 14px; border-color: rgba(205,168,85,0.34);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,1), 0 0 0 1px rgba(205,168,85,0.08);
}
.film__stage video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.film__badge {
  position: absolute; top: 14px; left: 14px; z-index: 2; pointer-events: none;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(5,4,7,0.7); border: 1px solid var(--gold-line);
  backdrop-filter: blur(8px);
  font-size: 0.54rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-200);
}
.film__stage--reel .film__badge { top: 10px; left: 10px; font-size: 0.48rem; padding: 5px 9px; }
.film h2 { max-width: 17ch; }
.film__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--rule-2);
  font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-4);
}
.film__meta b { color: var(--gold-300); font-weight: 500; }
.film__transcript { margin-top: 1.4rem; }
.film__transcript summary {
  cursor: pointer; list-style: none; font-size: 0.64rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--bone-3);
  border-bottom: 1px solid var(--rule); padding-bottom: 8px;
  transition: color .3s, border-color .3s;
}
.film__transcript summary::-webkit-details-marker { display: none; }
.film__transcript summary:hover { color: var(--gold-200); border-bottom-color: var(--gold-line); }
.film__transcript p { margin-top: 1.1rem; color: var(--bone-3); font-size: 0.92rem; max-width: 58ch; }
.film__cap { margin-top: 12px; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-4); }
.film__cap b { color: var(--gold-300); font-weight: 500; display: block; margin-bottom: 4px; letter-spacing: 0.22em; }

/* ── 21. Footer ────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--rule); background: var(--ink-200); padding-block: clamp(48px, 6vw, 80px) 32px; }
.footer__g { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(148px, 1fr)); gap: clamp(28px, 4vw, 56px); }
@media (max-width: 620px) { .footer__g { grid-template-columns: 1fr; } }
.footer h4 { font-family: var(--f-text); font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bone-4); margin-bottom: 1.1rem; font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer a { font-size: 0.86rem; color: var(--bone-3); transition: color .3s; }
.footer a:hover { color: var(--gold-200); }
.footer__tag { font-family: var(--f-display); font-style: italic; font-size: 1.45rem; color: var(--gold-200); margin: 1.2rem 0 0; }
.footer__b {
  margin-top: clamp(34px, 4vw, 56px); padding-top: 26px; border-top: 1px solid var(--rule-2);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: 0.74rem; color: var(--bone-4);
}

/* ── 22. Utilities ─────────────────────────────────────────────────────── */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-block: 26px; font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-4); }
.crumbs a:hover { color: var(--gold-200); }
.crumbs i { color: var(--gold-500); font-style: normal; }
.vh { position: absolute; width: 1px; height: 1px; overflow: clip; clip-path: inset(50%); white-space: nowrap; }
.tc { text-align: center; }

/* ── 23. Reveal ────────────────────────────────────────────────────────── */
/* Scoped to .js so that if the script never runs, nothing is ever invisible. */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .95s var(--e-out), transform .95s var(--e-out); }
.js .rv[data-in="true"] { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; } .rv-d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } }

/* ── 24. Print ─────────────────────────────────────────────────────────── */
@media print {
  .header, .footer, .progress, .ticker, .hero__meta, .grain::after, .grain::before { display: none !important; }
  body { background: #fff; color: #000; }
  .row__body, .prose p { color: #222 !important; }
}
