/* Nido ABA design system, v3 "Fiesta morning".
   Type: Archivo (wide, heavy display) + Atkinson Hyperlegible Next (body, built for legibility).
   Shapes: flat color, 2.5px ink outlines, hard offset shadows, chunky press buttons.
   No blur, no gradients, no soft shadows. Inline style attributes are blocked by CSP: use classes. */

/* ---------- Tokens ---------- */
:root {
  --paper: #ffffff;
  --paper-2: #f3f1fb;
  --ink: #1d1836;
  --ink-2: #4b4568;
  --ink-3: #6f6a8a;
  --line: #1d1836;
  --chile: #e4442a;
  --chile-ink: #ffffff;
  --turq: #0b9e9a;
  --sun: #ffc233;
  --sky: #a9d8ff;
  --sky-2: #dff0ff;
  --mesa: #f6a5b6;
  --mesa-2: #ffe3ea;
  --sage: #bfe3b4;
  --sun-2: #fff0c2;
  --on-color: #1d1836;
  --focus: #2f6bff;

  --f-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;

  --t-xs: 0.875rem;
  --t-s: 1rem;
  --t-m: 1.125rem;
  --t-l: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --t-xl: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  --t-2xl: clamp(2.2rem, 1.4rem + 3.4vw, 4rem);
  --t-3xl: clamp(2.5rem, 1rem + 4.4vw, 5rem);

  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem; --s-9: 7rem;

  --bw: 2.5px;
  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  --shadow: 6px 6px 0 var(--line);
  --shadow-s: 4px 4px 0 var(--line);
  --max: 1240px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #16122b; --paper-2: #211c3d; --ink: #f6f4ff; --ink-2: #cfcae6; --ink-3: #a29dbd; --line: #f6f4ff;
    --chile: #ff5a3d; --turq: #2cc2bd; --sun: #ffc94d; --sky: #5d8fcf; --sky-2: #1f2a4a;
    --mesa: #e98ea2; --mesa-2: #3a2236; --sage: #6f9e66; --sun-2: #3a3020; --on-color: #16122b; --focus: #8fb1ff;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #16122b; --paper-2: #211c3d; --ink: #f6f4ff; --ink-2: #cfcae6; --ink-3: #a29dbd; --line: #f6f4ff;
  --chile: #ff5a3d; --turq: #2cc2bd; --sun: #ffc94d; --sky: #5d8fcf; --sky-2: #1f2a4a;
  --mesa: #e98ea2; --mesa-2: #3a2236; --sage: #6f9e66; --sun-2: #3a3020; --on-color: #16122b; --focus: #8fb1ff;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-m);
  line-height: 1.6;
  overflow-x: clip;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--chile); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-4);
  text-wrap: balance;
}
h1 { font-size: var(--t-3xl); }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-l); line-height: 1.1; font-weight: 800; letter-spacing: -0.01em; }
h4 { font-size: var(--t-m); line-height: 1.2; font-weight: 800; letter-spacing: 0; }
strong, b { font-weight: 700; }
.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: 12px; top: -60px; z-index: 100; background: var(--sun); color: var(--on-color); padding: 10px 16px; border: var(--bw) solid var(--line); border-radius: var(--r-s); font-weight: 700; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
.muted { color: var(--ink-2); }
.lede { font-size: var(--t-l); line-height: 1.5; color: var(--ink-2); max-width: 38ch; }
.prose { max-width: 66ch; }
.prose h2 { font-size: var(--t-xl); margin-top: var(--s-7); }
.prose h3 { margin-top: var(--s-6); }
.prose ul { padding-left: 1.2em; margin-bottom: var(--s-4); }
.prose li { margin-bottom: var(--s-2); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + 40px); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: var(--s-8); }
.section.tight { padding-block: var(--s-7); }
.band { position: relative; }
.band-ink { background: var(--ink); color: var(--paper); }
.band-ink .muted, .band-ink .lede { color: color-mix(in srgb, var(--paper) 78%, transparent); }
.band-chile { background: var(--chile); color: var(--chile-ink); }
.band-sun { background: var(--sun); color: var(--on-color); }
.band-sky { background: var(--sky-2); }
.band-mesa { background: var(--mesa-2); }
.band-paper2 { background: var(--paper-2); }
.band-chile .muted, .band-chile .lede { color: color-mix(in srgb, var(--chile-ink) 86%, transparent); }
.band-sun .muted, .band-sun .lede { color: color-mix(in srgb, var(--on-color) 80%, transparent); }
.edge-top { border-top: var(--bw) solid var(--line); }
.edge-bottom { border-bottom: var(--bw) solid var(--line); }
.split { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.wide-left { grid-template-columns: 1.35fr 1fr; }
  .split.wide-right { grid-template-columns: 1fr 1.35fr; }
  .split.center { align-items: center; }
}
.split > * { min-width: 0; }
.grid { display: grid; gap: var(--s-5); }
@media (min-width: 700px) { .grid.g2 { grid-template-columns: repeat(2, 1fr); } .grid.g3, .grid.g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid.g3 { grid-template-columns: repeat(3, 1fr); } .grid.g4 { grid-template-columns: repeat(4, 1fr); } }
.grid > * { min-width: 0; }
.stack > * + * { margin-top: var(--s-4); }
.head { max-width: 760px; margin-bottom: var(--s-7); }
.head h2 { margin-bottom: var(--s-4); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s-5); margin-bottom: var(--s-7); }
.head-row h2 { margin: 0; max-width: 16ch; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: var(--bw) solid transparent; transition: border-color .2s; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
.site-header { top: env(safe-area-inset-top, 0px); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 46px; height: 46px; flex: none; }
.m-parent { fill: var(--turq); }
.m-child { fill: var(--sun); stroke: var(--line); stroke-width: 0; }
.m-twig { fill: none; stroke: var(--chile); stroke-linecap: round; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 900; font-size: 1.7rem; letter-spacing: -0.03em; }
.brand-word small { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; margin-top: 4px; color: var(--ink-2); }
.nav-toggle { display: inline-flex; align-items: center; gap: 10px; font: 700 var(--t-s)/1 var(--f-body); color: var(--ink); background: var(--paper); border: var(--bw) solid var(--line); border-radius: 999px; padding: 10px 16px; cursor: pointer; }
.burger { display: grid; gap: 4px; width: 18px; }
.burger span { display: block; height: 2.5px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.site-menu ul { list-style: none; }
.nav-link { display: inline-block; text-decoration: none; font-weight: 700; padding: 8px 12px; border-radius: 999px; }
.nav-link:hover { background: var(--sun-2); }
.nav-link[aria-current="page"] { background: var(--ink); color: var(--paper); }
.menu-extra { display: none; }
@media (max-width: 959px) {
  .site-menu { display: none; position: fixed; inset: calc(76px + env(safe-area-inset-top, 0px)) 0 0; background: var(--paper); border-top: var(--bw) solid var(--line); padding: var(--s-6) var(--gutter-r) var(--s-7) var(--gutter-l); overflow-y: auto; }
  .menu-open .site-menu { display: block; }
  .menu-open body { overflow: hidden; }
  .site-menu ul { display: grid; gap: var(--s-2); }
  .nav-link { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 850; font-size: 2rem; letter-spacing: -0.02em; padding: 6px 0; }
  .nav-link:hover, .nav-link[aria-current="page"] { background: none; color: var(--chile); }
  .menu-cta { margin-top: var(--s-5); }
  .menu-extra { display: block; margin-top: var(--s-6); color: var(--ink-2); }
}
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-menu ul { display: flex; align-items: center; gap: 2px; }
  .menu-cta { margin-left: var(--s-3); }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--chile); --btn-fg: var(--chile-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 var(--t-m)/1.1 var(--f-body);
  color: var(--btn-fg); background: var(--btn-bg);
  border: var(--bw) solid var(--line); border-radius: 14px;
  padding: 14px 22px; text-decoration: none; cursor: pointer;
  box-shadow: 0 5px 0 var(--line);
  transform: translateY(0);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--line); text-decoration: none; }
