/* ==========================================================================
   CovForLife — site styles
   Hand-written, framework-free. Tokens first, then base, layout, components.
   ========================================================================== */

:root {
  /* Brand palette */
  --sage: #5E7F6B;
  --sage-700: #4A6655;
  --sage-800: #3B5245;
  --sage-900: #25352C;
  --sage-950: #1B241F;
  --sage-50: #EEF3EF;
  --sage-100: #DFE8E2;
  --gold: #C9A24D;
  --gold-soft: #E2C88C;
  --gold-ink: #7A5A12;
  --gold-50: #FBF5E7;
  --ivory: #FAF8F3;
  --sand: #F3EFE6;
  --paper: #FFFFFF;
  --line: #E4DED2;
  --line-strong: #CFC8BA;
  --ink: #23262B;
  --ink-2: #3E434A;
  --muted: #5A5F66;

  /* Type */
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --step--1: clamp(0.875rem, 0.85rem + 0.12vw, 0.9375rem);
  --step-0: clamp(1.0625rem, 1.01rem + 0.25vw, 1.1875rem);
  --step-1: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --step-3: clamp(1.875rem, 1.5rem + 1.7vw, 2.75rem);
  --step-4: clamp(2.25rem, 1.6rem + 3vw, 4rem);

  /* Space: 8px rhythm */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 40px;
  --s-6: 48px;
  --s-8: 64px;
  --s-10: 80px;
  --s-12: 96px;
  --section: clamp(64px, 5rem + 3vw, 128px);

  /* Shape and depth */
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(35, 38, 43, 0.05), 0 2px 8px -2px rgba(35, 38, 43, 0.06);
  --shadow: 0 2px 6px rgba(35, 38, 43, 0.04), 0 18px 40px -18px rgba(35, 38, 43, 0.22);
  --shadow-lg: 0 4px 12px rgba(35, 38, 43, 0.05), 0 32px 64px -28px rgba(35, 38, 43, 0.34);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

main { flex: 1 0 auto; display: block; }

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 var(--s-2);
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.3; }

p { margin: 0 0 var(--s-2); text-wrap: pretty; }
ul, ol { margin: 0 0 var(--s-2); padding-left: 1.25em; }

a {
  color: var(--sage-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
a:hover { color: var(--sage-900); }

strong { font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--sage-800);
  outline-offset: 3px;
  border-radius: 6px;
}
.hero :focus-visible,
.page-hero--image :focus-visible,
.band-dark :focus-visible,
.site-footer :focus-visible { outline-color: var(--gold); }

::selection { background: var(--gold-soft); color: var(--ink); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout helpers ---------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.container--narrow { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }

.section { padding-block: var(--section); }
.section--sand { background: var(--sand); }
.section--tight { padding-block: clamp(48px, 3rem + 2vw, 80px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
}
.section-head h2 { margin-bottom: 0; max-width: 20ch; }
.section-head p { max-width: 52ch; color: var(--muted); margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 var(--s-2);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-700);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.lead { font-size: var(--step-1); line-height: 1.6; color: var(--ink-2); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--sage-700); color: #fff; box-shadow: 0 6px 18px -8px rgba(59, 82, 69, 0.6); }
.btn-primary:hover { background: var(--sage-800); color: #fff; box-shadow: 0 10px 24px -10px rgba(59, 82, 69, 0.7); }

.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 24px -10px rgba(201, 162, 77, 0.7); }
.btn-gold:hover { background: #D6B267; color: var(--ink); }

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.18); color: #fff; border-color: #fff; }

.btn-outline { background: var(--paper); border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--sage-700); color: var(--sage-800); }

.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 0.9375rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--sage-700);
  text-decoration: none;
}
.text-link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }
.text-link:hover { color: var(--sage-900); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 243, 0.8);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: rgba(250, 248, 243, 0.97); }
}
.site-header.is-scrolled {
  border-bottom-color: rgba(35, 38, 43, 0.08);
  box-shadow: 0 10px 30px -24px rgba(35, 38, 43, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover { color: var(--ink); }
.brand__mark { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 4px 12px -6px rgba(37, 53, 44, 0.6); }
.brand__name {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand__name span { font-style: italic; font-weight: 500; color: var(--sage-700); }

.site-nav { display: flex; align-items: center; gap: var(--s-4); }
.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__list a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
}
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-nav__list a:hover { color: var(--ink); }
.site-nav__list a:hover::after,
.site-nav__list a[aria-current="page"]::after,
.site-nav__list a.is-active::after { transform: scaleX(1); }
.site-nav__list a[aria-current="page"],
.site-nav__list a.is-active { color: var(--ink); }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle__bar {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s ease, top 0.3s var(--ease);
}
.nav-toggle__bar:nth-child(1) { top: 15px; }
.nav-toggle__bar:nth-child(2) { top: 21px; }
.nav-toggle__bar:nth-child(3) { top: 27px; }
.nav-open .nav-toggle__bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bar:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 899px) {
  .js .nav-toggle { display: inline-block; }
  .site-nav { gap: var(--s-2); }
  .site-nav__list { gap: var(--s-3); }
  .no-js-hide { display: none; }

  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-3);
    padding: var(--s-3) var(--gutter) var(--s-4);
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgba(35, 38, 43, 0.45);
  }
  .js .nav-open .site-nav { display: flex; animation: navIn 0.28s var(--ease); }
  .js .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav__list li + li { border-top: 1px solid var(--line); }
  .js .site-nav__list a { display: block; padding: 14px 0; font-size: 1.125rem; }
  .js .site-nav__list a::after { display: none; }
  .js .site-nav__list a[aria-current="page"],
  .js .site-nav__list a.is-active { color: var(--sage-700); }
  .js .site-nav__cta { width: 100%; min-height: 48px; }

  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .site-nav { flex-wrap: wrap; }
}

