/* www.gotbindex.com in the GOTB Network's look. Every token and rule below is copied from the network's web
   (gotb-network 9f903c53: web/src/tokens/tokens.css, web/src/app/globals.css, web/src/shell/shell.css,
   shell-sheet.css, shell-phone.css, web/src/kit/kit.css, kit-grid.css, kit-tables.css, kit-quiet.css) unless a
   comment marks it as this site's own. Fonts are self-hosted (SIL Open Font License, assets/fonts/OFL-*.txt). */

@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/raleway-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/poppins-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/open-sans-latin-400-normal.woff2") format("woff2");
}

/* ---------- tokens (web/src/tokens/tokens.css) ---------- */
:root {
  --color-deep-navy: #15184f;
  --color-navy: #263575;
  --color-navy-light: #3f67a8;
  --color-ice: #ebf2f8;
  --color-white: #ffffff;
  --color-sky-blue: #4495d5;
  --tint-rule: #cfd9e9;
  --tint-line: #e8edf5;
  --tint-frame-text: #c2d1e5;
  --tint-frame-head: #9ab1d2;
  --tint-frame-ground: #26295d;
  --tint-muted: #4d4f79;
  --tint-edge: #6585b9;
  --tint-track: #dae4f0;
  --accent-bar1: #8cd0e4;
  --proposal-link-blue: #2b6fae;
  --radius-card: 28px;
  --radius-row: 20px;
  --radius-pill: 999px;
  --focus-width: 3px;
  --focus-offset: 2px;
  --focus-color: var(--proposal-link-blue);
  --focus-color-on-dark: var(--accent-bar1);
  --font-heading: "Raleway", system-ui, sans-serif;
  --font-label: "Poppins", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
  --size-page-title: 38px;
  --size-section: 21px;
  --size-card-title: 18px;
  --size-body: 16px;
  --size-small: 14px;
  --size-label: 14px;
  --size-eyebrow: 12px;
  --size-byline: 13px;
  --line-height: 1.55;
  --eyebrow-tracking: 0.08em;
  --content-max: 1152px;
  --header-height: 72px;
  --logo-desktop: 32px;
  --logo-phone: 24px;
}

/* ---------- the page (globals.css) ---------- */
body {
  margin: 0;
  background: var(--color-deep-navy);
  color: var(--color-deep-navy);
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: var(--line-height);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.2;
}

h1 {
  font-size: var(--size-page-title);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

h2 {
  font-size: var(--size-section);
}

h3 {
  font-size: var(--size-card-title);
}

.shell-main :is(h1, h2, h3, p, ul, ol, dl, dd) {
  margin-block: 0;
}

.shell-main a:not([class]),
.shell-footer a:not([class]) {
  color: var(--proposal-link-blue);
  text-underline-offset: 0.2em;
}

.shell-main a:not([class]):hover,
.shell-footer a:not([class]):hover {
  color: var(--color-navy);
  text-decoration-thickness: 2px;
}

.shell-header {
  --focus-color: var(--focus-color-on-dark);
}

a:focus-visible {
  outline: var(--focus-width) solid var(--focus-color);
  outline-offset: var(--focus-offset);
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  background: var(--color-white);
  color: var(--color-deep-navy);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  z-index: 100;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- the shell, signed out: the navy top bar over one white sheet (shell.css, shell-sheet.css) ---------- */
.shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  background: var(--color-deep-navy);
}

.shell-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--color-deep-navy);
  color: var(--color-white);
}

.shell-header-bar {
  display: flex;
  align-items: center;
  gap: 12px 24px;
  min-height: var(--header-height);
  padding: 0 24px;
  box-sizing: border-box;
}

/* This site's own: the GOTB Index lockup is the colour one (navy words), so on the navy bar it sits on a white pill,
   the network's pill radius, rather than being recoloured. */
.shell-logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 7px 16px;
  background: var(--color-white);
  border-radius: var(--radius-pill);
}

.shell-logo img {
  display: block;
  height: var(--logo-desktop);
  width: auto;
}

.shell-account {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 12px;
  margin-inline-start: auto;
}

.shell-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: clip; /* this site's own: the network has hidden; clip draws the same but is not a scroll container,
                     so the home page's view() timelines follow the page's scroll (lane site-redo-2) */
  background: var(--color-white);
  border-top-left-radius: var(--radius-card);
  border-top-right-radius: var(--radius-card);
}

