/* ============================================================
   Cinematic dark theme
   Palette, spacing and type scale all live in :root — change
   the variables there to restyle the whole site.
   ============================================================ */

:root {
  /* Surfaces */
  --bg:            #08080b;
  --bg-alt:        #0d0e12;
  --surface:       #131419;
  --surface-hi:    #191b21;
  --line:          rgba(255, 255, 255, 0.09);
  --line-strong:   rgba(255, 255, 255, 0.18);

  /* Ink */
  --ink:           #f2f0ec;
  --ink-soft:      #a8a6a1;
  --ink-faint:     #6e6c68;

  /* Accent — warm gold */
  --gold:          #c9a227;
  --gold-hi:       #e3bd45;
  --gold-dim:      rgba(201, 162, 39, 0.14);

  /* Status colours */
  --st-production: #e08a3c;
  --st-released:   #5fb37a;
  --st-development:#7f8fd6;
  --st-represented:#c07fc4;

  /* Type */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  --font-display: "Optima", "Palatino", Georgia, "Times New Roman", serif;

  /* Layout */
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* CJK and Malay get font stacks that actually have the glyphs. */
html[lang="zh-Hant"] {
  --font-sans: -apple-system, "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  --font-display: "Songti TC", "PingFang TC", "Noto Serif TC", serif;
}
html[lang="ja"] {
  --font-sans: -apple-system, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  --font-display: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

/* Class-based display rules (.btn, .nav) outrank the UA [hidden] rule, so
   hiding an element from JS needs this to actually take effect. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; }
p, figure, blockquote, figcaption { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: #000; padding: 10px 16px; font-size: 14px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Shared bits ---------- */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 30px;
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn--primary { background: var(--gold); color: #100d02; font-weight: 600; }
.btn--primary:hover { background: var(--gold-hi); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-hi); transform: translateY(-2px); }

/* ---------- Placeholder banner ---------- */
.banner {
  position: relative; z-index: 120;
  display: flex; align-items: center; gap: 16px;
  padding: 10px var(--gutter);
  background: var(--gold-dim);
  border-bottom: 1px solid rgba(201, 162, 39, 0.3);
  font-size: 13px; color: #e8d79a;
}
.banner__text { flex: 1; }
.banner__dismiss {
  background: none; border: 1px solid rgba(201,162,39,.45);
  border-radius: var(--radius); padding: 4px 12px; font-size: 12px;
  cursor: pointer; color: #e8d79a; white-space: nowrap;
}
.banner__dismiss:hover { background: rgba(201,162,39,.2); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(8, 8, 11, 0.55);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.header.is-stuck {
  background: rgba(8, 8, 11, 0.92);
  border-bottom-color: var(--line);
}
.header__inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 0 var(--gutter);
  height: 72px;
  display: flex; align-items: center; gap: 24px;
}
.header__mark { display: flex; align-items: center; gap: 10px; font-size: 15px; letter-spacing: .02em; }
.header__mark-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 12px var(--gold);
}
.header__mark-text { white-space: nowrap; }

.nav { display: flex; gap: 30px; margin-left: auto; }
.nav__link {
  position: relative; font-size: 13px; letter-spacing: .06em;
  color: var(--ink-soft); padding: 6px 0;
  transition: color .22s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--ink); }

.header__actions { display: flex; align-items: center; gap: 12px; }

/* ---------- Language switcher ---------- */
.langswitch { position: relative; }
.langswitch__button {
  display: flex; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 8px 12px;
  font-size: 13px; cursor: pointer;
  transition: border-color .22s var(--ease), color .22s var(--ease);
}
.langswitch__button:hover { border-color: var(--gold); color: var(--gold-hi); }
.langswitch__globe, .langswitch__caret {
  width: 15px; height: 15px; fill: none;
  stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.langswitch__caret { width: 13px; height: 13px; transition: transform .22s var(--ease); }
.langswitch__button[aria-expanded="true"] .langswitch__caret { transform: rotate(180deg); }

.langswitch__menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 190px; padding: 6px;
  background: var(--surface-hi);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0,0,0,.6);
}
.langswitch__option {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 9px 12px;
  background: none; border: 0; border-radius: var(--radius);
  font-size: 14px; text-align: left; cursor: pointer;
}
.langswitch__option:hover { background: rgba(255,255,255,.06); }
.langswitch__option[aria-selected="true"] { color: var(--gold-hi); }
.langswitch__option-tag {
  font-size: 11px; letter-spacing: .1em; color: var(--ink-faint);
}