@keyframes navIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(580px, 86vh, 800px);
  color: #fff;
  overflow: hidden;
  background: var(--sage-950);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
  animation: heroSettle 1.8s var(--ease) both;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 30, 25, 0.9) 0%, rgba(20, 30, 25, 0.7) 38%, rgba(20, 30, 25, 0.25) 68%, rgba(20, 30, 25, 0.1) 100%),
    linear-gradient(0deg, rgba(20, 30, 25, 0.65) 0%, rgba(20, 30, 25, 0) 45%);
}
.hero__content {
  padding-block: clamp(96px, 14vh, 160px) clamp(56px, 9vh, 104px);
  max-width: 680px;
}
.hero .eyebrow { color: var(--gold-soft); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.375rem, 1.5rem + 3.6vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-3);
}
.hero h1 em { font-style: italic; font-weight: 500; color: var(--gold-soft); }
.hero__sub {
  max-width: 54ch;
  font-size: var(--step-1);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--s-4);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  padding: 0;
  margin: var(--s-5) 0 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.86);
}
.hero__facts li { display: inline-flex; align-items: center; gap: 10px; }
.hero__facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

@keyframes heroSettle {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@media (max-width: 719px) {
  .hero { min-height: 640px; }
  .hero__media img { object-position: 58% 30%; }
  .hero::before {
    background: linear-gradient(180deg, rgba(20, 30, 25, 0.2) 0%, rgba(20, 30, 25, 0.55) 35%, rgba(20, 30, 25, 0.92) 72%, rgba(20, 30, 25, 0.96) 100%);
  }
  .hero__content { padding-top: 200px; }
  .hero__actions .btn { flex: 1 1 auto; }
}

/* ---------- Page heroes ---------- */
.page-hero { padding-block: clamp(56px, 4rem + 3vw, 112px) clamp(40px, 3rem + 2vw, 72px); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { max-width: 60ch; margin-bottom: 0; }
.page-hero--plain { border-bottom: 1px solid var(--line); }

.page-hero--image {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  min-height: clamp(420px, 60vh, 560px);
  display: flex;
  align-items: flex-end;
  background: var(--sage-950);
}
.page-hero--image .page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero--image .page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.page-hero--image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 30, 25, 0.88) 0%, rgba(20, 30, 25, 0.6) 45%, rgba(20, 30, 25, 0.2) 100%),
    linear-gradient(0deg, rgba(20, 30, 25, 0.55) 0%, rgba(20, 30, 25, 0) 50%);
}
.page-hero--image h1 { color: #fff; }
.page-hero--image .eyebrow { color: var(--gold-soft); }
.page-hero--image .lead { color: rgba(255, 255, 255, 0.9); }
@media (max-width: 719px) {
  .page-hero--image::before { background: linear-gradient(180deg, rgba(20, 30, 25, 0.3) 0%, rgba(20, 30, 25, 0.9) 70%); }
}

.updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--s-3);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--sage-50);
  color: var(--sage-800);
  font-size: 0.9375rem;
  font-weight: 600;
}