.shell-sheet::before {
  content: "";
  position: absolute;
  right: -160px;
  top: -240px;
  width: 560px;
  height: 560px;
  border: 42px dashed var(--tint-line);
  border-radius: 50%;
  box-sizing: border-box;
  pointer-events: none;
}

.shell-main {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: 35px 40px 48px;
}

.shell-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: var(--content-max);
  margin-inline: auto;
}

.shell-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); /* this site's own: the centre held in the centre */
  align-items: baseline;
  gap: 8px 16px;
  margin: 0 40px;
  padding: 21px 0 32px;
  border-top: 1px solid var(--tint-rule);
  color: var(--tint-muted);
  font-size: var(--size-small);
}

.shell-footer p {
  margin: 0;
}

.shell-footer > p:last-child {
  justify-self: end;
  text-align: right;
}

/* This site's own: the footer's centre, About and Privacy, small and discreet; no underline until hovered or
   focused (AJ 2026-12-03); a bullet with about three spaces' room each side (a space in Open Sans is about 0.26 em). */
.shell-footer-links {
  justify-self: center;
  white-space: nowrap;
}

.shell-footer-link {
  color: var(--tint-muted);
  font-size: var(--size-byline);
  text-decoration: none;
  text-underline-offset: 0.2em;
}

.shell-footer-link:hover,
.shell-footer-link:focus-visible {
  color: var(--color-navy);
  text-decoration: underline;
}

.shell-footer-sep {
  margin-inline: 0.8em;
  color: var(--tint-muted);
  font-size: var(--size-byline);
}

/* ---------- buttons (kit.css): Poppins 600 pills ---------- */
.kit-btn-primary,
.kit-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 22px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: var(--size-small);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    color 0.15s;
}

.kit-btn-primary {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
}

.kit-btn-primary:hover {
  background: var(--color-deep-navy);
  border-color: var(--color-deep-navy);
}

.kit-btn-secondary {
  background: var(--color-white);
  border-color: var(--tint-edge);
  color: var(--color-navy);
}

.kit-btn-secondary:hover {
  border-color: var(--color-navy);
  color: var(--color-deep-navy);
  background: var(--color-ice);
}

/* the frame's buttons: an outlined pill in the frame's own colors (shell.css) */
.shell-header .kit-btn-secondary {
  min-height: 36px;
  padding: 6px 14px;
  background: transparent;
  border-color: var(--tint-frame-head);
  color: var(--color-white);
  font-size: 13px;
}

.shell-header .kit-btn-secondary:hover {
  background: var(--tint-frame-ground);
  border-color: var(--color-white);
  color: var(--color-white);
}

.kit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- cards, tiles, hero, page head (kit.css, kit-grid.css) ---------- */
.kit-card,
.kit-card-ice {
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
  min-width: 0;
  border-radius: var(--radius-card);
}

.kit-card {
  background: var(--color-white);
  border: 1px solid var(--tint-rule);
  padding: 22px 26px 24px;
}

.kit-card-ice {
  background: var(--color-ice);
  border: 1px solid var(--color-ice);
  padding: 24px 28px 26px;
}

.kit-card-title.kit-card-title {
  margin: 0;
  font-size: var(--size-card-title);
  line-height: 1.3;
}

/* This site's own: two cards side by side (the two assessments), one column on a phone. */
.kit-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 18px;
}

.kit-hero-plain {
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
  padding: 32px 36px;
  background: var(--color-white);
  border: 1px solid var(--tint-rule);
  border-radius: var(--radius-card);
  box-shadow: 0 24px 60px -34px var(--tint-muted);
}

/* This site's own: the hero's lockup, drawn at 56 px high (half its file's height). */
.hero-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: 56px;
  object-fit: contain;
  object-position: left center;
}

