/* Site styles
   Colours: never written here. Only token names are used; build.py writes the values from brand/palette.json
   (see brand/COLOUR-METHOD.md) and refuses to publish any colour that isn't in the palette. Type chosen for
   legibility (Lexend and Atkinson Hyperlegible were both designed around reading research).

   color-mix() needs Safari 16.2+. A declaration that holds var() can't fall back to an earlier line (it fails
   at computed-value time and becomes transparent), so every color-mix() either sits in its own longhand
   (background-image, border-color) behind a plain token, or inside @supports. */

/* Fonts are served from this site, not Google (no visitor IP goes to a third party). Both are SIL Open Font
   Licence (assets/fonts/OFL-*.txt). Static weights instanced from the variable fonts with fontTools, subset to
   Basic Latin, Latin-1, General Punctuation, the euro, and O/o with double acute (Pető). */
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/lexend-400.woff2?v=60ea1825") format("woff2")
}

@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/lexend-500.woff2?v=51bd3d73") format("woff2")
}

@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/lexend-600.woff2?v=2e6848fe") format("woff2")
}

@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/atkinson-next-400.woff2?v=cc9b7439") format("woff2")
}

@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/atkinson-next-400-italic.woff2?v=d387c140") format("woff2")
}

@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/atkinson-next-700.woff2?v=b7adcfa2") format("woff2")
}

:root {
  /* palette: Evergreen, from brand/palette.json */
  --paper: #FBF8F3;
  --surface: #FFFFFF;
  --line: #E3DCD1;
  --ink: #164033;
  --text: #164033;
  --muted: #456358;
  --partner: #61AB76;
  --partner-wash: #E4F1E7;
  --partner-deep: #2B7545;
  --partner-light: #61AB76;
  --star: #FFBC51;
  --star-wash: #FFEED7;
  --star-deep: #8A5D00;
  --night: #164033;
  --on-night: #FBF8F3;
  --on-night-muted: #BDD0C9;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 3px var(--line);
  --wrap: 72.5rem;

  --display: 'Lexend', ui-sans-serif, system-ui, 'Segoe UI', Roboto, sans-serif;
  --body: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', ui-sans-serif, system-ui, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Atkinson Hyperlegible Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  color-scheme: light;
}

@supports (color: color-mix(in srgb, currentColor 50%, transparent)) {
  :root {
    --shadow: 0 1px 2px color-mix(in srgb, var(--ink) 6%, transparent), 0 10px 28px color-mix(in srgb, var(--ink) 8%, transparent)
  }
}

*,
*::before,
*::after {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.65
}

@media (min-width:960px) {
  body {
    font-size: 1.1875rem
  }
}

img,
svg {
  max-width: 100%;
  display: block
}

a {
  color: var(--partner-deep);
  text-underline-offset: .18em;
  text-decoration-thickness: 1px
}

a:hover {
  color: var(--ink)
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px
}

.on-dark :focus-visible {
  outline-color: var(--star)
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
  font-weight: 600;
  letter-spacing: -.015em
}

h1 {
  font-size: clamp(2.35rem, 4.4vw, 3.8rem);
  letter-spacing: -.03em
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  letter-spacing: -.025em
}

h3 {
  font-size: 1.3rem
}

h4 {
  font-size: 1.08rem
}

p {
  margin: 0
}

.prose>*+* {
  margin-top: 1em
}

.prose {
  max-width: 66ch
}

.prose h2 {
  margin-top: 1.6em
}

.prose h3 {
  margin-top: 1.4em
}

/* a heading straight after its eyebrow label sits close to it (replaces the old inline style="margin-top:.6rem",
   which the Content-Security-Policy would otherwise have to allow) */
.prose .eyebrow+h2 {
  margin-top: .6rem
}

.prose ul,
.prose ol {
  padding-left: 1.2em
}

.prose li+li {
  margin-top: .35em
}

.lead {
  font-size: 1.2em;
  color: var(--muted);
  max-width: 60ch
}