/* ---------- Burger (mobile) ---------- */
.burger {
  display: none;
  width: 40px; height: 36px;
  background: none; border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 9px 10px;
  flex-direction: column; justify-content: space-between;
}
.burger span { display: block; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex; align-items: center;
  padding: 80px 0 120px;
  overflow: hidden;
}
.hero__glow {
  position: absolute; inset: -30% 20% 30% -20%;
  background: radial-gradient(ellipse at 30% 40%, rgba(201,162,39,.14), transparent 62%);
  pointer-events: none;
}
.hero__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.014) 0 1px, transparent 1px 3px);
}
.hero__inner {
  position: relative;
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  width: 100%;
  display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero__name {
  font-family: var(--font-display);
  font-size: clamp(48px, 8.5vw, 104px);
  line-height: 1.02;
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(17px, 2.2vw, 22px);
  color: var(--gold);
  letter-spacing: .01em;
  margin-bottom: 22px;
}
.hero__tagline {
  max-width: 48ch; color: var(--ink-soft);
  font-size: clamp(15px, 1.5vw, 17px);
  margin-bottom: 40px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.portrait {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(201,162,39,.10), rgba(255,255,255,.02) 55%, transparent),
    var(--surface);
  display: grid; place-items: center;
  overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait::after {
  content: ""; position: absolute; inset: 10px;
  border: 1px solid rgba(255,255,255,.06);
  pointer-events: none;
}
.portrait__hint {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint);
}
.portrait.has-image .portrait__hint { display: none; }

.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 40px;
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-faint);
}
.hero__scroll-line {
  width: 54px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent);
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section--alt { background: var(--bg-alt); }
.section__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section__inner--narrow { max-width: 760px; }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 62ch; }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 50px);
  margin-bottom: 20px;
}
.section__intro { color: var(--ink-soft); font-size: 16px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 6vw, 76px); }
.about__lead {
  font-size: clamp(19px, 2.3vw, 24px);
  line-height: 1.5; color: var(--ink);
  padding-left: 22px; border-left: 2px solid var(--gold);
  margin-bottom: 34px;
}
.about__body p { color: var(--ink-soft); margin-bottom: 20px; }
.about__body p:last-child { margin-bottom: 0; }

.about__side {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  align-self: start;
}
.about__side-title {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 24px;
}
.milestones li {
  position: relative; padding-left: 26px; padding-bottom: 24px;
}
.milestones li:last-child { padding-bottom: 0; }
.milestones li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 10px rgba(201,162,39,.6);
}
.milestones li::after {
  content: ""; position: absolute; left: 3.5px; top: 20px; bottom: 4px;
  width: 1px; background: var(--line-strong);
}
.milestones li:last-child::after { display: none; }
.milestones__period {
  display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 5px;
}
.milestones__text { font-size: 15px; color: var(--ink-soft); }

