/* ============================================================
   Todd Needham — producer landing page
   Dark, cinematic, editorial hero; clean business-forward body.
   No frameworks. System of tokens below drives everything.
   ============================================================ */

:root {
  --bg: #0b0b0d;
  --bg-raised: #131317;
  --bg-card: #17171c;
  --ink: #ecebe6;
  --ink-soft: #c9c6bd;
  --muted: #8f8c84;
  --faint: #56544e;
  --line: rgba(236, 235, 230, 0.09);
  --line-strong: rgba(236, 235, 230, 0.18);
  --accent: #e4a44e;          /* amber — the pin glow */
  --accent-soft: rgba(228, 164, 78, 0.14);
  --accent-line: rgba(228, 164, 78, 0.38);
  --ok: #7fc98b;              /* availability green */
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Archivo", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: #14100a; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- type ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .tick { color: var(--accent); }

.display {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-wrap: balance;
}
.display em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}
.h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }

.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); max-width: 62ch; }
.small { font-size: 13.5px; color: var(--muted); }

/* ---------- placeholders (missing assets — visible, honest, styled) ---------- */

.tbc {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: 99px;
  padding: 3px 10px;
  white-space: nowrap;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 11, 13, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}
.wordmark {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.wordmark .dot { color: var(--accent); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.2s;
  padding: 6px 0;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom: 1px solid var(--accent); }

.avail-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ok);
  border: 1px solid rgba(127, 201, 139, 0.35);
  border-radius: 99px;
  padding: 6px 12px;
  white-space: nowrap;
}
.avail-pill .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(127, 201, 139, 0.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(127, 201, 139, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(127, 201, 139, 0); }
  100% { box-shadow: 0 0 0 0 rgba(127, 201, 139, 0); }
}

.menu-btn { display: none; }