.kit-pagehead {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kit-pagehead > p:not(.kit-kicker) {
  max-width: 46rem;
  color: var(--tint-muted);
  font-size: 17px;
}

.kit-kicker {
  color: var(--color-navy-light);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 11.2px;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kit-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.kit-section-title {
  margin: 20px 0 4px;
  font-size: var(--size-section);
}

.kit-section > p {
  max-width: 46rem;
}

/* ---------- the card grid (kit-grid.css): round Ice cards, the heading the card's one link ---------- */
.kit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kit-grid-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
  min-width: 0;
  padding: 24px 26px;
  background: var(--color-ice);
  border: 1.5px solid var(--color-ice);
  border-radius: var(--radius-card);
  color: var(--color-deep-navy);
  transition: border-color 0.15s;
}

.kit-grid-card:hover {
  border-color: var(--tint-edge);
}

.kit-grid-card > h3 {
  margin: 0;
  font-size: var(--size-card-title);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.kit-grid-excerpt {
  color: var(--tint-muted);
  font-size: var(--size-small);
}

.kit-grid-card.kit-grid-card h3 > a {
  color: var(--color-deep-navy);
  text-decoration: none;
}

.kit-grid-card h3 > a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
}

.kit-grid-card h3 > a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.kit-grid-card h3 > a:focus-visible {
  outline: none;
}

.kit-grid-card h3 > a:focus-visible::after {
  outline: var(--focus-width) solid var(--focus-color);
  outline-offset: var(--focus-offset);
}

/* ---------- the chip (kit-ring.css; white on an Ice card, kit-grid.css); here it reads "Coming soon" ---------- */
.kit-chip {
  align-self: flex-start;
  padding: 5px 9px;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-navy);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

/* ---------- a card's rows: the table head's look (kit-tables.css) over each answer ---------- */
.kit-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.kit-rows > div {
  padding: 12px 0;
  border-top: 1px solid var(--tint-rule);
}

.kit-rows dt {
  color: var(--color-navy);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: var(--size-eyebrow);
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
}

.kit-rows dd {
  margin: 4px 0 0;
  font-size: var(--size-small);
}

/* ---------- the five practices: filter-tile labels on Ice tiles (kit-grid.css) ---------- */
.kit-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-sizing: border-box;
  padding: 16px 20px;
  background: var(--color-ice);
  border-radius: var(--radius-row);
}

.kit-tile-label {
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--size-card-title);
  line-height: 1.2;
}

.kit-tile-text {
  color: var(--tint-muted);
  font-size: var(--size-small);
}

.kit-callout-info {
  box-sizing: border-box;
  border-radius: var(--radius-row);
  padding: 14px 18px;
  background: var(--color-white);
  border: 1px solid var(--tint-rule);
  border-left: 4px solid var(--color-sky-blue);
}

