/* ==================================================================
   DESIGN TOKENS
   Re-theme the entire site by editing this block. Nothing below it
   contains a hard-coded colour, font, or spacing value.
   ================================================================== */

:root {
  /* Colour — estimated from the supplied logo PNGs (eyedropped, not exact
     brand hex). Swap these for the real values once vector source arrives. */
  --ink:          #101F3D;   /* brand navy — body text, dark surfaces */
  --ink-soft:     #4C5878;   /* muted navy — secondary text */
  --paper:        #FCFBF9;   /* page background */
  --paper-alt:    #EFE7DA;   /* alternating section background — warmer/more contrast than paper */
  --line:         #DFD9D0;   /* hairlines and borders */
  --accent:       #D14A36;   /* brand coral — links, buttons, emphasis */
  --accent-hover: #AD3B29;
  --accent-light: #F0917E;   /* coral lightened — for use on dark/navy backgrounds */
  --accent-ink:   #FFFFFF;   /* text on accent */
  --ink-paper:    #FCFBF9;   /* paper colour, named for use on dark surfaces */

  /* Type */
  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body:    'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.35rem + 0.75vw, 1.95rem);
  --step-3:  clamp(1.85rem, 1.6rem + 1.3vw, 2.6rem);
  --step-4:  clamp(2.25rem, 1.8rem + 2.2vw, 3.5rem);

  /* Layout */
  --wrap:        72rem;
  --wrap-narrow: 44rem;
  --gap:         1.5rem;
  --section-y:   clamp(3.5rem, 8vw, 6.5rem);
  --radius:      10px;
  --shadow:      0 1px 2px rgba(22, 33, 43, .06), 0 8px 24px rgba(22, 33, 43, .06);
}

/* ==================================================================
   BASE
   ================================================================== */

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

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }

p, ul, ol { margin: 0 0 1.15em; }
p { max-width: 68ch; text-wrap: pretty; }

a { color: var(--accent); text-underline-offset: .18em; }
a:hover { color: var(--accent-hover); }

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--paper);
  padding: .75rem 1.25rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

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

.eyebrow {
  font-size: var(--step--1);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: .75rem;
}
.eyebrow-on-dark { color: var(--accent-light); }

.lede { font-size: var(--step-1); color: var(--ink-soft); }

/* ==================================================================
   BUTTONS
   ================================================================== */

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  padding: .8rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--accent);
  transition: background .18s ease, transform .18s ease;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); transform: translateY(-1px); }

.btn-outline { background: transparent; color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--accent-ink); }

.text-link { font-weight: 700; text-decoration: none; }
.text-link::after { content: " \2192"; }
.text-link:hover { text-decoration: underline; }

/* ==================================================================
   HEADER + NAV
   ================================================================== */

.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 50;
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--gap); min-height: 4.5rem; flex-wrap: wrap;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand-mark-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; flex: none; border-radius: 50%;
  background: var(--ink);
}
.brand-mark-badge-lg { width: 3.5rem; height: 3.5rem; }
.brand-mark-badge-lg .brand-mark { width: 2.5rem; height: 2.5rem; }
.brand-mark { width: 2rem; height: 2rem; flex: none; object-fit: contain; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); letter-spacing: -.02em; }
.brand-wired { color: var(--ink); }
.brand-human { color: var(--accent); }
.footer-logo { width: 11rem; height: auto; margin-bottom: .9rem; }

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

.site-nav ul { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-nav a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent); color: var(--accent-ink) !important;
  padding: .5rem 1.1rem; border-radius: var(--radius); font-weight: 700;
}
.nav-cta:hover { background: var(--accent-hover); }

.nav-button { display: none; }

@media (max-width: 800px) {
  .nav-button {
    display: flex; flex-direction: column; gap: 5px;
    padding: .6rem; cursor: pointer; border: 1px solid var(--line); border-radius: 8px;
  }
  .nav-button span { display: block; width: 22px; height: 2px; background: var(--ink); }
  .site-nav { display: none; width: 100%; }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 1rem; }
  .site-nav li { border-top: 1px solid var(--line); }
  .site-nav a { display: block; padding: .85rem 0; }
  .nav-cta { text-align: center; margin-top: .75rem; }
}