/* ---------- Timeline ---------- */
.timeline { display: grid; gap: 8px; }
.era {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 5vw, 56px);
}
.era:last-child { border-bottom: 1px solid var(--line); }
.era__label {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.6vw, 28px);
  margin-bottom: 8px;
}
.era__period {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.era__summary { font-size: 14px; color: var(--ink-faint); }

.roles { display: grid; gap: 4px; }
.role {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 24px;
  padding: 18px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.role:hover { background: var(--surface); border-color: var(--line); }
.role__company { font-size: 17px; }
.role__role { font-size: 14px; color: var(--gold); }
.role__period {
  grid-column: 2; grid-row: 1 / span 2;
  font-size: 12px; letter-spacing: .1em; color: var(--ink-faint);
  white-space: nowrap; text-align: right;
}
.role__note {
  grid-column: 1; font-size: 14px; color: var(--ink-soft); margin-top: 4px;
}

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter {
  background: none; border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 8px 20px;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); cursor: pointer;
  transition: all .22s var(--ease);
}
.filter:hover { border-color: var(--gold); color: var(--gold-hi); }
.filter.is-active { background: var(--gold); border-color: var(--gold); color: #100d02; font-weight: 600; }

/* ---------- Project grid ---------- */
/* auto-fit rather than auto-fill, plus a centred track list, so a small number
   of projects sits centred at a readable size instead of hugging the left edge
   of a mostly empty four-column row. */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  justify-content: center;
  gap: 28px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 20px 44px rgba(0,0,0,.5);
}
.card.is-hidden { display: none; }

.card__poster {
  position: relative;
  aspect-ratio: 2 / 3;
  display: grid; place-items: center;
  background:
    linear-gradient(160deg, rgba(201,162,39,.16), transparent 50%),
    linear-gradient(0deg, rgba(0,0,0,.55), transparent 60%),
    var(--surface-hi);
  border-bottom: 1px solid var(--line);
}
.card__poster img { width: 100%; height: 100%; object-fit: cover; }
.card__poster-hint {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-faint);
}
.card__status {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px;
  background: rgba(8,8,11,.82);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
}
.card__status::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--dot, var(--ink-faint));
}
.card__status[data-status="in_production"]  { --dot: var(--st-production); }
.card__status[data-status="released"]       { --dot: var(--st-released); }
.card__status[data-status="in_development"] { --dot: var(--st-development); }
.card__status[data-status="represented"]    { --dot: var(--st-represented); }

.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__kind {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 10px;
}
.card__title { font-family: var(--font-display); font-size: 22px; margin-bottom: 6px; }
/* Official international title. Sits quieter than the original — it is the
   search handle for foreign buyers, not the name of the work. */
.card__alt {
  font-size: 12.5px; letter-spacing: .04em;
  color: var(--ink-faint); margin-bottom: 10px;
}
.card__desc { font-size: 14px; color: var(--ink-soft); flex: 1; margin-bottom: 18px; }
.card__meta {
  display: flex; justify-content: space-between; gap: 12px;
  padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--ink-faint);
}
.card__role { color: var(--gold); }

/* ---------- Services / 業務 ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.service {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px 34px;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease),
              box-shadow .3s var(--ease);
}
/* A gold edge that grows on hover, so the cards feel active without
   pretending to be links — the whole card is not clickable. */
.service::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--gold);
  transform: scaleY(0); transform-origin: top;
  transition: transform .4s var(--ease);
}
.service:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0,0,0,.45);
}
.service:hover::before { transform: scaleY(1); }

.service__index {
  font-size: 11px; letter-spacing: .22em;
  color: var(--gold); margin-bottom: 18px;
}
.service__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.25;
  margin-bottom: 14px;
}
.service__desc {
  font-size: 15px; line-height: 1.7; color: var(--ink-soft); flex: 1;
}
.service__link {
  align-self: flex-start;
  margin-top: 22px;
  font-size: 13px; letter-spacing: .06em;
  color: var(--gold-hi);
  border-bottom: 1px solid rgba(201,162,39,.4);
  padding-bottom: 2px;
  transition: border-color .22s var(--ease);
}
.service__link:hover { border-bottom-color: var(--gold-hi); }

/* ---------- Adaptation panel ---------- */
/* Sits in the list column, not the holder column, so it reads as belonging to
   the titles above it rather than as a second header. */
.adaptation {
  grid-column: 2;
  margin-top: 26px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.adaptation__lead {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px;
  margin-bottom: 18px;
}
.adaptation__index { font-size: 11px; letter-spacing: .1em; color: var(--gold); }
.adaptation__from { font-size: 14px; color: var(--ink-soft); }
.adaptation__arrow { color: var(--ink-faint); }
.adaptation__to {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink);
}

.adaptation__body { display: grid; grid-template-columns: 190px 1fr; gap: 22px; }
.adaptation__key,
.adaptation__sheet {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}
.adaptation__keyImg,
.adaptation__sheetImg { display: block; width: 100%; height: auto; }