/* ---------- a phone (shell-phone.css) ---------- */
@media (max-width: 760px) {
  :root {
    --header-height: 60px;
  }

  h1 {
    font-size: 30px;
  }

  .shell-header-bar {
    padding: 0 12px;
    gap: 8px;
  }

  .shell-logo {
    padding: 6px 12px;
  }

  .shell-logo img {
    height: var(--logo-phone);
  }

  .shell-header .kit-btn-secondary {
    padding: 6px 10px;
  }

  .shell-sheet {
    border-radius: 22px 22px 0 0;
  }

  .shell-sheet::before {
    width: 300px;
    height: 300px;
    right: -200px;
    top: -170px;
    border-width: 26px;
  }

  .shell-main {
    padding: 24px 16px 32px;
  }

  .shell-footer {
    margin: 0 16px;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }

  .shell-footer > p:last-child {
    justify-self: center;
    text-align: center;
  }

  .kit-hero-plain {
    padding: 24px 20px;
  }

  .hero-logo {
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* =================================================================================================================
   This site's own, from here to the end (lane site-redo-2, AJ 2026-12-03): the home page as a landing page.
   Full-width bands, each with its own ground in the network's palette (white, Ice, Deep Navy), Poppins caps
   eyebrows over Raleway headlines, text no wider than 65ch. Motion is restrained: two parallax places (desktop
   only), a one-time reveal of cards, a slim progress rail on wide screens; all of it off under reduced motion.
   ================================================================================================================= */

.shell-main.home {
  padding: 0;
}

.band {
  position: relative;
  padding-block: clamp(64px, 8vw, 112px);
  padding-inline: 40px;
}

.band-inner {
  max-width: var(--content-max);
  margin-inline: auto;
}

.band-white {
  background: var(--color-white);
}

.band-ice {
  background: var(--color-ice);
}

.band-navy {
  background: var(--color-deep-navy);
  color: var(--color-white);
  --focus-color: var(--focus-color-on-dark);
}

.sec-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 65ch;
  margin-block-end: clamp(32px, 4vw, 48px);
}

.eyebrow {
  color: var(--color-navy-light);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.16em;
}

.band-navy .eyebrow {
  color: var(--accent-bar1);
}

.display {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.headline {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.lead {
  max-width: 65ch;
  color: var(--tint-muted);
  font-size: 18px;
}

.band-navy .lead {
  color: var(--tint-frame-text);
}

/* buttons on Deep Navy: the light pill and its outlined partner */
.kit-btn-light,
.kit-btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 26px;
  border: 1.5px solid var(--color-white);
  border-radius: var(--radius-pill);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background-color 0.15s,
    color 0.15s;
}

.kit-btn-light {
  background: var(--color-white);
  color: var(--color-deep-navy);
}

.kit-btn-light:hover {
  background: var(--color-ice);
}

.kit-btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: var(--tint-frame-head);
}

.kit-btn-outline-light:hover {
  background: var(--tint-frame-ground);
  border-color: var(--color-white);
}

/* ---------- the hero ---------- */
.band-hero {
  padding-block: clamp(56px, 7vw, 96px);
  overflow: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 40px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.hero-text .display {
  max-width: 18ch;
}

.hero-text .kit-actions {
  margin-top: 8px;
}

.band-hero .hero-logo {
  height: 48px;
  margin-bottom: 8px;
}

.hero-art {
  display: flex;
  justify-content: center;
}

/* the GOTB Index logo's mark, traced from the lockup (_tools/trace_mark.py), drawn large */
.hero-mark {
  display: block;
  width: 100%;
  height: auto;
  max-width: 480px;
}

/* ---------- the shift: two cards on a slower ground, the callout floating over the section's edge ---------- */
.band-shift {
  padding-bottom: 0;
}

.shift-stage {
  position: relative;
  overflow: clip;
  border-radius: var(--radius-card);
  padding: clamp(24px, 4vw, 56px);
}

.shift-layer {
  position: absolute;
  inset: -64px 0;
  background-color: var(--color-ice);
  background-image: radial-gradient(var(--tint-rule) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}

.compare {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  align-items: stretch;
  gap: 16px;
}

.compare-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 30px;
  border-radius: var(--radius-card);
  box-shadow: 0 24px 50px -34px var(--tint-muted);
}

.compare-card h3 {
  font-size: 24px;
}

.compare-inputs {
  background: var(--color-white);
  border: 1px solid var(--tint-rule);
}

.compare-inputs h3 {
  color: var(--tint-muted);
}

.compare-outcomes {
  background: var(--color-deep-navy);
  color: var(--color-white);
}

.compare-outcomes h3 {
  color: var(--color-white);
}

.compare-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare-list li {
  padding: 14px 0;
  border-top: 1px solid var(--tint-rule);
}

.compare-inputs .compare-list li {
  color: var(--tint-muted);
}

.compare-outcomes .compare-list li {
  border-top-color: var(--tint-frame-ground);
  color: var(--tint-frame-text);
}

.compare-outcomes .compare-list li:last-child {
  color: var(--color-white);
  font-weight: 700;
}

.compare-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-arrow svg {
  width: 56px;
  height: 56px;
  padding: 4px;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 10px 24px -14px var(--tint-muted);
}

.compare-arrow .draw {
  fill: none;
  stroke: var(--color-navy-light);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.float-callout {
  position: relative;
  z-index: 2;
  max-width: 46rem;
  margin: 40px auto -56px;
  padding: 26px 32px;
  box-sizing: border-box;
  background: var(--color-white);
  border: 1px solid var(--tint-rule);
  border-left: 6px solid var(--color-sky-blue);
  border-radius: var(--radius-row);
  box-shadow: 0 28px 60px -30px var(--color-deep-navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.35;
}

/* ---------- the two needs ---------- */
.band-needs {
  padding-top: calc(clamp(64px, 8vw, 112px) + 56px);
}

.needs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.need-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 34px 34px 36px;
  border-radius: var(--radius-card);
  background: var(--tint-frame-ground);
  border: 1px solid var(--color-navy);
}

.need-card h3 {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--color-white);
}

.need-kind {
  color: var(--accent-bar1);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.need-name {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
}

.need-card p {
  max-width: 65ch;
  color: var(--tint-frame-text);
  font-size: 17px;
}

.icon {
  fill: none;
  stroke: var(--color-navy-light);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.band-navy .icon {
  stroke: var(--accent-bar1);
}

.need-card .icon {
  width: 48px;
  height: 48px;
}

.needs-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
  padding: 20px 28px;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-deep-navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 21px);
  text-align: center;
}

.needs-band .icon {
  flex: none;
  stroke: var(--color-navy-light);
}

/* ---------- the five practices ---------- */
.practices {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: practice;
}

.practice {
  counter-increment: practice;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 20px 26px;
  border-radius: var(--radius-row);
  background: var(--color-ice);
  border-top: 5px solid var(--color-navy-light);
  color: var(--tint-muted);
  font-size: 15px;
}

.practice::before {
  content: counter(practice);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--color-deep-navy);
  color: var(--color-white);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 16px;
}

.practice strong {
  color: var(--color-deep-navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
}

.practice span {
  display: block;
}

.colon {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.note {
  max-width: 65ch;
  margin-top: 28px !important;
  color: var(--tint-muted);
  font-size: var(--size-small);
}

/* the five practices' note runs the panel's full width, never cut to 65ch mid-sentence (AJ 2026-12-03) */
.band-practices .note {
  max-width: none;
}

/* ---------- two ways to measure ---------- */
.measure {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.measure-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 34px;
  border-radius: var(--radius-card);
  background: var(--color-white);
  border: 1px solid var(--tint-rule);
  box-shadow: 0 24px 50px -38px var(--tint-muted);
}

.measure-card h3 {
  font-size: 24px;
}

.measure-card .kit-actions {
  margin-top: auto;
}

.checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 36px;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-ice);
  border: 1.5px solid var(--color-navy-light);
  box-sizing: border-box;
}

.checks li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  width: 5px;
  height: 10px;
  border: solid var(--color-navy-light);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

/* ---------- the call to action ---------- */
.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.cta .kit-actions {
  justify-content: center;
  margin-top: 12px;
}

/* ---------- the progress rail (wide screens only) ---------- */
.rail {
  display: none;
}

@media (min-width: 1280px) {
  .rail {
    position: fixed;
    z-index: 5;
    left: 22px;
    top: 50%;
    display: block;
    width: 4px;
    height: 220px;
    margin-top: -110px;
    border-radius: 2px;
    background: var(--tint-track);
    box-shadow: 0 0 0 2px var(--color-white);
  }

  .rail-fill {
    position: absolute;
    inset: 0;
    border-radius: 2px;
    background: var(--color-navy-light);
    transform: scaleY(0);
    transform-origin: top;
  }

  .rail-tick {
    position: absolute;
    top: calc(var(--at, 0) * 100%);
    left: -5px;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    box-sizing: border-box;
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid var(--color-navy-light);
    transition: transform 0.2s;
  }

  .rail-tick.is-current {
    background: var(--color-navy);
    border-color: var(--color-navy);
    transform: scale(1.25);
  }
}

/* ---------- a phone and a tablet ---------- */
@media (max-width: 1023px) {
  .practices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .band {
    padding-inline: 20px;
  }

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

  .hero-art {
    order: -1;
    justify-content: flex-end;
    margin-bottom: -40px;
  }

  .hero-mark {
    width: 160px;
  }

  .band-hero .hero-logo {
    height: 36px;
  }

  .lead {
    font-size: 17px;
  }

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

  .compare-arrow svg {
    transform: rotate(90deg);
  }

  .compare-card,
  .need-card,
  .measure-card {
    padding: 24px 22px;
  }

  .float-callout {
    margin-inline: 4px;
    padding: 20px 22px;
  }

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

  .needs-band {
    border-radius: var(--radius-row);
  }

  .practices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .practice:last-child {
    grid-column: 1 / -1;
  }

  .practice {
    padding: 18px 16px 20px;
  }

  .kit-actions > a {
    flex: 1 1 auto;
  }
}

/* ---------- motion: reveal once (motion.js sets html.motion; without it every card shows at once) ---------- */
.motion .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.3s ease-out,
    transform 0.3s ease-out;
  transition-delay: calc(var(--i, 0) * 60ms);
}

