/* ==========================================================================
   Mouli B — portfolio
   Editorial system: Instrument Serif (display) + Manrope (text)
   ========================================================================== */
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --paper: #f3eee5;
  --paper-2: #e9e2d4;
  --ink: #141210;
  --ink-2: #39342e;
  --muted: #6b6359;
  --rule: #cdc3b2;
  --accent: #b5321e;
  --accent-ink: #8f2414;
  --night: #161412;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; font-feature-settings: "ss01"; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--paper); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.serif { font-family: var(--serif); font-weight: 400; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tag { display: inline-block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--rule); padding: 1px 7px; border-radius: 2px; color: var(--muted); vertical-align: middle; }
.badge-preview { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: #f5d77a; color: #3d2f00; padding: 2px 8px; border-radius: 2px; }
.admin-note { background: #fbf0c9; border-left: 3px solid #d9a400; padding: 14px 18px; font-size: 15px; max-width: 900px; margin: 24px auto; }
.preview-bar { background: #f5d77a; color: #3d2f00; font-size: 13px; padding: 7px var(--gutter); text-align: center; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px var(--gutter); background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid transparent; transition: border-color .3s, padding .3s; }
.site-header.is-scrolled { border-bottom-color: var(--rule); padding-block: 12px; }
.wordmark { font-family: var(--serif); font-size: 30px; line-height: 1; text-decoration: none; letter-spacing: -.01em; }
.wordmark em { color: var(--accent); margin-left: 4px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 2.4vw, 34px); }
.site-nav a { text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .01em; position: relative; padding: 6px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .35s var(--ease); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.availability { margin: 0; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.availability span { width: 7px; height: 7px; background: #3f8f57; border-radius: 50%; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; cursor: pointer; }
.nav-toggle i { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.nav-toggle i:first-of-type { top: 17px; } .nav-toggle i:last-of-type { top: 26px; }
.nav-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; z-index: 2; }
  .site-nav { position: fixed; inset: 0; background: var(--paper); display: flex; flex-direction: column; justify-content: center; padding: var(--gutter); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 6px; }
  .site-nav a { font-family: var(--serif); font-size: 46px; line-height: 1.15; font-weight: 400; }
}

/* ---------- shared type ---------- */
.kicker, .eyebrow, .meta { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.eyebrow a { text-decoration: none; }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; max-width: 44ch; color: var(--ink-2); }
.page-title { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 8vw, 128px); line-height: .95; letter-spacing: -.02em; margin: 0 0 28px; }
.section-title { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -.015em; margin: 0; max-width: 18ch; }
.section-note { color: var(--muted); max-width: 46ch; margin: 0; font-size: 15px; }
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--paper); text-decoration: none; padding: 14px 24px; font-size: 14px; font-weight: 600; letter-spacing: .02em; border: 0; border-radius: 0; cursor: pointer; transition: background .25s; min-height: 44px; }
.btn:hover { background: var(--accent); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--accent); color: var(--paper); }
.btn-small { padding: 9px 16px; font-size: 13px; min-height: 40px; }
.link-arrow { font-size: 14px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

.section { padding: clamp(64px, 9vw, 140px) var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px 40px; margin-bottom: clamp(36px, 5vw, 72px); border-top: 1px solid var(--ink); padding-top: 18px; }
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head .section-note { grid-column: 1; }
.more-row { margin: 48px 0 0; text-align: right; }

/* ---------- hero ---------- */
.hero { min-height: calc(100svh - 74px); padding: clamp(40px, 7vw, 100px) var(--gutter) clamp(36px, 5vw, 64px); max-width: var(--maxw); margin: 0 auto; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.hero-title { font-family: var(--serif); font-weight: 400; margin: 0; font-size: clamp(50px, 9.6vw, 168px); line-height: .92; letter-spacing: -.025em; display: grid; }
.hero-small { font-family: var(--sans); font-size: clamp(13px, 1.1vw, 16px); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); line-height: 1; margin: 0 0 .9em; }
.hero-to { margin: .9em 0 .9em; justify-self: end; margin-right: 6%; }
.hero-q1 { max-width: 12ch; }
.hero-q2 { font-style: italic; justify-self: end; text-align: right; max-width: 12ch; }
.route { list-style: none; margin: 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 0; border-top: 1px solid var(--ink); font-size: 13px; color: var(--ink-2); }
.route li { flex: 1 1 0; min-width: 120px; padding-right: 16px; position: relative; }
.route li span { display: block; font-size: 11px; color: var(--accent); font-weight: 700; letter-spacing: .08em; margin-bottom: 2px; }
.route li::before { content: ""; position: absolute; top: -22px; left: 0; width: 7px; height: 7px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 50%; }
.route li:last-child::before { background: var(--accent); border-color: var(--accent); }
.hero-foot { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.hero-foot .lede { margin: 0; }

/* ---------- cards / grids ---------- */
.grid-editorial { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(40px, 5vw, 80px) clamp(20px, 3vw, 44px); align-items: start; }
.card--wide { grid-column: span 8; }
.card--tall { grid-column: span 4; margin-top: clamp(0px, 8vw, 140px); }
.card--std { grid-column: span 6; }
.grid-editorial .card--std:nth-of-type(4n) { margin-top: clamp(0px, 6vw, 100px); }
.grid-archive { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 56px 32px; align-items: start; }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link:hover { color: inherit; }
.card-media { margin: 0 0 18px; overflow: hidden; background: var(--paper-2); }
.card-media img { width: 100%; transition: transform 1.1s var(--ease), filter .6s; }
.card-media.is-doc { padding: 7% 12%; background: var(--paper-2); }
.card-media.is-doc img { box-shadow: 0 18px 40px -18px rgba(20, 18, 16, .45); }
.card-link:hover .card-media img { transform: scale(1.025); }
.card-title { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.05; margin: 0 0 8px; }
.card--wide .card-title { font-size: clamp(32px, 3.4vw, 52px); }
.card-summary { margin: 0 0 14px; color: var(--ink-2); max-width: 52ch; font-size: 16px; }
.card-cta { font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--rule); padding-bottom: 2px; transition: border-color .3s, color .3s; }
.card-link:hover .card-cta { color: var(--accent); border-color: var(--accent); }

/* ---------- speculative band ---------- */
.spec-band { max-width: none; background: var(--night); color: var(--paper); padding-left: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))); padding-right: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))); }
.spec-band .section-head { border-top-color: var(--paper); }
.spec-band .eyebrow, .spec-band .section-note { color: #b8ae9f; }
.spec-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; align-items: end; }
.spec-item { display: block; text-decoration: none; }
.spec-item img { width: 100%; transition: transform .8s var(--ease); }
.spec-item:hover img { transform: translateY(-6px); }
.spec-name { display: block; margin-top: 12px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #b8ae9f; }
.spec-item:hover .spec-name { color: var(--paper); }

/* ---------- statements ---------- */
.statement { text-align: left; }
.statement-title { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7.4vw, 120px); line-height: .98; letter-spacing: -.02em; margin: 0 0 32px; max-width: 14ch; }
.statement-title em, .closing-title em { color: var(--accent); }
.statement-copy { font-size: clamp(19px, 1.8vw, 26px); max-width: 38ch; margin-left: auto; color: var(--ink-2); line-height: 1.45; }

