/* ==========================================================================
   Cardi Advisory Group — site styles
   All styles for every page live in this one file.

   Contents
   1. Fonts
   2. Brand tokens
   3. Base
   4. Layout helpers
   5. Buttons and links
   6. Header and navigation
   7. Hero and agenda card
   8. Sections and headings
   9. Components
   10. Closing band and footer
   11. Legal pages
   12. Motion
   ========================================================================== */

/* 1. Fonts (hosted with the site, no outside requests) -------------------- */
@font-face {
  font-family: "Playfair Display";
  src: url("../assets/fonts/playfair-display-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../assets/fonts/playfair-display-latin-700-italic.woff2") format("woff2");
  font-weight: 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

/* 2. Brand tokens ---------------------------------------------------------- */
:root {
  --navy: #1B2A4A;          /* Admiral Navy: text, headings, buttons */
  --navy-deep: #14203A;     /* button hover only */
  --brass: #B08D57;         /* accents only, never text */
  --parchment: #F3F1EC;     /* page and section backgrounds */
  --white: #FFFFFF;
  --rule: rgba(27, 42, 74, 0.16);        /* hairlines on light */
  --rule-on-navy: rgba(255, 255, 255, 0.22);
  --text-soft: rgba(27, 42, 74, 0.82);   /* secondary text, still navy */

  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Source Sans 3", Arial, sans-serif;
  --font-label: "Montserrat", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: 1.375rem;
  --space-section: clamp(4rem, 9vw, 7.5rem);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--parchment);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1.0625rem;      /* 17px */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 4.5rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.875rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.5rem); line-height: 1.25; }

p { margin: 0 0 1.1em; max-width: 64ch; }
p:last-child { margin-bottom: 0; }

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

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--navy); color: var(--white);
  padding: 0.75rem 1rem; z-index: 200;
  font-family: var(--font-label); font-size: 0.8125rem;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* 4. Layout helpers -------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--space-section); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: var(--white); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }

/* Two-column editorial split: narrow heading column, wide content column */
.split { display: grid; gap: 2rem; }

.lede {
  font-size: clamp(1.15rem, 1.9vw, 1.35rem);
  line-height: 1.55;
  max-width: 56ch;
}

.label {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

/* 5. Buttons and links ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.75rem;
  background: var(--navy);
  color: var(--white);
  border: 1.5px solid var(--navy);
  border-radius: 2px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { background: var(--navy-deep); box-shadow: inset 0 -3px 0 var(--brass); }

.btn--light {
  background: var(--white); color: var(--navy); border-color: var(--white);
}
.btn--light:hover { background: var(--parchment); box-shadow: inset 0 -3px 0 var(--brass); }

.btn--small { min-height: 44px; padding: 0.6rem 1.15rem; font-size: 0.75rem; }

.text-link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: text-underline-offset 0.2s ease;
}
.text-link:hover { text-underline-offset: 8px; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.cta-note { font-size: 0.975rem; color: var(--text-soft); margin: 0; }
.section--navy .cta-note, .closing .cta-note { color: rgba(255, 255, 255, 0.85); }

/* 6. Header and navigation ------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--parchment);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); background: rgba(243, 241, 236, 0.96); }

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  transition: height 0.25s ease;
}
.site-header.is-scrolled .site-header__inner { height: 62px; }

.brand { display: block; flex: none; }
.brand img { width: 150px; transition: width 0.25s ease; }
.site-header.is-scrolled .brand img { width: 128px; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 48px; height: 48px; padding: 12px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%; background: var(--navy);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.site-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--parchment);
  border-bottom: 1px solid var(--rule);
  padding: 0.5rem var(--gutter) 1.75rem;
  display: none;
}
.site-nav.is-open { display: block; animation: nav-in 0.25s ease both; }

.site-nav__list a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}
.site-nav__list a[aria-current="page"] { font-weight: 600; box-shadow: inset 3px 0 0 var(--brass); padding-left: 0.9rem; }
.site-nav .btn { width: 100%; margin-top: 1.5rem; }

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

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; display: flex; align-items: center; gap: 2.25rem;
    padding: 0; border: 0; background: none;
  }
  .site-nav.is-open { animation: none; }
  .site-nav__list { display: flex; gap: 2rem; }
  .site-nav__list a {
    padding: 0.5rem 0; border: 0; font-size: 0.75rem;
    background: linear-gradient(var(--brass), var(--brass)) left bottom / 0 2px no-repeat;
    transition: background-size 0.25s ease;
  }
  .site-nav__list a:hover,
  .site-nav__list a[aria-current="page"] { background-size: 100% 2px; box-shadow: none; padding-left: 0; }
  .site-nav .btn { width: auto; margin-top: 0; }
  .brand img { width: 176px; }
  .site-header.is-scrolled .brand img { width: 146px; }
}

/* 7. Hero and agenda card -------------------------------------------------- */
.hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem); }
.hero__grid { display: grid; gap: 3rem; align-items: start; }
.hero h1 { max-width: 13ch; }
.hero .lede { margin-top: 1.75rem; }

