*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg-body: #f3ede4;
  --bg-panel: #faf6ef;
  --bg-dark: #152019;
  --bg-hero-scrim: linear-gradient(
    180deg,
    rgba(21, 32, 25, 0.15) 0%,
    rgba(21, 32, 25, 0.55) 45%,
    rgba(21, 32, 25, 0.92) 100%
  );
  --text: #1f1a14;
  --text-soft: #5c5348;
  --text-on-dark: #f5efe6;
  --text-muted-dark: #b8b0a4;
  --gold: #c8962c;
  --gold-light: #e4b85a;
  --emerald: #2a9d6f;
  --emerald-dark: #1f7350;
  --ruby: #c42d4a;
  --sapphire: #2f6fd6;
  --amethyst: #8b5cf6;
  --amber: #d97706;
  --line: rgba(31, 26, 20, 0.1);
  --line-dark: rgba(245, 239, 230, 0.12);
  --shadow-soft: 0 12px 40px rgba(21, 32, 25, 0.08);
  --shadow-card: 0 4px 20px rgba(21, 32, 25, 0.06);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --max: 1140px;
  --prose: 680px;
  --gutter: clamp(1rem, 3vw, 1.5rem);
  --header-h: 56px;
  --scroll-pad: 72px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-pad);
}

section[id] {
  scroll-margin-top: var(--scroll-pad);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-body);
  overflow-x: hidden;
}

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

a {
  color: var(--emerald-dark);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--emerald);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.skip-link:focus {
  left: 0;
}

.layout {
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(21, 32, 25, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line-dark);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-on-dark);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  flex-shrink: 0;
  display: block;
  object-fit: cover;
}

.brand em {
  font-style: normal;
  color: var(--gold-light);
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.age-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.45rem;
  border: 1px solid rgba(245, 239, 230, 0.35);
  border-radius: 4px;
  color: var(--text-on-dark);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(245, 239, 230, 0.3);
  background: transparent;
  color: var(--text-on-dark);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
}

.site-nav {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text-muted-dark);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--text-on-dark);
}

/* Hero — full bleed cascade */
.hero-cascade {
  position: relative;
  min-height: clamp(520px, 72vh, 780px);
  display: flex;
  align-items: flex-end;
  color: var(--text-on-dark);
  background: var(--bg-dark);
}

.hero-cascade__media {
  position: absolute;
  inset: 0;
}

.hero-cascade__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-cascade__scrim {
  position: absolute;
  inset: 0;
  background: var(--bg-hero-scrim);
}

.hero-cascade__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: calc(var(--header-h) + 2rem) 0 2.5rem;
}

.hero-panel {
  max-width: 640px;
  padding: 1.5rem 1.35rem;
  border-radius: 14px;
  background: rgba(21, 32, 25, 0.72);
  border: 1px solid rgba(200, 150, 44, 0.25);
  backdrop-filter: blur(6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.hero-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.hero-cascade h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4.2vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  line-height: 1.58;
  color: var(--text-muted-dark);
}

.hero-meta {
  margin: 0 0 1.15rem;
  font-size: 0.82rem;
  color: rgba(184, 176, 164, 0.85);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
}

.hero-chips li {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgba(42, 157, 111, 0.18);
  border: 1px solid rgba(42, 157, 111, 0.35);
  color: #b8f0d4;
}

.btn-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  background: var(--gold);
  color: #1a1408;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-scroll:hover {
  background: var(--gold-light);
  color: #1a1408;
}

button.btn-scroll {
  appearance: none;
  border: none;
  cursor: default;
  font-family: inherit;
  line-height: inherit;
}

button.btn-scroll[aria-disabled="true"]:hover {
  background: var(--gold);
  color: #1a1408;
}

/* Fact ribbon */
.fact-ribbon {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 0.85rem 0;
}

.fact-ribbon__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.fact-ribbon__item {
  text-align: center;
  padding: 0.5rem 0.35rem;
}

.fact-ribbon__item dt {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
}

.fact-ribbon__item dd {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-on-dark);
}

/* Sections */
.section {
  padding: clamp(2.75rem, 5vw, 3.75rem) 0;
}

.section--alt {
  background: var(--bg-panel);
  border-block: 1px solid var(--line);
}

.section-head {
  margin-bottom: 1.5rem;
  max-width: var(--prose);
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
}

.section-lead {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
}

.prose {
  max-width: var(--prose);
}

.prose p {
  margin: 0 0 1rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* Split editorial */
.split-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}

.split-editorial__figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.split-editorial__figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Verdict band */
.verdict-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.verdict-card {
  padding: 1.15rem 1.2rem;
  border-radius: 10px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.verdict-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.verdict-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.verdict-card li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.verdict-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.verdict-card--yes li::before {
  background: var(--emerald);
}

.verdict-card--no li::before {
  background: var(--ruby);
}

/* Steps */
.steps-inline {
  display: flex;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps-inline li {
  flex: 1;
  padding: 0.85rem 0.75rem;
  border-radius: 8px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--text-soft);
  counter-increment: step;
}

.steps-inline li::before {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
  content: counter(step);
}

/* Modifier timeline */
.mod-timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 1.75rem;
  list-style: none;
}

