/* crazytimetoday.com — Grass Field Editorial */
/* Manrope + Noto Sans Devanagari */
:root {
  --primary: #2C7A36;
  --primary-700: #205a27;
  --primary-900: #0f3a17;
  --accent: #B05D00;
  --accent-700: #7a3c00;
  --bg: #F6FBF3;
  --surface: #FFFFFF;
  --surface-2: #E6F2DF;
  --surface-3: #f1f8ec;
  --ink: #1F3020;
  --ink-2: #344a36;
  --muted: #5C705D;
  --border: #CBE0C4;
  --border-dark: #95b58b;
  --warn: #b15a00;
  --danger: #8a2929;
  --shadow-sm: 0 1px 2px rgba(15,58,23,.06);
  --shadow: 0 6px 22px -8px rgba(15,58,23,.18);
  --shadow-lg: 0 18px 48px -12px rgba(15,58,23,.26);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --container: 1240px;
  --section-gap: clamp(48px, 6vw, 96px);
  --max-read: 68ch;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: "Manrope", "Noto Sans Devanagari", -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(circle at 8% 0%, rgba(44,122,54,.06) 0, transparent 40%),
    radial-gradient(circle at 90% 12%, rgba(176,93,0,.05) 0, transparent 35%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-700); text-decoration: none; }
a:hover { color: var(--primary-900); text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: inherit; line-height: 1.18; letter-spacing: -.01em; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; letter-spacing: -.022em; }
h2 { font-size: clamp(24px, 2.8vw, 36px); font-weight: 800; }
h3 { font-size: clamp(18px, 2vw, 24px); font-weight: 700; }
h4 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 1em; }
p + h2, p + h3 { margin-top: 1.4em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-gap) 0; position: relative; }
.section--tight { padding: clamp(32px, 4vw, 56px) 0; }
.section--alt { background: var(--surface-2); }
.section--paper { background: var(--surface); border-block: 1px solid var(--border); }
.section--ink { background: var(--primary-900); color: #e7f3e8; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 800; color: var(--primary-700);
  padding: 6px 12px; background: var(--surface-3); border: 1px solid var(--border);
  border-radius: 999px;
}
.section--ink .eyebrow { background: rgba(255,255,255,.08); color: #cfd9c8; border-color: rgba(255,255,255,.18); }

/* Numerals: oversized section markers (signature device) */
.section-numeral {
  display: flex; align-items: flex-start; gap: 18px;
  margin-bottom: 18px;
}
.section-numeral__fig {
  font-family: "Manrope", "Noto Sans Devanagari", sans-serif;
  font-weight: 800;
  font-size: clamp(64px, 9vw, 132px);
  line-height: .85;
  letter-spacing: -.04em;
  color: var(--primary-900);
  font-feature-settings: "tnum" 1;
  flex-shrink: 0;
}
.section--ink .section-numeral__fig { color: var(--accent); }
.section-numeral__label {
  text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 800;
  color: var(--muted);
  padding-top: 12px;
}
.section--ink .section-numeral__label { color: #b4c5ad; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 800; font-size: 15px; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer;
  white-space: nowrap; text-align: center;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  font-family: inherit;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 8px 22px -6px rgba(176,93,0,.4);
}
.btn--primary:hover { background: var(--accent-700); color: #fff; }
.btn--solid {
  background: var(--primary); color: #fff;
}
.btn--solid:hover { background: var(--primary-700); color: #fff; }
.btn--ghost {
  background: transparent; color: var(--primary-900); border-color: var(--border-dark);
}
.btn--ghost:hover { background: var(--surface-3); }
.btn--ink {
  background: var(--ink); color: #fff;
}
.btn--ink:hover { background: var(--primary-900); color: #fff; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 13px; }
.btn--full { width: 100%; }

/* Header / Persistent Navigation */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(246,251,243,.94);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex; align-items: center; gap: 14px;
  min-height: 76px; padding: 12px 0;
  flex-wrap: nowrap;
}
.brand {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
  min-width: 0;
}
.brand__mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-900));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 18px;
  box-shadow: 0 6px 18px -6px rgba(44,122,54,.5);
  letter-spacing: -.02em;
}
.brand__name {
  font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: var(--ink);
  display: block; line-height: 1;
}
.brand__tag {
  display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-top: 4px;
}
.primary-nav {
  display: flex; align-items: center; gap: 2px; margin-left: 6px;
  flex-shrink: 1;
  min-width: 0;
}
.primary-nav a {
  display: inline-block; padding: 10px 12px; border-radius: 8px;
  font-weight: 600; font-size: 14px; color: var(--ink-2); white-space: nowrap;
}
.primary-nav a:hover { background: var(--surface-3); color: var(--ink); text-decoration: none; }
.primary-nav a.is-active { color: var(--primary-900); background: var(--surface-2); }
.header-right {
  margin-left: auto;
  display: flex; gap: 8px; align-items: center;
  flex-shrink: 0;
  min-width: 0;
}
/* Hamburger right-edge gutter: keep button strictly inside the viewport at 320-430px
   so Playwright/Chromium click stability checks do not flag the element as
   "outside the viewport" when its bounding box touches the right edge. */