/* ---------- Intro / values ---------- */
.intro-grid {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 960px) {
  .intro-grid { grid-template-columns: 1.1fr 1fr; gap: var(--s-10); }
}
.intro-grid h2 { font-size: var(--step-3); }
.intro-copy p { color: var(--ink-2); }

.values { display: grid; gap: var(--s-3); list-style: none; padding: 0; margin: 0; }
.value {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--s-2) var(--s-3);
  padding: var(--s-3);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.value__num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--sage-50);
  color: var(--sage-800);
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-style: italic;
}
.value h3 { margin-bottom: 4px; font-size: 1.25rem; }
.value p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ---------- Guide cards ---------- */
.card-grid {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}

.guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s ease;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.guide-card:focus-within { outline: 3px solid var(--sage-800); outline-offset: 3px; }
.guide-card:focus-within a:focus-visible { outline: none; }
.guide-card__media { overflow: hidden; aspect-ratio: 3 / 2; background: var(--sage-100); }
.guide-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.guide-card:hover .guide-card__media img { transform: scale(1.045); }
.guide-card__body { display: flex; flex-direction: column; flex: 1; padding: var(--s-3) var(--s-3) var(--s-3); }
.guide-card h3 { font-size: 1.375rem; margin: 12px 0 8px; }
.guide-card h3 a { color: var(--ink); text-decoration: none; }
.guide-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.guide-card p { color: var(--muted); font-size: 1rem; margin-bottom: var(--s-3); }
.guide-card__meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: var(--s-2);
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--muted);
}
.guide-card__meta .read { display: inline-flex; align-items: center; gap: 6px; }
.guide-card__meta svg { width: 16px; height: 16px; }
.guide-card__cta { color: var(--sage-700); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.guide-card__cta svg { transition: transform 0.3s var(--ease); }
.guide-card:hover .guide-card__cta svg { transform: translateX(3px); }

.tag {
  align-self: flex-start;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--sage-50);
  color: var(--sage-800);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
.step {
  position: relative;
  padding: var(--s-4) var(--s-3) var(--s-3);
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease);
}
.step:hover { border-color: var(--sage-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.step__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.75rem;
  line-height: 1;
  font-style: italic;
  color: var(--gold);
  margin-bottom: var(--s-2);
}
.step h3 { font-size: 1.3125rem; }
.step p { color: var(--muted); font-size: 1rem; }

/* ---------- Dark editorial band ---------- */
.band-dark {
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(201, 162, 77, 0.14), transparent 60%),
    linear-gradient(160deg, var(--sage-900), var(--sage-950));
  color: #E9ECE7;
}
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .eyebrow { color: var(--gold-soft); }
.band-dark p { color: rgba(233, 236, 231, 0.86); }
.band-dark a { color: var(--gold-soft); }
.band-dark a:hover { color: #fff; }

.standards-grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 960px) {
  .standards-grid { grid-template-columns: 0.95fr 1.05fr; gap: var(--s-10); }
}
.standards-figure { position: relative; }
.standards-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.standards-figure::after {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  z-index: -1;
  border: 1px solid rgba(201, 162, 77, 0.45);
  border-radius: var(--r-lg);
}
.standards-figure { isolation: isolate; }
@media (max-width: 959px) {
  .standards-figure img { aspect-ratio: 16 / 10; }
  .standards-figure::after { display: none; }
}
.standard-list { list-style: none; padding: 0; margin: var(--s-4) 0 var(--s-4); display: grid; gap: var(--s-3); }
.standard-list li { display: grid; grid-template-columns: 40px 1fr; gap: var(--s-2); }
.standard-list .icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(201, 162, 77, 0.16);
  color: var(--gold-soft);
}
.standard-list .icon svg { width: 20px; height: 20px; }
.standard-list h3 { font-family: var(--font-sans); font-size: 1.125rem; font-weight: 700; margin: 6px 0 4px; letter-spacing: 0; }
.standard-list p { margin: 0; font-size: 1rem; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: var(--step-2); }
.form-grid { display: grid; gap: var(--s-3); }
@media (min-width: 640px) {
  .form-grid--2 { grid-template-columns: 1fr 1fr; }
  .form-grid--2 .span-2 { grid-column: 1 / -1; }
}
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: 0.9875rem; color: var(--ink); }
.field .optional { font-weight: 400; color: var(--muted); }
.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover,
.field textarea:hover { border-color: #B5AD9C; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sage-700);
  box-shadow: 0 0 0 4px rgba(74, 102, 85, 0.22);
}
.field .hint { font-size: 0.9375rem; color: var(--muted); margin: 0; }

