/* Laikan website (2026 redesign): the site stylesheet.

   Every page loads this file and css/illustrations.css.
   Contents, in order:
     1. SHARED + HOME   design tokens (colours, type, spacing), base, buttons, header, Home sections, footer, modals, motion
     2. INNER PAGES     page heroes, shared blocks (steps, check lists, stats strip, forms, video), then one part per page
     3. PHONE LAYOUT    everything phone-specific, page by page
   Everything sits in the "site" cascade layer. css/illustrations.css is deliberately outside it, so an illustration's own
   styles win over general rules (the same way inline styles used to). */
@layer site {
  /* 1. SHARED + HOME
   The sample reports (sample-report*.html) carry their own styles and do not load this file. */

  :root {
    --bg: #0c2221;
    --bg-2: #11302e;
    --card: #133431;
    --cream: #f3ead8;
    --cream-2: #f2e8d5;
    --paper: #fbf7ee;
    --ink: #0c2221;
    --ink-soft: #46605c;
    --ink-mute: #5a7a6a;
    --text: #f2e8d5;
    --text-soft: rgba(242, 232, 213, 0.78);
    --text-mute: rgba(242, 232, 213, 0.6);
    --line: rgba(242, 232, 213, 0.16);
    --line-ink: rgba(12, 34, 33, 0.14);
    --gold: #f0c878;
    --gold-2: #e3b86a;
    --coral: #e8826a;
    --teal: #5fd0c2;
    --orange: #ff9d4a;
    --terra: #b0521f;

    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "JetBrains Mono", ui-monospace, monospace;

    --pad: clamp(24px, 14.6vw - 40px, 170px);
    --max: 1440px;
    --h1: clamp(50px, 2.86vw + 38.8px, 80px);
    --h2: clamp(34px, 1.52vw + 28px, 50px);
    --section-y: clamp(56px, 6.1vw, 96px);
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
  }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  img,
  svg,
  video {
    display: block;
    max-width: 100%;
  }
  [hidden] {
    display: none !important;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  button {
    font: inherit;
    color: inherit;
  }
  h1,
  h2,
  h3,
  p,
  figure,
  blockquote {
    margin: 0;
  }
  :focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 6px;
  }

  .serif {
    font-family: var(--serif);
    font-weight: 500;
  }
  .mono {
    font-family: var(--mono);
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .kick {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--gold-2);
  }
  .gold {
    color: var(--gold);
  }
  .only-phone {
    display: initial;
  }
  .only-wide {
    display: none;
  }
  @media (min-width: 900px) {
    .only-phone {
      display: none;
    }
    .only-wide {
      display: initial;
    }
  }

  .wrap {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding-left: var(--pad);
    padding-right: var(--pad);
  }
  .section {
    padding-top: var(--section-y);
    padding-bottom: var(--section-y);
  }
  .section--alt {
    background: var(--bg-2);
  }
  .section--cream {
    background: var(--cream);
    color: var(--ink);
  }
  .h2 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: var(--h2);
    line-height: 1;
    text-wrap: balance;
    letter-spacing: -0.005em;
    max-width: 760px;
  }
  .lead {
    font-size: clamp(16px, 0.095vw + 15.63px, 17px);
    line-height: 1.62;
    color: var(--text-soft);
    max-width: 600px;
  }
  .section--cream .lead {
    color: var(--ink-soft);
  }

  /* ---------- buttons ---------- */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 54px;
    padding: 0 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid transparent;
    background: none;
    transition:
      transform 0.2s ease,
      background-color 0.2s ease,
      border-color 0.2s ease,
      color 0.2s ease;
  }
  .btn:hover {
    transform: translateY(-1px);
  }
  .btn--gold {
    background: var(--gold);
    color: var(--ink);
  }
  .btn--gold:hover {
    background: #f6d697;
  }
  .btn--ghost {
    border-color: rgba(242, 232, 213, 0.4);
    color: var(--text);
  }
  .btn--ghost:hover {
    border-color: var(--text);
  }
  .btn--outline-gold {
    border-color: rgba(240, 200, 120, 0.55);
    color: var(--gold);
  }
  .btn--outline-gold:hover {
    border-color: var(--gold);
  }
  .btn--ink {
    background: var(--ink);
    color: var(--cream);
  }
  .btn--xl {
    height: 76px;
    padding: 0 44px;
    font-size: 20px;
    gap: 14px;
    box-shadow: 0 24px 50px -20px rgba(12, 34, 33, 0.55);
  }
  .btn svg {
    flex-shrink: 0;
  }

  /* ---------- header ---------- */
  .site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
  }
  .site-header__inner {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
  }
  .brand__word {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 28px;
    line-height: 1;
  }
  .brand svg {
    width: 22px;
    height: 26px;
  }
  .site-nav {
    display: none;
  }
  .site-header__cta {
    display: none;
  }
  .menu-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(242, 232, 213, 0.25);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .menu-btn__close {
    display: none;
  }
  .site-header.is-open .menu-btn__open {
    display: none;
  }
  .site-header.is-open .menu-btn__close {
    display: block;
  }
  .mobile-menu {
    display: none;
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--bg);
    padding: 12px var(--pad) 32px;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    z-index: 19;
  }
  .site-header.is-open {
    position: fixed;
    background: var(--bg);
  }
  .site-header.is-open .mobile-menu {
    display: flex;
  }
  .mobile-menu a:not(.btn) {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu .btn {
    margin-top: 24px;
    height: 54px;
    font-size: 16px;
  }

  @media (min-width: 1100px) {
    .site-header__inner {
      height: 96px;
    }
    .brand {
      gap: 12px;
    }
    .brand__word {
      font-size: 36px;
    }
    .brand svg {
      width: 26px;
      height: 30px;
    }
    .site-nav {
      display: flex;
      gap: clamp(20px, 2.4vw, 34px);
      font-size: 15px;
      font-weight: 500;
    }
    .site-nav a {
      padding: 6px 0;
      border-bottom: 2px solid transparent;
      color: rgba(242, 232, 213, 0.82);
      transition:
        color 0.2s,
        border-color 0.2s;
    }
    .site-nav a:hover,
    .site-nav a[aria-current="page"] {
      color: var(--gold);
    }
    .site-header__cta {
      display: inline-flex;
      height: 46px;
      padding: 0 22px;
      font-size: 14px;
    }
    .menu-btn,
    .mobile-menu {
      display: none !important;
    }
  }

  /* ---------- hero ---------- */
  .hero {
    position: relative;
    overflow: hidden;
    background: var(--bg);
    padding-top: 68px;
  }
  .hero__copy {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding-top: 30px;
  }
  .hero h1 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: var(--h1);
    line-height: 0.96;
    text-wrap: balance;
    letter-spacing: -0.01em;
    max-width: 620px;
  }
  .hero__lead {
    font-size: clamp(16px, 0.095vw + 15.63px, 17px);
    line-height: 1.6;
    color: rgba(242, 232, 213, 0.8);
    max-width: 500px;
  }
  .hero__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .hero__actions .btn--gold {
    height: 62px;
    font-size: 18px;
  }
  .hero__download {
    height: 56px;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    border-color: rgba(242, 232, 213, 0.3);
  }
  .store-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid rgba(242, 232, 213, 0.3);
    display: none;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s;
  }
  .store-circle:hover {
    border-color: var(--text);
  }
  .hero__team {
    display: none;
    font-size: 15px;
    color: var(--text-mute);
  }
  .hero__team strong {
    color: var(--text);
    font-weight: 600;
  }

  /* phone / tablet: one strip of curated cards */
  .hero__strip {
    margin-top: 40px;
    padding-bottom: 40px;
    overflow: hidden;
  }
  .strip {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: marquee 70s linear infinite;
  }
  .strip__card {
    position: relative;
    width: 170px;
    height: 220px;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    background: var(--card);
  }
  .strip__card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .strip__card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 34, 33, 0) 40%, rgba(12, 34, 33, 0.92) 90%);
  }
  .strip__text {
    position: absolute;
    z-index: 1;
    left: 14px;
    right: 14px;
    bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .strip__text .kick {
    font-size: 7px;
  }
  .strip__text .serif {
    font-size: 20px;
    line-height: 1.05;
  }
  .hero__library {
    display: none;
  }

  @media (min-width: 640px) {
    .hero__actions {
      flex-direction: row;
      flex-wrap: wrap;
      align-items: center;
      gap: 12px;
    }
    .hero__actions .btn--gold {
      height: 64px;
      padding: 0 44px;
    }
    .hero__download {
      display: none;
    }
    .store-circle {
      display: flex;
    }
    .hero__team {
      display: block;
    }
    .strip__card {
      width: 200px;
      height: 260px;
    }
  }

  @media (min-width: 1100px) {
    .hero {
      padding-top: 0;
      height: min(900px, 100vh);
      min-height: 760px;
    }
    .hero__inner {
      position: relative;
      height: 100%;
    }
    .hero {
      --lib-w: min(600px, 42vw);
    }
    .hero__copy {
      position: absolute;
      left: var(--pad);
      top: calc(50% + 40px);
      transform: translateY(-50%);
      width: min(620px, calc(100% - var(--lib-w) - var(--pad) - 64px));
      gap: 30px;
      padding-top: 0;
    }
    .hero h1 {
      font-size: clamp(50px, 5.85vw - 6px, 80px);
      max-width: none;
    }
    .hero__actions {
      margin-top: 6px;
    }
    .hero__strip {
      display: none;
    }
    .hero__library {
      display: grid;
      position: absolute;
      right: 0;
      top: 0;
      bottom: 0;
      width: var(--lib-w);
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
      padding-right: 20px;
      overflow: hidden;
      -webkit-mask-image: linear-gradient(180deg, #000 0, #000 70%, transparent 96%);
      mask-image: linear-gradient(180deg, #000 0, #000 70%, transparent 96%);
    }
    .hero__fade {
      position: absolute;
      z-index: 3;
      pointer-events: none;
    }
    .hero__fade--top {
      right: 0;
      top: 0;
      width: 52%;
      height: 190px;
      background: linear-gradient(180deg, var(--bg) 32%, rgba(12, 34, 33, 0));
    }
    .hero__fade--bottom {
      right: 0;
      bottom: 0;
      width: 52%;
      height: 200px;
      background: linear-gradient(0deg, var(--bg) 10%, rgba(12, 34, 33, 0));
    }
    .hero__fade--left {
      top: 0;
      bottom: 0;
      right: calc(var(--lib-w) - 80px);
      width: 170px;
      background: linear-gradient(90deg, var(--bg) 30%, rgba(12, 34, 33, 0));
    }
  }
  @media (min-width: 1100px) and (max-width: 1279px) {
    .hero {
      --lib-w: 40vw;
    }
    .hero__library {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hero__library .lib-col:nth-child(3) {
      display: none;
    }
  }

  .lib-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .lib-col--up {
    animation: colUp 70s linear infinite;
  }
  .lib-col--down {
    animation: colDown 80s linear infinite;
  }
  .lib-col--up2 {
    animation: colUp 58s linear infinite;
  }
  .lib-card {
    position: relative;
    flex-shrink: 0;
    background: var(--card);
    border: 1px solid rgba(242, 232, 213, 0.1);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  }
  .lib-card--photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .lib-card--photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 34, 33, 0) 25%, rgba(12, 34, 33, 0.94) 85%);
  }
  .lib-card__text {
    position: absolute;
    z-index: 1;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .lib-card__text .kick {
    font-size: 8px;
  }
  .lib-card__tag {
    position: absolute;
    z-index: 1;
    left: 12px;
    top: 12px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.14em;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(12, 34, 33, 0.6);
  }
  .lib-card__btn {
    height: 34px;
    border-radius: 10px;
    background: var(--gold-2);
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
  }
  .lib-card__media {
    height: 180px;
    overflow: hidden;
  }
  .lib-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .lib-card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .lib-card__note {
    font-size: 11px;
    line-height: 1.5;
    color: rgba(242, 232, 213, 0.75);
  }
  .lib-card--quest {
    padding: 18px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }
  .lib-card--week {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* ---------- what is laikan ---------- */
  .intro__grid {
    display: grid;
    gap: 40px;
    margin-top: 40px;
  }
  .intro__col {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-top: 28px;
    border-top: 1px solid rgba(242, 232, 213, 0.18);
  }
  .intro__who {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .intro__icon {
    width: 44px;
    display: flex;
  }
  .intro__icon svg {
    height: 36px;
    width: auto;
  }
  .intro__who .mono {
    color: var(--gold);
    font-size: 13px;
  }
  .intro__who-sub {
    font-size: 15px;
    font-weight: 600;
    color: rgba(242, 232, 213, 0.75);
    margin-top: 4px;
  }
  .intro__text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-soft);
    max-width: 500px;
  }
  .intro__col .btn {
    align-self: flex-start;
    height: 50px;
  }
  @media (min-width: 900px) {
    .intro__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: clamp(48px, 5.6vw, 80px);
      margin-top: 56px;
    }
    .intro__col {
      gap: 26px;
      padding-top: 40px;
    }
    .intro__icon {
      width: 64px;
      height: 52px;
    }
    .intro__icon svg {
      height: 52px;
    }
    .intro__who .mono {
      font-size: 14px;
    }
    .intro__who-sub {
      font-size: 17px;
    }
    .intro__text {
      font-family: var(--serif);
      font-weight: 500;
      font-size: 28px;
      line-height: 1.25;
      color: var(--text);
    }
    .intro__text {
      min-height: 2.5em;
    }
    .intro__col .btn {
      height: 54px;
      font-size: 16px;
    }
  }

  /* ---------- proof (cream) ---------- */
  .proof {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding-top: 270px;
  }
  .proof__art {
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    top: 0;
    height: 250px;
    overflow: hidden;
    pointer-events: none;
  }
  .proof__tree {
    position: absolute;
    left: 50%;
    top: 17px;
    width: 320px;
    height: 364px;
    margin-left: -160px;
    pointer-events: none;
  }

  .proof .wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .proof .h2 {
    max-width: 760px;
  }
  .proof .lead {
    max-width: 780px;
  }
  .proof .lead strong {
    color: var(--ink);
  }
  .stats {
    width: 100%;
    margin-top: 10px;
    border-bottom: 1px solid var(--line-ink);
  }
  .stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--line-ink);
  }
  .stat__body {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .stat__num {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 44px;
    line-height: 0.9;
    width: 122px;
    flex-shrink: 0;
  }
  .stat__label {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--ink-soft);
  }
  .laurel {
    display: none;
  }
  .link-underline {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    border-bottom: 2px solid var(--terra);
    padding: 10px 0 4px;
    margin-top: 10px;
  }
  @media (min-width: 900px) {
    .proof {
      padding-top: var(--section-y);
      padding-bottom: var(--section-y);
    }
    .proof .wrap {
      gap: 30px;
    }
    .proof__art {
      height: auto;
      bottom: 0;
    }
    .proof__tree {
      left: calc(var(--pad) + 860px);
      right: auto;
      top: 50%;
      margin-left: 0;
      width: 680px;
      height: 773px;
      transform: translateY(-50%);
    }

    .stats {
      width: min(800px, 100%);
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 28px;
      margin-top: 30px;
      padding-top: 44px;
      border-bottom: 0;
      border-top: 1px solid var(--line-ink);
    }
    .stat {
      border-top: 0;
      padding: 0;
      gap: 10px;
    }
    .stat__body {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      width: 170px;
      text-align: center;
    }
    .stat__num {
      font-size: 48px;
      width: auto;
    }
    .stat__label {
      font-size: 15px;
      line-height: 1.45;
    }
    .laurel {
      display: block;
      width: 30px;
      height: 66px;
      flex-shrink: 0;
    }
    .laurel--r {
      transform: scaleX(-1);
    }
    .link-underline {
      font-size: 16px;
      padding-top: 0;
      margin-top: 24px;
    }
  }

  /* ---------- why counselors trust ---------- */
  .trust .h2 {
    color: var(--gold);
  }
  .trust__lead {
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(242, 232, 213, 0.75);
  }
  .trust__grid {
    display: grid;
    margin-top: 22px;
  }
  .trust__item {
    display: flex;
    gap: 16px;
    padding: 22px 0;
    border-top: 1px solid rgba(242, 232, 213, 0.14);
  }
  .trust__item img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
  }
  .trust__item h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 26px;
    line-height: 1.05;
  }
  .trust__item p {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-soft);
  }
  .partners {
    margin-top: 0;
    padding-top: 22px;
    border-top: 1px solid rgba(242, 232, 213, 0.14);
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .partners .mono {
    color: #8fb59d;
  }
  .partners__viewport {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }
  .partners__track {
    display: flex;
    align-items: center;
    gap: 56px;
    width: max-content;
    padding: 14px 0;
    animation: marquee 48s linear infinite;
  }
  .partners__set {
    display: flex;
    align-items: center;
    gap: 56px;
  }
  .partners__set img {
    height: 32px;
    width: auto;
    flex-shrink: 0;
    opacity: 0.82;
  }
  .partners__set img.tall {
    height: 48px;
  }
  .partners__set img.mid {
    height: 44px;
  }
  @media (min-width: 900px) {
    .trust__lead {
      display: none;
    }
    .trust__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 36px clamp(40px, 4.4vw, 64px);
      margin-top: 44px;
    }
    .trust__item {
      gap: 24px;
      padding: 32px 0 0;
      border-top-color: var(--line);
    }
    .trust__item img {
      width: 60px;
      height: 60px;
      margin-top: 4px;
    }
    .trust__item h3 {
      font-size: 27px;
      line-height: 1.08;
    }
    .trust__item p {
      margin-top: 12px;
      font-size: 16px;
      line-height: 1.6;
      color: rgba(242, 232, 213, 0.75);
    }
    .partners {
      margin-top: 48px;
      padding-top: 20px;
      border-top: 0;
      gap: 22px;
    }
    .partners__track,
    .partners__set {
      gap: 96px;
    }
    .partners__track {
      padding: 18px 0;
    }
    .partners__set img {
      height: 44px;
    }
    .partners__set img.tall {
      height: 66px;
    }
    .partners__set img.mid {
      height: 60px;
    }
  }

  /* ---------- testimonials ---------- */
  .voices .wrap > .h2 {
    margin-bottom: 22px;
  }
  .voices__row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--pad);
    padding: 0 var(--pad) 6px;
    scrollbar-width: none;
    max-width: var(--max);
    margin: 0 auto;
  }
  .voices__row::-webkit-scrollbar {
    display: none;
  }
  .voice {
    width: 244px;
    flex-shrink: 0;
    scroll-snap-align: start;
    border-radius: 24px;
    background: var(--paper);
    border: 1px solid rgba(12, 34, 33, 0.08);
    box-shadow: 0 30px 60px -45px rgba(12, 34, 33, 0.5);
    padding: 28px 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }
  .voice__photo {
    width: 88px;
    height: 88px;
    flex-shrink: 0;
    border-radius: 50%;
    padding: 5px;
    border: 1px solid rgba(201, 148, 58, 0.6);
  }
  .voice__photo img,
  .voice__initial {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
  }
  .voice__initial {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 40%, #1d4a45, var(--ink) 78%);
    font-family: var(--serif);
    font-size: 38px;
    color: var(--gold);
  }
  .voice blockquote {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 18px;
    line-height: 1.38;
    color: var(--ink);
    flex-grow: 1;
  }
  .voice figcaption {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  .voice figcaption::before {
    content: "";
    width: 28px;
    height: 1px;
    background: #c9943a;
    margin-bottom: 10px;
  }
  .voice__name {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
  }
  .voice__role {
    font-size: 14px;
    color: var(--ink-soft);
  }
  .voices__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 22px;
  }
  .voices__dots span {
    width: 6px;
    height: 6px;
    border-radius: 6px;
    background: rgba(12, 34, 33, 0.25);
    transition:
      width 0.2s,
      background 0.2s;
  }
  .voices__dots span.is-active {
    width: 18px;
    background: var(--ink);
  }
  .survey {
    margin-top: 32px;
  }
  .survey__row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid rgba(12, 34, 33, 0.16);
  }
  .survey__num {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 44px;
    line-height: 0.9;
    width: 96px;
    flex-shrink: 0;
  }
  .survey__label {
    font-size: 14px;
    line-height: 1.45;
    color: var(--ink-soft);
  }
  .survey__note {
    padding-top: 14px;
    border-top: 1px solid rgba(12, 34, 33, 0.16);
    font-size: 13px;
    color: #6a7f7b;
  }
  @media (min-width: 1100px) {
    .voices .wrap > .h2 {
      margin-bottom: 40px;
    }
    .voices__row {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 24px;
      overflow: visible;
    }
    .voice {
      width: auto;
      padding: 32px 26px 28px;
      gap: 20px;
    }
    .voice__photo {
      width: 84px;
      height: 84px;
    }
    .voice__initial {
      font-size: 42px;
    }
    .voice blockquote {
      font-size: 19px;
      line-height: 1.4;
    }
    .voices__dots {
      display: none;
    }
  }
  @media (min-width: 900px) {
    .survey {
      margin-top: 40px;
    }
    .survey__rows {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      border-top: 1px solid rgba(12, 34, 33, 0.16);
      border-bottom: 1px solid rgba(12, 34, 33, 0.16);
    }
    .survey__row {
      border-top: 0;
      gap: 22px;
      padding: 20px 28px 20px 0;
    }
    .survey__num {
      font-size: 48px;
      width: auto;
    }
    .survey__label {
      font-size: 16px;
    }
    .survey__note {
      border-top: 0;
      font-size: 14px;
    }
  }

  /* ---------- journey teaser ---------- */
  .journey__head {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .journey__track {
    position: relative;
    margin-top: 34px;
  }
  .journey__track::before,
  .journey__line {
    content: "";
    position: absolute;
    left: 12px;
    top: 13px;
    bottom: 39px;
    width: 2px;
    background: rgba(242, 232, 213, 0.12);
  }
  .journey__line {
    background: linear-gradient(180deg, var(--gold), var(--teal) 35%, var(--coral) 65%, var(--orange));
    transform-origin: center top;
    animation: jlineV 10s cubic-bezier(0.5, 0, 0.2, 1) infinite;
  }
  .journey__steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .jstep {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 20px;
    align-items: start;
    min-height: 52px;
    color: inherit;
    text-decoration: none;
  }
  .jstep__dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
  }
  .jstep__title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 23px;
    line-height: 1.08;
    margin-top: 1px;
    transition: color 0.2s ease;
  }
  .jstep:hover .jstep__title {
    color: #fff;
  }
  .jstep__sub {
    margin-top: 6px;
    font-size: 14.5px;
    line-height: 1.5;
    color: rgba(242, 232, 213, 0.62);
  }
  .journey .btn--phone {
    width: 100%;
    margin-top: 28px;
    height: 52px;
  }
  .journey .btn--wide {
    display: none;
  }
  @media (min-width: 900px) {
    .journey__head {
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-end;
    }
    .journey .btn--wide {
      display: inline-flex;
    }
    .journey .btn--phone {
      display: none;
    }
    .journey__track {
      margin-top: 40px;
    }
    .journey__track::before,
    .journey__line {
      left: 12px;
      right: 12px;
      top: 12px;
      bottom: auto;
      width: auto;
      height: 2px;
    }
    .journey__line {
      background: linear-gradient(90deg, var(--gold), var(--teal) 35%, var(--coral) 65%, var(--orange));
      transform-origin: left center;
      animation-name: jline;
    }
    .journey__steps {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: clamp(20px, 2.8vw, 40px);
      margin-top: 0;
    }
    .jstep {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
      min-height: 0;
    }
    .jstep__title {
      font-size: 24px;
      line-height: 1.12;
      margin-top: 4px;
    }
  }

  /* ---------- counselors · guidance summary ---------- */
  .loop__grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .loop__copy {
    display: contents;
  }
  .loop .lead {
    font-size: 15px;
    color: rgba(242, 232, 213, 0.75);
  }
  .loop__features {
    display: none;
  }
  .summary {
    order: 3;
    border-radius: 24px;
    background: var(--cream-2);
    color: var(--ink);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 4px;
    box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.7);
  }
  .summary__head {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .summary__head img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
  }
  .summary__who {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  .summary .mono {
    font-size: 12px;
    color: var(--ink-mute);
  }
  .summary__name {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 26px;
    line-height: 1;
  }
  .summary__shared {
    display: flex;
    align-items: center;
  }
  .summary__shared span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: var(--cream-2);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--cream-2);
  }
  .summary__shared span + span {
    margin-left: -8px;
  }
  .summary__shared em {
    display: none;
    font-style: normal;
    font-size: 12px;
    margin-left: 10px;
    color: #3d5a5b;
  }
  .summary__cells {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .cell {
    padding: 14px;
    border-radius: 14px;
    background: #e9dcc3;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .cell--values {
    grid-column: 1 / -1;
    font-size: 13px;
  }
  .cell__world {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 19px;
    line-height: 1.1;
  }
  .cell__meta {
    font-size: 13px;
    color: #3d5a5b;
    display: none;
  }
  .cell__routes {
    font-size: 13px;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .cell__routes span:nth-child(n + 3) {
    display: none;
  }
  .vbar {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .vbar:nth-child(n + 4) {
    display: none;
  }
  .vbar__top {
    display: flex;
    justify-content: space-between;
  }
  .vbar__track {
    height: 4px;
    background: rgba(10, 36, 38, 0.1);
    border-radius: 4px;
  }
  .vbar__fill {
    height: 4px;
    background: #0d3537;
    border-radius: 4px;
    transform-origin: left center;
  }
  .js .summary:not(.is-in) .vbar__fill {
    transform: scaleX(0);
  }
  .summary.is-in .vbar__fill {
    animation: barIn 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .talk {
    padding: 16px;
    border-radius: 14px;
    background: #0d3537;
    color: var(--cream-2);
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }
  .js .summary:not(.is-in) .talk {
    opacity: 0;
  }
  .summary.is-in .talk {
    animation: riseIn 0.8s ease both;
    animation-delay: 1s;
  }
  .talk img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
  }
  .talk .mono {
    color: var(--gold);
  }
  .talk__text {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 18px;
    line-height: 1.3;
    margin-top: 6px;
  }
  .talk__long {
    display: none;
  }
  .summary__foot {
    font-size: 12px;
    color: var(--ink-mute);
  }
  .loop__cta {
    order: 4;
  }
  .loop__cta .report-gate__trigger {
    width: 100%;
  }

  @media (min-width: 640px) {
    .loop__cta .report-gate__trigger {
      width: auto;
    }
    .closing__panel--school .btn--xl {
      width: auto;
      align-self: flex-start;
      padding: 0 44px;
    }
    .closing__mail {
      text-align: left;
    }
    .summary__shared em {
      display: inline;
    }
    .summary__cells {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .cell--values {
      grid-column: auto;
    }
    .vbar:nth-child(n + 4) {
      display: flex;
    }
    .cell__meta {
      display: block;
    }
    .cell__routes span:nth-child(n + 3) {
      display: inline;
    }
    .talk__short {
      display: none;
    }
    .talk__long {
      display: inline;
    }
  }
  @media (min-width: 1100px) {
    .loop__grid {
      flex-direction: row;
      align-items: center;
      gap: clamp(40px, 4.4vw, 64px);
    }
    .loop__copy {
      display: flex;
      flex-direction: column;
      gap: 22px;
      width: 420px;
      flex-shrink: 0;
    }
    .loop .lead {
      font-size: 16px;
      line-height: 1.65;
    }
    .loop__features {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      margin-top: 4px;
    }
    .feature {
      padding: 18px;
      border-radius: 16px;
      border: 1px solid rgba(242, 232, 213, 0.12);
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .feature .mono {
      color: var(--gold);
    }
    .feature div:last-child {
      font-size: 15px;
      line-height: 1.35;
    }
    .loop__cta .report-gate__trigger {
      width: auto;
    }
    .summary {
      flex-grow: 1;
      border-radius: 28px;
      padding: 40px;
      gap: 26px;
      margin-top: 0;
    }
    .summary__head {
      gap: 18px;
    }
    .summary__head img {
      width: 64px;
      height: 64px;
    }
    .summary .mono {
      font-size: 14px;
    }
    .summary__name {
      font-size: 30px;
    }
    .summary__shared span {
      width: 34px;
      height: 34px;
      font-size: 12px;
    }
    .summary__cells {
      gap: 16px;
    }
    .cell {
      padding: 18px;
      border-radius: 16px;
      gap: 10px;
    }
    .cell--values {
      font-size: 14px;
    }
    .cell__world {
      font-size: 21px;
    }
    .cell__routes {
      font-size: 14px;
    }
    .talk {
      padding: 22px 24px;
      border-radius: 18px;
      gap: 18px;
    }
    .talk img {
      width: 44px;
      height: 44px;
    }
    .talk__text {
      font-size: 20px;
      line-height: 1.35;
      margin-top: 8px;
    }
  }

  /* report gate (email → sample dashboard). Behaviour lives in js/report-gate.js. */
  .report-gate__form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
  }
  .report-gate__form[hidden] {
    display: none;
  }
  .report-gate__form .field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 220px;
  }
  .report-gate__form label {
    font-size: 13px;
    color: var(--text-soft);
  }
  .report-gate__form input {
    height: 54px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid rgba(242, 232, 213, 0.3);
    background: rgba(242, 232, 213, 0.06);
    color: var(--text);
    font: inherit;
    font-size: 16px;
  }
  .report-gate__form input:focus {
    outline: 2px solid var(--gold);
    outline-offset: 1px;
  }
  .report-gate__status {
    font-size: 15px;
    color: var(--gold);
    max-width: 360px;
  }
  .report-gate__note {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-mute);
  }

  /* ---------- closing: book a demo + get the app ---------- */
  .closing__grid {
    display: grid;
  }
  .closing__panel {
    position: relative;
    overflow: hidden;
    padding: 60px var(--pad);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
  }
  .closing__panel--school {
    background: var(--cream);
    color: var(--ink);
  }
  .closing__panel--app {
    background: var(--bg-2);
  }
  .closing__panel--app .h2 {
    color: var(--gold);
    position: relative;
  }
  .closing__panel .lead {
    position: relative;
  }
  .closing__panel--school .lead {
    color: var(--ink-soft);
  }
  .closing__panel--school .btn--xl {
    width: 100%;
    height: 64px;
    font-size: 18px;
    margin-top: 6px;
  }
  .closing__mail {
    font-size: 14px;
    color: var(--ink-soft);
    text-align: center;
  }
  .closing__mail a {
    color: var(--ink);
    font-weight: 700;
    border-bottom: 1px solid var(--terra);
  }
  .tree--big {
    display: none;
  }
  .tree--small {
    position: relative;
    width: 120px;
    height: 120px;
    margin: -6px 0 2px -10px;
    pointer-events: none;
  }
  .stores {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
  }
  .store-btn {
    height: 64px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-radius: 16px;
    background: var(--bg);
    border: 1px solid rgba(242, 232, 213, 0.22);
    color: var(--text);
    transition: border-color 0.2s;
  }
  .store-btn:hover {
    border-color: rgba(242, 232, 213, 0.5);
  }
  .store-btn__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
  }
  .store-btn__text small {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.75;
  }
  .store-btn__text strong {
    font-size: 20px;
    font-weight: 700;
  }
  @media (min-width: 900px) {
    .closing__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      min-height: 640px;
    }
    .closing__panel {
      padding: 110px clamp(40px, 5vw, 72px) 100px;
      gap: 26px;
    }
    .closing__panel--school {
      padding-left: var(--pad);
    }
    .closing__panel--app {
      padding-right: var(--pad);
    }
    .closing__panel--school .btn--xl {
      width: auto;
      align-self: flex-start;
      height: 64px;
      padding: 0 36px;
      font-size: 17px;
      gap: 12px;
      margin-top: 10px;
    }
    .closing__mail {
      text-align: left;
      font-size: 15px;
    }
    .closing__panel .lead {
      max-width: 440px;
      font-size: 17px;
    }
    .tree--small {
      display: none;
    }
    .tree--big {
      display: block;
      position: absolute;
      left: 46%;
      bottom: -68px;
      width: 560px;
      height: 560px;
      max-width: none;
      pointer-events: none;
    }
    .stores {
      flex-direction: row;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 10px;
    }
    .store-btn {
      height: 64px;
      padding: 0 22px 0 18px;
    }
    .store-btn__text strong {
      font-size: 19px;
    }
  }

  /* ---------- footer ---------- */
  .site-footer {
    background: var(--bg);
    color: rgba(242, 232, 213, 0.7);
    font-size: 14px;
  }
  .site-footer__inner {
    padding-top: 26px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .site-footer .brand__word {
    font-size: 26px;
    color: var(--text);
  }
  .site-footer__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .site-footer__links a {
    color: rgba(242, 232, 213, 0.8);
  }
  .site-footer__links a:hover {
    color: var(--gold);
  }
  .site-footer__legal {
    font-size: 12px;
  }
  @media (min-width: 1280px) {
    .site-footer__inner {
      gap: 32px;
      min-height: 120px;
      padding-top: 0;
      padding-bottom: 0;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
    }
    .site-footer .brand__word {
      font-size: 28px;
    }
    .site-footer__links {
      display: flex;
      gap: 24px;
    }
    .site-footer__links a {
      white-space: nowrap;
    }
    .site-footer__links a {
      color: rgba(242, 232, 213, 0.75);
    }
    .site-footer__legal {
      font-size: 14px;
      white-space: nowrap;
    }
  }

  /* ---------- modals (shared JS: report-modal.js, confirmation-modal.js) ---------- */
  .report-modal-overlay,
  .confirmation-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(6, 20, 19, 0.72);
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  .report-modal-overlay.is-visible,
  .confirmation-modal-overlay.is-visible {
    opacity: 1;
  }
  .report-modal {
    width: min(1200px, 96vw);
    height: min(880px, 92vh);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    transform: translateY(12px) scale(0.98);
    transition: transform 0.2s ease;
  }
  .report-modal-overlay.is-visible .report-modal,
  .confirmation-modal-overlay.is-visible .confirmation-modal {
    transform: none;
  }
  .report-modal__bar {
    display: flex;
    justify-content: flex-end;
    padding: 8px 12px;
    background: var(--bg);
    flex-shrink: 0;
  }
  .report-modal__close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(242, 232, 213, 0.12);
    color: var(--text);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
  }
  .report-modal__close:hover {
    background: rgba(242, 232, 213, 0.24);
  }
  .report-modal__frame {
    flex: 1;
    width: 100%;
    border: 0;
  }
  .confirmation-modal {
    width: 100%;
    max-width: 420px;
    padding: 40px 32px 32px;
    border-radius: 24px;
    text-align: center;
    background: var(--cream-2);
    color: var(--ink);
    transform: translateY(12px);
    transition: transform 0.2s ease;
  }
  .confirmation-modal__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d3537;
    color: var(--gold);
    font-weight: 700;
  }
  .confirmation-modal__icon--error {
    background: #f6d9cf;
    color: #9a3412;
  }
  .confirmation-modal p {
    font-size: 16px;
    line-height: 1.5;
  }
  .confirmation-modal .btn {
    margin-top: 22px;
    background: var(--ink);
    color: var(--cream);
  }
  @media (max-width: 640px) {
    .report-modal-overlay {
      padding: 0;
    }
    .report-modal {
      width: 100vw;
      height: 100%;
      border-radius: 0;
    }
  }

  /* ---------- motion ---------- */
  @keyframes marquee {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-50%);
    }
  }
  @keyframes colUp {
    from {
      transform: translateY(0);
    }
    to {
      transform: translateY(-50%);
    }
  }
  @keyframes colDown {
    from {
      transform: translateY(-50%);
    }
    to {
      transform: translateY(0);
    }
  }
  @keyframes kb {
    from {
      transform: scale(1);
    }
    to {
      transform: scale(1.12);
    }
  }
  @keyframes barIn {
    from {
      transform: scaleX(0);
    }
    to {
      transform: scaleX(1);
    }
  }
  @keyframes riseIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes jline {
    0% {
      transform: scaleX(0);
    }
    55%,
    90% {
      transform: scaleX(1);
    }
    100% {
      transform: scaleX(1);
      opacity: 0;
    }
  }
  @keyframes jlineV {
    0% {
      transform: scaleY(0);
    }
    55%,
    90% {
      transform: scaleY(1);
    }
    100% {
      transform: scaleY(1);
      opacity: 0;
    }
  }
  .kb {
    animation: kb 22s ease-in-out infinite alternate;
  }

  @keyframes gl0 {
    0% {
      stroke-dashoffset: 0.16;
      opacity: 0;
    }
    0.95% {
      opacity: 1;
    }
    22.86% {
      stroke-dashoffset: -1;
      opacity: 1;
    }
    23.33%,
    100% {
      stroke-dashoffset: -1;
      opacity: 0;
    }
  }
  @keyframes gl1 {
    0%,
    33.33% {
      stroke-dashoffset: 0.16;
      opacity: 0;
    }
    34.29% {
      opacity: 1;
    }
    56.19% {
      stroke-dashoffset: -1;
      opacity: 1;
    }
    56.67%,
    100% {
      stroke-dashoffset: -1;
      opacity: 0;
    }
  }
  @keyframes gl2 {
    0%,
    66.67% {
      stroke-dashoffset: 0.16;
      opacity: 0;
    }
    67.62% {
      opacity: 1;
    }
    89.52% {
      stroke-dashoffset: -1;
      opacity: 1;
    }
    90%,
    100% {
      stroke-dashoffset: -1;
      opacity: 0;
    }
  }
  @keyframes tp0 {
    0%,
    21.43% {
      opacity: 0;
      transform: scale(0.6);
    }
    25.24% {
      opacity: 1;
      transform: scale(1);
    }
    43.81% {
      opacity: 0;
      transform: scale(1.2);
    }
    100% {
      opacity: 0;
    }
  }
  @keyframes tp1 {
    0%,
    54.76% {
      opacity: 0;
      transform: scale(0.6);
    }
    58.57% {
      opacity: 1;
      transform: scale(1);
    }
    77.14% {
      opacity: 0;
      transform: scale(1.2);
    }
    100% {
      opacity: 0;
    }
  }
  @keyframes tp2 {
    0%,
    88.1% {
      opacity: 0;
      transform: scale(0.6);
    }
    91.9% {
      opacity: 1;
      transform: scale(1);
    }
    100% {
      opacity: 0;
      transform: scale(1.1);
    }
  }
  @keyframes rootb {
    0%,
    100% {
      opacity: 0.7;
    }
    50% {
      opacity: 1;
    }
  }
  .gl0,
  .gl1,
  .gl2 {
    stroke-dasharray: 0.16 1.2;
  }
  .gl0 {
    animation: gl0 10.5s linear infinite;
  }
  .gl1 {
    animation: gl1 10.5s linear infinite;
  }
  .gl2 {
    animation: gl2 10.5s linear infinite;
  }
  .tp0,
  .tp1,
  .tp2,
  .rootb {
    transform-box: fill-box;
    transform-origin: center;
  }
  .tp0 {
    animation: tp0 10.5s ease-out infinite;
  }
  .tp1 {
    animation: tp1 10.5s ease-out infinite;
  }
  .tp2 {
    animation: tp2 10.5s ease-out infinite;
  }
  .rootb {
    animation: rootb 3.5s ease-in-out infinite;
  }

  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation: none !important;
      transition: none !important;
    }
    html {
      scroll-behavior: auto;
    }
    .gl0,
    .gl1,
    .gl2,
    .tp0,
    .tp1,
    .tp2 {
      opacity: 0;
    }
    .js .summary:not(.is-in) .vbar__fill {
      transform: none;
    }
    .js .summary:not(.is-in) .talk {
      opacity: 1;
    }
  }

  /* 2. INNER PAGES (How it works, Schools, Counselors, About, Child Protection)
   Builds on chapter 1. Illustrations come from the design canvas as fixed-size blocks
   inside .fit; js/redesign.js scales them down (CSS zoom) to the column they sit in. */

  /* ---------- type ---------- */
  .page-h1 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(42px, 2.1vw + 33.8px, 64px);
    line-height: 0.96;
    text-wrap: balance;
    letter-spacing: -0.01em;
  }
  .h2 .gold,
  .page-h1 .gold {
    color: var(--gold);
  }
  .h2 .terra {
    color: var(--terra);
  }
  .section--cream .h2 .gold {
    color: var(--terra);
  }
  .body-text {
    font-size: clamp(15px, 0.095vw + 14.63px, 16px);
    line-height: 1.6;
    color: var(--text-soft);
  }
  .section--cream .body-text,
  .hero--light .body-text {
    color: var(--ink-soft);
  }

  /* ---------- sections ---------- */
  .section--deep {
    background: var(--bg);
  }
  .stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .stack--lg {
    gap: 26px;
  }
  .split {
    display: flex;
    flex-direction: column;
    gap: 36px;
  }
  .split__text {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  @media (min-width: 1024px) {
    .split {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      gap: clamp(40px, 4.5vw, 72px);
    }
    .split--top {
      align-items: flex-start;
    }
    .split--rev {
      flex-direction: row-reverse;
    }
    .split__text {
      flex: 0 1 var(--text-w, 480px);
      min-width: 0;
      gap: 24px;
    }
    .split__viz {
      flex: 0 1 var(--viz-w, 640px);
      min-width: 0;
    }
  }

  /* ---------- canvas illustrations ---------- */
  .fit {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .fit__in {
    flex-shrink: 0;
    position: relative;
  }
  .no-js .fit {
    overflow: hidden;
  }
  .viz-w {
    display: none !important;
  }
  @media (min-width: 640px) {
    .viz-w {
      display: block !important;
    }
    .viz-p {
      display: none !important;
    }
  }
  @media (min-width: 640px) {
    .sch-two__cards.viz-w {
      display: grid !important;
    }
    .fit.viz-w {
      display: flex !important;
    }
  }

  /* canvas helper classes, only inside illustrations */
  .fit .card,
  .canvas .card {
    background: #133431;
    border: 1px solid rgba(242, 232, 213, 0.1);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  }
  .fit .chip,
  .canvas .chip {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
  }
  .fit .kick,
  .canvas .kick {
    letter-spacing: 0.18em;
  }
  .fit .serif,
  .canvas .serif {
    font-weight: inherit;
  }
  .fit a,
  .canvas a {
    color: inherit;
  }
  .fit img,
  .canvas img {
    max-width: none;
  }
  .fit svg,
  .canvas svg {
    max-width: none;
  }
  .glow {
    animation: glow 6s ease-in-out infinite;
  }
  @keyframes glow {
    0%,
    100% {
      opacity: 0.55;
      transform: scale(1);
    }
    50% {
      opacity: 0.95;
      transform: scale(1.08);
    }
  }
  .draw {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 14s cubic-bezier(0.4, 0, 0.2, 1) infinite both;
  }
  @keyframes draw {
    0%,
    4% {
      stroke-dashoffset: 1;
    }
    16%,
    86% {
      stroke-dashoffset: 0;
    }
    96%,
    100% {
      stroke-dashoffset: 1;
    }
  }
  .bar {
    transform-origin: left center;
    animation: bar 12s cubic-bezier(0.2, 0.7, 0.2, 1) infinite both;
  }
  @keyframes bar {
    0%,
    6% {
      transform: scaleX(0);
    }
    18%,
    86% {
      transform: scaleX(1);
    }
    96%,
    100% {
      transform: scaleX(0);
    }
  }
  .pop {
    animation: pop 12s cubic-bezier(0.2, 0.8, 0.2, 1.2) infinite both;
  }
  @keyframes pop {
    0%,
    6% {
      opacity: 0;
      transform: scale(0.6) translateY(10px);
    }
    14%,
    86% {
      opacity: 1;
      transform: scale(1) translateY(0);
    }
    95%,
    100% {
      opacity: 0;
      transform: scale(0.94);
    }
  }
  .fade {
    animation: fade 12s ease infinite both;
  }
  @keyframes fade {
    0%,
    6% {
      opacity: 0;
      transform: translateY(8px);
    }
    14%,
    86% {
      opacity: 1;
      transform: none;
    }
    95%,
    100% {
      opacity: 0;
    }
  }
  .rise {
    animation: rise 9s ease infinite both;
  }
  @keyframes rise {
    0%,
    8% {
      opacity: 0;
      transform: translateY(10px);
    }
    18%,
    88% {
      opacity: 1;
      transform: none;
    }
    98%,
    100% {
      opacity: 0;
    }
  }
  .bub {
    animation: bub 14s ease infinite both;
  }
  @keyframes bub {
    0%,
    4% {
      opacity: 0;
      transform: translateY(14px);
    }
    10%,
    88% {
      opacity: 1;
      transform: none;
    }
    96%,
    100% {
      opacity: 0;
    }
  }
  .mqW {
    animation: mqW 90s linear infinite;
  }
  @keyframes mqW {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-3360px);
    }
  }
  .viz-p .mqW {
    animation-name: mqWp;
    animation-duration: 75s;
  }
  @keyframes mqWp {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-2568px);
    }
  }
  .worlds-strip .mqW {
    padding-left: var(--pad) !important;
  }
  .linedraw {
    stroke-dasharray: 1 1;
    stroke-dashoffset: 0.94;
    animation: linedraw 64s ease-in-out infinite;
  }
  @keyframes linedraw {
    0% {
      stroke-dashoffset: 0.94;
    }
    22%,
    28% {
      stroke-dashoffset: 0;
    }
    48%,
    52% {
      stroke-dashoffset: -0.94;
    }
    72%,
    78% {
      stroke-dashoffset: 0;
    }
    100% {
      stroke-dashoffset: 0.94;
    }
  }
  .lit {
    animation: lit 9s ease infinite both;
  }
  @keyframes lit {
    0%,
    22% {
      fill: rgba(242, 232, 213, 0.18);
    }
    40%,
    88% {
      fill: #f0c878;
    }
    98%,
    100% {
      fill: rgba(242, 232, 213, 0.18);
    }
  }
  .pulse {
    animation: pulse 3s ease-in-out infinite;
  }
  @keyframes pulse {
    0%,
    100% {
      transform: scale(1);
      opacity: 0.9;
    }
    50% {
      transform: scale(1.18);
      opacity: 1;
    }
  }
  .drift {
    animation: drift 7s ease-in-out infinite alternate;
  }
  @keyframes drift {
    from {
      transform: translateY(4px);
    }
    to {
      transform: translateY(-6px);
    }
  }
  .flow {
    animation: flow 2.4s linear infinite;
  }
  @keyframes flow {
    to {
      stroke-dashoffset: -18;
    }
  }
  .cw {
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
  }

  /* ---------- header on light (cream) heroes ---------- */
  .site-header .menu-btn {
    color: var(--text);
  }
  .site-header--light .brand,
  .site-header--light .site-nav a {
    color: var(--ink);
  }
  .site-header--light .site-nav a:hover,
  .site-header--light .site-nav a[aria-current="page"] {
    color: var(--terra);
  }
  .site-header--light .brand__mark use {
    fill: var(--ink);
  }
  .site-header--light .menu-btn {
    color: var(--ink);
    border-color: rgba(12, 34, 33, 0.25);
  }
  .site-header--light .site-header__cta {
    background: var(--ink);
    color: var(--cream);
  }
  .site-header--light.is-open .brand,
  .site-header--light.is-open .menu-btn {
    color: var(--text);
  }
  .site-header--light.is-open .brand__mark use {
    fill: var(--text);
  }
  .site-nav a[aria-current="page"] {
    border-bottom-color: currentColor;
  }
  /* inner pages keep a small "Book a demo" next to the menu on phones */
  @media (max-width: 1099px) {
    .site-header__inner {
      gap: 8px;
    }
    body:not(.page-home) .site-header__cta {
      display: inline-flex;
      height: 44px;
      padding: 0 16px;
      font-size: 13px;
      margin-left: auto;
    }
  }
  @media (max-width: 359px) {
    body:not(.page-home) .site-header__cta {
      display: none;
    }
  }

  /* ---------- inner-page heroes ---------- */
  .page-hero {
    position: relative;
    overflow: hidden;
    padding-top: 68px;
  }
  .page-hero__inner {
    padding-top: 26px;
    padding-bottom: 56px;
  }
  .page-hero .split__text {
    gap: 22px;
  }
  .page-hero__lead {
    font-size: clamp(16px, 0.095vw + 15.63px, 17px);
    line-height: 1.65;
    color: rgba(242, 232, 213, 0.8);
    max-width: 560px;
  }
  .hero--light {
    background: var(--cream);
    color: var(--ink);
  }
  .hero--light .page-hero__lead {
    color: var(--ink-soft);
  }
  .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .actions .btn {
    height: 56px;
    padding: 0 28px;
    font-size: 16px;
  }
  @media (max-width: 639px) {
    .actions--stack {
      flex-direction: column;
    }
    .actions--stack .btn {
      width: 100%;
    }
  }
  .btn--ink:hover {
    background: #17403d;
  }
  .btn--line-ink {
    border-color: rgba(12, 34, 33, 0.3);
    color: var(--ink);
  }
  .btn--line-ink:hover {
    border-color: var(--ink);
  }
  @media (min-width: 1100px) {
    .page-hero {
      padding-top: 96px;
    }
    .page-hero__inner {
      padding-top: 40px;
      padding-bottom: 120px;
    }
  }

  /* ---------- ticks, numbered steps, check lists ---------- */
  .tick-dot {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--teal);
    color: var(--ink);
  }
  .ticks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 15px;
    font-weight: 600;
  }
  .ticks li {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .hero--light .tick-dot {
    background: #1f7a70;
    color: var(--cream);
  }
  ul.plain {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  .checklist li {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    font-size: 15px;
    line-height: 1.45;
  }
  .checklist li:last-child {
    border-bottom: 1px solid var(--line);
  }
  .section--cream .checklist li,
  .hero--light .checklist li {
    border-color: var(--line-ink);
  }
  .checklist .tick-dot {
    background: var(--gold);
    color: var(--ink);
  }
  .section--cream .checklist .tick-dot {
    background: var(--ink);
    color: var(--cream);
  }
  @media (min-width: 1024px) {
    .checklist li {
      font-size: 16px;
    }
  }
  .steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  .steps li {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 18px 0;
    border-top: 1px solid var(--line-ink);
  }
  .steps li:last-child {
    border-bottom: 1px solid var(--line-ink);
  }
  .steps__num {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid rgba(176, 82, 31, 0.5);
    color: var(--terra);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 18px;
  }
  .steps__title {
    font-family: var(--serif);
    font-size: 24px;
    line-height: 1.1;
  }
  .steps__sub {
    margin-top: 4px;
    font-size: 14px;
    color: var(--ink-soft);
  }
  @media (min-width: 1024px) {
    .steps__title {
      font-size: 26px;
    }
    .steps__sub {
      font-size: 15px;
    }
  }

  /* ---------- stats strip (shared by Schools, Counselors, About) ---------- */
  .stats-strip {
    background: var(--bg);
  }
  .stats-strip__inner {
    display: flex;
    flex-direction: column;
    padding-top: 44px;
    padding-bottom: 44px;
  }
  .strip-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid rgba(242, 232, 213, 0.12);
  }
  .strip-stat__num {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 44px;
    line-height: 0.9;
    width: 124px;
    flex-shrink: 0;
  }
  .strip-stat__label {
    font-size: 14px;
    color: rgba(242, 232, 213, 0.7);
  }
  .stats-strip__note {
    margin-top: 18px;
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.25;
    color: rgba(242, 232, 213, 0.85);
  }
  @media (min-width: 1024px) {
    .stats-strip__inner {
      display: grid;
      grid-template-columns: repeat(3, auto) minmax(0, 1fr);
      align-items: center;
      min-height: 230px;
      padding-top: 0;
      padding-bottom: 0;
    }
    .strip-stat {
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
      padding: 0 32px;
      border-top: 0;
      border-left: 1px solid rgba(242, 232, 213, 0.12);
    }
    .strip-stat:first-child {
      padding-left: 0;
      border-left: 0;
    }
    .strip-stat__num {
      font-size: 48px;
      width: auto;
    }
    .strip-stat__label {
      font-size: 15px;
    }
    .stats-strip__note {
      margin: 0 0 0 32px;
      padding-left: 32px;
      border-left: 1px solid rgba(242, 232, 213, 0.12);
      font-size: 24px;
      max-width: 420px;
      justify-self: end;
    }
  }

  /* ---------- forms on cream ---------- */
  .form-card {
    background: var(--paper);
    border-radius: 24px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 40px 80px -50px rgba(12, 34, 33, 0.5);
    border: 1px solid rgba(12, 34, 33, 0.06);
    color: var(--ink);
  }
  .form-grid {
    display: grid;
    gap: 14px;
  }
  .form-card .field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
  }
  .form-card .field small {
    font-weight: 400;
    color: var(--ink-mute);
  }
  .form-card input,
  .form-card select,
  .form-card textarea {
    width: 100%;
    height: 52px;
    border-radius: 12px;
    border: 1px solid rgba(12, 34, 33, 0.16);
    background: #fffdf8;
    padding: 0 16px;
    font: inherit;
    font-size: 16px;
    font-weight: 400;
    color: var(--ink);
  }
  .form-card select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230c2221' stroke-width='1.6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
  }
  .form-card select:invalid {
    color: #7d8f8b;
  }
  .form-card textarea {
    height: 120px;
    padding: 14px 16px;
    resize: vertical;
  }
  .form-card input:focus,
  .form-card select:focus,
  .form-card textarea:focus {
    outline: 2px solid var(--ink);
    outline-offset: 1px;
  }
  .form-card .btn {
    height: 58px;
    font-size: 16px;
    margin-top: 4px;
  }
  .form__consent {
    font-size: 13px;
    color: var(--ink-mute);
  }
  .form__consent a {
    color: var(--ink);
    text-decoration: underline;
  }
  .text-link {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
  }
  .form__status {
    font-size: 14px;
    color: var(--ink);
    min-height: 0;
  }
  .form__status:empty {
    display: none;
  }
  .hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
  @media (min-width: 640px) {
    .form-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
    }
    .form-grid .field--full {
      grid-column: 1 / -1;
    }
  }
  @media (min-width: 1024px) {
    .form-card {
      padding: 40px;
      gap: 18px;
      border-radius: 28px;
    }
  }

  /* ---------- video frame ---------- */
  .video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 22px;
    overflow: hidden;
    background: #0b1e1c;
    box-shadow: 0 50px 100px -40px rgba(12, 34, 33, 0.7);
  }
  .video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .video-frame__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: linear-gradient(180deg, rgba(12, 34, 33, 0) 50%, rgba(12, 34, 33, 0.55));
  }
  .video-frame__play img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .video-frame__btn {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 12px rgba(240, 200, 120, 0.18);
    transition: transform 0.2s;
  }
  .video-frame__play:hover .video-frame__btn {
    transform: scale(1.06);
  }
  .video-frame.is-playing .video-frame__play {
    display: none;
  }
  @media (max-width: 639px) {
    .video-frame {
      border-radius: 18px;
    }
    .video-frame__btn {
      width: 60px;
      height: 60px;
    }
  }

  /* ======================================================= HOW IT WORKS */
  .hiw-hero {
    background: var(--bg);
  }
  .hiw-hero .split {
    --text-w: 500px;
    --viz-w: 450px;
  }
  .hiw-profile .split {
    --text-w: 448px;
    --viz-w: 648px;
  }
  .hiw-worlds .h2 {
    max-width: 700px;
  }
  .hiw-worlds__lead {
    max-width: 640px;
  }
  .worlds-strip {
    margin-top: 36px;
    overflow: hidden;
  }
  @media (min-width: 1024px) {
    .worlds-strip {
      margin-top: 44px;
    }
    .worlds-strip.viz-w > * {
      zoom: 0.86;
    }
    .worlds-strip.viz-w .mqW {
      padding-left: calc(var(--pad) / 0.86) !important;
    }
  }
  .careers__head {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .careers__num {
    font-family: var(--serif);
    font-size: 72px;
    line-height: 0.85;
    color: var(--terra);
  }
  .careers__tag {
    font-family: var(--serif);
    font-size: 26px;
    line-height: 1.15;
  }
  .careers__grid {
    display: grid;
    gap: 22px;
    margin-top: 30px;
  }
  .careers__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 18px;
    border-top: 1px solid var(--line-ink);
  }
  .careers__item h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 24px;
    line-height: 1.1;
  }
  .careers__item p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-soft);
  }
  @media (min-width: 1024px) {
    .careers__head {
      flex-direction: row;
      align-items: baseline;
      gap: 28px;
    }
    .careers__num {
      font-size: 96px;
    }
    .careers__tag {
      font-size: 34px;
    }
    .careers__grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 48px;
      margin-top: 48px;
    }
    .careers__item h3 {
      font-size: 26px;
    }
  }
  .hiw-mentor .split {
    --text-w: 560px;
    --viz-w: 460px;
  }
  .mentor__extras {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 4px;
  }
  .hiw-video .split {
    --text-w: 400px;
    --viz-w: 716px;
  }
  .hiw-video__note {
    font-size: 14px;
    color: var(--text-mute);
    max-width: 220px;
  }
  .hiw-video .actions {
    align-items: center;
    gap: 18px;
  }
  .hiw-cta {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 110px 0 120px;
    background: radial-gradient(520px 380px at 50% 44%, rgba(255, 157, 74, 0.2), rgba(12, 34, 33, 0) 70%),
      linear-gradient(180deg, #0c2221, rgba(12, 34, 33, 0.55) 32%, rgba(12, 34, 33, 0.88)),
      radial-gradient(1px 1px at 12% 22%, rgba(242, 232, 213, 0.7), transparent 60%),
      radial-gradient(1px 1px at 28% 64%, rgba(242, 232, 213, 0.5), transparent 60%),
      radial-gradient(1.5px 1.5px at 41% 18%, rgba(242, 232, 213, 0.8), transparent 60%),
      radial-gradient(1px 1px at 57% 78%, rgba(242, 232, 213, 0.5), transparent 60%),
      radial-gradient(1.5px 1.5px at 69% 31%, rgba(242, 232, 213, 0.7), transparent 60%),
      radial-gradient(1px 1px at 83% 58%, rgba(242, 232, 213, 0.6), transparent 60%),
      radial-gradient(1px 1px at 91% 14%, rgba(242, 232, 213, 0.5), transparent 60%),
      radial-gradient(1px 1px at 6% 82%, rgba(242, 232, 213, 0.5), transparent 60%),
      radial-gradient(1.5px 1.5px at 36% 90%, rgba(242, 232, 213, 0.6), transparent 60%),
      radial-gradient(1px 1px at 76% 88%, rgba(242, 232, 213, 0.5), transparent 60%), #0a1c1b;
    background-size:
      auto,
      auto,
      320px 260px,
      320px 260px,
      320px 260px,
      320px 260px,
      320px 260px,
      320px 260px,
      320px 260px,
      320px 260px,
      320px 260px,
      320px 260px,
      auto;
  }
  .hiw-cta__mark {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 26px;
  }
  .hiw-cta .h2 {
    max-width: none;
  }
  .hiw-cta .actions {
    justify-content: center;
    margin-top: 30px;
  }
  .hiw-cta .store-btn {
    height: 56px;
    border-radius: 999px;
    padding: 0 22px;
  }
  .hiw-cta .store-btn__text strong {
    font-size: 16px;
  }
  @media (min-width: 1024px) {
    .hiw-cta {
      padding: 170px 0 190px;
    }
    .hiw-cta__mark {
      width: 110px;
      height: 110px;
    }
  }
  @media (max-width: 639px) {
    .hiw-cta .actions {
      flex-direction: column;
      align-items: stretch;
    }
    .hiw-cta .store-btn {
      justify-content: center;
    }
  }

  /* ---------- visibility helpers ---------- */
  .only-wide-flex,
  .only-wide-block {
    display: none !important;
  }
  @media (min-width: 900px) {
    .only-wide-flex {
      display: inline-flex !important;
    }
    .only-wide-block {
      display: block !important;
    }
  }
  .lg-w {
    display: none !important;
  }
  @media (min-width: 1024px) {
    .lg-w {
      display: block !important;
    }
    .lg-p {
      display: none !important;
    }
  }

  /* ---------- How it works: the page follows the Compass ----------
     Hero: the four steps beside the dial. Then one section per step, each opened by a chapter rule in the step's
     colour (1 Explore, 2 Experiment, 3 Reflect, 4 Build your profile), then "Designed for a new generation". */

  /* hero: the four steps, each a link to its section */
  .hiw-hero--compass .split {
    --text-w: 470px;
    --viz-w: 640px;
  }
  .hiw-hero--compass .split__text {
    gap: 30px;
  }
  .hero-steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .hero-steps::before {
    /* a thin line joining the four rings, through the dial's colours */
    content: "";
    position: absolute;
    left: 16.5px;
    top: 20px;
    bottom: 20px;
    width: 1px;
    background: linear-gradient(180deg, var(--gold), var(--teal), var(--coral), var(--orange));
    opacity: 0.35;
  }
  .hero-steps__i {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    color: inherit;
    text-decoration: none;
  }
  .hero-steps__b {
    display: flex;
    flex-direction: column;
  }
  .hero-steps__t {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.1;
    color: var(--text);
  }
  .hero-steps__s {
    display: block;
    margin-top: 4px;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--text-mute);
  }
  .hero-steps__go {
    flex-shrink: 0;
    color: var(--c);
    opacity: 0.55;
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }
  .hero-steps__i:hover .hero-steps__go,
  .hero-steps__i:focus-visible .hero-steps__go {
    opacity: 1;
    transform: translateY(3px);
  }
  .hero-steps__i:hover .hero-steps__n,
  .hero-steps__i:focus-visible .hero-steps__n {
    border-color: var(--c);
  }
  .hero-steps__i:hover .hero-steps__t,
  .hero-steps__i:focus-visible .hero-steps__t {
    color: #fff;
  }
  /* step numbers (hero list and chapter rules): a fine ring and a full-height numeral in the step's colour */
  .hero-steps__n,
  .step-rule__n {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
    color: var(--c);
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    font-variant-numeric: lining-nums;
  }
  @media (min-width: 1200px) {
    /* the title on one line, running past the text column into the space left of the dial */
    .hiw-hero--compass .page-h1 {
      width: max-content;
      white-space: nowrap;
      max-width: none;
    }
  }
  @media (min-width: 1340px) {
    /* each step's line on one row */
    .hiw-hero--compass .split {
      --text-w: 540px;
      --viz-w: 560px;
    }
    .hero-steps__s {
      white-space: nowrap;
    }
  }

  /* the Compass dial: compass picture over an SVG ring; the colour line draws itself behind the travelling light */
  .c3-dial-wrap {
    min-width: 0;
  }
  .c3-dial {
    position: relative;
  }
  .c3-dial__svg {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
  }
  .c3-dial__compass {
    position: absolute;
    height: auto;
    max-width: none;
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
    animation: c3sway 9s ease-in-out infinite;
    transform-origin: 50% 57%;
  }
  @keyframes c3sway {
    0%,
    100% {
      transform: rotate(-2deg);
    }
    50% {
      transform: rotate(2deg);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .c3-dial__compass {
      animation: none;
    }
  }

  /* chapter rule at the top of each step section */
  #explore,
  #experiment,
  #reflect,
  #build-your-profile {
    scroll-margin-top: 24px;
  }
  .step-rule {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: clamp(36px, 4vw, 56px);
  }
  .step-rule__n {
    background: transparent;
  }
  .step-rule__t {
    flex-shrink: 0;
    font-family: var(--serif);
    font-size: 24px;
    line-height: 1;
    color: var(--text);
  }
  .step-rule__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--c), rgba(0, 0, 0, 0));
    opacity: 0.55;
  }

  /* step 2, Experiment: one real step every week (text and promises | Laura's card) */
  .hiw-c3-week .split {
    --text-w: 460px;
    --viz-w: 560px;
  }
  .c3-card {
    min-width: 0;
  }
  .c3-rows {
    display: flex;
    flex-direction: column;
    margin-top: 4px;
  }
  .c3-rows .trust__item {
    /* the Home trust design, one per row */
    flex-direction: row;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: none;
  }
  .c3-rows .trust__item img {
    width: 44px;
    height: 44px;
    margin-top: 2px;
  }
  .c3-rows .trust__item h3 {
    font-size: 22px;
    line-height: 1.1;
  }
  .c3-rows .trust__item p {
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(242, 232, 213, 0.72);
    text-wrap: pretty;
  }

  /* step 4, Build your profile: Laura's evolving profile among her interests */
  .hiw-evolve .split {
    --text-w: 480px;
    --viz-w: 520px;
  }
  .evolve-rows {
    display: flex;
    flex-direction: column;
  }
  .evolve-row {
    padding: 16px 0;
    border-top: 1px solid var(--line);
  }
  .evolve-row__t {
    margin: 0;
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.15;
    color: var(--text);
  }
  .evolve-row__s {
    margin: 5px 0 0;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(242, 232, 213, 0.72);
  }
  /* the profile card: orientation state (with its scale), top value, strength */
  .pc-facts {
    display: flex;
    flex-direction: column;
  }
  .pc-facts--art {
    margin-top: 4px;
  }
  .pc-fact {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    column-gap: 12px;
    padding: 10px 0;
    border-top: 1px solid rgba(242, 232, 213, 0.1);
  }
  .pc-fact__k {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
  }
  .pc-fact__v {
    justify-self: end;
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.1;
    color: var(--text);
  }
  .pc-scale {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin-top: 9px;
  }
  .pc-scale i {
    height: 4px;
    border-radius: 2px;
    background: rgba(242, 232, 213, 0.12);
  }
  .pc-scale i.on {
    background: linear-gradient(90deg, var(--gold), var(--orange));
  }

  /* designed for a new generation: the playful-task list uses ✦ instead of numbers */
  .hiw-profile .steps__num {
    font-size: 14px;
  }

  /* ---------- report gate on inner pages ---------- */
  .gate-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 6px;
  }
  .gate-cta .actions .btn {
    height: 56px;
  }
  @media (max-width: 639px) {
    .gate-cta .actions {
      flex-direction: column;
    }
    .gate-cta .actions .btn {
      width: 100%;
    }
  }

  /* ======================================================= SCHOOLS */
  .sch-hero .split {
    --text-w: 560px;
    --viz-w: 456px;
  }
  .sch-hero .page-hero__lead {
    max-width: 580px;
  }
  .sch-hero .actions {
    margin-top: 4px;
  }
  .sch-hero .ticks {
    margin-top: 4px;
    color: var(--ink);
  }
  .sch-two__head {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .sch-two__cards {
    display: grid;
    gap: 20px;
    margin-top: 36px;
  }
  @media (min-width: 1024px) {
    .sch-two__head {
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-end;
      gap: 48px;
    }
    .sch-two__head .h2 {
      max-width: 640px;
    }
    .sch-two__head .lead {
      max-width: 380px;
    }
  }
  @media (min-width: 1200px) {
    .sch-two__cards.viz-w {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 28px;
      margin-top: 44px;
    }
    .sch-two__cards.viz-w > .sch-two__card {
      padding: 36px !important;
      gap: 20px !important;
    }
    .sch-two__cards.viz-w .sch-two__card-art {
      height: 196px !important;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
  .sch-offer .split {
    --text-w: 440px;
    --viz-w: 650px;
  }
  .sch-problem .split {
    --text-w: 600px;
    --viz-w: 520px;
  }
  .sch-problem .lead + .lead {
    margin-top: -4px;
  }
  .sch-dash .split {
    --text-w: 520px;
    --viz-w: 560px;
  }
  .sch-dash .gate-cta .report-gate__trigger {
    order: 0;
  }
  .sch-tools .split {
    --text-w: 560px;
    --viz-w: 500px;
  }
  .sch-tools .fit {
    justify-content: flex-start;
    margin-top: 8px;
  }
  .sch-proposal .split {
    --text-w: 460px;
    --viz-w: 620px;
  }
  .outcomes {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .outcomes li {
    display: flex;
    gap: 20px;
    align-items: baseline;
    padding: 20px 0;
    border-top: 1px solid var(--line-ink);
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink-soft);
  }
  .outcomes li:last-child {
    border-bottom: 1px solid var(--line-ink);
  }
  .outcomes__num {
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1;
    width: 30px;
    flex-shrink: 0;
    color: var(--terra);
  }

  /* ======================================================= COUNSELORS */
  .cou-hero {
    background: var(--bg);
  }
  .cou-hero .split {
    --text-w: 560px;
    --viz-w: 526px;
  }
  .cou-feel__stats {
    margin-top: 28px;
  }
  @media (min-width: 1024px) {
    .cou-feel__stats {
      margin-top: 56px;
    }
  }
  .cou-built__lead {
    margin-top: 18px;
  }
  .cou-built .trust__item p {
    color: rgba(242, 232, 213, 0.75);
  }
  .cou-icon {
    flex-shrink: 0;
  }
  .cou-icon > div {
    width: 44px !important;
    height: 44px !important;
  }
  .cou-icon svg {
    width: 20px;
    height: 20px;
  }
  @media (min-width: 900px) {
    .cou-icon > div {
      width: 60px !important;
      height: 60px !important;
    }
    .cou-icon svg {
      width: 28px;
      height: 28px;
    }
  }
  .cou-dash .split {
    --text-w: 480px;
    --viz-w: 700px;
  }
  .cou-trial .split {
    --text-w: 480px;
    --viz-w: 620px;
  }
  .cou-trial .link-underline {
    align-self: flex-start;
    margin-top: 4px;
  }
  .cou-built .h2 {
    color: var(--text);
  }

  /* ======================================================= ABOUT */
  .about-hero {
    background: var(--bg);
    isolation: isolate;
  }
  .about-hero__art {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
  }
  .about-hero__art svg {
    max-width: none;
  }
  .about-hero__art--w {
    display: none;
  }
  @media (min-width: 1024px) {
    .about-hero__art--w {
      display: block;
    }
    .about-hero__art--p {
      display: none;
    }
    .about-hero__art--w > svg {
      left: auto !important;
      right: -160px;
    }
  }
  .about-hero .split {
    --text-w: 520px;
    --viz-w: 620px;
  }
  .about-hero__link {
    font-size: 16px;
    font-weight: 700;
    color: var(--gold);
    border-bottom: 2px solid rgba(240, 200, 120, 0.5);
    padding-bottom: 4px;
    align-self: flex-start;
  }
  .about-why .split {
    --text-w: 600px;
    --viz-w: 560px;
  }
  .about-why__moment {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 22px;
    border-top: 1px solid var(--line-ink);
    margin-top: 6px;
  }
  .about-why__moment h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 26px;
    line-height: 1.1;
  }
  .about-team__head {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  @media (min-width: 1024px) {
    .about-team__head {
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-end;
    }
    .about-team__head .lead {
      max-width: 440px;
    }
  }
  .about-team__grid {
    display: grid;
    gap: 14px;
    margin-top: 28px;
  }
  @media (min-width: 900px) {
    .about-team__grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 24px;
      margin-top: 56px;
    }
  }
  .member {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 26px 22px;
    border-radius: 26px;
    border: 1px solid rgba(242, 232, 213, 0.12);
    background: rgba(12, 34, 33, 0.35);
  }
  .member__photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    padding: 4px;
    background: conic-gradient(#f0c878, rgba(242, 232, 213, 0.15), #f0c878);
  }
  .member__photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
  }
  .member__who {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .member__who h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 26px;
    line-height: 1.05;
  }
  .member__who .mono {
    font-size: 12px;
  }
  .member p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-soft);
  }
  .member__link {
    align-self: flex-start;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    border-bottom: 1px solid rgba(242, 232, 213, 0.4);
    padding-bottom: 3px;
  }
  .member__link:hover {
    border-bottom-color: var(--text);
  }
  @media (min-width: 900px) {
    .member {
      padding: 40px;
    }
    .member__photo {
      width: 132px;
      height: 132px;
    }
    .member__who h3 {
      font-size: 27px;
    }
    .member p {
      font-size: 16px;
    }
  }
  .about-contact .split {
    --text-w: 460px;
    --viz-w: 620px;
  }
  .about-contact .link-underline {
    align-self: flex-start;
  }

  /* ======================================================= CHILD PROTECTION (plain policy page) */
  .cp-hero {
    background: var(--bg);
  }
  .cp-hero .page-hero__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: calc(800px + 2 * var(--pad));
    margin-left: 0;
  }
  .cp-hero .page-hero__lead {
    max-width: 680px;
  }
  @media (min-width: 1100px) {
    .cp-hero .page-hero__inner {
      gap: 26px;
      padding-top: 56px;
      padding-bottom: 110px;
    }
  }
  .policy {
    background: var(--cream);
    color: var(--ink);
    padding: 12px 0 64px;
  }
  .policy__toc {
    display: none;
  }
  .policy__body {
    max-width: 720px;
  }
  .policy__section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 0;
    border-top: 1px solid var(--line-ink);
    scroll-margin-top: 24px;
  }
  .policy__section:first-child {
    border-top: 0;
  }
  .policy__section:last-child {
    padding-bottom: 0;
  }
  .policy h2 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 28px;
    line-height: 1.1;
  }
  .policy p,
  .policy li {
    font-size: clamp(16px, 0.095vw + 15.63px, 17px);
    line-height: 1.7;
    color: var(--ink-soft);
  }
  .policy strong {
    color: var(--ink);
    font-weight: 700;
  }
  .policy a {
    color: var(--ink);
    font-weight: 700;
    border-bottom: 1px solid var(--terra);
  }
  .policy ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .policy li {
    display: flex;
    gap: 14px;
    line-height: 1.6;
  }
  .policy li::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-top: 0.7em;
    border-radius: 50%;
    background: var(--terra);
    flex-shrink: 0;
  }
  @media (min-width: 1024px) {
    .policy {
      padding: 70px 0 120px;
    }
    .policy__grid {
      display: flex;
      gap: 96px;
      align-items: flex-start;
    }
    .policy__toc {
      display: flex;
      flex-direction: column;
      width: 280px;
      flex-shrink: 0;
      padding-top: 44px;
      position: sticky;
      top: 24px;
    }
    .policy__toc a {
      font-size: 15px;
      line-height: 1.4;
      color: var(--ink-soft);
      font-weight: 500;
      border: 0;
      padding: 9px 0 9px 16px;
      border-left: 2px solid rgba(12, 34, 33, 0.12);
    }
    .policy__toc a:hover,
    .policy__toc a.is-current {
      color: var(--ink);
      border-left-color: var(--terra);
    }
    .policy__toc a.is-current {
      font-weight: 700;
    }
    .policy__body {
      flex: 0 1 720px;
      min-width: 0;
    }
    .policy__section {
      gap: 18px;
      padding: 40px 0;
    }
    .policy h2 {
      font-size: 32px;
    }
  }

  /* One hero height for every inner page (Child Protection keeps its short document header) */
  @media (min-width: 1024px) {
    .page-hero:not(.cp-hero) {
      min-height: clamp(560px, 29vw + 262px, 680px);
      display: flex;
      flex-direction: column;
    }
    .page-hero:not(.cp-hero) > .page-hero__inner {
      flex: 1;
      padding-top: 24px;
      padding-bottom: 56px;
    }
  }

  /* =====================================================================================================
   3. PHONE LAYOUT
   Everything below applies to phones only (below 640px, a few things below 900px). Desktop is untouched.
   It lives in one place, page by page, so a phone tweak never has to be hunted for across the file.
   ===================================================================================================== */

  /* ---------- shared helpers ---------- */
  .phone-only {
    display: none;
  }
  .intro-cards {
    display: none;
  }
  @media (max-width: 639px) {
    .phone-only {
      display: block;
    }
    .hide-phone {
      display: none !important;
    }
  }
  @media (min-width: 640px) {
    .show-phone {
      display: none !important;
    }
  }

  /* ---------- shared: sections, type, motion (below 900px) ---------- */
  @media (max-width: 899px) {
    /* Sections layer like sheets as you scroll: each one slides over the last with rounded top corners. */
    main > section,
    .site-footer {
      position: relative;
      z-index: 0;
    }
    main > section + section,
    main + .site-footer {
      margin-top: -28px;
      border-radius: 28px 28px 0 0;
      overflow: hidden;
    }
    main > section + section {
      padding-top: calc(var(--section-y) + 4px);
    }

    /* Content rises in gently the first time it scrolls into view (js/redesign.js adds .rv / .is-in). */
    .js .rv {
      opacity: 0;
      transform: translateY(16px);
      transition:
        opacity 0.6s ease,
        transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
    }
    .js .rv.is-in {
      opacity: 1;
      transform: none;
    }

    /* About: team cards put the photo beside the name. */
    .member {
      display: grid;
      grid-template-columns: 72px minmax(0, 1fr);
      column-gap: 16px;
      row-gap: 14px;
      align-items: center;
    }
    .member__photo {
      width: 72px;
      height: 72px;
      padding: 3px;
    }
    .member p,
    .member__link {
      grid-column: 1 / -1;
    }
    .member__link {
      justify-self: start;
    }
  }
  @media (max-width: 899px) and (prefers-reduced-motion: reduce) {
    .js .rv {
      opacity: 1;
      transform: none;
      transition: none;
    }
  }

  @media (max-width: 639px) {
    .h2 {
      font-size: 30px;
    }
    .page-h1 {
      font-size: 40px;
    }
    .lead,
    .page-hero__lead {
      font-size: 16px;
    }
    .section {
      padding-top: 64px;
      padding-bottom: 64px;
    }

    /* small building blocks used by the phone visuals */
    .mono-label {
      font-family: var(--mono);
      font-size: 10.5px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--gold);
    }
    .mono-label--terra {
      color: var(--terra);
    }
    .mono-label--ink {
      color: var(--ink-soft);
    }
    .meter {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }
    .meter__top {
      display: flex;
      justify-content: space-between;
      font-size: 13px;
      font-weight: 600;
    }
    .meter__track {
      height: 5px;
      border-radius: 5px;
      background: rgba(242, 232, 213, 0.14);
      overflow: hidden;
    }
    .meter__track i {
      display: block;
      height: 100%;
      border-radius: 5px;
      background: linear-gradient(90deg, #f0c878, #ff9d4a);
    }

    /* stats strip (Schools, About): no empty band above it */
    main > section.stats-strip {
      padding-top: 0;
    }
    .stats-strip__inner {
      padding-top: 64px;
    }

    /* dashboards (Schools, Counselors): title, then the visual, then the points and the buttons */
    .sch-dash .split,
    .cou-dash .split {
      gap: 26px;
    }
    .sch-dash .split__text,
    .cou-dash .split__text {
      display: contents;
    }
    .sch-dash .split__text > .h2,
    .cou-dash .split__text > .h2 {
      order: 1;
    }
    .sch-dash .split__viz,
    .cou-dash .split__viz {
      order: 2;
    }
    .sch-dash .split__text > :not(.h2),
    .cou-dash .split__text > :not(.h2) {
      order: 3;
    }
  }

  /* ---------- Home ---------- */
  @media (max-width: 899px) {
    main > section.closing {
      padding-top: 0;
    }
    .closing__panel--school {
      padding-top: 64px;
      padding-bottom: 88px;
    }
    .closing__panel--app {
      margin-top: -28px;
      border-radius: 28px 28px 0 0;
    }

    /* "A guided journey": two tappable cards */
    .intro__grid {
      display: none;
    }
    .intro-cards {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-top: 28px;
    }
    .intro-card {
      display: flex;
      flex-direction: column;
      gap: 14px;
      padding: 22px 20px;
      border-radius: 22px;
      background: rgba(242, 232, 213, 0.05);
      border: 1px solid rgba(242, 232, 213, 0.12);
      color: var(--text);
      transition:
        transform 0.15s ease,
        background 0.2s;
    }
    .intro-card:active {
      transform: scale(0.985);
      background: rgba(242, 232, 213, 0.08);
    }
    .intro-card__top {
      display: flex;
      align-items: center;
      gap: 14px;
    }
    .intro-card__icon {
      width: 40px;
      display: flex;
    }
    .intro-card__icon svg {
      height: 36px;
      width: auto;
    }
    .intro-card__who {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 3px;
    }
    .intro-card__who .mono {
      color: var(--gold);
      font-size: 12px;
    }
    .intro-card__sub {
      font-size: 14px;
      font-weight: 600;
      color: rgba(242, 232, 213, 0.7);
    }
    .intro-card__go {
      width: 36px;
      height: 36px;
      flex-shrink: 0;
      border-radius: 50%;
      background: var(--gold);
      color: var(--ink);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      font-weight: 700;
    }
    .intro-card p {
      font-size: 16px;
      line-height: 1.55;
      color: var(--text-soft);
    }

    /* numbers side by side ("Fifteen years" stats and the survey) */
    .stats {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      border-bottom: 0;
      border-top: 1px solid var(--line-ink);
      margin-top: 6px;
    }
    .stat {
      border-top: 0;
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
      padding: 16px 12px 0 0;
    }
    .stat__body {
      display: contents;
    }
    .stat__num {
      font-size: 34px;
      width: auto;
    }
    .stat__label {
      font-size: 12.5px;
      line-height: 1.4;
    }
    .survey__rows {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      border-top: 1px solid rgba(12, 34, 33, 0.16);
    }
    .survey__row {
      border-top: 0;
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
      padding: 16px 12px 0 0;
    }
    .survey__num {
      font-size: 34px;
      width: auto;
    }
    .survey__label {
      font-size: 12.5px;
      line-height: 1.4;
    }
    .survey__note {
      border-top: 0;
      padding-top: 14px;
    }

    /* "Why counselors trust Laikan": 2 x 2 tiles */
    .trust__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }
    .trust__item {
      flex-direction: column;
      gap: 12px;
      padding: 18px 16px 20px;
      border: 1px solid rgba(242, 232, 213, 0.1);
      border-radius: 20px;
      background: rgba(242, 232, 213, 0.05);
    }
    .trust__item img {
      width: 40px;
      height: 40px;
    }
    .trust__item h3 {
      font-size: 21px;
      line-height: 1.05;
    }
    .trust__item p {
      font-size: 13.5px;
      line-height: 1.5;
      margin-top: 8px;
    }
    .partners {
      border-top: 0;
    }
  }
  @media (max-width: 639px) {
    main > section.proof {
      padding-top: 270px;
    } /* keeps the tree drawing clear of the text */
    .jstep__dot {
      width: 14px;
      height: 14px;
      justify-self: center;
      margin-top: 7px;
      box-shadow: 0 0 0 4px rgba(242, 232, 213, 0.07) !important;
    }
    .summary__cells .cell:not(.cell--values) {
      display: none;
    } /* close-up: Laura, her values, the talking point */
  }

  /* ---------- How it works ---------- */
  @media (max-width: 639px) {
    /* hero: Laura's card in the middle, six interests evenly spread on a ring; rings run off the screen edges */
    .hiw-hero .split__text {
      position: relative;
      z-index: 2;
    }
    .orbit {
      position: relative;
      height: 496px;
      margin: 6px calc(-1 * var(--pad)) 0;
    }
    .orbit__stage {
      position: absolute;
      left: 50%;
      top: 0;
      width: 390px;
      height: 496px;
      margin-left: -195px;
    }
    .orbit__rings {
      position: absolute;
      left: -300px;
      top: -300px;
      width: 990px;
      height: 1096px;
      max-width: none;
      overflow: visible;
      pointer-events: none;
    }
    .orbit__rings .r1 {
      fill: rgba(240, 200, 120, 0.03);
      stroke: rgba(240, 200, 120, 0.22);
    }
    .orbit__rings .r2 {
      fill: none;
      stroke: rgba(242, 232, 213, 0.24);
      stroke-dasharray: 2 6;
    }
    .orbit__rings .r3 {
      fill: none;
      stroke: rgba(242, 232, 213, 0.11);
    }
    .orbit__rings .r4 {
      fill: none;
      stroke: rgba(242, 232, 213, 0.08);
      stroke-dasharray: 2 8;
    }
    .orbit__rings .r5 {
      fill: none;
      stroke: rgba(242, 232, 213, 0.06);
    }
    .orbit__interest {
      position: absolute;
      z-index: 2;
      width: var(--s);
      height: var(--s);
      margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
    }
    .orbit__interest img {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid rgba(242, 232, 213, 0.3);
      box-shadow: 0 14px 26px -12px rgba(0, 0, 0, 0.7);
      display: block;
    }
    .orbit__interest--gold img {
      border-color: #f0c878;
      box-shadow:
        0 0 0 6px rgba(240, 200, 120, 0.15),
        0 14px 26px -12px rgba(0, 0, 0, 0.7);
    }
    .orbit__label {
      position: absolute;
      top: calc(100% - 10px);
      left: 50%;
      transform: translateX(-50%);
      white-space: nowrap;
      font-size: 12px;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 999px;
      background: #16403d;
      border: 1px solid rgba(242, 232, 213, 0.18);
    }
    .orbit__interest--l .orbit__label {
      left: calc(50% - 14px);
      transform: none;
    }
    .orbit__interest--r .orbit__label {
      left: auto;
      right: calc(50% - 14px);
      transform: none;
    }
    .orbit__interest--gold .orbit__label {
      top: auto;
      bottom: calc(100% - 8px);
      background: #f0c878;
      color: var(--ink);
      border-color: #f0c878;
      font-weight: 800;
    }
    .profile-card {
      position: absolute;
      z-index: 1;
      left: 195px;
      top: 250px;
      transform: translate(-50%, -50%);
      width: 200px;
      box-sizing: border-box;
      padding: 16px;
      border-radius: 20px;
      background: #16403d;
      border: 1px solid rgba(240, 200, 120, 0.35);
      box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.8);
      display: flex;
      flex-direction: column;
      gap: 11px;
    }
    .profile-card__head {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 2px;
    }
    .profile-card__head img {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      border: 2px solid #f0c878;
    }
    .profile-card .mono-label {
      letter-spacing: 0.06em;
      font-size: 10px;
      white-space: nowrap;
    }
    .profile-card__name {
      font-family: var(--serif);
      font-size: 24px;
      line-height: 1;
      margin-top: 3px;
    }

    /* "Build a profile by doing": the phone, with "your values" and "+25 points" tucked at its sides */
    .hiw-profile .split__viz {
      display: none;
    }
    .hiw-profile .split {
      gap: 0;
    }
    .phone-scene {
      position: relative;
      height: 420px;
      margin: 30px 0 36px;
    }
    .phone-mock {
      position: absolute;
      left: 50%;
      top: 0;
      width: 214px;
      height: 428px;
      margin-left: -107px;
      box-sizing: border-box;
      padding: 32px 13px 15px;
      border-radius: 36px;
      background: #0c2221;
      border: 6px solid #1d3b38;
      box-shadow: 0 40px 70px -30px rgba(12, 34, 33, 0.7);
      color: var(--text);
      display: flex;
      flex-direction: column;
      gap: 11px;
    }
    .phone-mock__notch {
      position: absolute;
      left: 50%;
      top: 10px;
      width: 70px;
      height: 16px;
      margin-left: -35px;
      border-radius: 10px;
      background: #000;
    }
    .phone-mock__top {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 700;
    }
    .phone-mock__top img {
      width: 24px;
      height: 24px;
      border-radius: 50%;
    }
    .phone-mock__top b {
      margin-left: auto;
      font-size: 11px;
      padding: 3px 8px;
      border-radius: 999px;
      border: 1px solid rgba(242, 232, 213, 0.25);
    }
    .phone-mock__img {
      height: 196px;
      border-radius: 14px;
      overflow: hidden;
      flex-shrink: 0;
    }
    .phone-mock__img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .phone-mock__question {
      font-family: var(--serif);
      font-size: 22px;
      line-height: 1.08;
    }
    .phone-mock__buttons {
      display: flex;
      gap: 6px;
    }
    .phone-mock__buttons span {
      flex: 1;
      text-align: center;
      font-size: 11.5px;
      font-weight: 700;
      padding: 9px 0;
      border-radius: 999px;
      background: rgba(242, 232, 213, 0.1);
    }
    .phone-mock__buttons .is-yes {
      background: var(--gold);
      color: var(--ink);
    }
    .phone-scene__card {
      position: absolute;
      z-index: 2;
      width: 124px;
      box-sizing: border-box;
      padding: 12px 13px;
      border-radius: 14px;
      background: #fffaf0;
      color: var(--ink);
      box-shadow:
        0 18px 34px -18px rgba(12, 34, 33, 0.45),
        0 0 0 1px rgba(12, 34, 33, 0.05);
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .phone-scene__card .meter__top {
      font-size: 12px;
    }
    .phone-scene__card .mono-label {
      font-size: 9.5px;
    }
    .phone-scene__card .meter__track {
      background: rgba(12, 34, 33, 0.1);
    }
    .phone-scene__card--values {
      left: -8px;
      top: 112px;
    }
    .phone-scene__card--points {
      right: -8px;
      top: 262px;
    }
    .phone-scene__points {
      font-family: var(--serif);
      font-size: 28px;
      line-height: 0.9;
    }
    .phone-scene__points span {
      color: var(--terra);
      font-size: 18px;
    }
    .phone-scene__note {
      font-size: 11.5px;
      line-height: 1.35;
      color: var(--ink-soft);
    }

    /* "580+ careers": icon beside each item; mentor: a smaller Gregory */
    .careers__item {
      display: grid;
      grid-template-columns: 26px minmax(0, 1fr);
      column-gap: 14px;
      row-gap: 4px;
    }
    .careers__icon {
      grid-row: span 2;
      margin-top: 2px;
    }
    .careers__item p {
      font-size: 15px;
    }
    .hiw-mentor .split__viz .fit.viz-p {
      max-width: 170px;
      margin: 0 auto;
    }

    /* "See Laikan in action": "Book a demo" and the note sit under the video */
    .hiw-video__after {
      flex-direction: column;
      align-items: stretch;
      gap: 12px;
      margin-top: 22px;
    }
    .hiw-video__after .btn {
      width: 100%;
    }
    .hiw-video__after .hiw-video__note {
      max-width: none;
      text-align: center;
    }
  }

  /* ---------- How it works: the Compass page ---------- */
  @media (max-width: 1023px) {
    /* step 2: heading and line, then Laura's card as the example, then the three promises */
    .hiw-c3-week .split {
      gap: 20px;
    }
    .hiw-c3-week .split__text {
      display: contents;
    }
    .hiw-c3-week .split__text > .h2 {
      order: 1;
    }
    .hiw-c3-week .split__text > .lead {
      order: 2;
    }
    .hiw-c3-week .split__viz {
      order: 3;
      margin-top: 8px;
    }
    .hiw-c3-week .c3-rows {
      order: 4;
      margin-top: 16px;
    }
  }
  @media (max-width: 899px) {
    .c3-dial-wrap,
    .c3-card {
      flex: none;
      width: 100%;
    }
  }
  /* the hero dial on phones runs edge to edge, with the step names in pills on the ring */
  .c3-dial-wrap--p {
    margin: 0 calc(var(--pad) * -1);
    width: calc(100% + var(--pad) * 2) !important;
  }
  @media (max-width: 639px) {
    .step-rule__t {
      font-size: 21px;
    }
    /* step 4: the profile card is smaller on phones */
    .pc-facts--phone .pc-fact {
      column-gap: 8px;
      padding: 8px 0;
    }
    .pc-facts--phone .pc-fact__k {
      letter-spacing: 0.1em;
    }
    .pc-facts--phone .pc-fact__v {
      font-size: 15.5px;
      text-align: right;
    }
  }

  /* ---------- Schools ---------- */
  @media (max-width: 639px) {
    /* hero: the dot constellation, larger and cropped by the right edge, right under the button; the "128 of 142" card rests on it */
    .sch-hero .split {
      gap: 0;
    }
    main > .sch-hero {
      padding-bottom: 72px;
    }
    .sch-hero .split__viz {
      margin: 0 calc(-1 * var(--pad));
      overflow: hidden;
    }
    .sch-hero__scene {
      margin-top: 0 !important;
    }
    .sch-hero__constellation {
      transform: translateX(34%) scale(1.32);
      transform-origin: 50% 50%;
      margin: 34px 0 0;
    }
    .sch-hero__stat {
      position: relative;
      z-index: 2;
      align-self: flex-start;
      width: 238px;
      margin: -120px 0 0 22px !important;
    }

    /* "Works with a counseling team, or without one": the two cards sit side by side and swipe */
    .sch-two__cards.viz-p {
      display: flex;
      gap: 12px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scrollbar-width: none;
      margin-left: calc(-1 * var(--pad));
      margin-right: calc(-1 * var(--pad));
      padding: 0 var(--pad) 4px;
      scroll-padding: 0 var(--pad);
    }
    .sch-two__cards.viz-p::-webkit-scrollbar {
      display: none;
    }
    .sch-two__cards.viz-p > .sch-two__card {
      flex: 0 0 82%;
      scroll-snap-align: start;
      box-sizing: border-box;
    }
    .sch-two__dots {
      display: flex;
      justify-content: center;
      gap: 6px;
      margin-top: 16px;
    }
    .sch-two__dots span {
      width: 6px;
      height: 6px;
      border-radius: 6px;
      background: rgba(242, 232, 213, 0.3);
      transition:
        width 0.2s,
        background 0.2s;
    }
    .sch-two__dots span.is-active {
      width: 18px;
      background: var(--text);
    }

    /* "Your school's own offering": the school's offering as tags, then Laura's card */
    .sch-offer .split {
      gap: 0;
    }
    .offer-tags {
      margin: 22px 0 14px;
    }
    .offer-tags__row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 10px;
    }
    .offer-tags__row span {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: 13px;
      font-weight: 600;
      padding: 7px 12px;
      border-radius: 999px;
      background: #fffaf0;
      border: 1px solid rgba(12, 34, 33, 0.1);
    }
    .offer-tags__row b {
      font-size: 11px;
      color: var(--terra);
    }
    .offer-tags__arrow {
      margin-top: 14px;
      font-size: 12.5px;
      font-weight: 600;
      color: var(--terra);
    }

    /* "Every student deserves attention": six dots a row */
    .attention-dots {
      margin: 8px 0 14px;
    }
    .attention-dots .attention-dots__svg {
      width: 100%;
      max-width: 220px;
      height: auto;
    }
  }

  /* ---------- Independent Counselors ---------- */
  @media (max-width: 639px) {
    /* hero: Laura's week and her card, at real size */
    .cou-hero .split {
      gap: 0;
    }
    .week-hero {
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin-top: 30px;
    }
    .week {
      padding: 18px 16px;
      border-radius: 20px;
      background: rgba(242, 232, 213, 0.05);
      border: 1px solid rgba(242, 232, 213, 0.12);
    }
    .week__head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 14px;
    }
    .week__legend {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 11.5px;
      color: rgba(242, 232, 213, 0.65);
    }
    .week__legend i {
      margin-left: 6px;
    }
    .week__days {
      display: grid;
      grid-template-columns: repeat(7, minmax(0, 1fr));
      gap: 6px;
    }
    .week__day {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      padding: 9px 0 10px;
      border-radius: 12px;
      background: rgba(242, 232, 213, 0.06);
    }
    .week__day span {
      font-size: 10.5px;
      color: rgba(242, 232, 213, 0.6);
    }
    .week__day b {
      font-size: 15px;
    }
    .week__day.is-session {
      background: #f0c878;
      color: var(--ink);
    }
    .week__day.is-session span {
      color: rgba(12, 34, 33, 0.7);
    }
    .week__marks {
      display: flex;
      gap: 3px;
      height: 7px;
    }
    .week__marks i,
    .week__legend i {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      display: inline-block;
    }
    .week__marks i.a,
    .week__legend i.a {
      background: #f0c878;
    }
    .week__marks i.r,
    .week__legend i.r {
      border: 1.5px solid #f0c878;
      box-sizing: border-box;
    }
    .session-card {
      padding: 18px 20px;
      border-radius: 20px;
      background: #fffaf0;
      color: var(--ink);
      box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.6);
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .session-card__who {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .session-card__who img {
      width: 36px;
      height: 36px;
      border-radius: 50%;
    }
    .session-card__who b {
      display: block;
      font-size: 13.5px;
    }
    .session-card__who span {
      font-size: 12px;
      color: #5a7a6a;
    }
    .session-card__line {
      font-family: var(--serif);
      font-size: 23px;
      line-height: 1.15;
    }
  }
}

/* Outside the layer on purpose: a host that wraps a page in its own skeleton (the claude.ai preview does) adds unlayered
   base styles (black 14px text on white, img max-width), which would beat everything in the layer. Hand those
   properties back to the site's own rules. On laikan.app itself these lines change nothing. */
body {
  margin: revert-layer;
  padding: revert-layer;
  font: revert-layer;
  background: revert-layer;
  color: revert-layer;
}
img {
  max-width: revert-layer;
}