.eyebrow {
  font-family: var(--display);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--partner-deep)
}

.muted {
  color: var(--muted)
}

/* smaller than body text on larger screens only: 18px is the floor for anything you read */
.small {
  font-size: 1.125rem
}

.placeholder {
  background: var(--star-wash);
  color: var(--star-deep);
  border-radius: 4px;
  padding: 0 .3em;
  font-family: var(--body);
  font-variant-numeric: tabular-nums;
  font-size: .85em
}

.wrap {
  width: min(var(--wrap), 100% - 2.5rem);
  margin-inline: auto
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--on-night);
  padding: .7rem 1rem;
  border-radius: 8px;
  z-index: 100
}

.skip-link:focus {
  top: 1rem;
  color: var(--on-night)
}

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--surface);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line)
}

@supports (color: color-mix(in srgb, currentColor 50%, transparent)) {
  .site-head {
    background-color: color-mix(in srgb, var(--surface) 96%, transparent)
  }
}

/* short screens (a phone on its side, or 400% zoom): the header scrolls away instead of covering the page */
@media (max-height:500px) {
  html {
    scroll-padding-top: 1rem
  }

  .site-head {
    position: relative
  }
}

.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 78px
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto
}

.brand img {
  width: 50px;
  height: 50px
}

.brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -.02em;
  line-height: 1
}

.brand-name b {
  font-weight: 600;
  color: var(--partner)
}

.brand-name small {
  display: block;
  font-size: .75rem;
  letter-spacing: .2em;
  color: var(--muted);
  margin-top: .3rem;
  font-weight: 600
}

.site-nav {
  display: flex;
  align-items: center;
  gap: .25rem
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--display);
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: .55rem .75rem;
  border-radius: 10px;
  white-space: nowrap
}

.site-head .btn {
  flex: none;
  white-space: nowrap
}

.site-nav a:hover {
  background: var(--partner-wash)
}

.site-nav a[aria-current="page"] {
  color: var(--partner-deep);
  box-shadow: inset 0 -2px 0 var(--partner)
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  font: 600 .95rem var(--display);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .6rem .9rem;
  min-height: 56px;
  cursor: pointer
}

.nav-toggle svg {
  width: 20px;
  height: 20px
}

/* The full nav needs 1,141px of header with the site's own fonts (fallback fonts are narrower). The header is
   1,160px wide once the window is about 1,217px including a 17px scrollbar, so the full nav starts at 1,240px
   (77.5em) and anything narrower gets the Menu panel. In em, so a visitor who has set a larger text size in
   their browser gets the Menu panel sooner instead of an overflowing nav. Keep the two numbers below in step. */
@media (max-width:77.49em) {
  .nav-toggle {
    display: inline-flex
  }

  .site-head .btn {
    display: none
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: .75rem 1.25rem 1.25rem;
    box-shadow: var(--shadow);
    /* the panel hangs off a sticky header, so it must scroll itself or its last links can't be reached */
    max-height: calc(100vh - 5rem);
    max-height: calc(100dvh - 5rem);
    overflow-y: auto;
    overscroll-behavior: contain
  }

  .site-nav.is-open {
    display: flex
  }

  .site-nav a {
    padding: .85rem .75rem;
    font-size: 1.05rem
  }

  .site-nav .nav-cta {
    display: block;
    margin-top: .5rem;
    text-align: center;
    background: var(--ink);
    color: var(--on-night)
  }

  /* no JavaScript: no Menu button, the links sit under the logo as a plain wrapped list, and the header
     scrolls away with the page so it can't cover it */
  .no-js .site-head {
    position: relative
  }

  .no-js .site-head .wrap {
    flex-wrap: wrap;
    gap: .75rem 1.5rem;
    padding-block: .75rem
  }

  .no-js .nav-toggle,
  .no-js .site-nav .nav-cta {
    display: none
  }

  .no-js .site-head .btn {
    display: inline-flex;
    order: 1
  }

  .no-js .site-nav {
    display: flex;
    order: 2;
    position: static;
    flex: 1 0 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem;
    max-height: none;
    overflow: visible;
    padding: 0;
    margin-inline: -.75rem;
    border: 0;
    box-shadow: none;
    background: none
  }

  .no-js .site-nav a {
    padding: .7rem .75rem
  }
}

