/* ============================================================
   Sagebrook Strategies - Hero
   Full-width header · cream copy left · responsive video right.
   Mobile: header → video + wordmark overlay → copy below.
   ============================================================ */

/* ------------------------------------------------------------
   Self-hosted webfonts
   Sourced from Google Fonts (SIL Open Font License 1.1) but served
   from our own origin, so loading a page sends no visitor IP to
   Google. Each file is a variable font instanced to the weight
   range we actually use; rerun scripts/fetch-fonts.py if a new
   weight, style, or family is introduced.

   The latin-ext and italic faces are gated by unicode-range and
   font-style, so browsers only fetch them if the page renders a
   glyph that needs them. They cost nothing on a typical visit.
   ------------------------------------------------------------ */

/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('assets/fonts/fraunces-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('assets/fonts/fraunces-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url('assets/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url('assets/fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url('assets/fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url('assets/fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #f7f3ea;
  --ink: #16202b;
  --ink-soft: #43505d;
  --ink-muted: #5c6876;
  --rule: #d9d1bf;
  --teal: #1f4e4a;
  --brass: #b08a4a;
  --brass-text: #826332;
  --on-image: rgba(255, 255, 255, 0.96);

  --font-serif: "Fraunces", "Source Serif 4", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Montserrat", "Inter", sans-serif;

  --gutter: clamp(1.5rem, 3.5vw, 3rem);
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-padding-top: 4.5rem;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

/* ---------- Hero shell ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "header header"
    "brand visual";
  width: 100%;
  min-height: min(100svh, 64rem);
  background: var(--paper);
}

/* ---------- Left: cream - brand + all copy ---------- */
.hero__brand {
  grid-area: brand;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  min-width: 0;
  padding: var(--gutter);
  background: var(--paper);
  container-type: inline-size;
}

.hero__header {
  grid-area: header;
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex: none;
  min-width: 0;
  padding: 1.1rem var(--gutter);
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  flex: none;
  width: max-content;
}

.nav__mark { color: var(--teal); flex: none; }

.nav__brand-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  display: inline-flex;
  gap: 0.35em;
}

.nav__brand-name--light {
  font-weight: 300;
  color: var(--ink-soft);
}

/* Brand left, links + sign-in (and the mobile menu button) right */
.nav__end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  min-width: 0;
}

.nav__signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--teal);
  padding: 0.5rem 0.85rem;
  min-height: 2.5rem;
  border-radius: 2px;
  white-space: nowrap;
  transition: background-color 150ms ease;
}

.nav__signin:hover { background: var(--ink); }

.nav__signin:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* Desktop: hamburger hidden */
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex: none;
  z-index: 30;
}

.nav__toggle-bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
}

.nav__links a {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 150ms ease;
  white-space: nowrap;
}

.nav__links a:hover { color: var(--teal); }

/* Wordmark → headline stack */
.hero__brand-lockup {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.5rem, 3.5vh, 2.5rem);
  min-width: 0;
  width: 100%;
  max-width: 38rem;
  align-self: center;
  container-type: inline-size;
}

.hero__wordmark {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 13.4cqi, 6.25rem);
  line-height: 0.86;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}

@supports not (font-size: 1cqi) {
  .hero__wordmark {
    font-size: clamp(2rem, 5.2vw, 6.25rem);
  }
}

.hero__wordmark-line {
  display: block;
}

.hero__content {
  max-width: 28rem;
}

.hero__eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-text);
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.85rem, 5.5cqi, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--ink);
}

.hero__title-accent {
  display: block;
  font-weight: 400;
  color: var(--teal);
}

.hero__lede {
  font-size: clamp(0.92rem, 1.6cqi + 0.55rem, 1.05rem);
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 1.4rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.35rem;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}

.btn--primary:hover {
  background: var(--teal);
}

.btn--ghost {
  color: var(--ink);
  border-color: var(--rule);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin: 0;
  padding-top: clamp(1.1rem, 2.5vh, 1.5rem);
  border-top: 1px solid var(--rule);
  width: 100%;
  max-width: 38rem;
  align-self: center;
  flex: none;
}

