/* Beyond Perception — site styles
   World: a communication board. Sentence strip on top, colour-keyed symbol tiles below. */

:root {
  /* Brand */
  --blue: #4768DB;
  --blue-deep: #3450BE;
  --blue-night: #1E2A66;
  --purple: #AE6AB4;
  --purple-deep: #874A8D;
  --sky: #8EA0CD;
  --brown: #8B6755;
  --orange: #C74300;
  --orange-deep: #A33700;

  /* Tints (colour key backgrounds) */
  --blue-tint: #E4E9FB;
  --purple-tint: #F4E8F5;
  --brown-tint: #F5EBE3;
  --sky-tint: #EAEEF8;
  --pale: #F3F5FD;

  /* Ink */
  --ink: #1F2347;
  --text: #3E425E;
  --muted: #5C6080;
  --line: #D9DEF0;
  --white: #FFFFFF;

  /* Type */
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;

  /* Space */
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --section: clamp(64px, 9vw, 120px);

  /* Shape */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --shadow-tile: 0 1px 0 rgba(31, 35, 71, .06), 0 10px 24px -14px rgba(31, 35, 71, .45);
  --shadow-lift: 0 2px 0 rgba(31, 35, 71, .05), 0 18px 34px -16px rgba(31, 35, 71, .5);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  caret-color: var(--blue);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
::selection { background: var(--purple-tint); color: var(--ink); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--pale); }
::-webkit-scrollbar-thumb { background: var(--sky); border-radius: 12px; border: 3px solid var(--pale); }
html { scrollbar-color: var(--sky) var(--pale); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1rem + .6vw, 1.45rem); letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--blue-deep); text-decoration-thickness: 2px; text-underline-offset: .22em; }
a:hover { color: var(--purple-deep); }
strong { color: var(--ink); }

:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { outline-color: var(--ink); }
.on-dark :focus-visible { outline-color: var(--white); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 66ch; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: var(--r-sm);
  font-family: var(--font-display); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--orange);
  --btn-fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .7em 1.4em;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; line-height: 1.1;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 2px solid var(--btn-bg); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 2px 0 rgba(0,0,0,.08), 0 10px 20px -12px rgba(163, 55, 0, .7);
  transition: background-color .2s, border-color .2s, transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.btn:hover { --btn-bg: var(--orange-deep); color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--white);
  border-color: rgba(255,255,255,.7); box-shadow: none;
}
.btn--ghost:hover { --btn-bg: rgba(255,255,255,.12); border-color: var(--white); }
.btn--line {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--ink); box-shadow: none;
}
.btn--line:hover { --btn-bg: var(--ink); --btn-fg: var(--white); }
.btn--sm { min-height: 44px; padding: .55em 1.1em; font-size: .95rem; }
.btn .icon { width: 1.15em; height: 1.15em; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--font-display); font-weight: 600; text-decoration: none; color: var(--blue-deep);
}
.link-arrow .icon { transition: transform .3s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 54px; height: 54px; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em; line-height: 1.05; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .74rem; letter-spacing: .01em; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link, .nav-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 12px; border-radius: 10px;
  font-family: var(--font-display); font-weight: 500; font-size: .98rem; color: var(--ink);
  text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-trigger:hover { background: var(--pale); color: var(--ink); }
.nav-link[aria-current="page"] { color: var(--blue-deep); box-shadow: inset 0 -3px 0 var(--blue); border-radius: 10px 10px 4px 4px; }
.nav-trigger .icon { width: 1em; height: 1em; transition: transform .25s var(--ease-out); }
.nav-trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-item { position: relative; }
.nav-phone { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; color: var(--ink); text-decoration: none; padding: 10px 12px; white-space: nowrap; }
.nav-phone .icon { color: var(--blue); }

.megamenu {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%);
  width: min(640px, 92vw);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lift); padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
}
.megamenu[hidden] { display: none; }
.megamenu a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
  text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 500; font-size: .96rem;
}
.megamenu a:hover { background: var(--pale); }
.megamenu .key { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.megamenu .all { grid-column: 1 / -1; justify-content: center; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 6px; color: var(--blue-deep); font-weight: 600; }

.menu-toggle {
  display: none; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 14px; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--white); color: var(--ink);
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; cursor: pointer;
}

@media (max-width: 1240px) {
  .nav-phone span { display: none; }
}
@media (max-width: 1160px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: 76px 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 12px var(--gutter) 32px; overflow-y: auto;
  }
  .nav[data-open="false"] { display: none; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-link, .nav-trigger { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.15rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-link[aria-current="page"] { box-shadow: none; }
  .megamenu { position: static; transform: none; width: 100%; box-shadow: none; border: 0; padding: 4px 0 12px; grid-template-columns: 1fr; }
  .nav-phone { padding: 18px 4px; font-size: 1.15rem; }
  .nav-phone span { display: inline; }
  .nav .mobile-cta { display: flex; margin-top: 12px; }
}
@media (min-width: 1160.02px) { .mobile-cta { display: none !important; } }
@media (max-width: 420px) { .brand-name small { display: none; } }

/* ---------- Colour key ---------- */
.k-talk   { --k: var(--blue);   --kt: var(--blue-tint); }
.k-words  { --k: var(--purple); --kt: var(--purple-tint); }
.k-play   { --k: var(--blue);   --kt: var(--blue-tint); }
.k-safe   { --k: var(--purple); --kt: var(--purple-tint); }
.k-near   { --k: var(--blue);   --kt: var(--blue-tint); }
.nav-trigger[data-current="true"] { color: var(--blue-deep); box-shadow: inset 0 -3px 0 var(--blue); border-radius: 10px 10px 4px 4px; }
.key { background: var(--k); }

/* ---------- Hero: the board ---------- */
.hero {
  background: var(--blue);
  color: var(--white);
  padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 80px);
  position: relative;
  isolation: isolate;
}