.btn:active { transform: translateY(5px); box-shadow: 0 0 0 var(--line); }
.btn .arrow { width: 20px; height: 20px; transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn.ghost { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.btn.sun { --btn-bg: var(--sun); --btn-fg: var(--on-color); }
.btn.ink { --btn-bg: var(--ink); --btn-fg: var(--paper); }
.btn.small { font-size: var(--t-s); padding: 10px 16px; box-shadow: 0 4px 0 var(--line); }
.btn[disabled], .btn.is-loading { opacity: .7; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; }
.text-link { font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.text-link .arrow { width: 18px; height: 18px; }

/* ---------- Stickers and tags (use sparingly, never above every section) ---------- */
.sticker {
  display: inline-block; font: 700 var(--t-s)/1.2 var(--f-body);
  background: var(--sun); color: var(--on-color);
  border: var(--bw) solid var(--line); border-radius: 999px;
  padding: 7px 14px; transform: rotate(-3deg);
  box-shadow: var(--shadow-s);
}
.sticker.turq { background: var(--turq); color: #fff; }
.sticker.mesa { background: var(--mesa); }
.sticker.sky { background: var(--sky); }
.tag { display: inline-block; font: 700 var(--t-xs)/1 var(--f-body); padding: 6px 10px; border-radius: 999px; border: 2px solid var(--line); background: var(--paper); }

/* ---------- Tiles ---------- */
.tile {
  position: relative; background: var(--paper); color: var(--ink);
  border: var(--bw) solid var(--line); border-radius: var(--r-l);
  padding: var(--s-6); box-shadow: var(--shadow);
}
.tile h3 { font-size: var(--t-xl); line-height: 1; }
.tile.sun { background: var(--sun); color: var(--on-color); }
.tile.sky { background: var(--sky); color: var(--on-color); }
.tile.mesa { background: var(--mesa); color: var(--on-color); }
.tile.sage { background: var(--sage); color: var(--on-color); }
.tile.turq { background: var(--turq); color: #fff; }
.tile.chile { background: var(--chile); color: #fff; }
.tile.flat { box-shadow: none; }
.tile .tile-art { display: block; width: 120px; height: 120px; margin-bottom: var(--s-4); }
.tile-link { text-decoration: none; display: block; transition: transform .15s ease, box-shadow .15s ease; }
.tile-link:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--line); text-decoration: none; }
.tile-link:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--line); }
.tile-link .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin-top: var(--s-4); }
.tile-link .go .arrow { width: 20px; height: 20px; }

/* ---------- Bento (asymmetric service collage) ---------- */
.bento { display: grid; gap: var(--s-5); }
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento > :nth-child(1) { grid-column: span 4; }
  .bento > :nth-child(2) { grid-column: span 2; }
  .bento > :nth-child(3) { grid-column: span 2; }
  .bento > :nth-child(4) { grid-column: span 4; }
}
.bento > * { min-width: 0; }
.bento .tile { display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; }
.bento .tile-row { display: flex; gap: var(--s-5); align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.bento .tile-row > div { flex: 1 1 240px; min-width: 0; }
.bento .tile-art { width: 150px; height: 150px; margin: 0; flex: none; }
@media (min-width: 760px) {
  .bento > :nth-child(2) .tile { transform: rotate(1.2deg); }
  .bento > :nth-child(3) .tile { transform: rotate(-1.2deg); }
  .bento > :nth-child(2) .tile-link:hover, .bento > :nth-child(3) .tile-link:hover { transform: rotate(0) translate(-3px, -3px); }
}

/* ---------- Home hero ---------- */
.hero { position: relative; padding-block: var(--s-6) 0; overflow: hidden; }
.hero-inner { display: grid; gap: var(--s-6); align-items: end; }
@media (min-width: 980px) { .hero-inner { grid-template-columns: 1.25fr 1fr; gap: var(--s-5); } }
.hero-inner > * { min-width: 0; }
.hero-copy { padding-bottom: var(--s-8); }
.hero h1 { margin-top: var(--s-5); }
.hero .lede { margin-bottom: var(--s-6); }
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after { content: ""; position: absolute; left: -0.08em; right: -0.08em; bottom: 0.02em; height: 0.36em; background: var(--sun); z-index: -1; transform: rotate(-1.5deg); border-radius: 4px; }
.hl.turq::after { background: var(--turq); opacity: .55; }
.hero-scene { position: relative; align-self: end; margin-inline: calc(-1 * var(--s-4)); }
.hero-scene svg { display: block; width: 100%; height: auto; overflow: visible; }
@media (max-width: 979px) { .hero-copy { padding-bottom: 0; } .hero-scene { max-width: 560px; margin-inline: auto; } }
.facts { display: flex; flex-wrap: wrap; gap: var(--s-3); list-style: none; margin-top: var(--s-6); }
.facts li { font-weight: 700; font-size: var(--t-s); padding: 8px 14px; border: 2px solid var(--line); border-radius: 999px; background: var(--paper); }

/* Scene art (shared by hero, CTA and page heroes) */
.sc-sky { fill: var(--sky-2); }
.sc-sun { fill: var(--sun); stroke: var(--line); stroke-width: 2.5; }
.sc-mesa1 { fill: var(--mesa); stroke: var(--line); stroke-width: 2.5; stroke-linejoin: round; }
.sc-mesa2 { fill: var(--chile); stroke: var(--line); stroke-width: 2.5; stroke-linejoin: round; }
.sc-ground { fill: var(--sun-2); stroke: var(--line); stroke-width: 2.5; }
.sc-line { fill: none; stroke: var(--line); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.sc-dash { fill: none; stroke: var(--line); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
.sc-ink { fill: var(--line); }
.sc-paper { fill: var(--paper); stroke: var(--line); stroke-width: 2.5; }
.sc-chile { fill: var(--chile); stroke: var(--line); stroke-width: 2.5; }
.sc-turq { fill: var(--turq); stroke: var(--line); stroke-width: 2.5; }
.sc-sunf { fill: var(--sun); stroke: var(--line); stroke-width: 2.5; }
.sc-mesaf { fill: var(--mesa); stroke: var(--line); stroke-width: 2.5; }
.sc-skyf { fill: var(--sky); stroke: var(--line); stroke-width: 2.5; }
.sc-sagef { fill: var(--sage); stroke: var(--line); stroke-width: 2.5; }
.sc-cactus { fill: var(--sage); stroke: var(--line); stroke-width: 2.5; stroke-linejoin: round; }

.balloon { transform-box: fill-box; transform-origin: 50% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .balloon.b1 { animation: drift 7s ease-in-out infinite; }
  .balloon.b2 { animation: drift 9s ease-in-out -2s infinite; }
  .balloon.b3 { animation: drift 6s ease-in-out -4s infinite; }
  .sun-spin { transform-box: fill-box; transform-origin: center; animation: spin 40s linear infinite; }
  @keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(-2deg); } 50% { transform: translate(6px, -16px) rotate(2deg); } }
  @keyframes spin { to { transform: rotate(360deg); } }
}

/* ---------- Marquee of everyday skills ---------- */
.marquee { overflow: hidden; border-block: var(--bw) solid var(--line); background: var(--ink); color: var(--paper); }
.marquee-track { display: flex; width: max-content; gap: 0; padding-block: 18px; }
.marquee ul { display: flex; list-style: none; flex: none; }
.marquee li { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 850; font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); letter-spacing: -0.01em; white-space: nowrap; display: flex; align-items: center; }
.marquee li::after { content: ""; display: inline-block; width: 18px; height: 18px; margin: 0 28px; border-radius: 50%; background: var(--sun); border: 2px solid var(--paper); }
.marquee li:nth-child(3n+2)::after { background: var(--chile); }
.marquee li:nth-child(3n)::after { background: var(--turq); }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 38s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) { .marquee-track { width: auto; flex-wrap: wrap; } .marquee ul[aria-hidden="true"] { display: none; } .marquee ul { flex-wrap: wrap; row-gap: 8px; } }