@media (min-width:77.5em) {
  .site-nav .nav-cta {
    display: none
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 56px;
  padding: .8rem 1.35rem;
  border-radius: 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease
}

.btn-primary {
  background: var(--ink);
  color: var(--on-night)
}

.btn-primary:hover {
  background: var(--partner-deep);
  color: var(--on-night)
}

.btn-quiet {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line)
}

.btn-quiet:hover {
  border-color: var(--partner);
  color: var(--partner-deep)
}

.btn-light {
  background: var(--surface);
  color: var(--ink)
}

.btn-light:hover {
  background: var(--partner-wash);
  color: var(--ink)
}

.btn svg {
  width: 18px;
  height: 18px
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem
}

/* ---------- sections ---------- */
.band {
  padding: clamp(3.5rem, 7vw, 6rem) 0
}

.band--white {
  background: var(--surface)
}

.band--wash {
  background: var(--partner-wash)
}

.band--warm {
  background: var(--star-wash)
}

.band--ink {
  background: var(--ink);
  color: var(--on-night-muted)
}

.band--ink h2,
.band--ink h3 {
  color: var(--on-night)
}

.band--ink .eyebrow {
  color: var(--star)
}

.band--ink a {
  color: var(--on-night)
}

.section-head {
  display: grid;
  gap: .9rem;
  max-width: 62ch;
  margin-bottom: clamp(2rem, 4vw, 3rem)
}

.section-head--row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  max-width: none
}

.section-head--row>div {
  display: grid;
  gap: .9rem;
  max-width: 58ch
}

/* ---------- hero ---------- */
.hero {
  padding: clamp(2.75rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem);
  background-color: var(--paper);
  background-image:
    radial-gradient(900px 420px at 88% 8%, color-mix(in srgb, var(--star) 16%, transparent), transparent 60%),
    radial-gradient(700px 380px at 8% 100%, color-mix(in srgb, var(--partner) 12%, transparent), transparent 60%)
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center
}

.hero h1 em {
  font-style: normal;
  color: var(--partner-deep)
}

.hero-copy {
  display: grid;
  gap: 1.4rem
}

.reassure {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  padding: 0;
  margin: .4rem 0 0;
  list-style: none;
  font-weight: 700;
  color: var(--ink);
  font-size: .98rem
}

.reassure li {
  display: flex;
  align-items: center;
  gap: .5rem
}

.reassure svg {
  width: 20px;
  height: 20px;
  color: var(--star-deep);
  flex: none
}

@media (max-width:900px) {
  .hero-grid {
    grid-template-columns: 1fr
  }
}

/* the task-series card: a conductor's counted sequence */
.series {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line)
}

.series-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem
}

.series-head .eyebrow {
  color: var(--star-deep)
}

.series-head img {
  width: 42px;
  height: 42px
}

.series ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .25rem
}

.series li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: .8rem 0;
  border-top: 1px solid var(--line)
}

.series li:first-child {
  border-top: 0
}

.series .say {
  font-family: var(--display);
  font-weight: 500;
  color: var(--ink);
  font-size: 1.125rem;
  line-height: 1.3
}

.count {
  display: flex;
  gap: .35rem;
  font-family: var(--body);
  font-variant-numeric: tabular-nums;
  font-size: .82rem;
  color: var(--muted)
}

.count span {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--surface);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease
}

.count span.on {
  background: var(--partner-deep);
  border-color: var(--partner-deep);
  color: var(--on-night)
}

.series-foot {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
  font-size: 1.125rem;
  color: var(--muted)
}

