:root {
  --bg: #0c101b;
  --bg-2: #121827;
  --panel: rgba(18, 25, 41, 0.82);
  --panel-strong: rgba(20, 29, 49, 0.94);
  --text: #f7f0e3;
  --muted: #c8c3bd;
  --soft: #9fb5ce;
  --gold: #f1c46b;
  --blue: #75b9ff;
  --red: #ff7a8f;
  --line: rgba(255,255,255,0.14);
  --shadow: 0 24px 80px rgba(0,0,0,0.36);
  --radius: 28px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(80, 135, 255, 0.14), transparent 34rem),
    radial-gradient(circle at top right, rgba(255, 109, 145, 0.1), transparent 30rem),
    linear-gradient(180deg, #090d18 0%, #0f1422 42%, #0c101b 100%);
  line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 1rem; background: #fff; color: #000; padding: .75rem 1rem; z-index: 1000; }
.skip-link:focus { left: 1rem; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7, 11, 20, 0.72);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .6rem 0; }
.brand img { object-fit: contain; border-radius: 10px; -webkit-border-radius: 10px;   display:inline-block; overflow: hidden;}
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem .95rem; font-size: .92rem; color: var(--muted); }
.nav a { text-decoration: none; padding: .35rem .2rem; }
.nav a:hover, .nav a:focus { color: var(--text); }
.section, .section-full { position: relative; overflow: hidden; }
.section { padding: 88px 0; }
.section-full { min-height: 88vh; display: grid; align-items: center; }
.hero-media, .final-media { position: absolute; inset: 0; z-index: 0; }
.hero-media picture, .hero-media img, .final-media picture, .final-media img { width: 100%; height: 100%; }
.hero-media img, .final-media img { object-fit: cover; }
.hero-overlay, .final-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 11, 20, .92), rgba(8, 11, 20, .70) 42%, rgba(8, 11, 20, .28)),
    linear-gradient(0deg, #0c101b 0%, transparent 34%, rgba(0,0,0,.22) 100%);
}
.hero-content, .final-content { position: relative; z-index: 2; padding: 120px 0 90px; max-width: 790px; margin-left: max(0px, calc((100% - var(--max)) / 2)); }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 800; margin: 0 0 .85rem; }
h1, h2, h3 { line-height: 1.05; margin: 0 0 1rem; letter-spacing: -0.04em; }
h1 { font-size: clamp(3rem, 8vw, 7.3rem); max-width: 13ch; }
h2 { font-size: clamp(2.15rem, 4.8vw, 4.4rem); }
h3 { font-size: clamp(1.45rem, 3vw, 2.15rem); }
p { margin: 0 0 1rem; color: var(--muted); }
.hero-subtitle { font-size: clamp(1.12rem, 2.2vw, 1.5rem); color: #fff3df; max-width: 730px; }
.hero-line, .microcopy { color: #fff; font-weight: 750; }
.button-row, .link-list { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.3rem; }
.button-row.compact { margin-top: 1rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; border-radius: 999px; padding: .75rem 1.15rem;
  text-decoration: none; font-weight: 800; border: 1px solid transparent;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.btn:hover, .btn:focus { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--gold), #fff0b5); color: #211407; box-shadow: 0 12px 32px rgba(241,196,107,.25); }
.btn-secondary { background: rgba(117, 185, 255, .16); color: #dceeff; border-color: rgba(117,185,255,.36); }
.btn-ghost { background: rgba(255, 255, 255, .07); color: var(--text); border-color: var(--line); }
.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: 44px; align-items: center; }
.split.reverse { grid-template-columns: .98fr 1.02fr; }
.copy-card, .info-card, .book-card, .artifact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.copy-card { padding: clamp(1.4rem, 4vw, 3rem); }
.copy-card blockquote {
  margin: 1.5rem 0 0;
  padding: 1.1rem 1.2rem;
  border-left: 3px solid var(--gold);
  color: #fff8e8;
  background: rgba(255,255,255,.055);
  border-radius: 0 18px 18px 0;
  font-size: 1.07rem;
}
.image-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #070b14; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.lifted { transform: translateY(-14px); }
.glow-frame { box-shadow: 0 22px 70px rgba(117,185,255,.15), 0 22px 90px rgba(255,122,143,.12); }
.three-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card { padding: 2rem; }
.number { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(241,196,107,.16); color: var(--gold); font-weight: 900; margin-bottom: 1.2rem; }
.section-heading { text-align: center; margin-bottom: 32px; }
.section-heading.narrow { max-width: 790px; }
.book-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.book-card { overflow: hidden; display: flex; flex-direction: column; }
.book-image img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.book-copy { padding: 2rem; }
ul { color: var(--muted); padding-left: 1.2rem; }
li { margin-bottom: .4rem; }
.artifact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.artifact-card { overflow: hidden; padding-bottom: 1.4rem; }
.artifact-card picture img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.artifact-card h3, .artifact-card p { padding: 0 1.3rem; }
.artifact-card h3 { margin-top: 1.2rem; }
.quote-band {
  padding: 110px 0;
  background-image:
    linear-gradient(90deg, rgba(9,13,24,.95), rgba(9,13,24,.62), rgba(9,13,24,.92)),
    var(--quote-bg);
  background-size: cover;
  background-position: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote-content p { color: #fff; font-size: clamp(2.2rem, 7vw, 6rem); line-height: 1; font-weight: 950; letter-spacing: -.05em; margin: 0; max-width: 900px; }
.tag-grid { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.tag-grid span { border: 1px solid var(--line); border-radius: 999px; padding: .65rem 1rem; background: rgba(255,255,255,.055); color: var(--muted); }
.link-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.final-cta { min-height: 70vh; }
.final-overlay { background: linear-gradient(90deg, rgba(8,11,20,.92), rgba(8,11,20,.55), rgba(8,11,20,.88)); }
.final-content h2 { max-width: 850px; }
.site-footer { background: #060914; border-top: 1px solid var(--line); padding: 42px 0; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .55rem 1rem; justify-content: flex-end; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover, .site-footer a:focus { color: var(--text); }
.footer-micro { grid-column: 1 / -1; color: var(--gold); margin: 0; }
@media (max-width: 860px) {
  .header-inner { align-items: flex-start; }
  .brand img { width: 136px; }
  .nav { font-size: .82rem; }
  .section { padding: 66px 0; }
  .hero-overlay, .final-overlay { background: linear-gradient(0deg, rgba(8,11,20,.96), rgba(8,11,20,.66) 54%, rgba(8,11,20,.20)); }
  .hero-content, .final-content { padding: 240px 0 70px 10px; }
  h1 { max-width: 11ch; }
  .split, .split.reverse, .book-grid, .artifact-grid, .three-grid, .footer-inner { grid-template-columns: 1fr; }
  .lifted { transform: none; }
  .link-list { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .container { width: min(100% - 28px, var(--max)); }
  .header-inner { flex-direction: column; gap: .4rem; }
  .nav { justify-content: flex-start; }
  .button-row .btn, .link-list .btn { width: 100%; }
  .copy-card, .book-copy, .info-card { padding: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover, .btn:focus { transform: none; }
}


/* PATCH01: Mobile source-fit repair
   Content <picture> swaps now point to uncropped mobile-fit assets. These rules
   stop the content image boxes from forcing a desktop 16:9 cover crop after the
   mobile source is selected. Hero and final CTA media keep cinematic cover crop. */
@media (max-width: 720px) {
  .section .image-frame,
  .book-card .book-image,
  .artifact-card picture {
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .section .image-frame picture,
  .book-card .book-image,
  .artifact-card picture {
    display: block;
    width: 100%;
    height: auto;
  }

  .section .image-frame img,
  .book-card .book-image img,
  .artifact-card picture img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .hero-media img,
  .final-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