.hamburger {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--border-dark); background: var(--surface);
  cursor: pointer; padding: 0;
  position: relative;
  margin-right: 4px;
}
.hamburger span {
  position: absolute; left: 11px; right: 11px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-drawer {
  position: fixed; top: 76px; left: 0; width: min(360px, 92vw); bottom: 0;
  background: var(--bg);
  z-index: 190;
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s ease, visibility .3s ease;
  display: none;
  overscroll-behavior: contain;
  visibility: hidden;
}
.mobile-drawer.is-open { transform: translateX(0); visibility: visible; }
.mobile-drawer nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-drawer nav a {
  padding: 16px 14px; font-size: 17px; font-weight: 700;
  color: var(--ink); border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.mobile-drawer .drawer-cta { margin-top: 22px; }

/* Hero: sidebar-led (signature composition) */
.hero {
  padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 84px);
  position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(44,122,54,.05) 0%, rgba(44,122,54,0) 60%),
    var(--bg);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.hero__main { min-width: 0; }
.hero__h { font-size: clamp(34px, 5.4vw, 64px); margin-bottom: 22px; }
.hero__h em { font-style: normal; color: var(--accent); }
.hero__lede {
  font-size: clamp(17px, 1.8vw, 19px);
  max-width: 56ch; color: var(--ink-2);
  margin-bottom: 26px;
}
.hero__cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__meta {
  display: flex; gap: 22px; flex-wrap: wrap;
  padding-top: 18px; border-top: 1px solid var(--border);
  font-size: 13.5px; color: var(--muted);
}
.hero__meta-item strong { display: block; font-size: 22px; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }

.hero__sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  box-shadow: var(--shadow);
}
.hero__sidebar h3 { font-size: 17px; margin-bottom: 14px; }
.hero__sidebar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hero__sidebar li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-3);
}
.hero__sidebar li .dot {
  flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--primary); color: #fff; font-weight: 800; font-size: 14px;
}
.hero__sidebar li strong { display: block; font-size: 14.5px; }
.hero__sidebar li span { font-size: 13.5px; color: var(--muted); }

/* Layout families used in the homepage blueprint */
.layout-band {
  background: var(--surface-2);
  position: relative;
}
.layout-band::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 0;
  width: 12px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
}

/* Image-led dispatch */
.dispatch {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}
.dispatch__figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  background: #d9e9d2;
  border: 1px solid var(--border);
}
.dispatch__figure img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.dispatch__caption {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(15,58,23,.86); color: #f1f8ec;
  font-size: 12.5px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
}
.dispatch__body { display: flex; flex-direction: column; justify-content: center; padding-block: 8px; }
.dispatch__body h2 { font-size: clamp(22px, 2.6vw, 32px); }
.dispatch__body p { font-size: 16px; color: var(--ink-2); }

