/* ══════════════════════════════════════════════════════════════
   Talking Time Speech and Language Therapy
   Brand colours sampled directly from the logo:
     teal #008A8A   plum #94376E   clock face = plum @ 40% ≈ #CD99BB
   ══════════════════════════════════════════════════════════════ */

:root {
  color-scheme: light;

  /* Brand */
  --teal:        #008a8a;
  --teal-deep:   #00706f;  /* 5.2:1 on white — safe for body text & links */
  --teal-dark:   #005a5a;
  --teal-wash:   #e6f2f2;
  --plum:        #94376e;  /* 6.9:1 on white */
  --plum-deep:   #7a2c5b;
  --rose:        #cd99bb;
  --rose-wash:   #f7ecf3;

  /* Neutrals — warm, so the page never feels clinical */
  --cream:       #fdfaf6;
  --cream-deep:  #f6efe7;
  --white:       #ffffff;
  --ink:         #2e2a28;
  --ink-soft:    #5d5651;
  --line:        #e8ded4;

  /* Type */
  --sans: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI Variable",
          system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, sans-serif;

  /* Rhythm */
  --wrap: 1120px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 2px 4px rgba(46, 42, 40, .04), 0 12px 28px rgba(46, 42, 40, .06);
  --shadow-lift: 0 4px 8px rgba(46, 42, 40, .05), 0 20px 44px rgba(46, 42, 40, .09);
}

/* ── Reset ────────────────────────────────────────────────── */

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--sans);
  line-height: 1.15;
  letter-spacing: -.018em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

a { color: var(--teal-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--plum); }

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

.sr-only, .skip {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip:focus {
  position: fixed; top: .75rem; left: .75rem;
  width: auto; height: auto; margin: 0; padding: .7rem 1.1rem;
  clip-path: none; z-index: 100;
  background: var(--white); border-radius: 999px;
  box-shadow: var(--shadow-lift); font-weight: 600;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

/* ── Header ───────────────────────────────────────────────── */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: .9rem;
  flex-wrap: wrap;
}

.brand { display: block; flex: 0 0 auto; }
/* Sized by height so the sticky bar stays shallow on laptops. */
.brand img { height: clamp(42px, 5.5vw, 56px); width: auto; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  list-style: none;
  margin: 0; padding: 0;
}

.nav a {
  display: block;
  padding: .5rem .85rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: .975rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background .15s, color .15s;
}

.nav a:hover { background: var(--teal-wash); color: var(--teal-dark); }

.nav a[aria-current="page"] {
  background: var(--teal);
  color: var(--white);
}

/* ── Buttons ──────────────────────────────────────────────── */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.9rem;
}

.btn {
  display: inline-block;
  padding: .8rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, background .15s, box-shadow .15s;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(0, 138, 138, .26);
}
.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 138, 138, .32);
}

.btn-ghost {
  background: var(--white);
  border-color: var(--line);
  color: var(--plum);
}
.btn-ghost:hover {
  border-color: var(--rose);
  background: var(--rose-wash);
  color: var(--plum-deep);
  transform: translateY(-1px);
}

/* ── Hero (home) ──────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(58rem 30rem at 88% -12%, var(--rose-wash) 0%, transparent 62%),
    radial-gradient(46rem 26rem at 4% 108%, var(--teal-wash) 0%, transparent 60%),
    var(--cream);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.eyebrow {
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  color: var(--teal-dark);
  margin-bottom: 1.1rem;
}

.lede {
  font-size: clamp(1.075rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 34em;
}

/* Two generously rounded opposite corners — a nod to the rounded
   logo letterforms without turning the photo into a blob. */