.motion-start .reveal,
.motion-start .compare-arrow .draw {
  transition: none !important;
}

.motion .reveal.is-in {
  opacity: 1;
  transform: none;
}

.motion .compare-arrow .draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.45s ease-out 0.2s;
}

.motion .compare-arrow .draw-head {
  transition-delay: 0.55s;
}

.motion .compare-arrow.is-in .draw {
  stroke-dashoffset: 0;
}

/* ---------- motion: parallax, scroll-driven where the browser has it (motion.js does it otherwise), desktop only */
@media (prefers-reduced-motion: no-preference) and (min-width: 761px) {
  @supports (animation-timeline: view()) {
    .band-shift {
      view-timeline: --shift block;
    }

    .hero-mark {
      animation: drift-hero linear both;
      animation-timeline: scroll(root block);
      animation-range: 0px 800px;
    }

    .shift-layer {
      animation: drift-layer linear both;
      animation-timeline: --shift;
      animation-range: cover;
    }

    .float-callout {
      animation: drift-float linear both;
      animation-timeline: --shift;
      animation-range: cover;
    }

    .rail-fill {
      animation: rail-fill linear both;
      animation-timeline: scroll(root block);
    }
  }
}

@keyframes drift-hero {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(200px);
  }
}

@keyframes drift-layer {
  from {
    transform: translateY(-48px);
  }
  to {
    transform: translateY(48px);
  }
}