.strip {
  background: var(--white); color: var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3.2vw, 40px) clamp(20px, 3.5vw, 48px);
  box-shadow: 0 2px 0 rgba(19, 30, 92, .25), 0 30px 60px -30px rgba(19, 30, 92, .7);
}
.strip h1 {
  font-size: clamp(2.05rem, 1.1rem + 3.9vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0;
}
.strip { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
.strip-buddy { width: clamp(160px, 18vw, 250px); margin: -12px -8px -14px 0; }
@media (max-width: 700px) { .strip { display: block; } .strip-buddy { display: none; } }
.sym-row { display: block; margin-top: .14em; }
.nowrap { white-space: nowrap; }
.sym {
  display: inline-flex; flex-direction: column; align-items: center;
  vertical-align: bottom;
  background: var(--kt); border-radius: .28em;
  padding: .06em .22em .02em; margin: .04em 0;
  box-shadow: inset 0 -.1em 0 var(--k);
}
.sym svg { width: .62em; height: .62em; stroke: var(--ink); stroke-width: 2.3; margin: .04em 0 .02em; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sym-text { line-height: 1; padding-bottom: .1em; }

.hero-sub {
  display: grid; gap: 24px; align-items: end;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: clamp(22px, 3vw, 34px) 4px 0;
}
.hero-sub p { margin: 0; font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); max-width: 54ch; color: #FFFFFF; }
.hero-sub strong { color: var(--white); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .hero-sub { grid-template-columns: 1fr; } }

.board-wrap { margin-top: clamp(36px, 5vw, 60px); }
.board-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin: 0 4px 16px; }
.board-head h2 { color: var(--white); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); margin: 0; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin: 0; padding: 0; font-size: .92rem; color: #FFFFFF; }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.legend .key { width: 14px; height: 14px; border-radius: 4px; box-shadow: 0 0 0 2px rgba(255,255,255,.85); }

.board {
  background: #3D5CCB;
  border-radius: var(--r-lg);
  padding: clamp(12px, 1.6vw, 18px);
  box-shadow: inset 0 2px 0 rgba(0,0,0,.08), inset 0 0 0 1px rgba(255,255,255,.1);
}
.window {
  display: flex; align-items: center; gap: clamp(12px, 2vw, 20px);
  background: var(--white); color: var(--ink);
  border-radius: calc(var(--r-lg) - 10px);
  padding: 12px clamp(14px, 2vw, 22px) 12px 12px;
  min-height: 112px;
}
.speak {
  flex: none; width: 92px; height: 92px; padding: 0; border: 0; border-radius: 24px;
  background: var(--pale); cursor: pointer; position: relative;
  transition: background-color .2s, transform .3s var(--ease-out);
}
.speak:hover { background: var(--blue-tint); }
.speak:active { transform: scale(.96); }
.speak svg { width: 100%; height: 100%; }
.speak-hint {
  position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%);
  background: var(--ink); color: var(--white); font-family: var(--font-display); font-weight: 600;
  font-size: .68rem; letter-spacing: .02em; padding: 3px 8px; border-radius: 999px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 4px;
}
.speak-hint .icon { width: 11px; height: 11px; stroke-width: 2.6; }
.window-text { flex: 1; min-width: 0; }
.sentence {
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
  font-size: clamp(1.15rem, 1rem + 1.1vw, 1.75rem); line-height: 1.25; letter-spacing: -0.015em;
  margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .3em;
}
.sentence .chip {
  display: inline-flex; align-items: center; gap: .35em;
  background: var(--kt, var(--pale)); box-shadow: inset 0 -3px 0 var(--k, var(--line));
  border-radius: 10px; padding: .1em .45em .14em;
  animation: chip-in .5s var(--ease-out) both;
}
.sentence .chip svg { width: .9em; height: .9em; stroke: var(--k); }
.sentence .placeholder { color: #686C8C; font-weight: 500; }
.caret { display: inline-block; width: 3px; height: 1.1em; background: var(--blue); border-radius: 2px; animation: blink 1.1s steps(1) infinite; }
.reply { margin: 6px 0 0; font-size: 1rem; color: var(--text); min-height: 1.6em; }
.reply a { font-family: var(--font-display); font-weight: 600; }
.window-actions { display: flex; gap: 8px; flex: none; }
.window-actions .btn { white-space: nowrap; }
.clear-btn {
  border: 0; background: none; color: var(--muted); font: inherit; font-size: .9rem; cursor: pointer;
  text-decoration: underline; text-underline-offset: .2em; padding: 8px;
}
.clear-btn[hidden] { display: none; }

.tiles {
  list-style: none; margin: clamp(10px, 1.4vw, 16px) 0 0; padding: 0;
  display: grid; gap: clamp(8px, 1.2vw, 14px);
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.tile {
  width: 100%; height: 100%; min-height: 128px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 10px;
  padding: 26px 12px 16px; text-align: center;
  background: var(--kt); color: var(--ink);
  border: 0; border-radius: var(--r-md); cursor: pointer;
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--k) 45%, transparent), var(--shadow-tile);
  font-family: var(--font-display); font-weight: 500; font-size: clamp(.92rem, .85rem + .25vw, 1.02rem); line-height: 1.25;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .2s;
  position: relative;
}
.tile svg.sym-icon { --kt: #fff; width: 46px; height: 46px; margin-top: 6px; stroke: var(--ink); stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tile svg.sym-icon .fill { fill: var(--kt); stroke: none; }
.tile svg.sym-icon .accent { stroke: var(--k); }
.tile::before { content: ""; position: absolute; top: 9px; left: 12px; right: 12px; height: 8px; border-radius: 6px; background: var(--k); }
.tile:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 2px var(--k), var(--shadow-lift); }
.tile:active { transform: translateY(1px); }
.tile[aria-pressed="true"] {
  background: color-mix(in srgb, var(--k) 24%, white);
  box-shadow: inset 0 0 0 4px var(--k), var(--shadow-tile);
  transform: translateY(1px);
}
.tile[aria-pressed="true"]::after {
  content: ""; position: absolute; top: 16px; right: 12px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat;
}
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { min-height: 116px; padding: 16px 10px 14px; }
  .tile svg.sym-icon { width: 38px; height: 38px; }
  .window { flex-wrap: wrap; min-height: 0; }
  .speak { width: 72px; height: 72px; border-radius: 20px; }
  .window-actions { width: 100%; }
  .window-actions .btn { flex: 1; }
}