.cap-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(24px, 5vw, 80px); }
.cap-list li { border-top: 1px solid var(--rule); padding: 22px 0 28px; display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; }
.cap-n { grid-row: span 2; font-size: 12px; font-weight: 700; color: var(--accent); padding-top: 9px; letter-spacing: .06em; }
.cap-list h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; margin: 0 0 8px; }
.cap-list p { margin: 0; color: var(--ink-2); max-width: 46ch; }

.journey-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--rule); }
.journey-line li { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 22px 20px 26px; min-height: 140px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; counter-increment: j; }
.journey-line li:nth-child(-n+4) { border-top: 1px solid var(--rule); }
.journey-line li::before { content: counter(j, decimal-leading-zero); font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: .08em; }
.j-org { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.05; }
.j-note { font-size: 13px; color: var(--muted); }
.journey-line li:last-child { background: var(--ink); color: var(--paper); }
.journey-line li:last-child .j-note { color: #c9bfb0; }

.recog-list { list-style: none; margin: 0; padding: 0; }
.recog-list li { display: grid; grid-template-columns: 90px minmax(160px, 1.1fr) minmax(140px, .9fr) 2fr; gap: 8px 24px; align-items: baseline; border-top: 1px solid var(--rule); padding: 22px 0; }
.recog-list li:last-child { border-bottom: 1px solid var(--rule); }
.r-year { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .06em; }
.r-title { font-size: clamp(28px, 2.8vw, 42px); line-height: 1; }
.r-status { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.r-detail { color: var(--ink-2); }
.r-ext { font-size: 13px; color: var(--muted); }

.closing { background: var(--accent); color: var(--paper); padding: clamp(80px, 12vw, 200px) max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))); }
.closing-title { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 9vw, 150px); line-height: .92; letter-spacing: -.025em; margin-top: 0; margin-bottom: 36px; }
.closing-title em { color: var(--ink); }
.closing-copy { font-size: clamp(19px, 1.8vw, 26px); max-width: 34ch; line-height: 1.45; margin-bottom: 40px; }