/* Editorial index (cards in asymmetric grid) */
.index-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}
.index-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px;
  display: flex; flex-direction: column;
  min-width: 0;
}
.index-card h3 { font-size: 19px; margin-bottom: 8px; }
.index-card p { font-size: 15px; color: var(--muted); margin-bottom: 14px; flex: 1; }
.index-card .arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 800; color: var(--primary-700); font-size: 14px;
}
.index-card .index-card-num { font-size: 44px; font-weight: 800; color: var(--primary); letter-spacing: -.04em; line-height: 1; margin-bottom: 12px; }
.index-card.span-7 { grid-column: span 7; }
.index-card.span-5 { grid-column: span 5; }
.index-card.span-4 { grid-column: span 4; }
.index-card.span-6 { grid-column: span 6; }
.index-card.span-12 { grid-column: span 12; }
.index-card.span-8 { grid-column: span 8; }

/* Decision table (alternating editorial) */
.decision-table {
  border: 1px solid var(--border-dark); border-radius: var(--radius-lg);
  background: var(--surface); overflow: hidden;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  display: block;
}
.decision-table > table,
.decision-table table { width: 100%; border-collapse: collapse; min-width: 480px; }
.decision-table th {
  background: var(--primary-900); color: #fff; padding: 14px 18px;
  font-size: 13.5px; letter-spacing: .04em; text-align: left; font-weight: 700;
  white-space: nowrap;
}
.decision-table td { padding: 14px 18px; border-top: 1px solid var(--border); font-size: 14.5px; }
.decision-table tr:nth-child(even) td { background: var(--surface-3); }
.decision-table .num { font-weight: 800; color: var(--primary-700); white-space: nowrap; }

/* Latest analysis (list-led) */
.analysis-list { display: flex; flex-direction: column; gap: 18px; }
.analysis-item {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px; align-items: center;
  padding: 22px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.analysis-item .thumb {
  width: 200px; height: 130px;
  border-radius: var(--radius); overflow: hidden; background: #d9e9d2;
}
.analysis-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.analysis-item h3 { font-size: 19px; margin-bottom: 8px; }
.analysis-item .meta { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.analysis-item p { font-size: 14.5px; color: var(--muted); margin-bottom: 0; }

/* Expert note: pull-quote layout */
.expert-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 36px; align-items: start;
  padding: clamp(28px, 4vw, 48px);
  background: var(--surface);
  border-radius: var(--radius-lg);
  border-left: 6px solid var(--accent);
}
.expert-note__quote { font-size: 19px; line-height: 1.7; font-weight: 600; color: var(--ink); margin: 0 0 12px; }
.expert-note__by { font-size: 14px; color: var(--muted); }
.expert-note figure {
  margin: 0; text-align: center;
  background: var(--surface-3); border-radius: var(--radius);
  padding: 18px; border: 1px solid var(--border);
}
.expert-note figure img { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; }

/* Topic rail: horizontal scroll chips */
.topic-rail { display: flex; gap: 12px; flex-wrap: wrap; }
.topic-chip {
  padding: 11px 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-dark);
  font-size: 14px; font-weight: 700; color: var(--ink);
  cursor: pointer; white-space: nowrap;
  transition: background .15s ease;
}
.topic-chip:hover, .topic-chip.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Safety desk: banner with two-cols inside */
.safety-desk {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 40px);
}
.safety-desk__main h2 { font-size: clamp(22px, 2.4vw, 30px); }
.safety-desk__list { display: flex; flex-direction: column; gap: 14px; padding: 0; margin: 0; list-style: none; }
.safety-desk__list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px dashed var(--border-dark); border-radius: var(--radius); background: var(--surface-3); }
.safety-desk__list li strong { display: block; margin-bottom: 4px; }