/* Unlike a press clipping, artwork is not cropped to a frame here — the whole
   image shows, and the button is just the hit area over it. */
.adaptation__zoom {
  position: relative;
  display: block; width: 100%; padding: 0;
  background: none; border: 0; line-height: 0;
  cursor: zoom-in;
}
.adaptation__key:hover,
.adaptation__sheet:hover { border-color: var(--gold); }

.adaptation__zoomIcon {
  position: absolute; right: 8px; bottom: 8px;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(8,8,11,.78);
  border: 1px solid var(--line-strong);
  color: var(--ink); font-size: 14px; line-height: 1;
  opacity: 0; transform: translateY(4px);
  transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.adaptation__zoom:hover .adaptation__zoomIcon,
.adaptation__zoom:focus-visible .adaptation__zoomIcon { opacity: 1; transform: none; }

/* Touch has no hover, so the affordance would never appear on a phone. */
@media (hover: none) {
  .adaptation__zoomIcon { opacity: 1; transform: none; }
}

.adaptation__side { display: flex; flex-direction: column; gap: 16px; }
.adaptation__note { font-size: 13.5px; color: var(--ink-soft); }
.adaptation__sheets { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.adaptation__caption {
  font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-faint);
  padding: 7px 9px;
}

/* Pushed to the bottom of the column so the two links sit on one line with the
   foot of the key art, whatever the note's length. */
.adaptation__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.adaptation__link {
  font-size: 12.5px;
  color: var(--gold);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 14px;
  transition: border-color .22s var(--ease), color .22s var(--ease);
}
.adaptation__link:hover { border-color: var(--gold-hi); color: var(--gold-hi); }

/* ---------- Rights catalogues ---------- */
.catalogue {
  margin-top: 56px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(24px, 5vw, 56px);
}
/* The rule divides one holder from the next. The first one opens the section,
   so it has nothing to divide it from. */
.catalogue:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.catalogue__status {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.catalogue__status::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--st-represented);
}
.catalogue__holder {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.6vw, 28px);
  margin-bottom: 12px;
}
.catalogue__note { font-size: 14px; color: var(--ink-soft); }
.catalogue__rights {
  font-size: 13px; color: var(--gold);
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--line);
}

.catalogue__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2px 26px;
  align-content: start;
}
.catalogue__item {
  display: flex; align-items: baseline; gap: 12px;
  padding: 11px 12px;
  border-radius: var(--radius);
  transition: background-color .25s var(--ease);
}
.catalogue__item:hover { background: var(--surface); }
.catalogue__index {
  font-size: 11px; letter-spacing: .1em; color: var(--gold);
  flex: none; min-width: 20px;
}
.catalogue__titles { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.catalogue__title { font-size: 15px; color: var(--ink); }
.catalogue__alt { font-size: 12px; color: var(--ink-faint); letter-spacing: .03em; }
.catalogue__meta {
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 2px 9px;
  flex: none;
}
/* The one pill that is a claim rather than a fact about length — it is gold so
   the eye lands on it while scanning nine otherwise identical rows. */
.catalogue__meta--adapted {
  color: var(--gold);
  border-color: rgba(201, 162, 39, 0.4);
}

/* ---------- Showreels ---------- */
.showreel { margin-top: 44px; }
.showreel__label {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 12px; margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.showreel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.video { display: flex; flex-direction: column; }

.video__play {
  display: block; width: 100%; padding: 0;
  background: none; border: 0; cursor: pointer;
  border-radius: var(--radius);
}
.video__play.is-playing { cursor: default; }

.video__frame {
  position: relative; display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #000;
  transition: border-color .3s var(--ease), transform .3s var(--ease),
              box-shadow .3s var(--ease);
}
.video__thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease), opacity .3s var(--ease);
}
.video__embed { width: 100%; height: 100%; display: block; border: 0; }

.video__play:hover .video__frame,
.video__play:focus-visible .video__frame {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,0,0,.5);
}
.video__play:hover .video__thumb { transform: scale(1.04); opacity: .85; }
.video__play.is-playing:hover .video__frame { transform: none; box-shadow: none; }