.hero__meta > div {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.hero__meta dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 4cqi, 1.65rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}

.hero__meta dt {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ---------- Right: video follows the available column, not viewport height ---------- */
.hero__visual {
  grid-area: visual;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 32rem;
  max-width: 100%;
  overflow: hidden;
  background: #0c1622;
  justify-self: stretch;
  align-self: stretch;
}

.hero__media-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__playback {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 8rem;
  min-height: 44px;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  color: var(--paper);
  background: rgba(12, 22, 34, 0.88);
  font-size: 0.75rem;
  font-weight: 500;
}

.hero__playback[hidden] { display: none; }
.hero__playback:hover { background: var(--ink); }
.hero__playback:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

/* Desktop: no scrim needed (copy is on cream) */
.hero__scrim {
  display: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ---------- Mobile ----------
   Header → centered video with SAGEBROOK STRATEGIES over it → copy below */
@media (max-width: 900px) {
  :root {
    --gutter: 1.25rem;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas:
      "header"
      "visual"
      "content"
      "meta";
    min-height: 0;
    align-content: start;
    overflow: visible;
  }

  /* Flatten wrappers so children can occupy hero grid areas */
  .hero__brand,
  .hero__brand-lockup {
    display: contents;
  }

  .hero__header {
    grid-area: header;
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 0.85rem var(--gutter);
    background: var(--paper);
  }

  .nav__brand { display: inline-flex; }

  .nav__signin {
    position: relative;
    top: auto;
    right: auto;
    z-index: 31;
  }

  .nav__toggle { display: flex; }

  /* Slide-out drawer */
  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 25;
    width: min(18rem, 82vw);
    height: 100dvh;
    margin: 0;
    padding: 5.5rem 1.75rem 2rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.35rem;
    background: var(--paper);
    border-left: 1px solid var(--rule);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), visibility 280ms;
    pointer-events: none;
  }

  .nav__links a {
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    color: var(--ink);
  }

  body.nav-open {
    overflow: hidden;
  }

  /* Drawer lives inside sticky header; lift that stacking context above the scrim */
  body.nav-open .hero__header {
    z-index: 30;
  }

  body.nav-open .nav__links {
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  body.nav-open .nav__toggle {
    position: relative;
    z-index: 31;
  }

  body.nav-open .nav__toggle-bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  body.nav-open .nav__toggle-bar:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav__toggle-bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  /* Dim page behind open menu (below header + drawer) */
  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 22;
    background: rgba(22, 32, 43, 0.35);
  }

  .hero__visual {
    grid-area: visual;
    width: 100%;
    height: min(75vw, 50svh, 30rem);
    min-height: 12rem;
    justify-self: stretch;
  }

  .hero__scrim {
    display: block;
    background: rgba(8, 16, 26, 0.28);
  }

  /* Wordmark sits dead-center over the video */
  .hero__wordmark {
    grid-area: visual;
    z-index: 3;
    align-self: center;
    justify-self: center;
    width: min(calc(100% - 2 * var(--gutter)), 36rem);
    margin-bottom: 2rem;
    font-size: clamp(2rem, min(11vw, 13svh), 5rem);
    line-height: 0.88;
    color: var(--on-image);
    text-align: center;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
    pointer-events: none;
  }

  .hero__content {
    grid-area: content;
    max-width: none;
    padding: 1.5rem var(--gutter) 0.5rem;
  }

  .hero__eyebrow {
    margin-bottom: 0.75rem;
    font-size: 0.65rem;
  }

  .hero__title {
    font-size: clamp(1.55rem, 6.2vw, 2rem);
    margin-bottom: 0.85rem;
  }

  .hero__lede {
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
  }

  .hero__actions {
    gap: 0.6rem;
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .hero__meta {
    grid-area: meta;
    padding: 1.25rem var(--gutter) 1.75rem;
    margin: 0.5rem var(--gutter) 0;
    width: auto;
    max-width: none;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .hero__meta > div {
    flex-direction: row;
    align-items: baseline;
    gap: 0.75rem;
  }

  .hero__meta dt {
    order: -1;
    min-width: 6.5rem;
  }

  .hero__meta dd {
    font-size: 1.15rem;
  }

  .btn {
    padding: 0.75rem 1.15rem;
    font-size: 0.8rem;
  }

  .hero__header {
    padding-top: calc(0.85rem + env(safe-area-inset-top, 0px));
    padding-left: calc(var(--gutter) + env(safe-area-inset-left, 0px));
    padding-right: calc(var(--gutter) + env(safe-area-inset-right, 0px));
  }
}

@media (max-width: 420px) {
  :root { --gutter: 1.1rem; }

  .nav__brand-name {
    flex-direction: column;
    gap: 0.15em;
    font-size: 1rem;
  }

  .nav__end {
    gap: 0.5rem;
  }
}

/* ============================================================
   Problem - tide ink field
   Statement left (prose scale). Practice dossier right.
   ============================================================ */

.problem {
  --problem-ink: #101820;
  --problem-ink-deep: #0b1218;
  --problem-paper: #f3ebe0;
  --problem-muted: rgba(243, 235, 224, 0.62);
  --problem-rule: rgba(243, 235, 224, 0.16);

  position: relative;
  padding: clamp(5rem, 11vw, 8.5rem) var(--gutter);
  color: var(--problem-paper);
  background:
    radial-gradient(90% 70% at 8% 12%, rgba(31, 78, 74, 0.38), transparent 58%),
    radial-gradient(70% 55% at 92% 88%, rgba(176, 138, 74, 0.1), transparent 50%),
    linear-gradient(165deg, var(--problem-ink) 0%, var(--problem-ink-deep) 100%);
  overflow: hidden;
}

.problem__inner {
  width: min(100%, 72rem);
  margin-inline: auto;
  display: grid;
  gap: clamp(3.5rem, 7vw, 5.5rem);
}

/* Balanced columns, top-aligned for long statement + dossier */
.problem__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.problem__intro {
  max-width: 34rem;
  opacity: 0;
  transform: translateY(1rem);
  transition:
    opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.problem.is-inview .problem__intro {
  opacity: 1;
  transform: none;
}

.problem__eyebrow {
  margin: 0 0 1.1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}

.problem__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--problem-paper);
}

.problem__title-accent {
  display: inline;
  font-weight: 400;
  color: var(--brass);
}

/* Brass underline draws in on reveal */
.problem__rule {
  display: block;
  width: min(100%, 11rem);
  height: 1px;
  margin: 1.5rem 0 1.35rem;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1) 180ms;
}