@keyframes blink { 50% { opacity: 0; } }
@keyframes chip-in { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- Buddy (speech bubble character) ---------- */
.buddy .eyes { transform-box: fill-box; transform-origin: center; animation: buddy-blink 5.5s infinite; }
.buddy .mouth-open { opacity: 0; }
.buddy.is-talking .mouth-open { animation: buddy-talk .32s steps(1) infinite; }
.buddy.is-talking .mouth-smile { animation: buddy-talk-inv .32s steps(1) infinite; }
.buddy .wave-arm { transform-box: fill-box; transform-origin: 0% 100%; }
.buddy.is-waving .wave-arm { animation: buddy-wave 1.4s var(--ease-out) 2; }
@keyframes buddy-blink { 0%, 94%, 100% { transform: scaleY(1); } 96.5% { transform: scaleY(.1); } }
@keyframes buddy-talk { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes buddy-talk-inv { 0% { opacity: 0; } 50% { opacity: 1; } }
@keyframes buddy-wave { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-16deg); } 50% { transform: rotate(8deg); } 75% { transform: rotate(-10deg); } }
@media (prefers-reduced-motion: reduce) {
  .buddy .eyes, .buddy.is-waving .wave-arm, .caret, .sentence .chip { animation: none !important; }
  .buddy.is-talking .mouth-open { animation: none; opacity: 1; }
  .buddy.is-talking .mouth-smile { animation: none; opacity: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--pale { background: var(--pale); }
.section--sand { background: var(--sky-tint); }
.section--lilac { background: var(--purple-tint); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { font-size: 1.15rem; color: var(--text); }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; }
.section-head--split > div { max-width: 640px; }

/* Who we support: door-frame growth chart */
.growth { position: relative; margin-top: 8px; }
.growth-ruler {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
}
.growth-ruler::before { /* the ruler */
  content: ""; position: absolute; left: 0; right: 0; top: 112px; height: 14px; border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, rgba(31,35,71,.28) 0 2px, transparent 2px 24px) 0 0 / 100% 7px no-repeat,
    var(--white);
  box-shadow: inset 0 0 0 1px rgba(142,160,205,.7);
}
.growth-ruler li { position: relative; padding: 0 20px 0 0; }
.growth-buddy { height: 112px; display: flex; align-items: flex-end; padding-bottom: 2px; }
.growth-buddy svg { height: var(--h); width: auto; }
.growth-mark { width: 3px; height: 34px; background: var(--blue); border-radius: 2px; margin: 0 0 16px 22px; position: relative; z-index: 1; }
.growth-ruler h3 { margin: 0 0 .25em; }
.growth-ruler p { font-size: 1.02rem; margin: 0; max-width: 30ch; }
.growth-note { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 28px; border-top: 1px dashed rgba(142,160,205,.8); }
.growth-note p { margin: 0; font-size: 1.08rem; }
@media (max-width: 860px) {
  .growth-ruler { grid-template-columns: 1fr; gap: 28px; padding-left: 38px; }
  .growth-ruler::before { left: 0; right: auto; top: 0; bottom: 0; width: 14px; height: auto;
    background:
      repeating-linear-gradient(180deg, rgba(31,35,71,.28) 0 2px, transparent 2px 24px) 0 0 / 7px 100% no-repeat,
      var(--white); }
  .growth-ruler li { display: grid; grid-template-columns: 64px 1fr; gap: 0 16px; align-items: start; padding: 0; }
  .growth-buddy { height: auto; grid-row: span 3; justify-content: center; align-items: flex-start; }
  .growth-buddy svg { height: calc(var(--h) * .6); }
  .growth-mark { display: none; }
}

/* Where: place switcher */
.places { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.place-tabs { display: grid; gap: 8px; }
.place-tab {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 14px 18px; border-radius: var(--r-md); border: 2px solid transparent;
  background: var(--white); color: var(--ink); cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem;
  box-shadow: var(--shadow-tile);
  transition: transform .3s var(--ease-out), border-color .2s, background-color .2s;
}
.place-tab svg { width: 34px; height: 34px; stroke: var(--blue); stroke-width: 2.1; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.place-tab small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .9rem; color: var(--muted); }
.place-tab:hover { transform: translateX(4px); }
.place-tab[aria-selected="true"] { border-color: var(--blue); background: var(--blue-tint); }
.place-panel {
  background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 44px);
  box-shadow: var(--shadow-tile); position: relative; overflow: hidden; min-height: 100%;
}
.place-panel[hidden] { display: none; }
.place-panel h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.place-panel .place-art { width: clamp(110px, 16vw, 160px); height: auto; margin-bottom: 18px; stroke: var(--blue); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.place-panel .place-art .fill { fill: var(--blue-tint); stroke: none; }
.place-panel .place-art .fill-p { fill: var(--purple-tint); stroke: none; }
.place-panel ul { padding-left: 1.1em; margin: 0 0 1em; }
.place-panel li { margin-bottom: .3em; }
.place-panel li::marker { color: var(--purple); }
.place-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--pale); color: var(--ink); font-size: .92rem; font-family: var(--font-display); font-weight: 500; }
.pill .icon { width: 1em; height: 1em; color: var(--blue); }
@media (max-width: 860px) {
  .places { grid-template-columns: 1fr; }
  .place-tabs { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding: 4px 4px 12px; margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-snap-type: x mandatory; }
  .place-tabs { scrollbar-width: none; }
  .place-tabs::-webkit-scrollbar { display: none; }
  .place-tab { scroll-snap-align: start; padding: 10px 16px; font-size: 1rem; }
  .place-tab small { display: none; }
  .place-tab svg { width: 26px; height: 26px; }
  .place-tab:hover { transform: none; }
}