.video__badge {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(8, 8, 11, .72);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(2px);
  transition: background-color .28s var(--ease), border-color .28s var(--ease),
              transform .28s var(--ease);
}
.video__badge svg { width: 24px; height: 24px; fill: var(--ink); margin-left: 3px; }
.video__play:hover .video__badge,
.video__play:focus-visible .video__badge {
  background: var(--gold); border-color: var(--gold);
  transform: translate(-50%, -50%) scale(1.08);
}
.video__play:hover .video__badge svg { fill: #100d02; }

.video__cap { padding: 14px 2px 0; }
.video__title { font-size: 15px; line-height: 1.4; color: var(--ink); }
.video__note { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }

.services__foot { margin-top: 36px; }

/* ---------- Press clippings ---------- */
/* Three columns with the lead clipping spanning two fills exactly two rows
   for five items — no orphan cell. */
.press {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px 22px;
}

.clip { display: flex; flex-direction: column; }

/* The lead clipping takes a double-width, shallower frame so the whole
   spread reads rather than just a cropped column. */
.clip--featured { grid-column: span 2; }

.clip__view {
  display: block; width: 100%; padding: 0;
  background: none; border: 0; cursor: zoom-in;
  border-radius: var(--radius);
}

.clip__frame {
  position: relative; display: block;
  /* Newspaper pages are landscape; a portrait frame would crop the headline
     in from both sides. */
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-hi);
  transition: border-color .3s var(--ease), transform .3s var(--ease),
              box-shadow .3s var(--ease);
}
.clip--featured .clip__frame { aspect-ratio: 3 / 2; }

.clip__img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Anchored to the top so the masthead and headline always survive
     the crop — the body copy is for the lightbox. */
  object-position: top center;
  /* Photographed newsprint arrives in five different lighting conditions;
     a light, uniform correction makes them read as one set. */
  filter: contrast(1.06) saturate(.92) brightness(1.02);
  transition: transform .5s var(--ease);
}

.clip__view:hover .clip__frame,
.clip__view:focus-visible .clip__frame {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,.55);
}
.clip__view:hover .clip__img { transform: scale(1.03); }

.clip__zoom {
  position: absolute; right: 10px; bottom: 10px;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(8,8,11,.78);
  border: 1px solid var(--line-strong);
  color: var(--ink); font-size: 15px; line-height: 1;
  opacity: 0; transform: translateY(4px);
  transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.clip__view:hover .clip__zoom,
.clip__view:focus-visible .clip__zoom { opacity: 1; transform: none; }

.clip__cap { padding: 14px 2px 0; }
.clip__source {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.clip__headline {
  font-size: 15px; line-height: 1.4; color: var(--ink); margin-bottom: 5px;
}
.clip--featured .clip__headline { font-size: 18px; }
.clip__summary { font-size: 13px; line-height: 1.55; color: var(--ink-soft); }

/* ---------- Lightbox ---------- */
body.is-locked { overflow: hidden; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4, 4, 6, .94);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  animation: lb-in .22s var(--ease);
}
@keyframes lb-in { from { opacity: 0 } to { opacity: 1 } }

.lightbox__figure {
  display: flex; flex-direction: column;
  align-items: center; gap: 16px;
  max-width: 100%; max-height: 100%;
}
/* The stage is the scroll container: at fit size it just holds the image,
   and when zoomed the oversized image is panned inside it. */
.lightbox__stage {
  max-width: 100%;
  max-height: calc(100vh - 240px);
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  cursor: zoom-in;
  -webkit-overflow-scrolling: touch;
}
.lightbox__stage.is-zoomed { cursor: zoom-out; }

.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 242px);
  object-fit: contain;
}
.lightbox__stage.is-zoomed .lightbox__img {
  max-width: none; max-height: none;
  width: 190%;
}

