/* ==========================================================================
   Your Next Chapter A2, LLC
   Design system + page styles. No build step: this file is the whole system.
   ========================================================================== */

/* --- Fonts (self-hosted; no third-party requests at runtime) -------------
   Literata for headings: a warm, readable book serif with an optical-size
   axis, so large headings automatically get the display cut. Source Sans 3
   for body text, carried over from the original site.
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/literata-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;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/literata-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;
}
@font-face {
  font-family: 'Literata';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/literata-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;
}
@font-face {
  font-family: 'Literata';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/literata-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;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('/fonts/source-sans-3-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;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('/fonts/source-sans-3-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;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url('/fonts/source-sans-3-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;
}

/* --- Tokens --------------------------------------------------------------
   The five brand colours are lifted straight from the original logo artwork
   and WordPress theme. Everything else is derived from them.
   -------------------------------------------------------------------------- */

:root {
  /* Brand — unchanged from the original site */
  --navy: #2b50a1;      /* logo book + wordmark */
  --blue: #1e6cb6;      /* logo roofline */
  --deep: #0054a5;      /* original theme blue */
  --teal: #15b6b8;      /* original accent */
  --teal-ink: #0d7f81;  /* same hue, darkened only where it carries text */

  /* Neutrals — warm, so the page reads like paper rather than a screen */
  --ink: #33322f;
  --ink-soft: #444340;  /* original body text colour */
  --ink-muted: #6d6a64;
  --rule: #e6e1d8;
  --paper: #faf8f4;
  --paper-tint: #f2f0ea;
  --surface: #ffffff;

  /* Height of the sticky header. Anchor scroll offsets are derived from this,
     so change it here and section jumps stay correctly positioned. */
  --header-h: 112px;

  /* Scale */
  --measure: 68ch;
  --page: 72rem;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(43, 80, 161, .05), 0 2px 8px rgba(43, 80, 161, .05);
  --shadow-md: 0 2px 4px rgba(43, 80, 161, .05), 0 12px 28px rgba(43, 80, 161, .09);

  --serif: 'Literata', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', 'Source Sans Pro', -apple-system, BlinkMacSystemFont,
    'Segoe UI', Helvetica, Arial, sans-serif;
}

/* --- Base ---------------------------------------------------------------- */

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

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

/* Single-page navigation ---------------------------------------------------
   Smooth scrolling is opt-in: anyone who has asked their OS for less motion
   gets an instant jump instead. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Stop the sticky header covering a section we've just jumped to. Derived
   from --header-h so the two can't drift apart. */
:where(#top, #about, #services, #gift-cards, #contact) {
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 1.1875rem;   /* 19px — readable without being loud */
  line-height: 1.7;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .5em;
  text-wrap: balance;
}

/* Literata is a wide, sturdy serif — it wants a little less size and a lot
   more air above it than a condensed face would. */
h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.05rem); letter-spacing: -0.015em; }
h2 {
  font-size: clamp(1.5rem, 1.18rem + 1.35vw, 2.05rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-top: 2.2em;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.9em;
}
h4 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 1.6em 0 .4em;
}
/* First heading in any block shouldn't push itself away from the container... */
:where(.section__head, .panel, .card, .rate, .hero__inner, .cta, .placeholder, .prose)
  > :where(h1, h2, h3):first-child { margin-top: 0; }
/* ...nor should a heading that an eyebrow label already introduces. */
.eyebrow + :where(h1, h2, h3) { margin-top: 0; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--teal-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .15s ease;
}
a:hover { color: var(--navy); }

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

strong { font-weight: 600; color: var(--ink); }

:where(a, button, summary, input, textarea):focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface);
  color: var(--navy);
  padding: .75rem 1.25rem;
  z-index: 100;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* --- Layout -------------------------------------------------------------- */

.wrap {
  width: min(100% - 2.5rem, var(--page));
  margin-inline: auto;
}

.prose { max-width: var(--measure); }

.prose ul {
  margin: 0 0 1.15em;
  padding: 0;
  list-style: none;
}
.prose ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .7rem;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: .3rem;
  top: .78em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