.shaped {
  border-radius: clamp(2rem, 5vw, 4.5rem) var(--radius)
                 clamp(2rem, 5vw, 4.5rem) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.shaped img { width: 100%; }

.hero-media { position: relative; }

/* ── Generic sections ─────────────────────────────────────── */

.section { padding-block: clamp(2.75rem, 6vw, 4.5rem); }

/* Back-to-back sections would otherwise stack two full pads of dead space. */
.section + .section { padding-top: 0; }

.page-head {
  padding-block: clamp(2.5rem, 6vw, 4rem) clamp(.5rem, 2vw, 1rem);
  background:
    radial-gradient(50rem 26rem at 92% -30%, var(--rose-wash) 0%, transparent 62%),
    var(--cream);
}

.page-head h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  color: var(--teal-dark);
  margin-bottom: .9rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--plum);
  margin-bottom: .7rem;
}

.section-sub { color: var(--ink-soft); max-width: 44em; margin-bottom: 2rem; }

.band {
  background: var(--white);
  border-block: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
}

/* ── Prose ────────────────────────────────────────────────── */

.prose { max-width: 62ch; }
.prose-center { margin-inline: auto; }

.prose h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  color: var(--plum);
  margin-bottom: .85rem;
}

.prose p { margin-bottom: 1.15rem; }
.prose p:last-child { margin-bottom: 0; }

.prose .first-line {
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 500;
}

/* ── Chips (conditions grid) ──────────────────────────────── */

.chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: .8rem;
  list-style: none;
  margin: 0; padding: 0;
}

.chips li {
  display: flex;
  align-items: center;
  gap: .8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}

.chips li::before {
  content: "";
  flex: 0 0 auto;
  width: .7rem; height: .7rem;
  border-radius: 50%;
  background: var(--rose);
}

.chips li:hover {
  border-color: var(--rose);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.chips li:nth-child(3n)::before   { background: var(--teal); }
.chips li:nth-child(3n+1)::before { background: var(--rose); }
.chips li:nth-child(3n+2)::before { background: var(--plum); }

/* ── Service cards ────────────────────────────────────────── */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0; padding: 0;
}

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.65rem 1.75rem;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}

.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

.card-num {
  display: block;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 800;
  color: var(--rose);
  letter-spacing: .06em;
  margin-bottom: .6rem;
}

.card h2 {
  font-size: 1.28rem;
  color: var(--teal-dark);
  margin-bottom: .55rem;
}

.card p { color: var(--ink-soft); font-size: 1rem; }

/* ── About ────────────────────────────────────────────────── */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 3.75rem);
  align-items: start;
}

.facts {
  margin: 1.75rem 0 0;
  display: grid;
  gap: 1.05rem;
}

.facts div { border-left: 3px solid var(--teal-wash); padding-left: .95rem; }

.facts dt {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--plum);
}

.facts dd { margin: .15rem 0 0; font-size: .98rem; color: var(--ink-soft); }

/* ── Gallery ──────────────────────────────────────────────── */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.5rem;
}

/* ── Testimonials ─────────────────────────────────────────── */

.quotes {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  align-items: start;
}

.quote {
  position: relative;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 3.1rem 1.9rem 1.9rem;
  box-shadow: var(--shadow);
}

.quote::before {
  content: "\201C";
  position: absolute;
  top: .55rem; left: 1.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.6rem;
  line-height: 1;
  color: var(--rose);
}

.quote blockquote {
  margin: 0;
  font-size: 1.03rem;
  color: var(--ink-soft);
}

.quote figcaption {
  margin-top: 1.1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-weight: 700;
  font-size: .93rem;
  color: var(--plum);
}

/* ── Closing call-to-action ───────────────────────────────── */

.closer {
  background: linear-gradient(135deg, #d9ecec 0%, var(--cream-deep) 48%, #f2dfea 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.25rem);
  text-align: center;
}

.closer h1, .closer h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  color: var(--teal-dark);
  margin-bottom: .7rem;
}

.closer > p { color: var(--ink-soft); max-width: 46ch; margin-inline: auto; }
.closer .cta-row { justify-content: center; }

.check {
  font-size: 2.4rem;
  line-height: 1;
  color: var(--teal);
  margin-bottom: .5rem;
}

/* Failure state: warmer, plum-led, so it reads as "something's off"
   without alarming a parent who is just trying to get in touch. */