/* ==================================================================
   SECTIONS
   ================================================================== */

.section { padding-block: var(--section-y); }
.section-alt { background: var(--paper-alt); }
.section-head { max-width: var(--wrap-narrow); margin-bottom: 3rem; }

.hero { padding-block: clamp(4rem, 10vw, 8rem) var(--section-y); }
.hero h1 { max-width: 18ch; }
.hero .lede { max-width: 52ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-brand {
  background: var(--ink); color: var(--ink-paper);
  position: relative; overflow: hidden;
}
.hero-brand h1, .hero-brand .lede { color: var(--ink-paper); }
.hero-brand .lede { color: color-mix(in srgb, var(--ink-paper) 78%, var(--ink)); }
.hero-brand .btn-outline { color: var(--ink-paper); border-color: var(--ink-paper); }
.hero-brand .btn-outline:hover { background: var(--ink-paper); color: var(--ink); }
.hero-inner { position: relative; }
.hero-mark {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: clamp(24rem, 40vw, 36rem); height: auto; opacity: .14;
  pointer-events: none;
}
@media (max-width: 1000px) { .hero-mark { display: none; } }

.section-punch {
  background: var(--ink); color: var(--ink-paper);
}
.section-punch h2, .section-punch h3 { color: var(--ink-paper); }
.section-punch p { color: color-mix(in srgb, var(--ink-paper) 82%, var(--ink)); }
.section-punch p.eyebrow-on-dark { color: var(--accent-light); }
.section-punch .text-link { color: var(--accent-light); }
.section-punch .text-link:hover { color: var(--ink-paper); }

.grid { display: grid; gap: var(--gap); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }

/* Explicit repeat(4, ...), not auto-fit like grid-3/grid-2 above — this is
   for the one spot on the site (pricing workshop cards) that needs exactly
   4 across, guaranteed, rather than however many happen to fit. */
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 4px 8px rgba(22,33,43,.08), 0 16px 32px rgba(22,33,43,.1); }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card-accent { border-top: 3px solid var(--accent); }

.quote-card {
  background: color-mix(in srgb, var(--accent) 7%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line));
}
.quote-card blockquote {
  font-family: var(--font-display); font-size: var(--step-1);
  margin: 0 0 1rem; padding-left: 1.1rem; border-left: 3px solid var(--accent);
}

.stat-row { margin-top: 2.5rem; }
.review-prompt { margin: 2rem auto 0; max-width: none; text-align: center; color: var(--ink-soft); }
.stat strong { display: block; font-family: var(--font-display); font-size: var(--step-2); line-height: 1.1; margin-bottom: .5rem; }
.stat span { color: var(--ink-soft); font-size: var(--step--1); }

/* ==================================================================
   PEOPLE / PHOTOS
   ================================================================== */

.about-intro { align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.about-photo img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top;
  border-radius: var(--radius); box-shadow: var(--shadow);
}

.about-family { margin: 2.5rem 0; }
.about-intro .about-family { margin: 0; }
.about-family img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-family figcaption { margin-top: .6rem; font-size: var(--step--1); color: var(--ink-soft); text-align: center; }

.partners-panel {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 3rem);
}
.partners-panel-head { max-width: var(--wrap-narrow); margin-bottom: 2rem; }
.partners-panel-head p:last-child { margin-bottom: 0; }
.partners-panel .card h3 { margin-bottom: .5rem; }

.about-block { margin-top: var(--section-y); }

.credentials-img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 1rem; }

.photo-band {
  position: relative;
  background-size: cover;
  background-position: center 35%;
  min-height: clamp(18rem, 25vw, 30rem);
  display: flex;
  align-items: flex-end;
  filter: saturate(.85);
}
.photo-band::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16, 31, 61, .25) 0%, rgba(16, 31, 61, .8) 100%);
  backdrop-filter: blur(1.5px);
}
.photo-band-caption { position: relative; padding-block: 1.75rem; }
.photo-band-caption p { color: var(--ink-paper); font-weight: 500; margin: 0; }