/* Getting started: visual schedule */
.schedule { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: step; position: relative; }
.schedule::before { content: ""; position: absolute; left: 6%; right: 6%; top: 44px; border-top: 3px dotted var(--sky); }
.schedule li { position: relative; text-align: center; padding: 0 6px; }
.step-badge {
  position: relative; z-index: 1;
  width: 88px; height: 88px; margin: 0 auto 16px; border-radius: 26px;
  display: grid; place-items: center;
  background: var(--white); box-shadow: inset 0 6px 0 var(--k, var(--blue)), var(--shadow-tile);
}
.step-badge svg { width: 40px; height: 40px; stroke: var(--ink); stroke-width: 2.1; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.step-badge::after {
  counter-increment: step; content: counter(step);
  position: absolute; top: -10px; right: -10px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue); color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  display: grid; place-items: center;
}
.schedule h3 { font-size: 1.15rem; margin-bottom: .3em; }
.schedule p { font-size: 1rem; margin: 0; }
.start-foot { margin-top: clamp(36px, 4vw, 52px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.start-foot p { margin: 0; color: var(--muted); }
@media (max-width: 900px) {
  .schedule { grid-template-columns: 1fr; gap: 18px; }
  .schedule::before { left: 43px; right: auto; top: 20px; bottom: 20px; border-top: 0; border-left: 3px dotted var(--sky); }
  .schedule li { display: grid; grid-template-columns: 88px 1fr; gap: 0 20px; text-align: left; align-items: center; padding: 0; }
  .step-badge { margin: 0; grid-row: span 2; }
  .schedule h3 { align-self: end; }
  .schedule p { align-self: start; }
}

/* Funding rows */
.pathways { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.pathway {
  display: grid; grid-template-columns: minmax(150px, 3fr) minmax(0, 6fr) auto; gap: 12px 32px; align-items: center;
  padding: clamp(20px, 2.4vw, 30px) 0; border-bottom: 1px solid rgba(31,35,71,.2);
  text-decoration: none; color: inherit;
}
a.pathway:hover h3 { color: var(--purple-deep); }
a.pathway:hover .icon { transform: translateX(6px); }
.pathway h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); margin: 0; transition: color .2s; }
.pathway p { margin: 0; font-size: 1.08rem; }
.pathway .icon { width: 32px; height: 32px; color: var(--purple-deep); transition: transform .3s var(--ease-out); }
@media (max-width: 720px) { .pathway { grid-template-columns: 1fr auto; } .pathway p { grid-column: 1 / -1; grid-row: 2; } }

/* Team faces */
.faces { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px; }
.face-row { display: flex; padding-left: 14px; }
.face-row img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 4px solid var(--white); margin-left: -14px; background: var(--pale); box-shadow: 0 8px 16px -10px rgba(31,35,71,.6); }
.faces > div:last-child { flex: 1 1 380px; }
@media (max-width: 520px) { .face-row img { width: 54px; height: 54px; border-width: 3px; margin-left: -10px; } .face-row { padding-left: 10px; } }
.faces p { margin: 0 0 .8em; max-width: 52ch; }