.closer-warn {
  background: linear-gradient(135deg, #f2dfea 0%, var(--cream-deep) 100%);
}

.prose-tight { margin-top: 1.75rem; font-size: .98rem; }

.closer-back { margin-top: 1.25rem; font-size: .95rem; }

/* ── Contact ──────────────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.contact-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.35rem;
  margin-bottom: .85rem;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}

.contact-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.contact-label {
  display: block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--plum);
}

.contact-value {
  display: block;
  font-family: var(--sans);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-top: .15rem;
}

.contact-area {
  color: var(--ink-soft);
  font-size: .98rem;
  margin: 1.35rem 0 1.75rem;
}

.contact-form-col > h2 {
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  color: var(--plum);
  margin-bottom: 1rem;
}

/* ── Form ─────────────────────────────────────────────────── */

.notice {
  background: var(--rose-wash);
  border-left: 4px solid var(--plum);
  border-radius: 0 12px 12px 0;
  padding: .9rem 1.15rem;
  font-size: .96rem;
  color: var(--ink);
  margin-bottom: 1.75rem;
}

.notice strong { color: var(--plum-deep); }

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field { margin: 0 0 1.15rem; }

.field label {
  display: block;
  font-family: var(--sans);
  font-size: .93rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .38rem;
}

.field .opt { font-weight: 500; color: var(--ink-soft); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .7rem .85rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .15s, background .15s;
}

.field textarea { resize: vertical; min-height: 6.5rem; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--rose); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  background: var(--white);
  outline: none;
  box-shadow: 0 0 0 3px var(--teal-wash);
}

.help {
  display: block;
  margin-top: .4rem;
  font-size: .88rem;
  color: var(--ink-soft);
}

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form button { margin-top: .35rem; }

.form-foot {
  margin-top: 1.1rem;
  font-size: .88rem;
  color: var(--ink-soft);
}

/* ── Footer ───────────────────────────────────────────────── */

.site-footer {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  background: var(--white);
  border-top: 1px solid var(--line);
  padding-top: clamp(2.25rem, 5vw, 3rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 2rem;
  padding-bottom: 2.25rem;
}

.footer-name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--teal-dark);
  margin-bottom: .3rem;
}

.footer-meta { color: var(--ink-soft); font-size: .95rem; }

.footer-label {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: .55rem;
}

.site-footer p a { font-size: .98rem; }

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .3rem; }
.footer-links a { font-size: .96rem; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

.footer-base {
  border-top: 1px solid var(--line);
  padding-block: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  font-size: .87rem;
  color: var(--ink-soft);
}

.footer-privacy { color: var(--teal-deep); }

/* ── Stats page (/stats — password protected, not linked) ─── */

.stats h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  color: var(--teal-dark);
  margin-bottom: .8rem;
}

.stats h2 {
  font-family: var(--sans);
  font-size: 1.15rem;
  color: var(--plum);
  margin: 2.5rem 0 .85rem;
}

.stats-note {
  color: var(--ink-soft);
  font-size: .93rem;
  max-width: 62ch;
  margin-bottom: 1.5rem;
}

.stats-empty { color: var(--ink-soft); font-size: .95rem; }

.stats-months {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.stats-months a {
  display: block;
  padding: .35rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}

.stats-months a:hover { border-color: var(--teal); color: var(--teal-dark); }

.stats-months a[aria-current="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.stats-period {
  margin-top: 0 !important;
  font-size: 1.4rem !important;
  color: var(--teal-dark) !important;
}

.stats-muted {
  color: var(--ink-soft);
  font-size: .86rem;
  margin-top: .7rem;
  max-width: 62ch;
}

.stats-src {
  font-family: var(--body);
  font-size: .8rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0;
  text-transform: none;
}

.stats code {
  font-size: .88em;
  background: var(--cream-deep);
  padding: .1em .35em;
  border-radius: 4px;
}

.stats tbody tr.is-current { background: var(--teal-wash); }
.stats tbody tr.is-current td:first-child { font-weight: 700; }
.stats tbody td a { color: var(--teal-deep); }

.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: .85rem;
  list-style: none;
  margin: 0; padding: 0;
}