@media (max-width: 860px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg-raised);
    border-bottom: 1px solid var(--line);
    padding: 10px var(--gutter) 18px;
  }
  .site-nav.open a { padding: 12px 0; font-size: 16px; width: 100%; border-bottom: 1px solid var(--line); }
  .site-nav.open a[aria-current="page"] { border-bottom: 1px solid var(--accent); }
  .site-nav.open .avail-pill { margin-top: 14px; }
  .menu-btn {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
  }
  .menu-btn svg { display: block; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 99px;
  padding: 13px 24px;
  transition: transform 0.18s, background 0.18s, border-color 0.18s, color 0.18s;
}
.btn:active { transform: scale(0.98); }
.btn-solid { background: var(--ink); color: #101013; }
.btn-solid:hover { background: #fff; }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-soft); }
.btn-accent { background: var(--accent); color: #17110a; }
.btn-accent:hover { background: #f0b567; }
.btn .arrow { transition: transform 0.18s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- hero ---------- */

.hero { padding: clamp(64px, 10vh, 120px) 0 clamp(40px, 6vh, 72px); position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -320px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 560px;
  background: radial-gradient(closest-side, rgba(228, 164, 78, 0.09), transparent 70%);
  pointer-events: none;
}
.hero .eyebrow { margin-bottom: 26px; }
.hero .display { font-size: clamp(44px, 8.2vw, 104px); max-width: 14ch; }
.hero .lead { margin-top: 28px; }
.hero .cta-row { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.stat-row {
  margin-top: clamp(40px, 7vh, 72px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat {
  padding: 22px 18px 4px 0;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat b {
  display: block;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.stat span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 700px) {
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
}

/* ---------- generic section rhythm ---------- */

.section { padding: clamp(56px, 9vh, 110px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 5vh, 48px); }
.section-head .eyebrow { margin-bottom: 14px; }
.section-link { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; padding-bottom: 4px; border-bottom: 1px solid var(--line-strong); transition: color .2s, border-color .2s; }
.section-link:hover { color: var(--accent); border-color: var(--accent-line); }

.hr { border: 0; border-top: 1px solid var(--line); }

/* ---------- map section ---------- */

.map-section { background: radial-gradient(1200px 600px at 50% 0%, #101014, var(--bg) 70%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.map-shell { position: relative; }

.map-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.map-toggle { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 99px; padding: 3px; }
.map-toggle button {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-radius: 99px;
  padding: 8px 16px;
  transition: color .2s, background .2s;
}
.map-toggle button[aria-pressed="true"] { background: var(--ink); color: #101013; }

.map-legend { display: flex; gap: 18px; flex-wrap: wrap; }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.leg-swatch { width: 18px; height: 2px; border-radius: 2px; background: var(--accent-line); }
.leg-swatch.home-thread { background: transparent; border-top: 2px dotted rgba(228,164,78,.5); height: 0; }
.leg-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(228,164,78,.8); }
.leg-dot.confirm { background: transparent; border: 1.5px dashed var(--muted); box-shadow: none; }

.map-frame { --land-dot: #2e2e36; position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: #0d0d10; overflow: hidden; }
.map-frame canvas.map-bg { display: block; width: 100%; }
.map-frame svg.map-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }

.arc { fill: none; stroke: var(--accent-line); stroke-width: 1.1px; vector-effect: non-scaling-stroke; opacity: 0.55; transition: opacity .25s, stroke .25s; }
.arc.home-thread { stroke-dasharray: 0.1 4; stroke-linecap: round; opacity: 0.4; }
.arc.confirm { opacity: 0.22; }
.map-frame.has-focus .arc { opacity: 0.1; }
.map-frame.has-focus .arc.lit { opacity: 0.95; stroke: var(--accent); }

.pin { cursor: pointer; outline: none; }
.pin .halo {
  fill: rgba(228, 164, 78, 0.16);
  transition: fill .2s;
  animation: haloPulse 3.2s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes haloPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.35); }
}
.pin .core { fill: var(--accent); stroke: #0d0d10; stroke-width: 1; }
.pin .hit { fill: transparent; }
.pin:hover .halo, .pin:focus-visible .halo { fill: rgba(228, 164, 78, 0.34); }
.pin:focus-visible .core { stroke: var(--ink); stroke-width: 1.4; }
.pin.home .ring { fill: none; stroke: var(--accent); stroke-width: 1; opacity: 0.8; }
.pin.confirm .core { fill: none; stroke: var(--muted); stroke-width: 1.2; stroke-dasharray: 2 2; }
.pin.confirm .halo { fill: rgba(143, 140, 132, 0.12); animation: none; }
.map-frame.has-focus .pin { opacity: 0.35; transition: opacity .25s; }
.map-frame.has-focus .pin.lit, .map-frame.has-focus .pin.active { opacity: 1; }
.pin.active .halo { fill: rgba(228, 164, 78, 0.4); animation: none; transform: scale(1.4); }

.map-tip {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  background: #1c1c22;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 7px 11px;
  font-size: 12.5px;
  line-height: 1.35;
  transform: translate(-50%, calc(-100% - 12px));
  opacity: 0;
  transition: opacity 0.15s;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.map-tip.show { opacity: 1; }
.map-tip b { display: block; font-weight: 600; }
.map-tip span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* location panel */
.map-panel {
  position: absolute;
  top: 16px; right: 16px; bottom: 16px;
  width: min(340px, calc(100% - 32px));
  z-index: 10;
  background: rgba(19, 19, 23, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 22px;
  overflow-y: auto;
  display: none;
}
.map-panel.open { display: block; animation: panelIn 0.25s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.map-panel .close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  transition: color .2s, border-color .2s;
}
.map-panel .close:hover { color: var(--ink); border-color: var(--ink-soft); }
.map-panel h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; padding-right: 40px; }
.map-panel .panel-sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-top: 6px; }
.map-panel ul { list-style: none; margin-top: 18px; }
.map-panel li { padding: 12px 0; border-top: 1px solid var(--line); }
.map-panel li b { display: block; font-weight: 600; font-size: 14.5px; }
.map-panel li span { font-size: 12.5px; color: var(--muted); }
.map-panel .panel-note { margin-top: 16px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }

/* mobile: bottom sheet + chip index */
@media (max-width: 800px) {
  .map-panel {
    position: fixed;
    top: auto; left: 12px; right: 12px; bottom: 12px;
    width: auto;
    max-height: 62vh;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.6);
  }
  @keyframes panelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

.map-chips { margin-top: 22px; display: none; }
.map-chips h4 { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 16px 0 10px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 13px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  padding: 8px 14px;
  color: var(--ink-soft);
  transition: border-color .2s, color .2s, background .2s;
}
.chip:hover { border-color: var(--accent-line); color: var(--ink); }
.chip.active { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.chip .n { font-family: var(--mono); font-size: 10px; color: var(--muted); margin-left: 6px; }
.chip.home-chip::before { content: "●"; color: var(--accent); margin-right: 7px; font-size: 9px; vertical-align: 1px; }
@media (max-width: 800px) { .map-chips { display: block; } }

.map-caption { margin-top: 16px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- shows marquee (Stripe-style) ---------- */

.marquee-section { overflow: hidden; }
.marquee {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;          /* manual scroll, no visible bar */
  user-select: none;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee::-webkit-scrollbar { display: none; }
.marquee.dragging { cursor: grabbing; }
.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 6px 0;
}

.show-card {
  position: relative;
  width: 264px;
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(140% 100% at var(--gx, 20%) 0%, rgba(228, 164, 78, var(--ga, 0.08)), transparent 55%),
    var(--bg-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.25s, border-color 0.25s;
  flex-shrink: 0;
}
.show-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.show-card .net {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.show-card .title {
  margin-top: auto;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}
.show-card .meta { margin-top: 12px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.show-card .meta b { color: var(--ink-soft); font-weight: 600; display: block; }
.show-card .index {
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--faint);
}

/* cards carrying real key art (inline background-image = scrim gradient + poster) */
.show-card.has-art {
  /* posters are standardized 2:3 — matching the card ratio shows the FULL artwork, no crop */
  aspect-ratio: 2 / 3;
  min-height: 0;
  background-size: cover;
  background-position: center;
  border-color: var(--line-strong);
}
.show-card.has-art .net { color: #d8d5cd; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9); }
.show-card.has-art .index { color: rgba(236, 235, 230, 0.55); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9); }
.show-card.has-art .title { color: #f2f0eb; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9); }
.show-card.has-art .meta { color: #c5c2ba; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85); }
.show-card.has-art .meta b { color: #f0eee9; }

/* show detail dialog */
.show-dialog {
  margin: auto; /* restore UA centering killed by the universal reset */
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-raised);
  color: var(--ink);
  padding: 28px;
  width: min(440px, calc(100vw - 40px));
}
.show-dialog::backdrop { background: rgba(5, 5, 7, 0.7); backdrop-filter: blur(4px); }
.show-dialog h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; padding-right: 36px; }
.show-dialog .d-row { padding: 12px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 18px; font-size: 14px; }
.show-dialog .d-row:first-of-type { margin-top: 18px; }
.show-dialog .d-row span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; white-space: nowrap; }
.show-dialog .d-row b { font-weight: 500; text-align: right; }
.show-dialog .close {
  position: absolute; top: 18px; right: 18px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
}
.show-dialog .close:hover { color: var(--ink); }

/* ---------- CTA band ---------- */

.cta-band { border-top: 1px solid var(--line); text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: "";
  position: absolute; inset: auto 0 -300px 0;
  height: 420px;
  background: radial-gradient(closest-side, rgba(228, 164, 78, 0.1), transparent 70%);
  pointer-events: none;
}
.cta-band .h2 { max-width: 22ch; margin: 18px auto 0; }
.cta-band .cta-row { margin-top: 32px; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- label-left / content-right rows (the Remy calm) ---------- */

.split { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: clamp(32px, 5vh, 52px) 0; border-top: 1px solid var(--line); }
.split > .label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); padding-top: 6px; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- work page ---------- */

.page-head { padding: clamp(48px, 8vh, 90px) 0 clamp(28px, 5vh, 48px); }
.page-head .display { font-size: clamp(38px, 6vw, 72px); max-width: 16ch; }
.page-head .lead { margin-top: 20px; }

.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 860px) { .work-grid { grid-template-columns: 1fr; } }

.work-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-card); transition: border-color .25s, transform .25s; }
.work-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.work-art {
  aspect-ratio: 16 / 8.5;
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 160% at var(--gx, 25%) 110%, rgba(228, 164, 78, var(--ga, 0.13)), transparent 60%),
    linear-gradient(160deg, #1b1b21, #101014);
  border-bottom: 1px solid var(--line);
}
/* full poster (contain) floating over a blurred, dimmed copy of itself */
.work-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--art);
  background-size: cover;
  background-position: center;
  filter: blur(26px) brightness(0.4) saturate(1.15);
  transform: scale(1.2);
}
.work-art img {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.55));
}
.work-art .art-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(26px, 3.4vw, 38px);
  color: rgba(236, 235, 230, 0.9);
  text-align: center;
  padding: 0 24px;
  text-wrap: balance;
}
.work-art .tbc { position: absolute; top: 14px; right: 14px; }
.work-body { padding: 20px 22px 24px; }
.work-body .credit-line { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.work-body .credit-line .sep { color: var(--faint); }
.work-body .credit-line .role { color: var(--accent); }
.work-body h3 { margin-top: 10px; font-size: 24px; font-weight: 700; letter-spacing: -0.015em; }
.work-body p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.work-body .show-fact {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  padding: 7px 13px;
}
.work-body .show-fact::before { content: '★ '; }

/* ---------- career-highlight fact band (Work page) ---------- */
.fact-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(186px, 1fr)); gap: 14px; }
.fact-tile {
  border: 1px solid var(--accent-line);
  background: linear-gradient(180deg, var(--accent-soft), transparent 130%);
  border-radius: var(--radius);
  padding: 20px 20px 22px;
}
.fact-tile .f-show { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.fact-tile .f-big { display: block; margin-top: 10px; font-size: clamp(32px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: var(--accent); }
.fact-tile .f-detail { display: block; margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }

/* ---------- gallery page ---------- */

.gallery-grid { columns: 3 300px; column-gap: 14px; }
.shot {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  cursor: zoom-in;
  break-inside: avoid;
  transition: border-color 0.25s, transform 0.25s;
}
.shot img { display: block; width: 100%; height: auto; transition: transform 0.5s, filter 0.35s; filter: saturate(0.94); }
.shot:hover, .shot:focus-visible { border-color: var(--accent-line); transform: translateY(-2px); outline: none; }
.shot:hover img, .shot:focus-visible img { transform: scale(1.04); filter: saturate(1.06); }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: clamp(12px, 3vw, 40px);
  background: rgba(6, 6, 8, 0.94);
  backdrop-filter: blur(6px);
  animation: lb-in 0.2s ease;
}
.lightbox[hidden] { display: none; }
@keyframes lb-in { from { opacity: 0; } }
.lb-stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
.lb-stage img {
  max-width: min(1600px, 100%);
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  object-fit: contain;
}
.lb-count { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.lb-close, .lb-nav {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(20, 20, 24, 0.9);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.lb-close:hover, .lb-nav:hover { border-color: var(--accent-line); color: var(--accent); }
.lb-close { position: absolute; top: clamp(12px, 3vw, 28px); right: clamp(12px, 3vw, 28px); z-index: 2; }
@media (max-width: 720px) {
  .gallery-grid { columns: 2 150px; column-gap: 10px; }
  .shot { margin-bottom: 10px; }
  .lb-stage img { max-height: 70vh; }
  .lb-nav { position: absolute; bottom: clamp(12px, 4vw, 32px); }
  .lb-prev { left: 24%; }
  .lb-next { right: 24%; }
}

/* ---------- résumé page ---------- */

.filmo { list-style: none; }
.filmo li {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 10px 24px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  align-items: baseline;
}
.filmo li:last-child { border-bottom: 1px solid var(--line); }
.filmo .f-title { font-weight: 600; letter-spacing: -0.01em; font-size: 15.5px; }
.filmo .f-title .s { color: var(--muted); font-weight: 400; font-size: 13px; margin-left: 7px; white-space: nowrap; }
.filmo .f-role { color: var(--ink-soft); }
.filmo .f-role.ep { color: var(--accent); }
.filmo .f-net { color: var(--muted); }
.filmo .f-loc { color: var(--faint); font-size: 13px; }
.filmo-head {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 24px;
  padding-bottom: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
@media (max-width: 860px) {
  .filmo-head { display: none; }
  .filmo li { grid-template-columns: 1fr; gap: 3px; padding: 16px 0; }
  .filmo .f-loc { font-size: 12.5px; }
}

.dev-list { display: grid; gap: 0; }
.dev-item { padding: 20px 0; border-top: 1px solid var(--line); }
.dev-item h4 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.dev-item h4 span { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-left: 10px; }
.dev-item p { margin-top: 6px; font-size: 14.5px; color: var(--muted); max-width: 72ch; }

.award-list { list-style: none; }
.award-list li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); max-width: 76ch; }
.award-list b { color: var(--ink); font-weight: 600; }

/* ---------- about page ---------- */

.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.about-grid p b { color: var(--ink); font-weight: 600; }
.bio-sub { margin-top: 34px; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.bio-sub + p { margin-top: 12px !important; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

.headshot-ph {
  aspect-ratio: 4 / 5;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background:
    radial-gradient(100% 80% at 50% 0%, rgba(228, 164, 78, 0.06), transparent 60%),
    var(--bg-card);
  text-align: center;
  padding: 24px;
  position: sticky;
  top: 88px;
}
.headshot-ph .mono-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 64px;
  color: var(--faint);
  line-height: 1;
}
.headshot-ph .small { margin-top: 14px; max-width: 24ch; }
.headshot-col { position: sticky; top: 88px; }
@media (max-width: 860px) { .headshot-col { position: static; } .headshot img { aspect-ratio: 4 / 3; object-position: 50% 30%; } }
.headshot-cta { width: 100%; justify-content: center; margin-top: 14px; }
.headshot {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}
.headshot img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.headshot figcaption {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.headshot .hs-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 10px;
}
.headshot .hs-title {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.7;
}
.headshot .hs-title:first-of-type { color: var(--accent); }

.exp-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.exp-chips span { font-size: 13px; border: 1px solid var(--line-strong); border-radius: 99px; padding: 7px 14px; color: var(--ink-soft); }

.network-strip { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.network-strip span {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 13px;
}

/* ---------- contact page ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-list { list-style: none; }
.contact-list li { padding: 16px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.contact-list .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.contact-list .v { font-size: 15.5px; font-weight: 500; text-align: right; }
.contact-list a.v:hover { color: var(--accent); }

.form-grid { display: grid; gap: 16px; }
.field label { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  padding: 13px 15px;
  transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-line); }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); }
.form-status { font-size: 14px; color: var(--ok); display: none; }
.form-status.show { display: block; }
.form-fallback { font-size: 13px; color: var(--muted); }
.form-copy {
  font: 500 12px/1 var(--mono);
  color: var(--ink-soft);
  background: none;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  padding: 5px 11px;
  margin-left: 9px;
  cursor: pointer;
}
.form-copy:hover { color: var(--ink); border-color: var(--accent); }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 44px 0 40px; }
.site-footer .cols { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer nav a { font-size: 13px; color: var(--muted); transition: color .2s; }
.site-footer nav a:hover { color: var(--ink); }
.site-footer .fine { margin-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }

/* ---------- reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .pin .halo { animation: none; }
  .avail-pill .pulse { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .arc { transition: none; }
  * { animation-duration: 0.001s !important; }
}