/* the one term in the card is set in bold, not italic: the home page then needs no italic font file (13 KB) */
.series-foot em {
  font-style: normal;
  font-weight: 700
}

@media (max-width:420px) {
  .series li {
    grid-template-columns: 1fr
  }

  .count {
    justify-content: flex-start
  }
}

/* ---------- who we help ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  gap: 1rem;
  align-content: start
}

.panel .tag {
  justify-self: start
}

.panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .45rem
}

.panel li {
  display: flex;
  gap: .6rem;
  align-items: baseline
}

.panel li::before {
  content: "";
  flex: none;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--star);
  transform: translateY(-.1em)
}

.panel .more {
  margin-top: auto;
  font-family: var(--display);
  font-weight: 600
}

@media (max-width:760px) {
  .split {
    grid-template-columns: 1fr
  }
}

.tag {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: var(--partner-wash);
  color: var(--partner-deep)
}

.tag--warm {
  background: var(--star-wash);
  color: var(--star-deep)
}

/* ---------- where we work ---------- */
.places {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line)
}

.place {
  padding: 1.6rem 1.4rem 1.6rem 0;
  display: grid;
  gap: .6rem;
  align-content: start
}

.place+.place {
  padding-left: 1.4rem;
  border-left: 1px solid var(--line)
}

.place svg {
  width: 34px;
  height: 34px;
  color: var(--partner)
}

.band--ink .places,
.band--ink .place+.place {
  border-color: var(--on-night-muted)
}

@supports (color: color-mix(in srgb, currentColor 50%, transparent)) {
  .band--ink .places,
  .band--ink .place+.place {
    border-color: color-mix(in srgb, var(--on-night) 18%, transparent)
  }
}

.band--ink .place svg {
  color: var(--star)
}

.band--ink .place p {
  color: var(--on-night-muted)
}

@media (max-width:900px) {
  .places {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .place:nth-child(3) {
    padding-left: 0;
    border-left: 0
  }

  .place {
    border-top: 1px solid var(--line)
  }

  .band--ink .place {
    border-top-color: var(--on-night-muted)
  }

  @supports (color: color-mix(in srgb, currentColor 50%, transparent)) {
    .band--ink .place {
      border-top-color: color-mix(in srgb, var(--on-night) 18%, transparent)
    }
  }
}

@media (max-width:520px) {
  .places {
    grid-template-columns: 1fr
  }

  .place,
  .place+.place {
    padding-left: 0;
    border-left: 0
  }
}

/* ---------- approach / two column text ---------- */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start
}

@media (max-width:860px) {
  .two-col {
    grid-template-columns: 1fr
  }
}

.principles {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none
}

.principles li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line)
}

.principles li:last-child {
  border-bottom: 1px solid var(--line)
}

.principles svg {
  width: 28px;
  height: 28px;
  color: var(--partner);
  margin-top: .15rem
}

.principles strong {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .2rem
}

/* ---------- steps (a real sequence) ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  position: relative;
  counter-reset: step
}

.steps::before {
  content: "";
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  top: 1.35rem;
  height: 2px;
  background: linear-gradient(90deg, var(--partner), var(--star))
}

.steps li {
  position: relative;
  display: grid;
  gap: .6rem;
  align-content: start;
  counter-increment: step
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--partner);
  color: var(--ink);
  font: 600 1rem var(--display);
  position: relative
}

.steps li:last-child::before {
  border-color: var(--star);
  background: var(--star);
  color: var(--ink)
}

@media (max-width:900px) {
  .steps {
    grid-template-columns: 1fr 1fr
  }

  .steps::before {
    display: none
  }
}

@media (max-width:520px) {
  .steps {
    grid-template-columns: 1fr
  }
}

/* ---------- note / callout ---------- */
.note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.35rem
}

.note svg {
  width: 26px;
  height: 26px;
  color: var(--partner-deep);
  margin-top: .1rem
}

.note strong {
  color: var(--ink)
}

/* ---------- prices ---------- */
.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg)
}

table.prices {
  width: 100%;
  border-collapse: collapse
}