.stats-cards li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}

.stats-label {
  display: block;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--plum);
}

.stats-value {
  display: block;
  font-family: var(--sans);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1.1;
  margin-top: .2rem;
}

/* Reserve two lines for every card label so a wrapping one ("Viewed from
   Massachusetts") does not push its number out of line with its neighbours. */
.stats-cards .stats-label {
  line-height: 1.25;
  min-height: 2.5em; /* exactly two lines at the line-height above */
}

/* Says what the number actually measures, so a label never has to carry it. */
.stats-qual {
  display: block;
  font-size: .78rem;
  color: var(--ink-soft);
  line-height: 1.3;
  margin-top: .3rem;
}

/* Grouped "Page views" header spanning the filtered/unfiltered pair. */
.stats th.group {
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.stats th.sub {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: none;
  color: var(--ink-soft);
}

/* Secondary line inside a table cell, e.g. a referrer's share of traffic. */
.stats .cell-qual {
  display: block;
  font-size: .8rem;
  color: var(--ink-soft);
  line-height: 1.3;
}

.stats .th-qual {
  display: block;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
}

.stats tbody th[scope="row"] {
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

/* Wide tables scroll inside their own box rather than the page. */
.stats-scroll { overflow-x: auto; }

.stats table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: .95rem;
}

.stats th,
.stats td {
  padding: .6rem .9rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.stats th {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--plum);
  background: var(--cream);
}

.stats tbody tr:last-child td { border-bottom: 0; }
.stats .num { text-align: right; font-variant-numeric: tabular-nums; }

.stats .bar { width: 34%; min-width: 6rem; }

.stats .bar span {
  display: block;
  height: .5rem;
  min-width: 2px;
  border-radius: 999px;
  background: var(--teal);
  width: 0;
}

/* Bar widths in 5% steps as classes rather than inline style attributes.
   This is what lets /stats keep a Content-Security-Policy with no
   'unsafe-inline' for styles: with inline widths, that page needed a looser
   policy than the rest of the site, and a browser intersecting two different
   policies would silently collapse every bar. Rounding to 5% is invisible on
   a bar this size. */
.stats .bar span.bar-5   { width:   5%; }
.stats .bar span.bar-10  { width:  10%; }
.stats .bar span.bar-15  { width:  15%; }
.stats .bar span.bar-20  { width:  20%; }
.stats .bar span.bar-25  { width:  25%; }
.stats .bar span.bar-30  { width:  30%; }
.stats .bar span.bar-35  { width:  35%; }
.stats .bar span.bar-40  { width:  40%; }
.stats .bar span.bar-45  { width:  45%; }
.stats .bar span.bar-50  { width:  50%; }
.stats .bar span.bar-55  { width:  55%; }
.stats .bar span.bar-60  { width:  60%; }
.stats .bar span.bar-65  { width:  65%; }
.stats .bar span.bar-70  { width:  70%; }
.stats .bar span.bar-75  { width:  75%; }
.stats .bar span.bar-80  { width:  80%; }
.stats .bar span.bar-85  { width:  85%; }
.stats .bar span.bar-90  { width:  90%; }
.stats .bar span.bar-95  { width:  95%; }
.stats .bar span.bar-100 { width: 100%; }

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 860px) {
  .hero-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .hero-media { order: -1; max-width: 30rem; }
  .about-media { max-width: 22rem; }
  .lede { max-width: none; }
}

@media (max-width: 560px) {
  body { font-size: 1.02rem; }
  .header-inner { justify-content: center; gap: .6rem; padding-block: .75rem; }
  .nav { justify-content: center; }
  .nav a { padding: .45rem .7rem; font-size: .92rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .btn { width: 100%; text-align: center; }
  .footer-base { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
  .btn:hover, .card:hover, .chips li:hover, .contact-card:hover { transform: none; }
}

/* ── Print ────────────────────────────────────────────────── */

@media print {
  .site-header, .cta-row, .form, .skip { display: none; }
  body { background: #fff; }
  .shaped { border-radius: 0; box-shadow: none; }
}
