/* Behaviourlytics website styles.
   Layout: one centred 1180px column with an unhurried section rhythm. Photos sit in
   arched frames, like a doorway into family life, and a soft lightbulb glow (the
   "Learn Brighter" mark) warms the moments that matter. */

:root {
  /* Colour: her brand teal and coral on a mist ground with a teal bias */
  --paper: #F5F9F8;
  --surface: #FFFFFF;
  --blush: #FFF1EF;
  --sun: #FFF1CC;
  --ink: #16302D;
  --ink-soft: #4B5F5C;
  --line: #DCE7E5;
  --teal: #2E706D;
  --teal-deep: #235956;
  --on-teal: #FFFFFF;
  --tint: rgb(46 112 109 / 0.09);
  --leaf: #1DA489;
  --coral: #FE9D98;
  --rose: #B0444F;
  --shadow: 22 48 45;
  --img-dim: 1;
  --footer-bg: #0F2A27;
  --footer-ink: #E6F0EE;
  --footer-soft: #A9C3BE;
  --footer-line: rgb(230 240 238 / 0.14);
  --band-ink: #16302D;
  --band-veil: rgb(255 249 246 / 0.8);

  /* Type: a characterful grotesque for display, Lexend (built for easier reading) for text */
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Lexend", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body-weight: 370;
  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.88rem);
  --step-0: clamp(1rem, 0.98rem + 0.12vw, 1.0625rem);
  --step-1: clamp(1.16rem, 1.1rem + 0.3vw, 1.32rem);
  --step-2: clamp(1.38rem, 1.27rem + 0.55vw, 1.75rem);
  --step-3: clamp(1.85rem, 1.55rem + 1.4vw, 2.85rem);
  --step-4: clamp(2.25rem, 1.75rem + 2.4vw, 3.85rem);
  --step-5: clamp(2.55rem, 1.85rem + 3.3vw, 4.85rem);

  /* Shape and space */
  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 30px;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 124px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0C1918;
    --surface: #122321;
    --blush: #1A1E1F;
    --sun: #3A3020;
    --ink: #E7F0EE;
    --ink-soft: #A2B6B2;
    --line: #24403C;
    --teal: #74C7BA;
    --teal-deep: #95D7CC;
    --on-teal: #06201D;
    --tint: rgb(116 199 186 / 0.1);
    --leaf: #3CC2A6;
    --coral: #F2A19B;
    --rose: #F4A3A8;
    --shadow: 0 0 0;
    --img-dim: 0.9;
    --footer-bg: #081110;
    --footer-ink: #E6F0EE;
    --footer-soft: #9DB5B0;
    --footer-line: rgb(230 240 238 / 0.1);
    --body-weight: 330;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #0C1918;
  --surface: #122321;
  --blush: #1A1E1F;
  --sun: #3A3020;
  --ink: #E7F0EE;
  --ink-soft: #A2B6B2;
  --line: #24403C;
  --teal: #74C7BA;
  --teal-deep: #95D7CC;
  --on-teal: #06201D;
  --tint: rgb(116 199 186 / 0.1);
  --leaf: #3CC2A6;
  --coral: #F2A19B;
  --rose: #F4A3A8;
  --shadow: 0 0 0;
  --img-dim: 0.9;
  --footer-bg: #081110;
  --footer-ink: #E6F0EE;
  --footer-soft: #9DB5B0;
  --footer-line: rgb(230 240 238 / 0.1);
  --body-weight: 330;
  color-scheme: dark;
}

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

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

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

/* The soft glows reach past the edges on purpose; clip them here so a phone never
   widens the page (which would also knock the sticky header out of place). */
main {
  display: block;
  overflow-x: clip;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h2 {
  font-size: var(--step-3);
}

h3 {
  font-size: var(--step-2);
  letter-spacing: -0.015em;
}

p {
  margin: 0;
  text-wrap: pretty;
}

strong {
  font-weight: 550;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.2s, text-decoration-thickness 0.2s;
}

a:hover {
  color: var(--teal-deep);
  text-decoration-thickness: 2px;
}

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

::selection {
  background: color-mix(in srgb, var(--coral) 45%, transparent);
  color: var(--ink);
}

[hidden] {
  display: none !important;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--on-teal);
  text-decoration: none;
}