/* ---------- page intros ---------- */
.page-intro { padding: clamp(48px, 8vw, 120px) var(--gutter) 0; max-width: var(--maxw); margin: 0 auto; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.filters button { background: transparent; border: 1px solid var(--ink); padding: 9px 16px; font-size: 13px; font-weight: 600; cursor: pointer; min-height: 40px; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.archive-group[hidden] { display: none; }
.century-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-top: 0; }
.name-list { list-style: none; padding: 0; margin: 0; }
.name-list li { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 36px); border-top: 1px solid var(--rule); padding: 10px 0; line-height: 1.2; }
.name-list li .small { font-family: var(--sans); }
.name-list a { text-decoration: none; }

/* ---------- case study ---------- */
.case { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 6vw, 96px) var(--gutter) 0; }
.case-title { font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 9vw, 150px); line-height: .92; letter-spacing: -.025em; margin: 0 0 24px; max-width: 14ch; }
.case-lede { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 38px); line-height: 1.2; max-width: 30ch; margin: 24px 0 40px; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; margin: 0 0 clamp(40px, 6vw, 80px); border-top: 1px solid var(--ink); }
.facts > div { padding: 14px 18px 16px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 15px; }
.case-hero { margin: 0 calc(-1 * var(--gutter)) clamp(48px, 7vw, 110px); }
.case-hero button { display: block; width: 100%; padding: 0; border: 0; background: var(--paper-2); cursor: zoom-in; }
.case-hero img { width: 100%; max-height: 92vh; object-fit: contain; }
.case-hero figcaption { padding: 12px var(--gutter) 0; font-size: 14px; color: var(--muted); }
.case-hero--doc button { padding: clamp(32px, 6vw, 90px) 0; cursor: pointer; position: relative; }
.case-hero--doc img { width: auto; max-height: 78vh; margin: 0 auto; box-shadow: 0 30px 60px -30px rgba(20, 18, 16, .55); }
.doc-cta { display: inline-block; margin-top: 24px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid currentColor; }
.case-body { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 980px; margin: 0 auto; }
.case-sec { display: grid; grid-template-columns: 220px 1fr; gap: 12px 40px; border-top: 1px solid var(--rule); padding: 28px 0 36px; }
.case-sec p { margin: 0; font-size: 18px; color: var(--ink-2); max-width: 62ch; }
.case-h { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 6px 0 0; }
.case-idea { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px) !important; line-height: 1.35; color: var(--ink) !important; }
.copy-lines { list-style: none; padding: 0; margin: 0; }
.copy-lines li { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 48px); line-height: 1.08; padding: 6px 0 14px; letter-spacing: -.01em; }
.copy-lines li:nth-child(even) { font-style: italic; color: var(--accent-ink); padding-left: clamp(0px, 6vw, 80px); }
.exec-list { margin: 0; padding-left: 18px; color: var(--ink-2); }
.case-awards { list-style: none; padding: 0; margin: 0; }
.case-gallery, .case-docs { margin-top: clamp(56px, 8vw, 120px); }
.case-gallery > .case-h, .case-docs > .case-h { border-top: 1px solid var(--ink); padding-top: 16px; margin-bottom: 32px; }
.masonry { columns: 3 320px; column-gap: 28px; }
.m-item { break-inside: avoid; margin: 0 0 36px; }
.m-item button { display: block; width: 100%; padding: 0; border: 0; background: var(--paper-2); cursor: zoom-in; }
.m-item img { width: 100%; transition: opacity .3s; }
.m-item button:hover img { opacity: .9; }
.m-item figcaption { font-size: 14px; color: var(--muted); padding-top: 10px; }
.masonry[data-count="1"] { columns: 1; max-width: 1000px; }
.masonry[data-count="2"] { columns: 2 320px; }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 40px; }
.doc-card { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: start; }
.doc-card > .doc-open { padding: 0; border: 0; background: none; cursor: pointer; }
.doc-card > .doc-open img { box-shadow: 0 16px 30px -16px rgba(20, 18, 16, .5); transition: transform .5s var(--ease); }
.doc-card > .doc-open:hover img { transform: translateY(-4px) rotate(-.6deg); }
.doc-meta h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.08; margin: 0 0 8px; }
.doc-meta p { margin: 0 0 10px; }
.doc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 14px !important; }
.media-list { display: grid; gap: 32px; }
.video-wrap { position: relative; aspect-ratio: 16 / 9; } .video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-item video, .media-item audio { width: 100%; }
.credits { max-width: 980px; margin: 48px auto 0; }
.case-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; margin: clamp(80px, 10vw, 160px) calc(-1 * var(--gutter)) 0; padding: 40px var(--gutter); border-top: 1px solid var(--ink); }
.case-nav a { text-decoration: none; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 40px); line-height: 1.05; }
.case-nav a span { display: block; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cn-next { text-align: right; }
.cn-all { font-family: var(--sans) !important; font-size: 13px !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid currentColor; }

/* ---------- about / experience / contact ---------- */
.about-copy { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.about-big { font-family: var(--serif); font-size: clamp(32px, 4.4vw, 68px); line-height: 1.05; letter-spacing: -.015em; max-width: 20ch; margin: 0 0 56px; }
.about-cols { columns: 2 300px; column-gap: 56px; max-width: 1000px; margin-left: auto; font-size: 18px; color: var(--ink-2); }
.about-cols p { margin: 0 0 1.1em; break-inside: avoid; }
.process-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink); }
.process-list li { padding: 18px 16px 28px 0; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.15; }
.process-list li span { display: block; font-family: var(--sans); font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: .08em; margin-bottom: 8px; }
.process-list li:last-child { color: var(--accent); font-style: italic; }
.xp-list { list-style: none; margin: 56px auto 0; padding: 0 var(--gutter) 40px; max-width: var(--maxw); }
.xp { display: grid; grid-template-columns: 80px 1fr; gap: 24px; border-top: 1px solid var(--rule); padding: 32px 0 36px; }
.xp:last-child { border-bottom: 1px solid var(--rule); }
.xp-n { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .08em; padding-top: 14px; }
.xp-org { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.6vw, 72px); line-height: 1; margin: 0 0 12px; letter-spacing: -.015em; }
.xp-main p { margin: 0 0 10px; max-width: 70ch; }
.xp-brands { color: var(--ink-2); }
.contact { max-width: var(--maxw); margin: 0 auto; padding: clamp(60px, 10vw, 160px) var(--gutter); min-height: 60vh; }
.contact-links { list-style: none; padding: 0; margin: 48px 0 0; max-width: 900px; }
.contact-links a { display: grid; grid-template-columns: 140px 1fr; align-items: baseline; border-top: 1px solid var(--rule); padding: 18px 0; text-decoration: none; font-family: var(--serif); font-size: clamp(28px, 3.4vw, 52px); line-height: 1.1; word-break: break-word; }
.contact-links a span { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: #cfc6b8; padding: 72px var(--gutter) 40px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 32px; }
.footer-line { font-size: clamp(28px, 3.4vw, 52px); line-height: 1.05; color: var(--paper); margin: 0; }
.footer-line em { color: #e0735f; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer nav a { text-decoration: none; font-size: 14px; color: var(--paper); }
.site-footer .small { max-width: 80ch; color: #8f877b; margin: 0; }

/* ---------- lightbox / document viewer ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: #0e0d0c; color: var(--paper); display: grid; grid-template-rows: minmax(0, 1fr) auto auto auto; }
.lightbox[hidden] { display: none; }
.lb-stage { min-height: 0; overflow: auto; display: flex; align-items: center; justify-content: center; padding: 72px 76px 12px; touch-action: pan-y pinch-zoom; overscroll-behavior: contain; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; user-select: none; }
.lightbox.is-zoomed .lb-stage { align-items: flex-start; justify-content: flex-start; cursor: zoom-out; }
.lightbox.is-zoomed .lb-stage img { max-width: none; max-height: none; width: min(2400px, 200vw); margin: 0 auto; }
.lb-caption { margin: 0; padding: 4px 72px; font-size: 14px; color: #cfc6b8; text-align: center; min-height: 22px; }
.lb-count { margin: 0 0 14px; text-align: center; font-size: 12px; letter-spacing: .1em; color: #8f877b; }
.lb-tools { position: absolute; top: 12px; right: 12px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.lb-tools button, .lb-tools a { background: rgba(243, 238, 229, .08); border: 1px solid rgba(243, 238, 229, .25); color: var(--paper); padding: 8px 14px; font-size: 13px; cursor: pointer; text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; }
.lb-tools button:hover, .lb-tools a:hover { background: var(--paper); color: var(--ink); }
.lb-tools [hidden] { display: none; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(243, 238, 229, .08); border: 1px solid rgba(243, 238, 229, .25); color: var(--paper); font-size: 20px; cursor: pointer; }
.lb-nav:hover { background: var(--paper); color: var(--ink); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-nav[disabled] { opacity: .25; pointer-events: none; }
.lb-title { position: absolute; top: 20px; left: 20px; margin: 0; font-family: var(--serif); font-size: 22px; max-width: 45vw; }
.lb-thumbs { display: flex; gap: 6px; overflow-x: auto; padding: 0 16px 14px; scrollbar-width: thin; }
.lb-thumbs button { flex: 0 0 auto; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .55; }
.lb-thumbs button[aria-current="true"] { border-color: var(--paper); opacity: 1; }
.lb-thumbs img { height: 64px; width: auto; }
body.lb-open { overflow: hidden; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .journey-line { grid-template-columns: repeat(2, 1fr); }
  .journey-line li:nth-child(-n+4) { border-top: 0; }
  .journey-line li:nth-child(-n+2) { border-top: 1px solid var(--rule); }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .recog-list li { grid-template-columns: 70px 1fr; }
  .recog-list .r-status, .recog-list .r-detail { grid-column: 2; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .grid-editorial { grid-template-columns: 1fr; }
  .card--wide, .card--tall, .card--std { grid-column: auto; margin-top: 0 !important; }
  .cap-list { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; }
  .case-sec { grid-template-columns: 1fr; gap: 10px; }
  .century-lists { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-to { justify-self: start; margin-right: 0; }
  .hero-q2 { justify-self: start; text-align: left; }
  .route { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; border-top: 0; padding-top: 0; }
  .route li { min-width: 0; padding: 10px 0 0; border-top: 1px solid var(--rule); }
  .route li::before { display: none; }
  .lb-stage { padding: 64px 8px 8px; }
  .lb-caption { padding: 4px 16px; }
  .lb-nav { top: auto; bottom: 10px; transform: none; width: 44px; height: 44px; }
  .lb-title { display: none; }
  .case-nav { grid-template-columns: 1fr 1fr; }
  .cn-all { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .doc-card { grid-template-columns: 110px 1fr; gap: 16px; }
  .xp { grid-template-columns: 1fr; gap: 6px; }
  .xp-n { padding-top: 0; }
  .contact-links a { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 520px) {
  .journey-line { grid-template-columns: 1fr; }
  .journey-line li:nth-child(2) { border-top: 0; }
  .process-list { grid-template-columns: 1fr; }
  .recog-list li { grid-template-columns: 1fr; gap: 4px; }
  .recog-list .r-status, .recog-list .r-detail { grid-column: auto; }
}
@media print { .site-header, .site-footer, .lightbox, .filters { display: none !important; } .js .reveal { opacity: 1; transform: none; } }
.doc-ph { display: grid; place-items: center; aspect-ratio: 3 / 4; background: var(--paper); border: 1px solid var(--rule); font-family: var(--serif); font-size: 22px; padding: 16px; text-align: center; color: var(--ink-2); }

/* ==========================================================================
   PREMIUM LAYER — dark editorial, brass accent, motion
   (overrides the base system above)
   ========================================================================== */
:root {
  --night: #12100e;
  --night-2: #1c1916;
  --gold: #c9a66b;
  --gold-2: #e2c48f;
  --on-dark: #efe8dc;
  --on-dark-muted: #a39a8c;
}
body { background: var(--paper); }

/* grain */
.grain { position: fixed; inset: -50%; z-index: 85; pointer-events: none; opacity: .055; 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='.85' numOctaves='3' stitchTiles='stitch'/%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%,100% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-3%) } 60% { transform: translate(-2%,-1%) } 80% { transform: translate(3%,3%) } }

/* intro */
.intro { display: none; }
.has-intro .intro { display: flex; position: fixed; inset: 0; z-index: 100; background: var(--night); color: var(--on-dark); flex-direction: column; align-items: center; justify-content: center; gap: 28px; animation: introOut 1s cubic-bezier(.76,0,.24,1) 1.55s forwards; }
.intro-q { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(36px, 6vw, 88px); line-height: 1; overflow: hidden; }
.intro-q span { display: inline-block; animation: introUp 1s var(--ease) .15s both; }
.intro-bar { width: 180px; height: 1px; background: rgba(239,232,220,.18); position: relative; overflow: hidden; }
.intro-bar::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: left; animation: introBar 1.3s cubic-bezier(.65,0,.35,1) .2s both; }
@keyframes introUp { from { transform: translateY(110%); } }
@keyframes introBar { from { transform: scaleX(0); } }
@keyframes introOut { to { transform: translateY(-100%); visibility: hidden; } }