.prices caption {
  text-align: left;
  padding: 1.25rem 1.5rem .25rem;
  font: 600 1.15rem var(--display);
  color: var(--ink)
}

.prices th,
.prices td {
  text-align: left;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--line);
  vertical-align: top
}

.prices thead th {
  font-family: var(--display);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  border-top: 0
}

/* each row's name cell may be a <td> or a row header <th scope="row">: both look the same */
.prices tbody th {
  font-weight: 400
}

.prices td.price {
  font-family: var(--body);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink);
  font-weight: 700;
  text-align: right
}

.prices th.price {
  text-align: right
}

.prices :is(td, th) strong {
  display: block;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600
}

.prices :is(td, th) span {
  color: var(--muted);
  font-size: 1.125rem
}

/* phones: each row becomes a small card (name, details, then the price) so nothing scrolls sideways */
@media (max-width:600px) {
  table.prices,
  .prices caption,
  .prices tbody,
  .prices tr,
  .prices tbody th,
  .prices td {
    display: block
  }

  .prices caption {
    padding: 1.1rem 1.1rem .6rem
  }

  .prices thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap
  }

  .prices tr {
    padding: .9rem 1.1rem;
    border-top: 1px solid var(--line)
  }

  .prices th,
  .prices td {
    padding: 0;
    border-top: 0
  }

  .prices td.price {
    text-align: left;
    white-space: normal;
    margin-top: .4rem
  }
}

/* ---------- faq ---------- */
.faq {
  display: grid;
  gap: .6rem;
  max-width: 74ch
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius)
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.3rem;
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center
}

.faq summary::-webkit-details-marker {
  display: none
}

/* the "/ ''" alt text keeps screen readers from reading "plus" or "dash" at the end of every question;
   the plain line before it is for browsers that don't know that syntax yet */
.faq summary::after {
  content: "+";
  content: "+" / "";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--partner)
}

.faq details[open] summary::after {
  content: "–";
  content: "–" / ""
}

.faq details>div {
  padding: 0 1.3rem 1.2rem;
  color: var(--text)
}

.faq details>div>*+* {
  margin-top: .8em
}

/* ---------- quote ---------- */
.quote {
  margin: 0;
  display: grid;
  gap: 1rem;
  max-width: 52ch
}

.quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -.01em
}

.quote figcaption {
  color: var(--muted);
  font-size: .95rem
}

/* ---------- cta band ---------- */
.cta {
  background-color: var(--ink);
  background-image: radial-gradient(640px 320px at 100% 0%, color-mix(in srgb, var(--star) 16%, transparent), transparent 62%);
  color: var(--on-night-muted);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.25rem);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden
}

.cta h2 {
  color: var(--on-night)
}

.cta p {
  margin-top: .6rem;
  max-width: 52ch
}

.cta::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 2px solid var(--star);
  opacity: .35;
  pointer-events: none
}

@media (max-width:760px) {
  .cta {
    grid-template-columns: 1fr
  }
}

/* ---------- page header (inner pages) ---------- */
.page-head {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  background-color: var(--paper);
  background-image: radial-gradient(700px 300px at 90% 0%, color-mix(in srgb, var(--partner) 12%, transparent), transparent 60%);
  border-bottom: 1px solid var(--line)
}

.page-head .wrap {
  display: grid;
  gap: 1rem
}

.crumbs {
  font-size: .9rem;
  color: var(--muted)
}

.crumbs a {
  color: var(--muted)
}

/* ---------- lists of conditions / cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: grid;
  gap: .6rem;
  align-content: start
}

.card h3 {
  font-size: 1.18rem
}

.card p {
  color: var(--muted)
}

@media (max-width:900px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media (max-width:560px) {
  .cards {
    grid-template-columns: minmax(0, 1fr)
  }
}

/* long web and email addresses break instead of pushing the page sideways on a small phone */
:is(p, li, dd, td, figcaption) a:not(.btn) {
  overflow-wrap: break-word;
  overflow-wrap: anywhere
}