/* Closing action: large quote-led CTA */
.closing-action {
  text-align: center;
  padding: clamp(48px, 6vw, 84px) 32px;
  background: var(--primary-900); color: #f1f8ec;
  border-radius: var(--radius-xl);
  position: relative; overflow: hidden;
}
.closing-action::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 100% 0%, rgba(176,93,0,.4) 0, transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(44,122,54,.4) 0, transparent 40%);
}
.closing-action__inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.closing-action h2 { color: #fff; font-size: clamp(26px, 3vw, 40px); margin-bottom: 14px; }
.closing-action p { color: #cfd9c8; font-size: 16.5px; margin-bottom: 26px; }

/* Cards: data-tiles and spotlights */
.tile-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.tile {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.tile__label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.tile__value { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--primary-900); margin-bottom: 4px; }
.tile__note { font-size: 14px; color: var(--muted); }

/* Spotlights */
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}
.spotlight {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
}
.spotlight .figure { aspect-ratio: 16/10; background: #d9e9d2; overflow: hidden; }
.spotlight .figure img { width: 100%; height: 100%; object-fit: cover; }
.spotlight__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.spotlight__body h3 { font-size: 18px; margin-bottom: 8px; }
.spotlight.span-7 { grid-column: span 7; }
.spotlight.span-5 { grid-column: span 5; }
.spotlight.span-4 { grid-column: span 4; }
.spotlight.span-6 { grid-column: span 6; }
.spotlight.span-12 { grid-column: span 12; }

/* Step flow */
.step-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; counter-reset: stepcounter; }
.step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; position: relative;
  counter-increment: stepcounter;
}
.step::before {
  content: counter(stepcounter, decimal-leading-zero);
  font-size: 34px; font-weight: 800; letter-spacing: -.04em;
  color: var(--primary); display: block; margin-bottom: 8px;
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* Ruled comparison rail */
.compare-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface);
}
.compare-list > div { padding: 22px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.compare-list > div:last-child { border-right: 0; }
.compare-list h4 { font-size: 14.5px; letter-spacing: .04em; }
.compare-list strong { color: var(--primary-900); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0;
}
.faq summary {
  list-style: none;
  cursor: pointer; padding: 18px 22px;
  font-weight: 700; font-size: 16px; color: var(--ink);
  display: flex; gap: 14px; align-items: center; justify-content: space-between;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--accent); flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 22px 18px; color: var(--ink-2); font-size: 15px; }

/* Hub navigation pill */
.hub-nav {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.hub-nav a {
  padding: 10px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-dark);
  font-size: 13.5px; font-weight: 700; color: var(--ink);
  white-space: nowrap;
}
.hub-nav a:hover { background: var(--surface-3); text-decoration: none; }

/* Article body */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { margin: 0 0 1em 1.2em; }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: var(--radius-lg); margin: 1.4em 0; }
.prose figure { margin: 1.4em 0; }
.prose figcaption { font-size: 13.5px; color: var(--muted); padding: 8px 4px 0; }

/* Article hero (child pages) */
.article-hero {
  padding: clamp(36px, 4vw, 64px) 0;
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.article-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px); align-items: end;
}
.article-hero__h1 { font-size: clamp(28px, 3.6vw, 44px); }
.article-hero__lede { font-size: 17px; color: var(--ink-2); max-width: 56ch; }
.article-hero__meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-top: 18px; }

/* Footer */
.site-footer {
  background: var(--primary-900); color: #d0decb;
  padding: 64px 0 32px;
  font-size: 14.5px;
}
.site-footer a { color: #d0decb; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px; margin-bottom: 36px;
}
.footer-grid h4 { color: #fff; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; font-weight: 800; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13.5px; color: #97ad94;
  flex-wrap: wrap; gap: 12px;
}