/* ---------- Dictionary entry (the name) ---------- */
.entry { border: var(--bw) solid var(--line); border-radius: var(--r-l); background: var(--paper); padding: var(--s-6); box-shadow: var(--shadow); position: relative; }
.entry-word { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 900; font-size: clamp(3.5rem, 2rem + 8vw, 8rem); line-height: .85; letter-spacing: -0.04em; margin: 0; }
.entry-say { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: baseline; margin: var(--s-4) 0 var(--s-5); font-size: var(--t-l); }
.entry-say .pos { font-style: normal; color: var(--ink-3); font-weight: 700; }
.entry-def { font-size: var(--t-l); line-height: 1.45; max-width: 34ch; }
.entry ol { padding-left: 1.4em; display: grid; gap: var(--s-3); font-size: var(--t-m); }
.entry .entry-mark { position: absolute; right: var(--s-5); top: var(--s-5); width: 96px; height: 96px; }

/* ---------- Big numbered steps ---------- */
.steps { list-style: none; display: grid; gap: var(--s-6); counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); } }
.steps li { counter-increment: step; position: relative; min-width: 0; }
.steps li::before {
  content: counter(step);
  display: block; font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 900;
  font-size: clamp(4.5rem, 3rem + 5vw, 7.5rem); line-height: .8; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 2.5px currentColor; margin-bottom: var(--s-4);
}
.steps li:nth-child(even) { transform: translateY(var(--s-6)); }
@media (max-width: 799px) { .steps li:nth-child(even) { transform: none; } }
.steps h3 { font-size: var(--t-l); margin-bottom: var(--s-2); }

/* ---------- Session timeline ---------- */
.timeline { list-style: none; display: grid; gap: var(--s-4); position: relative; }
.timeline li { display: grid; grid-template-columns: 64px 1fr; gap: var(--s-4); align-items: start; }
.timeline .num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: var(--bw) solid var(--line); background: var(--sun); color: var(--on-color); font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 900; font-size: 1.4rem; box-shadow: var(--shadow-s); }
.timeline li:nth-child(2) .num { background: var(--turq); color: #fff; }
.timeline li:nth-child(3) .num { background: var(--mesa); }
.timeline li:nth-child(4) .num { background: var(--sky); }
.timeline h3 { margin: 12px 0 var(--s-2); font-size: var(--t-l); }

/* ---------- Check lists ---------- */
.checks { list-style: none; display: grid; gap: var(--s-3); }
.checks li { position: relative; padding-left: 40px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--line); background: var(--sun); }
.checks li::after { content: ""; position: absolute; left: 8px; top: 7px; width: 9px; height: 14px; border: solid var(--on-color); border-width: 0 3px 3px 0; transform: rotate(40deg); }
.band-sun .checks li::before { background: var(--paper); }
.band-sun .checks li::after { border-color: var(--ink); }

/* ---------- Ticket rows (insurance) ---------- */
.tickets { list-style: none; display: grid; gap: var(--s-4); }
@media (min-width: 760px) { .tickets { grid-template-columns: repeat(2, 1fr); } }
.ticket { display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: start; background: var(--paper); color: var(--ink); border: var(--bw) solid var(--line); border-radius: var(--r-m); padding: var(--s-5); position: relative; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--sun); border: var(--bw) solid var(--line); }
.ticket::before { left: -12px; clip-path: inset(0 0 0 50%); }
.ticket::after { right: -12px; clip-path: inset(0 50% 0 0); }
.ticket .status { font: 700 var(--t-xs)/1 var(--f-body); padding: 6px 10px; border-radius: 999px; border: 2px solid var(--line); background: var(--sky); color: var(--on-color); white-space: nowrap; }
.ticket h3 { font-size: var(--t-l); margin-bottom: var(--s-2); }
.ticket p { margin: 0; color: var(--ink-2); }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: var(--s-3); }
.faq-item { border: var(--bw) solid var(--line); border-radius: var(--r-m); background: var(--paper); transition: box-shadow .15s, transform .15s; }
.faq-item.is-open { box-shadow: var(--shadow-s); transform: translate(-2px, -2px); }
.faq-q { margin: 0; font-size: inherit; }
.faq-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); text-align: left; background: none; border: 0; padding: var(--s-5); cursor: pointer; color: var(--ink); font: 800 var(--t-l)/1.2 var(--f-display); font-variation-settings: "wdth" 112; letter-spacing: -0.01em; }
.faq-icon { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); background: var(--sun); position: relative; transition: transform .2s, background .2s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 3px; margin: -1.5px 0 0 -7px; background: var(--on-color); border-radius: 2px; }
.faq-icon::after { transform: rotate(90deg); transition: transform .2s; }
.faq-btn[aria-expanded="true"] .faq-icon { background: var(--chile); transform: rotate(180deg); }
.faq-btn[aria-expanded="true"] .faq-icon::before, .faq-btn[aria-expanded="true"] .faq-icon::after { background: #fff; }
.faq-btn[aria-expanded="true"] .faq-icon::after { transform: rotate(0); }
.faq-a { padding: 0 var(--s-5) var(--s-5); color: var(--ink-2); max-width: 70ch; }
.faq-tools { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; margin-bottom: var(--s-5); }
.faq-search { flex: 1 1 280px; }
.faq-empty { padding: var(--s-5); border: var(--bw) dashed var(--line); border-radius: var(--r-m); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; border-bottom: var(--bw) solid var(--line); }
.page-hero .wrap { display: grid; gap: var(--s-6); padding-block: var(--s-6) var(--s-8); align-items: end; }
@media (min-width: 900px) { .page-hero .wrap { grid-template-columns: 1.3fr 1fr; } }
.page-hero .wrap > * { min-width: 0; }
.page-hero h1 { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.4rem); margin-top: var(--s-5); }
.page-hero-art { width: 100%; max-width: 420px; justify-self: end; }
.page-hero.sky { background: var(--sky-2); }
.page-hero.mesa { background: var(--mesa-2); }
.page-hero.sun { background: var(--sun-2); }
.page-hero.sage { background: color-mix(in srgb, var(--sage) 45%, var(--paper)); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--t-s); font-weight: 700; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-3); }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--chile); }
.crumbs + .sticker { margin-top: var(--s-4); }
@media (max-width: 979px) { .hero-scene { margin-top: var(--s-5); } }

/* ---------- Note box ---------- */
.note-box { border: var(--bw) dashed var(--line); border-radius: var(--r-m); padding: var(--s-5); background: var(--paper); display: flex; gap: var(--s-4); align-items: flex-start; }
.note-box svg { flex: none; width: 36px; height: 36px; }

/* ---------- Related links ---------- */
.related { display: grid; gap: var(--s-4); }
@media (min-width: 760px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding: var(--s-5); border: var(--bw) solid var(--line); border-radius: var(--r-m); background: var(--paper); font: 800 var(--t-l)/1.1 var(--f-display); font-variation-settings: "wdth" 112; text-decoration: none; box-shadow: var(--shadow-s); transition: transform .15s, box-shadow .15s; }
.related a:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.related .arrow { width: 22px; height: 22px; flex: none; }

