/* ============================================================
   Clearwell Review - independent health and wellbeing publication
   Bespoke design system. Native CSS only.
   Palette: cool oat paper + cool charcoal ink + editorial cobalt.
   Type: Space Grotesk (display) + Newsreader (text serif).
   ============================================================ */

:root {
  /* Surfaces */
  --paper: #f4f2ec;          /* cool oat paper base */
  --paper-2: #ece9e0;        /* slightly deeper paper for bands */
  --card: #fbfaf6;           /* near-white card */
  --ink: #16181d;            /* cool charcoal near-black */
  --ink-2: #3b3f47;          /* secondary ink */
  --ink-3: #6c7077;          /* muted blue-grey */
  --line: #d9d5c9;           /* hairline on paper */
  --line-2: #e7e3d8;

  /* Accent - confident editorial cobalt (single accent, locked) */
  --accent: #1f4fe0;
  --accent-press: #1740bf;
  --accent-tint: #e7ecfc;
  --accent-ink: #ffffff;

  /* Dark band (footer / feature) */
  --night: #14161b;
  --night-2: #1d2027;
  --night-line: #2c303a;
  --on-night: #ece9e0;
  --on-night-2: #a6abb5;

  /* Type */
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: "Space Grotesk", ui-monospace, monospace;

  /* Scale */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 4px;
  --radius-lg: 10px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-press); }

h1, h2, h3, h4, .display { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; color: var(--ink); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: 0 0 .5em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -0.01em; margin: 0 0 .4em; }

/* ---------- Skip link + focus ---------- */
.skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius);
  font-family: var(--display); font-size: .9rem;
}
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 760px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.eyebrow {
  font-family: var(--display); font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.22em; color: var(--accent);
  margin: 0 0 1.1rem;
}
.lead { font-size: clamp(1.12rem, 1.7vw, 1.32rem); color: var(--ink-2); line-height: 1.55; max-width: 60ch; }

/* ---------- Masthead / nav ---------- */
.masthead {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.masthead-inner {
  max-width: var(--maxw); margin-inline: auto; padding: 0 var(--gutter);
  height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 30px; height: 30px; flex: none; border-radius: 7px;
  background: var(--accent); color: #fff; display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: -0.04em;
}
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.18rem; letter-spacing: -0.03em; }
.brand-name b { color: var(--accent); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--display); font-size: .92rem; font-weight: 500; color: var(--ink-2);
  text-decoration: none; padding: 8px 12px; border-radius: var(--radius); white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--accent); }
.nav-cta {
  font-family: var(--display); font-size: .9rem; font-weight: 600;
  background: var(--ink); color: #fff !important; padding: 9px 16px !important;
  border-radius: var(--radius); margin-left: 6px;
}
.nav-cta:hover { background: var(--accent); }

.menu-btn {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: var(--card); border-radius: var(--radius); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }

@media (max-width: 880px) {
  .nav {
    position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .2s ease;
  }
  .nav[data-open="true"] { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 12px 8px; font-size: 1.05rem; }
  .nav-cta { margin-left: 0; text-align: center; }
  .menu-btn { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--display);
  font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer;
  padding: 13px 22px; border-radius: var(--radius); border: 1px solid transparent;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
  line-height: 1; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-press); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* link with arrow */
.link-arrow { font-family: var(--display); font-weight: 600; font-size: .95rem; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.link-arrow .arr { transition: transform .15s ease; }
.link-arrow:hover .arr { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); letter-spacing: -0.035em; margin: 0 0 1.1rem; }
.hero h1 .hl { color: var(--accent); }
.hero-sub { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--ink-2); max-width: 46ch; margin: 0 0 1.8rem; line-height: 1.55; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { font-family: var(--display); font-size: .82rem; color: var(--ink-3); margin-top: 1.4rem; letter-spacing: .01em; }
.hero-figure { position: relative; }
.hero-figure img { border-radius: var(--radius-lg); aspect-ratio: 5/4; object-fit: cover; box-shadow: 0 24px 60px -28px rgba(22,24,29,.45); }
.hero-figure figcaption {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  background: color-mix(in srgb, var(--night) 88%, transparent); color: var(--on-night);
  font-family: var(--display); font-size: .8rem; letter-spacing: .02em;
  padding: 10px 14px; border-radius: var(--radius); backdrop-filter: blur(4px);
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-figure img { aspect-ratio: 16/10; }
}