.problem.is-inview .problem__rule {
  transform: scaleX(1);
}

.problem__lede {
  margin: 0;
  max-width: 32rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--problem-muted);
}

/* Vertical dossier - hairlines, not cards */
.problem__hits {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--problem-rule);
}

.problem__hit {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1.25rem 1.5rem;
  align-items: start;
  padding: clamp(1.4rem, 2.8vw, 1.85rem) 0;
  border-bottom: 1px solid var(--problem-rule);
  opacity: 0;
  transform: translateY(1.1rem);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.problem__hit:nth-child(1) { transition-delay: 160ms; }
.problem__hit:nth-child(2) { transition-delay: 280ms; }
.problem__hit:nth-child(3) { transition-delay: 400ms; }

.problem.is-inview .problem__hit {
  opacity: 1;
  transform: none;
}

.problem__num {
  padding-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--brass);
}

.problem__hit-copy {
  display: grid;
  gap: 0.45rem;
}

.problem__hit-q {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--problem-paper);
}

.problem__hit-a {
  margin: 0;
  max-width: 26rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--problem-muted);
}

.problem__close {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.35rem 2.5rem;
  padding-top: clamp(0.5rem, 1.5vw, 1rem);
  border-top: 1px solid var(--problem-rule);
}

.problem__resolve {
  margin: 0;
  max-width: 34rem;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.3vw, 1.5rem);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--problem-paper);
  opacity: 0;
  transform: translateY(0.75rem);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1) 480ms,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1) 480ms;
}

.problem.is-inview .problem__resolve {
  opacity: 1;
  transform: none;
}