/* header on dark */
.site-header { transition: background .4s, color .4s, border-color .3s, padding .3s; }
.site-header.on-dark { background: rgba(18,16,14,.72); color: var(--on-dark); border-bottom-color: rgba(239,232,220,.08); }
.site-header.on-dark .wordmark em { color: var(--gold); }
.nav-toggle i { background: currentColor; }
@media (max-width: 860px) { .site-header.on-dark .site-nav { background: var(--night); } }

/* split-text + fade + wipe */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.js [data-split] .wi { display: inline-block; transform: translateY(108%); transition: transform 1.1s cubic-bezier(.19,1,.22,1); transition-delay: calc(var(--i, 0) * 45ms); }
.js [data-split].is-in .wi { transform: none; }
.js [data-line] { display: inline-block; clip-path: inset(0 -12% 100% -12%); transform: translateY(35%); transition: clip-path 1.2s cubic-bezier(.19,1,.22,1), transform 1.2s cubic-bezier(.19,1,.22,1); }
.js [data-line].is-in { clip-path: inset(-15% -12% -25% -12%); transform: none; }
.js [data-fade] { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js [data-fade].is-in { opacity: 1; transform: none; }
.js [data-wipe] { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s cubic-bezier(.77,0,.18,1); }
.js [data-wipe].is-in { clip-path: inset(0 0 0 0); }

/* buttons */
.btn { border-radius: 999px; padding: 15px 26px; transition: background .3s, color .3s, transform .4s var(--ease); }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: var(--on-dark); color: var(--night); }
.btn-ghost { background: transparent; color: var(--on-dark); border: 1px solid rgba(239,232,220,.3); }
.btn-ghost:hover { background: var(--on-dark); color: var(--night); }
.eyebrow--gold { color: var(--gold) !important; }