/* ---------- about ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0
}

.facts div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem
}

.facts dt {
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--display);
  font-weight: 600
}

.facts dd {
  margin: .25rem 0 0;
  color: var(--ink);
  font-weight: 700
}

.facts dt,
.facts dd {
  overflow-wrap: break-word;
  overflow-wrap: anywhere
}

@media (max-width:520px) {
  .facts {
    grid-template-columns: minmax(0, 1fr)
  }
}

/* ---------- form ---------- */
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem)
}

.field {
  display: grid;
  gap: .4rem
}

.field--full {
  grid-column: 1/-1
}

.field label,
.field legend {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink)
}

.field .hint {
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.125rem;
  color: var(--muted)
}

.field label .hint {
  font-size: .95em
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1.125rem;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--muted);
  border-radius: 10px;
  padding: .8rem .9rem;
  min-height: 56px;
  width: 100%;
  min-width: 0
}

.field textarea {
  min-height: 150px;
  resize: vertical
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--ink);
  outline: 3px solid var(--ink);
  outline-offset: 2px
}

/* the consent line is a sentence, so it reads as body text, not as a bold field label. Block, not flex: as a
   flex box, every text run and link inside the label became its own column. */
.field .check {
  display: block;
  position: relative;
  padding-left: calc(22px + .8rem);
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.125rem;
  color: var(--text)
}

/* a normal square tick box beside the first line, not the 56px-tall text-box rules from .field input */
.field .check input {
  position: absolute;
  left: 0;
  top: .22em;
  width: 22px;
  height: 22px;
  min-height: 0;
  min-width: 0;
  padding: 0;
  margin: 0;
  accent-color: var(--partner-deep)
}

.form-status {
  grid-column: 1/-1;
  font-weight: 700;
  color: var(--star-deep)
}

@media (max-width:640px) {
  .form {
    grid-template-columns: minmax(0, 1fr)
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start
}

@media (max-width:860px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr)
  }
}

.contact-list {
  display: grid;
  gap: 1.1rem;
  margin: 0
}

.contact-list dt {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink)
}

.contact-list dd {
  margin: .15rem 0 0
}

/* ---------- footer ---------- */
.site-foot {
  background: var(--night);
  color: var(--on-night-muted);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  font-size: 1.125rem
}

.site-foot a {
  color: var(--on-night);
  text-decoration: none;
  overflow-wrap: break-word;
  overflow-wrap: anywhere
}

.site-foot a:hover {
  text-decoration: underline;
  color: var(--on-night)
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 2rem
}

.foot-brand {
  display: grid;
  gap: 1rem;
  align-content: start
}

.foot-brand img {
  width: 64px;
  height: 64px
}

.foot-brand p {
  max-width: 34ch
}

.site-foot h2 {
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--star);
  margin-bottom: .4rem
}

.site-foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0
}

/* each row is a 44px+ tap target: the link fills its row's height */
.site-foot li {
  padding: .5rem 0
}

.site-foot li a {
  display: inline-block;
  padding: .5rem 0;
  margin: -.5rem 0
}

.foot-legal {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--on-night-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: .86rem;
  color: var(--on-night-muted)
}

@supports (color: color-mix(in srgb, currentColor 50%, transparent)) {
  .foot-legal {
    border-top-color: color-mix(in srgb, var(--on-night) 14%, transparent)
  }
}

.foot-legal-id {
  display: grid;
  gap: .25rem
}

@media (max-width:860px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr
  }

  .foot-brand,
  .foot-contact {
    grid-column: 1/-1
  }
}

/* phones: the two link lists stay side by side, so the footer is half as long */
@media (max-width:480px) {
  .foot-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem 1rem
  }
}

/* social profile links, shown only once a profile address is filled in site.json */
.site-foot .foot-social {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .25rem
}

.site-foot .foot-social li {
  padding: 0
}