/* Close band */
.close-band { background: var(--blue); color: var(--white); padding-block: clamp(56px, 8vw, 104px); position: relative; overflow: hidden; }
.close-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.close-band h2 { color: var(--white); font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); margin-bottom: .3em; }
.close-band p { color: #FFFFFF; font-size: 1.15rem; max-width: 52ch; }
.close-buddy { width: clamp(150px, 20vw, 240px); }
.close-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.close-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.3); font-size: 1rem; color: #FFFFFF; }
.close-facts span { display: inline-flex; align-items: center; gap: 8px; }
.close-facts .icon { color: var(--white); }
.close-facts a { color: var(--white); }
@media (max-width: 720px) { .close-grid { grid-template-columns: 1fr; } .close-buddy { width: 140px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-deep); color: #EEF1FF; padding: clamp(48px, 6vw, 80px) 0 32px; font-size: 1rem; }
.site-footer a { color: var(--white); text-decoration-color: rgba(255,255,255,.4); }
.site-footer a:hover { color: var(--white); text-decoration-color: var(--white); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand img { width: 120px; height: 120px; margin-bottom: 18px; }
.footer-brand p { max-width: 36ch; }
.site-footer h2 { font-size: 1rem; color: var(--white); letter-spacing: 0; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.acknowledgement { margin-top: 48px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); display: flex; gap: 20px; align-items: flex-start; }
.acknowledgement p { margin: 0; max-width: 90ch; color: #FFFFFF; }
.flags { display: flex; gap: 6px; flex: none; padding-top: 4px; }
.flags span { width: 30px; height: 20px; border-radius: 3px; display: block; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 24px; font-size: .9rem; color: #E8ECFF; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--kt, var(--pale)); padding: clamp(32px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--k, var(--blue)); }
.crumbs { font-size: .95rem; margin-bottom: 20px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 56px; align-items: center; }
.page-hero h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4rem); letter-spacing: -0.03em; margin-bottom: .3em; }
.page-hero .lede { font-size: clamp(1.12rem, 1rem + .45vw, 1.35rem); color: var(--ink); max-width: 56ch; margin-bottom: 1.2em; }
.page-hero .also { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); color: var(--muted); letter-spacing: -0.01em; margin-top: .25em; }
.page-hero .hero-buddy { width: clamp(150px, 20vw, 250px); }
.page-hero .hero-actions { margin-top: 4px; }
@media (max-width: 760px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero .hero-buddy { width: 130px; grid-row: 1; } }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.content-grid > aside { position: sticky; top: 100px; }
@media (max-width: 960px) { .content-grid { grid-template-columns: 1fr; } .content-grid > aside { position: static; } }
.prose h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.2rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--k, var(--purple)); }

/* Is this my child? */
.signs { background: var(--white); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); box-shadow: inset 0 8px 0 var(--k, var(--blue)), var(--shadow-tile); margin: 0 0 clamp(40px, 5vw, 64px); }
.signs h2 { margin-top: 6px !important; }
.signs > p { color: var(--muted); }
.sign-list, .prose .sign-list { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 10px; }
@media (max-width: 520px) { .signs { padding: 20px 16px; } .sign { padding: 12px; } }
.sign {
  display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: 14px;
  background: var(--pale); cursor: pointer; transition: background-color .2s;
}
.sign:hover { background: var(--kt, var(--blue-tint)); }
.sign input { appearance: none; -webkit-appearance: none; flex: none; width: 26px; height: 26px; margin: 1px 0 0; border-radius: 8px; border: 2px solid var(--ink); background: var(--white); cursor: pointer; display: grid; place-items: center; transition: background-color .15s; }
.sign input::after { content: ""; width: 12px; height: 7px; border-left: 3px solid var(--white); border-bottom: 3px solid var(--white); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.sign input:checked { background: var(--blue); border-color: var(--blue); }
.sign input:checked::after { opacity: 1; }
.sign:has(input:checked) { background: var(--kt, var(--blue-tint)); box-shadow: inset 0 0 0 2px var(--k, var(--blue)); }
.sign span { color: var(--ink); }
.signs-reply { margin-top: 16px; padding: 18px 20px; border-radius: 16px; background: var(--blue); color: #FFFFFF; display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.signs-reply[hidden] { display: none; }
.signs-reply p { margin: 0; flex: 1 1 280px; }
.signs-reply strong { color: var(--white); }

.how-list { list-style: none; padding: 0 !important; margin: 0 0 1em; display: grid; gap: 18px; }
.how-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; margin: 0; }
.how-list .dot { width: 44px; height: 44px; border-radius: 14px; background: var(--kt, var(--blue-tint)); display: grid; place-items: center; box-shadow: inset 0 -3px 0 var(--k, var(--blue)); }
.how-list .dot svg { width: 24px; height: 24px; stroke: var(--ink); stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.how-list strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; margin-bottom: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; margin: 0 0 1em; }
.chips li { margin: 0; }
.chips a, .chips span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: var(--white); border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 500; font-size: .98rem; }
.chips a:hover { border-color: var(--blue); }
.chips svg { width: 20px; height: 20px; stroke: var(--blue); stroke-width: 2.1; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* FAQ */
.faq { border-top: 2px solid var(--ink); margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 2px; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--kt, var(--pale));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F2347' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E");
  background-size: 18px; background-position: center; background-repeat: no-repeat;
  transition: transform .3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue-deep); }
.faq .answer { padding: 0 2px 22px; max-width: 66ch; }
.faq .answer p:last-child { margin-bottom: 0; }