@media (max-width: 700px) {
  .about-intro { grid-template-columns: 1fr; }
  .about-photo { max-width: 20rem; margin-inline: auto; }
}

/* ==================================================================
   TRUST STRIP + RESULTS
   ================================================================== */

.trust-strip { padding-block: 2.5rem; border-bottom: 1px solid var(--line); }
.trust-strip-label {
  text-align: center; font-size: var(--step-0); color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
  margin-bottom: 1.25rem;
}
.trust-strip-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.75rem 2.5rem;
}
.trust-strip-list li { display: flex; align-items: center; }
.trust-strip-list img { height: 5rem; width: auto; max-width: 12rem; object-fit: contain; }

.field-gallery { margin-top: 2.5rem; }
.field-gallery-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
}
/* Seven photos = six square tiles plus one double-wide tile, which makes
   two even rows of four on desktop. */
@media (min-width: 48rem) { .field-gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.field-gallery-item {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.field-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* A group photo needs a wider frame than a square crop allows. It spans two
   columns and matches the other tiles' height. */
.field-gallery-item-wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.field-gallery-item-wide img { position: absolute; inset: 0; object-position: center 45%; }
@media (min-width: 48rem) { .field-gallery-item-wide { aspect-ratio: auto; } }
.field-gallery-caption {
  position: absolute; inset-inline: 0; bottom: 0; padding: .6rem .8rem;
  background: linear-gradient(to top, rgba(13,20,33,.75), transparent);
  color: #fff; font-size: var(--step--1); font-weight: 600; letter-spacing: .02em;
}

.result-quotes { margin-top: 3rem; }

.cta-band {
  background: var(--ink); color: var(--paper);
  padding-block: var(--section-y); text-align: center;
}
.cta-band h2 { color: var(--paper); }
.cta-band p { color: color-mix(in srgb, var(--paper) 75%, var(--ink)); margin-inline: auto; }
.cta-band .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); margin-top: 1rem; }
.cta-band .btn:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ==================================================================
   FAQ
   ================================================================== */

.faq { padding-block: var(--section-y); }
.faq-item { border-top: 1px solid var(--line); padding: 1.5rem 0; }
.faq-item h3 { margin-bottom: .35rem; font-size: var(--step-1); }
.faq-item p { margin: 0; color: var(--ink-soft); }

/* ==================================================================
   FORMS
   ================================================================== */

.form { display: grid; gap: 1.1rem; max-width: 34rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 500; font-size: var(--step--1); }
.field input, .field textarea, .field select {
  font: inherit; font-size: var(--step-0);
  padding: .75rem .9rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); color: var(--ink);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }

.form-status { max-width: 34rem; margin-top: 1rem; font-size: var(--step--1); }
.form-status:empty { display: none; }
.form-status-success { color: #1E6E4C; }
.form-status-error { color: var(--accent-hover); }

/* ==================================================================
   PROGRAMS
   ================================================================== */

.program-meta { color: var(--ink-soft); font-size: var(--step--1); font-weight: 500; }
.program-status { color: var(--accent-hover); font-weight: 500; font-size: var(--step--1); }
.program-register { margin-top: 1rem; }
.program-register .form { max-width: none; gap: .75rem; margin-top: .75rem; }
.program-register .field input { padding: .55rem .75rem; }

/* ==================================================================
   RESOURCES
   ================================================================== */

.resource-type {
  display: inline-block; font-size: var(--step--1); font-weight: 700;
  color: var(--accent); text-transform: uppercase; letter-spacing: .05em;
  margin-bottom: .5rem;
}
.resource-card { display: flex; flex-direction: column; }
.resource-card-body { margin-top: auto; padding-top: 1rem; }

/* A real screenshot of the document's page 1 (see generate-resource.js /
   publish-resource.js) — Letter proportions (8.5:11), so this gets its own
   treatment rather than reusing blog's landscape .post-card-image. Shown
   whole and shrunk down — a small picture of the actual document, not a
   cropped close-up — same idea as .resource-cover below, just sized for
   a card instead of a full page. */
.resource-card-image {
  display: block; margin: 0 auto 1.25rem; width: 65%;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.resource-card-image img {
  display: block; width: 100%; aspect-ratio: 8.5 / 11; object-fit: contain;
  transition: transform .25s ease;
}
.resource-card:hover .resource-card-image img { transform: scale(1.03); }

.resource-cover {
  max-width: 20rem; margin: 0 auto 2.5rem;
}
.resource-cover img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.resource-cta {
  background: var(--ink); color: var(--ink-paper);
  border-radius: var(--radius); padding: 2rem; margin-top: 2rem;
}
.resource-cta h2 { color: var(--ink-paper); font-size: var(--step-1); }
.resource-cta p { color: color-mix(in srgb, var(--ink-paper) 82%, var(--ink)); margin-bottom: 1.25rem; }
.resource-cta .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.resource-cta .btn:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.resource-gate { background: var(--paper-alt); border-radius: var(--radius); padding: 2rem; margin-top: 2rem; }
.resource-gate .form { max-width: none; }
.resource-gate .field input { padding: .6rem .8rem; }
.resource-gate-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .resource-gate-fields { grid-template-columns: 1fr; } }

/* ==================================================================
   PRICING
   ================================================================== */

.price-card { display: flex; flex-direction: column; position: relative; }
.price-card-badge {
  position: absolute; top: -.9rem; left: 1.75rem;
  background: var(--accent); color: var(--accent-ink);
  font-size: var(--step--1); font-weight: 700;
  padding: .3rem .9rem; border-radius: 999px;
}
.price-tag-label { font-size: var(--step--1); color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; }
.price-tag-context { font-size: var(--step--1); color: var(--ink-soft); }
.price-tag { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.1; margin: .15rem 0 .35rem; }
.price-descriptor { color: var(--ink-soft); font-weight: 500; margin-bottom: 1rem; }
.price-card ul { padding-left: 1.1rem; margin-bottom: 1.5rem; }
.price-card li { margin-bottom: .35rem; }
.price-card .btn, .price-card .btn-outline { margin-top: auto; align-self: flex-start; }

.partnership-card {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem;
  align-items: start;
}
@media (max-width: 760px) { .partnership-card { grid-template-columns: 1fr; } }
.partnership-card ul { padding-left: 1.1rem; }
.partnership-card li { margin-bottom: .4rem; }

.coaching-closing {
  text-align: center; max-width: 44ch; margin: 2.5rem auto 0;
  color: var(--ink-soft);
}
.coaching-closing .text-link { display: inline-block; margin-top: .4rem; }

.custom-program-callout {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.25rem;
  margin-top: var(--section-y);
  text-align: center;
}
.custom-program-callout h2 { max-width: 34ch; margin-inline: auto; }
.custom-program-callout p { max-width: 52ch; margin-inline: auto; }

.nonprofit-callout {
  background: color-mix(in srgb, var(--accent) 8%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line));
  border-radius: var(--radius);
  padding: 2.25rem;
  margin-top: var(--section-y);
  text-align: center;
}
.nonprofit-callout h2 { max-width: 34ch; margin-inline: auto; }
.nonprofit-callout p { max-width: 52ch; margin-inline: auto; }
.nonprofit-callout .fine-print { font-size: var(--step--1); color: var(--ink-soft); margin-top: 1.25rem; }

.calculator { margin-top: var(--section-y); }
.calculator-panel {
  background: var(--paper-alt); border-radius: var(--radius);
  padding: 2rem; display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem;
}
@media (max-width: 760px) { .calculator-panel { grid-template-columns: 1fr; padding: 1.5rem; } }
.calculator-fields { display: grid; gap: 1.1rem; }
.calculator-fields .field select { width: 100%; }
.field-checkbox { display: flex; align-items: flex-start; gap: .65rem; }
.field-checkbox input { width: 1.35rem; height: 1.35rem; flex: none; accent-color: var(--accent); margin-top: .1rem; }
.field-checkbox label { font-weight: 400; font-size: var(--step-0); }