/* --- Site header --------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, .88);
  backdrop-filter: saturate(1.6) blur(10px);
  -webkit-backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
  padding-block: .75rem;
}

/* The original logo is a stacked lockup: mark above wordmark. Stacked, it can
   only ever be ~80px wide in a header bar, which leaves the wordmark unreadable.
   Same artwork, set horizontally, so the name stays legible at header size. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-right: auto;
  text-decoration: none;
  flex-shrink: 0;
}
.brand__mark {
  display: block;
  width: auto;
  height: 48px;
}
.brand__word {
  display: block;
  width: auto;
  height: 20px;
}

.nav { display: flex; align-items: center; gap: .35rem; }

.nav a {
  display: inline-block;
  padding: .55rem .8rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: .98rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.nav a:hover { background: var(--paper-tint); color: var(--navy); }
/* :not(.btn) so the current-page tint doesn't strip the CTA's white fill. */
.nav a:is([aria-current='page'], [aria-current='true']):not(.btn) {
  color: var(--navy);
  background: rgba(30, 108, 182, .1);
}
.nav .btn:is([aria-current='page'], [aria-current='true']) { border-color: var(--navy); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: .5rem .9rem;
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle svg { display: block; }

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background .12s linear, color .12s linear, border-color .12s linear;
}
.btn--primary {
  background: var(--navy);
  color: #fff;
}
.btn--primary:hover {
  background: var(--deep);
  color: #fff;
}
.btn--ghost {
  border-color: rgba(43, 80, 161, .28);
  color: var(--navy);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--navy);
  background: rgba(43, 80, 161, .05);
  color: var(--navy);
}
.btn--light {
  background: #fff;
  color: var(--navy);
}
.btn--light:hover { background: var(--paper); color: var(--deep); }
/* In the header the button sits on near-white, so it needs an edge to read
   as a button at all. */
.nav .btn--light {
  color: var(--navy);   /* beats `.nav a`, which would otherwise win on specificity */
  border-color: rgba(43, 80, 161, .35);
}
.nav .btn--light:hover {
  background: #fff;
  color: var(--deep);
  border-color: var(--navy);
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: transparent;
  border-bottom: 1px solid var(--rule);
}
/* The element is also a .wrap, so setting max-width here would shrink the wrap
   itself and centre the whole column — leaving the hero indented relative to
   every other section. Constrain the children instead. */
.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem);
}
.hero__inner > * { max-width: 46rem; }
/* Interior pages carry only a title, so they don't need the home page's depth. */
.hero--compact .hero__inner { padding-block: clamp(2.25rem, 1.6rem + 2.2vw, 3.5rem); }
.hero__eyebrow {
  display: block;
  margin-bottom: 1.1rem;
  font-size: .98rem;
  color: var(--ink-muted);
}
.hero h1 { margin-bottom: .35em; }
.hero__lead {
  font-size: clamp(1.15rem, 1.03rem + .5vw, 1.4rem);
  color: var(--ink-soft);
  max-width: 34rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}

/* --- Sections ------------------------------------------------------------ */

.section { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section--tint { background: var(--paper-tint); }
.section--paper { background: var(--surface); }
.section__head { max-width: var(--measure); margin-bottom: 2.5rem; }
.section__head p:last-child { margin-bottom: 0; }


.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.card p { color: var(--ink-soft); }

/* --- Pull quote / reassurance banner ------------------------------------ */

.statement {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.15rem + .7vw, 1.6rem);
  line-height: 1.35;
  color: var(--navy);
  margin-top: 1.8rem;
}

/* --- Two-column feature (about / services list) -------------------------- */

.split {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
/* Heading and text stay together in one reading column; the credential badge
   sits alongside rather than being stranded under the heading. */
/* A fixed aside column, not a fraction: the photo is sized by aspect-ratio and
   has no intrinsic width, so a shrink-to-fit column would collapse it. Kept
   deliberately narrow so the portrait doesn't tower over the bio beside it. */
@media (min-width: 62rem) {
  .split--about { grid-template-columns: minmax(0, 1fr) 15rem; }
}


/* --- Rate rows (services page) ------------------------------------------ */

.rates {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  margin-bottom: 2.5rem;
}
.rate {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.rate :is(h3, h4) { margin-bottom: .35rem; margin-top: 0; font-size: 1.15rem; }
.rate__price {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: .5rem;
}
.rate__price small {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 400;
  color: var(--ink-muted);
}
.rate p { font-size: 1.02rem; color: var(--ink-muted); }

/* --- Notes / policy panel ------------------------------------------------ */

/* Narrow blocks sit centred in the wide page column — flush-left they leave a
   lopsided gap on the right. */
.panel {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  box-shadow: var(--shadow-sm);
  margin-inline: auto;
}
.panel--accent { border-left: 5px solid var(--teal); }

.note {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-inline: auto;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(21, 182, 184, .07);
  border: 1px solid rgba(21, 182, 184, .25);
  font-size: 1.02rem;
  color: var(--ink-soft);
}

/* Sections whose whole content is one narrow column centre that column. */
.section--narrow :where(.section__head, .prose) { margin-inline: auto; }
.note svg { flex: 0 0 auto; margin-top: .2rem; color: var(--teal-ink); }
.note p { margin: 0; }

/* --- Headshot ------------------------------------------------------------ */

.profile {
  margin: 0;
  max-width: 20rem;   /* only binds once the aside stacks on narrow screens */
}
.profile__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-tint);
}
.profile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Shown only until the real photo is dropped in. */
.profile__photo--empty {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  border: 2px dashed rgba(43, 80, 161, .25);
  border-radius: inherit;
  color: var(--ink-muted);
  font-size: .92rem;
}
.profile__caption { margin-top: 1rem; }
.profile__name {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}
.profile__role {
  display: block;
  font-size: .96rem;
  color: var(--ink-muted);
}