/* ---------- CTA band ---------- */
.cta { position: relative; background: var(--sky-2); border-top: var(--bw) solid var(--line); overflow: hidden; }
.cta .wrap { display: grid; gap: var(--s-6); padding-block: var(--s-8) 0; align-items: end; }
@media (min-width: 900px) { .cta .wrap { grid-template-columns: 1.2fr 1fr; } }
.cta .wrap > * { min-width: 0; }
.cta-copy { padding-bottom: var(--s-8); }
.cta h2 { font-size: var(--t-2xl); max-width: 14ch; }
.cta-art { width: 100%; max-width: 520px; justify-self: end; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-block: var(--s-8) var(--s-6); }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--sun); }
.site-footer .brand { color: var(--paper); }
.site-footer .brand-word small { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.footer-grid { display: grid; gap: var(--s-6); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-grid > * { min-width: 0; }
.footer-grid h2 { font-size: var(--t-s); font-family: var(--f-body); font-weight: 700; letter-spacing: 0; color: var(--sun); margin-bottom: var(--s-4); }
.footer-grid ul { list-style: none; display: grid; gap: var(--s-2); }
.footer-brand p { margin-top: var(--s-4); max-width: 30ch; color: color-mix(in srgb, var(--paper) 78%, transparent); }
.footer-email { word-break: break-all; }
.site-footer .muted { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.footer-big { font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 900; font-size: clamp(3rem, 1rem + 11vw, 11rem); line-height: .8; letter-spacing: -0.05em; margin: var(--s-8) 0 var(--s-5); color: var(--paper); overflow-wrap: anywhere; }
.footer-big span { color: var(--sun); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4); padding-top: var(--s-5); border-top: 2px solid color-mix(in srgb, var(--paper) 25%, transparent); font-size: var(--t-s); color: color-mix(in srgb, var(--paper) 75%, transparent); }

/* ---------- Forms ---------- */
.form-card { background: var(--paper); border: var(--bw) solid var(--line); border-radius: var(--r-l); padding: var(--s-6); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: var(--s-5); }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: var(--s-2); min-width: 0; align-content: end; }
.field label, .field .label { font-weight: 700; }
.field .opt, .field .hint { font-weight: 400; color: var(--ink-3); font-size: var(--t-s); }
.field input, .field select, .field textarea, .faq-search input {
  width: 100%; font: 400 var(--t-m)/1.4 var(--f-body); color: var(--ink); background: var(--paper);
  border: var(--bw) solid var(--line); border-radius: 12px; padding: 13px 14px; min-height: 52px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .faq-search input:focus { outline: none; box-shadow: 0 0 0 4px var(--sky); }
.field [aria-invalid="true"] { border-color: var(--chile); box-shadow: 0 0 0 4px color-mix(in srgb, var(--chile) 25%, transparent); }
.field-error { color: var(--chile); font-weight: 700; font-size: var(--t-s); }
.field-error:empty { display: none; }
.check-field { display: flex; gap: var(--s-3); align-items: flex-start; }
.check-field input { width: 24px; height: 24px; margin-top: 2px; accent-color: var(--chile); flex: none; }
.option-card { display: flex; gap: var(--s-3); align-items: flex-start; border: var(--bw) solid var(--line); border-radius: 14px; padding: var(--s-4); cursor: pointer; background: var(--paper); }
.option-card:has(input:checked) { background: var(--sun-2); box-shadow: var(--shadow-s); }
.form-actions { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; margin-top: var(--s-6); }
.form-note { font-size: var(--t-s); color: var(--ink-2); }
.form-status { font-weight: 700; }
.form-success { text-align: left; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 3px solid currentColor; border-right-color: transparent; display: none; }
.is-loading .spinner { display: inline-block; animation: spin .8s linear infinite; }
.copy-btn { font: 700 var(--t-s)/1 var(--f-body); border: 2px solid var(--line); border-radius: 999px; padding: 8px 14px; background: var(--sun); color: var(--on-color); cursor: pointer; }
.copy-btn.copied { background: var(--sage); }
.email-chip { display: inline-flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; padding: 10px 10px 10px 16px; border: var(--bw) solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 700; }

/* ---------- Stepper (how it works) ---------- */
.stepper-tabs { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-5); }
.step-tab { font: 700 var(--t-s)/1.2 var(--f-body); color: var(--ink); background: var(--paper); border: var(--bw) solid var(--line); border-radius: 999px; padding: 10px 16px; cursor: pointer; }
.step-tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.step-tab.done:not([aria-selected="true"]) { background: var(--sage); }
.stepper-progress { height: 14px; border: var(--bw) solid var(--line); border-radius: 999px; overflow: hidden; background: var(--paper); margin-bottom: var(--s-5); }
.stepper-progress span { display: block; height: 100%; width: 25%; background: var(--chile); transition: width .3s ease; }
.step-panel { border: var(--bw) solid var(--line); border-radius: var(--r-l); padding: var(--s-6); background: var(--paper); box-shadow: var(--shadow); }
.stepper-nav { display: flex; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-5); flex-wrap: wrap; }

/* ---------- 404 ---------- */
.lost { text-align: left; }

/* ---------- Scroll reveal (site.js marks below-the-fold items with .will-reveal) ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal].will-reveal { opacity: 0; transform: translateY(28px); transition: opacity .5s ease var(--d, 0ms), transform .6s cubic-bezier(.2,.8,.2,1.2) var(--d, 0ms); }
  [data-reveal].will-reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print { .site-header, .cta, .marquee, .site-footer .footer-big { display: none; } body { background: #fff; color: #000; } }

/* ---------- Parallax, tilt and load-in ---------- */
[data-depth] { will-change: transform; }
[data-tilt] { transform-style: preserve-3d; }
[data-tilt].is-tilting { transform: perspective(900px) rotateY(var(--tx, 0deg)) rotateX(var(--ty, 0deg)) translate(-3px, -3px); box-shadow: 9px 9px 0 var(--line); transition: transform .08s linear, box-shadow .15s; }
.blk { font: 900 30px var(--f-display); font-variation-settings: "wdth" 125; fill: var(--on-color); }
.blk-w { fill: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .load-in { animation: load-in .7s cubic-bezier(.2,.8,.2,1.15) both; animation-delay: var(--ld, 0ms); }
  .load-in.l2 { --ld: 90ms; } .load-in.l3 { --ld: 180ms; } .load-in.l4 { --ld: 270ms; } .load-in.l5 { --ld: 360ms; }
  @keyframes load-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  .sticker:hover { animation: wiggle .5s ease; }
  @keyframes wiggle { 0%,100% { transform: rotate(-3deg); } 30% { transform: rotate(4deg) scale(1.05); } 60% { transform: rotate(-6deg); } }
  .hero-scene .sc-dash { stroke-dashoffset: 0; animation: dash 12s linear infinite; }
  @keyframes dash { to { stroke-dashoffset: -220; } }
}
.section-foot { margin-top: var(--s-5); }

[hidden] { display: none !important; }

/* ==== merged page css ==== */

/* --- forms.css --- */
/* Forms group: contact, careers, privacy and 404.
   Every selector is scoped to a page class (.pg-contact, .pg-careers, .pg-privacy, .pg-404) or to the
   pf- art classes that only art_forms.py emits. Tokens only (plus #fff), so light and dark both work. */