/* Cream CTA on dark - reads as paper against tide ink */
.btn--on-dark {
  background: var(--problem-paper);
  color: var(--problem-ink);
  border-color: transparent;
}

.btn--on-dark:hover {
  background: var(--brass);
  color: var(--problem-ink-deep);
}

@media (max-width: 900px) {
  .problem__stage {
    grid-template-columns: 1fr;
    gap: 2.75rem;
    align-items: start;
  }

  .problem__intro {
    max-width: none;
  }

  .problem__title {
    font-size: clamp(1.45rem, 5.5vw, 1.85rem);
  }

  .problem__close {
    flex-direction: column;
    align-items: stretch;
  }

  .problem__close .btn {
    width: 100%;
    text-align: center;
  }

  .problem__hit {
    grid-template-columns: 2.25rem minmax(0, 1fr);
  }
}

@media (max-width: 400px) {
  .problem {
    padding-block: 4rem;
  }
}

/* ============================================================
   Guide - letter + faces
   Centered manifesto, inline proof, circular B&W team.
   Deliberately breaks the problem-section silhouette.
   ============================================================ */

.guide {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) var(--gutter);
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(176, 138, 74, 0.08), transparent 55%),
    var(--paper);
  overflow: hidden;
}

.guide__inner {
  width: min(100%, 68rem);
  margin-inline: auto;
  display: grid;
  gap: clamp(2.75rem, 6vw, 4rem);
}

.guide__manifesto {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  opacity: 0;
  transform: translateY(1rem);
  transition:
    opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.guide.is-inview .guide__manifesto {
  opacity: 1;
  transform: none;
}

.guide__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-text);
}

.guide__title {
  margin: 0 0 1.15rem;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.35rem, 5.2vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.guide__title-accent {
  display: block;
  margin-top: 0.3rem;
  font-weight: 400;
  color: var(--teal);
}

.guide__lede {
  margin: 0 auto;
  max-width: 32rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* Single rule + team banner - replaces the old proof strip */
.guide__team-banner {
  text-align: center;
  max-width: 28rem;
  margin-inline: auto;
  opacity: 0;
  transform: translateY(0.75rem);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1) 120ms,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1) 120ms;
}

.guide.is-inview .guide__team-banner {
  opacity: 1;
  transform: none;
}

.guide__rule {
  display: block;
  width: min(100%, 11rem);
  height: 1px;
  margin: 0 auto 1.5rem;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1) 180ms;
}

.guide.is-inview .guide__rule {
  transform: scaleX(1);
}

.guide__team-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.85rem, 3.6vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.guide__team-lede {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-text);
}

/* Team profiles: circular portraits with readable, always-visible bios. */
.guide__team {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem clamp(1.5rem, 3vw, 2.5rem);
}

.guide__person {
  display: grid;
  align-content: start;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  text-align: left;
  opacity: 0;
  transform: translateY(1rem);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.guide__person:nth-child(1) { transition-delay: 180ms; }
.guide__person:nth-child(2) { transition-delay: 260ms; }
.guide__person:nth-child(3) { transition-delay: 340ms; }
.guide__person:nth-child(4) { transition-delay: 420ms; }
.guide__person:nth-child(5) { transition-delay: 500ms; }
.guide__person:nth-child(6) { transition-delay: 580ms; }

.guide__person-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.guide__person-heading > div:last-child {
  min-width: 0;
}

.guide.is-inview .guide__person {
  opacity: 1;
  transform: none;
}

.guide__avatar {
  width: 5.5rem;
  flex: 0 0 auto;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #d8d0c2;
  box-shadow: inset 0 0 0 1px rgba(22, 32, 43, 0.08);
}

.guide__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(1) contrast(1.05);
  transition: filter 280ms ease, transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Andrew's source is darker - lift shadows and soften contrast. */
.guide__avatar img.guide__avatar-img--bright {
  filter: grayscale(1) contrast(0.78) brightness(1.08);
}

.guide__person:hover .guide__avatar img {
  filter: grayscale(0.35) contrast(1.05);
  transform: scale(1.04);
}

.guide__avatar img.guide__avatar-img--sarah {
  transform: scale(1.45);
  transform-origin: center 20%;
}

.guide__avatar img.guide__avatar-img--matt {
  transform: scale(1.65);
  transform-origin: 40% top;
}

.guide__person:hover .guide__avatar img.guide__avatar-img--sarah {
  transform: scale(1.5);
}

.guide__person:hover .guide__avatar img.guide__avatar-img--matt {
  transform: scale(1.7);
}

.guide__person:hover .guide__avatar img.guide__avatar-img--bright {
  filter: grayscale(0.35) contrast(0.78) brightness(1.08);
}

.guide__avatar--placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 30%, rgba(243, 235, 224, 0.2), transparent 45%),
    linear-gradient(160deg, #2a3a37 0%, var(--teal) 100%);
  color: rgba(247, 243, 234, 0.88);
}