.skip-link:focus {
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  color: var(--on-teal);
}

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

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

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 50px;
  padding: 0.8em 1.4em;
  border: 1.5px solid var(--btn-border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 500 1rem/1.15 var(--font-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}

.btn:hover {
  color: var(--btn-fg);
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn .icon {
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.25s var(--ease);
}

.btn:hover .icon-arrow {
  transform: translateX(3px);
}

.btn:hover .icon-out {
  transform: translate(2px, -2px);
}

.btn-primary {
  --btn-bg: var(--teal);
  --btn-fg: var(--on-teal);
  box-shadow: 0 12px 26px -16px rgb(var(--shadow) / 0.6);
}

.btn-primary:hover {
  --btn-bg: var(--teal-deep);
  transform: translateY(-1px);
}

.btn-ghost {
  --btn-fg: var(--ink);
  --btn-border: var(--line);
  --btn-bg: color-mix(in srgb, var(--surface) 70%, transparent);
}

.btn-ghost:hover {
  --btn-fg: var(--teal);
  --btn-border: var(--teal);
}

.btn-sm {
  min-height: 42px;
  padding: 0.6em 1.15em;
  font-size: 0.93rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 500;
  text-decoration: none;
}

.link-arrow .icon {
  width: 1.05em;
  height: 1.05em;
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover {
  text-decoration: underline;
}

.link-arrow:hover .icon {
  transform: translateX(3px);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgb(var(--shadow) / 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
  color: var(--leaf);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand:hover .brand-rays {
  animation: rays 0.9s var(--ease);
}

.brand-text {
  display: grid;
  gap: 5px;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.34rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.brand-tag {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.96rem;
  font-weight: 420;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

.nav-link:hover {
  color: var(--ink);
  background: var(--tint);
}

.nav-link[aria-current="page"] {
  color: var(--teal);
  font-weight: 500;
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
  transform: translateX(-50%);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle .icon {
  width: 22px;
  height: 22px;
}

.menu-toggle .icon-close,
.site-header.nav-open .menu-toggle .icon-menu {
  display: none;
}

.site-header.nav-open .menu-toggle .icon-close {
  display: block;
}

@media (max-width: 1120px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 8px var(--gutter) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgb(var(--shadow) / 0.45);
  }

  .site-header.nav-open .site-nav {
    display: grid;
    gap: 18px;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    padding: 15px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.12rem;
  }

  .nav-link:hover {
    background: none;
  }

  .nav-link[aria-current="page"]::after {
    left: auto;
    right: 6px;
    top: 50%;
    bottom: auto;
    width: 7px;
    height: 7px;
    transform: translateY(-50%);
  }

  .nav-actions {
    display: grid;
    gap: 10px;
  }

  .nav-actions .btn {
    width: 100%;
    min-height: 52px;
    font-size: 1rem;
  }
}

/* ---------- Shared section pieces ---------- */

.section {
  position: relative;
  padding-block: var(--section);
}

.section-blush {
  background: var(--blush);
}

.section-surface {
  background: var(--surface);
}

.section-tight {
  padding-block: clamp(40px, 6vw, 72px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  color: var(--rose);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* Three little rays, borrowed from the lightbulb mark */
.eyebrow::before {
  content: "";
  width: 10px;
  height: 14px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 14' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M1.6 1.6l3 3M1 7h4.4M1.6 12.4l3-3'/%3E%3C/svg%3E") left center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 14' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M1.6 1.6l3 3M1 7h4.4M1.6 12.4l3-3'/%3E%3C/svg%3E") left center / contain no-repeat;
}

.section-head {
  display: grid;
  gap: 16px;
  max-width: 46rem;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.section-head-center {
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.lead {
  color: var(--ink-soft);
  font-size: var(--step-1);
  line-height: 1.6;
}

.prose {
  display: grid;
  gap: 1.05em;
}

.prose p {
  max-width: 64ch;
}

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

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
}

.split > * {
  min-width: 0;
}

.split-media-first .split-media {
  order: -1;
}

.split-chart {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5vw, 72px);
}

.stack {
  display: grid;
  gap: 22px;
  align-content: start;
}

.ticks {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.ticks .icon {
  width: 20px;
  height: 20px;
  margin-top: 0.15em;
  color: var(--teal);
  stroke-width: 2;
}

.ticks strong {
  color: var(--ink);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 450;
  line-height: 1.35;
}

/* ---------- Photo frames ---------- */

.arch {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  border-radius: 999px 999px var(--radius-l) var(--radius-l);
  background: var(--blush);
  box-shadow: 0 34px 60px -38px rgb(var(--shadow) / 0.55);
}

.arch img,
.frame img,
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(var(--img-dim));
}

.frame {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1;
  max-width: 100%;
  border-radius: var(--radius-l);
  background: var(--blush);
}

.media-glow {
  position: relative;
  isolation: isolate;
}

.media-glow::before {
  content: "";
  position: absolute;
  inset: -16% -18% -8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--sun), color-mix(in srgb, var(--coral) 34%, transparent) 58%, transparent);
  filter: blur(6px);
}

.arch-wrap {
  justify-self: center;
  width: min(100%, 440px);
}

/* ---------- Home hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(36px, 6vw, 84px) clamp(56px, 8vw, 104px);
  overflow: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.hero-copy {
  display: grid;
  gap: 24px;
  justify-items: start;
}

.hero h1 {
  font-size: var(--step-5);
  font-weight: 680;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hl {
  position: relative;
  color: var(--teal);
  white-space: nowrap;
}

.hl-swash {
  position: absolute;
  left: -3%;
  bottom: -0.16em;
  width: 106%;
  height: 0.34em;
  overflow: visible;
  fill: none;
  stroke: var(--coral);
  stroke-width: 7;
  stroke-linecap: round;
}

.hero-lead {
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: var(--step-1);
  line-height: 1.6;
}

.hero-note {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.hero-note .icon {
  color: var(--leaf);
}

.hero-media {
  position: relative;
  justify-self: center;
  width: min(100%, 470px);
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  inset: -20% -26% -12%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--sun), color-mix(in srgb, var(--coral) 38%, transparent) 55%, transparent);
  filter: blur(8px);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 260px;
  padding: 13px 16px 13px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--surface);
  box-shadow: 0 22px 44px -26px rgb(var(--shadow) / 0.55);
  font-size: 0.86rem;
  line-height: 1.35;
}

.float-card p {
  min-width: 0;
}

.float-card strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.float-sub {
  display: block;
  color: var(--ink-soft);
}

.float-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 14px;
  background: var(--tint);
  color: var(--teal);
}

.float-icon .icon {
  width: 22px;
  height: 22px;
}

.float-card-award {
  left: -14%;
  bottom: 9%;
}

.float-card-bcba {
  right: -9%;
  top: 7%;
}

/* ---------- Trust row ---------- */

.trust {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-block: 0;
  padding: 0;
  list-style: none;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 28px clamp(16px, 2vw, 26px);
}

.trust-item + .trust-item {
  border-left: 1px solid var(--line);
}

.trust-item .icon {
  width: 26px;
  height: 26px;
  margin-top: 2px;
  color: var(--leaf);
}

.trust-item strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.trust-item span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

/* ---------- Pillars (home: how it works) ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.pillar {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 22px;
  padding: 12px 12px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--surface);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px -36px rgb(var(--shadow) / 0.6);
}

.pillar-photo {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  border-radius: calc(var(--radius-l) - 10px);
  background: var(--blush);
}

.pillar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(var(--img-dim));
  transition: transform 0.7s var(--ease);
}

.pillar:hover .pillar-photo img {
  transform: scale(1.04);
}

.pillar-body {
  display: grid;
  gap: 14px;
  align-content: start;
  padding-inline: clamp(8px, 1.4vw, 16px);
}

.pillar-num {
  color: var(--rose);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.pillar h3 {
  font-size: var(--step-2);
}

.after-grid {
  margin-top: clamp(28px, 4vw, 44px);
}

/* ---------- Service levels ---------- */

.levels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.level {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--surface);
  transition: border-color 0.25s, transform 0.3s var(--ease);
}

.level:hover {
  border-color: color-mix(in srgb, var(--teal) 45%, var(--line));
  transform: translateY(-3px);
}

.level-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: var(--tint);
  color: var(--teal);
}

.level-icon .icon {
  width: 24px;
  height: 24px;
}

.level h3 {
  font-size: 1.16rem;
  line-height: 1.25;
}

.note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 22px;
  color: var(--ink-soft);
}

/* ---------- Care team (services) ---------- */

.roles-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.role-line {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--surface);
}

.role-line h3 {
  margin-bottom: 4px;
  font-size: 1.12rem;
}

.role-line p {
  color: var(--ink-soft);
}

/* ---------- Steps (services: how it works) ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  padding-top: 64px;
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--teal);
  border-radius: 50%;
  background: var(--paper);
  color: var(--teal);
  font: 600 0.92rem/1 var(--font-display);
}

.step::after {
  content: "";
  position: absolute;
  top: 23px;
  left: 56px;
  right: -16px;
  height: 0;
  border-top: 1.5px dashed var(--line);
}

.step:nth-child(4n)::after,
.step:last-child::after {
  display: none;
}

.steps-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step h3 {
  font-size: var(--step-1);
}

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

.step-final::before {
  border-color: var(--coral);
  background: var(--coral);
  color: #16302D;
}

/* ---------- Celeration chart ---------- */

.chart-card {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: clamp(16px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: 0 34px 60px -46px rgb(var(--shadow) / 0.6);
}

.chart-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
}

.chart-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 650;
}

.chart-tag {
  padding: 3px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.scc {
  display: block;
  width: 100%;
  height: auto;
  font-family: var(--font-body);
}

.scc .minor {
  stroke: var(--line);
  stroke-width: 0.8;
  opacity: 0.75;
}

.scc .major {
  stroke: color-mix(in srgb, var(--teal) 30%, var(--line));
  stroke-width: 1.2;
}

.scc .week {
  stroke: var(--line);
  stroke-width: 0.8;
  opacity: 0.75;
}

.scc .week2 {
  stroke: color-mix(in srgb, var(--teal) 22%, var(--line));
  stroke-width: 1;
}

.scc .tick {
  fill: var(--ink-soft);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.scc .label {
  fill: var(--ink-soft);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.scc .cel {
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  opacity: 0.55;
}

.scc .dot {
  fill: var(--teal);
}

.scc .cross {
  fill: none;
  stroke: var(--rose);
  stroke-width: 1.9;
  stroke-linecap: round;
}

.scc .cel-label {
  font-size: 15.5px;
  font-weight: 500;
}

.scc .cel-label-up {
  fill: var(--teal);
}

.scc .cel-label-down {
  fill: var(--rose);
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.chart-legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.key-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
}

.key-cross {
  position: relative;
  width: 10px;
  height: 10px;
}

.key-cross::before,
.key-cross::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  width: 2px;
  height: 12px;
  border-radius: 2px;
  background: var(--rose);
}

.key-cross::before {
  transform: translateX(-50%) rotate(45deg);
}

.key-cross::after {
  transform: translateX(-50%) rotate(-45deg);
}

.key-line {
  width: 18px;
  height: 0;
  border-top: 2px solid var(--ink);
  opacity: 0.55;
}

.read-chart {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.read-chart li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  color: var(--ink-soft);
}

.read-chart .key {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
}

/* ---------- Founder ---------- */

.founder {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
}

.founder > * {
  min-width: 0;
}

.founder .arch {
  aspect-ratio: 5 / 6;
}

/* About page: the bio is long, so the portrait stays beside it while reading */
.founder-long {
  align-items: start;
}

.founder-long .arch-wrap {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.founder .arch img {
  object-position: 50% 22%;
}

.quote {
  position: relative;
  margin: 0;
  padding-top: 26px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.quote::before {
  content: "\201C";
  position: absolute;
  top: -8px;
  left: -4px;
  color: var(--coral);
  font-size: 4.2rem;
  line-height: 1;
}

.credentials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.credentials li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.4;
}

.credentials strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 650;
}

/* Career route: England to New Zealand to Wales to Canada */
.route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.route li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.route li::before {
  content: "";
  width: 9px;
  height: 9px;
  border: 2px solid var(--teal);
  border-radius: 50%;
}

.route li + li::after {
  order: -1;
  content: "";
  width: clamp(18px, 3vw, 34px);
  margin-left: 8px;
  border-top: 1.5px dashed color-mix(in srgb, var(--teal) 45%, var(--line));
}

.route li:last-child {
  color: var(--ink);
  font-weight: 500;
}

.route li:last-child::before {
  border-color: var(--coral);
  background: var(--coral);
}

/* ---------- Inner page hero ---------- */

.page-hero {
  position: relative;
  padding-block: clamp(36px, 6vw, 80px) 0;
  overflow: clip;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  z-index: -1;
  width: min(720px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--sun), color-mix(in srgb, var(--coral) 26%, transparent) 55%, transparent);
  opacity: 0.85;
}

.page-hero-inner {
  display: grid;
  gap: 22px;
  justify-items: start;
  max-width: 52rem;
}

.page-hero h1 {
  font-size: var(--step-4);
  font-weight: 680;
  letter-spacing: -0.03em;
}

.banner {
  margin: clamp(32px, 5vw, 56px) 0 0;
  overflow: hidden;
  aspect-ratio: 1280 / 550;
  max-width: 100%;
  border-radius: var(--radius-l);
  background: var(--blush);
}

.page-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(24px, 4vw, 48px);
}

.page-hero-split > * {
  min-width: 0;
}

/* ---------- Team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 40px) clamp(16px, 2.4vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.role {
  display: grid;
  gap: 16px;
  align-content: start;
}

.role .frame {
  aspect-ratio: 5 / 4;
}

.role .frame img {
  transition: transform 0.7s var(--ease);
}

.role:hover .frame img {
  transform: scale(1.04);
}

.role h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font-size: var(--step-1);
}

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

.tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--coral) 28%, transparent);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---------- Timeline (about: history) ---------- */

.history {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.history > * {
  min-width: 0;
}

.history-head {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: milestone;
}

.milestone {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 22px;
  padding-bottom: 34px;
  counter-increment: milestone;
}

.milestone::before {
  content: counter(milestone);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--teal);
  font: 600 1rem/1 var(--font-display);
}

.milestone::after {
  content: "";
  position: absolute;
  top: 60px;
  bottom: 8px;
  left: 25px;
  border-left: 1.5px dashed var(--line);
}

.milestone:last-child {
  padding-bottom: 0;
}

.milestone:last-child::after {
  display: none;
}

.milestone-award::before {
  border-color: var(--coral);
  background: var(--coral);
  color: #16302D;
}

.milestone h3 {
  margin: 12px 0 8px;
  font-size: var(--step-1);
}

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

/* ---------- Feature cards (parent training, onboarding) ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--surface);
}

.card h3 {
  font-size: var(--step-2);
}

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

.card .actions {
  margin-top: 8px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 17px;
  background: var(--tint);
  color: var(--teal);
}

.card-icon .icon {
  width: 26px;
  height: 26px;
}

.card-warm {
  border-color: transparent;
  background: var(--blush);
}

.portal-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
}

.callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--radius-l);
  background: var(--surface);
  border: 1px solid var(--line);
}

.callout h3 {
  margin-bottom: 8px;
  font-size: var(--step-1);
}

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

/* ---------- FAQ ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.faq-layout > * {
  min-width: 0;
}

.faq-aside {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-l);
  background: var(--blush);
}

.faq-aside h2 {
  font-size: var(--step-2);
}

.faq-aside p {
  color: var(--ink-soft);
}

.faq-groups {
  display: grid;
  gap: clamp(36px, 5vw, 56px);
}

.faq-group {
  display: grid;
  gap: 16px;
}

.faq-group h2 {
  font-size: var(--step-2);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--surface);
  transition: border-color 0.25s, box-shadow 0.3s;
}

.faq[open] {
  border-color: color-mix(in srgb, var(--teal) 40%, var(--line));
  box-shadow: 0 22px 44px -36px rgb(var(--shadow) / 0.6);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 20px 20px 24px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover .faq-icon {
  background: color-mix(in srgb, var(--teal) 18%, transparent);
}

.faq summary:focus-visible {
  border-radius: var(--radius-m);
}

.faq-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--tint);
  color: var(--teal);
  transition: transform 0.35s var(--ease), background-color 0.25s, color 0.25s;
}

.faq-icon .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.faq[open] .faq-icon {
  background: var(--teal);
  color: var(--on-teal);
  transform: rotate(45deg);
}

.faq-body {
  display: grid;
  gap: 0.9em;
  padding: 0 24px 24px;
  color: var(--ink-soft);
}

.faq-body p {
  max-width: 66ch;
}

.faq-search {
  position: relative;
  width: min(100%, 520px);
}

.faq-search .icon {
  position: absolute;
  top: 50%;
  left: 18px;
  color: var(--ink-soft);
  transform: translateY(-50%);
  pointer-events: none;
}

.faq-search input {
  width: 100%;
  min-height: 54px;
  padding: 12px 18px 12px 50px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-search input::placeholder {
  color: var(--ink-soft);
  opacity: 0.85;
}

.faq-search input:focus {
  border-color: var(--teal);
  outline: none;
  box-shadow: 0 0 0 4px var(--tint);
}

.faq-empty {
  padding: 22px 24px;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-m);
  color: var(--ink-soft);
}

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

.cta-band {
  position: relative;
  display: grid;
  gap: 20px;
  justify-items: start;
  overflow: hidden;
  padding: clamp(36px, 6vw, 76px);
  border-radius: var(--radius-l);
  background: #F7D9D6 url("img/lightbulb-hand.jpg") 78% 50% / cover no-repeat;
  color: var(--band-ink);
  isolation: isolate;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--band-veil) 0%, var(--band-veil) 38%, transparent 72%);
}

.cta-band h2 {
  max-width: 16ch;
  color: var(--band-ink);
  font-size: var(--step-4);
}

.cta-band p {
  max-width: 36rem;
  color: var(--band-ink);
  font-size: var(--step-1);
}

.cta-band .btn-primary {
  --btn-bg: #2E706D;
  --btn-fg: #FFFFFF;
}

.cta-band .btn-primary:hover {
  --btn-bg: #235956;
}

.cta-band .btn-ghost {
  --btn-fg: #16302D;
  --btn-border: rgb(22 48 45 / 0.28);
  --btn-bg: rgb(255 255 255 / 0.55);
}

.cta-band .btn-ghost:hover {
  --btn-fg: #2E706D;
  --btn-border: #2E706D;
}

.cta-band :focus-visible {
  outline-color: #16302D;
}

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

.site-footer {
  padding-block: clamp(56px, 7vw, 88px) 28px;
  background: var(--footer-bg);
  color: var(--footer-soft);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr) minmax(0, 0.95fr) minmax(0, 1.3fr);
  gap: 40px clamp(24px, 3.5vw, 48px);
}

.footer-grid > * {
  min-width: 0;
}

.site-footer .brand {
  color: var(--footer-ink);
}

.site-footer .brand-mark {
  color: #3CC2A6;
}

.site-footer .brand-tag {
  color: var(--footer-soft);
}

.footer-about {
  display: grid;
  gap: 18px;
  align-content: start;
}

.footer-about p {
  max-width: 34ch;
}

.footer-col h2 {
  margin-bottom: 16px;
  color: var(--footer-ink);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--footer-soft);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--footer-ink);
  text-decoration: underline;
}

.footer-contact {
  display: grid;
  gap: 12px;
  margin: 0;
  font-style: normal;
}

.footer-contact span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-contact .icon {
  margin-top: 0.2em;
  color: #3CC2A6;
}

.footer-contact a {
  color: var(--footer-ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--footer-line);
  font-size: 0.86rem;
}

.footer-bottom a {
  color: var(--footer-ink);
}

.site-footer :focus-visible {
  outline-color: var(--footer-ink);
}

/* ---------- Motion ---------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

@keyframes glow-on {
  from {
    opacity: 0;
    transform: scale(0.82);
  }
}

@keyframes draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes rays {
  50% {
    opacity: 0.25;
  }
}

@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@keyframes drift-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
}

@keyframes settle {
  from {
    transform: translateY(32px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* One orchestrated moment: the hero text rises, the bulb's glow warms, "brighter" is underlined */
  .hero-copy > * {
    animation: rise 0.7s var(--ease) both;
  }

  .hero-copy > :nth-child(2) {
    animation-delay: 0.07s;
  }

  .hero-copy > :nth-child(3) {
    animation-delay: 0.14s;
  }

  .hero-copy > :nth-child(4) {
    animation-delay: 0.21s;
  }

  .hero-copy > :nth-child(5) {
    animation-delay: 0.28s;
  }

  .hero-glow {
    animation: glow-on 1.4s var(--ease) 0.1s both;
  }

  .hero-media .arch {
    animation: rise 0.9s var(--ease) 0.12s both;
  }

  .float-card {
    animation: drift-in 0.8s var(--ease) 0.55s both;
  }

  .float-card-bcba {
    animation-delay: 0.7s;
  }

  .hl-swash path {
    stroke-dasharray: 1;
    animation: draw 0.8s cubic-bezier(0.6, 0, 0.2, 1) 0.5s both;
  }

  .page-hero-inner > * {
    animation: rise 0.7s var(--ease) both;
  }

  .page-hero-inner > :nth-child(2) {
    animation-delay: 0.07s;
  }

  .page-hero-inner > :nth-child(3) {
    animation-delay: 0.14s;
  }

  .page-hero-inner > :nth-child(4) {
    animation-delay: 0.21s;
  }

  .site-header.nav-open .site-nav {
    animation: drop 0.28s var(--ease);
  }

  .faq-body {
    animation: rise 0.4s var(--ease);
  }

  /* Blocks settle into place as they scroll in; content stays visible throughout */
  @supports (animation-timeline: view()) {
    .reveal {
      animation: settle linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
  }
}

/* Smooth open and close for the FAQ, where the browser supports animating to auto height */
@supports (interpolate-size: allow-keywords) and selector(::details-content) {
  @media (prefers-reduced-motion: no-preference) {
    :root {
      interpolate-size: allow-keywords;
    }

    .faq::details-content {
      block-size: 0;
      overflow: clip;
      transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete;
    }

    .faq[open]::details-content {
      block-size: auto;
    }

    .faq-body {
      animation: none;
    }
  }
}

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

@media (max-width: 1060px) {
  .trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-item + .trust-item {
    border-left: 0;
  }

  .trust-item:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .trust-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .levels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step:nth-child(4n)::after {
    display: block;
  }

  .step:nth-child(2n)::after,
  .step:last-child::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .split,
  .split-chart,
  .founder,
  .history,
  .faq-layout,
  .page-hero-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    justify-items: start;
  }

  .hero-media {
    width: min(100%, 420px);
    margin-top: 12px;
  }

  .split-media,
  .split-media-first .split-media {
    order: 0;
  }

  .founder .arch-wrap {
    width: min(100%, 360px);
  }

  .history-head,
  .faq-aside {
    position: static;
  }

  .hide-narrow {
    display: none;
  }

  .founder-long .arch-wrap {
    position: static;
  }

  .pillars,
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .pillar {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-rows: none;
    align-items: start;
    padding: 12px;
  }

  .pillar-body {
    padding: 10px 8px 12px;
  }

  .pillar-photo {
    aspect-ratio: 1;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 68px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .float-card {
    position: relative;
    inset: auto;
    max-width: none;
    margin-top: 12px;
  }

  .float-card-bcba {
    display: none;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .trust-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .trust-item:nth-child(even) {
    border-left: 0;
  }

  .trust-item + .trust-item {
    border-top: 1px solid var(--line);
  }

  .trust-item {
    padding-inline: 0;
  }

  .pillar {
    grid-template-columns: minmax(0, 1fr);
  }

  .pillar-photo {
    aspect-ratio: 16 / 10;
  }

  .levels,
  .team-grid,
  .portal-features,
  .credentials {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .step {
    padding: 4px 0 30px 66px;
  }

  .step::after,
  .step:nth-child(4n)::after,
  .step:nth-child(2n)::after {
    display: block;
    top: 54px;
    bottom: 6px;
    left: 22px;
    right: auto;
    height: auto;
    border-top: 0;
    border-left: 1.5px dashed var(--line);
  }

  .step:last-child::after {
    display: none;
  }

  .banner {
    aspect-ratio: 4 / 3;
  }

  .callout {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-band {
    background-position: 82% 50%;
  }

  .cta-band::before {
    background: linear-gradient(180deg, var(--band-veil) 0%, var(--band-veil) 62%, rgb(255 249 246 / 0.55) 100%);
  }

  .scc .tick,
  .scc .label {
    font-size: 19px;
  }

  .scc .cel-label {
    font-size: 19px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer-col-contact {
    grid-column: 1 / -1;
  }
}