/* Mobile sticky CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed; left: 12px; right: 12px; bottom: 12px;
  z-index: 220;
  background: rgba(15,58,23,.96);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 8px;
  box-shadow: 0 14px 36px -10px rgba(15,58,23,.5);
}
.mobile-sticky-cta a {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 50px; padding: 0 18px;
  background: var(--accent); color: #fff;
  border-radius: 999px;
  font-weight: 800; font-size: 15px;
  white-space: nowrap;
}
.mobile-sticky-cta a:hover { background: var(--accent-700); color: #fff; text-decoration: none; }
body.has-sticky-cta { padding-bottom: 88px; }

/* Tables */
.data-table {
  width: 100%; border-collapse: collapse; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.data-table > table { width: 100%; border-collapse: collapse; min-width: 460px; }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; font-size: 14.5px; white-space: nowrap; }
.data-table th { background: var(--surface-2); font-weight: 800; color: var(--ink); border-bottom: 1px solid var(--border-dark); }
.data-table tbody tr { border-top: 1px solid var(--border); }
.data-table tbody tr:nth-child(even) td { background: var(--surface-3); }
.data-table td.num { font-weight: 800; color: var(--primary-700); white-space: nowrap; }

/* Breadcrumbs */
.crumbs { font-size: 13px; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: var(--ink); }

/* Pillars / tag row */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 12.5px; padding: 5px 12px; border-radius: 999px;
  background: var(--surface-3); color: var(--muted); font-weight: 700;
  border: 1px solid var(--border);
}

/* Callouts */
.callout {
  background: var(--surface);
  border: 1px solid var(--border); border-left: 5px solid var(--accent);
  padding: 22px; border-radius: var(--radius); margin: 1.4em 0;
}
.callout h4 { font-size: 16px; margin-bottom: 6px; color: var(--ink); }

/* Newsletter */
.subscribe {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 26px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 40px);
}
.subscribe form { display: flex; gap: 10px; flex-wrap: wrap; }
.subscribe input[type="email"] {
  flex: 1; min-width: 200px; min-height: 50px; padding: 0 18px;
  border: 1px solid var(--border-dark); border-radius: 999px;
  font-size: 15px; font-family: inherit; background: #fff;
}