/* ---------- Stat strip ---------- */
.stats { border-bottom: 1px solid var(--line); background: var(--paper-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px var(--gutter); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat .v { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.03em; color: var(--ink); }
.stat .l { font-family: var(--serif); font-size: .95rem; color: var(--ink-3); margin-top: 4px; }
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px var(--gutter); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Section heading block ---------- */
.sec-head { max-width: 64ch; margin-bottom: clamp(30px, 4vw, 52px); }
.sec-head .lead { margin-top: .7rem; }

/* ---------- Trust / approach row ---------- */
.approach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.approach .cell { background: var(--card); padding: clamp(24px, 3vw, 38px); }
.approach .n { font-family: var(--display); font-weight: 600; color: var(--accent); font-size: .85rem; letter-spacing: .12em; }
.approach h3 { margin-top: 14px; }
.approach p { margin: 0; color: var(--ink-2); font-size: 1.02rem; }
@media (max-width: 760px) { .approach { grid-template-columns: 1fr; } }

/* ---------- Topics (services) ---------- */
.topics { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.topic {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column;
}
.topic .tag { font-family: var(--display); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--accent); }
.topic h3 { margin: 14px 0 10px; font-size: clamp(1.3rem, 2vw, 1.7rem); }
.topic p { margin: 0 0 18px; color: var(--ink-2); }
.topic ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.topic li { position: relative; padding-left: 26px; font-size: 1rem; color: var(--ink-2); }
.topic li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 11px; height: 11px;
  border: 2px solid var(--accent); border-radius: 50%;
}
.topic .foot { margin-top: auto; }
@media (max-width: 760px) { .topics { grid-template-columns: 1fr; } }

/* ---------- Insights / article cards ---------- */
.insgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.acard {
  display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.acard:hover { transform: translateY(-4px); box-shadow: 0 22px 48px -30px rgba(22,24,29,.5); border-color: var(--ink-3); color: inherit; }
.acard .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); }
.acard .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.acard:hover .thumb img { transform: scale(1.04); }
.acard .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.acard .meta { font-family: var(--display); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .15em; color: var(--accent); margin-bottom: 10px; }
.acard h3 { font-size: 1.22rem; margin: 0 0 8px; }
.acard p { margin: 0 0 16px; color: var(--ink-2); font-size: .98rem; line-height: 1.5; }
.acard .more { margin-top: auto; font-family: var(--display); font-weight: 600; font-size: .85rem; color: var(--accent); display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 900px) { .insgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .insgrid { grid-template-columns: 1fr; } }