/* ---------- Hero art motion (pf- classes come only from art_forms.py) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .page-hero-art .pf-float { transform-box: fill-box; transform-origin: center; animation: pf-bob 5s ease-in-out infinite; }
  .page-hero-art .pf-flag { transform-box: fill-box; transform-origin: 0 50%; animation: pf-wave 2.6s ease-in-out infinite; }
  @keyframes pf-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(3deg); } }
  @keyframes pf-wave { 0%, 100% { transform: skewY(0) scaleX(1); } 50% { transform: skewY(-7deg) scaleX(.9); } }
}

/* ---------- Shared form card (contact + careers) ---------- */
:is(.pg-contact, .pg-careers) .form-card { position: relative; }
@media (min-width: 700px) { :is(.pg-contact, .pg-careers) .form-card { padding: var(--s-7) var(--s-6) var(--s-6); } }
:is(.pg-contact, .pg-careers) .form-corner { position: absolute; top: -60px; right: 22px; width: 62px; height: 84px; overflow: visible; pointer-events: none; }
:is(.pg-contact, .pg-careers) .form-head { margin-bottom: var(--s-6); padding-right: 72px; }
:is(.pg-contact, .pg-careers) .form-head h2 { font-size: var(--t-xl); margin-bottom: var(--s-2); }
:is(.pg-contact, .pg-careers) .form-intro { color: var(--ink-2); font-size: var(--t-s); margin: 0; }
:is(.pg-contact, .pg-careers) .field :is(input, select, textarea) { transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease; }
:is(.pg-contact, .pg-careers) .field :is(input, select, textarea):hover { border-color: var(--turq); }
:is(.pg-contact, .pg-careers) .field :is(input, select, textarea):focus { border-color: var(--line); box-shadow: 4px 4px 0 var(--turq); transform: translate(-2px, -2px); }
:is(.pg-contact, .pg-careers) .field [aria-invalid="true"] { border-color: var(--chile); box-shadow: 4px 4px 0 var(--chile); }
:is(.pg-contact, .pg-careers) .field select { cursor: pointer; }
:is(.pg-contact, .pg-careers) .consent-box { flex-wrap: wrap; padding: var(--s-4); border: 2px dashed var(--line); border-radius: 14px; background: var(--sun-2); }
:is(.pg-contact, .pg-careers) .consent-box label { flex: 1 1 200px; }
:is(.pg-contact, .pg-careers) .consent-box .field-error { flex-basis: 100%; }
:is(.pg-contact, .pg-careers) .form-actions { margin-top: var(--s-2); }
:is(.pg-contact, .pg-careers) .form-actions .small { flex: 1 1 220px; margin: 0; font-size: var(--t-s); color: var(--ink-2); }
@media (max-width: 559px) { :is(.pg-contact, .pg-careers) .form-actions .btn { width: 100%; } }

/* Error box site.js adds when sending fails */
:is(.pg-contact, .pg-careers) .form-alert { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4); border: var(--bw) solid var(--chile); border-radius: 14px; background: var(--mesa-2); color: var(--ink); font-weight: 400; }
:is(.pg-contact, .pg-careers) .form-alert .dot { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--chile); color: #fff; font-weight: 800; }
:is(.pg-contact, .pg-careers) .form-alert p { margin: 0 0 var(--s-2); }

/* Success block */
:is(.pg-contact, .pg-careers) .form-success { display: grid; justify-items: start; gap: var(--s-3); }
:is(.pg-contact, .pg-careers) .form-success[hidden] { display: none; }
:is(.pg-contact, .pg-careers) .form-success h2 { font-size: var(--t-xl); margin: 0; }
:is(.pg-contact, .pg-careers) .success-art { width: 150px; height: 120px; overflow: visible; }
:is(.pg-contact, .pg-careers) .success-art .egg ellipse { fill: var(--sun); stroke: var(--line); stroke-width: 2.5; }
:is(.pg-contact, .pg-careers) .success-art .tick { fill: none; stroke: var(--line); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
:is(.pg-contact, .pg-careers) .success-art .spark { stroke: var(--chile); stroke-width: 3; stroke-linecap: round; }
:is(.pg-contact, .pg-careers) .success-art .weave path { fill: none; stroke: var(--turq); stroke-width: 3; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  :is(.pg-contact, .pg-careers) .form-success:not([hidden]) .egg { transform-box: fill-box; transform-origin: 50% 100%; animation: pf-pop .5s cubic-bezier(.2, .8, .2, 1.4) both; }
  :is(.pg-contact, .pg-careers) .form-success:not([hidden]) .tick,
  :is(.pg-contact, .pg-careers) .form-success:not([hidden]) .weave path { stroke-dasharray: 1; animation: pf-draw .6s ease-out .25s both; }
  :is(.pg-contact, .pg-careers) .form-success:not([hidden]) .weave path:nth-child(2) { animation-delay: .35s; }
  :is(.pg-contact, .pg-careers) .form-success:not([hidden]) .weave path:nth-child(3) { animation-delay: .45s; }
  @keyframes pf-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes pf-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}

/* ---------- Contact ---------- */
.pg-contact .intake-layout { display: grid; gap: var(--s-6); }
.pg-contact .intake-layout > * { min-width: 0; }
@media (min-width: 900px) {
  .pg-contact .intake-layout { grid-template-columns: 1fr 1.35fr; grid-template-rows: auto 1fr; column-gap: var(--s-7); grid-template-areas: "next form" "extra form"; }
  .pg-contact .intake-next { grid-area: next; }
  .pg-contact .intake-card { grid-area: form; align-self: start; }
  .pg-contact .intake-extra { grid-area: extra; }
}
.pg-contact .intake-next h2 { font-size: var(--t-xl); margin-bottom: var(--s-5); }
.pg-contact .intake-extra > * + * { margin-top: var(--s-6); }
.pg-contact .h-small { font-size: var(--t-l); margin-bottom: var(--s-3); }
.pg-contact .ask-list .facts { margin-top: 0; }
.pg-contact .email-box .email-chip { margin-bottom: var(--s-3); max-width: 100%; }
.pg-contact .email-box .email-chip a { overflow-wrap: anywhere; }
.pg-contact .timeline.flight { gap: var(--s-5); }
.pg-contact .timeline.flight li { position: relative; }
.pg-contact .timeline.flight li:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 64px; bottom: calc(-1 * var(--s-5) + 6px); border-left: 2.5px dashed var(--line); }
.pg-contact .timeline.flight h3 { font-size: var(--t-m); line-height: 1.2; }
.pg-contact .head-row p { max-width: 44ch; margin: 0; }