.check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-2);
  cursor: pointer;
}
.check input {
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  accent-color: var(--sage-700);
  cursor: pointer;
}
.check a { font-weight: 600; }
.req { color: #8A2424; font-weight: 700; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.form-note { font-size: 0.9375rem; color: var(--muted); margin: 0; }

.hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: var(--s-2);
  padding: 14px 18px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 1rem;
}
.form-status:empty { display: none; }
.form-status.is-success { background: #E6F0E9; color: #1F4A33; border: 1px solid #B9D3C2; }
.form-status.is-error { background: #FBEBEA; color: #8A2424; border: 1px solid #EDC3C0; }

button[disabled] { opacity: 0.7; cursor: progress; transform: none; }

/* ---------- Sign-up band ---------- */
.signup-band {
  display: grid;
  gap: var(--s-6);
  align-items: start;
  padding: clamp(28px, 4vw, 64px);
  border-radius: 24px;
  background:
    radial-gradient(900px 400px at 0% 0%, rgba(201, 162, 77, 0.12), transparent 60%),
    var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
@media (min-width: 960px) {
  .signup-band { grid-template-columns: 0.9fr 1.1fr; gap: var(--s-8); }
}
.signup-band h2 { font-size: var(--step-3); }
.signup-band ul { list-style: none; padding: 0; margin: var(--s-3) 0 0; display: grid; gap: 12px; }
.signup-band li, .benefits li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--ink-2); }
.tick {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--sage-50);
  color: var(--sage-700);
}
.tick svg { width: 14px; height: 14px; }

/* ---------- Split layouts (contact, sign-up) ---------- */
.split { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 960px) {
  .split { grid-template-columns: 0.9fr 1.1fr; gap: var(--s-10); }
}
.split__aside h2 { font-size: var(--step-2); }
.info-card {
  padding: var(--s-3);
  border-radius: var(--r);
  background: var(--paper);
  border: 1px solid var(--line);
  margin-bottom: var(--s-3);
}
.info-card h2, .info-card h3 { font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; margin-bottom: 8px; }
.info-card p, .info-card li { font-size: 1rem; color: var(--ink-2); }
.info-card p:last-child, .info-card ul:last-child { margin-bottom: 0; }
.email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: var(--step-2);
  color: var(--sage-800);
  text-decoration: none;
  word-break: break-word;
}
.email-link:hover { color: var(--sage-900); text-decoration: underline; }
.rounded-figure img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.rounded-figure figcaption, .photo-credit { font-size: 0.875rem; color: var(--muted); margin-top: 12px; }
.benefits { list-style: none; padding: 0; margin: var(--s-3) 0 var(--s-4); display: grid; gap: 12px; }

/* ---------- Article ---------- */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 var(--s-4);
  padding: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--sage-800); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink-2); }