.site-foot .foot-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid var(--on-night-muted);
  color: var(--on-night)
}

.site-foot .foot-social a:hover {
  background: var(--on-night);
  border-color: var(--on-night);
  color: var(--night)
}

.site-foot .foot-social svg {
  width: 22px;
  height: 22px
}

.stack-lg {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem)
}

.center {
  text-align: center
}

.mt-2 {
  margin-top: 2rem
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap
}
/* Founder portrait (home and about). The photo sits in a circle with a paper ring and a leaf-green line, the
   honey star from the logo on its shoulder, and a warm wash multiplied over it so a black-and-white snapshot
   reads as a deliberate brand treatment. Any square-ish photo works: object-fit crops it to the circle. */
.portrait-card{display:grid;gap:1.5rem;align-content:start}
.portrait-frame{position:relative;margin:0;justify-self:center;width:clamp(14rem,30vw,19rem);aspect-ratio:1/1;
  padding:7px;border-radius:50%;background:var(--surface);box-shadow:0 0 0 2px var(--partner),var(--shadow)}
.portrait-disc{display:block;position:relative;width:100%;height:100%;border-radius:50%;overflow:hidden;isolation:isolate}
.portrait-disc::after{content:"";position:absolute;inset:0;background:var(--star-wash);mix-blend-mode:multiply;pointer-events:none}
.portrait-photo{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 40%;filter:grayscale(1) contrast(1.04)}
.portrait-star{position:absolute;top:1%;right:3%;width:19%;height:auto;color:var(--star)}
.portrait-star path{stroke:var(--surface);stroke-width:1.6px;stroke-linejoin:round;paint-order:stroke}
.two-col--portrait{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
.two-col--middle{align-items:center}
@media (max-width:860px){.two-col--portrait{grid-template-columns:minmax(0,1fr)}}

/* Pull quote: upright display type, easier to read at length than italics */
.pull-quote{margin:0;padding:1.25rem 1.5rem;background:var(--partner-wash);
  border-left:4px solid var(--partner);border-radius:0 var(--radius) var(--radius) 0}
.pull-quote blockquote{margin:0;font-family:var(--display);font-weight:400;font-size:1.125rem;line-height:1.55;color:var(--ink)}
.pull-quote figcaption{margin-top:.6rem;font-family:var(--display);font-weight:600;font-size:.95rem;color:var(--partner-deep)}

/* Contact form heading sits above the field grid */
.form h2{grid-column:1/-1;margin:0 0 .25rem;font-size:1.35rem}

/* Easy read page: short lines, big type, one idea per line */
.easy .wrap{max-width:38rem}
.easy h2{font-size:1.6rem;margin-bottom:.4em}
.easy p{font-size:1.35rem;line-height:1.7;margin:0 0 .9em}
.easy p+h2{margin-top:1.2em}

/* Honeypot field: off-screen for people, present for bots */
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}

/* WhatsApp CTA in the header, only rendered once the number exists */
.nav-cta--wa{background:var(--partner-wash);color:var(--partner-deep)}

/* Session video: a still image until play is pressed, then the no-cookie player */
.video{position:relative;aspect-ratio:16/9;max-width:820px;margin:0 auto;border-radius:var(--radius-lg);overflow:hidden;background:var(--night);box-shadow:var(--shadow)}
.video img,.video iframe{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border:0}
.video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);min-height:56px;padding:.8rem 1.4rem;border:0;border-radius:999px;background:var(--surface);color:var(--ink);font:600 1rem var(--display);cursor:pointer;box-shadow:var(--shadow)}
.video-play:hover{background:var(--star)}

/* ---------- polish pass (29 Sep 2026) ---------- */
/* No single word stranded on the last line of a paragraph or question; headings already balance */
p, li, dd, figcaption, blockquote {
  text-wrap: pretty
}

summary, .eyebrow {
  text-wrap: balance;
}

/* keeps a hyphenated pair such as "chair-exercise" together in a heading */
.nowrap {
  white-space: nowrap
}