/* --- Credential mark ------------------------------------------------------
   The NAPO artwork is transparent, so it needs no card behind it. It reads as
   part of Candace's identity block — photo, name, credential — rather than as
   a separate panel with its own shape. */

/* Its own quiet band rather than a block stacked under the headshot, where the
   landscape shape fought the portrait and ran well past the end of the bio. */
.section--credit { padding-block: clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem); }
.credential { margin: 0; }
.credential img {
  display: block;
  width: 160px;
  height: auto;
  margin-inline: auto;
}

/* --- Call to action band ------------------------------------------------- */

.cta {
  background: var(--deep);
  color: #fff;
  text-align: center;
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
}
.cta h2 { color: #fff; }
.cta p {
  max-width: 34rem;
  margin-inline: auto;
  color: rgba(255, 255, 255, .85);
  font-size: 1.1rem;
}
.cta .hero__actions { justify-content: center; }

/* --- Placeholder (contact form goes here later) ------------------------- */

.placeholder {
  border: 2px dashed rgba(43, 80, 161, .28);
  border-radius: var(--radius-lg);
  background: var(--surface);
  margin-inline: auto;
  padding: clamp(2.5rem, 2rem + 4vw, 4.5rem) 1.5rem;
  text-align: center;
  color: var(--ink-muted);
}
.placeholder h2 { color: var(--navy); margin-bottom: .4rem; font-size: 1.35rem; }
.placeholder p { margin: 0 auto; max-width: 30rem; }

/* --- Intake form --------------------------------------------------------- */

.form {
  max-width: var(--measure);
  margin-top: 2rem;
}
.form__row {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  margin-bottom: .4rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.field__req { font-weight: 400; color: var(--ink-muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .7rem .85rem;
  font-family: var(--sans);
  font-size: 1.05rem;   /* >=16px so iOS doesn't zoom on focus */
  line-height: 1.5;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: border-color .12s linear;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(43, 80, 161, .4); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--navy); }
.field [aria-invalid='true'] { border-color: #a3341f; }

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.6rem;
}
.form__note {
  margin: 0;
  font-size: .95rem;
  color: var(--ink-muted);
}
.form button[disabled] { opacity: .6; cursor: default; }

/* Off-screen rather than display:none — bots skip hidden inputs. */
.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__status {
  padding: 1rem 1.15rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  font-size: 1.02rem;
}
.form__status--ok {
  background: rgba(21, 182, 184, .09);
  border: 1px solid rgba(21, 182, 184, .35);
  color: var(--ink-soft);
}
.form__status--error {
  background: rgba(163, 52, 31, .07);
  border: 1px solid rgba(163, 52, 31, .3);
  color: #7d2718;
}

.contact-methods {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin-top: 2rem;
}
.contact-methods .card { text-align: left; }
.contact-methods :is(h3, h4) { font-size: 1.1rem; margin-top: 0; margin-bottom: .3rem; }
.contact-methods p { font-size: 1.02rem; color: var(--ink-muted); }

/* --- Footer -------------------------------------------------------------- */

.site-footer {
  background: var(--deep);
  color: rgba(255, 255, 255, .8);
  padding-block: 3.5rem 2rem;
  font-size: 1.02rem;
}
.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  padding-bottom: 2.5rem;
}
.site-footer h2 {
  font-size: 1.05rem;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 1rem;
}
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, .45); }
.site-footer a:hover { color: #fff; text-decoration-color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.1rem;
}
/* The artwork is navy-on-transparent; knock it out to white on the blue field. */
.site-footer__brand img {
  display: block;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .95;
}
.site-footer__mark { height: 54px; }
.site-footer__word { height: 22px; }
.site-footer__tagline {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: #fff;
  max-width: 18rem;
}
.site-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .2);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: space-between;
  font-size: .93rem;
  color: rgba(255, 255, 255, .7);
}

/* --- Responsive ---------------------------------------------------------- */

@media (max-width: 56rem) {
  .nav-toggle { display: inline-flex; }
  .site-header__inner { flex-wrap: wrap; }
  .nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    padding: .5rem 0 1rem;
    border-top: 1px solid var(--rule);
  }
  .nav[data-open='true'] { display: flex; }
  .nav a { padding: .8rem 1rem; border-radius: var(--radius); }
  .nav .btn { margin-top: .5rem; }
  .brand__mark { height: 38px; }
  .brand__word { height: 16px; }
}

@media (max-width: 20rem) {
  /* Only on the very narrowest phones does the wordmark have to go. */
  .brand__word { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .site-header, .cta, .hero__actions, .nav-toggle { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .card, .service, .rate, .panel { box-shadow: none; break-inside: avoid; }
}