.guide__avatar--placeholder span {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  line-height: 1;
}

.guide__name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.guide__role {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  line-height: 1.35;
  color: var(--ink-muted);
}

.guide__bio {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.guide__bio--pending {
  color: var(--ink-muted);
  font-style: italic;
}

.guide__close {
  margin: 0;
  text-align: center;
  opacity: 0;
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1) 560ms;
}

.guide.is-inview .guide__close {
  opacity: 1;
}

.guide__next {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  transition: color 150ms ease, gap 150ms ease;
}

.guide__next::after {
  content: "→";
  font-size: 1rem;
  line-height: 1;
  transition: transform 150ms ease;
}

.guide__next:hover {
  color: var(--ink);
  gap: 0.85rem;
}

.guide__next:hover::after {
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .guide__title {
    font-size: clamp(2.1rem, 8vw, 2.85rem);
  }

  .guide__team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .guide__team {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
}

/* ============================================================
   Plan - process track
   Left-aligned brief. Three connected moves. No cards.
   ============================================================ */

.plan {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) var(--gutter);
  background:
    linear-gradient(180deg, var(--paper) 0%, #efe8d9 55%, #ebe3d4 100%);
  border-top: 1px solid var(--rule);
  overflow: hidden;
}

.plan__inner {
  width: min(100%, 72rem);
  margin-inline: auto;
  display: grid;
  gap: clamp(2.75rem, 6vw, 4.25rem);
}

.plan__intro {
  max-width: 28rem;
  opacity: 0;
  transform: translateY(1rem);
  transition:
    opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.plan.is-inview .plan__intro {
  opacity: 1;
  transform: none;
}

.plan__eyebrow {
  margin: 0 0 0.95rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-text);
}

.plan__title {
  margin: 0 0 0.9rem;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.plan__lede {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Horizontal track with a drawing connector line */
.plan__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
}

.plan__track::before {
  content: "";
  position: absolute;
  top: 0.85rem;
  left: 0.35rem;
  right: 0.35rem;
  height: 1px;
  background: var(--rule);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1100ms cubic-bezier(0.22, 1, 0.36, 1) 120ms;
}

.plan.is-inview .plan__track::before {
  transform: scaleX(1);
}

.plan__step {
  position: relative;
  display: grid;
  gap: 0.85rem;
  align-content: start;
  padding-top: 0;
  opacity: 0;
  transform: translateY(1rem);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.plan__step:nth-child(1) { transition-delay: 200ms; }
.plan__step:nth-child(2) { transition-delay: 340ms; }
.plan__step:nth-child(3) { transition-delay: 480ms; }

.plan.is-inview .plan__step {
  opacity: 1;
  transform: none;
}

.plan__num {
  position: relative;
  z-index: 1;
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--brass);
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brass-text);
  box-shadow: 0 0 0 6px #efe8d9;
}

.plan__step-title {
  margin: 0.35rem 0 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.plan__step-copy {
  margin: 0;
  max-width: 18rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.plan__actions {
  opacity: 0;
  transform: translateY(0.6rem);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1) 560ms,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1) 560ms;
}

.plan.is-inview .plan__actions {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .plan__track {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 0.35rem;
  }

  .plan__track::before {
    top: 0.85rem;
    bottom: 0.85rem;
    left: calc(0.35rem + 0.85rem);
    right: auto;
    width: 1px;
    height: auto;
    transform: scaleY(0);
    transform-origin: top center;
  }

  .plan.is-inview .plan__track::before {
    transform: scaleY(1);
  }

  .plan__step {
    grid-template-columns: 1.7rem minmax(0, 1fr);
    column-gap: 1.25rem;
    row-gap: 0.45rem;
    padding: 1.35rem 0;
  }

  .plan__num {
    grid-row: 1 / span 2;
    align-self: start;
    box-shadow: 0 0 0 6px #efe8d9;
  }

  .plan__step-title {
    margin: 0;
    align-self: end;
  }

  .plan__step-copy {
    max-width: none;
    grid-column: 2;
  }

  .plan__actions .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .plan {
    padding-block: 4rem;
  }
}

/* ============================================================
   Success - tide-ink coda
   Outcome first. Light stakes. Hard CTA. Closes the story.
   ============================================================ */

.success {
  --success-ink: #101820;
  --success-ink-deep: #0b1218;
  --success-paper: #f3ebe0;
  --success-muted: rgba(243, 235, 224, 0.62);
  --success-rule: rgba(243, 235, 224, 0.16);

  position: relative;
  padding: clamp(5.5rem, 12vw, 9rem) var(--gutter);
  color: var(--success-paper);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(31, 78, 74, 0.32), transparent 58%),
    radial-gradient(60% 50% at 80% 100%, rgba(176, 138, 74, 0.08), transparent 50%),
    linear-gradient(180deg, var(--success-ink) 0%, var(--success-ink-deep) 100%);
  overflow: hidden;
}