.calculator-results {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem;
}
.calc-line { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: var(--step-0); }
.calc-line-total { border-bottom: none; border-top: 2px solid var(--ink); margin-top: .25rem; padding-top: 1rem; font-weight: 700; font-size: var(--step-1); }
.calc-preliminary-tag { display: inline-block; font-size: var(--step--1); font-weight: 700; color: var(--accent-hover); margin-bottom: .75rem; }
.calc-custom-quote { font-family: var(--font-display); font-size: var(--step-2); margin-bottom: .5rem; }
.calc-note { font-size: var(--step--1); color: var(--ink-soft); margin-top: 1rem; }
.calc-disclaimer { font-size: var(--step--1); color: var(--ink-soft); margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.calculator-cta { margin-top: 1.5rem; }

.accordion-item {
  border-top: 1px solid var(--line);
  padding-block: .25rem;
}
.accordion-item:last-child { border-bottom: 1px solid var(--line); }
.accordion-item summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0; font-weight: 600; font-size: var(--step-0);
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after {
  content: "+"; flex: none; font-size: var(--step-1); color: var(--accent);
  transition: transform .15s ease;
}
.accordion-item[open] summary::after { content: "\2212"; }
.accordion-item p { margin: 0 0 1.25rem; color: var(--ink-soft); }

/* ==================================================================
   ASSESSMENT
   Public survey-taking flow (assessment.html + js/site.js's guarded
   #assessmentRoot block). Everything here is rendered client-side —
   no page reload between the intake screen, each category page, and
   the thank-you screen, so these classes need to look right applied
   fresh via innerHTML on every step.
   ================================================================== */

.assessment-card {
  max-width: 36rem;
  margin-inline: auto;
  padding: clamp(1.75rem, 4vw, 3rem);
}

.assessment-card h1 { font-size: var(--step-3); margin-bottom: .5rem; }
.assessment-card .lede { margin-bottom: 2rem; }

.assessment-progress { margin-bottom: 2.25rem; }
.assessment-progress-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: var(--step--1); color: var(--ink-soft); margin-bottom: .6rem;
}
.assessment-progress-label strong { color: var(--ink); font-weight: 700; }
.assessment-progress-track {
  height: 6px; border-radius: 999px;
  background: var(--paper-alt);
  overflow: hidden;
}
.assessment-progress-fill {
  height: 100%; border-radius: 999px;
  background: var(--accent);
  transition: width .3s ease;
}

.assessment-category-head { margin-bottom: 1.75rem; }
.assessment-category-head h2 { font-size: var(--step-2); margin-bottom: .35rem; }
.assessment-category-head p { color: var(--ink-soft); margin-bottom: 0; }

.assessment-question {
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
}
.assessment-question:first-of-type { border-top: none; padding-top: 0; }
.assessment-question-label {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--step-1); line-height: 1.4;
  margin-bottom: 1rem;
}
.assessment-question-optional {
  font-family: var(--font-body); font-weight: 400; font-size: var(--step--1);
  color: var(--ink-soft);
}

.assessment-likert { display: flex; gap: .6rem; }
.assessment-likert-btn {
  flex: 1;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: var(--step-1);
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease, transform .15s ease;
}
.assessment-likert-btn:hover { border-color: var(--accent); transform: translateY(-2px); }
.assessment-likert-btn[aria-pressed="true"] {
  background: var(--accent); border-color: var(--accent); color: var(--accent-ink);
}

.assessment-options { display: grid; gap: .65rem; }
.assessment-option-btn {
  display: flex; align-items: center; gap: .8rem;
  text-align: left;
  width: 100%;
  padding: .9rem 1.1rem;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body); font-size: var(--step-0); color: var(--ink);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.assessment-option-btn:hover { border-color: var(--accent); }
.assessment-option-btn::before {
  content: ""; flex: none;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  border: 2px solid var(--line);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.assessment-option-btn[aria-pressed="true"] {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 7%, var(--paper));
  font-weight: 600;
}
.assessment-option-btn[aria-pressed="true"]::before {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 3px var(--paper);
}