/* ---------- hero (dark) ---------- */
.hero--dark { position: relative; max-width: none; min-height: 100svh; margin: 0; padding: clamp(90px, 12vw, 150px) 0 clamp(36px, 5vw, 60px); background: var(--night); color: var(--on-dark); overflow: hidden; gap: clamp(36px, 5vw, 64px); margin-top: -74px; }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.hero-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(42% 50% at 85% 18%, rgba(201,166,107,.20), transparent 70%), radial-gradient(38% 46% at 8% 92%, rgba(181,50,30,.22), transparent 70%); animation: glow 14s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate3d(-4%, 3%, 0) scale(1.08); } }
.hero--dark .kicker { color: var(--on-dark-muted); }
.hero--dark .hero-small { color: var(--gold); }
.hero--dark .hero-q2 { color: var(--gold-2); }
.hero-title { font-size: clamp(50px, 9.4vw, 172px); }
.hero-q .line { white-space: nowrap; }
.filmstrip { position: relative; z-index: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.film-track { display: flex; gap: 18px; width: max-content; animation: film 70s linear infinite; }
.filmstrip:hover .film-track { animation-play-state: paused; }
@keyframes film { to { transform: translateX(calc(-50% - 9px)); } }
.film-item { position: relative; flex: 0 0 auto; height: clamp(150px, 20vw, 290px); display: block; overflow: hidden; border-radius: 3px; text-decoration: none; }
.film-item img { height: 100%; width: auto; transition: transform 1s var(--ease), filter .6s; filter: saturate(.92); }
.film-item:hover img { transform: scale(1.05); filter: none; }
.film-cap { position: absolute; left: 12px; bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(18,16,14,.7); padding: 4px 9px; border-radius: 99px; opacity: 0; transform: translateY(6px); transition: .4s var(--ease); }
.film-item:hover .film-cap { opacity: 1; transform: none; }
.hero--dark .route { border-top-color: rgba(239,232,220,.22); color: var(--on-dark-muted); }
.hero--dark .route li span { color: var(--gold); }
.hero--dark .route li::before { background: var(--night); border-color: rgba(239,232,220,.5); }
.hero--dark .route li:last-child::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 6px rgba(201,166,107,.18); }
.hero--dark .route li:last-child { color: var(--on-dark); }
.hero--dark .lede { color: var(--on-dark); opacity: .86; }
.hero-bottom { display: grid; gap: 40px; }