.success__inner {
  width: min(100%, 64rem);
  margin-inline: auto;
  display: grid;
  gap: clamp(2.5rem, 5.5vw, 3.75rem);
  justify-items: center;
  text-align: center;
}

.success__intro {
  max-width: 36rem;
  opacity: 0;
  transform: translateY(1rem);
  transition:
    opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.success.is-inview .success__intro {
  opacity: 1;
  transform: none;
}

.success__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}

.success__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--success-paper);
}

.success__title-line {
  display: block;
  color: var(--brass);
}

.success__hits {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--success-rule);
  border-bottom: 1px solid var(--success-rule);
  text-align: left;
}

.success__hit {
  display: grid;
  gap: 0.55rem;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1rem, 2.2vw, 1.75rem);
  border-right: 1px solid var(--success-rule);
  opacity: 0;
  transform: translateY(0.9rem);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.success__hit:last-child {
  border-right: 0;
}

.success__hit:nth-child(1) { transition-delay: 160ms; }
.success__hit:nth-child(2) { transition-delay: 280ms; }
.success__hit:nth-child(3) { transition-delay: 400ms; }

.success.is-inview .success__hit {
  opacity: 1;
  transform: none;
}

.success__hit-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--success-paper);
}

.success__hit-copy {
  margin: 0;
  max-width: 16rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--success-muted);
}

.success__stakes {
  margin: 0;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--success-muted);
  opacity: 0;
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1) 480ms;
}

.success.is-inview .success__stakes {
  opacity: 1;
}

.success__cta {
  opacity: 0;
  transform: translateY(0.6rem);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1) 560ms,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1) 560ms;
}

.success.is-inview .success__cta {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .success__hits {
    grid-template-columns: 1fr;
  }

  .success__hit {
    border-right: 0;
    border-bottom: 1px solid var(--success-rule);
    padding-inline: 0;
  }

  .success__hit:last-child {
    border-bottom: 0;
  }

  .success__hit-copy {
    max-width: none;
  }

  .success__title {
    font-size: clamp(2.1rem, 8.5vw, 3rem);
  }

  .success__cta .btn {
    width: min(100%, 22rem);
    text-align: center;
  }
}

@media (max-width: 400px) {
  .success {
    padding-block: 4.25rem;
  }

  .success__cta .btn {
    width: 100%;
  }
}

/* ============================================================
   Footer - paper close with contact form
   ============================================================ */