@keyframes drift-float {
  from {
    transform: translateY(-16px);
  }
  to {
    transform: translateY(16px);
  }
}

@keyframes rail-fill {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion .reveal,
  .motion .compare-arrow .draw {
    opacity: 1;
    transform: none;
    stroke-dashoffset: 0;
    transition: none;
  }

  .rail {
    display: none;
  }
}

@media print {
  .motion .reveal {
    opacity: 1;
    transform: none;
  }

  .rail {
    display: none;
  }
}

/* ---------- the Self Assessment (/self-assessment/), this site's own: the quiz from greatontheirbehalf.com in this
   site's look ---------- */
.sa-head {
  padding-block: clamp(48px, 6vw, 80px) clamp(32px, 4vw, 48px);
}

.sa-head .sec-head {
  margin-block-end: 0;
}

.sa-eyebrow {
  text-transform: uppercase;
}

.sa-body {
  padding-top: clamp(32px, 4vw, 56px);
}

.sa {
  max-width: 760px;
}

.sa-step[hidden] {
  display: none;
}

.sa-progress {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.sa-progress-label {
  color: var(--color-navy);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: var(--size-label);
}

.sa-track {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--tint-track);
}

.sa-fill {
  position: absolute;
  inset: 0;
  background: var(--color-navy-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease-out;
}

.sa-dots {
  display: flex;
  gap: 8px;
}

.sa-dot {
  width: 10px;
  height: 10px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 2px solid var(--color-navy-light);
  background: var(--color-white);
}

.sa-dot.done {
  background: var(--color-navy-light);
}

.sa-dot.current {
  background: var(--color-navy);
  border-color: var(--color-navy);
}

.sa-area {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 16px;
}

.sa-pill {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-deep-navy);
  color: var(--color-white);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 12px;
}

.sa-area-desc {
  color: var(--tint-muted);
  font-size: var(--size-small);
}

.sa-card {
  margin: 0;
  padding: 28px 30px 30px;
  border: 1.5px solid var(--tint-rule);
  border-radius: var(--radius-card);
  background: var(--color-ice);
  min-width: 0;
}

.sa-card.needs-answer {
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px var(--accent-bar1);
}

.sa-legend-q {
  display: flex;
  flex-direction: column;
  gap: 8px;
  float: left;
  width: 100%;
  margin-bottom: 20px;
  padding: 0;
}

.sa-legend-q:focus-visible {
  outline: var(--focus-width) solid var(--focus-color);
  outline-offset: 6px;
  border-radius: 6px;
}

.sa-qnum {
  color: var(--color-navy-light);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sa-qtext {
  color: var(--color-deep-navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(19px, 2.2vw, 23px);
  line-height: 1.3;
}

.sa-choices {
  clear: both;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sa-choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--tint-rule);
  border-radius: var(--radius-row);
  background: var(--color-white);
  cursor: pointer;
  transition: border-color 0.15s;
}

.sa-choice:hover {
  border-color: var(--tint-edge);
}

.sa-choice:has(input:checked) {
  border-color: var(--color-navy);
  box-shadow: inset 0 0 0 1.5px var(--color-navy);
}

.sa-choice input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--color-navy);
}

.sa-choice input:focus-visible {
  outline: var(--focus-width) solid var(--focus-color);
  outline-offset: var(--focus-offset);
}

.sa-choice-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sa-choice-name {
  color: var(--color-deep-navy);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 15px;
}

.sa-choice-desc {
  color: var(--tint-muted);
  font-size: var(--size-small);
}

.sa-nav {
  justify-content: space-between;
  margin-top: 24px;
}

.sa-nav .kit-btn-primary {
  margin-left: auto;
}

