:root {
  color-scheme: dark;
  --night: #121426;
  --panel: #1C2138;
  --ice: #EEF2F5;
  --muted: #B5BDD0;
  --line: #4A536E;
  --lavender: #B7A3E3;
  --green: #B7D96B;
  --orange: #F2A65A;
  --turquoise: #7DD8D0;
  --body: "Space Grotesk", Arial, sans-serif;
  --mono: "IBM Plex Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ice); font: 16px/1.6 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ice); text-underline-offset: 4px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.02; }
h1 { margin-bottom: 24px; font-size: clamp(4rem, 7.2vw, 7.6rem); letter-spacing: -.065em; }
h2 { margin-bottom: 18px; font-size: clamp(2.8rem, 4.6vw, 4.8rem); letter-spacing: -.05em; }
h3 { font-size: 1.8rem; letter-spacing: -.035em; }
button, input { font-family: var(--body); }
.skip-link { position: fixed; top: -90px; left: 16px; z-index: 3000; padding: 12px 18px; border: 2px solid var(--green); background: var(--night); color: var(--green); font-family: var(--mono); }
.skip-link:focus { top: 16px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 88px; padding: 18px clamp(20px, 4vw, 64px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--ice); font-size: 1.4rem; font-weight: 600; text-decoration: none; }
.brand-mark { padding: 7px 10px; border: 1px solid var(--lavender); color: var(--lavender); font-family: var(--mono); font-size: 13px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-family: var(--mono); font-size: 12px; text-decoration: none; text-transform: uppercase; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--green); text-decoration: underline; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 76px); align-items: center; padding: clamp(52px, 7vw, 96px) clamp(20px, 5vw, 80px); }
.eyebrow { margin-bottom: 20px; color: var(--green); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.hero h1 { max-width: 850px; }
.lead { color: var(--muted); font-size: 19px; }
.hero .lead { max-width: 610px; margin-bottom: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; border: 2px solid var(--green); border-radius: 0; background: var(--green); color: var(--night); font-weight: 700; text-decoration: none; }
.button:hover { background: var(--ice); border-color: var(--ice); }
.hero-art { margin: 0; }
.hero-art img { width: 100%; border: 1px solid var(--line); }
.hero-art figcaption { margin-top: 12px; color: var(--muted); font-family: var(--mono); font-size: 11px; text-align: right; text-transform: uppercase; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts > div { display: flex; align-items: baseline; gap: 12px; padding: 18px clamp(20px, 3vw, 48px); border-right: 1px solid var(--line); }
.facts > div:last-child { border-right: 0; }
.facts strong { color: var(--lavender); font-family: var(--mono); font-size: 24px; font-weight: 400; }
.facts span { color: var(--muted); font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.section { padding: clamp(52px, 7vw, 92px) clamp(20px, 4vw, 64px); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .7fr); gap: 48px; align-items: end; margin-bottom: 36px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin-bottom: 6px; color: var(--muted); }
.series-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.series-card { display: flex; flex-direction: column; min-width: 0; padding: 14px 14px 22px; border: 1px solid var(--line); border-top: 5px solid var(--accent); background: var(--panel); color: var(--ice); text-decoration: none; }
.series-card.night { --accent: var(--lavender); }
.series-card.field { --accent: var(--green); }
.series-card.open { --accent: var(--orange); }
.series-card.sound { --accent: var(--turquoise); }
.series-card img { width: 100%; margin-bottom: 20px; border: 1px solid var(--line); }
.series-number { margin-bottom: 14px; color: var(--accent); font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.series-card h3 { margin-bottom: 10px; }
.series-card p { color: var(--muted); font-size: 14px; }
.card-link { margin-top: auto; color: var(--accent); font-family: var(--mono); font-size: 11px; text-decoration: underline; text-transform: uppercase; }
.series-card:hover .card-link { color: var(--ice); }
.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; border-top: 1px solid var(--line); background: var(--panel); }
.about-section h2 { margin: 0; }
.about-section p { margin-bottom: 20px; }
.demo-note { padding-left: 16px; border-left: 3px solid var(--green); color: var(--muted); font-size: 13px; }
.page-intro { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(290px, .7fr); gap: 48px; align-items: end; padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 64px) 44px; border-bottom: 1px solid var(--line); }
.page-intro h1 { margin: 0; }
.intro-copy { padding-bottom: 8px; }
.intro-copy p { margin-bottom: 18px; }
.intro-copy .demo-note { margin-bottom: 0; }
.archive-section, .table-section { padding-top: 30px; }
.archive-rule { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 28px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.table-foot { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.table-foot p { margin: 0; color: var(--muted); }
.table-foot .button { flex: 0 0 auto; }
.site-footer { padding: 48px clamp(20px, 4vw, 64px) 24px; border-top: 1px solid var(--line); background: #0B0D18; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 48px; padding-bottom: 40px; }
.footer-brand { color: var(--ice); font-size: clamp(3.5rem, 6vw, 6rem); font-weight: 600; line-height: .82; letter-spacing: -.06em; text-decoration: none; }
.footer-brand span { color: var(--green); }
.footer-label { margin-bottom: 14px; color: var(--green); font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.footer-grid nav { display: grid; gap: 8px; }
.footer-grid p:not(.footer-label) { max-width: 360px; color: var(--muted); font-size: 14px; }
.footer-bottom { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
@media (min-width: 768px) and (max-width: 1100px) {
  .hero h1, .page-intro h1 { font-size: 5.5rem; }
  .series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts > div:nth-child(2) { border-right: 0; }
  .facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 767px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 12px; padding: 16px 20px; }
  .site-nav { width: 100%; justify-content: space-between; gap: 6px 12px; }
  .site-nav a { font-size: 10px; }
  .hero { grid-template-columns: 1fr; padding: 48px 20px; }
  .hero h1, .page-intro h1 { font-size: clamp(3.6rem, 17vw, 4.8rem); }
  .hero .lead { font-size: 17px; }
  .facts { grid-template-columns: 1fr; }
  .facts > div { padding: 14px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .facts > div:last-child { border-bottom: 0; }
  .section { padding: 48px 20px; }
  .section-heading, .about-section, .page-intro { grid-template-columns: 1fr; gap: 24px; }
  .series-grid { grid-template-columns: 1fr; gap: 22px; }
  .page-intro { padding: 44px 20px 32px; }
  .archive-section, .table-section { padding-top: 24px; }
  .archive-rule { align-items: flex-start; flex-direction: column; gap: 4px; }
  .table-foot { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
