/* ═══════════════════════════════════════════════════════════════
   INSPECTION COMPRESSION — Compliance direction
   Shared design system · editorial / regulatory authority
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,300;1,6..72,400;1,6..72,500&family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500;600&family=Archivo:wght@600;700;800&display=swap');

:root {
  --paper:   #F4F1EA;
  --paper-2: #EDE8DD;
  --card:    #FFFFFF;
  --ink:     #141B17;
  --ink-2:   #2B3631;
  --muted:   #4F6660;
  --muted-2: #738982;
  --brand:   #007F61;
  --brand-d: #006A51;
  --brand-l: #E6F1ED;
  --rule:    rgba(20,27,23,0.14);
  --rule-2:  rgba(20,27,23,0.08);
  --amber:   #A07900;
  --red:     #B23B3B;

  --maxw: 1280px;
  --pad: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Geist', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ── Type primitives ── */
.serif { font-family: 'Newsreader', Georgia, serif; font-weight: 400; letter-spacing: -0.02em; }
.eyebrow {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
  margin: 0;
}
.eyebrow.brand { color: var(--brand); }
.num { font-family: 'Newsreader', serif; font-weight: 300; letter-spacing: -0.04em; line-height: 1; color: var(--brand); }

h1, h2, h3, h4 { font-family: 'Newsreader', Georgia, serif; font-weight: 400; letter-spacing: -0.025em; margin: 0; color: var(--ink); }
em { font-style: italic; }
.brand-text { color: var(--brand); }

/* ── Layout helpers ── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.bleed-pad { padding-inline: var(--pad); }
.section { padding-block: 120px; }
.section-sm { padding-block: 80px; }

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }
.rule-thick { height: 2px; background: var(--ink); border: 0; margin: 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 4px; border: 0;
  font-family: 'Geist', sans-serif; font-weight: 500; font-size: 14px;
  text-decoration: none; cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-d); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-on-dark { background: var(--paper); color: var(--ink); }
.btn-on-dark:hover { background: #fff; }
.btn-ghost-light { background: transparent; color: var(--paper); border: 1px solid rgba(244,241,234,0.5); }
.btn-ghost-light:hover { background: rgba(244,241,234,0.12); }

/* ── Tags / pills ── */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px;
  border: 1px solid rgba(0,127,97,0.3); background: rgba(0,127,97,0.08);
  color: var(--brand); font-size: 12px; font-weight: 500;
}
.tag-ink { border-color: var(--rule); background: var(--card); color: var(--ink); }
.cat-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(0,127,97,0.1); color: var(--brand);
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  font-family: 'Geist Mono', monospace;
}

/* ═══════════════ EVENT BANNER ═══════════════ */
.event-banner {
  background: var(--ink); color: var(--paper);
  font-size: 13px;
}
.event-banner .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 12px; }
.event-banner .left { display: flex; align-items: center; gap: 14px; }
.event-banner .live {
  background: var(--brand); color: #fff; padding: 3px 10px; border-radius: 999px;
  font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  white-space: nowrap;
}
.event-banner a { color: var(--paper); text-decoration: none; border-bottom: 1px solid rgba(244,241,234,0.4); padding-bottom: 1px; font-size: 12px; white-space: nowrap; }
.event-banner a:hover { border-color: var(--paper); }

