:root {
  color-scheme: dark;
  --bg: #0b111d;
  --bg-deep: #070b13;
  --surface: rgba(15, 22, 37, 0.88);
  --surface-strong: rgba(19, 28, 47, 0.96);
  --surface-soft: rgba(34, 46, 72, 0.5);
  --line: rgba(219, 195, 163, 0.2);
  --line-strong: rgba(219, 195, 163, 0.34);
  --text: #f4ecde;
  --muted: #c6bdaf;
  --accent: #d58b56;
  --accent-strong: #f0a66e;
  --accent-soft: rgba(213, 139, 86, 0.14);
  --ink: #9fb4d7;
  --max-width: 1220px;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(213, 139, 86, 0.15), transparent 32%),
    radial-gradient(circle at 80% 18%, rgba(96, 136, 198, 0.18), transparent 28%),
    linear-gradient(180deg, #10192a 0%, #0b111d 45%, #080d14 100%);
  color: var(--text);
  font-family: "Noto Sans SC", sans-serif;
}

body::before,
body::after,
.page-grain {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 86%);
}

body::after {
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px),
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.14) 0 1.25px, transparent 1.25px),
    radial-gradient(circle at 68% 74%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px),
    radial-gradient(circle at 28% 80%, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px);
}

.page-grain {
  z-index: -1;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a,
summary {
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background-color 180ms ease, opacity 180ms ease;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 30;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: #000;
}

.skip-link:focus {
  top: 1rem;
}

.site-shell {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 4rem;
}

.section {
  margin-top: 4.75rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
  backdrop-filter: blur(0px);
  transition: backdrop-filter 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.topbar.is-scrolled {
  backdrop-filter: blur(18px);
  background: rgba(7, 11, 19, 0.62);
  border-bottom: 1px solid rgba(240, 225, 205, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(23rem, 100%);
}

.brand img {
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.9rem;
}

.nav a {
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(10, 16, 28, 0.5);
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.8rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.fact-card,
.work-card,
.timeline-item,
.faq-list details,
.sources-panel {
  background: linear-gradient(180deg, rgba(15, 22, 37, 0.94), rgba(8, 12, 20, 0.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  background:
    linear-gradient(180deg, rgba(15, 22, 37, 0.96), rgba(8, 12, 20, 0.98)),
    radial-gradient(circle at top right, rgba(213, 139, 86, 0.16), transparent 34%);
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 1.1rem 1.1rem auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(240, 225, 205, 0.28), rgba(240, 225, 205, 0));
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -6rem;
  top: -6rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213, 139, 86, 0.28), transparent 74%);
}

.hero-panel {
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}

.panel-header,
.section-heading,
.hero-note,
.page-footer {
  display: flex;
  flex-direction: column;
}

.panel-header {
  gap: 0.4rem;
}

.panel-label {
  align-self: flex-start;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portrait-frame {
  margin: 1.2rem 0 0;
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1.5rem;
}

.portrait-frame figcaption {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.portrait-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.3rem;
}

.portrait-grid div,
.stat-card {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.03);
}

.portrait-grid span,
.stat-card dt,
.fact-kicker,
.work-role,
.timeline-year,
.source-list span {
  color: var(--muted);
}

.portrait-grid span {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portrait-grid strong {
  display: block;
  line-height: 1.45;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent-strong);
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.96rem;
  letter-spacing: 0.18em;
}

h1,
h2,
h3,
summary {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 7ch;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  line-height: 0.96;
}

h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.08;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.24;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.hero-dek {
  max-width: 56ch;
  margin-top: 1.2rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.45rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-strip li {
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(240, 225, 205, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  gap: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.button-primary {
  background: linear-gradient(135deg, #d58b56, #f0a66e);
  color: #17100b;
  min-width: 15rem;
  box-shadow: 0 16px 45px rgba(213, 139, 86, 0.25);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(213, 139, 86, 0.32);
}

.hero-note {
  flex-direction: row;
  gap: 0.8rem;
  align-items: flex-start;
  margin-top: 1.55rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-note-dot {
  flex: none;
  width: 0.8rem;
  height: 0.8rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0a66e, #86a0d2);
  box-shadow: 0 0 18px rgba(240, 166, 110, 0.5);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
}

.stat-card dt {
  margin-bottom: 0.5rem;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-card dd {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: 1.08rem;
  line-height: 1.35;
}

.section-heading {
  gap: 0.95rem;
  max-width: 60rem;
}

.snapshot-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.snapshot-copy {
  display: grid;
  gap: 1rem;
  padding: 1.7rem 1.8rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(14, 20, 33, 0.82), rgba(10, 15, 24, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.snapshot-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.fact-card,
.work-card,
.sources-panel {
  border-radius: var(--radius-lg);
  padding: 1.3rem;
}

.fact-card {
  display: grid;
  gap: 0.65rem;
}

.fact-kicker {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.9rem;
}

.work-card {
  position: relative;
  overflow: hidden;
  min-height: 16rem;
}

.work-card::before {
  content: "";
  position: absolute;
  right: -2rem;
  top: -2rem;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(134, 160, 210, 0.2), transparent 70%);
}

.work-index,
.work-year {
  font-family: "Bebas Neue", sans-serif;
}

.work-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent-strong);
  font-size: 1rem;
  letter-spacing: 0.09em;
}

.work-year {
  margin-top: 1rem;
  color: var(--ink);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
}

.work-card h3 {
  margin-top: 0.35rem;
}

.work-role,
.work-note {
  margin-top: 0.65rem;
}

.timeline-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.9rem;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 5.75rem minmax(0, 1fr);
  gap: 1rem;
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 6.35rem;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(213, 139, 86, 0.35), rgba(159, 180, 215, 0.1));
}

.timeline-year {
  position: relative;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: var(--accent-strong);
}

.faq-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.faq-list details {
  border-radius: 1.45rem;
  padding: 1rem 1.15rem;
}

.faq-list details[open] {
  border-color: var(--line-strong);
}

summary {
  cursor: pointer;
  list-style: none;
  font-size: 1.15rem;
}

summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.sources-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.9rem;
}

.source-list {
  display: grid;
  gap: 1rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.source-list li {
  display: grid;
  gap: 0.35rem;
}

.source-list a,
.plain-source {
  color: var(--text);
  text-decoration-color: rgba(240, 166, 110, 0.45);
}

.source-list a:hover {
  color: var(--accent-strong);
}

.page-footer {
  gap: 0.45rem;
  align-items: flex-start;
  margin-top: 1.8rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  a,
  summary {
    transition: none;
  }
}

@media (max-width: 1080px) {
  .hero,
  .snapshot-layout,
  .sources-grid {
    grid-template-columns: 1fr;
  }

  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(var(--max-width), calc(100% - 1rem));
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .brand {
    width: min(18rem, 100%);
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-copy,
  .hero-panel {
    padding: 1.4rem;
  }

  .hero-copy::before {
    inset: 0.9rem 0.9rem auto;
  }

  .stats-grid,
  .snapshot-facts,
  .portrait-grid,
  .works-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-item::before {
    left: 1.5rem;
    top: 4.15rem;
    bottom: 1.25rem;
  }

  .timeline-year {
    padding-left: 1.7rem;
  }

  h1 {
    max-width: none;
  }
}