/* ---------- brand marquee ---------- */
.brand-marquee { background: var(--gold); color: var(--night); overflow: hidden; padding: 18px 0; border-block: 1px solid rgba(18,16,14,.15); }
.bm-track { display: flex; width: max-content; animation: film 55s linear infinite; }
.bm-track ul { display: flex; list-style: none; margin: 0; padding: 0; }
.bm-track li { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 34px); white-space: nowrap; padding: 0 28px; position: relative; }
.bm-track li::after { content: "✦"; position: absolute; right: -8px; top: 50%; transform: translateY(-50%); font-size: 13px; font-style: normal; opacity: .6; }

/* ---------- showcase (dark) ---------- */
.showcase { background: var(--night); color: var(--on-dark); padding: clamp(80px, 11vw, 170px) max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))); }
.showcase-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px 40px; margin-bottom: clamp(60px, 8vw, 120px); }
.showcase-head .eyebrow { grid-column: 1 / -1; }
.display-title { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 10vw, 170px); line-height: .9; letter-spacing: -.03em; margin: 0; }
.showcase .link-arrow { color: var(--gold); }
.panel { border-top: 1px solid rgba(239,232,220,.14); padding: clamp(40px, 6vw, 90px) 0; }
.panel-link { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px clamp(24px, 4vw, 64px); align-items: center; text-decoration: none; color: inherit; }
.panel-link:hover { color: inherit; }
.panel-media { grid-column: 1 / span 7; margin: 0; overflow: hidden; border-radius: 3px; background: var(--night-2); }
.panel-media img { width: 100%; height: auto; transform: scale(1.06); transition: transform 1.4s var(--ease); will-change: transform; }
.panel-media.is-doc { display: grid; place-items: center; padding: 6% 0; aspect-ratio: 16 / 10; }
.panel-media.is-doc img { width: auto; height: 100%; object-fit: contain; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.panel-link:hover .panel-media img { scale: 1.04; }
.panel-media img { transition: transform .2s linear, scale 1.2s var(--ease); }
.panel-body { grid-column: 9 / span 4; position: relative; }
.panel--flip .panel-media { grid-column: 6 / span 7; grid-row: 1; }
.panel--flip .panel-body { grid-column: 1 / span 4; grid-row: 1; }
.panel-n { display: block; font-family: var(--serif); font-size: clamp(64px, 7vw, 120px); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--gold); margin-bottom: 22px; }
.panel .meta { color: var(--on-dark-muted); }
.panel-title { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5.4vw, 88px); line-height: .95; letter-spacing: -.02em; margin: 0 0 12px; }
.panel-campaign { font-family: var(--serif); font-style: italic; color: var(--gold-2); font-size: clamp(18px, 1.5vw, 22px); margin: 0 0 16px; }
.panel-summary { color: var(--on-dark-muted); margin: 0 0 26px; max-width: 40ch; }
.panel-cta { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.panel-cta i { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(201,166,107,.5); border-radius: 50%; font-style: normal; transition: .5s var(--ease); }
.panel-link:hover .panel-cta i { background: var(--gold); color: var(--night); transform: translateX(6px); }
.showcase-more { margin: clamp(40px, 6vw, 80px) 0 0; text-align: center; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--maxw); margin: 0 auto; padding: clamp(60px, 8vw, 120px) var(--gutter) 0; }
.stat { padding: 0 24px 0 0; border-left: 1px solid var(--rule); padding-left: 24px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-n { display: block; font-family: var(--serif); font-size: clamp(64px, 8vw, 140px); line-height: .9; letter-spacing: -.03em; color: var(--accent); }
.stat-l { display: block; margin-top: 10px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- spec band refinements ---------- */
.spec-band { padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(80px, 10vw, 150px); }
.spec-band .section-head { border-top-color: rgba(239,232,220,.2); }
.spec-item { transform: rotate(var(--r, 0deg)); transition: transform .8s var(--ease); }
.spec-item img { box-shadow: 0 30px 60px -24px rgba(0,0,0,.8); }
.spec-item:hover { transform: rotate(0deg) translateY(-10px) scale(1.02); }
.spec-item:hover img { transform: none; }

/* ---------- capabilities / recognition hover ---------- */
.cap-list li { transition: background .5s var(--ease); position: relative; }
.cap-list li h3 { transition: color .4s, transform .6s var(--ease); }
.cap-list li:hover h3 { color: var(--accent); transform: translateX(8px); }
.recog-list li { position: relative; isolation: isolate; transition: color .4s; }
.recog-list li::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)); background: var(--night); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .6s cubic-bezier(.77,0,.18,1); }
.recog-list li:hover { color: var(--on-dark); }
.recog-list li:hover::before { transform: scaleY(1); }
.recog-list li:hover .r-detail, .recog-list li:hover .r-detail a { color: var(--on-dark-muted); }
.recog-list li:hover .r-year { color: var(--gold); }
.journey-line li { transition: background .5s, color .5s; }
.journey-line li:hover { background: var(--night); color: var(--on-dark); }
.journey-line li:hover::before { color: var(--gold); }

