/* Black Key Press LLC — main stylesheet
   Palette, type and spacing tokens live in :root. Components follow in page order. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
}

:root {
  --ink: #0E0E0E;
  --charcoal: #1C1A18;
  --rule: #2A2724;
  --rule-strong: #3A3631;
  --gold: #DDAA50;           /* Matches the official logo artwork */
  --gold-rgb: 221, 170, 80;  /* Same colour as --gold, for translucent tints */
  --gold-soft: rgba(var(--gold-rgb), 0.14);
  --white: #F4EFE6;
  --muted: #A8A297;
  --faint: #8E887D;

  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --header-h: 72px;

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 0.6rem 1rem;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--rule); }
.section--charcoal { background: var(--charcoal); }

/* ---------- Typography ---------- */
.display, h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.005em; }
h1, .display {
  font-size: clamp(2.6rem, 6.2vw, 5.25rem);
  line-height: 1.02;
}
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.08; }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); line-height: 1.15; }
h1 em, h2 em, .display em { font-style: italic; color: var(--gold); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
}
.eyebrow .numeral { font-family: var(--serif); font-size: 1rem; letter-spacing: 0.04em; text-transform: none; font-weight: 500; }
.eyebrow .dash { width: 1.75rem; height: 1px; background: currentColor; opacity: 0.7; }

.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 38rem; line-height: 1.75; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.prose p + p { margin-top: 1.1rem; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--white); font-weight: 600; }

.rule { width: 4rem; height: 1px; background: var(--gold); margin-block: 1.75rem; transform-origin: left; }

/* Inline text links */
.link {
  color: var(--white);
  text-decoration: none;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: color 0.25s var(--ease), background-size 0.35s var(--ease);
}
.link:hover { color: var(--gold); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
}
.arrow-link::after { content: "→"; transition: transform 0.3s var(--ease); }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-top: 2.25rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.8rem 1.5rem;
  font-family: var(--sans); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--gold); color: var(--ink); background: var(--gold);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { background: var(--white); border-color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--rule-strong); }
.btn--ghost:hover { background: transparent; color: var(--gold); border-color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 14, 14, 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would trap
   the fixed-position mobile menu inside the header's box. */
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: transparent; }
  .site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(14, 14, 14, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.85rem; text-decoration: none; color: var(--white); }
.brand-mark { display: block; width: auto; height: 32px; }
.brand { padding-block: 0.35rem; transition: opacity 0.25s var(--ease); }
.brand:hover { opacity: 0.85; }
.footer-brand .brand-mark { height: 36px; }

.site-nav ul { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2rem); list-style: none; margin: 0; padding: 0; }
.site-nav a {
  position: relative; display: inline-block; padding-block: 0.4rem;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--muted); text-decoration: none; transition: color 0.25s var(--ease);
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav .nav-cta { color: var(--gold); }

.nav-toggle {
  display: none; position: relative; width: 48px; height: 48px; margin-right: -12px;
  background: none; border: 0; color: var(--white); cursor: pointer;
}
.nav-toggle .bar {
  position: absolute; left: 13px; width: 22px; height: 1.5px; background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle .bar:nth-child(2) { top: 18px; }
.nav-toggle .bar:nth-child(3) { top: 24px; }
.nav-toggle .bar:nth-child(4) { top: 30px; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--ink); border-top: 1px solid var(--rule);
    padding: 2rem var(--gutter);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
    overflow-y: auto;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--rule); }
  .site-nav a { display: block; padding-block: 1.05rem; font-family: var(--serif); font-size: 1.75rem; letter-spacing: 0; color: var(--white); }
  .site-nav a::after { display: none; }
  .site-nav .nav-cta:not([aria-current]) { color: var(--white); }
  .site-nav a[aria-current="page"] { color: var(--gold); }
  body.nav-open { overflow: hidden; }
  /* Without JS the toggle can't open the menu, so show links inline instead. */
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .site-nav { position: static; visibility: visible; opacity: 1; transform: none; padding: 0 0 1rem; border: 0; }
  html:not(.js) .header-inner { flex-wrap: wrap; height: auto; padding-block: 1rem; }
}

/* ---------- Asset placeholders ----------
   Remove each placeholder when the real asset arrives. See ASSETS.md for the list. */