.article-header { padding-block: clamp(40px, 3rem + 2vw, 80px) var(--s-5); }
.article-header h1 { max-width: 22ch; font-size: clamp(2.125rem, 1.5rem + 2.8vw, 3.75rem); line-height: 1.08; letter-spacing: -0.02em; }
.article-header .dek { max-width: 62ch; font-size: var(--step-1); line-height: 1.6; color: var(--ink-2); }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: var(--s-3) 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  color: var(--muted);
}
.article-meta li { display: inline-flex; align-items: center; gap: 8px; }
.article-meta svg { width: 16px; height: 16px; color: var(--sage); }

.article-figure { margin: 0 auto; }
.article-figure img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
@media (max-width: 719px) {
  .article-figure img { aspect-ratio: 3 / 2; }
}
.article-figure figcaption { margin-top: 12px; font-size: 0.875rem; color: var(--muted); }
.article-figure figcaption a { color: var(--muted); }

.article-layout {
  display: grid;
  gap: var(--s-6);
  padding-block: var(--s-8) var(--section);
}
@media (min-width: 1024px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: var(--s-10); }
}

.article-aside { display: none; }
@media (min-width: 1024px) {
  .article-aside { display: block; }
  .article-aside__inner { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: var(--s-3); }
}
.toc {
  padding: var(--s-3);
  border-radius: var(--r);
  background: var(--paper);
  border: 1px solid var(--line);
}
.toc__title {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a {
  display: block;
  padding: 7px 0 7px 14px;
  border-left: 2px solid var(--line);
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.toc a:hover { color: var(--sage-800); border-left-color: var(--sage); }
.toc a.is-current { color: var(--sage-800); border-left-color: var(--gold); font-weight: 600; }

.aside-card {
  padding: var(--s-3);
  border-radius: var(--r);
  background: linear-gradient(160deg, var(--sage-900), var(--sage-950));
  color: rgba(233, 236, 231, 0.88);
}
.aside-card h2 { font-size: 1.25rem; color: #fff; margin-bottom: 8px; }
.aside-card p { font-size: 0.9375rem; margin-bottom: var(--s-2); }
.aside-card :focus-visible { outline-color: var(--gold); }

/* Prose */
.prose { max-width: 70ch; font-size: var(--step-0); color: var(--ink); }
.prose > * + * { margin-top: 0; }
.prose p, .prose li { color: #2D3137; }
.prose .lede { font-size: var(--step-1); line-height: 1.6; color: var(--ink-2); margin-bottom: var(--s-4); }
.prose h2 {
  font-size: var(--step-2);
  margin: var(--s-8) 0 var(--s-2);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.prose h3 {
  font-family: var(--font-sans);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: var(--s-4) 0 var(--s-1);
}
.prose ul, .prose ol { padding-left: 0; margin-bottom: var(--s-3); list-style: none; }
.prose ul li, .prose ol li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}
.prose ol { counter-reset: item; }
.prose ol li { counter-increment: item; padding-left: 36px; }
.prose ol li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0.1em;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sage-50);
  color: var(--sage-800);
  font-size: 0.875rem;
  font-weight: 700;
}

.takeaways {
  margin: 0 0 var(--s-4);
  padding: var(--s-4) var(--s-4) var(--s-3);
  border-radius: var(--r-lg);
  background: var(--sage-50);
  border: 1px solid var(--sage-100);
}
.prose .takeaways h2,
.takeaways__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 var(--s-2);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-800);
}
.takeaways__title svg { width: 20px; height: 20px; color: var(--sage-700); }
.prose .takeaways ul { margin: 0; }
.prose .takeaways li { padding-left: 32px; }
.prose .takeaways li::before {
  top: 0.35em;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sage-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.callout {
  margin: var(--s-4) 0;
  padding: var(--s-3) var(--s-4);
  border-radius: 0 var(--r) var(--r) 0;
  border-left: 4px solid var(--gold);
  background: var(--gold-50);
}
.callout__label {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.prose .callout p { color: var(--ink-2); }
.callout p:last-child { margin-bottom: 0; }

.table-wrap {
  margin: var(--s-3) 0 var(--s-4);
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  -webkit-overflow-scrolling: touch;
}
.table-wrap table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 1rem; }
.table-wrap caption {
  caption-side: top;
  text-align: left;
  padding: 14px 18px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.table-wrap th, .table-wrap td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap thead th { background: var(--sage-50); color: var(--sage-900); font-size: 0.9375rem; }
.table-wrap tbody th { font-weight: 700; color: var(--ink); }
.table-wrap tr:last-child th, .table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-wrap tr.total th, .table-wrap tr.total td { background: var(--sand); font-weight: 700; }

.official-resources {
  margin-top: var(--s-8);
  padding: var(--s-4);
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
}
.prose .official-resources h2 { margin-top: 0; font-size: var(--step-1); }
.resource-list { display: grid; gap: 0; }
.prose .resource-list li { padding: 14px 0 14px 32px; margin: 0; border-bottom: 1px solid var(--line); }
.prose .resource-list li:last-child { border-bottom: 0; }
.prose .resource-list li::before {
  top: 18px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A6655' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4l-9 9'/%3E%3Cpath d='M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.resource-list a { font-weight: 700; }
.resource-list span { display: block; font-size: 0.9375rem; color: var(--muted); }
.resource-note { font-size: 0.9375rem; color: var(--muted); margin: var(--s-2) 0 0; }

.article-note {
  margin-top: var(--s-4);
  padding: var(--s-3);
  border-radius: var(--r);
  border: 1px dashed var(--line-strong);
  font-size: 0.9375rem;
  color: var(--muted);
}
.prose .article-note p { color: var(--muted); margin: 0; }

/* Keep reading */
.mini-grid {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
}
.mini-card {
  position: relative;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: var(--s-2);
  align-items: center;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mini-card:focus-within { outline: 3px solid var(--sage-800); outline-offset: 3px; }
.mini-card:focus-within a:focus-visible { outline: none; }
.mini-card img { width: 112px; height: 84px; object-fit: cover; border-radius: 10px; }
.mini-card h3 { font-size: 1.0625rem; line-height: 1.3; margin: 6px 0 4px; }
.mini-card h3 a { color: var(--ink); text-decoration: none; }
.mini-card h3 a::after { content: ""; position: absolute; inset: 0; }
.mini-card .tag { font-size: 0.75rem; padding: 2px 10px; }
.mini-card .read { font-size: 0.875rem; color: var(--muted); }

/* ---------- Legal / long-form pages ---------- */
.legal { padding-block: var(--s-8) var(--section); }
.legal .prose h2 { font-size: var(--step-2); margin-top: var(--s-6); }
.legal-toc {
  margin: 0 0 var(--s-6);
  padding: var(--s-3);
  border-radius: var(--r);
  background: var(--paper);
  border: 1px solid var(--line);
}
.legal-toc p { margin: 0 0 8px; font-weight: 700; }
.legal-toc ol { columns: 2 220px; column-gap: var(--s-4); margin: 0; }
.prose .legal-toc li { font-size: 0.9875rem; margin-bottom: 6px; break-inside: avoid; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: var(--s-6); }
@media (min-width: 960px) {
  .about-grid { grid-template-columns: 240px minmax(0, 1fr); gap: var(--s-10); }
  .about-grid .about-nav { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}
.about-nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.about-nav a { display: block; padding: 8px 0 8px 14px; border-left: 2px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: 0.9875rem; }
.about-nav a:hover { color: var(--sage-800); border-left-color: var(--gold); }
@media (max-width: 959px) { .about-nav { display: none; } }

.principles { display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin: var(--s-3) 0 var(--s-4); }
.principle {
  padding: var(--s-3);
  border-radius: var(--r);
  background: var(--paper);
  border: 1px solid var(--line);
}
.principle h3 { font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; margin: 0 0 6px; }
.prose .principle p { font-size: 1rem; color: var(--muted); margin: 0; }

/* ---------- Resources page ---------- */
.resource-panel {
  display: grid;
  gap: var(--s-4);
  padding: clamp(24px, 4vw, 56px);
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
}
@media (min-width: 960px) { .resource-panel { grid-template-columns: 0.8fr 1.2fr; gap: var(--s-8); } }
.resource-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.resource-panel li { padding: var(--s-2) 0; border-bottom: 1px solid var(--line); }
.resource-panel li:last-child { border-bottom: 0; }
.resource-panel li a { font-weight: 700; }
.resource-panel li span { display: block; font-size: 0.9375rem; color: var(--muted); }

/* ---------- Status pages ---------- */
.status-page { padding-block: clamp(80px, 12vh, 140px); text-align: center; }
.status-page .mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto var(--s-3);
  border-radius: 50%;
  background: var(--sage-50);
  color: var(--sage-700);
}
.status-page .mark svg { width: 32px; height: 32px; }
.status-page h1 { font-size: var(--step-3); margin-inline: auto; max-width: 20ch; }
.status-page .lead { margin-inline: auto; max-width: 52ch; }
.status-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); margin-top: var(--s-4); }
.status-links { margin-top: var(--s-6); text-align: left; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  background: var(--sage-950);
  color: rgba(226, 231, 224, 0.82);
  font-size: 1rem;
  padding-top: clamp(56px, 4rem + 2vw, 96px);
}
.footer-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
  padding-bottom: var(--s-6);
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1.2fr 0.8fr 0.8fr; gap: var(--s-6); } }
.site-footer .brand { color: #fff; }
.site-footer .brand__name span { color: var(--gold-soft); }
.footer-about p { margin-top: var(--s-2); max-width: 38ch; }
.footer-about a { color: var(--gold-soft); }
.footer-title {
  margin: 0 0 var(--s-2);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: rgba(236, 239, 234, 0.9); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); }