/* featured big card variant */
.feat { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--card); text-decoration: none; color: inherit; }
.feat:hover { color: inherit; }
.feat .thumb { background: var(--paper-2); }
.feat .thumb img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/11; }
.feat .body { padding: clamp(26px, 3.5vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.feat h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 12px 0; }
.feat p { color: var(--ink-2); margin: 0 0 22px; }
@media (max-width: 800px) { .feat { grid-template-columns: 1fr; } .feat .thumb img { aspect-ratio: 16/9; } }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; }
.quote .mk { font-family: var(--display); font-size: 2.4rem; line-height: .6; color: var(--accent); height: 22px; }
.quote blockquote { margin: 0 0 18px; font-size: 1.08rem; line-height: 1.55; color: var(--ink); }
.quote .by { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote .av { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: .85rem; }
.quote .by b { font-family: var(--display); font-weight: 600; font-size: .95rem; display: block; }
.quote .by span { font-size: .85rem; color: var(--ink-3); }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Resources / blogroll (homepage) ---------- */
.resources { background: var(--night); color: var(--on-night); border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 64px); }
.resources .eyebrow { color: #8ea6ff; }
.resources h2 { color: #fff; }
.resources .lead { color: var(--on-night-2); }
.reslist { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--night-line); border: 1px solid var(--night-line); border-radius: var(--radius); overflow: hidden; margin-top: 34px; }
.resitem { background: var(--night); padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; transition: background .15s ease; }
.resitem:hover { background: var(--night-2); }
.resitem .src { font-family: var(--display); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--on-night-2); }
.resitem a { font-family: var(--display); font-weight: 600; font-size: 1.12rem; color: #fff; text-decoration: none; letter-spacing: -0.01em; }
.resitem a:hover { color: #8ea6ff; text-decoration: underline; }
.resitem p { margin: 0; font-size: .92rem; color: var(--on-night-2); line-height: 1.45; }
@media (max-width: 700px) { .reslist { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.ctaband { background: var(--accent); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 68px); text-align: center; }
.ctaband h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.ctaband p { color: color-mix(in srgb, #fff 86%, transparent); max-width: 50ch; margin: 14px auto 26px; font-size: 1.1rem; }
.ctaband .btn-ink { background: #fff; color: var(--accent); }
.ctaband .btn-ink:hover { background: var(--ink); color: #fff; }

/* ---------- About / team ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split img { border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.values .v { background: var(--card); padding: 26px 24px; }
.values h3 { font-size: 1.1rem; margin-bottom: 8px; }
.values p { margin: 0; font-size: .96rem; color: var(--ink-2); }
@media (max-width: 820px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.member { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; }
.member .ini { width: 54px; height: 54px; border-radius: 12px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 1.2rem; margin-bottom: 16px; }
.member h3 { font-size: 1.2rem; margin-bottom: 2px; }
.member .role { font-family: var(--display); font-size: .82rem; font-weight: 500; color: var(--accent); text-transform: uppercase; letter-spacing: .12em; }
.member p { margin: 12px 0 0; font-size: .98rem; color: var(--ink-2); }
@media (max-width: 820px) { .team { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { font-family: var(--display); font-weight: 600; font-size: 1.12rem; padding: 22px 44px 22px 0; cursor: pointer; list-style: none; position: relative; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--accent); font-family: var(--display); line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 70ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3.5vw, 40px); }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.field label { font-family: var(--display); font-weight: 600; font-size: .92rem; color: var(--ink); }
.field input, .field textarea {
  font-family: var(--serif); font-size: 1.02rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 13px 15px; width: 100%; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { width: 100%; justify-content: center; }
.contact-aside dl { margin: 0; }
.contact-aside dt { font-family: var(--display); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); margin-top: 22px; }
.contact-aside dd { margin: 5px 0 0; font-size: 1.1rem; }
.contact-aside dd a { font-family: var(--display); font-weight: 600; text-decoration: none; }

/* ---------- Article ---------- */
.article-head { border-bottom: 1px solid var(--line); padding-bottom: clamp(28px, 4vw, 44px); }
.crumbs { font-family: var(--display); font-size: .82rem; color: var(--ink-3); margin-bottom: 22px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; font-family: var(--display); font-size: .85rem; color: var(--ink-3); margin-top: 18px; }
.article-meta .pill { background: var(--accent-tint); color: var(--accent); padding: 5px 11px; border-radius: 100px; font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.article-hero { margin: clamp(28px, 4vw, 44px) 0 0; }
.article-hero img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 16/8; object-fit: cover; }

.prose { font-size: 1.12rem; line-height: 1.72; color: var(--ink); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2em; margin-bottom: .2em; }
.prose h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin-top: 1.6em; margin-bottom: .1em; }
.prose p { margin: 0; }
.prose a { color: var(--accent); font-weight: 500; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 1.1em 0; }
.prose li { margin: .5em 0; }
.prose li::marker { color: var(--accent); }
.prose img { border-radius: var(--radius-lg); margin: 1.6em 0; box-shadow: 0 18px 44px -28px rgba(22,24,29,.4); }
.prose blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 22px; margin: 1.6em 0; font-size: 1.18rem; color: var(--ink-2); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .98rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--display); font-weight: 600; background: var(--paper-2); }
.prose section { margin-top: 1.15em; }
.prose h3[itemprop="name"] { margin-top: 1.4em; }

.article-foot { margin-top: clamp(40px, 5vw, 64px); padding-top: 32px; border-top: 1px solid var(--line); }
.source-box { background: var(--accent-tint); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); border-radius: var(--radius-lg); padding: 24px 26px; margin-top: 28px; }
.source-box .eyebrow { margin-bottom: .6rem; }
.source-box p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.source-box a { font-family: var(--display); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--on-night); padding-block: clamp(48px, 6vw, 76px) 30px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--night-line); }
.footer .brand-name { color: #fff; }
.footer .brand-mark { background: #fff; color: var(--accent); }
.footer-blurb { color: var(--on-night-2); margin: 18px 0 0; max-width: 38ch; font-size: 1rem; }
.footer h4 { font-family: var(--display); font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--on-night-2); margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a { color: var(--on-night); text-decoration: none; font-size: 1rem; font-family: var(--display); }
.footer ul a:hover { color: #8ea6ff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; padding-top: 26px; font-family: var(--display); font-size: .84rem; color: var(--on-night-2); }
.footer-bottom a { color: var(--on-night-2); }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand-col { grid-column: 1 / -1; } }
@media (max-width: 460px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Page header (interior) ---------- */
.page-head { border-bottom: 1px solid var(--line); padding-block: clamp(46px, 6vw, 84px); }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -0.035em; margin: 0 0 1rem; max-width: 16ch; }
.page-head .lead { font-size: clamp(1.12rem, 1.8vw, 1.34rem); }

/* utility */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.divider-band { background: var(--paper-2); border-block: 1px solid var(--line); }