.mod-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--sapphire), var(--ruby), var(--emerald));
  border-radius: 2px;
}

.mod-timeline li {
  position: relative;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.mod-timeline li::before {
  content: "";
  position: absolute;
  left: -1.45rem;
  top: 1.1rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--bg-body);
}

.mod-timeline li:nth-child(1)::before {
  background: var(--sapphire);
}

.mod-timeline li:nth-child(2)::before {
  background: var(--ruby);
}

.mod-timeline li:nth-child(3)::before {
  background: var(--amber);
}

.mod-timeline li:nth-child(4)::before {
  background: var(--ruby);
}

.mod-timeline li:nth-child(5)::before {
  background: var(--emerald);
}

.mod-timeline strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  font-size: 1rem;
}

.mod-timeline p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-soft);
}

/* Gold fever — centered section */
#gold-fever .gold-fever-center {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

#gold-fever h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
}

#gold-fever .gold-fever-lead,
#gold-fever .gold-fever-intro {
  margin: 0 auto 1rem;
  max-width: 780px;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.65;
}

#gold-fever .gold-fever-intro {
  margin-bottom: 1.75rem;
}

#gold-fever .gold-fever-milestones {
  margin: 0 auto 1.75rem;
  padding: 1.35rem 1.5rem;
  max-width: 420px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

#gold-fever .gold-meter {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}

#gold-fever .gold-meter__row {
  display: grid;
  grid-template-columns: 2.75rem 1fr 2.75rem;
  align-items: center;
  gap: 0.65rem;
}

#gold-fever .gold-meter__sym {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

#gold-fever .gold-meter__bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(31, 26, 20, 0.08);
  overflow: hidden;
}

#gold-fever .gold-meter__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(200, 150, 44, 0.45), var(--gold));
}

#gold-fever .gold-meter__row:nth-child(1) .gold-meter__fill {
  width: 20%;
}

#gold-fever .gold-meter__row:nth-child(2) .gold-meter__fill {
  width: 35%;
}

#gold-fever .gold-meter__row:nth-child(3) .gold-meter__fill {
  width: 50%;
}

#gold-fever .gold-meter__row:nth-child(4) .gold-meter__fill {
  width: 70%;
}

#gold-fever .gold-meter__row:nth-child(5) .gold-meter__fill {
  width: 100%;
}

#gold-fever .gold-meter__mult {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  text-align: left;
}

#gold-fever .gold-note {
  margin: 0 auto;
  max-width: 780px;
  padding: 0.85rem 1.15rem;
  border-radius: 8px;
  background: rgba(200, 150, 44, 0.08);
  border: 1px solid rgba(200, 150, 44, 0.22);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-soft);
  text-align: center;
}

/* RTP stats */
.rtp-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.rtp-stat {
  padding: 1rem;
  text-align: center;
  border-radius: 10px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
}

.rtp-stat__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.35rem;
}

.rtp-stat__value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

.rtp-footnote {
  font-size: 0.88rem;
  color: var(--text-soft);
  font-style: italic;
}

/* Mobile section */
.mobile-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem;
  border-radius: 12px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
}

.mobile-strip__phone {
  width: 140px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 3px solid rgba(31, 26, 20, 0.12);
}

.mobile-strip__phone img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-panel);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  text-align: left;
  color: var(--text);
  cursor: pointer;
}

.faq-q::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--gold);
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  display: none;
  padding: 0 1rem 0.85rem;
}

.faq-item.is-open .faq-a {
  display: block;
}

.faq-a p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.55;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-muted-dark);
  padding: 1.75rem 0 1.5rem;
  font-size: 0.82rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-on-dark);
  text-decoration: none;
}

.footer-brand em {
  font-style: normal;
  color: var(--gold-light);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  justify-content: flex-end;
}

.footer-nav a {
  color: var(--text-muted-dark);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--text-on-dark);
}

.footer-rg {
  margin: 0.5rem 0 0;
  line-height: 1.5;
}

.footer-copy {
  margin: 0.75rem 0 0;
  opacity: 0.7;
}

.footer-age {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.1rem 0.35rem;
  border: 1px solid rgba(245, 239, 230, 0.3);
  border-radius: 3px;
  font-size: 0.68rem;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 900px) {
  .fact-ribbon__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .split-editorial,
  .verdict-band {
    grid-template-columns: 1fr;
  }

  #gold-fever .gold-fever-milestones {
    max-width: 100%;
    padding: 1.1rem 1.15rem;
  }

  .steps-inline {
    flex-direction: column;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 0.75rem var(--gutter) 1rem;
    background: rgba(21, 32, 25, 0.98);
    border-bottom: 1px solid var(--line-dark);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-cascade {
    min-height: clamp(480px, 85vh, 640px);
  }

  .hero-cascade__media img {
    object-position: center 30%;
  }

  .hero-panel {
    max-width: none;
  }

  .fact-ribbon__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rtp-row {
    grid-template-columns: 1fr;
  }

  .mobile-strip {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mobile-strip__phone {
    margin: 0 auto;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