/* Responsive */
@media (max-width: 1180px) {
  /* Compact primary nav so all 7 links + header-right fit inside the header at 1024-1180px.
     At 1180px the natural nav width (534px) + brand (440px) + header-right (232px) = 1206px,
     which exceeds a 1180px viewport; shrinking padding and font keeps every link visible
     without overlap or a horizontal scrollbar. */
  .primary-nav { gap: 0; }
  .primary-nav a { padding: 8px 9px; font-size: 13.5px; }
  .header-right .btn--ghost { display: none; }
}
@media (max-width: 1080px) {
  /* Tighter nav at 1024-1080px: 7 links + brand(440) + header-right(102) must fit in 1024-padding.
     Sum of link widths at 1180 breakpoint = ~651px > 1024-440-102-48(gaps)=434px budget.
     Shrink to 12.5px font and 6px horizontal padding so all links stay inside the header. */
  .primary-nav a { padding: 6px 7px; font-size: 12.5px; }
  /* Single-column collapses MUST use minmax(0, 1fr), never bare `1fr`.
     `1fr` is shorthand for `minmax(auto, 1fr)`, so the track floor is the item's
     min-content width. A nowrap .btn label (e.g. "Read the responsible-play
     standard" ~351px) then inflates the track past the viewport and the whole
     document scrolls horizontally (403px doc at 320/347/390px viewports).
     minmax(0, 1fr) lets the track shrink to the container. */
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .dispatch { grid-template-columns: minmax(0, 1fr); }
  .analysis-item { grid-template-columns: 140px minmax(0, 1fr); gap: 16px; }
  .analysis-item .thumb { width: 140px; height: 100px; }
  .expert-note { grid-template-columns: minmax(0, 1fr); }
  .article-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .index-card.span-7, .index-card.span-5 { grid-column: span 12; }
  .index-card.span-4 { grid-column: span 6; }
  .spotlight.span-7, .spotlight.span-5 { grid-column: span 12; }
  .spotlight.span-4 { grid-column: span 6; }
  .subscribe { grid-template-columns: 1fr; }
  .safety-desk { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) and (min-width: 769px) {
  /* At 1024-1080px the 7 primary-nav links still exceed the available header width
     (brand 440 + nav ~534 + header-right 102 = 1076px > 1024-padding=976px).
     Collapse to hamburger menu at this band so the toggle stays operable instead of
     pushing nav links off the right edge. */
  .primary-nav { display: none; }
  .hamburger { display: block; }
}
@media (max-width: 768px) {
  body { font-size: 16.5px; }
  .primary-nav { display: none; }
  .header-right .btn--ghost,
  .header-right .btn--primary { display: none; }
  /* Brand must yield horizontal space so hamburger stays in viewport on 320-430px */
  .brand { min-width: 0; flex: 1 1 auto; }
  .brand__name {
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .brand__tag { display: none; }
  .header-right { margin-left: auto; flex-shrink: 0; }
  .hamburger { display: block; }
  .mobile-drawer { display: block; }
  body.has-sticky-cta .mobile-sticky-cta { display: block; }
  .decision-table { font-size: 14px; }
  .decision-table th, .decision-table td { padding: 12px 14px; }
  .index-card.span-4 { grid-column: span 12; }
  .spotlight.span-4, .spotlight.span-6 { grid-column: span 12; }
  .analysis-item { grid-template-columns: minmax(0, 1fr); }
  .analysis-item .thumb { width: 100%; height: 160px; }
  .section-numeral__fig { font-size: 78px; }
  /* On ≤430px the same nowrap .btn labels overflow single-column tracks. The
     .cta-row already collapses to flex:1 1 100% at ≤480px (rule below), so the
     .btn itself becomes the row's only column — but it still measures min-content
     of its text. Let it wrap so the button shrinks with the track. */
  .cta-row > a.btn { white-space: normal; line-height: 1.25; }
}
@media (max-width: 430px) {
  .container { padding: 0 16px; }
  .hero__h { font-size: 32px; }
  .hero__lede { font-size: 16px; }
  .btn--lg { min-height: 50px; padding: 0 22px; font-size: 15px; }
  .section-numeral { gap: 12px; }
  .section-numeral__fig { font-size: 64px; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-header__inner { min-height: 64px; padding: 8px 0; }
  .brand__mark { width: 38px; height: 38px; font-size: 16px; }
}
@media (min-width: 769px) {
  /* Closed state: drawer is fully hidden but its transform/opacity still slide in
     when the hamburger is clicked at 769-1080px. The override below forces the
     open drawer back to display:block so the closed-state !important rule
     does not strand the toggle. */
  .mobile-drawer { display: none !important; }
  .mobile-drawer.is-open { display: block !important; }
}

/* Print-friendly focus reset */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Anchor target offsets */
section[id] { scroll-margin-top: 92px; }

/* Utility */
.hidden-mobile { display: none; }
@media (min-width: 769px) { .hidden-mobile { display: inherit; } .hidden-desktop { display: none !important; } }

ul.clean-list, ol.clean-list { list-style: none; margin: 0; padding: 0; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
@media (max-width: 480px) {
  .cta-row > a.btn { flex: 1 1 100%; min-width: 0; }
}

.alert {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px; border-radius: var(--radius);
  background: #fdf6e3; border: 1px solid #d4b56b; color: #5c4009;
  font-size: 14.5px; margin: 1.4em 0;
}
.alert strong { color: #5c4009; display: block; margin-bottom: 4px; }

.scroll-shadow { box-shadow: 0 8px 24px -10px rgba(15,58,23,.18); }

.audit-num { display: inline-flex; align-items: baseline; gap: 6px; }
.audit-num strong {
  font-size: clamp(34px, 4vw, 50px); font-weight: 800; letter-spacing: -.03em;
  color: var(--primary-900); line-height: 1;
}
.audit-num span { font-size: 13px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