/* ═══════════════ NAV ═══════════════ */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(244,241,234,0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 18px; }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand .nb-text { font-family: 'Newsreader', serif; font-size: 21px; letter-spacing: -0.01em; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14px; color: var(--ink-2); text-decoration: none; position: relative; padding-block: 4px; transition: color 140ms ease; }
.nav-links a:hover { color: var(--brand); }
.nav-links a.active { color: var(--brand); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-actions .login { font-size: 14px; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.nav-actions .login:hover { color: var(--brand); }

/* ═══════════════ MASTHEAD TICKER ═══════════════ */
.masthead { border-bottom: 1px solid var(--rule); }
.masthead .wrap {
  display: flex; align-items: center; gap: 28px;
  padding-block: 13px;
  font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
  overflow: hidden; white-space: nowrap;
}
.masthead .sep { color: var(--rule); }
.masthead .lead { color: var(--brand); }
.masthead .spacer { flex: 1; }

/* ═══════════════ HERO (shared interior page header) ═══════════════ */
.page-hero { padding-block: 72px 56px; }
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero h1 { font-size: 84px; line-height: 0.96; max-width: 1000px; }
.page-hero .lede { font-family: 'Newsreader', serif; font-size: 24px; line-height: 1.5; color: var(--ink-2); max-width: 720px; margin-top: 28px; }

/* ── Footnote-style section number ── */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 48px; margin-bottom: 48px; }
.sec-head .ref { font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* ═══════════════ CARDS ═══════════════ */
.card { background: var(--card); border: 1px solid var(--rule); border-radius: 6px; }
.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

/* feature card with media */
.feature-card { overflow: hidden; display: flex; flex-direction: column; }
.feature-card .media { aspect-ratio: 3 / 2; position: relative; overflow: hidden; border-bottom: 1px solid var(--rule); }
.feature-card .body { padding: 28px; }
.feature-card h3 { font-size: 26px; line-height: 1.1; margin-bottom: 12px; }
.feature-card p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ═══════════════ PHOTO PLACEHOLDER ═══════════════ */
.photo {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #1d2a27 0%, #0e1413 100%);
  color: rgba(255,255,255,0.5);
}
.photo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo .ph-label {
  position: absolute; left: 16px; bottom: 14px;
  font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; opacity: 0.6;
}

/* ═══════════════ STATS ═══════════════ */
.stat { border-top: 2px solid var(--brand); padding-top: 18px; }
.stat .n { font-family: 'Newsreader', serif; font-weight: 300; font-size: 64px; line-height: 1; letter-spacing: -0.04em; color: var(--brand); }
.stat p { font-size: 14px; line-height: 1.55; color: var(--muted); margin-top: 14px; }

/* ═══════════════ DARK SECTION ═══════════════ */
.dark { background: var(--ink); color: var(--paper); }
.dark h1, .dark h2, .dark h3 { color: var(--paper); }
.dark .eyebrow { color: var(--brand); }
.dark .muted { color: rgba(244,241,234,0.7); }

/* ═══════════════ FOOTER ═══════════════ */
.footer { border-top: 2px solid var(--ink); background: var(--paper); }
.footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-block: 64px; }
.footer .brand-col .nb-text { font-family: 'Newsreader', serif; font-size: 22px; }
.footer .brand-col p { font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 320px; margin: 16px 0 0; }
.footer .col h4 { font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 18px; }
.footer .col a { display: block; font-size: 14px; color: var(--ink-2); text-decoration: none; margin-bottom: 12px; transition: color 140ms ease; }
.footer .col a:hover { color: var(--brand); }
.footer .bottom { border-top: 1px solid var(--rule); padding-block: 24px; display: flex; align-items: center; justify-content: space-between; }
.footer .bottom .eyebrow { font-size: 11px; }

/* ═══════════════ FORM ═══════════════ */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: 'Geist', sans-serif; font-size: 15px; color: var(--ink);
  background: var(--card); border: 1px solid var(--rule); border-radius: 4px;
  padding: 13px 14px; width: 100%; outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,127,97,0.12); }
.field textarea { resize: vertical; min-height: 120px; }

/* ═══════════════ TIMELINE (updates) ═══════════════ */
.tl-item { display: grid; grid-template-columns: 200px 1fr; gap: 48px; padding-block: 44px; border-top: 1px solid var(--rule); }
.tl-item .meta { display: flex; flex-direction: column; gap: 12px; }
.tl-item .date { font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: 0.12em; color: var(--muted); }
.tl-item h3 { font-size: 32px; line-height: 1.08; }
.tl-item .desc { font-size: 16px; line-height: 1.65; color: var(--muted); margin-top: 14px; max-width: 640px; }

/* ═══════════════ PROSE (legal pages) ═══════════════ */
.prose { max-width: 760px; }
.prose h2 { font-size: 30px; margin-top: 48px; margin-bottom: 16px; }
.prose h3 { font-size: 20px; font-family: 'Geist', sans-serif; font-weight: 600; letter-spacing: -0.01em; margin-top: 32px; margin-bottom: 10px; }
.prose p { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin-bottom: 18px; }
.prose ul { padding-left: 22px; margin-bottom: 18px; }
.prose li { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin-bottom: 8px; }
.prose strong { color: var(--ink); }

/* ── reveal-on-scroll ── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 600ms cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ── links inline ── */
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 500; text-decoration: none; font-size: 15px; }
.link-arrow:hover { gap: 10px; }
.link-underline { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 1px; }
.link-underline:hover { color: var(--brand); border-color: var(--brand); }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1100px) {
  :root { --pad: 40px; }
  .page-hero h1 { font-size: 64px; }
  .footer .top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 820px) {
  :root { --pad: 24px; }
  .nav-links { display: none; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 48px; }
  .tl-item { grid-template-columns: 1fr; gap: 16px; }
  .masthead .wrap { font-size: 10px; gap: 16px; }
  .event-banner .wrap { flex-direction: column; gap: 8px; align-items: flex-start; }
}