.assessment-card textarea { width: 100%; }

.assessment-actions {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; margin-top: 2rem;
}
.assessment-actions .btn { margin-left: auto; }

.assessment-result h1 { font-size: var(--step-3); }
.assessment-result p { color: var(--ink-soft); }

/* ==================================================================
   BLOG
   ================================================================== */

.post-list { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.post-card-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card-body { padding: 1.5rem; }
.post-card h2 { font-size: var(--step-1); margin-bottom: .5rem; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--accent); }
.post-card p { font-size: var(--step--1); color: var(--ink-soft); }

.post { padding-block: 3rem var(--section-y); }
.breadcrumb { font-size: var(--step--1); color: var(--ink-soft); margin-bottom: 2rem; }
.breadcrumb a { color: var(--ink-soft); }
.post-header { margin-bottom: 2.5rem; }
.post-meta { font-size: var(--step--1); color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: .6rem; }
.post-hero { margin: 0 0 2.5rem; }
.post-hero img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* Safety net, not just for rich-text content: a single run of &nbsp;-joined
   "words" (a real bug hit once — a rich-text editor re-serialized normal
   spaces as &nbsp; on save, which blew the whole page out sideways since
   nothing could wrap) or any other unbroken long token now wraps instead
   of forcing a horizontal scrollbar on the entire page. */
.prose { overflow-wrap: break-word; }
.prose h2 { font-size: var(--step-2); margin-top: 2.5em; }
.prose h3 { margin-top: 2em; }
.prose img { border-radius: var(--radius); margin-block: 2rem; }
.prose blockquote {
  margin: 2rem 0; padding-left: 1.5rem;
  border-left: 3px solid var(--accent);
  font-family: var(--font-display); font-size: var(--step-1);
}
.prose code {
  background: var(--paper-alt); padding: .15em .4em;
  border-radius: 4px; font-size: .9em;
}
.prose pre { background: var(--ink); color: var(--paper); padding: 1.25rem; border-radius: var(--radius); overflow-x: auto; }
.prose pre code { background: none; padding: 0; color: inherit; }

.post-cta {
  margin-top: 3.5rem; padding: 2rem;
  background: var(--paper-alt); border-radius: var(--radius);
}
.post-cta h2 { font-size: var(--step-1); }
.post-cta p { margin-bottom: 1.25rem; }

.related { margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.related h2 { font-size: var(--step-1); }
.related ul { list-style: none; padding: 0; }
.related li { padding: .4rem 0; }

.empty { color: var(--ink-soft); }

/* ==================================================================
   FOOTER
   ================================================================== */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-alt);
  padding-block: 3.5rem 2rem;
  margin-top: auto;
}
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.footer-tagline { color: var(--ink-soft); font-size: var(--step--1); max-width: 30ch; }
.footer-heading { font-size: var(--step--1); text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-body); font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { padding: .2rem 0; }
.footer-col a { color: var(--ink); text-decoration: none; }
.footer-col a:hover { color: var(--accent); text-decoration: underline; }
.nap { font-style: normal; font-size: var(--step--1); line-height: 1.8; }
.nap-name { font-weight: 700; }
.hours { font-size: var(--step--1); color: var(--ink-soft); margin-top: .5rem; }

.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1.5rem;
  font-size: var(--step--1); color: var(--ink-soft);
}
.footer-legal p { margin: 0; }
.footer-legal a { color: var(--ink-soft); }

/* Portfolio page: downloadable documents */
.doc-grid { margin: 1.5rem 0 3rem; }
.doc-card { display: flex; flex-direction: column; gap: .9rem; }
.doc-card h3 { margin: 0; font-size: var(--step-1); }
.doc-group-title { margin-top: 2.5rem; }
.doc-group-lede { margin-bottom: 0; }
.doc-card p { margin: 0; }
.doc-card .btn { align-self: flex-start; }
.doc-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.doc-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.doc-meta { color: var(--ink-soft); font-size: var(--step--1); }