.page-hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 6vw, 4.5rem); }
.page-hero h1 { max-width: 16ch; font-size: clamp(2.4rem, 5.4vw, 3.875rem); }
.page-hero .lede { margin-top: 1.5rem; }
.lede--wide { max-width: none; } /* lets a one-sentence lede sit on one line where the screen allows */

/* The agenda: the site's signature element. It is the real running order
   of the free consultation, set like a printed meeting agenda. */
.agenda {
  position: relative;
  background: var(--white);
  padding: 2rem 1.5rem 1.75rem;
  border-top: 4px solid var(--brass);
  box-shadow: 0 24px 48px -28px rgba(27, 42, 74, 0.35);
}
.agenda__title { font-family: var(--font-head); font-size: 1.5rem; line-height: 1.2; margin: 0; }
.agenda__meta {
  display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem;
  margin: 0.9rem 0 0.5rem;
  font-family: var(--font-label); font-weight: 500;
  font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.agenda__list { counter-reset: agenda; }
.agenda__list li {
  counter-increment: agenda;
  position: relative;
  display: grid; grid-template-columns: 2rem 1fr; gap: 0.5rem;
  padding: 1rem 0;
  font-size: 1.0625rem; line-height: 1.4;
}
.agenda__list li::before {
  content: counter(agenda);
  font-family: var(--font-head); font-weight: 700; font-size: 1.125rem;
}
.agenda__list li::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 1px; background: var(--rule);
  transform-origin: left center;
}
.agenda__close {
  margin: 0; padding-top: 1.1rem;
  border-top: 2px solid var(--navy);
  font-weight: 600; font-size: 1rem; line-height: 1.45;
}

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 7fr 5fr; gap: 4rem; }
  .agenda { padding: 2.5rem 2.25rem 2.25rem; margin-top: 0.75rem; }
}