.footer-disclaimer {
  padding-block: var(--s-3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9375rem;
  color: rgba(226, 231, 224, 0.78);
}
.footer-disclaimer p { margin: 0; max-width: 90ch; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: var(--s-3) var(--s-4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: rgba(226, 231, 224, 0.72);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(236, 239, 234, 0.9); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: 0.08s; }
.js .reveal-delay-2 { transition-delay: 0.16s; }
.js .reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .guide-card:hover, .mini-card:hover, .step:hover, .btn:hover { transform: none; }
}

@media print {
  .site-header, .site-footer, .article-aside, .keep-reading, .skip-link { display: none !important; }
  body { background: #fff; }
}

/* ---------- Small additions ---------- */
main:focus { outline: none; }
.split__aside .signup-title { font-size: var(--step-3); max-width: 18ch; }
.email-note { margin-top: 12px; }
.info-card ul { padding-left: 1.1em; margin-bottom: 0; }
.info-card li + li { margin-top: 6px; }

/* Grid tracks may never grow past the viewport: a wide table or long word stays inside its column. */
.article-layout,
.intro-grid,
.split,
.standards-grid,
.about-grid,
.signup-band,
.resource-panel,
.footer-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .intro-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .standards-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
  .about-grid { grid-template-columns: 240px minmax(0, 1fr); }
  .signup-band { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .resource-panel { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
}
@media (min-width: 1024px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 280px; }
  .footer-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 0.8fr); }
}
.prose { min-width: 0; overflow-wrap: break-word; }
.standards-figure,
.rounded-figure { margin: 0; }

/* Phone hero: photo on top, headline on a calm dark panel below, so faces are never under the text. */
@media (max-width: 719px) {
  .hero { display: block; min-height: 0; }
  .hero__media { position: relative; inset: auto; z-index: 0; height: clamp(280px, 78vw, 400px); }
  .hero__media img { object-position: 62% 42%; }
  .hero::before {
    inset: auto;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    height: clamp(280px, 78vw, 400px);
    background: linear-gradient(180deg, rgba(27, 36, 31, 0) 45%, rgba(27, 36, 31, 0.85) 82%, #1B241F 100%);
  }
  .hero > .container { position: relative; z-index: 2; margin-top: -48px; }
  .hero__content { padding-top: 0; padding-bottom: 56px; }
}
@media (max-width: 719px) { .hero__media { overflow: hidden; } }
