:root {
  --ink: #12151a;
  --ink-soft: #2c3340;
  --paper: #f2f4f7;
  --paper-warm: #e6e9ef;
  --slate: #0d1117;
  --slate-mid: #161b22;
  --accent: #c81e1e;
  --accent-soft: #f5d6d6;
  --line: rgba(18, 21, 26, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);
  --ok: #1f6b4a;
  --font-display: "Syne", sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 68rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--ink);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Status banner */
.status-banner {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.55rem 1rem;
}

.status-banner span {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.95;
}

/* Nav */
.site-header {
  background: var(--slate);
  color: #fff;
  border-bottom: 1px solid var(--line-light);
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
  max-width: 14rem;
}

.brand:hover {
  color: #fff;
  opacity: 0.85;
}

.brand em {
  font-style: normal;
  color: #ffb4b4;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-light);
  color: #fff;
  padding: 0.4rem 0.7rem;
  font: inherit;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(2.6rem + 2.5rem);
    background: var(--slate-mid);
    flex-direction: column;
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--line-light);
    gap: 0.85rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .site-header {
    position: relative;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 44rem);
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(13, 17, 23, 0.35) 0%, rgba(13, 17, 23, 0.92) 72%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 27px,
      rgba(255, 255, 255, 0.03) 28px
    ),
    radial-gradient(ellipse 80% 60% at 70% 20%, #2a3344 0%, var(--slate) 55%);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, transparent 40%, rgba(200, 30, 30, 0.12) 100%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.25rem 3.5rem;
  width: 100%;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0 0 1.25rem;
  max-width: 14ch;
  animation: rise 0.9s var(--ease) both;
}

.hero-brand span {
  display: block;
  color: #ff8f8f;
}

.hero h1 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.45;
  letter-spacing: 0;
  max-width: 34rem;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.92);
  animation: rise 0.9s var(--ease) 0.12s both;
}

.hero-support {
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin-bottom: 1.75rem;
  animation: rise 0.9s var(--ease) 0.22s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s var(--ease) 0.32s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #a81818;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: #000;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Layout */
.section {
  padding: 4rem 1.25rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-muted {
  background: var(--paper-warm);
}

.section-dark {
  background: var(--slate);
  color: #fff;
}

.section-dark a {
  color: #ffb4b4;
}

.section-dark a:hover {
  color: #fff;
}

.lead {
  font-size: 1.15rem;
  max-width: 40rem;
  color: var(--ink-soft);
}

.section-dark .lead {
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (max-width: 800px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.35rem 1.4rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(18, 21, 26, 0.08);
}

.panel h3 {
  margin-bottom: 0.5rem;
}

.panel p:last-child {
  margin-bottom: 0;
}

.panel a.panel-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
}

.panel a.panel-link:hover {
  color: var(--ink);
}

/* Fact box / timeline */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 2rem 0 0.5rem;
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.1rem 1.15rem;
}

.stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.35;
}

@media (max-width: 700px) {
  .stat-strip {
    grid-template-columns: 1fr;
  }
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: #fff;
  margin: 1.75rem 0 2.5rem;
}

.fact-item {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.fact-item:nth-child(2n) {
  border-right: none;
}

.fact-item:nth-last-child(-n + 2) {
  border-bottom: none;
}

.fact-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 0.25rem;
}

.fact-value {
  font-weight: 600;
  font-size: 0.98rem;
}

@media (max-width: 600px) {
  .fact-grid {
    grid-template-columns: 1fr;
  }

  .fact-item {
    border-right: none;
  }

  .fact-item:nth-last-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

.timeline {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-left: 2px solid var(--accent);
}

.timeline li {
  position: relative;
  padding: 0 0 1.75rem 1.5rem;
  opacity: 0;
  transform: translateX(-0.5rem);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.timeline li.is-visible {
  opacity: 1;
  transform: none;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -0.45rem;
  top: 0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--accent);
  border-radius: 50%;
}

.timeline time {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.callout {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 1.15rem 1.25rem;
  margin: 1.75rem 0;
}

.callout p:last-child {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

@media (max-width: 720px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.deny-box {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.35rem;
}

.deny-box h3 {
  color: var(--accent);
}

.deny-box ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
}

/* Adjuster feature */
.adjuster-hero {
  background: var(--slate);
  color: #fff;
  padding: 3.5rem 1.25rem 3rem;
}

.adjuster-hero .section-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: end;
}

@media (max-width: 800px) {
  .adjuster-hero .section-inner {
    grid-template-columns: 1fr;
  }
}

.adjuster-card {
  background: var(--slate-mid);
  border: 1px solid var(--line-light);
  padding: 1.5rem;
}

.adjuster-photo {
  margin: 0 0 1.15rem;
}

.adjuster-photo img {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  border-radius: 0;
}

.adjuster-photo figcaption {
  margin-top: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}

.adjuster-card .role {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ff8f8f;
  margin-bottom: 0.35rem;
}

.adjuster-card .name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.quote-block {
  margin: 2rem 0;
  padding: 1.5rem 0 1.5rem 1.25rem;
  border-left: 3px solid var(--accent);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink-soft);
}

.quote-block cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--ink);
}

/* Reviews */
.review-grid {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.75rem;
}

.review {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.35rem 1.4rem;
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.review.is-visible {
  opacity: 1;
  transform: none;
}

.review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 0.65rem;
  font-family: var(--font-mono);
}

.review blockquote {
  margin: 0;
  font-size: 1rem;
  color: var(--ink);
}

.review-summary {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}

.warning-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.warning-hero .lead a {
  color: #ffb4b4;
}

.section-dark .dark-panel {
  background: var(--slate-mid);
  border-color: var(--line-light);
  color: rgba(255, 255, 255, 0.88);
}

.section-dark .dark-panel h3 {
  color: #fff;
}

.section-dark .dark-panel:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.stars {
  color: var(--accent);
  letter-spacing: 0.05em;
}

.method-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 42rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

/* Resources list */
.resource-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.resource-list li {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}

.resource-list a {
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.resource-list a:hover {
  color: var(--accent);
}

.resource-list span {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 0.2rem;
}

/* Page header (inner) */
.page-header {
  background: var(--slate);
  color: #fff;
  padding: 3rem 1.25rem 2.5rem;
}

.page-header .lead {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 1.25rem 2rem;
  font-size: 0.88rem;
}

.site-footer .section-inner {
  display: grid;
  gap: 1.5rem;
}

.site-footer a {
  color: #ffb4b4;
}

.site-footer a:hover {
  color: #fff;
}

.disclaimer {
  max-width: 48rem;
  line-height: 1.55;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  margin-top: 0.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-nav a {
  text-decoration: none;
  font-weight: 500;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
}

/* Exhibits */
.exhibit-figure {
  margin: 1.75rem 0 0;
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.75rem;
}

.exhibit-figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.exhibit-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.45;
}