/* Aside card */
.aside-card { background: var(--blue); color: #FFFFFF; border-radius: var(--r-lg); padding: 28px; }
.aside-card h2 { color: var(--white); font-size: 1.35rem; margin: 0 0 .5em; }
.aside-card p { font-size: 1rem; }
.aside-card .btn { width: 100%; margin-top: 4px; }
.aside-card .aside-phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: var(--white); font-family: var(--font-display); font-weight: 600; text-decoration: none; }
.aside-card small { display: block; text-align: center; color: #FFFFFF; margin-top: 4px; font-size: .88rem; }
.aside-links { margin-top: 20px; padding: 22px 24px; border-radius: var(--r-md); background: var(--pale); }
.aside-links h2 { font-size: 1.05rem; margin: 0 0 10px; }
.aside-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.aside-links a { display: flex; align-items: center; gap: 10px; padding: 6px 0; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 500; font-size: .98rem; }
.aside-links a:hover { color: var(--blue-deep); }
.aside-links .key { width: 14px; height: 14px; border-radius: 4px; flex: none; }

/* Services index */
.svc-groups { display: grid; gap: clamp(40px, 5vw, 64px); }
.svc-group h2 { display: flex; align-items: center; gap: 14px; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.svc-group h2 .key { width: 18px; height: 18px; border-radius: 5px; flex: none; }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.svc-link {
  display: grid; grid-template-columns: 56px 1fr; gap: 6px 16px; align-items: start; height: 100%;
  padding: 22px 22px 22px 18px; border-radius: var(--r-md); background: var(--white); text-decoration: none; color: var(--text);
  box-shadow: inset 0 6px 0 var(--k), var(--shadow-tile); transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.svc-link:hover { transform: translateY(-3px); box-shadow: inset 0 6px 0 var(--k), var(--shadow-lift); color: var(--text); }
.svc-link svg { width: 48px; height: 48px; grid-row: span 2; stroke: var(--ink); stroke-width: 2.1; fill: none; stroke-linecap: round; stroke-linejoin: round; margin-top: 4px; }
.svc-link svg .fill { fill: var(--kt); stroke: none; }
.svc-link svg .accent { stroke: var(--k); }
.svc-link strong { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.svc-link span { font-size: 1rem; }

/* Funding page */
.picker { background: var(--white); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-tile); margin-top: 8px; }
.picker h2 { font-size: 1.35rem; margin-bottom: 14px; }
.picker-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.picker-options button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-align: left;
  padding: 16px; border-radius: 16px; border: 2px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.25;
  transition: border-color .2s, background-color .2s, transform .3s var(--ease-out);
}
.picker-options button svg { width: 30px; height: 30px; stroke: var(--purple-deep); stroke-width: 2.1; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.picker-options button:hover { border-color: var(--purple); transform: translateY(-2px); }
.picker-options button[aria-pressed="true"] { border-color: var(--purple-deep); background: var(--purple-tint); }
@media (max-width: 860px) { .picker-options { grid-template-columns: 1fr 1fr; } }
.fund-section { scroll-margin-top: 110px; padding: clamp(28px, 3.5vw, 44px); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-tile); margin-bottom: 20px; transition: box-shadow .4s var(--ease-out); }
.fund-section.is-highlight { box-shadow: 0 0 0 3px var(--purple-deep), var(--shadow-lift); }
.fund-section h2 { display: flex; align-items: center; gap: 14px; margin-top: 0 !important; }
.fund-section h2 svg { width: 40px; height: 40px; stroke: var(--purple-deep); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.fund-steps { counter-reset: fs; list-style: none; padding: 0 !important; display: grid; gap: 12px; margin: 1em 0; }
.fund-steps li { counter-increment: fs; display: grid; grid-template-columns: 34px 1fr; gap: 12px; margin: 0; }
.fund-steps li::before { content: counter(fs); width: 34px; height: 34px; border-radius: 10px; background: var(--purple-tint); color: var(--purple-deep); font-family: var(--font-display); font-weight: 600; display: grid; place-items: center; box-shadow: inset 0 -3px 0 var(--purple); }
.note { background: var(--pale); border-radius: 14px; padding: 16px 18px; font-size: 1rem; }
.note p:last-child { margin: 0; }

/* Team page */
.cpsp { display: flex; align-items: center; gap: clamp(20px, 3vw, 36px); background: var(--white); border-radius: var(--r-lg); padding: clamp(18px, 2.5vw, 28px) clamp(20px, 3vw, 36px); box-shadow: var(--shadow-tile); margin-bottom: clamp(40px, 5vw, 64px); max-width: 860px; }
.cpsp img { width: clamp(150px, 18vw, 200px); height: auto; flex: none; }
.cpsp p { margin: 0; font-size: 1.03rem; max-width: 56ch; }
@media (max-width: 560px) { .cpsp { flex-direction: column; align-items: flex-start; } }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.member { display: flex; flex-direction: column; }
.member-photo { position: relative; margin-bottom: 20px; }
.member-photo img {
  width: 100%; aspect-ratio: 1 / .92; object-fit: cover; object-position: center; background: var(--pale);
  -webkit-mask: url("../img/bubble-mask.svg") center / 100% 100% no-repeat;
          mask: url("../img/bubble-mask.svg") center / 100% 100% no-repeat;
}
.member-role { font-family: var(--font-display); font-weight: 500; color: var(--purple-deep); margin: -.2em 0 .6em; font-size: 1.02rem; }
.member h2 { font-size: 1.6rem; margin-bottom: .2em; }
.member p { font-size: 1.03rem; }
.member .quals { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 14px; }
.member .quals li { font-size: .86rem; padding: 4px 10px; border-radius: 999px; background: var(--pale); color: var(--ink); font-family: var(--font-display); font-weight: 500; }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); margin-top: 24px; }
.values div { padding: 24px 24px 8px 0; }
.values div + div { padding-left: 24px; border-left: 1px solid rgba(31,35,71,.2); }
.values h3 { margin-bottom: .35em; }
.values p { font-size: 1rem; margin: 0; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr 1fr; } .values div:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } .values div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(31,35,71,.2); } }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.contact-list .dot { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-tint); display: grid; place-items: center; }
.contact-list .dot .icon { color: var(--blue-deep); width: 24px; height: 24px; }
.contact-list strong { display: block; font-family: var(--font-display); font-weight: 600; }
.contact-list p { margin: 0; }
.map { border: 0; width: 100%; aspect-ratio: 4 / 3.2; border-radius: var(--r-lg); box-shadow: var(--shadow-tile); background: var(--pale); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* 404 */
.lost { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: var(--section); }
.lost svg { width: 200px; margin: 0 auto 20px; }
.lost h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.lost .hero-actions { justify-content: center; }

/* Funding picker as board tiles */
.picker-options button { position: relative; padding-top: 26px; background: var(--purple-tint); border-color: transparent; box-shadow: inset 0 0 0 2px rgba(174,106,180,.45); }
.picker-options button::before { content: ""; position: absolute; top: 9px; left: 12px; right: 12px; height: 8px; border-radius: 6px; background: var(--purple); }
.picker-options button svg { --kt: #fff; }
.picker-options button[aria-pressed="true"] { background: var(--white); box-shadow: inset 0 0 0 4px var(--purple-deep); }

/* Ages on the growth ruler, like height marks on a door frame */
.growth-mark span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--purple-deep); background: var(--sky-tint); padding: 0 6px; border-radius: 6px; }
.age-inline { display: none; }
@media (max-width: 860px) { .age-inline { display: inline; color: var(--purple-deep); } }
/* Board in its own section (below "From first words to final exams") */
.board-section { padding: clamp(48px, 7vw, 96px) 0; }
.board-section .board-wrap { margin-top: 0; }
.speak { cursor: default; }
.speak:hover { background: var(--pale); }
.speak:active { transform: none; }
/* Team faces grow on hover */
.face-row img { position: relative; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.face-row img:hover { transform: scale(1.45); z-index: 2; box-shadow: 0 14px 26px -12px rgba(31,35,71,.6); }
@media (prefers-reduced-motion: reduce) { .face-row img { transition: none; } }
/* Board tiles use brand colours only: blue and purple in a checkerboard by position */
.tiles li:nth-child(odd) .tile  { --k: var(--blue);   --kt: var(--blue-tint); }
.tiles li:nth-child(even) .tile { --k: var(--purple); --kt: var(--purple-tint); }
@media (max-width: 640px) {
  .tiles li:nth-child(4n+1) .tile, .tiles li:nth-child(4n) .tile     { --k: var(--blue);   --kt: var(--blue-tint); }
  .tiles li:nth-child(4n+2) .tile, .tiles li:nth-child(4n+3) .tile   { --k: var(--purple); --kt: var(--purple-tint); }
}
/* CPSP block now sits at the bottom of the team page */
.section .cpsp:last-child { margin: 0 auto; }

/* Non-enquiry actions (orange stays reserved for the Enquiry Form) */
.btn--blue { --btn-bg: var(--blue); --btn-fg: var(--white); box-shadow: 0 2px 0 rgba(0,0,0,.08), 0 10px 20px -12px rgba(52,80,190,.7); }
.btn--blue:hover { --btn-bg: var(--blue-deep); }
.btn--white { --btn-bg: var(--white); --btn-fg: var(--blue-deep); box-shadow: 0 2px 0 rgba(0,0,0,.08); }
.btn--white:hover { --btn-bg: var(--blue-tint); --btn-fg: var(--blue-deep); }

/* Join the team: roles */
.roles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.roles li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 30px 22px 22px; border-radius: var(--r-md); background: var(--blue-tint); box-shadow: inset 0 0 0 2px rgba(71,104,219,.35); font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--ink); line-height: 1.25; }
.roles li:nth-child(even) { background: var(--purple-tint); box-shadow: inset 0 0 0 2px rgba(174,106,180,.4); }
.roles li::before { content: ""; position: absolute; top: 10px; left: 14px; right: 14px; height: 8px; border-radius: 6px; background: var(--blue); }
.roles li:nth-child(even)::before { background: var(--purple); }
.roles svg { --kt: #fff; width: 48px; height: 48px; stroke: var(--ink); stroke-width: 2.1; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.roles small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .95rem; color: var(--text); margin-top: 4px; }
@media (max-width: 900px) { .roles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .roles { grid-template-columns: 1fr; } }
.nav-link, .nav-trigger { white-space: nowrap; }

/* Keep the brand name and menu on one line */
.brand { flex: none; }
.brand-name { white-space: nowrap; }
.nav-phone { flex: none; }
.header-cta { flex: none; white-space: nowrap; }@media (max-width: 1240px) { .header-inner { gap: 14px; } .nav-link, .nav-trigger { padding-inline: 10px; } }

/* Board tiles: words only, no icons */
.tile { min-height: 104px; justify-content: center; padding: 30px 14px 18px; font-size: clamp(1rem, .92rem + .3vw, 1.12rem); font-weight: 600; }
@media (max-width: 640px) { .tile { min-height: 92px; padding: 28px 10px 14px; } }
/* Getting started: the buddy at each step, no numbers */
.schedule { counter-reset: none; }
.schedule::before { top: 52px; }
.step-buddy { position: relative; z-index: 1; width: 104px; height: 104px; margin: 0 auto 14px; display: grid; place-items: center; }
.step-buddy svg { width: 100%; height: 100%; }
@media (max-width: 900px) {
  .schedule::before { left: 47px; }
  .schedule li { grid-template-columns: 96px 1fr; }
  .step-buddy { width: 96px; height: 96px; margin: 0; grid-row: span 2; }
}
/* Services index: one list, brand colours alternating, no icons */
.svc-list--plain .svc-link { display: flex; flex-direction: column; gap: 6px; padding: 30px 24px 24px; position: relative; background: var(--blue-tint); box-shadow: inset 0 0 0 2px rgba(71,104,219,.3), var(--shadow-tile); }
.svc-list--plain .svc-link::before { content: ""; position: absolute; top: 10px; left: 14px; right: 14px; height: 8px; border-radius: 6px; background: var(--blue); }
.svc-list--plain li:nth-child(even) .svc-link { background: var(--purple-tint); box-shadow: inset 0 0 0 2px rgba(174,106,180,.35), var(--shadow-tile); }
.svc-list--plain li:nth-child(even) .svc-link::before { background: var(--purple); }
.svc-list--plain .svc-link:hover { transform: translateY(-3px); }
/* Simplified service page */
.how-plain { list-style: none; padding: 0 !important; margin: 0 0 1.4em; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.how-plain li { position: relative; margin: 0; padding: 30px 18px 18px; border-radius: var(--r-md); background: var(--blue-tint); box-shadow: inset 0 0 0 2px rgba(71,104,219,.3); font-size: 1rem; }
.how-plain li:nth-child(even) { background: var(--purple-tint); box-shadow: inset 0 0 0 2px rgba(174,106,180,.35); }
.how-plain li::before { content: ""; position: absolute; top: 10px; left: 14px; right: 14px; height: 8px; border-radius: 6px; background: var(--blue); }
.how-plain li:nth-child(even)::before { background: var(--purple); }
.how-plain strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; margin-bottom: 4px; }
.session-line { padding: 18px 20px; border-radius: 16px; background: var(--pale); font-size: 1.02rem; }
@media (max-width: 760px) { .how-plain { grid-template-columns: 1fr; } }
/* How we help: plain text at reading size (replaces the small-text cards) */
.how-plain { display: block; margin: 0 0 1em; }
.how-plain li { padding: 0; background: none; box-shadow: none; border-radius: 0; font-size: inherit; margin: 0 0 .7em; }
.how-plain li::before { content: none; }
.how-plain li:nth-child(even) { background: none; box-shadow: none; }
.how-plain strong { display: inline; font-family: var(--font-display); font-weight: 600; font-size: inherit; margin: 0; color: var(--ink); }

.session-line { padding: 0; background: none; border-radius: 0; font-size: inherit; }

/* Funding page: readable text sizes */
.picker-options button { font-size: 1.08rem; }
.note { font-size: inherit; }
.aside-card p { font-size: 1.06rem; }
.aside-card small { font-size: .95rem; }
.fund-steps li { font-size: inherit; }
/* Funding notes: plain paragraphs, no shaded box */
.note { background: none; padding: 0; border-radius: 0; margin: 0 0 1em; }

/* Sidebar enquiry box: light, calm */
.aside-card { background: var(--white); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line), 0 10px 24px -18px rgba(31,35,71,.35); }
.aside-card h2 { color: var(--ink); }
.aside-card .aside-phone { color: var(--ink); }
.aside-card .aside-phone .icon { color: var(--blue); }
.aside-card small { color: var(--muted); }
/* Enquiry buttons: brand gradient (blue to purple), matching the current site */
.btn:not(.btn--ghost):not(.btn--line):not(.btn--blue):not(.btn--white) {
  background: linear-gradient(90deg, #4768DB 0%, #9B5CA2 100%);
  border-color: transparent;
  box-shadow: 0 2px 0 rgba(0,0,0,.06), 0 10px 22px -12px rgba(110, 80, 190, .75);
}
.btn:not(.btn--ghost):not(.btn--line):not(.btn--blue):not(.btn--white):hover {
  background: linear-gradient(90deg, #3450BE 0%, #874A8D 100%);
}
.on-dark .btn:not(.btn--ghost):not(.btn--line):not(.btn--blue):not(.btn--white) {
  box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 10px 22px -12px rgba(20, 30, 90, .6);
}
/* Enquiry buttons on blue sections: white pill so it stands out */
.on-dark .btn:not(.btn--ghost):not(.btn--line):not(.btn--blue):not(.btn--white) {
  background: var(--white);
  color: var(--blue-deep);
  box-shadow: 0 2px 0 rgba(0,0,0,.08), 0 12px 24px -12px rgba(15, 25, 80, .7);
}
.on-dark .btn:not(.btn--ghost):not(.btn--line):not(.btn--blue):not(.btn--white):hover {
  background: var(--blue-tint);
  color: var(--blue-deep);
}.signs-reply .btn:not(.btn--ghost):not(.btn--line):not(.btn--blue):not(.btn--white) { background: var(--white); color: var(--blue-deep); box-shadow: 0 2px 0 rgba(0,0,0,.08); }
.signs-reply .btn:not(.btn--ghost):not(.btn--line):not(.btn--blue):not(.btn--white):hover { background: var(--blue-tint); }