/* 8. Sections and headings ------------------------------------------------- */
/* Section heading with a brass rule that draws in when it scrolls into view */
.heading { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.heading h2 { max-width: 20ch; }
.heading::after {
  content: ""; display: block;
  width: 72px; height: 3px; margin-top: 1.5rem;
  background: var(--brass);
  transform-origin: left center;
}
.heading p { margin-top: 1.25rem; }

@media (min-width: 900px) {
  .split { grid-template-columns: 4fr 7fr; gap: 4.5rem; align-items: start; }
  .split .heading { margin-bottom: 0; position: sticky; top: 110px; }
}

/* 9. Components ------------------------------------------------------------ */

/* Ledger: a situation on the left, what can help on the right */
.ledger { border-top: 2px solid var(--navy); }
.ledger__row {
  display: grid; gap: 0.5rem 2.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
}
.ledger__who { font-family: var(--font-label); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0; }
.ledger__problem { font-family: var(--font-head); font-size: 1.3rem; line-height: 1.3; margin: 0.4rem 0 0; }
.ledger__help { margin: 0; align-self: end; }
@media (min-width: 760px) {
  .ledger__row { grid-template-columns: 1fr 1fr; padding: 2.25rem 0; }
}

/* Steps: a true sequence, so it is numbered */
.steps { counter-reset: step; display: grid; gap: 2.5rem; }
.step { counter-increment: step; position: relative; padding-top: 1.5rem; border-top: 2px solid var(--navy); }
.step::before {
  content: "Step " counter(step);
  display: block; margin-bottom: 0.9rem;
  font-family: var(--font-label); font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.step h3 { margin-bottom: 0.75rem; }
@media (min-width: 760px) { .steps--two { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

/* Pull quote on navy */
.pull {
  font-family: var(--font-head); font-weight: 700; font-style: italic;
  font-size: clamp(1.75rem, 4.4vw, 3.25rem); line-height: 1.18;
  max-width: 24ch; margin: 0;
  padding-left: 1.25rem; border-left: 3px solid var(--brass);
}
@media (min-width: 900px) { .pull { padding-left: 2.25rem; } }

.pair { display: grid; gap: 2.25rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.pair > div { padding-top: 1.5rem; border-top: 1px solid var(--rule-on-navy); }
.section--white .pair > div, .section--parchment .pair > div { border-top-color: var(--rule); }
.pair h3 { margin-bottom: 0.75rem; }
@media (min-width: 760px) { .pair { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

/* Can / cannot */
.cancan { display: grid; gap: 2.5rem; }
.cancan h3 { padding-bottom: 1rem; border-bottom: 2px solid var(--navy); }
.cancan li { padding: 0.95rem 0 0.95rem 1.75rem; border-bottom: 1px solid var(--rule); position: relative; }
.cancan li::before {
  content: ""; position: absolute; left: 0; top: 1.5rem;
  width: 12px; height: 2px; background: var(--brass);
}
.cancan .cancan__can li::before { height: 12px; top: 1.3rem; background:
  linear-gradient(var(--brass), var(--brass)) center / 100% 2px no-repeat,
  linear-gradient(var(--brass), var(--brass)) center / 2px 100% no-repeat; }
@media (min-width: 760px) { .cancan { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

/* Figures from the brief */
.figures { display: grid; gap: 2rem; }
.figure { padding-top: 1.25rem; border-top: 2px solid var(--navy); }
.figure .figure__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.75rem, 6vw, 4rem); line-height: 1; margin: 0 0 0.6rem; }
.figure p { font-size: 1rem; max-width: 30ch; }
.source-note { margin-top: 2.75rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); font-size: 0.9rem; color: var(--text-soft); max-width: 80ch; }
.source-note p { margin-bottom: 0.6em; max-width: 80ch; }
.figure .figure__source { margin-top: 0.9rem; font-size: 0.85rem; line-height: 1.45; color: var(--text-soft); }
.figure__source a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }
@media (min-width: 760px) { .figures { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

/* Service block */
.service { padding: 2.5rem 0; border-top: 2px solid var(--navy); }
.service + .service { margin-top: 1rem; }
.service__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-bottom: 1rem; }
.tag {
  display: inline-block; padding: 0.35rem 0.7rem;
  border: 1.5px solid var(--brass);
  font-family: var(--font-label); font-weight: 600; font-size: 0.6875rem;
  letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.2;
}
.facts { margin-top: 2rem; border-top: 1px solid var(--rule); }
.facts > div { display: grid; gap: 0.25rem 2rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-family: var(--font-label); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; padding-top: 0.2rem; }
.facts dd { margin: 0; }
@media (min-width: 620px) { .facts > div { grid-template-columns: 11rem 1fr; } }

/* Pricing options */
.options { display: grid; gap: 1.5rem; }
.option { background: var(--parchment); padding: 2rem 1.5rem; border-top: 4px solid var(--brass); }
.section--parchment .option { background: var(--white); }
.option h3 { margin-bottom: 0.75rem; }
.option__best { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-weight: 600; }
@media (min-width: 760px) { .options { grid-template-columns: 1fr 1fr; gap: 2rem; } .option { padding: 2.5rem 2.25rem; } }

/* Quiet notice (coming soon, service area) */
.notice { display: grid; gap: 1rem 3rem; align-items: center; padding: 2rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.notice h3 { margin-top: 0.75rem; }
@media (min-width: 760px) { .notice { grid-template-columns: 5fr 6fr; } }

/* About */
.about-grid { display: grid; gap: 2.5rem; align-items: start; }
.portrait { position: relative; max-width: 420px; }
.portrait img { width: 100%; position: relative; z-index: 1; }
.portrait::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 2px solid var(--brass);
}
.portrait__caption { margin-top: 2rem; }
.portrait__caption strong { display: block; font-family: var(--font-head); font-size: 1.35rem; }
.contact-lines { margin-top: 1rem; }
.contact-lines li { padding: 0.3rem 0; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.125rem); margin: 2.75rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { max-width: 62ch; }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 4fr 7fr; gap: 5rem; }
  .about-grid .portrait-col { position: sticky; top: 110px; }
}

.timeline { display: grid; gap: 2.25rem; }
.timeline > div { padding-top: 1.25rem; border-top: 2px solid var(--navy); }
.timeline .timeline__years { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.25rem, 5vw, 3.25rem); line-height: 1; margin: 0 0 0.75rem; }
.timeline h3 { margin-bottom: 0.75rem; }
@media (min-width: 760px) { .timeline { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

/* Contact */
.email-card { background: var(--white); border-top: 4px solid var(--brass); padding: 2rem 1.5rem; box-shadow: 0 24px 48px -28px rgba(27, 42, 74, 0.35); container-type: inline-size; }
/* The address scales with the card so it always stays on one line. */
.email-card__address { font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; font-size: min(1.875rem, 6.2cqw); margin: 0.25rem 0 1.25rem; white-space: nowrap; }
.email-card__address a { text-decoration: none; }
.email-card .btn { width: 100%; }
@media (min-width: 900px) { .email-card { padding: 2.5rem 2.25rem; } }

/* Consultation form */
.form-card { background: var(--white); border-top: 4px solid var(--brass); padding: 2rem 1.5rem; box-shadow: 0 24px 48px -28px rgba(27, 42, 74, 0.35); scroll-margin-top: calc(var(--header-h) + 1rem); }
@media (min-width: 900px) { .form-card { padding: 2.5rem 2.25rem; } }
.form-card__title { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; line-height: 1.25; margin: 0 0 0.5rem; }
.form-card__key { font-size: 0.95rem; color: var(--text-soft); margin: 0 0 1.5rem; }
.form-card__alt { margin-top: 1.25rem; }

.field { margin-bottom: 1.25rem; }
.field label { display: block; font-weight: 600; font-size: 1rem; margin-bottom: 0.4rem; }
.field .req { color: var(--navy); }
.field .opt { font-weight: 400; color: var(--text-soft); }
.field input, .field textarea {
  display: block; width: 100%;
  font: inherit; font-size: 1.0625rem; line-height: 1.5; color: var(--navy);
  background: var(--parchment);
  border: 1.5px solid var(--rule); border-bottom: 2px solid var(--navy);
  border-radius: 2px;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field textarea:focus { background: var(--white); border-color: var(--navy); }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--brass); outline-offset: 1px; }
.field__hint, .field__count { font-size: 0.9rem; color: var(--text-soft); margin: 0.35rem 0 0; }
.field__meta { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.field__count { white-space: nowrap; }
.field__error { font-size: 0.95rem; font-weight: 600; color: #9E2A2B; margin: 0.35rem 0 0; }
.field__error:empty { display: none; }
.field__error::before { content: "! "; }
.field [aria-invalid="true"] { border-color: #9E2A2B; border-bottom-color: #9E2A2B; }
.field--trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.consult-form { position: relative; }
.consult-form__submit { width: 100%; margin-top: 0.5rem; }
.consult-form__submit[disabled] { opacity: 0.7; cursor: progress; }
.form-status { margin: 1rem 0 0; padding: 0.85rem 1rem; border-left: 4px solid #9E2A2B; background: #FBF1F1; font-size: 1rem; }

.form-thanks { border-left: 4px solid var(--brass); padding: 0.25rem 0 0.25rem 1.25rem; }
.form-thanks p { font-size: 1.2rem; line-height: 1.6; margin: 0; }
.form-thanks:focus { outline: none; }

.checklist li { padding: 0.9rem 0 0.9rem 1.75rem; border-bottom: 1px solid var(--rule); position: relative; }
.checklist li:first-child { border-top: 2px solid var(--navy); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: 12px; height: 2px; background: var(--brass); }

/* 10. Closing band and footer ---------------------------------------------- */
.closing { background: var(--navy); color: var(--white); padding-block: clamp(4rem, 9vw, 7rem); }
.closing__grid { display: grid; gap: 2.5rem; align-items: end; }
.closing h2 { font-size: clamp(2.1rem, 5.2vw, 3.75rem); max-width: 16ch; }
.closing p { max-width: 48ch; color: rgba(255, 255, 255, 0.9); }
.closing .heading { margin-bottom: 0; }
.closing .cta-row { margin-top: 1.5rem; }
@media (min-width: 900px) { .closing__grid { grid-template-columns: 7fr 5fr; gap: 4rem; } }

.site-footer { background: var(--parchment); padding-block: 3rem 2.5rem; font-size: 0.95rem; }
.site-footer__top { display: grid; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--rule); }
.site-footer__brand img { width: 170px; }
.site-footer__brand p { margin-top: 1.25rem; max-width: 34ch; }
.footer-nav h2 { font-family: var(--font-label); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.75rem; }
.footer-nav li { padding: 0.25rem 0; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.site-footer__legal { padding-top: 1.5rem; color: var(--text-soft); font-size: 0.875rem; }
.site-footer__legal p { max-width: 90ch; margin-bottom: 0.5rem; }
@media (min-width: 760px) { .site-footer__top { grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 3rem; } }

/* 11. Legal pages ---------------------------------------------------------- */
.draft-banner {
  border: 1.5px solid var(--brass); background: var(--white);
  padding: 1rem 1.25rem; margin-bottom: 2.5rem; max-width: 70ch;
}
.draft-banner strong { font-family: var(--font-label); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; display: block; margin-bottom: 0.25rem; }
.legal { max-width: 70ch; }
.legal h2 { font-size: 1.5rem; margin: 2.5rem 0 0.75rem; }
.legal ul { margin: 0 0 1.1em; }
.legal ul li { padding: 0.25rem 0 0.25rem 1.5rem; position: relative; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: 0.95rem; width: 10px; height: 2px; background: var(--brass); }
.placeholder { background: rgba(176, 141, 87, 0.22); padding: 0 0.25em; font-weight: 600; }

/* 12. Motion --------------------------------------------------------------- */
/* Two deliberate moments only: the agenda writing itself in on page load,
   and the brass rule under each section heading drawing in on scroll. */
.js .heading::after { transform: scaleX(0); transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s; }
.js .heading.is-inview::after { transform: scaleX(1); }

.js .agenda__list li { opacity: 0; transform: translateY(6px); animation: agenda-line 0.5s ease forwards; }
.js .agenda__list li::after { transform: scaleX(0); animation: agenda-rule 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.js .agenda__list li:nth-child(1), .js .agenda__list li:nth-child(1)::after { animation-delay: 0.35s; }
.js .agenda__list li:nth-child(2), .js .agenda__list li:nth-child(2)::after { animation-delay: 0.6s; }
.js .agenda__list li:nth-child(3), .js .agenda__list li:nth-child(3)::after { animation-delay: 0.85s; }
.js .agenda__list li:nth-child(4), .js .agenda__list li:nth-child(4)::after { animation-delay: 1.1s; }
.js .agenda__close { opacity: 0; animation: agenda-line 0.6s ease 1.45s forwards; }

@keyframes agenda-line { to { opacity: 1; transform: none; } }
@keyframes agenda-rule { to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .heading::after, .js .agenda__list li::after { transform: none; }
  .js .agenda__list li, .js .agenda__close { opacity: 1; transform: none; }
}

@media print {
  .site-header, .nav-toggle, .closing .btn { display: none; }
  body { background: #fff; }
}