.shell-main button.kit-btn-primary,
.shell-main button.kit-btn-secondary {
  font-size: 15px;
  min-width: 120px;
}

button:focus-visible {
  outline: var(--focus-width) solid var(--focus-color);
  outline-offset: var(--focus-offset);
}

/* results */
.sa-results-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 36px 28px;
  border-radius: var(--radius-card);
  background: var(--color-deep-navy);
  color: var(--color-white);
  text-align: center;
}

.sa-results-head h2 {
  font-size: clamp(22px, 2.6vw, 28px);
}

.sa-results-head h2:focus {
  outline: none;
}

.sa-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 136px;
  height: 136px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 8px solid var(--tint-frame-ground);
  background: var(--color-white);
  color: var(--color-deep-navy);
}

.sa-score.sa-band-1 {
  border-color: var(--accent-bar1);
}

.sa-score.sa-band-2 {
  border-color: var(--color-sky-blue);
}

.sa-score.sa-band-3 {
  border-color: var(--color-navy-light);
}

.sa-score-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
}

.sa-score-sub {
  color: var(--tint-muted);
  font-size: 12px;
}

.sa-tier {
  color: var(--accent-bar1);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 18px;
}

.sa-cap {
  max-width: 480px;
  color: var(--tint-frame-text);
  font-size: var(--size-small);
}

.sa-cap[hidden] {
  display: none;
}

.sa-indicative {
  color: var(--tint-frame-text);
  font-size: var(--size-small);
}

.sa-gs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.sa-gs-card {
  padding: 20px 22px;
  border-radius: var(--radius-row);
  background: var(--color-ice);
}

.sa-gs-label {
  color: var(--color-navy-light);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sa-gs-name {
  margin-top: 4px !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
}

.sa-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.sa-bar-label {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  margin-bottom: 6px !important;
  font-size: var(--size-small);
}

.sa-bar-label span:first-child {
  font-weight: 700;
}

.sa-bar-label span:last-child {
  color: var(--tint-muted);
}

.sa-bar-track {
  position: relative;
  height: 12px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--tint-track);
}

.sa-bar-fill {
  position: absolute;
  inset: 0;
  background: var(--tint-frame-head);
  transform-origin: left;
}

.sa-bar-fill.sa-band-1 {
  background: var(--accent-bar1);
}

.sa-bar-fill.sa-band-2 {
  background: var(--color-sky-blue);
}

.sa-bar-fill.sa-band-3 {
  background: var(--color-navy-light);
}

.sa .sa-legend {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

.sa-legend li {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--color-ice);
  border-top: 4px solid var(--tint-frame-head);
}

.sa-legend li.sa-band-1 {
  border-top-color: var(--accent-bar1);
}

.sa-legend li.sa-band-2 {
  border-top-color: var(--color-sky-blue);
}

.sa-legend li.sa-band-3 {
  border-top-color: var(--color-navy-light);
}

.sa-legend-name {
  font-weight: 700;
}

.sa-note {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: var(--radius-row);
  border: 1px solid var(--tint-rule);
  border-left: 6px solid var(--color-sky-blue);
}

.sa-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding: 24px 28px;
  border-radius: var(--radius-card);
  background: var(--color-deep-navy);
  color: var(--color-white);
}

.sa-cta h3 {
  font-size: 22px;
}

@media (max-width: 760px) {
  .sa-card {
    padding: 22px 18px 22px;
  }

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

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

.shell-main [hidden] {
  display: none !important;
}

/* =================================================================================================================
   This site's own (lane site-redo-3, AJ 2026-12-03): the About pages, built by _tools/build_pages.py from AJ's
   approved About texts. A list of the eight pages beside the article on a wide screen (above it on a narrow one);
   the article in the kit's reading measure; tables in the look of the card rows (kit-tables.css's head); the
   competencies' groups as sections a reader can expand and collapse.
   ================================================================================================================= */
.about {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 40px;
  max-width: var(--content-max);
  margin-inline: auto;
}

.about-nav ul {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 16px;
  list-style: none;
  background: var(--color-ice);
  border-radius: var(--radius-row);
}

.about-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--color-navy);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: var(--size-small);
  line-height: 1.3;
  text-decoration: none;
}