.lightbox__hint {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint);
}
.lightbox__caption { max-width: 70ch; text-align: center; }
.lightbox__source {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.lightbox__headline { font-size: 17px; color: var(--ink); margin-bottom: 5px; }
.lightbox__summary { font-size: 14px; color: var(--ink-soft); }

.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 2;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: rgba(20,20,26,.85);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color .22s var(--ease), border-color .22s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover {
  background: var(--gold); border-color: var(--gold); color: #100d02;
}
.lightbox__close svg, .lightbox__nav svg {
  width: 20px; height: 20px; fill: none;
  stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Contact ---------- */
.contact__direct { margin-bottom: 40px; }
.contact__direct-label {
  display: block;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 6px;
}
.contact__email {
  font-family: var(--font-display);
  font-size: clamp(21px, 3vw, 30px);
  color: var(--gold-hi);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.contact__email:hover { border-bottom-color: var(--gold-hi); }

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field__label {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint);
}
.field__input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 15px;
  color: var(--ink); font: inherit; font-size: 15px;
  transition: border-color .22s var(--ease), background-color .22s var(--ease);
}
.field__input:focus {
  outline: none; border-color: var(--gold); background: var(--surface-hi);
}
.field__input--area { resize: vertical; min-height: 130px; }

.form__error {
  color: #e2735f; font-size: 14px;
  border-left: 2px solid #e2735f; padding-left: 12px;
}
.form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__note { font-size: 13px; color: var(--ink-faint); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 34px 0; }
.footer__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-faint);
}
.footer__top:hover { color: var(--gold-hi); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .press { grid-template-columns: repeat(2, 1fr); }
  .clip--featured { grid-column: span 2; }
  .lightbox__img { max-height: calc(100vh - 260px); }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__portrait { order: -1; max-width: 260px; }
  .hero__scroll { display: none; }
  .about { grid-template-columns: 1fr; }
  .era { grid-template-columns: 1fr; gap: 20px; }
  .catalogue { grid-template-columns: 1fr; gap: 22px; }
  .adaptation { grid-column: auto; }
  .adaptation__body { grid-template-columns: 1fr; }
  .adaptation__key { max-width: 230px; }
}

@media (max-width: 760px) {
  /* Character sheets carry several figures and callouts each. Two-up on a
     phone puts them under 140px and the art becomes unreadable, so they go
     one to a row here even though it costs height. */
  .adaptation__sheets { grid-template-columns: 1fr; }

  /* backdrop-filter would make .header the containing block for the
     fixed nav overlay, so it is dropped where the overlay is used. */
  .header { backdrop-filter: none; background: rgba(8, 8, 11, .94); }
  .header.is-stuck { background: rgba(8, 8, 11, .97); }

  /* On desktop the nav's margin-left:auto is what pushes the switcher and
     burger to the right edge. The nav goes position:fixed here, so it leaves
     the flow and the actions have to claim that space themselves. */
  .header__actions { margin-left: auto; }

  .burger { display: flex; }
  .nav {
    position: fixed; inset: 0;
    flex-direction: column; gap: 4px;
    padding: 96px var(--gutter) 32px;
    background: rgba(8,8,11,.98);
    backdrop-filter: blur(20px);
    overflow-y: auto;
    transform: translateY(-100%);
    transition: transform .35s var(--ease);
    margin-left: 0;
  }
  .nav.is-open { transform: none; }
  .nav__link { font-size: 22px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { justify-content: center; text-align: center; }

  .press { grid-template-columns: 1fr; gap: 30px; }
  .clip--featured { grid-column: span 1; }
  .clip__frame, .clip--featured .clip__frame { aspect-ratio: 4 / 3; }

  /* A broadsheet on a phone is never going to be comfortable reading, so give
     the image every pixel available and drop the summary — it is already on
     the tile the reader tapped. */
  .lightbox { padding: 12px; }
  .lightbox__stage { max-height: calc(100dvh - 150px); }
  .lightbox__img { max-height: calc(100dvh - 152px); }
  /* Newsprint needs a harder zoom to be legible on a phone. */
  .lightbox__stage.is-zoomed .lightbox__img { width: 320%; }
  .lightbox__summary { display: none; }
  .lightbox__close { top: 10px; right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .banner, .hero__scroll, .filters, .footer__top, .form { display: none; }
  body { background: #fff; color: #000; }
}