/* Intake form in three numbered chunks */
.pg-contact .intake-card form { counter-reset: pf-grp; }
.pg-contact .form-group { border: 0; margin: 0 0 var(--s-6); padding: 0; min-width: 0; counter-increment: pf-grp; }
.pg-contact .form-group + .form-group { padding-top: var(--s-6); border-top: 2px dashed var(--line); }
.pg-contact .form-group legend { float: left; width: 100%; display: flex; align-items: center; gap: var(--s-3); padding: 0; margin: 0 0 var(--s-5); font: 800 var(--t-l)/1.1 var(--f-display); font-variation-settings: "wdth" 112; letter-spacing: -0.01em; color: var(--ink); }
.pg-contact .form-group legend + * { clear: both; }
.pg-contact .form-group legend::before { content: counter(pf-grp); flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: var(--bw) solid var(--line); background: var(--sun); color: var(--on-color); font-size: 1rem; box-shadow: 3px 3px 0 var(--line); }
.pg-contact .form-group:nth-of-type(2) legend::before { background: var(--turq); color: #fff; }
.pg-contact .form-group:nth-of-type(3) legend::before { background: var(--mesa); }
.pg-contact .form-group legend .opt { font: 400 var(--t-s)/1 var(--f-body); color: var(--ink-3); }

/* ---------- Careers ---------- */
.pg-careers .head-row p { max-width: 40ch; margin: 0; }
.pg-careers .roles { gap: var(--s-6); }
.pg-careers .role { display: flex; flex-direction: column; gap: var(--s-3); }
.pg-careers .role .tag { align-self: flex-start; color: var(--ink); }
.pg-careers .role h3 { margin: var(--s-2) 0 var(--s-3); }
.pg-careers .tile.sun .checks li::before { background: var(--paper); }
.pg-careers .tile.sun .checks li::after { border-color: var(--ink); }
@media (min-width: 700px) {
  .pg-careers .role:nth-child(1) { rotate: -1deg; }
  .pg-careers .role:nth-child(2) { rotate: 1deg; translate: 0 var(--s-6); }
  .pg-careers .roles { padding-bottom: var(--s-6); }
}
.pg-careers .values { list-style: none; display: grid; gap: var(--s-4); }
.pg-careers .values li { position: relative; padding: var(--s-4) var(--s-5) var(--s-4) 74px; border: var(--bw) solid var(--paper); border-radius: var(--r-m); color: color-mix(in srgb, var(--paper) 82%, transparent); font-size: var(--t-m); line-height: 1.45; }
.pg-careers .values li strong { color: var(--paper); }
.pg-careers .values li::before { content: ""; position: absolute; left: 20px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; border: var(--bw) solid var(--paper); background: var(--sun); }
.pg-careers .values li:nth-child(2)::before { background: var(--turq); }
.pg-careers .values li:nth-child(3)::before { background: var(--mesa); }
.pg-careers .values li:nth-child(4)::before { background: var(--chile); }
@media (min-width: 900px) {
  .pg-careers .values li:nth-child(even) { margin-left: var(--s-6); }
}
.pg-careers .apply-aside > * + * { margin-top: var(--s-5); }

/* ---------- Privacy ---------- */
.pg-privacy .pv-layout { display: grid; gap: var(--s-6); }
.pg-privacy .pv-layout > * { min-width: 0; }
@media (min-width: 960px) {
  .pg-privacy .pv-layout { grid-template-columns: 260px minmax(0, 1fr); column-gap: var(--s-8); align-items: start; }
  .pg-privacy .pv-toc { position: sticky; top: calc(100px + env(safe-area-inset-top, 0px)); }
}
.pg-privacy .pv-toc { border: var(--bw) solid var(--line); border-radius: var(--r-m); padding: var(--s-5); background: var(--paper-2); box-shadow: var(--shadow-s); }
.pg-privacy .pv-toc-title { font: 800 var(--t-m)/1.1 var(--f-display); font-variation-settings: "wdth" 112; margin-bottom: var(--s-3); }
.pg-privacy .pv-toc ol { list-style: none; display: grid; gap: 2px; counter-reset: pf-toc; }
@media (max-width: 959px) and (min-width: 520px) { .pg-privacy .pv-toc ol { grid-template-columns: 1fr 1fr; column-gap: var(--s-4); } }
.pg-privacy .pv-toc li { counter-increment: pf-toc; }
.pg-privacy .pv-toc a { display: flex; gap: var(--s-3); padding: 6px 8px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: var(--t-s); line-height: 1.3; }
.pg-privacy .pv-toc a::before { content: counter(pf-toc, decimal-leading-zero); color: var(--chile); font-variant-numeric: tabular-nums; }
.pg-privacy .pv-toc a:hover { background: var(--sun-2); }
.pg-privacy .pv-prose { max-width: 68ch; }
.pg-privacy .updated { display: inline-block; font-weight: 700; font-size: var(--t-s); padding: 6px 12px; border: 2px solid var(--line); border-radius: 999px; background: var(--sun-2); }
.pg-privacy .pv-part h2 { scroll-margin-top: calc(100px + env(safe-area-inset-top, 0px)); }
.pg-privacy .pv-part:first-of-type h2 { margin-top: var(--s-6); }
.pg-privacy .pv-flag { margin-top: var(--s-7); padding: var(--s-5) var(--s-6); border: var(--bw) solid var(--line); border-radius: var(--r-l); background: var(--mesa-2); box-shadow: var(--shadow); }
.pg-privacy .pv-flag h2 { margin-top: 0; }
.pg-privacy .nope { list-style: none; padding-left: 0; display: grid; gap: var(--s-3); }
.pg-privacy .nope li { position: relative; padding-left: 44px; margin: 0; }
.pg-privacy .nope li::before { content: ""; position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); background: var(--chile); }
.pg-privacy .nope li::after { content: ""; position: absolute; left: 8px; top: 14px; width: 12px; height: 3px; border-radius: 2px; background: #fff; }

/* ---------- 404 ---------- */
.pg-404.lost { position: relative; overflow: hidden; background: var(--sky-2); border-bottom: var(--bw) solid var(--line); }
.pg-404 .lost-inner { position: relative; z-index: 1; display: grid; gap: var(--s-5); justify-items: center; text-align: center; padding-block: var(--s-7) var(--s-4); }
.pg-404 .lost-code { display: flex; align-items: center; justify-content: center; gap: .04em; margin: 0; font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 900; font-size: clamp(6.5rem, 3rem + 16vw, 15rem); line-height: .8; letter-spacing: -0.04em; color: var(--chile); -webkit-text-stroke: 2.5px var(--line); text-shadow: 6px 6px 0 var(--line); }
.pg-404 .lost-zero { display: inline-block; width: .7em; }
.pg-404 .lost-balloon { display: block; width: 100%; height: auto; overflow: visible; }
.pg-404 .lost-copy { max-width: 760px; }
.pg-404 .lost-copy h1 { font-size: var(--t-3xl); }
.pg-404 .lost-copy .lede { max-width: 52ch; margin-inline: auto; margin-bottom: var(--s-6); }
.pg-404 .btn-row { justify-content: center; }
.pg-404 .lost-ground { display: block; width: 100%; height: clamp(120px, 18vw, 220px); margin-top: calc(-1 * var(--s-4)); }
.pg-404 .lost-more { font-size: var(--t-xl); margin-bottom: var(--s-5); }

/* --- practice.css --- */
/* Practice group pages: how it works (.pg-hiw), insurance (.pg-ins), about (.pg-about), FAQ (.pg-faq).
   Tokens only (plus #fff). Every selector is scoped to a page class. */

/* JS toggles the hidden attribute on these widgets; class display rules would otherwise win over it. */
.pg-hiw [hidden], .pg-faq [hidden] { display: none !important; }

/* ---------- How it works: stepper ---------- */
.pg-hiw .stepper-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
@media (min-width: 860px) { .pg-hiw .stepper-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pg-hiw .step-tab {
  display: flex; align-items: center; gap: var(--s-3); text-align: left; min-height: 64px;
  border-radius: var(--r-m); padding: 10px 14px; box-shadow: 0 4px 0 var(--line);
  transition: transform .12s ease, box-shadow .12s ease, background .2s;
}
.pg-hiw .step-tab:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--line); }
.pg-hiw .step-tab:active { transform: translateY(4px); box-shadow: 0 0 0 var(--line); }
.pg-hiw .step-tab .num {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--line); background: var(--sun); color: var(--on-color);
  font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 900; font-size: 1.1rem;
}
.pg-hiw .step-tab:nth-child(2) .num { background: var(--turq); color: #fff; }
.pg-hiw .step-tab:nth-child(3) .num { background: var(--mesa); }
.pg-hiw .step-tab:nth-child(4) .num { background: var(--sage); }
.pg-hiw .step-tab .label { min-width: 0; }
.pg-hiw .step-tab[aria-selected="true"] { transform: translateY(-2px); }
.pg-hiw .step-tab[aria-selected="true"] .num { background: var(--chile); color: #fff; border-color: var(--paper); }
.pg-hiw .stepper-progress { margin-top: var(--s-5); }

.pg-hiw .step-panels { display: grid; gap: var(--s-6); }
.pg-hiw .step-panel { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 900px) { .pg-hiw .step-panel { grid-template-columns: 1.4fr 1fr; padding: var(--s-7); } }
.pg-hiw .step-panel > * { min-width: 0; }
.pg-hiw .step-kicker { display: flex; align-items: baseline; gap: var(--s-3); font-weight: 700; color: var(--ink-2); }
.pg-hiw .step-kicker span {
  font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 900; font-size: clamp(2.6rem, 1.8rem + 3vw, 4rem);
  line-height: .8; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 2px var(--ink);
}
.pg-hiw .step-copy h3 { font-size: var(--t-xl); line-height: 1; margin-top: var(--s-3); }
.pg-hiw .step-copy .lede { margin-bottom: var(--s-4); color: var(--ink); font-weight: 700; }
.pg-hiw .step-aside { padding: var(--s-5); }
.pg-hiw .step-aside .tile-art { width: 96px; height: 96px; margin-bottom: var(--s-3); }
.pg-hiw .step-aside h4 { margin-bottom: var(--s-3); }
.pg-hiw .step-aside .checks li::before { background: var(--paper); }
.pg-hiw .step-aside .checks li::after { border-color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .pg-hiw .step-panel.is-entering { animation: pg-step-in .45s cubic-bezier(.2,.8,.2,1.15) both; }
  .pg-hiw .step-panel.is-entering .step-aside { animation: pg-step-pop .55s cubic-bezier(.2,.8,.2,1.3) .08s both; }
  @keyframes pg-step-in { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
  @keyframes pg-step-pop { from { opacity: 0; transform: rotate(-4deg) scale(.92); } to { opacity: 1; transform: none; } }
}

/* ---------- How it works: once sessions begin ---------- */
.pg-hiw .pg-hiw-along { list-style: none; display: grid; gap: var(--s-5); }
.pg-hiw .pg-hiw-along li { display: grid; grid-template-columns: 96px 1fr; gap: var(--s-4); align-items: center; padding: var(--s-5); }
.pg-hiw .pg-hiw-along .tile-art { width: 96px; height: 96px; margin: 0; }
.pg-hiw .pg-hiw-along h3 { font-size: var(--t-l); margin-bottom: var(--s-2); }
@media (min-width: 900px) {
  .pg-hiw .pg-hiw-along li:nth-child(1) { margin-right: 12%; transform: rotate(-1deg); }
  .pg-hiw .pg-hiw-along li:nth-child(2) { margin-inline: 6%; transform: rotate(1deg); }
  .pg-hiw .pg-hiw-along li:nth-child(3) { margin-left: 12%; transform: rotate(-.6deg); }
}
.pg-hiw .pg-hiw-loop { margin-top: var(--s-6); max-width: 340px; }
.pg-hiw .pg-loop-art { display: block; width: 100%; height: auto; overflow: visible; }
@media (max-width: 899px) { .pg-hiw .pg-hiw-loop { display: none; } }

/* ---------- Insurance ---------- */
.pg-ins .pg-ins-tickets { grid-template-columns: 1fr; }
.pg-ins .pg-ins-tickets .ticket { grid-template-columns: 1fr auto; box-shadow: var(--shadow-s); }
@media (min-width: 900px) {
  .pg-ins .pg-ins-tickets .ticket:nth-child(2) { margin-left: var(--s-6); }
  .pg-ins .pg-ins-tickets .ticket:nth-child(3) { margin-left: var(--s-7); }
}
.pg-ins .pg-ins-ok .status { background: var(--sage); }
.pg-ins .pg-ins-checklist { list-style: none; counter-reset: pgchk; display: grid; gap: var(--s-4); margin-top: var(--s-6); }
.pg-ins .pg-ins-checklist li {
  counter-increment: pgchk; position: relative; padding: var(--s-4) var(--s-4) var(--s-4) 72px;
  border: var(--bw) solid var(--line); border-radius: var(--r-m); background: var(--paper);
}
.pg-ins .pg-ins-checklist li::before {
  content: counter(pgchk); position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 2px solid var(--line);
  background: var(--sun); color: var(--on-color);
  font-family: var(--f-display); font-variation-settings: "wdth" 125; font-weight: 900; font-size: 1.2rem;
}
.pg-ins .pg-ins-checklist li:nth-child(2)::before { background: var(--turq); color: #fff; }
.pg-ins .pg-ins-checklist li:nth-child(3)::before { background: var(--mesa); }
.pg-ins .pg-ins-checklist li:nth-child(4)::before { background: var(--sky); }
.pg-ins .tile .checks li::before { background: var(--paper); }
.pg-ins .tile .checks li::after { border-color: var(--ink); }
.pg-ins .stack > * + * { margin-top: var(--s-5); }

/* ---------- About ---------- */
.pg-about .entry-word { margin-top: var(--s-2); }
.pg-about .pg-about-pull {
  font-family: var(--f-display); font-variation-settings: "wdth" 112; font-weight: 800; font-size: var(--t-l); line-height: 1.25;
  padding-left: var(--s-4); border-left: 6px solid var(--chile); margin-top: var(--s-5);
}
.pg-about .pg-about-bento { list-style: none; }
.pg-about .pg-about-bento .tile { min-height: 220px; height: 100%; justify-content: flex-end; }
.pg-about .pg-about-bento > li { display: flex; }
.pg-about .pg-about-bento > li > .tile { flex: 1; }
.pg-about .pg-about-roles { list-style: none; display: grid; gap: var(--s-5); }
.pg-about .pg-about-roles li { display: grid; grid-template-columns: 110px 1fr; gap: var(--s-4); align-items: center; }
.pg-about .pg-about-roles .tile-art { width: 110px; height: 110px; margin: 0; }
@media (min-width: 900px) { .pg-about .pg-about-roles li:nth-child(2) { margin-left: var(--s-7); transform: rotate(1.2deg); } }
.pg-about .pg-about-values { list-style: none; display: grid; gap: var(--s-5); }
@media (min-width: 700px) { .pg-about .pg-about-values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .pg-about .pg-about-values { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pg-about .pg-about-values .tile { padding: var(--s-5); border-color: var(--paper); box-shadow: 6px 6px 0 var(--paper); }
.pg-about .pg-about-values .tile h3 { font-size: var(--t-l); margin-bottom: var(--s-2); }
@media (min-width: 700px) {
  .pg-about .pg-about-values li:nth-child(odd) { transform: rotate(-1.4deg); }
  .pg-about .pg-about-values li:nth-child(even) { transform: rotate(1.2deg) translateY(var(--s-4)); }
}
.pg-about .pg-about-join { display: grid; gap: var(--s-5); align-items: center; overflow: hidden; }
@media (min-width: 760px) { .pg-about .pg-about-join { grid-template-columns: 1.5fr 1fr; padding: var(--s-7); } }
.pg-about .pg-about-join h2 { font-size: var(--t-xl); }
.pg-about .pg-about-join p { max-width: 46ch; }
.pg-about .pg-about-join-art svg { display: block; width: 100%; max-width: 220px; height: auto; margin-inline: auto; overflow: visible; }
@media (max-width: 759px) { .pg-about .pg-about-join-art { max-width: 140px; } }

/* ---------- FAQ ---------- */
.pg-faq .pg-faq-layout { display: grid; gap: var(--s-6); }
@media (min-width: 960px) {
  .pg-faq .pg-faq-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; }
  .pg-faq .pg-faq-side { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); }
}
.pg-faq .pg-faq-layout > * { min-width: 0; }
.pg-faq .pg-faq-side h2 { font-size: var(--t-xl); }
.pg-faq .faq-tools { flex-direction: column; align-items: stretch; margin-top: var(--s-5); }
.pg-faq .faq-search { position: relative; flex: none; }
.pg-faq .faq-search svg { position: absolute; left: 14px; top: 50%; width: 22px; height: 22px; margin-top: -11px; color: var(--ink-2); pointer-events: none; }
.pg-faq .faq-search input { padding-left: 46px; box-shadow: var(--shadow-s); }
.pg-faq .faq-search input:focus { box-shadow: 0 0 0 4px var(--sky); }
.pg-faq .hint { margin: 0; font-weight: 700; color: var(--ink-2); font-size: var(--t-s); }
.pg-faq .hint:empty { display: none; }
.pg-faq .link-btn { align-self: flex-start; }
.pg-faq .pg-faq-side-note { margin-top: var(--s-5); font-size: var(--t-s); }
.pg-faq .faq-item:nth-child(4n+1) .faq-icon { background: var(--sun); }
.pg-faq .faq-item:nth-child(4n+2) .faq-icon { background: var(--sky); }
.pg-faq .faq-item:nth-child(4n+3) .faq-icon { background: var(--mesa); }
.pg-faq .faq-item:nth-child(4n) .faq-icon { background: var(--sage); }
.pg-faq .faq-btn[aria-expanded="true"] .faq-icon { background: var(--chile); }
.pg-faq .faq-empty { margin-top: var(--s-4); }
.pg-faq .pg-faq-note { color: var(--ink); }
.pg-faq.band-chile .lede a { color: inherit; }

/* --- services.css --- */
/* Services group extras (services overview, early intervention, clinic-based ABA, parent training).
   Every selector is scoped to a page class. Tokens only, so light and dark mode both work. */

/* ---------- Hero tones and hero art text ---------- */
.page-hero.pg-clinic-hero { background: color-mix(in srgb, var(--turq) 20%, var(--paper)); }
.pg-svc-hero .sign-t { font: 900 13px/1 var(--f-display); font-variation-settings: "wdth" 118; letter-spacing: .04em; fill: var(--on-color); }

/* ---------- Services overview: quick chooser ---------- */
.pg-svc .chooser { list-style: none; display: grid; gap: var(--s-3); }
.pg-svc .chooser a {
  display: grid; grid-template-columns: 1fr auto; gap: var(--s-4); align-items: center;
  padding: var(--s-4) var(--s-5); background: var(--paper); color: var(--ink);
  border: var(--bw) solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow-s);
  text-decoration: none; font-weight: 700; transition: transform .15s ease, box-shadow .15s ease;
}
.pg-svc .chooser a:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.pg-svc .chooser a:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--line); }
.pg-svc .chooser .then {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font: 800 var(--t-s)/1.1 var(--f-display); font-variation-settings: "wdth" 112;
  padding: 8px 14px; border: 2px solid var(--line); border-radius: 999px; background: var(--mesa); color: var(--on-color);
}
.pg-svc .chooser li:nth-child(2) .then { background: var(--sun); }
.pg-svc .chooser li:nth-child(3) .then { background: var(--sky); }
.pg-svc .chooser li:nth-child(4) .then { background: var(--sage); }
.pg-svc .chooser .then .arrow { width: 18px; height: 18px; transition: transform .15s ease; }
.pg-svc .chooser a:hover .then .arrow { transform: translateX(3px); }
@media (max-width: 560px) { .pg-svc .chooser a { grid-template-columns: 1fr; } .pg-svc .chooser .then { justify-self: start; } }

/* ---------- Services overview: one row per service ---------- */
.pg-svc .svc-rows { display: grid; gap: var(--s-7); }
.pg-svc .svc-row { display: grid; gap: var(--s-5); align-items: center; }
.pg-svc .svc-row + .svc-row { border-top: var(--bw) dashed var(--line); padding-top: var(--s-7); }
.pg-svc .svc-art { display: grid; place-items: center; width: 100%; max-width: 200px; aspect-ratio: 1; padding: var(--s-4); }
.pg-svc .svc-art .tile-art { width: 82%; height: auto; margin: 0; }
.pg-svc .svc-copy h2 { font-size: var(--t-xl); margin-top: var(--s-4); }
.pg-svc .svc-copy h2 a { text-decoration: none; }
.pg-svc .svc-copy h2 a:hover { text-decoration: underline; text-decoration-color: var(--chile); }
.pg-svc .fit { border: var(--bw) solid var(--line); border-radius: var(--r-m); padding: var(--s-5); background: var(--paper-2); }
.pg-svc .fit h3 { margin-bottom: var(--s-4); }
@media (min-width: 960px) {
  .pg-svc .svc-row { grid-template-columns: 200px 1.15fr 1fr; gap: var(--s-6); }
  .pg-svc .svc-row:nth-child(even) { grid-template-columns: 1.15fr 1fr 200px; }
  .pg-svc .svc-row:nth-child(even) .svc-art { order: 3; }
}

/* ---------- Early intervention: skills as a stack of rings ---------- */
.pg-early .ring-stack { list-style: none; display: grid; justify-items: center; margin-top: var(--s-5); }
.pg-early .ring-cap { display: block; width: 44px; height: 44px; margin: 0 auto -2px; border-radius: 50%; border: var(--bw) solid var(--line); background: var(--sage); }
.pg-early .ring-stack li {
  width: 100%; margin-top: calc(-1 * var(--bw)); padding: 10px 22px; text-align: center; font-weight: 700; line-height: 1.3;
  border: var(--bw) solid var(--line); border-radius: 999px; background: var(--mesa); color: var(--on-color);
}
.pg-early .ring-stack li:nth-child(1) { width: 64%; }
.pg-early .ring-stack li:nth-child(2) { width: 73%; background: var(--sky); }
.pg-early .ring-stack li:nth-child(3) { width: 82%; background: var(--turq); color: #fff; }
.pg-early .ring-stack li:nth-child(4) { width: 91%; background: var(--sun); }
.pg-early .ring-stack li:nth-child(5) { background: var(--chile); color: #fff; }
.pg-early .ring-base { display: block; width: 104%; height: 18px; margin: calc(-1 * var(--bw)) -2% 0; border: var(--bw) solid var(--line); border-radius: 8px; background: var(--paper); box-shadow: var(--shadow-s); }
@media (max-width: 520px) { .pg-early .ring-stack li { width: 100% !important; } }

/* ---------- Clinic-based ABA: session track ---------- */
.pg-clinic .track { list-style: none; display: grid; gap: var(--s-5); position: relative; }
.pg-clinic .track::before { content: ""; position: absolute; left: 29px; top: 20px; bottom: 20px; border-left: var(--bw) dashed var(--line); }
.pg-clinic .track li { position: relative; display: grid; grid-template-columns: 60px 1fr; gap: var(--s-4); align-items: start; }
.pg-clinic .track .stop {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  border: var(--bw) solid var(--line); background: var(--sun); color: var(--on-color); box-shadow: var(--shadow-s);
  font: 900 1.5rem/1 var(--f-display); font-variation-settings: "wdth" 125;
}
.pg-clinic .track li:nth-child(2) .stop { background: var(--turq); color: #fff; }
.pg-clinic .track li:nth-child(3) .stop { background: var(--mesa); }
.pg-clinic .track li:nth-child(4) .stop { background: var(--sky); }
.pg-clinic .track .stop-card { height: 100%; padding: var(--s-5); background: var(--paper); border: var(--bw) solid var(--line); border-radius: var(--r-m); }
.pg-clinic .track h3 { margin-bottom: var(--s-2); }
@media (min-width: 900px) {
  .pg-clinic .track { grid-template-columns: repeat(4, 1fr); }
  .pg-clinic .track::before { left: 30px; right: 30px; top: 29px; bottom: auto; border-left: 0; border-top: var(--bw) dashed var(--line); }
  .pg-clinic .track li { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .pg-clinic .track li:nth-child(even) { margin-top: var(--s-6); }
}

/* ---------- Parent training ---------- */
.pg-parent .big-say { font: 900 var(--t-2xl)/.95 var(--f-display); font-variation-settings: "wdth" 120; letter-spacing: -.02em; margin-bottom: var(--s-4); }
.pg-parent .who-bento { list-style: none; }
.pg-parent .who-bento .tile { min-height: 0; height: 100%; justify-content: flex-start; gap: var(--s-4); }
.pg-parent .who-bento .tile p { font: 800 var(--t-l)/1.2 var(--f-display); font-variation-settings: "wdth" 110; margin: 0; }
.pg-parent .who-bento .who-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: var(--bw) solid var(--line); background: var(--paper); color: var(--ink); font: 900 1.1rem/1 var(--f-display); font-variation-settings: "wdth" 125; }
.pg-parent .plan-card { padding: var(--s-6); background: var(--paper); border: var(--bw) solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow); }