/* ---------- closing + footer ---------- */
.closing { background: var(--night); position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 80% 30%, rgba(181,50,30,.35), transparent 70%), radial-gradient(40% 50% at 10% 100%, rgba(201,166,107,.18), transparent 70%); pointer-events: none; }
.closing > * { position: relative; }
.closing-title em { color: var(--gold-2); }
.closing .btn-light { background: var(--gold); color: var(--night); }
.closing .btn-light:hover { background: var(--on-dark); }
.site-footer { background: #0c0b0a; padding-top: 40px; overflow: hidden; }
.footer-big { font-size: clamp(90px, 21vw, 360px); line-height: .78; letter-spacing: -.045em; color: var(--on-dark); margin: 0 0 40px; white-space: nowrap; }
.footer-big em { color: var(--gold); }
.footer-line em { color: var(--gold-2); }

/* ---------- dark page openers (inner pages) ---------- */
.page-intro, .case-head { position: relative; isolation: isolate; color: var(--on-dark); }
.page-intro { padding-bottom: clamp(56px, 7vw, 100px); margin-bottom: clamp(40px, 6vw, 80px); max-width: none; padding-left: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))); padding-right: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))); background: var(--night); margin-top: -74px; padding-top: calc(74px + clamp(48px, 8vw, 120px)); }
.page-intro .lede { color: var(--on-dark-muted); }
.page-intro .eyebrow, .case-head .eyebrow { color: var(--gold); }
.page-intro .filters button { border-color: rgba(239,232,220,.4); color: var(--on-dark); }
.page-intro .filters button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--night); }
.case { padding-top: 0; }
.case-head { padding-top: calc(74px + clamp(40px, 6vw, 96px)); padding-bottom: 8px; margin-top: -74px; }
.case-head::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50vw); width: 100vw; background: var(--night); }
.case-head .case-lede { color: var(--on-dark-muted); }
.case-head .facts { border-top-color: rgba(239,232,220,.3); margin-bottom: 0; }
.case-head .facts > div { border-bottom-color: rgba(239,232,220,.12); }
.case-head .facts dt { color: var(--gold); }
.case-hero { position: relative; }
.case-hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40%; background: var(--night); z-index: -1; }
.case-hero { isolation: isolate; padding-top: 40px; }
.case-hero button { box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.copy-lines li:nth-child(even) { color: var(--accent); }
.case-nav { background: var(--night); color: var(--on-dark); border-top: 0; padding: clamp(48px, 6vw, 80px) var(--gutter); }
.case-nav a:hover { color: var(--gold); }
.case-nav a span { color: var(--gold); }
.contact { background: var(--night); color: var(--on-dark); max-width: none; margin-top: -74px; padding-top: calc(74px + clamp(60px, 10vw, 160px)); padding-left: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))); padding-right: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))); }
.contact .eyebrow { color: var(--gold); }
.contact .lede { color: var(--on-dark-muted); }
.contact-links a { border-top-color: rgba(239,232,220,.15); }
.contact-links a:hover { color: var(--gold); }
.contact-links a span { color: var(--gold); }
.preview-bar { position: relative; z-index: 60; }