.footer {
  position: relative;
  padding: clamp(4.5rem, 9vw, 7rem) var(--gutter) clamp(2rem, 4vw, 2.75rem);
  padding-bottom: calc(clamp(2rem, 4vw, 2.75rem) + env(safe-area-inset-bottom, 0px));
  background:
    radial-gradient(70% 50% at 0% 0%, rgba(31, 78, 74, 0.06), transparent 55%),
    var(--paper);
  border-top: 1px solid var(--rule);
}

.footer__inner {
  width: min(100%, 72rem);
  margin-inline: auto;
  display: grid;
  gap: clamp(3rem, 6vw, 4.5rem);
}

.footer__main {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.footer__mark {
  color: var(--teal);
  flex: none;
}

.footer__brand-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  display: inline-flex;
  gap: 0.35em;
}

.footer__brand-name--light {
  font-weight: 300;
  color: var(--ink-soft);
}

.footer__tagline {
  margin: 0 0 1.25rem;
  max-width: 18rem;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.footer__place {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.footer__form {
  display: grid;
  gap: 1.35rem;
}

.footer__form-eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-text);
}

.footer__form-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.85rem, 3.5vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.footer__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1.25rem;
}

.footer__field {
  display: grid;
  gap: 0.45rem;
}

.footer__field--full {
  grid-column: 1 / -1;
}

.footer__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.footer__input {
  width: 100%;
  margin: 0;
  padding: 0.75rem 0;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  outline: none;
  transition: border-color 150ms ease;
}

.footer__input:hover {
  border-bottom-color: #c4bbab;
}

.footer__input:focus {
  border-bottom-color: var(--teal);
}

.footer__input::placeholder {
  color: var(--ink-muted);
}

.footer__textarea {
  resize: vertical;
  min-height: 6.5rem;
  padding-top: 0.65rem;
}

.footer__form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.footer__form-actions .btn {
  cursor: pointer;
}

/* Spam honeypot. Must stay display:none rather than visually-hidden: that
   keeps it out of the accessibility tree and stops browsers autofilling it,
   either of which would make a real visitor look like a bot to Formspree. */
.footer__gotcha {
  display: none;
}

.footer__form-status {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.footer__form-status.is-error {
  color: #8a3a2a;
}

/* This notice is where visitors assent to the Terms, so it is deliberately
   heavier than ordinary fine print: ink-soft clears WCAG AA on paper, where
   the muted grey used elsewhere does not. Do not shrink or lighten it. */
.footer__form-note {
  margin: -0.15rem 0 0;
  max-width: 30rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.footer__form-note a {
  color: var(--teal);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  text-decoration-thickness: 1px;
  transition: color 150ms ease;
}

.footer__form-note a:hover {
  color: var(--ink);
}

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
}

.footer__nav a {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 150ms ease;
}

.footer__nav a:hover {
  color: var(--teal);
}

.footer__copy {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

@media (max-width: 900px) {
  .footer__main {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
}

@media (max-width: 520px) {
  .footer__fields {
    grid-template-columns: 1fr;
  }

  .footer__form-actions .btn {
    width: 100%;
  }

  .footer__bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   Charleston: local context, using the shared type and color system.
   ============================================================ */
.chs-nav,
.chs-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem var(--gutter);
  border-bottom: 1px solid var(--rule);
}

.chs-banner__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--teal);
}

.chs-banner__brand > span { color: var(--ink); }
.chs-banner__brand > span > span { font-weight: 300; }

.chs-nav__back,
.chs-panel__link,
.chs-footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  font-size: 0.85rem;
  font-weight: 600;
}

.chs-nav a:focus-visible,
.chs-panel__link:focus-visible,
.chs-footer a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.chs-banner {
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(135deg, var(--paper), #ece5d6);
}

.chs-banner__copy,
.chs-city,
.chs-split,
.chs-footer {
  width: min(100% - 2 * var(--gutter), 68rem);
  margin-inline: auto;
}

.chs-banner__copy { padding-block: clamp(3.5rem, 8vw, 6.5rem); }

.chs-banner__where,
.chs-city__kicker,
.chs-panel__kicker {
  margin: 0 0 1.1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-text);
}

.chs-banner__title {
  max-width: 12ch;
  margin: 0 0 1.35rem;
  font-family: var(--font-serif);
  font-size: clamp(3.25rem, 7.5vw, 6.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--teal);
}