/* inner-page headings are sentences: a little smaller on phones so they take three lines, not five */
.page-head h1 {
  font-size: clamp(2rem, 1.35rem + 2.8vw, 3.4rem)
}

/* phones: buttons in a row become a tidy full-width stack instead of two ragged widths */
@media (max-width:480px) {
  .actions>.btn {
    flex: 1 1 100%
  }
}

/* the dark call-to-action card: its decorative ring sits behind the words and the button, not across them */
.cta>* {
  position: relative;
  z-index: 1
}

/* small phones: less padding in the dark card, so its button keeps to one line; a button that must wrap
   (very large text) stays centred */
@media (max-width:420px) {
  .cta {
    padding: 1.75rem 1.25rem
  }
}

.btn {
  text-align: center
}

/* "Support for children / adults": a proper 44px tap target with an arrow */
.panel .more {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  justify-self: start
}

.panel .more svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform .15s ease
}

.panel .more:hover svg {
  transform: translateX(3px)
}

@media (prefers-reduced-motion:reduce) {
  .panel .more svg {
    transition: none
  }
}

/* a card whose heading is a link is clickable all over, so the tap target is the whole card */
.card {
  position: relative
}

.card h3 a {
  text-decoration-thickness: 1px
}

.card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit
}

.card:has(h3 a) {
  transition: border-color .15s ease
}

.card:has(h3 a:hover) {
  border-color: var(--partner)
}

/* contact page: the form first, then the direct details and the two notes beside or below it */
.contact-aside {
  display: grid;
  gap: 1rem;
  align-content: start
}

.contact-direct {
  display: grid;
  gap: 1.1rem;
  margin-bottom: 1rem
}

/* same weight as the form's own heading, so the form stays the main thing on the page */
.contact-direct h2 {
  font-size: 1.35rem
}

/* phones: the intro paragraph a step smaller (still above the 18px floor), so the first button shows sooner */
@media (max-width:480px) {
  .lead {
    font-size: 1.1em
  }
}

/* Print: the accessibility page promises every page prints cleanly */
@media print{
  body{background:#fff;color:#000;font-size:11pt;line-height:1.5}
  .site-head,.nav-toggle,.btn,.cta,.video,.crumbs,.actions,.foot-social,.portrait-star{display:none!important}
  .site-foot{background:none!important;color:#000;padding:1rem 0 0;border-top:1px solid #bbb}
  .site-foot .foot-grid>div:not(:last-child),.foot-brand img,.site-foot h2{display:none}
  .site-foot a{color:#000}
  .foot-legal{font-size:9pt}
  .band,.page-head,.hero{background:none!important;padding:0 0 1.2rem;box-shadow:none}
  .wrap{max-width:none;padding:0}
  .card,.panel,.series{border:1px solid #bbb;box-shadow:none;break-inside:avoid;page-break-inside:avoid}
  a{color:#000;text-decoration:underline}
  a[href^="http"]::after{content:" (" attr(href) ")";font-size:.85em;color:#333}
  details{break-inside:avoid}
  details>summary{list-style:none;font-weight:700}
  .faq summary::after{display:none}
  h1,h2,h3{color:#000;break-after:avoid}
}
/* Print every FAQ answer. Current browsers hide a closed <details> through its ::details-content part, so
   that is what has to be shown; kept in its own rule so browsers that don't know the selector skip only this.
   (Older Safari and Firefox rely on site.js opening the questions on beforeprint.) */
@media print{
  details::details-content{content-visibility:visible;display:block}
}

/* Easy read: a symbol beside each idea, which is the whole convention */
.easy h2{display:flex;align-items:center;gap:.7rem}
.er-icon{display:grid;place-items:center;flex:none;width:3rem;height:3rem;border-radius:12px;
  background:var(--partner-wash);color:var(--partner-deep)}
.er-sym{width:1.9rem;height:1.9rem}
@media print{.er-icon{background:none;border:1px solid #bbb}}