/* ---------- cursor ---------- */
.cursor { display: none; }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .has-cursor .cursor { display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 95; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--gold); pointer-events: none; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, opacity .3s; will-change: transform; mix-blend-mode: normal; }
  .has-cursor .cursor.is-hidden { opacity: 0; }
  .has-cursor .cursor.is-view { width: 104px; height: 104px; margin: -52px 0 0 -52px; background: var(--gold); }
  .cursor-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--night); opacity: 0; transition: opacity .3s; white-space: nowrap; }
  .cursor.is-view .cursor-label { opacity: 1; }
  .has-cursor [data-cursor] { cursor: none; }
}

/* ---------- responsive (premium) ---------- */
@media (max-width: 960px) {
  .panel-link { grid-template-columns: 1fr; }
  .panel-media, .panel--flip .panel-media, .panel-body, .panel--flip .panel-body { grid-column: auto; grid-row: auto; }
  .panel-n { font-size: 56px; margin-bottom: 14px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .showcase-head { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero-q .line { white-space: normal; }
  .site-header { background: rgba(243,238,229,.92); }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .hero-glow, .film-track, .bm-track { animation: none !important; }
  .js [data-split] .wi, .js [data-line], .js [data-fade], .js [data-wipe] { transform: none !important; opacity: 1 !important; clip-path: none !important; }
  .panel-media img { transform: none !important; }
  .filmstrip { overflow-x: auto; }
}

/* ---------- mobile menu fix: backdrop-filter traps position:fixed children inside the header ---------- */
@media (max-width: 860px) {
  .site-header, .site-header.on-dark { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header { background: rgba(243,238,229,.97); }
  .site-header.on-dark { background: rgba(18,16,14,.96); }
  .site-nav { inset: 0; height: 100vh; height: 100dvh; overflow-y: auto; padding: 96px var(--gutter) 40px; justify-content: flex-start; background: var(--paper); color: var(--ink); }
  .site-header.on-dark .site-nav { background: var(--night); color: var(--on-dark); }
  .site-nav ul { gap: 4px; }
  .site-nav li { border-bottom: 1px solid rgba(128,118,104,.25); }
  .site-nav a { display: block; padding: 12px 0; font-size: clamp(34px, 10vw, 46px); }
  .site-nav a::after { display: none; }
  .site-nav a[aria-current="page"] { color: var(--accent); }
  .site-header.on-dark .site-nav a[aria-current="page"] { color: var(--gold); }
  .wordmark, .nav-toggle { position: relative; z-index: 3; }
}