.ph {
  position: relative; display: flex; align-items: center; justify-content: center;
  background-color: var(--charcoal);
  background-image: repeating-linear-gradient(135deg, transparent 0 10px, rgba(var(--gold-rgb), 0.05) 10px 11px);
  border: 1px dashed rgba(var(--gold-rgb), 0.55);
  color: var(--gold); text-align: center;
}
.ph__label {
  display: block; padding: 0.75rem; font-family: var(--sans); font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.5;
}
.ph__label small { display: block; margin-top: 0.3rem; font-size: 0.6rem; font-weight: 500; letter-spacing: 0.04em; text-transform: none; color: var(--muted); word-break: break-all; }
.ph--mark { width: 40px; height: 40px; flex: none; }
.ph--mark .ph__label { padding: 0; font-size: 0.55rem; letter-spacing: 0.08em; }
.ph--logo { width: 100%; aspect-ratio: 2 / 1; max-width: 480px; }
.ph--icon { width: 96px; height: 96px; border-radius: 22%; flex: none; }
.ph--icon .ph__label { font-size: 0.55rem; padding: 0.4rem; }
.ph--phone { aspect-ratio: 9 / 19.5; width: 100%; border-radius: 28px; }

/* ---------- Reveal animations ---------- */
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal-delay-1 { transition-delay: 0.08s; }
html.js .reveal-delay-2 { transition-delay: 0.16s; }
html.js .reveal-delay-3 { transition-delay: 0.24s; }
html.js .rule.reveal { opacity: 1; transform: scaleX(0); transition: transform 1.1s var(--ease) 0.2s; }
html.js .rule.reveal.is-visible { transform: scaleX(1); }

/* Above-the-fold heroes animate straight away instead of waiting for the observer. */
@keyframes rise { from { opacity: 0.001; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
html.js .hero .reveal, html.js .page-hero .reveal { opacity: 1; transform: none; transition: none; animation: rise 0.8s var(--ease) both; }
html.js .hero .rule.reveal { animation: draw 1.1s var(--ease) 0.3s both; }
html.js .hero .reveal-delay-1, html.js .page-hero .reveal-delay-1 { animation-delay: 0.08s; }
html.js .hero .reveal-delay-2, html.js .page-hero .reveal-delay-2 { animation-delay: 0.16s; }
html.js .hero .reveal-delay-3, html.js .page-hero .reveal-delay-3 { animation-delay: 0.24s; }
html.js .page-hero .reveal:nth-child(2) { animation-delay: 0.08s; }
html.js .page-hero .reveal:nth-child(3) { animation-delay: 0.16s; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(4rem, 9vw, 7.5rem) clamp(4rem, 8vw, 6.5rem); }
.hero::before {
  /* Faint printer's grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(244,239,230,0.035) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
  mask-image: linear-gradient(to bottom, #000 10%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, #000 10%, transparent 95%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.hero h1 { margin-top: 1.5rem; max-width: 12ch; }
.hero-art { justify-self: end; width: 100%; max-width: 480px; }
.hero-logo { display: block; width: 100%; height: auto; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { justify-self: start; max-width: 280px; order: -1; margin-bottom: 0.5rem; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--rule); }
.page-hero h1 { margin-top: 1.25rem; max-width: 16ch; }
.page-hero .lede { margin-top: 1.5rem; }

/* ---------- Section header ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { margin-top: 1rem; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Divisions index (home) ---------- */
.divisions { border-top: 1px solid var(--rule); }
.division {
  position: relative; display: grid; grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 1.2fr) auto;
  gap: 1.5rem 2.5rem; align-items: baseline;
  padding-block: clamp(1.75rem, 3vw, 2.5rem); border-bottom: 1px solid var(--rule);
  text-decoration: none; color: inherit;
}
.division::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease);
}
.division:hover::before, .division:focus-visible::before { transform: scaleX(1); }
.division__num { font-family: var(--serif); font-size: 1.3rem; color: var(--gold); }
.division__title { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; transition: color 0.3s var(--ease); }
.division:hover .division__title { color: var(--gold); }
.division__text { color: var(--muted); }
.division__go { color: var(--gold); font-size: 1.2rem; transition: transform 0.35s var(--ease); }
.division:hover .division__go { transform: translateX(5px); }
@media (max-width: 760px) {
  .division { grid-template-columns: 2.5rem minmax(0, 1fr) auto; }
  .division__text { grid-column: 2 / -1; }
}

.status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }

/* ---------- Feature (game spotlight) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.feature__media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; max-width: 460px; }
.feature__media > :nth-child(2) { transform: translateY(2.5rem); }
/* Real screenshots keep their own aspect ratio (no cropping): width sets the size, height follows. */
/* The thin frame is drawn as an outline (box-shadow), not a border, so it never changes the picture's shape. */
.shot, .feature__media img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px var(--rule-strong); background: var(--charcoal); }
.feature__media a { display: block; text-decoration: none; transition: opacity 0.3s var(--ease); }
.feature__media a:hover { opacity: 0.88; }
/* Feature graphic as the spotlight image (Games page) */
.feature__media--banner { display: block; max-width: none; }
.feature__media--banner > :nth-child(2) { transform: none; }
.feature__media--banner img { border-radius: 0; box-shadow: 0 0 0 1px var(--rule-strong), 0 24px 60px rgba(0, 0, 0, 0.45); }
.title-lockup img { width: 72px; height: 72px; border-radius: 22%; flex: none; }
.title-lockup--lg img { width: 96px; height: 96px; }
.app-icon { box-shadow: 0 0 0 1px var(--rule-strong), 0 10px 28px rgba(0, 0, 0, 0.45); }
.feature__body h2 { margin-top: 1rem; }
.title-lockup { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.75rem; }
.title-lockup .ph--icon { width: 72px; height: 72px; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature__media { max-width: 360px; order: 2; }
}

/* Release block */
.release {
  margin-top: 2rem; padding: 1.5rem 1.75rem; border: 1px solid var(--rule-strong); border-left: 2px solid var(--gold);
  background: rgba(28, 26, 24, 0.6);
}
.release__label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.release__date { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.15; margin-top: 0.35rem; }
.release__note { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; }

/* ---------- Facts list ---------- */
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); border-top: 1px solid var(--rule); }
.facts dt, .facts dd { padding-block: 1rem; border-bottom: 1px solid var(--rule); }
.facts dt { padding-right: 2.5rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); padding-top: 1.2rem; }
.facts dd { color: var(--white); }
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 0.1rem; }
  .facts dd { padding-top: 0.1rem; }
}

/* ---------- Two-column split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 860px) { .split, .split--even { grid-template-columns: 1fr; } }

/* ---------- Numbered principles ---------- */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.principle { padding: 2rem 2rem 2rem 0; border-bottom: 1px solid var(--rule); }
.principle + .principle { padding-left: 2rem; border-left: 1px solid var(--rule); }
.principle .numeral { font-family: var(--serif); color: var(--gold); font-size: 1.2rem; }
.principle h3 { margin-block: 0.75rem 0.6rem; }
.principle p { color: var(--muted); }
@media (max-width: 860px) {
  .principles { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: 1.75rem 0; border-left: 0; }
}

/* ---------- Contact cards ---------- */
.channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.channel {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: clamp(1.75rem, 3vw, 2.5rem); border: 1px solid var(--rule-strong); background: var(--charcoal);
  transition: border-color 0.3s var(--ease);
}
.channel:hover { border-color: rgba(var(--gold-rgb), 0.6); }
.channel h2 { font-size: clamp(1.6rem, 2.5vw, 2rem); }
.channel p { color: var(--muted); }
.channel .email { margin-top: auto; padding-top: 1.25rem; font-size: clamp(0.95rem, 1.6vw, 1.1rem); word-break: break-all; }
@media (max-width: 760px) { .channels { grid-template-columns: 1fr; } }

/* ---------- Promotional banner (feature graphic) ---------- */
.promo-banner { margin-top: clamp(1.75rem, 4vw, 2.75rem); max-width: 1024px; }
.promo-banner img { width: 100%; height: auto; box-shadow: 0 0 0 1px var(--rule-strong), 0 30px 80px rgba(0, 0, 0, 0.5); }

/* ---------- Screenshot gallery ----------
   Five columns on wide screens; a sideways-scrolling row with snap points on smaller ones.
   Each thumbnail links to the full-size image, which main.js opens in the lightbox. */