.about-nav a:hover {
  background: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

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

.about-article {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  max-width: 46rem;
}

.about-article h1 {
  font-size: var(--size-page-title);
  line-height: 1.15;
}

.about-article h2 {
  margin-top: 20px !important;
  font-size: 24px;
  line-height: 1.25;
}

.about-article h3 {
  font-size: var(--size-card-title);
}

.about-article ul,
.about-article ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 1.4em;
}

.about-article a {
  color: var(--proposal-link-blue);
  text-underline-offset: 0.2em;
}

.about-article a:hover {
  color: var(--color-navy);
  text-decoration-thickness: 2px;
}

.about-table {
  overflow-x: auto;
  border: 1px solid var(--tint-rule);
  border-radius: var(--radius-row);
}

.about-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--size-small);
}

.about-table th,
.about-table td {
  padding: 10px 14px;
  border-top: 1px solid var(--tint-rule);
  text-align: left;
  vertical-align: top;
}

.about-table thead th,
.about-table thead td {
  border-top: 0;
  background: var(--color-ice);
  color: var(--color-navy);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: var(--size-eyebrow);
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
}

.about-table tbody th {
  color: var(--color-deep-navy);
  font-weight: 700;
}

.about-more {
  border: 1px solid var(--tint-rule);
  border-radius: var(--radius-row);
  background: var(--color-white);
}

.about-more > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
}

.about-more > summary::-webkit-details-marker {
  display: none;
}

.about-more > summary::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border: solid var(--color-navy-light);
  border-width: 0 2px 2px 0;
  transform: rotate(-45deg);
  transition: transform 0.15s;
}

.about-more[open] > summary::before {
  transform: rotate(45deg);
}

.about-more > summary:focus-visible {
  outline: var(--focus-width) solid var(--focus-color);
  outline-offset: var(--focus-offset);
  border-radius: var(--radius-row);
}

.about-more-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 18px 18px 38px;
}

@media (max-width: 900px) {
  .about {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .about-nav ul {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .about-article h1 {
    font-size: 30px;
  }
}

/* ---------- the request form, /request/ (lane site-redo-3; web/src/kit/Field.tsx, TextField.tsx, Select.tsx,
   styles.ts: a label in the subhead role, Deep Navy; a control in Open Sans on white, a 2px Navy Light edge, a 4px
   radius, 8px by 12px padding, at least 40px tall). Labels use the Poppins 600 this site already carries. The
   two-column grid that folds to one column on a phone is this site's own. ---------- */
.request .kit-hero-plain {
  width: 100%;
  max-width: 46rem;
  margin-inline: auto;
}

.kit-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  margin: 8px 0 0;
}

.kit-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kit-field-wide {
  grid-column: 1 / -1;
}

.kit-field label {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: var(--size-label);
  color: var(--color-deep-navy);
}

.kit-field input,
.kit-field select,
.kit-field textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 2px solid var(--color-navy-light);
  border-radius: 4px;
  background: var(--color-white);
  color: var(--color-deep-navy);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--size-body);
}

.kit-field textarea {
  resize: vertical;
}

.kit-field input:focus-visible,
.kit-field select:focus-visible,
.kit-field textarea:focus-visible,
button:focus-visible,
.kit-sent h2:focus-visible,
.kit-form-error:focus-visible {
  outline: var(--focus-width) solid var(--focus-color);
  outline-offset: var(--focus-offset);
}

button.kit-btn-primary:disabled {
  opacity: 0.6;
  cursor: progress;
}

/* the honeypot: off screen and hidden from assistive technology; a person never meets it */
.kit-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.kit-form-error {
  padding: 12px 16px;
  border-radius: var(--radius-row);
  background: var(--color-ice);
  border-left: 4px solid var(--color-navy);
  color: var(--color-deep-navy);
}

.kit-sent {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 24px;
  border-radius: var(--radius-row);
  background: var(--color-ice);
  border-left: 4px solid var(--color-sky-blue);
}

.kit-sent[hidden],
.kit-form[hidden],
.kit-form-error[hidden] {
  display: none;
}

@media (max-width: 760px) {
  .kit-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .kit-field-wide {
    grid-column: auto;
  }
}

/* ---------- the Self Assessment: sending the results (lane site-redo-3, AJ batch 6): the request form's fields in
   an Ice card under the results ---------- */
.sa-send {
  padding: 24px 28px;
  border-radius: var(--radius-card);
  background: var(--color-ice);
}

.sa-send .kit-form {
  margin: 0;
}

@media (max-width: 760px) {
  .sa-send {
    padding: 20px 18px;
  }
}