.chs-banner__lede {
  max-width: 36rem;
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: var(--ink-soft);
}

.chs-city { padding-block: clamp(3rem, 6vw, 5rem); }

.chs-city__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  column-gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.chs-city__kicker { grid-column: 1; }

.chs-city__title,
.chs-panel__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.15;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.chs-city__title { grid-column: 1; max-width: 16ch; }
.chs-city__prose { grid-column: 2; grid-row: 1 / span 2; color: var(--ink-soft); }
.chs-city__prose p { margin: 0 0 1.1rem; }
.chs-city__prose p:last-child { margin-bottom: 0; }

.chs-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.chs-panel { padding: clamp(2rem, 4vw, 3rem); }
.chs-panel--ink { background: var(--ink); color: var(--paper); }
.chs-panel--ink .chs-panel__kicker { color: #d2b075; }
.chs-panel--brass { background: #e9dfcc; color: var(--ink); }
.chs-panel__copy { margin: 0; line-height: 1.75; }
.chs-panel__link { margin-top: 1.5rem; border-bottom: 1px solid currentColor; }
.chs-panel__link:hover { color: var(--teal); }

.chs-footer {
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.chs-footer p { margin: 0; }
.chs-footer nav { display: flex; gap: 1.5rem; }
.chs-footer a { color: var(--ink-soft); }

@media (max-width: 700px) {
  .chs-nav { gap: 1rem; }
  .chs-banner__brand { font-size: 1rem; }
  .chs-nav__back { font-size: 0.75rem; gap: 0.35rem; }
  .chs-city__inner,
  .chs-split { grid-template-columns: 1fr; }
  .chs-city__title { max-width: 20ch; }
  .chs-city__prose { grid-column: 1; grid-row: auto; }
  .chs-footer { flex-wrap: wrap; gap: 0.5rem 1.5rem; }
}

/* ============================================================
   Legal pages (privacy.html, terms.html)
   Single reading column on paper; reuses the site tokens.
   ============================================================ */
.legal {
  padding: clamp(2rem, 5vw, 3.5rem) var(--gutter) clamp(4rem, 8vw, 6rem);
}

.legal__inner {
  width: min(100%, 44rem);
  margin-inline: auto;
}

.legal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.legal__back {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 150ms ease;
}

.legal__back:hover {
  color: var(--teal);
}

.legal__eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-text);
}

.legal__title {
  margin: 0.75rem 0 0;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.1rem, 5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.legal__updated {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.legal__body {
  margin-top: clamp(2.25rem, 5vw, 3rem);
  padding-top: clamp(2.25rem, 5vw, 3rem);
  border-top: 1px solid var(--rule);
}

.legal__body h2 {
  margin: 2.5rem 0 0.75rem;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.2rem, 2.4vw, 1.4rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.legal__body h2:first-child {
  margin-top: 0;
}

.legal__body p,
.legal__body li {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

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

.legal__body ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

.legal__body li {
  margin-bottom: 0.45rem;
}

.legal__body a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.legal__foot {
  margin-top: clamp(3rem, 6vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

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

  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  /* Hold a still frame rather than leaving the hero visual empty. The poster
     is frame one of the loop, so the composition is unchanged. Browsers only
     fetch this image when the media query matches. */
  .hero__media-wrap {
    background: url("assets/hero-poster.jpg") center / cover no-repeat;
  }

  .problem__intro,
  .problem__hit,
  .problem__resolve,
  .guide__manifesto,
  .guide__team-banner,
  .guide__person,
  .guide__close,
  .plan__intro,
  .plan__step,
  .plan__actions,
  .success__intro,
  .success__hit,
  .success__stakes,
  .success__cta {
    opacity: 1;
    transform: none;
  }

  .problem__rule,
  .guide__rule,
  .plan__track::before {
    transform: none;
  }

  .guide__avatar img {
    filter: grayscale(1) contrast(1.05);
    transform: none;
  }

  .guide__avatar-img--bright {
    filter: grayscale(1) brightness(1.28) contrast(1.08);
  }
}