.gallery {
  list-style: none; margin: 0; padding: 0 0 1.25rem;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr);
  gap: clamp(0.9rem, 1.8vw, 1.5rem); overflow-x: auto; scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain; scrollbar-color: var(--rule-strong) transparent;
}
.gallery > li { scroll-snap-align: start; min-width: 0; }
.shot-card { margin: 0; }
.shot-link {
  position: relative; display: block; overflow: hidden; border-radius: 14px;
  border: 1px solid var(--rule-strong); background: var(--charcoal); text-decoration: none;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.shot-link img { width: 100%; height: auto; transition: transform 0.7s var(--ease); }
.shot-link:hover, .shot-link:focus-visible { border-color: rgba(var(--gold-rgb), 0.75); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55); }
.shot-link:hover img { transform: scale(1.025); }
.shot-zoom {
  position: absolute; right: 0.65rem; bottom: 0.65rem; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%; color: var(--gold);
  background: rgba(14, 14, 14, 0.8); border: 1px solid rgba(var(--gold-rgb), 0.6);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.shot-zoom svg { width: 16px; height: 16px; }
.shot-link:hover .shot-zoom, .shot-link:focus-visible .shot-zoom { background: var(--gold); color: var(--ink); }
.shot-card figcaption { display: flex; align-items: baseline; gap: 0.6rem; margin-top: 0.9rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.shot-card .shot-num { font-family: var(--serif); font-size: 1rem; font-weight: 500; letter-spacing: 0.04em; color: var(--gold); }
.gallery-hint { margin-top: 0.75rem; font-size: 0.8rem; color: var(--faint); }
@media (min-width: 1024px) { .gallery-hint { display: none; } }
@media (max-width: 760px) { .gallery { grid-auto-columns: 64%; } }

/* ---------- Lightbox (enlarged screenshots) ---------- */
html.lightbox-open { overflow: hidden; }
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: transparent; color: var(--white); overflow: hidden;
}
.lightbox::backdrop { background: rgba(8, 8, 8, 0.95); }
.lightbox__stage {
  height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 0.9rem;
  padding: clamp(0.75rem, 2vw, 1.5rem) var(--gutter);
}
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; max-width: 760px; margin-inline: auto; }
.lightbox__count { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.lightbox__view { min-height: 0; display: flex; align-items: center; justify-content: center; }
.lightbox__img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; border-radius: 14px; box-shadow: 0 0 0 1px var(--rule-strong); }
.lightbox__caption { flex: 1; text-align: center; font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.45rem); line-height: 1.2; }
.lightbox__btn {
  flex: none; display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 1px solid var(--rule-strong); background: rgba(28, 26, 24, 0.85); color: var(--white); cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.lightbox__btn:hover { border-color: var(--gold); color: var(--gold); }
.lightbox__btn svg { width: 20px; height: 20px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding-block: 1.35rem; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.4rem; color: var(--gold); transition: transform 0.3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold); }
.faq .answer { padding-bottom: 1.5rem; max-width: 44rem; color: var(--muted); }
.faq .answer p + p { margin-top: 0.75rem; }

/* Checklist list */
.ticks { list-style: none; padding: 0; margin-top: 1.25rem; }
.ticks li { position: relative; padding: 0.7rem 0 0.7rem 2rem; border-bottom: 1px solid var(--rule); color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0.2rem; top: 1.45rem; width: 0.85rem; height: 1px; background: var(--gold); }

/* ---------- Status panel (in-development pages) ---------- */
.panel { padding: clamp(2rem, 4vw, 3rem); border: 1px solid var(--rule-strong); background: var(--charcoal); }
.panel h2 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); margin-block: 1rem; }
.panel p { color: var(--muted); }

/* Future catalogue grids — used once real products or titles exist */
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1.5rem; }
.catalog-item { border: 1px solid var(--rule-strong); background: var(--charcoal); }
.catalog-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.catalog-item__body { padding: 1.25rem 1.5rem 1.5rem; }
.catalog-item__body p { color: var(--muted); font-size: 0.92rem; margin-top: 0.4rem; }

/* ---------- Call-to-action band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 18ch; margin: 1.25rem auto 0; }
.cta-band .lede { margin: 1.25rem auto 0; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule); background: var(--charcoal); padding-block: clamp(3.5rem, 7vw, 5rem) 2rem; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.footer-brand p { color: var(--muted); margin-top: 1.25rem; max-width: 22rem; }
.footer-col h2 { font-family: var(--sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: var(--muted); text-decoration: none; transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid var(--rule);
  color: var(--faint); font-size: 0.8rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: flex; align-items: center; }
.notfound .numeral { font-family: var(--serif); font-size: clamp(5rem, 16vw, 10rem); line-height: 1; color: var(--gold); }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.maxw { max-width: 44rem; }

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