/* GENERATED by tools/redesign/build_us.py. Do not edit. */
/* US homepage (plural.courses/us/). First part: the India homepage styles, copied from /index.html so both
   homepages share one design. Second part: header, footer and lead form injected by us.js, plus US-only bits. */

  /* ═══════════════════════════════════════════════════
     PLURAL — Single clean CSS block. No conflicts.
  ═══════════════════════════════════════════════════ */

  /* ── Tokens ── */
  :root {
    --cream: #FFFBF5;
    --cream-2: #FFF4E8;
    --white: #FFFFFF;
    --dark: #0F0E17;
    --dark-2: #1A1826;
    --ink: #1C1B29;
    --muted: #6E6B82;
    --faint: #737087;
    --line: #EDE8DF;
    --line-2: #E2DBD0;

    --saffron: #FF6B35;
    --saffron-soft: #FFEDE4;
    --blue: #3D7FFF;
    --blue-soft: #E6EEFF;
    --green: #1FBF8F;
    --green-soft: #DEF7EF;
    --purple: #8B5CF6;
    --purple-soft: #EFE8FF;
    --yellow: #FFB72B;
    --yellow-soft: #FFF3D6;
    --pink: #FF5C8A;
    --pink-soft: #FFE4ED;

    --shadow-xs: 0 1px 4px rgba(28,27,41,.05);
    --shadow-sm: 0 2px 12px rgba(28,27,41,.07);
    --shadow:    0 8px 32px rgba(28,27,41,.09);
    --shadow-lg: 0 20px 60px rgba(28,27,41,.13);
    --shadow-xl: 0 32px 80px rgba(28,27,41,.18);
    --glow-sf:   0 6px 18px rgba(28,27,41,.14);
    --glow-pu:   0 12px 40px rgba(139,92,246,.22);

    --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 36px; --r-full: 100px;
    --spring: cubic-bezier(.34,1.56,.64,1);
    --out:    cubic-bezier(.16,1,.3,1);
  }

  /* ── Reset ── */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  /* The window is the scroller (html/body at height:100% + body overflow made <body> scroll instead,
     which silently broke every window scroll listener: sticky CTA, nav state, progress bar). */
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--cream); color: var(--ink);
    overflow-x: clip; -webkit-font-smoothing: antialiased;
  }

  /* ── Scroll progress ── */
  #scrollProgress {
    position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9999;
    background: linear-gradient(90deg, var(--saffron), var(--pink), var(--purple));
    transform-origin: left; transform: scaleX(0); pointer-events: none;
  }

  /* ── Full-viewport page units: at least one screen tall, but grow with content (fixed 100vh clipped
        pricing/testimonials/FAQ on 1280×720 and 1366×768 laptops) ── */
  header.hero,
  section[id],
  .final {
    min-height: 100vh;
    overflow: clip;
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    /* Shift centroid down by nav height so content sits visually centred below nav */
    padding-top: 68px;
    box-sizing: border-box;
  }
  /* Hero overrides padding-top with its own structure */
  header.hero { padding-top: 0; }

  /* ── Section content: max-width centered ── */
  .section {
    max-width: 1200px; width: 100%;
    padding: 52px 48px;
    display: flex; flex-direction: column;
    /* no flex:1 — let parent justify-content:center handle vertical placement */
  }
  .section-inner {
    max-width: 1200px; width: 100%;
    padding: 52px 48px;
    display: flex; flex-direction: column;
  }
  .section-head { max-width: 580px; margin-bottom: 36px; }
  .section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

  /* ── Typography — tighter scale for viewport fit ── */
  .h2 {
    font-family: 'Fredoka', sans-serif; font-weight: 600;
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    line-height: 1.06; letter-spacing: -.028em; margin-bottom: 12px;
  }
  .lead { font-size: .96rem; color: var(--muted); line-height: 1.7; }

  /* ── Eyebrow ── */
  .eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: .68rem; font-weight: 800; letter-spacing: .18em;
    text-transform: uppercase; color: var(--faint); margin-bottom: 18px;
  }
  .eyebrow::before {
    content: ''; display: inline-block; width: 28px; height: 2px;
    background: currentColor; border-radius: 2px; flex-shrink: 0;
  }
  .eyebrow.oc  { color: var(--saffron); }
  .eyebrow.bl  { color: var(--blue); }
  .eyebrow.gr  { color: var(--green); }
  .eyebrow.pu  { color: var(--purple); }
  .eyebrow-center { display: flex; justify-content: center; }
  .eyebrow-center::before { display: none; }

  /* ── Buttons ── */
  .btn {
    height: 52px; padding: 0 28px; border-radius: var(--r-full);
    font-size: .97rem; font-weight: 700; cursor: pointer;
    text-decoration: none; display: inline-flex; align-items: center;
    gap: 8px; border: none; font-family: inherit;
    transition: transform .28s var(--spring), box-shadow .28s; letter-spacing: -.01em;
    position: relative; overflow: hidden;
  }
  .btn:hover  { transform: translateY(-2px) scale(1.02); }
  .btn:active { transform: scale(.97); }
  .btn-primary { background: var(--saffron); color: var(--ink); box-shadow: var(--glow-sf); }
  .btn-primary:hover { box-shadow: 0 10px 28px rgba(28,27,41,.18); }
  .btn-dark  { background: var(--ink); color: #fff; box-shadow: var(--shadow); }
  .btn-ghost { background: var(--white); color: var(--ink); border: 1.5px solid var(--line-2); box-shadow: var(--shadow-xs); }
  .btn-ghost:hover { border-color: var(--ink); }
  .btn-sm { height: 42px; padding: 0 18px; font-size: .86rem; }
  .ripple-el {
    position: absolute; border-radius: 50%; background: rgba(255,255,255,.32);
    transform: scale(0); pointer-events: none;
    animation: rippleOut .65s ease-out forwards;
  }
  @keyframes rippleOut { to { transform: scale(4.5); opacity: 0; } }

  /* ── SCROLL REVEAL ── */
  .reveal { opacity:1; transform:none; }
  .js-ready .reveal { opacity:0; transform:translateY(24px); transition:opacity .65s var(--out),transform .65s var(--out); }
  .js-ready .reveal.in { opacity:1; transform:none; }
  .d1{transition-delay:.08s;} .d2{transition-delay:.16s;} .d3{transition-delay:.24s;}
  .d4{transition-delay:.32s;} .d5{transition-delay:.4s;}

  /* ── MODAL ── */
  .modal-overlay {
    position:fixed; inset:0; z-index:9500;
    background:rgba(28,27,41,.6); backdrop-filter:blur(8px);
    display:flex; align-items:center; justify-content:center; padding:24px;
    opacity:0; pointer-events:none; transition:opacity .3s;
  }
  .modal-overlay.open { opacity:1; pointer-events:auto; }
  .modal {
    background:var(--white); border-radius:24px; width:100%; max-width:480px;
    max-height:92vh; overflow-y:auto; box-shadow:var(--shadow-xl);
    transform:translateY(30px) scale(.97); transition:transform .4s var(--spring);
    position:relative;
  }
  .modal-overlay.open .modal { transform:none; }
  .modal-close {
    position:absolute; top:20px; right:20px; width:36px; height:36px;
    border-radius:50%; border:none; background:var(--cream-2); cursor:pointer;
    display:flex; align-items:center; justify-content:center; color:var(--muted);
    transition:background .2s, transform .25s;
  }
  .modal-close:hover { background:var(--line-2); transform:rotate(90deg); }
  .modal-progress { display:flex; gap:6px; margin-bottom:22px; }
  .mp-dot { height:5px; flex:1; border-radius:var(--r-full); background:var(--line-2); transition:background .3s; }
  .mp-dot.active { background:var(--saffron); }
  .modal-step-label{ font-size:.76rem; font-weight:800; text-transform:uppercase; letter-spacing:.06em; color:var(--saffron); margin-bottom:8px; }
  .modal-title { font-family:'Fredoka',sans-serif; font-weight:600; font-size:1.65rem; letter-spacing:-.01em; margin-bottom:6px; }
  .modal-desc  { font-size:.9rem; color:var(--muted); line-height:1.55; }
  .modal-head  { padding:28px 30px 0; }
  .modal-body  { padding:22px 30px 30px; }
  .step-panel  { display:none; }
  .step-panel.active { display:block; animation:panelIn .4s var(--out); }
  @keyframes panelIn { from{opacity:0;transform:translateX(14px);} to{opacity:1;transform:none;} }
  .modal-footer{ display:flex; gap:10px; margin-top:24px; }
  .modal-footer .btn { flex:1; justify-content:center; }

  /* ── Form fields ── */
  .field { margin-bottom:16px; }
  .field label { display:block; font-size:.82rem; font-weight:700; margin-bottom:7px; }
  .field input, .field select {
    width:100%; height:50px; padding:0 16px; border-radius:14px;
    border:2px solid var(--line-2); background:var(--cream);
    font-size:.92rem; font-family:inherit; color:var(--ink); outline:none;
    transition:border-color .2s, background .2s;
  }
  .field input:focus, .field select:focus { border-color:var(--saffron); background:var(--white); }
  .field input.error { border-color:var(--pink); }
  .field textarea {
    width:100%; min-height:88px; padding:12px 16px; border-radius:14px;
    border:2px solid var(--line-2); background:var(--cream);
    font-size:.92rem; font-family:inherit; color:var(--ink); outline:none;
    resize:vertical; transition:border-color .2s; box-sizing:border-box;
  }
  .field textarea:focus { border-color:var(--saffron); background:var(--white); }
  .field-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
  .prog-select  { display:flex; flex-direction:column; gap:10px; }
  .prog-opt {
    display:flex; align-items:center; gap:14px; padding:14px;
    border:2px solid var(--line-2); border-radius:16px; cursor:pointer;
    transition:border-color .2s, background .2s;
  }
  .prog-opt:hover { border-color:var(--faint); }
  .prog-opt.selected { border-color:var(--saffron); background:var(--saffron-soft); }
  .prog-opt-icon { width:42px; height:42px; border-radius:12px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
  .prog-opt-name { font-weight:700; font-size:.95rem; }
  .prog-opt-age  { font-size:.78rem; color:var(--muted); }
  .prog-opt-check{ margin-left:auto; width:22px; height:22px; border-radius:50%; border:2px solid var(--line-2); display:flex; align-items:center; justify-content:center; transition:all .2s; }
  .prog-opt.selected .prog-opt-check { background:var(--saffron); border-color:var(--saffron); }
  .batch-opt { padding:14px 16px; border:2px solid var(--line-2); border-radius:16px; cursor:pointer; margin-bottom:10px; transition:border-color .2s, background .2s; }
  .batch-opt:hover { border-color:var(--faint); }
  .batch-opt.selected { border-color:var(--saffron); background:var(--saffron-soft); }
  .batch-opt.disabled { opacity:.5; cursor:not-allowed; }
  .batch-opt-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
  .batch-opt-name { font-weight:700; font-size:.92rem; }
  .batch-opt-seats{ font-size:.76rem; font-weight:700; color:var(--saffron); }
  .progress-track { height:9px; background:var(--cream-2); border-radius:var(--r-full); overflow:hidden; }
  .progress-fill  { height:100%; border-radius:var(--r-full); transition:width .8s var(--out); }
  .progress-meta  { display:flex; justify-content:space-between; margin-top:8px; font-size:.78rem; font-weight:600; }
  .seats-left  { color:var(--saffron); }
  .seats-total { color:var(--faint); }

  /* ── Enquiry modal ── */
  .enquiry-overlay {
    position:fixed; inset:0; z-index:9500;
    background:rgba(28,27,41,.6); backdrop-filter:blur(8px);
    display:flex; align-items:center; justify-content:center; padding:24px;
    opacity:0; pointer-events:none; transition:opacity .3s;
  }
  .enquiry-overlay.open { opacity:1; pointer-events:auto; }
  .enquiry-overlay.open .modal { transform:none; }

  /* ── Success animation ── */
  .success-anim { width:88px; height:88px; border-radius:50%; background:var(--green-soft); display:flex; align-items:center; justify-content:center; margin:0 auto 22px; animation:popIn .5s var(--spring); }
  @keyframes popIn { from{transform:scale(0);} to{transform:scale(1);} }
  .success-check { stroke-dasharray:50; stroke-dashoffset:50; animation:draw .5s .2s var(--out) forwards; }
  @keyframes draw { to{stroke-dashoffset:0;} }
  .summary-box { background:var(--cream); border-radius:16px; padding:18px; margin:20px 0; }
  .summary-row { display:flex; justify-content:space-between; padding:7px 0; font-size:.88rem; }
  .summary-row .k { color:var(--muted); }
  .summary-row .v { font-weight:700; }

  /* ── Batch grid (in batches section / modal) ── */
  .bcard {
    background:var(--white); border-radius:var(--r-lg); padding:30px;
    box-shadow:var(--shadow-sm); border:1px solid var(--line);
    display:flex; flex-direction:column; position:relative; overflow:hidden;
    transition:transform .3s var(--spring), box-shadow .3s;
  }
  .bcard:hover { transform:translateY(-6px); box-shadow:var(--shadow); }
  .bcard-prog  { font-size:.74rem; font-weight:800; text-transform:uppercase; letter-spacing:.05em; margin-bottom:6px; }
  .bcard-flag  { position:absolute; top:18px; right:18px; font-size:.68rem; font-weight:800; letter-spacing:.05em; text-transform:uppercase; padding:5px 11px; border-radius:var(--r-full); }
  .flag-fast { background:var(--pink-soft); color:var(--pink); }
  .flag-open { background:var(--green-soft); color:var(--green); }
  .flag-full { background:#F0EAE0; color:var(--faint); }
  .bcard-meta { display:flex; flex-direction:column; gap:9px; margin-bottom:22px; }
  .bmeta-row  { display:flex; align-items:center; gap:10px; font-size:.86rem; color:var(--muted); }
  .bcard .btn { width:100%; justify-content:center; margin-top:auto; }
  .batch-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:22px; }
  .batch-empty{ text-align:center; padding:52px 28px; background:var(--white); border:2px dashed var(--line-2); border-radius:var(--r-lg); grid-column:1/-1; }
  .batch-empty-icon { font-size:2.4rem; margin-bottom:14px; }
  .batch-empty-title{ font-family:'Fredoka',sans-serif; font-weight:600; font-size:1.35rem; margin-bottom:8px; }
  .batch-empty-sub  { font-size:.9rem; color:var(--muted); line-height:1.65; max-width:380px; margin:0 auto 22px; }
  .batch-countdown  { font-size:.72rem; font-weight:800; padding:3px 9px; border-radius:var(--r-full); display:inline-block; margin-top:2px; }
  .countdown-soon   { background:#FFF7ED; color:#C2410C; }
  .countdown-normal { background:var(--cream-2); color:var(--muted); }

  /* ── Toast ── */
  .toast { position:fixed; bottom:24px; left:50%; transform:translateX(-50%) translateY(120px); background:var(--ink); color:var(--white); padding:14px 24px; border-radius:var(--r-full); font-size:.88rem; font-weight:600; z-index:600; box-shadow:var(--shadow-lg); display:flex; align-items:center; gap:10px; transition:transform .4s var(--spring); }
  .toast.show { transform:translateX(-50%) translateY(0); }

  /* ── Sticky CTA bar ── */
  .sticky-cta {
    position:fixed; top:68px; left:0; right:0; z-index:490;
    background:var(--ink); color:#fff; padding:0 20px; height:52px;
    display:flex; align-items:center; justify-content:center; gap:16px;
    transform:translateY(-100%); transition:transform .35s var(--spring);
    box-shadow:0 4px 20px rgba(0,0,0,.2);
  }
  .sticky-cta.visible { transform:translateY(0); }
  .sticky-cta-text    { font-size:.88rem; font-weight:600; color:rgba(255,255,255,.85); white-space:nowrap; }
  .sticky-cta-text b  { color:#fff; }
  .sticky-cta-btn { background:var(--saffron); color:var(--ink); border:none; cursor:pointer; padding:0 18px; height:36px; border-radius:10px; font-size:.84rem; font-weight:700; font-family:inherit; white-space:nowrap; transition:background .2s, transform .15s; flex-shrink:0; }
  .sticky-cta-btn:hover { background:#e55a25; transform:scale(1.03); }
  .sticky-cta-close   { position:absolute; right:6px; width:44px; height:44px; display:flex; align-items:center; justify-content:center; background:none; border:none; cursor:pointer; color:rgba(255,255,255,.55); font-size:1.3rem; line-height:1; padding:0; }
  @media(max-width:900px){
    .sticky-cta { top:auto; bottom:0; height:auto; min-height:60px; padding:8px 52px 8px 16px; padding-bottom:calc(8px + env(safe-area-inset-bottom)); transform:translateY(110%); box-shadow:0 -4px 20px rgba(0,0,0,.2); gap:12px; justify-content:space-between; }
    .sticky-cta .sc-extra { display:none; }
    .sticky-cta-text { white-space:normal; line-height:1.3; }
    body.sticky-on .wa-btn { bottom:calc(76px + env(safe-area-inset-bottom)); }
  }
  /* The hero already has a WhatsApp button; keep the floating one out of the way until the visitor scrolls */
  .wa-btn { transition:transform .3s var(--spring), box-shadow .3s, opacity .25s, bottom .3s; }
  body.hero-in-view .wa-btn { opacity:0; pointer-events:none; transform:scale(.6); }
  .sticky-cta-close:hover { color:rgba(255,255,255,.8); }

  /* ── WhatsApp button ── */
  .wa-btn {
    position:fixed; bottom:28px; right:28px; z-index:300;
    width:60px; height:60px; border-radius:50%;
    background:#25D366; color:#fff; border:none; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    box-shadow:0 8px 28px rgba(37,211,102,.50);
    transition:transform .3s var(--spring), box-shadow .3s;
  }
  .wa-btn:hover { transform:scale(1.14); box-shadow:0 12px 36px rgba(37,211,102,.60); }
  .wa-pulse { display:none; }

  /* ── Scroll nav dots ── */

  /* ── Button loading ── */
  .btn.loading { pointer-events:none; opacity:.75; position:relative; }
  .btn.loading::after { content:''; position:absolute; right:14px; top:50%; width:16px; height:16px; margin-top:-8px; border:2.5px solid rgba(255,255,255,.4); border-top-color:#fff; border-radius:50%; animation:spin .7s linear infinite; }

  /* ── Social proof toast ── */
  .sn-toast { position:fixed; bottom:28px; left:24px; z-index:480; background:var(--white); border-radius:14px; padding:12px 14px 12px 12px; box-shadow:0 4px 28px rgba(28,27,41,.15),0 0 0 1px rgba(28,27,41,.05); display:flex; align-items:center; gap:11px; max-width:300px; transform:translateY(20px) scale(.96); opacity:0; transition:all .45s cubic-bezier(.34,1.56,.64,1); pointer-events:none; }
  .sn-toast.sn-show { transform:translateY(0) scale(1); opacity:1; pointer-events:auto; }
  .sn-avatar { width:36px; height:36px; border-radius:50%; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-family:'Fredoka',sans-serif; font-weight:700; font-size:.95rem; color:#fff; background:var(--saffron); }
  .sn-body   { flex:1; min-width:0; }
  .sn-name   { font-size:.84rem; font-weight:700; color:var(--ink); line-height:1.3; }
  .sn-action { font-size:.76rem; color:var(--muted); line-height:1.4; }
  .sn-time   { font-size:.7rem; color:var(--faint); margin-top:1px; }

  /* ── Exit intent ── */
  .exit-overlay { position:fixed; inset:0; z-index:600; background:rgba(28,27,41,.7); backdrop-filter:blur(8px); display:flex; align-items:center; justify-content:center; padding:24px; opacity:0; pointer-events:none; transition:opacity .3s; }
  .exit-overlay.open { opacity:1; pointer-events:auto; }
  .exit-box { background:var(--white); border-radius:var(--r-xl); max-width:440px; width:100%; padding:48px 40px; text-align:center; position:relative; box-shadow:var(--shadow-xl); transform:scale(.92); transition:transform .4s var(--spring); }
  .exit-overlay.open .exit-box { transform:scale(1); }
  .exit-close { position:absolute; top:16px; right:16px; width:32px; height:32px; border-radius:50%; border:none; background:var(--cream-2); cursor:pointer; display:flex; align-items:center; justify-content:center; color:var(--muted); }
  .exit-emoji { font-size:3rem; margin-bottom:16px; }
  .exit-title { font-family:'Fredoka',sans-serif; font-weight:600; font-size:1.7rem; letter-spacing:-.01em; margin-bottom:10px; }
  .exit-sub   { font-size:.9rem; color:var(--muted); line-height:1.65; margin-bottom:28px; }
  .exit-field { display:flex; gap:10px; }
  .exit-field input { flex:1; height:48px; padding:0 16px; border-radius:14px; border:2px solid var(--line-2); background:var(--cream); font-size:.9rem; font-family:inherit; outline:none; }
  .exit-field input:focus { border-color:var(--saffron); }
  .exit-skip  { margin-top:14px; font-size:.8rem; color:var(--faint); cursor:pointer; }
  .exit-skip:hover { color:var(--muted); }

  /* ── Confetti ── */
  @keyframes confettiFall { 0%{opacity:1;transform:translateY(-10px) rotate(0deg);} 80%{opacity:.9;} 100%{opacity:0;transform:translateY(96vh) translateX(var(--cdrift,60px)) rotate(800deg);} }

  /* ── Shared keyframes ── */
  @keyframes spin  { to{transform:rotate(360deg);} }
  @keyframes blink { 0%,100%{opacity:1;} 50%{opacity:.3;} }

  /* ── Leaf image in crop card ── */
  .kp-leaf-img { width:100%; height:100%; object-fit:cover; border-radius:inherit; display:block; }
  .kp-leaf-fallback { display:none; font-size:1.4rem; align-items:center; justify-content:center; width:100%; height:100%; }

  /* ═══ RESPONSIVE ═══ */
  @media(max-width:1024px) {
  }
  @media(max-width:980px) {
    .section { padding:60px 28px; }
    .section-inner { padding:60px 28px; }
    .section-head { margin-bottom:28px; }
    .prog-grid { grid-template-columns:1fr 1fr; }
    .kb-carousel .kb-card { min-width:calc(50% - 10px); }
    .testi-grid { grid-template-columns:1fr; }
    .tq-right-col { display:contents; }
    .tq-cell { padding:20px 22px; }
    .tq-mini { padding:16px 20px; }
  }
  @media(max-width:880px) {
    .hero { min-height:auto; }
    .hero-inner { grid-template-columns:minmax(0,1fr); gap:36px; padding:112px 24px 48px; }
    .hero-text { min-width:0; }
    .hero-sub { max-width:100%; }
    .hero-visual { display:none; }
    .hd-pill { font-size:clamp(1.7rem,6.5vw,2.8rem); padding:9px 22px 11px; }
    .hd-circ { width:54px; height:54px; border-radius:15px; }
  }
  @media(max-width:780px) {
    .prog-grid {
      display:flex !important; overflow-x:auto !important;
      scroll-snap-type:x mandatory !important; -webkit-overflow-scrolling:touch !important;
      scrollbar-width:none !important; padding:4px 20px 16px !important;
      margin:0 -20px !important; gap:12px !important;
    }
    .prog-grid::-webkit-scrollbar { display:none; }
    .prog-card { min-width:82vw !important; scroll-snap-align:start !important; flex-shrink:0 !important; }
    .swipe-dots { display:flex; }
    .how-steps { grid-template-columns:1fr; }
    .how-arrow { display:none; }
    .how-step  { padding:36px 28px; border-bottom:1px solid var(--line); }
    .how-step:last-child { border-bottom:none; }
    .pgn-grid { grid-template-columns:1fr; }
    .kb-carousel .kb-card { min-width:82vw; }
  }
  @media(max-width:600px) {
    section[id], header.hero, .final { height:auto !important; min-height:0; overflow:clip !important; padding-top:0 !important; }
    .section { padding:52px 20px; }
    .section-inner { padding:52px 20px; }
    .section-head { margin-bottom:28px; }
    .prog-card  { padding:22px 20px 20px !important; }
    .prog-name  { font-size:1.7rem !important; }
    .final-box  { padding:0 24px; }
    .final-btn  { width:100%; justify-content:center; }
    .hero-actions { width:100%; }
    .btn-hero-primary, .btn-hero-wa { flex:1 1 100%; justify-content:center; }
    .final-trust{ flex-wrap:wrap; gap:8px; font-size:.76rem; }
    .faq-q      { font-size:.9rem; padding:14px 0; }
    .modal      { border-radius:24px 24px 0 0; transform:translateY(100%); max-height:95vh; }
    .modal-overlay { align-items:flex-end; padding:0; }
    .modal-overlay.open .modal { transform:none; }
    .modal-head { padding:12px 22px 0; }
    .modal-body { padding:18px 22px 28px; }
    .enquiry-overlay { align-items:flex-end; padding:0; }
    .enquiry-overlay .modal { border-radius:24px 24px 0 0; transform:translateY(100%); }
    .enquiry-overlay.open .modal { transform:none; }
    .field-row  { grid-template-columns:1fr; }
    .wa-btn     { bottom:18px; right:18px; width:54px; height:54px; }
    .sticky-cta-text { font-size:.8rem; }
    .sticky-cta-btn  { padding:0 16px; font-size:.86rem; height:44px; border-radius:10px; }
    .sn-toast { bottom:70px; left:12px; right:12px; max-width:none; }
    .exit-box   { padding:36px 24px; }
    .exit-title { font-size:1.4rem; }
    .exit-field { flex-direction:column; }
    .exit-field input, .exit-field .btn { width:100%; height:48px; }
    .tq-cell    { padding:24px 20px; }
    .tq-mini    { padding:20px; }
    .testi-grid { border-radius:16px; }
    .tq-right-col { display:contents; }
    .how-step-num { font-size:2.4rem; }
    .hero-inner { padding:96px 18px 40px; }
    .hd-pill    { font-size:clamp(1.5rem,7.5vw,2.1rem); padding:7px 16px 9px; }
    .hd-circ    { width:44px; height:44px; border-radius:11px; }
  }

  /* ── Signup form (single screen) ── */
  fieldset.field { border:0; padding:0; min-width:0; }
  .field-legend { display:block; font-size:.82rem; font-weight:700; margin-bottom:9px; padding:0; }
  .optional { font-weight:500; color:var(--muted); }
  .age-grid { display:grid; grid-template-columns:repeat(6, 1fr); gap:8px; }
  .age-grid input { position:absolute; opacity:0; width:1px; height:1px; pointer-events:none; }
  .age-grid label { display:flex; align-items:center; justify-content:center; height:44px; margin:0; border-radius:12px;
    border:1.5px solid var(--line-2); background:var(--cream); font-weight:700; font-size:.95rem; cursor:pointer;
    font-variant-numeric:tabular-nums; transition:background .15s, border-color .15s, color .15s; }
  .age-grid label:hover { border-color:var(--ink); }
  .age-grid input:checked + label { background:var(--ink); border-color:var(--ink); color:#fff; }
  .age-grid input:focus-visible + label { outline:3px solid var(--saffron); outline-offset:2px; }
  .track-line { margin-top:10px; font-size:.86rem; color:var(--muted); line-height:1.5; }
  .track-line b { color:var(--ink); }
  .field-err { display:none; margin-top:6px; font-size:.8rem; font-weight:600; color:#B42318; }
  .field-err.show { display:block; }
  .field input[aria-invalid="true"] { border-color:#B42318; background:#FFF6F5; }
  .phone-wrap { display:flex; }
  .phone-wrap span { display:flex; align-items:center; padding:0 12px; border:1.5px solid var(--line-2); border-right:0;
    border-radius:12px 0 0 12px; background:var(--cream-2); font-weight:700; font-size:.92rem; color:var(--muted); }
  .phone-wrap input { flex:1; min-width:0; border-radius:0 12px 12px 0 !important; }
  #modalBatchList input { position:absolute; opacity:0; width:1px; height:1px; pointer-events:none; }
  #modalBatchList .batch-opt { display:block; }
  #modalBatchList input:checked + .batch-opt { border-color:var(--ink); background:var(--cream-2); }
  #modalBatchList input:disabled + .batch-opt { opacity:.5; cursor:not-allowed; }
  #modalBatchList input:focus-visible + .batch-opt { outline:3px solid var(--saffron); outline-offset:2px; }
  .batch-opt-meta { display:block; font-size:.8rem; color:var(--muted); margin-top:3px; }
  .signup-submit { width:100%; justify-content:center; margin-top:6px; }
  .modal-reassure { display:flex; align-items:center; justify-content:center; gap:6px; }
  .form-error { display:none; margin-top:12px; padding:10px 12px; border-radius:12px; background:#FFF6F5; border:1px solid #F4C7C3; color:#B42318; font-size:.84rem; line-height:1.5; }
  .form-error.show { display:block; }
  .form-error a { color:inherit; font-weight:700; }
  .next-steps { margin:20px 0 4px; padding:16px 18px 16px 36px; background:var(--cream); border-radius:16px; font-size:.9rem; line-height:1.55; color:var(--ink-2, var(--ink)); }
  .next-steps li + li { margin-top:8px; }
  .btn-wa { width:100%; justify-content:center; background:#177A42; color:#fff; text-decoration:none; }
  .btn-wa:hover { background:#126636; }
  #signupDone:focus, #signupDone:focus-visible { outline:none !important; }
  #signupDone .modal-footer .btn { flex:none; height:52px; width:100%; }
  @media (max-width:380px) { .age-grid { grid-template-columns:repeat(4, 1fr); } }

  /* ── Distill pass (Impeccable critique 2026-09-29) ── */
  .hero-proof { list-style:none; display:flex; flex-wrap:wrap; gap:10px 22px; margin-top:22px; padding:0; font-size:.88rem; color:var(--muted); }
  .hero-proof li { display:flex; align-items:center; gap:7px; }
  .hero-proof b { color:var(--ink); }
  .hero-proof svg { flex-shrink:0; color:#0F7A56; }
  .jr-caption { color:var(--muted); }
  .kp-leaf-svg { width:100%; height:100%; display:block; }
  /* accessible colour on light tints */
  .prog-builds-label { opacity:1; color:var(--muted); }
  .how-step-num { color:#B8430F; }
  .kb-prog-name { font-size:.78rem; letter-spacing:0; text-transform:none; font-weight:700; }
  .pgn-badge { background:var(--ink); color:#fff; letter-spacing:0; text-transform:none; font-size:.78rem; }
  /* one CTA recipe: ink on saffron passes contrast (white on saffron was 2.8:1) */
  .final-btn:hover, .sticky-cta-btn:hover { background:#FF8350; }
  .pgn-btn.pgn-btn-main { background:var(--ink); color:#fff; border-color:var(--ink); }
  .pgn-btn.pgn-btn-alt { background:var(--white); color:var(--ink); border:1.5px solid var(--ink); box-shadow:none; }
  .pgn-btn.pgn-btn-alt:hover { background:var(--cream); }
  .pgn-guarantee { display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap; max-width:680px; margin:0 auto; line-height:1.55; }
  .pgn-guarantee svg { color:#0F7A56; flex-shrink:0; }
  /* testimonials: no empty voids */
  .tq-featured { justify-content:flex-start; gap:18px; }
  .tq-featured .tq-quote { font-size:1.18rem; line-height:1.6; }
  .tq-cell-dark { padding:26px 34px; }
  /* "How it works": a simple numbered row, not three boxed cards */
  .how-step { background:transparent; padding:0 8px 0 0; border-radius:0; }
  .how-steps { gap:40px; }
  /* project-card animations pause off screen */
  .kb-card:not(.in-view) *, .kb-card:not(.in-view) *::before, .kb-card:not(.in-view) *::after { animation-play-state:paused !important; }
  .kb-card .kb-name, .kb-card p { overflow-wrap:anywhere; }
  /* mobile: WhatsApp lives inside the bottom bar; header CTA steps aside while the bar shows */
  .sticky-wa { display:none; }
  @media (max-width:900px) {
    .sticky-wa { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:12px; background:rgba(255,255,255,.14); color:#fff; flex-shrink:0; border:none; cursor:pointer; }
    .sticky-cta-text { flex:1; }
    body.sticky-on .wa-btn { display:none; }
    body.sticky-on #pnav .pn-cta { visibility:hidden; }
  }
  body.cta-quiet .sticky-cta { transform:translateY(110%) !important; }
  @media (min-width:901px) { body.cta-quiet .sticky-cta { transform:translate(-50%, 180%) !important; } }
  @media (max-width:600px) { .how-steps { gap:28px; } }

  /* ── Re-critique fixes ── */
  @media (max-width:600px) { .modal { max-height:calc(100dvh - 12px); overflow-y:auto; overscroll-behavior:contain; } }
  .modal { overscroll-behavior:contain; }
  .final-fact { margin-top:18px; font-size:.9rem; font-weight:600; color:rgba(255,255,255,.72); }
  .pgn-badge { width:auto; align-self:flex-start; }
  /* desktop: the nav's own sticky "Reserve a seat" is enough, so no second floating CTA */
  @media (min-width:901px) { .sticky-cta { display:none !important; } }
  /* carousel fades out at the edge instead of cutting a card mid-word */
  @media (min-width:781px) { .kb-carousel { -webkit-mask-image:linear-gradient(90deg,#000 88%,transparent); mask-image:linear-gradient(90deg,#000 88%,transparent); } }
  /* desktop: the sticky CTA floats as a pill at the bottom instead of a full-width bar under the nav */
  @media (min-width:901px) {
    .sticky-cta { top:auto; bottom:28px; left:50%; right:auto; height:auto; width:auto; padding:8px 8px 8px 24px;
      border-radius:999px; gap:18px; transform:translate(-50%, 180%);
      box-shadow:0 24px 60px -12px rgba(28,27,41,.5), 0 2px 6px rgba(28,27,41,.2); }
    .sticky-cta.visible { transform:translate(-50%, 0); }
    .sticky-cta-btn { height:44px; border-radius:999px; padding:0 22px; }
    .sticky-cta-close { position:static; width:40px; height:40px; }
  }

  @media (max-width:980px) {
    .section, .section-inner, #programs .section-inner { padding:88px 28px; }
    .faq-layout { grid-template-columns:1fr; gap:32px; }
    .faq-layout .section-head { position:static; }
    .how-steps { grid-template-columns:1fr; }
    .final { padding:0 28px 88px; }
  }
  @media (max-width:780px) {
    /* carousel cards need a definite width or their text never wraps (was clipping) */
    .prog-card { width:82vw !important; max-width:360px; }
    .kb-carousel .kb-card { width:82vw; max-width:360px; min-width:0; }
  }
  @media (max-width:600px) {
    .section, .section-inner, #programs .section-inner { padding:64px 20px; }
    .section-head { margin-bottom:32px; }
    .h2 { font-size:clamp(1.9rem,8vw,2.4rem); }
    .final { padding:0 16px 64px; }
    .final-box { padding:56px 24px; border-radius:24px; }
    .how-step { padding:26px 24px; }
    .tq-cell { padding:24px 22px; }
  }

  /* ═══ Project previews v2 (2026-11-10): each one is a small, legible app screen ═══ */
  .kb-preview.pd { height:188px; padding:14px 16px; gap:0; background:#12111C; color:#fff; font-size:12px; line-height:1.4; }
  .pd-label { font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; margin-bottom:10px; flex-shrink:0; }

  /* story bot */
  .kb-preview.pd-story { flex-direction:row; padding:0; }
  .pd-scene { width:40%; height:100%; flex-shrink:0; display:block; }
  .pd-star { animation:pdTwinkle 3s ease-in-out infinite; }
  @keyframes pdTwinkle { 0%,100% { opacity:.9; } 50% { opacity:.25; } }
  .pd-bob { animation:pdBob 3s ease-in-out infinite; }
  @keyframes pdBob { 0%,100% { transform:none; } 50% { transform:translateY(-2px); } }
  .pd-page { flex:1; min-width:0; padding:14px 14px 13px; display:flex; flex-direction:column; background:#17132B; }
  .pd-page .pd-label { color:#B79CFF; }
  .pd-lines { margin:0; }
  .pd-line { display:block; width:max-content; max-width:100%; font-size:12px; line-height:1.7; color:rgba(255,255,255,.92); white-space:nowrap;
    animation-duration:10s; animation-timing-function:steps(20,end); animation-iteration-count:infinite; }
  @keyframes pdT1 { 0%,3% { clip-path:inset(0 100% 0 0); } 12%,93% { clip-path:inset(0 0 0 0); } 97%,100% { clip-path:inset(0 100% 0 0); } }
  .pd-l1 { animation-name:pdT1; }
  @keyframes pdT2 { 0%,13% { clip-path:inset(0 100% 0 0); } 22%,93% { clip-path:inset(0 0 0 0); } 97%,100% { clip-path:inset(0 100% 0 0); } }
  .pd-l2 { animation-name:pdT2; }
  @keyframes pdT3 { 0%,23% { clip-path:inset(0 100% 0 0); } 32%,93% { clip-path:inset(0 0 0 0); } 97%,100% { clip-path:inset(0 100% 0 0); } }
  .pd-l3 { animation-name:pdT3; }
  @keyframes pdT4 { 0%,33% { clip-path:inset(0 100% 0 0); } 42%,93% { clip-path:inset(0 0 0 0); } 97%,100% { clip-path:inset(0 100% 0 0); } }
  .pd-l4 { animation-name:pdT4; }
  @keyframes pdT5 { 0%,43% { clip-path:inset(0 100% 0 0); } 52%,93% { clip-path:inset(0 0 0 0); } 97%,100% { clip-path:inset(0 100% 0 0); } }
  .pd-l5 { animation-name:pdT5; }
  .pd-dots { margin-top:auto; display:flex; gap:5px; }
  .pd-dots i { width:6px; height:6px; border-radius:3px; background:rgba(255,255,255,.22); }
  .pd-dots i.on { width:16px; background:#B79CFF; }

  /* snake */
  .kb-preview.pd-snake { align-items:center; justify-content:center; gap:10px; background:#0E1420; }
  .pd-score { display:flex; align-items:baseline; gap:8px; font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.62); }
  .pd-score b { font:600 16px/1 'Fredoka',sans-serif; letter-spacing:0; color:#5EE05E; font-variant-numeric:tabular-nums; }
  .kp-snake-grid { display:grid; grid-template-columns:repeat(12,13px); grid-template-rows:repeat(8,13px); gap:2px; padding:8px; border-radius:12px;
    background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.09); }
  .kp-snake-grid span { border-radius:3px; background:rgba(255,255,255,.045); }
  .kp-snake-grid .ks-body { background:#2E9E3E; }
  .kp-snake-grid .ks-head { background:#5EE05E; }
  .kp-snake-grid .ks-food { background:#FF6B35; border-radius:50%; }

  /* crop scanner */
  .pd-crop .pd-label { color:#FF9B73; }
  .pd-crop-row { display:flex; gap:14px; flex:1; min-height:0; }
  .pd-leaf { width:104px; flex-shrink:0; border-radius:14px; background:#11261C; border:1px solid rgba(74,222,128,.28); position:relative; overflow:hidden; display:grid; place-items:center; }
  .pd-leaf svg { width:74px; height:74px; }
  .pd-scan { position:absolute; left:0; right:0; top:0; height:22px; background:linear-gradient(to bottom, rgba(74,222,128,0), rgba(74,222,128,.32)); border-bottom:2px solid #4ADE80;
    animation:pdScan 2.4s cubic-bezier(.45,0,.55,1) infinite alternate; }
  @keyframes pdScan { from { transform:translateY(-22px); } to { transform:translateY(128px); } }
  .pd-diag { flex:1; min-width:0; display:flex; flex-direction:column; justify-content:center; gap:7px; }
  .pd-diag small { font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,.62); }
  .pd-diag strong { font:600 18px/1.1 'Fredoka',sans-serif; color:#fff; }
  .pd-bar { display:grid; grid-template-columns:1fr auto; gap:8px; align-items:center; font-size:12px; font-weight:700; color:#4ADE80; font-variant-numeric:tabular-nums; }
  .pd-bar i { display:block; height:6px; border-radius:3px; background:rgba(255,255,255,.12); overflow:hidden; }
  .pd-bar i::after { content:''; display:block; height:100%; width:94%; border-radius:3px; background:#4ADE80; transform-origin:left; animation:pdGrow 5s cubic-bezier(.16,1,.3,1) infinite; }
  @keyframes pdGrow { 0% { transform:scaleX(0); } 30%,100% { transform:scaleX(1); } }
  .pd-rx { display:flex; align-items:center; gap:6px; font-size:12px; color:#86EFAC; }

  /* weather */
  .kb-preview.pd-weather { background:linear-gradient(160deg,#102251,#1C3C80); }
  .pd-weather .pd-label { color:#A9C6FF; }
  .pd-cities { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; flex:1; min-height:0; }
  .pd-city { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px; padding:8px 4px; border-radius:14px; text-align:center;
    background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.1); animation:pdCity 6s cubic-bezier(.16,1,.3,1) infinite; animation-delay:var(--d); }
  @keyframes pdCity { 0%,34%,100% { background:rgba(255,255,255,.08); transform:none; } 8%,26% { background:rgba(255,255,255,.2); transform:translateY(-3px); } }
  .pd-city b { font:600 22px/1.15 'Fredoka',sans-serif; color:#fff; font-variant-numeric:tabular-nums; }
  .pd-city span { font-size:11px; font-weight:700; color:rgba(255,255,255,.9); }
  .pd-city small { font-size:11px; color:rgba(255,255,255,.7); }

  /* chat bot */
  .kb-preview.pd-chat { padding:0; background:#0F1A16; }
  .pd-chat-head { display:flex; align-items:center; gap:8px; padding:9px 14px; background:#16261F; border-bottom:1px solid rgba(255,255,255,.07); font-size:12px; font-weight:700; flex-shrink:0; }
  .pd-chat-head small { margin-left:auto; font-size:11px; font-weight:600; color:#86EFAC; }
  .pd-avatar { width:22px; height:22px; border-radius:50%; background:#25D366; color:#0F1A16; display:grid; place-items:center; flex-shrink:0; }
  .pd-msgs { flex:1; min-height:0; display:flex; flex-direction:column; justify-content:flex-end; gap:5px; padding:10px 12px 12px; }
  .pd-msg { max-width:86%; padding:6px 10px; border-radius:12px; font-size:11.5px; line-height:1.4; }
  .pd-msg.u { align-self:flex-end; background:#1F5C45; color:#fff; border-bottom-right-radius:4px; }
  .pd-msg.b { align-self:flex-start; background:rgba(255,255,255,.1); color:rgba(255,255,255,.94); border-bottom-left-radius:4px; }
  @keyframes pdM1 { 0%,2% { opacity:0; transform:translateY(6px); } 6%,92% { opacity:1; transform:none; } 97%,100% { opacity:0; transform:none; } }
  .pd-m1 { animation:pdM1 10s cubic-bezier(.16,1,.3,1) infinite; }
  @keyframes pdM2 { 0%,20% { opacity:0; transform:translateY(6px); } 24%,92% { opacity:1; transform:none; } 97%,100% { opacity:0; transform:none; } }
  .pd-m2 { animation:pdM2 10s cubic-bezier(.16,1,.3,1) infinite; }
  @keyframes pdM3 { 0%,44% { opacity:0; transform:translateY(6px); } 48%,92% { opacity:1; transform:none; } 97%,100% { opacity:0; transform:none; } }
  .pd-m3 { animation:pdM3 10s cubic-bezier(.16,1,.3,1) infinite; }

  /* flood risk */
  .pd-flood-head { display:flex; align-items:flex-start; justify-content:space-between; gap:8px; }
  .pd-flood .pd-label { color:#C4B0FF; }
  .pd-alert { font-size:11px; font-weight:700; padding:2px 8px; border-radius:999px; background:rgba(255,92,138,.18); color:#FF9DB8; white-space:nowrap; }
  .pd-map { display:grid; grid-template-columns:repeat(5,1fr); gap:4px; flex:1; min-height:0; }
  .pd-map i, .pd-key i { display:block; border-radius:5px; }
  .pd-flood .safe { background:#238C6E; }
  .pd-flood .mid { background:#C98A1E; }
  .pd-flood .hi { background:#FF5C8A; }
  .pd-map .hi { animation:pdRisk 1.8s ease-in-out infinite; }
  @keyframes pdRisk { 0%,100% { opacity:1; } 50% { opacity:.5; } }
  .pd-key { display:flex; gap:14px; margin-top:10px; font-size:11px; font-weight:600; color:rgba(255,255,255,.8); flex-shrink:0; }
  .pd-key span { display:inline-flex; align-items:center; gap:6px; }
  .pd-key i { width:9px; height:9px; border-radius:3px; }

  @media (prefers-reduced-motion:reduce) {
    .kb-preview.pd *, .kb-preview.pd *::after { animation:none !important; }
  }
/* ═══════════ US chrome: header, footer and lead form injected by us.js ═══════════ */
[hidden] { display: none !important; }
#usnav, #usfoot, .leadbox, .skip {
  --cream: #FFFBF5; --cream-2: #FFF4E8; --white: #fff; --ink: #1C1B29; --muted: #5F5C73;
  --line: #EDE8DF; --line-2: #E2DBD0; --saffron: #FF6B35; --saffron-dark: #B8430F; --danger: #B3261E;
  --head: 'Fredoka', 'Trebuchet MS', sans-serif; --body: 'Inter', system-ui, sans-serif;
}
html { scroll-padding-top: 84px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 9999; }
.skip:focus { left: 12px; }

/* header */
#usnav { position: fixed; inset: 0 0 auto 0; z-index: 900; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 28px; background: rgba(255,251,245,.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
#usnav .logo { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font: 600 1.4rem var(--head); color: var(--ink); text-decoration: none; }
#usnav nav { display: flex; align-items: center; gap: 4px; }
#usnav nav a { padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: .92rem; color: var(--ink); text-decoration: none; }
#usnav nav a:not(.btn):hover { background: var(--cream-2); }
#usnav .btn, .leadbox .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; height: auto; padding: 0 26px; border: 0; border-radius: 999px; background: var(--saffron); color: var(--ink); font: 600 1.05rem var(--head); text-decoration: none; cursor: pointer; box-shadow: 0 6px 18px rgba(255,107,53,.28); transition: transform .12s, box-shadow .12s, background .15s; }
#usnav .btn:hover, .leadbox .btn:hover { background: #FF7E4D; transform: translateY(-1px); }
#usnav .btn { min-height: 44px; padding: 0 18px; font-size: .95rem; }
@media (max-width: 860px) { #usnav { padding: 0 16px; } #usnav nav a:not(.btn) { display: none; } }
@media (max-width: 480px) { #usnav .btn { padding: 0 14px; font-size: .88rem; box-shadow: none; } }
@media (max-width: 900px) { body.sticky-on #usnav .btn { visibility: hidden; } }

/* lead form (shown inside the modal) */
.leadbox h2 { font: 600 1.6rem/1.15 var(--head); letter-spacing: -.01em; color: var(--ink); padding-right: 36px; }
.leadbox .sub { color: var(--muted); font-size: .93rem; line-height: 1.5; margin: 6px 0 18px; }
.leadbox .field { margin-bottom: 14px; border: 0; padding: 0; min-width: 0; }
.leadbox .field > label, .leadbox .field > legend { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; padding: 0; }
.leadbox .field input[type=text], .leadbox .field input[type=email], .leadbox .field input[type=tel] { width: 100%; height: 50px; padding: 0 14px; font: 500 16px var(--body); color: var(--ink); background: var(--cream); border: 1.5px solid var(--line-2); border-radius: 12px; }
.leadbox .field input:focus { outline: none; border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(255,107,53,.22); }
.leadbox .field input[aria-invalid=true] { border-color: var(--danger); background: #FFF6F5; }
.leadbox .err { display: none; color: var(--danger); font-size: .82rem; margin-top: 5px; }
.leadbox .err.show { display: block; }
.leadbox .ages { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; position: relative; }
.leadbox .ages input { position: absolute; opacity: 0; width: 1px; height: 1px; padding: 0; border: 0; pointer-events: none; }
.leadbox .ages label { display: grid; place-items: center; min-height: 46px; margin: 0; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--cream); font-weight: 700; font-size: .95rem; cursor: pointer; }
.leadbox .ages input:checked + label { background: var(--ink); border-color: var(--ink); color: #fff; }
.leadbox .ages input:focus-visible + label { outline: 3px solid var(--saffron); outline-offset: 2px; }
.leadbox .ages.invalid label { border-color: var(--danger); }
.leadbox .phone { display: flex; }
.leadbox .phone span { display: flex; align-items: center; padding: 0 12px; border: 1.5px solid var(--line-2); border-right: 0; border-radius: 12px 0 0 12px; background: var(--cream-2); font-weight: 600; }
.leadbox .phone input { border-radius: 0 12px 12px 0 !important; flex: 1; min-width: 0; }
.leadbox .track { margin: -2px 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--cream-2); font-size: .9rem; }
.leadbox .btn { width: 100%; margin-top: 4px; }
.leadbox .btn[disabled] { opacity: .8; cursor: progress; }
.leadbox .fine { font-size: .78rem; line-height: 1.5; color: var(--muted); margin-top: 12px; text-align: center; }
.leadbox .fine a { color: inherit; }
.leadbox .form-error { display: none; margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #FFF6F5; border: 1.5px solid var(--danger); color: var(--danger); font-size: .88rem; }
.leadbox .form-error.show { display: block; }
.leadbox .done { text-align: center; padding: 40px 8px; }
.leadbox .done p { color: var(--muted); margin-top: 10px; line-height: 1.6; }
.leadbox a { color: var(--saffron-dark); }
@media (max-width: 380px) { .leadbox .ages { grid-template-columns: repeat(4, 1fr); } }

/* footer */
#usfoot { background: var(--ink); color: rgba(255,255,255,.75); padding: 48px 0 32px; font-size: .92rem; line-height: 1.6; border-top: 1px solid rgba(255,255,255,.1); }
#usfoot .wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
#usfoot .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
#usfoot h2 { font: 700 .8rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
#usfoot ul { list-style: none; }
#usfoot a { color: inherit; text-decoration: none; display: inline-block; padding: 6px 0; }
#usfoot a:hover { color: #fff; text-decoration: underline; }
#usfoot .logo { font: 600 1.35rem var(--head); color: #fff; }
#usfoot .bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .84rem; }
@media (max-width: 760px) { #usfoot .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { #usfoot { padding-bottom: 96px; } }

/* US-only bits */
.hero-note { margin-top: 16px; font-size: .92rem; font-weight: 600; color: var(--muted); }
.us-note { margin: 22px auto 0; max-width: 720px; text-align: center; font-size: .88rem; line-height: 1.6; color: var(--muted); }


  /* ═══════════════════════════════════════════════════════════════════
     THE SCHOOL EXHIBITION (2026-11-11)
     The page is a green felt notice board. Everything a parent reads is paper pinned to it:
     cut-out chart-paper lettering, handwritten slips, entry passes, and one passport page
     where every project a child has shipped is a stamp.
     ═══════════════════════════════════════════════════════════════════ */
  body.xb {
    --felt:#0C5A47; --felt-deep:#08402F; --yellow:#FFD23C; --pink:#FF86B5; --sky:#69C7F2; --paper:#FFFDF7; --xred:#D62A25; --xred-deep:#B3211D; --xink:#16130F;
    --ink-violet:#5B2A86; --ink-blue:#1F4FB5; --ink-red:#C4272F; --ink-green:#17694A;
    --lift:0 10px 18px -10px rgba(0,0,0,.6), 0 2px 3px rgba(0,0,0,.25);
    --ease:cubic-bezier(.16,1,.3,1);
    --disp:'Bagel Fat One','Arial Rounded MT Bold',system-ui,sans-serif; --hand:'Gochi Hand','Comic Sans MS',cursive; --text:'Hanken Grotesk',system-ui,sans-serif;
    font-family:var(--text); color:var(--xink); line-height:1.45;
    background:radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.4px) 0 0 / 5px 5px, radial-gradient(rgba(0,0,0,.14) 1px, transparent 1.4px) 2px 3px / 7px 7px, var(--felt);
  }
  body.xb ::selection { background:var(--yellow); color:var(--xink); }
  body.xb .reveal { opacity:1; transform:none; transition:none; }
  body.xb #scrollProgress { background:var(--yellow); }
  body.xb main { overflow-x:clip; }
  body.xb :focus-visible { outline:3px solid #fff !important; outline-offset:3px; border-radius:4px; }
  body.xb .x-page :focus-visible, body.xb .faq-wrap :focus-visible, body.xb .x-pass :focus-visible, body.xb .x-track:focus-visible, body.xb .modal :focus-visible { outline-color:var(--xink) !important; }

  /* boards: each section is its own framed board, a wooden rail between them */
  body.xb header.hero, body.xb section[id], body.xb .final { background:none; border:0; padding:0; min-height:0; display:block; }
  body.xb header.x-board, body.xb section.x-board, body.xb div.x-board { border-bottom:12px solid #7A4B22; border-image:linear-gradient(90deg,#8A5628,#6B3F18 30%,#9A6331 60%,#6B3F18) 1; }
  .x-wrap { max-width:1240px; margin:0 auto; padding:80px 44px 92px; }
  .x-hero { padding-top:124px; }

  .pin { position:absolute; width:16px; height:16px; border-radius:50%; top:-7px; left:calc(50% - 8px); z-index:2;
    background:radial-gradient(circle at 35% 30%, #fff 0 12%, var(--c,#E5322D) 14% 70%, rgba(0,0,0,.45) 100%); box-shadow:2px 5px 4px rgba(0,0,0,.4); }

  /* section titles: one sheet of white chart paper */
  .x-title { position:relative; display:inline-block; max-width:100%; font-family:var(--disp); font-weight:400; font-size:clamp(1.9rem, 3.6vw, 3.2rem); line-height:1.02; letter-spacing:.005em;
    background:var(--paper); padding:.3em .45em .34em; transform:rotate(-1.2deg); box-shadow:var(--lift); margin-bottom:44px; text-wrap:balance; }

  /* buttons */
  .x-btn { position:relative; display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:58px; padding:0 26px; border:0; cursor:pointer; text-decoration:none;
    font-family:var(--text); font-weight:800; font-size:1.05rem; color:var(--xink); transition:transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
  .x-btn.go { background:var(--xred); color:#fff; font-family:var(--disp); font-weight:400; font-size:1.35rem; letter-spacing:.01em; box-shadow:var(--lift); transform:rotate(-.8deg); }
  .x-btn.go:hover { transform:rotate(-.8deg) translateY(-3px); background:#C2221E; }
  .x-btn.go:active { transform:rotate(-.8deg) translateY(1px); }
  .x-btn.ask { color:#fff; border:2px dashed rgba(255,255,255,.75); background:rgba(0,0,0,.18); }
  .x-btn.ask:hover { background:rgba(0,0,0,.34); border-color:#fff; }
  .x-btn.ink { background:var(--paper); border:2.5px solid var(--xink); }
  .x-btn.ink:hover { background:var(--xink); color:#fff; }

  /* project previews keep their own screen box wherever they are pinned */

  /* ── hero: sized from the window height too, so the headline, the offer and the button share one screen ── */
  .x-hero { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr); gap:56px; align-items:center; min-height:calc(100vh - 12px); padding-top:104px; padding-bottom:48px; }
  .x-cut { display:grid; justify-items:start; gap:14px; }
  .x-cut span { position:relative; display:inline-block; font-family:var(--disp); font-weight:400; line-height:.95; padding:.2em .32em .24em; box-shadow:var(--lift); white-space:nowrap; }
  .x-cut .a { background:var(--yellow); font-size:clamp(3rem, min(6.6vw, 8.6vh), 6.4rem); transform:rotate(-2.2deg); }
  .x-cut .b { background:var(--paper); font-size:clamp(2.7rem, min(5.8vw, 7.6vh), 5.6rem); transform:rotate(1.4deg); margin-left:5%; }
  .x-cut .c { background:var(--pink); font-size:clamp(2.7rem, min(5.8vw, 7.6vh), 5.6rem); transform:rotate(-1deg); }
  .x-cut .d { background:var(--sky); font-size:clamp(3rem, min(6.6vw, 8.6vh), 6.4rem); transform:rotate(2deg); margin-left:16%; }
  .x-slip { position:relative; display:inline-block; margin-top:30px; background:var(--paper); padding:13px 18px; font-family:var(--hand); font-size:1.45rem; line-height:1.25; transform:rotate(-1.2deg); box-shadow:var(--lift); max-width:24em; }
  .x-slip strong { font-weight:400; text-decoration:underline; text-decoration-color:var(--xred); text-decoration-thickness:3px; text-underline-offset:.14em; }
  .x-act { display:flex; flex-wrap:wrap; gap:16px; margin-top:26px; }
  .x-proof { list-style:none; display:flex; flex-wrap:wrap; gap:6px 26px; margin-top:22px; color:#fff; font-size:.98rem; font-weight:500; }
  .x-proof b { font-weight:800; }
  .x-see { display:none; }
  .x-wall { display:grid; align-content:center; }
  .x-photo { position:relative; background:var(--paper); padding:10px 10px 12px; box-shadow:var(--lift); width:82%; }
  .x-photo.a { transform:rotate(-2.6deg); }
  .x-photo.b { transform:rotate(2.2deg); justify-self:end; margin-top:22px; }
  .x-photo figcaption { font-family:var(--hand); font-size:1.3rem; line-height:1.2; padding:9px 4px 0; }
  .x-photo .ps { border-radius:3px; }

  /* ── what kids built: the stamp page + the project on show ── */
  .x-builds { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:48px; align-items:center; }
  .x-page { position:relative; padding:30px 34px 0; transform:rotate(-.6deg); box-shadow:var(--lift);
    background:repeating-radial-gradient(circle at 12% 18%, transparent 0 9px, rgba(23,105,74,.1) 9px 10px), repeating-radial-gradient(circle at 88% 70%, transparent 0 11px, rgba(196,39,47,.07) 11px 12px), linear-gradient(180deg,#E9F3E6,#F6DDE1); }
  .x-page header { display:flex; justify-content:space-between; align-items:baseline; gap:12px; border-bottom:1.5px solid #1B2238; padding-bottom:10px; }
  .x-page h2 { font-family:'Marcellus',serif; font-weight:400; font-size:clamp(1.5rem, 2.6vw, 2.3rem); letter-spacing:.06em; text-transform:uppercase; line-height:1.1; color:#1B2238; }
  .x-cue { font-family:var(--hand); font-size:1.3rem; line-height:1.2; color:#1B2238; margin-top:12px; }
  .x-stamps { list-style:none; display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:34px 14px; padding:26px 0 40px; }
  .x-stamps li { display:grid; place-items:center; min-width:0; }
  .x-stamp { width:min(100%, 210px); aspect-ratio:1.5; display:grid; place-content:center; justify-items:center; gap:2px; text-align:center; padding:8px; min-width:0; overflow-wrap:anywhere; cursor:pointer;
    color:var(--c); background:none; border:3px solid currentColor; border-radius:10px; outline:1.5px solid currentColor; outline-offset:-8px; transform:rotate(var(--r,-6deg));
    font-family:'Martian Mono',monospace; text-transform:uppercase; transition:transform .25s var(--ease), background .2s, color .2s; }
  .x-stamp.round { aspect-ratio:1; width:min(86%, 180px); border-radius:50%; }
  .x-stamp.oval { border-radius:50%; }
  .x-stamp b { font-size:.75rem; font-weight:800; letter-spacing:.16em; }
  .x-stamp strong { font-size:1rem; font-weight:800; line-height:1.12; margin:3px 0; }
  .x-stamp span { font-size:.75rem; font-weight:600; letter-spacing:0; line-height:1.4; }
  .x-stamp:hover { transform:rotate(var(--r,-6deg)) scale(1.04); }
  /* the pressed stamp is inked solid, so it is obvious which project is on show */
  .x-stamp[aria-pressed="true"] { background:var(--c); color:var(--paper); border-color:var(--c); outline-color:var(--paper); transform:rotate(var(--r,-6deg)) scale(1.06); }
  body.xb .x-stamp:focus-visible { outline:3px solid var(--xink) !important; outline-offset:4px; }
  .x-mrz { text-wrap:balance; margin:0 -34px; padding:14px 34px 16px; background:rgba(255,255,255,.55); border-top:1.5px solid #1B2238; font-family:'Martian Mono',monospace; font-size:.82rem; font-weight:600; letter-spacing:.04em; line-height:1.5; text-transform:uppercase; color:#1B2238; }
  /* the project on show: a pinned exhibit card. The screen on top, the entry form filled in by hand below */
  .x-viewer { position:relative; background:var(--paper); padding:12px 12px 16px; transform:rotate(1.2deg); box-shadow:var(--lift); }
  .x-viewer > .pin:nth-of-type(1) { left:12%; } .x-viewer > .pin:nth-of-type(2) { left:auto; right:12%; }
  .x-shot { margin:0; }
  .x-shot[hidden] { display:none; }
  .x-screen { border:2.5px solid var(--xink); border-radius:5px; overflow:hidden; background:#12111C; }
  .x-real { display:block; width:100%; aspect-ratio:16 / 9; object-fit:cover; }
  .x-shot figcaption { padding:14px 8px 0; }
  .x-exno { display:flex; justify-content:space-between; align-items:center; font-family:'Martian Mono',monospace; font-size:.78rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--c); }
  .x-exno span + span { border:2px solid currentColor; border-radius:5px; padding:3px 8px 2px; letter-spacing:.06em; transform:rotate(-3deg); }
  .x-shot h3 { font-family:var(--disp); font-weight:400; font-size:clamp(1.6rem, 2.3vw, 2.1rem); line-height:1.05; margin:8px 0 6px; text-wrap:balance; }
  .x-does { font-size:1.02rem; font-weight:500; line-height:1.4; color:#3A342C; max-width:30em; }
  .x-entry { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px 20px; margin:16px 0 0; }
  .x-entry .wide { grid-column:1 / -1; }
  .x-entry dt { font-family:'Martian Mono',monospace; font-size:.75rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:#5A544B; }
  .x-entry dd { margin:0; font-family:var(--hand); font-size:1.4rem; line-height:1.2; padding:1px 0 2px; border-bottom:2px dotted rgba(22,19,15,.5); }
  .x-entry dd a { color:inherit; text-decoration:underline; text-decoration-color:var(--c); text-decoration-thickness:2.5px; text-underline-offset:.16em; }
  .x-entry dd a:hover { color:var(--c); }
  .x-made { list-style:none; display:flex; flex-wrap:wrap; align-items:center; gap:7px; margin-top:16px; }
  .x-made::before { content:'Made with'; font-family:var(--hand); font-size:1.15rem; margin-right:3px; }
  .x-made li { font-family:'Martian Mono',monospace; font-size:.75rem; font-weight:600; letter-spacing:.03em; text-transform:uppercase; color:var(--c); border:1.5px solid currentColor; border-radius:3px; padding:5px 8px 4px; background:color-mix(in srgb, var(--c) 9%, var(--paper)); }

  /* ── tracks ── */
  .x-tracks { list-style:none; display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:30px; }
  .x-track { position:relative; display:flex; flex-direction:column; height:100%; background:var(--bg); padding:26px 26px 24px; color:var(--xink); text-decoration:none; transform:rotate(var(--r)); box-shadow:var(--lift);
    transition:transform .25s var(--ease), box-shadow .25s var(--ease); }
  .x-track:hover { transform:rotate(var(--r)) translateY(-5px); box-shadow:0 18px 26px -12px rgba(0,0,0,.65), 0 2px 3px rgba(0,0,0,.25); }
  .x-thead { display:flex; align-items:flex-start; gap:18px; }
  .x-age { font-weight:800; font-size:.8rem; letter-spacing:.12em; text-transform:uppercase; flex-shrink:0; }
  .x-age b { font-family:var(--disp); font-weight:400; font-size:3.1rem; line-height:.95; letter-spacing:0; display:block; text-transform:none; white-space:nowrap; }
  .x-tname { display:block; min-width:0; }
  .x-track h3 { font-family:var(--disp); font-weight:400; font-size:1.8rem; line-height:1.05; margin:2px 0 6px; }
  .x-tname p { font-size:.98rem; font-weight:500; }
  /* the three tracks are sticky notes: a strip of glue along the top, the bottom corners lifting off the board, marker handwriting */
  .x-tracks > li { position:relative; }
  .x-tracks > li::before, .x-tracks > li::after { content:''; position:absolute; bottom:14px; width:46%; height:22px; box-shadow:0 18px 14px rgba(0,0,0,.6); }
  .x-tracks > li::before { left:12px; transform:rotate(-4deg); } .x-tracks > li::after { right:12px; transform:rotate(4deg); }
  .x-track { z-index:1; padding:40px 26px 26px; box-shadow:0 1px 2px rgba(0,0,0,.3);
    background:linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.03) 22px, rgba(0,0,0,0) 23px), linear-gradient(175deg, rgba(255,255,255,.22), rgba(255,255,255,0) 45%), var(--bg);
    border-bottom-left-radius:54px 10px; border-bottom-right-radius:70px 14px; }
  .x-track:hover { box-shadow:0 1px 2px rgba(0,0,0,.3); transform:rotate(calc(var(--r) * -.4)) translateY(-6px); }
  .x-track > .pin { display:none; }
  .x-track h3 { font-family:var(--hand); font-size:2.3rem; line-height:1; margin:0 0 6px; }
  .x-tname p { font-family:var(--hand); font-size:1.25rem; line-height:1.25; }
  .x-track .x-more { font-family:var(--hand); font-weight:400; font-size:1.4rem; }
  .x-tshot::before { content:''; position:absolute; z-index:2; top:-12px; left:calc(50% - 42px); width:84px; height:24px; background:rgba(255,253,247,.62); box-shadow:0 1px 2px rgba(0,0,0,.25); transform:rotate(-3deg); }
  /* one project from the track, taped to the note like a photo */
  .x-tshot { display:block; margin:20px 0 0; background:var(--paper); padding:7px; box-shadow:0 6px 10px -6px rgba(0,0,0,.55), 0 1px 2px rgba(0,0,0,.25); transform:rotate(1.2deg); }
  .x-tracks li:nth-child(even) .x-tshot { transform:rotate(-1.2deg); }
  .x-tshot .ps { border-radius:2px; }
  .x-tcap { display:block; font-family:var(--hand); font-size:1.25rem; line-height:1.2; margin:12px 0 18px; }
  .x-more { margin-top:auto; display:inline-flex; align-items:center; gap:8px; font-weight:800; text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:.2em; }
  /* header stacks (age, then name, then line) and scales with the note so nothing spills at any width */
  .x-tracks > li { container-type:inline-size; }
  .x-thead { display:block; }
  .x-age { display:flex; align-items:baseline; gap:10px; }
  .x-age { flex-wrap:wrap; }
  .x-age b { display:inline; font-size:clamp(1.9rem, 14cqi, 2.7rem); }
  .x-track h3 { font-size:clamp(1.3rem, 10cqi, 2.2rem); margin:8px 0 4px; white-space:nowrap; }
  /* squarer notes: less padding, and the kid's name is written on the photo's own border */
  .x-track { padding:34px 26px 24px; }
  /* notes carry words only now: age, track, one line, link */
  .x-age b { font-size:clamp(2.1rem, 16cqi, 3.2rem); }
  .x-track h3 { font-size:clamp(1.5rem, 11.5cqi, 2.6rem); margin:10px 0 8px; }
  .x-tname p { font-size:clamp(1.15rem, 6.4cqi, 1.5rem); line-height:1.25; margin-bottom:22px; }
  .x-tshot { margin:14px 0 12px; padding:7px 7px 4px; }
  .x-tshot .x-tcap { margin:4px 2px 0; font-size:clamp(.95rem, 5cqi, 1.12rem); line-height:1.15; color:var(--xink); }
  .x-tname p { text-wrap:balance; }

  /* ── visitors' book ── */
  .x-book { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:40px; align-items:start; }
  .x-book-lead { display:grid; gap:30px; }
  .x-remark { position:relative; margin:0; background:var(--paper); padding:24px 26px 22px; transform:rotate(var(--r)); box-shadow:var(--lift);
    background-image:linear-gradient(rgba(31,79,181,.16) 1.5px, transparent 1.5px); background-size:100% 2.05rem; background-position:0 1.1rem; }
  .x-said { font-family:var(--hand); font-size:1.32rem; line-height:2.05rem; margin:10px 0 12px; }
  .x-remark.big .x-said { font-size:clamp(1.6rem, 2.5vw, 2.15rem); line-height:1.32; }
  .x-remark.big { background-image:none; padding:32px 34px 28px; }
  .x-by { font-size:.95rem; font-weight:500; }
  .x-by b { font-weight:800; display:block; }
  .x-stars { width:112px; height:22px; fill:#F4B400; display:block; }
  .x-side { display:grid; gap:26px; }
  .x-rating { display:flex; align-items:center; gap:16px; color:#fff; }
  .x-rating p { font-size:1.05rem; font-weight:500; line-height:1.3; }
  .x-rating b { display:block; font-family:var(--disp); font-weight:400; font-size:1.8rem; }
  .x-ros { width:78px; flex-shrink:0; }

  /* ── how it works: one timetable sheet ── */
  .x-tt { position:relative; background:var(--paper); padding:14px; transform:rotate(-.5deg); box-shadow:var(--lift); }
  .x-tt > .pin:nth-of-type(1) { left:8%; } .x-tt > .pin:nth-of-type(2) { left:auto; right:8%; }
  .x-tt ol { list-style:none; display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); border:2.5px solid var(--xink); }
  .x-tt li { padding-bottom:26px; }
  .x-tt li + li { border-left:2.5px solid var(--xink); }
  .x-when { display:block; padding:11px 24px 9px; border-bottom:2.5px solid var(--xink); background:var(--yellow); font-family:'Martian Mono',monospace; font-size:.8rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
  .x-tt li:nth-child(2) .x-when { background:var(--sky); } .x-tt li:nth-child(3) .x-when { background:var(--pink); }
  .x-tt b { display:block; padding:20px 24px 0; font-family:var(--disp); font-weight:400; font-size:3.6rem; line-height:1; color:var(--xred); }
  .x-tt h3 { padding:0 24px; font-family:var(--disp); font-weight:400; font-size:1.8rem; line-height:1.08; margin:6px 0 8px; }
  .x-tt p { padding:0 24px; font-size:1.04rem; font-weight:500; max-width:26em; }

  /* ── pricing: entry passes ── */
  .x-pricing { display:grid; grid-template-columns:minmax(0,2.5fr) minmax(0,1fr); gap:40px; align-items:center; }
  .x-passes { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:30px; }
  .x-notes { display:grid; gap:26px; justify-items:start; }
  .x-rs { font-family:system-ui,sans-serif; font-weight:800; font-size:.8em; margin-right:.04em; }
  .x-pass { position:relative; background:var(--paper); transform:rotate(var(--r)); box-shadow:var(--lift); display:flex; flex-direction:column; }
  .x-pass-top { position:relative; background:var(--bg); padding:26px 28px 20px; border-bottom:3px dashed rgba(22,19,15,.55); }
  .x-pass-top::before, .x-pass-top::after { content:''; position:absolute; bottom:-13px; width:24px; height:24px; border-radius:50%; background:var(--felt); box-shadow:inset 0 2px 3px rgba(0,0,0,.45); }
  .x-pass-top::before { left:-12px; } .x-pass-top::after { right:-12px; }
  .x-pass h3 { font-family:var(--disp); font-weight:400; font-size:2.2rem; line-height:1; }
  .x-pass-top p { font-weight:700; font-size:.95rem; margin-top:4px; }
  .x-flag { position:absolute; top:22px; right:22px; background:var(--xink); color:#fff; font-weight:800; font-size:.8rem; padding:5px 11px; transform:rotate(3deg); }
  .x-pass-body { padding:24px 28px 28px; display:flex; flex-direction:column; flex:1; }
  .x-price { font-family:var(--disp); font-weight:400; font-size:3.5rem; line-height:1; font-variant-numeric:tabular-nums; }
  .x-price small { font-family:var(--text); font-weight:700; font-size:1.05rem; margin-left:4px; }
  .x-per { font-size:.92rem; font-weight:500; margin-top:6px; }
  .x-pass ul { list-style:none; display:grid; gap:9px; margin:20px 0 26px; padding-top:18px; border-top:1.5px solid rgba(22,19,15,.16); font-weight:500; flex:1; align-content:start; }
  .x-pass li { display:grid; grid-template-columns:20px 1fr; gap:10px; align-items:start; }
  .x-pass li svg { width:18px; height:18px; margin-top:3px; color:var(--ink-green); }
  .x-pass .x-btn { width:100%; }
  .x-note { position:relative; background:var(--paper); padding:14px 18px; font-family:var(--hand); font-size:1.3rem; line-height:1.3; transform:rotate(var(--r,.8deg)); box-shadow:var(--lift); }
  .x-note.big { background:var(--yellow); font-size:1.7rem; padding:20px 20px 18px; }
  .x-note.small { background:none; box-shadow:none; padding:0; color:#fff; font-size:1.2rem; }
  /* the weekend demo: a smaller ticket for parents who are not ready for a month */
  .x-demo { position:relative; background:var(--pink); padding:22px 20px 20px; transform:rotate(var(--r)); box-shadow:var(--lift); width:100%; }
  .x-demo-k { font-family:var(--hand); font-size:1.25rem; line-height:1.2; }
  .x-demo-t { font-family:var(--disp); font-size:1.75rem; line-height:1.05; margin:4px 0 8px; }
  .x-demo-d { font-size:.98rem; font-weight:500; line-height:1.4; margin-bottom:16px; }
  .x-demo-d b { font-weight:800; white-space:nowrap; }
  .x-demo .x-btn { width:100%; min-height:50px; font-size:1rem; }

  /* ── FAQ ── */
  .x-faq { display:grid; grid-template-columns:minmax(0,380px) minmax(0,1fr); gap:60px; align-items:start; }
  .x-faq-head { position:sticky; top:110px; }
  .x-faq-head .x-title { margin-bottom:0; }
  body.xb .faq-wrap { position:relative; max-width:none; background:var(--paper); padding:10px 30px; transform:rotate(.4deg); box-shadow:var(--lift); border:0; }
  body.xb .faq-item { border-bottom:1.5px solid rgba(22,19,15,.14); }
  body.xb .faq-item:last-child { border-bottom:0; }
  body.xb .faq-q { width:100%; background:none; border:0; text-align:left; padding:20px 0; display:flex; justify-content:space-between; align-items:center; gap:16px; cursor:pointer;
    font-family:var(--text); font-size:1.08rem; font-weight:800; color:var(--xink); transition:color .2s; }
  body.xb .faq-q:hover { color:var(--xred-deep); }
  body.xb .faq-icon { width:32px; height:32px; border-radius:50%; background:var(--yellow); color:var(--xink); display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:transform .3s var(--ease), background .2s; }
  body.xb .faq-item.open .faq-icon { background:var(--xred); color:#fff; transform:rotate(45deg); }
  body.xb .faq-a { font-size:1rem; font-weight:500; color:#3A342C; line-height:1.7; max-height:0; overflow:hidden; transition:max-height .4s var(--ease), padding-bottom .3s; }
  body.xb .faq-item:not(.open) .faq-a { visibility:hidden; }
  body.xb .faq-item.open .faq-a { max-height:420px; padding-bottom:22px; }
  body.xb .faq-a a { color:var(--xred-deep); font-weight:700; }

  /* ── final ── */
  .x-final { position:relative; background:var(--yellow); padding:72px 40px 60px; text-align:center; transform:rotate(-.7deg); box-shadow:var(--lift); }
  .x-final .pin:nth-of-type(1) { left:9%; } .x-final .pin:nth-of-type(2) { left:auto; right:9%; }
  .x-final h2 { font-family:var(--disp); font-weight:400; font-size:clamp(2.4rem, 5.8vw, 5rem); line-height:1; max-width:14em; margin:0 auto; text-wrap:balance; }
  .x-final > p { font-size:1.15rem; font-weight:500; margin:18px 0 30px; }
  .x-final .x-btn { min-height:66px; padding:0 34px; font-size:1.6rem; }
  .x-final .x-fact { margin:22px 0 0; font-family:var(--hand); font-size:1.35rem; }

  /* ── the shared header, footer, bottom bar and signup form, dressed for this page ── */
  body.xb #pnav { background:rgba(8,64,47,.95); font-family:var(--text); border-bottom-color:rgba(255,255,255,.1); }
  body.xb #pnav.pnav-scrolled { border-color:rgba(255,255,255,.14); box-shadow:0 8px 18px -10px rgba(0,0,0,.7); }
  body.xb #pnav .pn-logo, body.xb #pfooter .pf-logo { font-family:var(--disp); font-weight:400; color:#fff; letter-spacing:.01em; }
  body.xb #pnav .pn-logo em { color:inherit; }
  body.xb #pnav .pn-links a, body.xb #pnav .pn-links button.pn-drop-btn { color:rgba(255,255,255,.86); font-weight:600; font-size:.95rem; }
  body.xb #pnav .pn-links a:hover, body.xb #pnav .pn-links button.pn-drop-btn:hover { color:#fff; background:rgba(255,255,255,.12); }
  body.xb #pnav .pn-links .pn-dropdown a { color:var(--xink); }
  body.xb #pnav .pn-cta { background:var(--xred); color:#fff; border-radius:3px; font-family:var(--disp); font-weight:400; font-size:1.05rem; height:42px; transform:rotate(-1deg); }
  body.xb #pnav .pn-cta:hover { background:#C2221E; transform:rotate(-1deg) translateY(-2px); }
  body.xb #pnav .pn-burger span { background:#fff; }
  body.xb #pnav-mob { background:var(--felt-deep); border-bottom:0; font-family:var(--text); }
  body.xb #pnav-mob a { color:#fff; border-bottom-color:rgba(255,255,255,.14); }
  body.xb #pnav-mob .mm-section { color:rgba(255,255,255,.66); }
  body.xb #pnav-mob .mm-sub { color:rgba(255,255,255,.75); }
  body.xb #pnav-mob .mm-cta { background:var(--xred); color:#fff; border-radius:3px; font-family:var(--disp); font-weight:400; font-size:1.2rem; }
  body.xb #pfooter { background:var(--felt-deep); font-family:var(--text); }
  body.xb .sticky-cta { background:var(--felt-deep); font-family:var(--text); }
  body.xb .sticky-cta-btn { background:var(--xred); color:#fff; border-radius:3px; font-family:var(--disp); font-weight:400; font-size:1rem; }
  body.xb .sticky-cta-btn:hover { background:#C2221E; }
  body.xb .modal, body.xb .enquiry-modal { font-family:var(--text); }
  body.xb .modal-title { font-family:var(--disp); font-weight:400; font-size:1.9rem; letter-spacing:0; }
  body.xb .modal .btn { font-family:var(--text); border-radius:6px; }
  body.xb .modal .btn-dark, body.xb .modal .btn-primary { background:var(--xred); color:#fff; box-shadow:none; }
  body.xb .modal .btn-dark:hover, body.xb .modal .btn-primary:hover { background:#C2221E; }
  body.xb .modal { border-radius:6px; background:var(--paper); }
  body.xb .modal-close { width:44px; height:44px; border-radius:50%; background:var(--yellow); color:var(--xink); }
  body.xb .modal .field input[type=text], body.xb .modal .field input[type=tel], body.xb .modal .field input[type=email] { border:2px solid var(--xink); border-radius:4px; background:#fff; }
  body.xb .modal .field input::placeholder { color:#6B655C; }
  body.xb .modal .field input:focus { border-color:var(--xred); box-shadow:0 0 0 3px rgba(214,42,37,.22); outline:none !important; }
  body.xb .modal .age-grid label { border:2px solid var(--xink); border-radius:4px; background:#fff; }
  body.xb .modal .age-grid input:checked + label { background:var(--xink); color:#fff; }
  body.xb .modal .age-grid input:focus-visible + label { outline:3px solid #2B5FD9; outline-offset:2px; }
  body.xb .modal .phone-wrap span { border:2px solid var(--xink); border-right:0; border-radius:4px 0 0 4px; background:var(--yellow); color:var(--xink); }
  body.xb .modal .phone-wrap input { border-radius:0 4px 4px 0 !important; }
  body.xb .pc-head { background:var(--felt-deep); }
  body.xb .pc-avatar { background:var(--yellow); border-radius:4px; font-family:var(--disp); font-weight:400; }
  body.xb .pc-title { font-family:var(--disp); font-weight:400; font-size:1.15rem; }
  body.xb .pc-send { background:var(--xred); color:#fff; border-radius:4px; }
  body.xb .pc-panel { border-radius:8px; font-family:var(--text); }
  body.xb .pmark .pm1 { fill:#FFD23C; } body.xb .pmark .pm2 { fill:#FF86B5; } body.xb .pmark .pm3 { fill:#69C7F2; } body.xb .pmark .pm4 { fill:#FFFDF7; }
  body.xb .pmark rect { rx:1.5px; }
  /* phone menu: slips pinned to the board */
  body.xb #pnav-mob { padding:18px 20px 32px; }
  body.xb #pnav-mob .mm-section { font-family:var(--hand); font-size:1.3rem; font-weight:400; letter-spacing:0; text-transform:none; color:#fff; padding:10px 2px 8px; }
  body.xb #pnav-mob a { background:var(--paper); color:var(--xink); border:0; margin-bottom:10px; padding:15px 16px; font-weight:800; font-size:1.05rem; box-shadow:var(--lift); transform:rotate(-.6deg); }
  body.xb #pnav-mob a:nth-of-type(even) { transform:rotate(.7deg); }
  body.xb #pnav-mob a:nth-of-type(1) { background:var(--yellow); } body.xb #pnav-mob a:nth-of-type(2) { background:var(--sky); } body.xb #pnav-mob a:nth-of-type(3) { background:var(--pink); }
  body.xb #pnav-mob .mm-sub { color:var(--xink); font-weight:500; }
  body.xb #pnav-mob .mm-cta { margin-top:18px; min-height:58px; box-shadow:var(--lift); transform:rotate(-.8deg); }
  /* footer */
  body.xb #pfooter { color:rgba(255,255,255,.82); }
  body.xb #pfooter .pf-logo span { font-family:var(--disp) !important; font-weight:400 !important; font-size:1.6rem !important; }
  body.xb #pfooter .pf-tagline { display:inline-block; background:var(--paper); color:var(--xink); font-family:var(--hand); font-size:1.2rem; line-height:1.3; padding:12px 14px; max-width:270px; transform:rotate(-1.2deg); box-shadow:var(--lift); }
  body.xb #pfooter .pf-h { font-family:var(--hand); font-weight:400; font-size:1.4rem; color:var(--yellow); margin-bottom:12px; }
  body.xb #pfooter ul a { color:rgba(255,255,255,.82); }
  body.xb #pfooter ul a:hover, body.xb #pfooter .pf-cities a:hover { color:var(--yellow); }
  body.xb #pfooter .pf-social a { border-radius:4px; background:rgba(255,255,255,.12); color:#fff; }
  body.xb #pfooter .pf-social a:hover { background:var(--xred); }
  body.xb #pfooter .pf-bottom { border-top:2px dashed rgba(255,255,255,.3); color:rgba(255,255,255,.75); }
  body.xb .pc-tease { border:0; border-radius:2px; background:var(--paper); font-family:var(--text); box-shadow:var(--lift); transform:rotate(-1deg) translateY(8px); }
  body.xb .pc-tease.show { transform:rotate(-1deg); }
  body.xb.cta-quiet .pc-tease { display:none; }   /* the demo ticket is already on screen there */
  body.xb .pc-tease b { font-family:var(--hand); font-weight:400; font-size:1.2rem; }
  body.xb #pfooter { padding-bottom:104px; }
  body.xb #pfooter .pf-bottom a { display:inline-block; padding:12px 0; }
  body.xb #pfooter .pf-cities a { display:inline-block; padding:10px 0; }
  body.xb .modal-reassure { display:block; text-align:center; }
  body.xb #pfooter .pf-cities { align-items:center; }
  /* short screens: the form's button stays in reach while the fields scroll */
  @media (max-height:760px) {
    body.xb .modal .signup-submit { position:sticky; bottom:10px; z-index:2; box-shadow:0 0 0 10px var(--paper), 0 -14px 14px 0 var(--paper); }
  }
  body.xb .modal-reassure svg { vertical-align:-2px; margin-right:4px; }

  /* ── tablets ── */
  @media (max-width:1080px) {
    .x-wrap { padding:64px 30px 76px; }
    .x-hero { gap:36px; }
    .x-hero { padding-top:104px; }
    .x-builds { gap:30px; align-items:start; }
    /* the project on show follows the reader down the stamp page */
    .x-viewer { position:sticky; top:96px; z-index:3; }
    .x-page { padding:26px 24px 0; } .x-mrz { margin:0 -24px; padding-left:24px; padding-right:24px; }
    .x-stamps { gap:26px 10px; grid-template-columns:repeat(2, minmax(0,1fr)); }
    .x-stamp.round b { display:none; }
    .x-entry { margin-top:12px; gap:10px 20px; } .x-made { margin-top:12px; }
    .x-pricing { grid-template-columns:minmax(0,1fr); }
    .x-notes { grid-template-columns:repeat(2, minmax(0,1fr)); align-items:center; }
    .x-note.small { grid-column:1 / -1; }
    .x-faq { grid-template-columns:1fr; gap:34px; }
    .x-faq-head { position:static; }
  }

  @media (max-width:860px) {
    .x-builds { grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:22px; }
    .x-stamps { grid-template-columns:repeat(2, minmax(0,1fr)); }
    .x-tt b, .x-tt h3, .x-tt p, .x-when { padding-left:16px; padding-right:16px; }
  }

  /* ── phones: every board is one screen; anything longer swipes sideways ── */
  @media (max-width:600px) {
    html { scroll-snap-type:y proximity; }
    body.xb header.hero, body.xb section[id], body.xb .final { scroll-snap-align:start; scroll-margin-top:68px; display:flex; flex-direction:column; justify-content:center; }
    body.xb header.hero { min-height:100vh; min-height:100svh; display:flex; flex-direction:column; justify-content:center; }
    .x-entry dd a { display:inline-block; padding:11px 0; margin:-11px 0; }
    body.xb .sticky-wa { min-width:44px; min-height:44px; }
    body.xb header.x-board, body.xb section.x-board, body.xb div.x-board { border-bottom:0; }
    body.xb #programs, body.xb #how, body.xb #faq { background:rgba(0,0,0,.2); box-shadow:inset 0 10px 14px -10px rgba(0,0,0,.5), inset 0 -10px 14px -10px rgba(0,0,0,.5); }
    .x-wrap { width:100%; padding:52px 18px 64px; }
    .x-title { margin-bottom:26px; font-size:clamp(1.7rem, 8vw, 2.4rem); }
    /* first screen: the headline one slip per row, the offer, the buttons and a link to the projects */
    .x-hero { display:flex; flex-direction:column; align-items:flex-start; padding-top:82px; padding-bottom:76px; min-height:0; gap:0; }
    .x-lead { display:contents; }
    .x-cut { order:1; display:grid; justify-items:start; gap:9px; }
    .x-cut .a, .x-cut .d { font-size:min(13.6vw, 6.3vh); padding:.2em .28em .24em; }
    .x-cut .b, .x-cut .c { font-size:min(12vw, 5.6vh); padding:.2em .28em .24em; }
    .x-cut .a, .x-cut .c { margin-left:0; } .x-cut .b { margin-left:7%; } .x-cut .d { margin-left:14%; }
    .x-wall { display:none; }   /* phones: no project photo up here, a link to the projects instead */
    .x-slip { order:3; font-size:1.25rem; margin-top:20px; padding:13px 16px; }
    .x-act { order:4; width:100%; display:grid; grid-template-columns:1.2fr 1fr; gap:10px; margin-top:18px; }
    .x-act .x-btn { padding:0 10px; white-space:nowrap; }
    .x-act .x-btn.ask { font-size:.92rem; gap:6px; }
    .x-see { order:5; display:inline-flex; align-items:center; gap:8px; min-height:44px; margin-top:14px; color:#fff; font-family:var(--hand); font-size:1.4rem; line-height:1; text-decoration:underline; text-decoration-color:var(--yellow); text-decoration-thickness:3px; text-underline-offset:.22em; }
    .x-see svg { color:var(--yellow); }
    .x-proof { order:6; display:grid; gap:3px; margin-top:14px; font-size:.9rem; }

    .x-row { display:flex !important; overflow-x:auto; scroll-snap-type:x mandatory; gap:14px; margin:0 -18px; padding:14px 18px 20px; scroll-padding-inline:18px; scrollbar-width:none; max-width:none; }
    .x-row::-webkit-scrollbar { display:none; }
    .x-row > * { flex:0 0 82%; scroll-snap-align:start; }

    .x-builds { grid-template-columns:minmax(0,1fr); gap:22px; }
    .x-page { padding:20px 16px 0; }
    .x-page h2 { font-size:1.08rem; white-space:nowrap; }
    .x-cue { font-size:1.1rem; margin-top:8px; }
    .x-stamps { grid-template-columns:repeat(2, minmax(0,1fr)); gap:14px 8px; padding:14px 0 18px; }
    .x-stamp { width:min(96%, 160px); aspect-ratio:auto; min-height:92px; padding:10px 8px; outline-offset:-6px; }
    .x-stamp.round { width:min(96%, 160px); aspect-ratio:auto; border-radius:46px; }
    .x-stamp b { display:none; } .x-stamp strong { font-size:.8rem; } .x-stamp span { font-size:.7rem; line-height:1.3; }
    .x-mrz { margin:0 -16px; padding:10px 16px 12px; font-size:.75rem; }
    .x-viewer { order:-1; top:76px; width:100%; padding:8px 8px 10px; transform:rotate(.6deg); }
    .x-shot .ps, .x-real { aspect-ratio:2.15 / 1; }
    .x-shot figcaption { padding:9px 4px 0; }
    .x-shot h3 { font-size:1.3rem; margin:4px 0 3px; }
    .x-does { font-size:.9rem; line-height:1.35; }
    .x-entry { grid-template-columns:1.25fr .9fr 1.2fr; gap:8px 12px; margin-top:9px; }
    .x-entry .wide { grid-column:auto; }
    .x-entry dt { letter-spacing:.02em; }
    .x-entry dd { font-size:1.08rem; white-space:nowrap; }
    .x-made { margin-top:10px; gap:5px; }
    .x-made::before { font-size:1rem; }
    .x-made li { padding:4px 6px 3px; }

    .x-track { padding:22px 20px 20px; }
    .x-book { grid-template-columns:1fr; gap:14px; }
    .x-remark.big { padding:22px 20px 18px; }
    .x-remark.big .x-said { font-size:1.4rem; }
    .x-side { align-items:stretch; }
    .x-book-lead { gap:14px; }
    .x-rating b { font-size:1.35rem; } .x-rating p { font-size:.9rem; } .x-ros { width:52px; }
    .x-said { font-size:1.2rem; }
    .x-tt { padding:10px; }
    .x-tt ol { grid-template-columns:1fr; }
    .x-tt li { display:grid; grid-template-columns:auto 1fr; column-gap:14px; padding-bottom:16px; }
    .x-tt li + li { border-left:0; border-top:2.5px solid var(--xink); }
    .x-when { grid-column:1 / -1; padding:8px 14px 6px; font-size:.76rem; }
    .x-tt b { grid-row:span 2; padding:12px 0 0 14px; font-size:2.8rem; }
    .x-tt h3 { padding:14px 14px 0 0; margin:0 0 3px; font-size:1.4rem; }
    .x-tt p { padding:0 14px 0 0; font-size:.95rem; }
    .x-pass-top { padding:20px 20px 16px; } .x-pass-body { padding:18px 20px 22px; }
    .x-price { font-size:2.9rem; }
    .x-pass ul { margin:14px 0 18px; padding-top:14px; gap:7px; font-size:.95rem; }
    .x-pricing { gap:6px; }
    .x-notes { grid-template-columns:minmax(0,1fr); gap:14px; }
    .x-note { font-size:1.1rem; } .x-note.big { font-size:1.3rem; padding:14px 16px 12px; }
    .x-note.small { font-size:1.08rem; }
    .x-demo { padding:18px 16px 16px; } .x-demo-t { font-size:1.5rem; }
    .x-faq { gap:20px; }
    .x-faq-head .x-act { grid-template-columns:1fr 1fr; }
    .x-faq-head .x-act { grid-template-columns:1.25fr 1fr; }
    .x-faq-head .x-btn { padding:0 8px; font-size:.9rem; min-height:50px; white-space:nowrap; }
    .x-faq-head .x-btn.go { font-size:.92rem; }
    body.xb .faq-wrap { padding:4px 18px; }
    body.xb .faq-q { font-size:.98rem; padding:15px 0; }
    .x-final { padding:54px 20px 44px; }
    .x-final .x-btn { width:100%; font-size:1.3rem; padding:0 14px; }
  }
  /* short phones: the first screen keeps the offer and the button; the project card drops its extras */
  @media (max-width:600px) and (max-height:720px) {
    .x-does, .x-made { display:none; }
    .x-shot .ps, .x-real { aspect-ratio:2.6 / 1; }
  }
  @media (hover:none) { .x-track:hover, .x-btn.go:hover, .x-stamp:hover { transform:rotate(var(--r, -.8deg)); } }
  @media (prefers-reduced-motion:reduce) { .x-btn, .x-track, .x-stamp { transition:none; } }
  .x-slip .m-only { display:none; }
  @media (max-width:600px) { .x-slip .m-hide { display:none; } .x-slip .m-only { display:inline; } }

  /* ═══ The six project screens ═══
     Each fills its whole frame. Type is sized from the frame's height, so a screen is always
     about 19 lines tall when large, 14 when medium and 11.5 when small; d2 and d3 parts drop out. */
  .ps { position:relative; display:block; width:100%; aspect-ratio:16 / 9; container-type:size; overflow:hidden; background:#12111C; }
  .ps-in { position:absolute; inset:0; display:flex; font-family:var(--text); font-size:5.2cqh; line-height:1.3; color:#fff; text-align:left; }
  .ps p, .ps ul { margin:0; list-style:none; }
  .ps ul { padding:0; }
  .ps i { font-style:normal; }
  @container (max-height:214px) { .ps-in { font-size:7cqh; } .ps .d2 { display:none !important; } .ps .st-text { -webkit-line-clamp:2; } .ps .st-title { font-size:1.35em; } }
  @container (max-height:149px) { .ps-in { font-size:8.6cqh; } .ps .d3 { display:none !important; } .ps .st-title { font-size:1.3em; } .ps .st-text { display:none; } .ps .st-page { padding:1em 1.1em; justify-content:center; } }
  @container (max-height:214px) and (max-width:330px) { .st-foot .st-dots { display:none; } }

  /* 1. story bot: an open book */
  .ps-story { background:#FFF6E0; }
  .st-art { width:41%; height:100%; flex-shrink:0; display:block; background:linear-gradient(#1B1147, #6A2F9C); }
  .ps-tw { animation:psTwinkle 3s ease-in-out infinite; }
  @keyframes psTwinkle { 0%,100% { opacity:.95; } 50% { opacity:.25; } }
  .ps-bob { animation:psBob 3s ease-in-out infinite; }
  @keyframes psBob { 0%,100% { transform:none; } 50% { transform:translateY(-2px); } }
  .st-page { flex:1; min-width:0; display:flex; flex-direction:column; padding:1.25em 1.4em 1.1em; color:#2A1F3D;
    background:linear-gradient(90deg, rgba(42,31,61,.16), rgba(42,31,61,0) 7%), #FFF6E0; }
  .st-prompt { align-self:flex-start; max-width:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:.82em; font-weight:500; background:#E9DDFF; color:#43207A; border-radius:99em; padding:.32em .9em .36em; margin-bottom:.9em !important; }
  .st-prompt b { font-weight:800; margin-right:.5em; }
  .st-ch { font-size:.78em; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:#8A5BD6; }
  .st-title { font-family:Georgia,'Times New Roman',serif; font-weight:700; font-size:1.5em; line-height:1.12; margin:.25em 0 .4em !important; text-wrap:balance; }
  .st-text { font-family:Georgia,'Times New Roman',serif; font-size:1.06em; line-height:1.5; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; }
  .st-caret { display:inline-block; width:.12em; height:1em; margin-left:.12em; vertical-align:-.14em; background:#8A5BD6; animation:psBlink 1s steps(2) infinite; }
  @keyframes psBlink { 50% { opacity:0; } }
  .st-foot { margin-top:auto !important; display:flex; align-items:center; justify-content:space-between; gap:.8em; }
  .st-dots { display:flex; gap:.35em; }
  .st-dots i { width:.45em; height:.45em; border-radius:50%; background:rgba(42,31,61,.22); }
  .st-dots i.on { width:1.2em; border-radius:.3em; background:#8A5BD6; }
  .st-foot b { white-space:nowrap; display:inline-flex; align-items:center; gap:.4em; font-size:.85em; font-weight:800; background:#5B2A86; color:#fff; border-radius:.5em; padding:.45em .85em; }
  .st-foot svg { width:1em; height:1em; }

  /* 2. snake */
  .ps-snake { background:#0B1322; }
  .sn-board { flex:1; min-width:0; height:100%; display:block; }
  .sn-snake { stroke-dasharray:120 340; animation:psCrawl 7s linear infinite; }
  .sn-shine { stroke-dasharray:10 450; }
  @keyframes psCrawl { from { stroke-dashoffset:0; } to { stroke-dashoffset:-460; } }
  .sn-food { transform-box:fill-box; transform-origin:center; animation:psPulse 1.2s ease-in-out infinite; }
  @keyframes psPulse { 50% { transform:scale(1.18); } }
  .sn-hud { width:8.2em; flex-shrink:0; display:flex; flex-direction:column; justify-content:center; gap:1em; padding:1em 1.1em; background:#111C33; border-left:.14em solid #23355C; font-family:'Martian Mono',monospace; }
  .sn-hud span { display:block; font-size:.72em; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:#8FA3CC; }
  .sn-hud b { display:block; font-size:2.1em; font-weight:800; line-height:1.05; color:#5EE05E; font-variant-numeric:tabular-nums; }
  .sn-hud p:nth-child(2) b { color:#FFD23C; font-size:1.5em; }
  .sn-keys { display:grid; grid-template-columns:repeat(3, 1.7em); gap:.25em; }
  .sn-keys i { height:1.6em; display:grid; place-items:center; font-size:.7em; color:#C9D6F2; border-radius:.35em; }
  .sn-keys i:not(:empty) { background:#1D2C4D; border:.1em solid #34497A; }
  .sn-keys i:nth-child(6) { background:#3CCB5A; border-color:#3CCB5A; color:#0B1322; }

  /* 3. crop disease detector */
  .ps-crop { background:#0C1F17; }
  .ps-crop .ps-in { gap:1.4em; padding:1.3em; }
  .cr-cam { position:relative; height:100%; aspect-ratio:1 / 1.05; flex-shrink:0; overflow:hidden; border-radius:.9em; display:grid; place-items:center;
    background:radial-gradient(circle at 50% 45%, #7A5A3A, #4A3422 75%); box-shadow:inset 0 0 0 .14em rgba(255,255,255,.14); }
  .cr-cam svg { width:86%; height:86%; }
  .cr-box { position:absolute; border:.14em solid #FFD23C; border-radius:.3em; box-shadow:0 0 0 .08em rgba(0,0,0,.4); }
  .cr-scan { position:absolute; left:0; right:0; top:0; height:22%; background:linear-gradient(to bottom, rgba(94,224,150,0), rgba(94,224,150,.38)); border-bottom:.16em solid #5EE096; animation:psScan 2.6s cubic-bezier(.45,0,.55,1) infinite alternate; }
  @keyframes psScan { from { transform:translateY(-100%); } to { transform:translateY(455%); } }
  .cr-tag { position:absolute; left:.6em; bottom:.6em; font-size:.74em; font-weight:800; letter-spacing:.06em; text-transform:uppercase; background:rgba(0,0,0,.62); padding:.25em .6em; border-radius:.3em; }
  .cr-res { flex:1; min-width:0; display:flex; flex-direction:column; justify-content:center; gap:.5em; }
  .cr-k { font-size:.76em; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:#8FD3AE; }
  .cr-name { font-size:2.15em; font-weight:800; line-height:1.02; letter-spacing:-.01em; }
  .cr-bars { display:grid; gap:.42em; margin:.25em 0 .2em !important; }
  .cr-bars li { display:grid; grid-template-columns:6.4em 1fr 2.6em; align-items:center; gap:.6em; font-size:.84em; font-weight:600; color:rgba(255,255,255,.72); }
  .cr-bars li.on { color:#fff; }
  .cr-bars i { height:.62em; border-radius:.3em; background:rgba(255,255,255,.14); overflow:hidden; }
  .cr-bars i::after { content:''; display:block; height:100%; width:var(--w); min-width:.3em; border-radius:.3em; background:rgba(255,255,255,.45); }
  .cr-bars li.on i::after { background:#5EE096; transform-origin:left; animation:psGrow 5s cubic-bezier(.16,1,.3,1) infinite; }
  @keyframes psGrow { 0% { transform:scaleX(0); } 30%,100% { transform:scaleX(1); } }
  .cr-bars b { text-align:right; font-variant-numeric:tabular-nums; }
  .cr-bars li.on b { color:#5EE096; }
  .cr-rx { display:flex; align-items:center; gap:.45em; align-self:flex-start; font-size:.95em; font-weight:800; background:#FFD23C; color:#16130F; border-radius:.45em; padding:.4em .75em; }
  .cr-rx svg { width:1em; height:1em; flex-shrink:0; }
  .cr-sent { font-size:.78em; font-weight:600; color:#8FD3AE; }
  .cr-sent::after { content:' ✓✓'; color:#5BC8FF; }

  /* 4. weather forecaster */
  .ps-weather { background:#2F7FE0; }
  .ps-weather .ps-in { background:linear-gradient(155deg, #1E5FCC, #46A2F0 70%, #7CC3F5); }
  .we-now { width:40%; flex-shrink:0; display:flex; flex-direction:column; justify-content:center; padding:1.2em 0 1.2em 1.5em; }
  .we-city { display:inline-flex; align-items:center; gap:.45em; align-self:flex-start; font-size:.9em; font-weight:800; background:rgba(255,255,255,.2); border-radius:99em; padding:.3em .9em .32em .7em; }
  .we-city svg { width:1em; height:1em; }
  .we-big { display:flex; align-items:center; gap:.3em; margin:.35em 0 .1em -.2em !important; }
  .we-big svg { width:3.4em; height:3.4em; }
  .we-big b { font-size:3.6em; font-weight:800; line-height:1; letter-spacing:-.03em; font-variant-numeric:tabular-nums; }
  .we-sub { font-size:1.08em; font-weight:700; }
  .we-more { font-size:.8em; font-weight:500; color:rgba(255,255,255,.86); margin-top:.3em !important; }
  .we-days { flex:1; min-width:0; display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:.45em; padding:1.2em 1.3em 1.2em 1em !important; }
  .we-days li { display:flex; flex-direction:column; align-items:center; justify-content:flex-end; gap:.3em; padding:.7em 0 .6em; border-radius:.8em; background:rgba(255,255,255,.16); min-height:0; }
  .we-days li:first-child { background:rgba(255,255,255,.32); }
  .we-days b { font-size:.95em; font-weight:800; font-variant-numeric:tabular-nums; }
  .we-days i { flex:1; min-height:0; width:.55em; border-radius:.3em; background:rgba(255,255,255,.2); position:relative; overflow:hidden; }
  .we-days i::after { content:''; position:absolute; left:0; right:0; bottom:0; height:var(--h); border-radius:.3em; background:#FFD23C; transform-origin:bottom; animation:psRise 6s cubic-bezier(.16,1,.3,1) infinite; animation-delay:var(--d); }
  @keyframes psRise { 0% { transform:scaleY(0); } 22%,100% { transform:scaleY(1); } }
  .we-days svg { width:1.7em; height:1.7em; flex-shrink:0; }
  .we-days span { font-size:.8em; font-weight:700; }

  /* 5. farmer price bot */
  .ps-chat { background:#E9E1D6; }
  .ps-chat .ps-in { flex-direction:column; color:#111B21; }
  .ch-head { display:flex; align-items:center; gap:.7em; padding:.6em 1em; background:#075E54; color:#fff; flex-shrink:0; }
  .ch-av { width:2em; height:2em; border-radius:50%; background:#25D366; color:#073B34; display:grid; place-items:center; flex-shrink:0; }
  .ch-av svg { width:1.15em; height:1.15em; }
  .ch-head b { display:block; font-size:1em; font-weight:800; line-height:1.15; }
  .ch-head small { display:block; font-size:.74em; font-weight:500; color:#B8F0D0; }
  .ch-lang { margin-left:auto; display:flex; border-radius:.4em; overflow:hidden; font-size:.74em; font-weight:800; }
  .ch-lang i { padding:.25em .6em; background:rgba(255,255,255,.16); }
  .ch-lang i.on { background:#fff; color:#075E54; }
  .ch-body { flex:1; min-height:0; display:flex; flex-direction:column; justify-content:center; gap:.5em; padding:.7em 1em;
    background:radial-gradient(rgba(7,94,84,.09) .1em, transparent .12em) 0 0 / 1.2em 1.2em; }
  .ch-m { max-width:82%; border-radius:.75em; box-shadow:0 .08em .12em rgba(0,0,0,.18); }
  .ch-m.u { align-self:flex-end; background:#D9FDD3; padding:.4em .8em; font-size:.95em; font-weight:500; border-top-right-radius:.15em; }
  .ch-m.b { align-self:flex-start; width:78%; background:#fff; padding:.55em .8em .6em; border-top-left-radius:.15em; }
  .ch-t { font-size:.74em; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:#075E54; margin-bottom:.25em !important; }
  .ch-m li { display:grid; grid-template-columns:1fr auto 1em; align-items:baseline; gap:.5em; padding:.2em 0; font-size:.95em; border-top:.07em solid rgba(17,27,33,.1); }
  .ch-m li:first-child { border-top:0; }
  .ch-m li b { font-weight:800; font-variant-numeric:tabular-nums; }
  .ch-m .up { color:#0E8A4B; font-size:.7em; } .ch-m .dn { color:#D62A25; font-size:.7em; }
  .ch-rain { margin-top:.35em !important; font-size:.84em; font-weight:700; background:#E3F1FF; color:#124A8C; border-radius:.4em; padding:.28em .6em; }

  /* 6. flood risk model */
  .ps-flood { background:#0F1730; }
  .ps-flood .ps-in { gap:1.2em; padding:1.2em 1.3em; }
  .fl-map { flex:1.45; min-width:0; display:flex; flex-direction:column; gap:.55em; }
  .fl-t { font-size:.76em; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:#B9C6F5; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .fl-map svg { flex:1; min-height:0; width:100%; display:block; }
  .fl-hi { animation:psRisk 1.8s ease-in-out infinite; }
  @keyframes psRisk { 50% { opacity:.62; } }
  .fl-key { display:flex; gap:1.1em; font-size:.76em; font-weight:600; color:rgba(255,255,255,.86); }
  .fl-key span { display:inline-flex; align-items:center; gap:.4em; }
  .fl-key i { width:.75em; height:.75em; border-radius:.2em; }
  .fl-side { flex:1; min-width:0; display:flex; flex-direction:column; justify-content:center; gap:.6em; }
  .fl-alert { align-self:flex-start; font-size:.9em; font-weight:800; background:#FF5C8A; color:#2A0613; border-radius:.4em; padding:.3em .7em; white-space:nowrap; }
  .fl-list li { display:flex; justify-content:space-between; align-items:baseline; gap:.5em; padding:.26em 0; font-size:.95em; font-weight:600; border-bottom:.07em solid rgba(255,255,255,.14); }
  .fl-list b { font-family:'Martian Mono',monospace; font-size:.86em; font-weight:800; color:#FF9DB8; font-variant-numeric:tabular-nums; }
  .fl-rain p { font-size:.74em; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#B9C6F5; margin-bottom:.4em !important; }
  .fl-rain div { display:flex; align-items:flex-end; gap:.3em; height:2.6em; }
  .fl-rain i { flex:1; height:var(--h); border-radius:.2em .2em 0 0; background:#5BA8FF; }
  .fl-rain i:nth-last-child(-n+2) { background:#FF5C8A; }

  @media (prefers-reduced-motion:reduce) { .ps *, .ps *::after { animation:none !important; } }

  /* ═══════════════════════════════════════════════════════════════════
     CONVERSION PASS (2026-11-13), from the four-way critique.
     Loaded after home.css and screens.css, so these rules win.
     - Red means "reserve" and nothing else, and it has a dark edge so it reads on felt.
     - Handwriting is for short notes; sentences a parent has to believe are in the text face.
     - Phones: nothing important sits behind a sideways swipe except the six projects.
     ═══════════════════════════════════════════════════════════════════ */

  /* ── the reserve button: flat, edged, never tilted ── */
  .x-btn.go { transform:none; border:2.5px solid var(--xink); box-shadow:4px 4px 0 var(--xink); }
  .x-btn.go:hover { transform:translate(-1px,-2px); box-shadow:6px 7px 0 var(--xink); background:#C2221E; }
  .x-btn.go:active { transform:translate(3px,3px); box-shadow:1px 1px 0 var(--xink); }
  @media (hover:none) { .x-btn.go:hover { transform:none; box-shadow:4px 4px 0 var(--xink); } }
  body.xb #pnav .pn-cta, body.xb #pnav .pn-cta:hover { transform:none; border:2px solid var(--xink); }
  body.xb .sticky-cta-btn { border:2px solid var(--xink); }
  body.xb #pnav-mob .mm-cta { transform:none; border:2.5px solid var(--xink); box-shadow:4px 4px 0 var(--xink); }

  /* ── hero ── */
  .x-slip { font-family:var(--text); font-weight:600; font-size:1.16rem; line-height:1.5; padding:15px 20px; max-width:30em; }
  .x-slip strong { font-weight:800; }
  .x-act { margin-top:28px; }
  .x-nopay { margin-top:16px; color:#fff; font-size:1rem; font-weight:600; }
  .x-links { display:flex; flex-wrap:wrap; align-items:center; gap:4px 26px; margin-top:4px; }
  .x-try, .x-see { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0; background:none; border:0; cursor:pointer; color:#fff; font-family:var(--hand); font-size:1.4rem; line-height:1;
    text-decoration:underline; text-decoration-color:var(--yellow); text-decoration-thickness:3px; text-underline-offset:.22em; }
  .x-try:hover, .x-see:hover { color:var(--yellow); }
  .x-see { display:none; }
  .x-see svg { color:var(--yellow); }
  .x-proof { margin-top:14px; padding-top:16px; border-top:2px dashed rgba(255,255,255,.28); max-width:36em; }

  /* ── projects ── */
  .x-phead, .x-who { display:none; }
  .x-made li { text-transform:none; letter-spacing:0; font-size:.8rem; }

  /* ── what families say: plain paper, text face, the parent first ── */
  .x-book { align-items:center; gap:44px; }
  .x-remark { background-image:none; padding:26px 28px 24px; }
  .x-said { font-family:var(--text); font-weight:500; font-size:1.08rem; line-height:1.6; margin:14px 0 16px; max-width:34em; }
  .x-remark.big { padding:38px 40px 34px; }
  .x-remark.big .x-said { font-weight:600; font-size:clamp(1.3rem, 1.9vw, 1.7rem); line-height:1.42; margin:18px 0 22px; }
  .x-by { font-size:.95rem; color:#3A342C; }
  .x-by b { font-family:var(--hand); font-weight:400; font-size:1.45rem; line-height:1.1; color:var(--xink); }
  .x-side { gap:30px; }

  /* ── pricing ── */
  .x-pricing { gap:44px; align-items:start; }
  .x-notes { gap:30px; padding-top:10px; }

  /* ── FAQ: asking is a quiet action ── */
  .x-faq-head .x-act { margin-top:26px; gap:12px; }

  /* ── final: a note, not a slab ── */
  .x-final { max-width:900px; margin:0 auto; padding:60px 40px 52px; }
  .x-final h2 { font-size:clamp(2.3rem, 4.6vw, 4rem); }
  .x-final > p { margin:16px 0 28px; }
  .x-final .x-fact { font-family:var(--text); font-weight:600; font-size:1rem; margin-top:20px; }

  /* ── the reserve form ── */
  body.xb .modal .field:has(#f-email) { display:none; }   /* asked on WhatsApp instead; one less field on a phone */
  body.xb .modal-desc { color:#3A342C; }
  body.xb .modal-reassure { margin:6px 0 12px; font-size:.9rem; font-weight:600; color:var(--xink); line-height:1.45; text-wrap:balance; }
  body.xb .modal .signup-submit { min-height:56px; border:2.5px solid var(--xink); border-radius:3px; font-family:var(--disp); font-weight:400; font-size:1.3rem; letter-spacing:.01em; margin-top:0; }
  body.xb .modal-title:focus { outline:none !important; }

  /* ── tablets ── */
  @media (max-width:1080px) {
    .x-book { gap:30px; align-items:start; }
    .x-notes { padding-top:0; }
  }

  /* ── phones ── */
  @media (max-width:600px) {
    /* the page scrolls freely; no snapping between boards, and the first board is as tall as its content */
    html { scroll-snap-type:none; }
    body.xb header.hero, body.xb section[id], body.xb .final { scroll-snap-align:none; }
    body.xb header.hero { min-height:0; }
    .x-wrap { padding:56px 18px 60px; }
    .x-title { margin-bottom:24px; }

    /* first screen */
    .x-hero { padding-top:88px; padding-bottom:44px; }
    .x-slip { font-size:1.05rem; line-height:1.45; margin-top:20px; padding:13px 16px; }
    .x-act { grid-template-columns:1fr; margin-top:20px; }
    .x-act .x-btn.ask { display:none; }           /* chat lives in the bottom bar on phones */
    .x-act .x-btn.go { min-height:58px; font-size:1.4rem; }
    .x-nopay { order:5; margin-top:14px; font-size:.95rem; }
    .x-links { order:6; margin-top:2px; gap:0 20px; }
    .x-try, .x-see { font-size:1.28rem; }
    .x-see { display:inline-flex; order:0; margin-top:0; }
    .x-proof { order:7; margin-top:10px; padding-top:14px; width:100%; }
    .x-proof li:nth-child(2) { display:none; }

    /* projects: six full cards in one sideways row; the stamp page is a desktop thing */
    .x-builds { gap:0; }
    .x-phead { display:block; }
    .x-swipe { font-family:var(--hand); font-size:1.25rem; line-height:1.2; color:#fff; margin:-8px 0 4px; }
    .x-page { display:none; }
    .x-viewer { position:static; order:0; background:none; box-shadow:none; transform:none; padding:16px 18px 22px; width:auto; align-items:stretch; }
    .x-viewer > .pin { display:none; }
    .x-viewer > .x-shot, .x-viewer > .x-shot[hidden] { display:block; flex:0 0 86%; background:var(--paper); padding:9px 9px 16px; box-shadow:var(--lift); transform:rotate(-.5deg); }
    .x-viewer > .x-shot:nth-of-type(even) { transform:rotate(.6deg); }
    .x-shot .ps, .x-real { aspect-ratio:16 / 10; }
    .x-shot figcaption { padding:12px 6px 0; }
    .x-exno span + span { display:none; }
    .x-shot h3 { font-size:1.5rem; margin:6px 0 5px; }
    .x-does { display:block; font-size:.98rem; line-height:1.45; }
    .x-entry, .x-made { display:none; }
    .x-who { display:block; margin-top:10px; padding-top:10px; border-top:2px dotted rgba(22,19,15,.4); font-family:'Martian Mono',monospace; font-size:.76rem; font-weight:600; letter-spacing:.02em; text-transform:uppercase; color:var(--c); }

    /* tracks: three notes, stacked, nothing off screen */
    .x-tracks { grid-template-columns:1fr; gap:18px; }
    .x-tracks > li::before, .x-tracks > li::after { bottom:10px; height:16px; }
    .x-track { display:grid; grid-template-columns:auto minmax(0,1fr); column-gap:18px; align-items:start; padding:24px 20px 16px; }
    .x-thead { display:contents; }
    .x-age { display:grid; gap:2px; justify-items:start; font-size:.72rem; }
    .x-age b { font-size:2.1rem; }
    .x-track h3 { font-size:1.75rem; margin:2px 0 4px; white-space:normal; }
    .x-tname p { font-size:1.12rem; line-height:1.25; margin-bottom:6px; }
    .x-track .x-more { grid-column:2; font-size:1.15rem; min-height:36px; margin-top:0; }

    /* families: stacked, nothing off screen */
    .x-book { gap:20px; }
    .x-side { gap:20px; }
    .x-remark, .x-remark.big { padding:22px 20px 20px; }
    .x-remark.big .x-said { font-size:1.2rem; line-height:1.45; margin:14px 0 16px; }
    .x-said { font-size:1rem; margin:12px 0 14px; }

    /* pricing: Builder in full, Squad as a short second pass */
    .x-pricing { gap:26px; }
    .x-passes { grid-template-columns:1fr; gap:22px; }
    .x-pass:nth-child(2) ul { display:none; }
    .x-pass:nth-child(2) .x-per { margin-bottom:18px; }
    .x-notes { gap:18px; }

    .x-faq-head .x-act { display:grid; margin-top:18px; }
    .x-faq-head .x-act .x-btn.ask { display:inline-flex; }
    .x-final { padding:48px 20px 40px; }
    .x-final .x-fact { font-size:.95rem; }
  }
  @media (max-width:600px) and (max-height:720px) {
    .x-does { display:block; }
    .x-shot .ps, .x-real { aspect-ratio:16 / 10; }
  }

  /* desktop first screen: the headline gives up a little height so the price, button and proof all fit */
  @media (min-width:601px) {
    .x-hero { padding-top:96px; padding-bottom:36px; }
    .x-cut { gap:10px; }
    .x-cut .a, .x-cut .d { font-size:clamp(2.6rem, min(6.2vw, 7vh), 6rem); }
    .x-cut .b, .x-cut .c { font-size:clamp(2.3rem, min(5.4vw, 6.1vh), 5.2rem); }
    .x-slip { margin-top:22px; }
    .x-act { margin-top:22px; }
    .x-nopay { margin-top:14px; }
    .x-proof { margin-top:8px; padding-top:14px; }
  }
  @media (max-width:600px) { .x-nopay { font-size:.88rem; white-space:nowrap; } }
  @media (max-width:600px) { body.xb .sticky-cta-text b { display:block; } }
  @media (min-width:601px) { body.xb .sticky-cta-text b::after { content:" ·"; } }

  /* ── who teaches + what a class looks like ── */
  .x-class { display:grid; grid-template-columns:minmax(0,370px) minmax(0,1fr); gap:52px; align-items:center; }
  .x-idcard { position:relative; background:var(--paper); transform:rotate(var(--r)); box-shadow:var(--lift); border-radius:10px; overflow:hidden; }
  .x-idk { display:flex; justify-content:space-between; align-items:center; background:var(--sky); padding:14px 22px 12px; border-bottom:2.5px solid var(--xink); font-family:'Martian Mono',monospace; font-size:.8rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
  .x-idk i { width:44px; height:12px; border-radius:6px; background:var(--felt); box-shadow:inset 0 2px 3px rgba(0,0,0,.45); }
  .x-idrow { display:flex; align-items:center; gap:16px; padding:22px 22px 0; }
  .x-idpic { flex:0 0 76px; height:76px; display:grid; place-items:center; background:var(--yellow); border:2.5px solid var(--xink); border-radius:6px; font-family:var(--disp); font-size:1.9rem; line-height:1; }
  .x-idrow h3 { font-family:var(--disp); font-weight:400; font-size:1.55rem; line-height:1.08; }
  .x-idrow p { font-size:.98rem; font-weight:600; color:#3A342C; margin-top:4px; }
  .x-idcard .x-entry { margin:18px 22px 0; }
  .x-idnote { margin:20px 22px 24px; font-size:1rem; font-weight:500; line-height:1.45; color:#3A342C; }
  .x-lesson { position:relative; background:var(--paper); padding:26px 28px 28px; transform:rotate(var(--r)); box-shadow:var(--lift); }
  .x-lk { font-family:'Martian Mono',monospace; font-size:.8rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
  .x-blocks { list-style:none; display:grid; grid-template-columns:2.2fr 5fr 1.9fr; margin:18px 0 0; border:2.5px solid var(--xink); }
  .x-blocks li { padding:18px 18px 20px; background:var(--yellow); }
  .x-blocks li:nth-child(2) { background:var(--sky); } .x-blocks li:nth-child(3) { background:var(--pink); }
  .x-blocks li + li { border-left:2.5px solid var(--xink); }
  .x-blocks b { display:block; font-family:var(--disp); font-weight:400; font-size:1.9rem; line-height:1; white-space:nowrap; }
  .x-blocks span { display:block; margin-top:10px; font-size:1.02rem; font-weight:600; line-height:1.35; }
  .x-lend { margin-top:20px; font-family:var(--hand); font-size:1.5rem; line-height:1.2; }
  body.xb .modal-when { margin:14px 0 0; font-size:.9rem; font-weight:500; color:#3A342C; text-align:center; }
  @media (max-width:1080px) { .x-class { grid-template-columns:minmax(0,320px) minmax(0,1fr); gap:30px; align-items:start; } .x-blocks { grid-template-columns:1fr; } .x-blocks li { display:grid; grid-template-columns:104px 1fr; align-items:center; padding:14px 16px; } .x-blocks li + li { border-left:0; border-top:2.5px solid var(--xink); } .x-blocks span { margin-top:0; } }
  @media (max-width:600px) {
    /* darker felt marks every other board */
    body.xb #programs, body.xb #how, body.xb #faq { background:none; box-shadow:none; }
    body.xb #class, body.xb #stories, body.xb #pricing { background:rgba(0,0,0,.2); box-shadow:inset 0 10px 14px -10px rgba(0,0,0,.5), inset 0 -10px 14px -10px rgba(0,0,0,.5); }
    .x-class { grid-template-columns:1fr; gap:24px; }
    .x-idrow { padding:18px 18px 0; } .x-idk { padding:12px 18px 10px; } .x-idcard .x-entry { margin:14px 18px 0; grid-template-columns:repeat(2, minmax(0,1fr)); } .x-idnote { margin:16px 18px 20px; }
    .x-idpic { flex-basis:64px; height:64px; font-size:1.6rem; } .x-idrow h3 { font-size:1.35rem; }
    .x-lesson { padding:20px 18px 22px; }
    .x-blocks li { grid-template-columns:88px 1fr; padding:12px 14px; } .x-blocks b { font-size:1.5rem; } .x-blocks span { font-size:.98rem; }
    .x-lend { font-size:1.3rem; margin-top:16px; }
    /* footer on phones: the two columns a parent needs; the guide and age links stay on desktop */
    body.xb #pfooter { padding-bottom:92px; }
    body.xb #pfooter .pf-tagline { display:none; }
    body.xb #pfooter .pf-inner > :nth-child(3), body.xb #pfooter .pf-inner > :nth-child(4) { display:none; }
    body.xb #pfooter .pf-cities { margin-top:18px; }
    body.xb #pfooter .pf-cities a { padding:4px 0; }
  }
  @media (max-width:600px) { .x-idcard .x-entry { display:grid; } }
  body.xb .modal-when { margin:12px 0 0; }
  body.xb .modal-reassure { margin:4px 0 12px; }
  @media (max-height:760px) { body.xb .modal-reassure { position:sticky; bottom:76px; z-index:2; background:var(--paper); padding:6px 0 4px; margin:4px 0 8px; } }

  /* ── no wooden rail between boards (owner, 2026-11-13): every other board sits on darker felt instead, at every width ── */
  body.xb header.x-board, body.xb section.x-board, body.xb div.x-board { border-bottom:0; border-image:none; }
  body.xb #class, body.xb #stories, body.xb #pricing { background:rgba(0,0,0,.2); box-shadow:inset 0 12px 16px -12px rgba(0,0,0,.5), inset 0 -12px 16px -12px rgba(0,0,0,.5); }
  @media (min-width:601px) { .x-hero { min-height:100vh; } }

  /* phone footer (owner, 2026-11-13): just the logo and the social links. The link columns, the cities and the small print are desktop only */
  @media (max-width:600px) {
    body.xb #pfooter { padding-top:36px; }
    body.xb #pfooter .pf-inner { display:block; }
    body.xb #pfooter .pf-inner > :nth-child(n+2), body.xb #pfooter .pf-cities, body.xb #pfooter .pf-bottom, body.xb #pfooter .pf-tagline { display:none; }
    body.xb #pfooter .pf-social { margin-top:6px; }
  }
  .x-final h2 + .x-btn { margin-top:26px; }

/* ═══════════ US chrome in the school-exhibition world: the header, footer, lead form and
   bottom bar that us/us.js injects. Included in both us/x.css and us/world.css by build_us.py. ═══════════ */
body.xb #usnav, body.xb #usfoot, body.xb .leadbox, body.xb .skip, body.xb #usbar {
  --cream:#FFFDF7; --cream-2:#F4EEDD; --white:#fff; --ink:#16130F; --muted:#3A342C; --line:rgba(22,19,15,.16); --line-2:rgba(22,19,15,.3);
  --saffron:#D62A25; --saffron-dark:#B3211D; --danger:#B3261E;
  --head:'Bagel Fat One','Arial Rounded MT Bold',system-ui,sans-serif; --body:'Hanken Grotesk',system-ui,sans-serif;
  font-family:var(--body);
}
body.xb .skip { border-radius:3px; }

/* header */
body.xb #usnav { background:rgba(8,64,47,.95); border-bottom:1px solid rgba(255,255,255,.1); backdrop-filter:blur(16px); }
body.xb #usnav .logo { font-family:var(--head); font-weight:400; font-size:1.45rem; color:#fff; letter-spacing:.01em; }
body.xb #usnav nav a:not(.btn) { color:rgba(255,255,255,.88); font-weight:600; font-size:.95rem; border-radius:4px; }
body.xb #usnav nav a:not(.btn):hover { color:#fff; background:rgba(255,255,255,.12); }
body.xb #usnav :focus-visible, body.xb #usfoot :focus-visible { outline:3px solid #fff; outline-offset:3px; }
body.xb #usnav .btn, body.xb .leadbox .btn, body.xb #usbar .btn {
  background:#D62A25; color:#fff; border:2px solid #16130F; border-radius:3px; box-shadow:none; transform:none;
  font-family:var(--head); font-weight:400; font-size:1.05rem; letter-spacing:.01em; text-decoration:none;
}
body.xb #usnav .btn:hover, body.xb .leadbox .btn:hover, body.xb #usbar .btn:hover { background:#C2221E; transform:none; }
body.xb #usnav .btn { min-height:42px; }
@media (max-width:480px) { body.xb #usnav .btn { font-size:.95rem; padding:0 12px; } }

/* lead form */
body.xb .leadbox { background:#FFFDF7; color:#16130F; border:0; border-radius:0; box-shadow:0 10px 18px -10px rgba(0,0,0,.6), 0 2px 3px rgba(0,0,0,.25); }
body.xb .modal .leadbox { box-shadow:none; background:none; padding:0; min-height:0; }
body.xb .leadbox h2 { font-family:var(--head); font-weight:400; font-size:1.8rem; line-height:1.1; letter-spacing:0; color:#16130F; }
body.xb .leadbox .sub { font-size:1rem; font-weight:500; color:#3A342C; }
body.xb .leadbox .field > label, body.xb .leadbox .field > legend { font-weight:700; font-size:.95rem; }
body.xb .leadbox .field input[type=text], body.xb .leadbox .field input[type=email], body.xb .leadbox .field input[type=tel] { background:#fff; border:2px solid #16130F; border-radius:4px; font-family:var(--body); }
body.xb .leadbox .field input::placeholder { color:#6B655C; }
body.xb .leadbox .field input:focus { border-color:#D62A25; box-shadow:0 0 0 3px rgba(214,42,37,.22); }
body.xb .leadbox .ages label { background:#fff; border:2px solid #16130F; border-radius:4px; }
body.xb .leadbox .ages input:checked + label { background:#16130F; color:#fff; }
body.xb .leadbox .ages input:focus-visible + label { outline:3px solid #2B5FD9; outline-offset:2px; }
body.xb .leadbox .phone span { background:#FFD23C; border:2px solid #16130F; border-right:0; border-radius:4px 0 0 4px; }
body.xb .leadbox .phone input { border-radius:0 4px 4px 0 !important; }
body.xb .leadbox .track { border-radius:0; background:#FFF0B8; font-weight:500; }
body.xb .leadbox .btn { min-height:56px; border-width:2.5px; font-size:1.3rem; box-shadow:4px 4px 0 #16130F; margin-top:6px; }
body.xb .leadbox .btn:active { transform:translate(3px,3px); box-shadow:1px 1px 0 #16130F; }
body.xb .leadbox .fine { font-size:.86rem; color:#3A342C; margin-top:16px; }
body.xb .leadbox .form-error { border-radius:3px; }
body.xb .leadbox .done h2 { padding:0; }
body.xb .leadbox :focus-visible { outline-color:#2B5FD9; }
body.xb .nextbatch { border-radius:0; background:#FFD23C; color:#16130F; border:0; font-weight:700; transform:rotate(-.8deg); box-shadow:0 10px 18px -10px rgba(0,0,0,.6), 0 2px 3px rgba(0,0,0,.25); }

/* footer */
body.xb #usfoot { background:#08402F; color:rgba(255,255,255,.84); border-top:0; margin-top:0; padding-bottom:104px; }
body.xb #usfoot .logo { font-family:var(--head); font-weight:400; font-size:1.6rem; color:#fff; }
body.xb #usfoot h2 { font-family:'Gochi Hand','Comic Sans MS',cursive; font-weight:400; font-size:1.4rem; letter-spacing:0; text-transform:none; color:#FFD23C; margin-bottom:8px; }
body.xb #usfoot a:hover { color:#FFD23C; text-decoration:none; }
body.xb #usfoot .bottom { border-top:2px dashed rgba(255,255,255,.3); color:rgba(255,255,255,.78); }
/* phone footer: the logo and one line of contact, like the India site */
@media (max-width:600px) {
  body.xb #usfoot { padding-top:36px; }
  body.xb #usfoot .cols { display:block; }
  body.xb #usfoot .cols > :nth-child(n+2), body.xb #usfoot .cols p, body.xb #usfoot .bottom { display:none; }
}

/* bottom bar on phones */
body.xb #usbar { background:#08402F; border-top:0; }
body.xb #usbar .btn { min-height:52px; font-size:1.2rem; border-width:2.5px; }

/* ═══════════ US home + US program pages: additions to the school-exhibition home CSS.
   Appended after home.css, screens.css and convert.css in us/x.css (built by build_us.py). ═══════════ */

/* a board can ask for darker felt without an id */
body.xb .x-dark { background:rgba(0,0,0,.2); box-shadow:inset 0 12px 16px -12px rgba(0,0,0,.5), inset 0 -12px 16px -12px rgba(0,0,0,.5); }

/* small honest notes on the felt (where the projects and quotes come from) */
.x-usnote { color:rgba(255,255,255,.9); font-size:1rem; font-weight:500; line-height:1.55; max-width:46em; margin-top:30px; }
.x-title + .x-usnote { margin:-22px 0 38px; }
.x-intro { color:#fff; font-size:1.14rem; font-weight:500; line-height:1.6; max-width:44em; margin:-18px 0 38px; }

/* track notes carry the school grades too */
.x-age small { display:block; flex-basis:100%; font-size:.8rem; font-weight:800; letter-spacing:.1em; margin-top:2px; }

/* the long US button label */
.x-btn.go.long { font-size:1.25rem; }

/* one price, so one pass with the notes beside it */
.x-pricing.one { grid-template-columns:minmax(0,440px) minmax(0,400px); justify-content:center; gap:72px; align-items:center; }
.x-pricing.one .x-passes { grid-template-columns:1fr; }
.x-pricing.one .x-notes { gap:30px; }
.x-note.plain { font-family:var(--text); font-weight:500; font-size:1.02rem; line-height:1.5; padding:18px 20px; }

/* the lead form sits in the same paper modal as the India form */
body.xb .modal-overlay .modal { background:var(--paper); border-radius:6px; }
body.xb .sticky-cta-text .sc-extra { display:none; }

/* ── program pages ── */
.x-phero { display:grid; justify-items:center; text-align:center; padding-top:112px; padding-bottom:72px; }
.x-crumbs { color:rgba(255,255,255,.82); font-size:.9rem; font-weight:600; margin-bottom:26px; justify-self:start; }
.x-crumbs a { color:var(--yellow); text-underline-offset:.2em; }
.x-badge { position:relative; display:inline-block; background:var(--yellow); color:var(--xink); padding:7px 14px 5px; font-family:var(--hand); font-size:1.3rem; line-height:1.1; transform:rotate(-2deg); box-shadow:var(--lift); margin-bottom:24px; }
.x-h1 { font-size:clamp(2.1rem, 4.6vw, 3.7rem); line-height:1.05; max-width:16em; margin-bottom:30px; }
.x-sub { color:#fff; font-size:1.18rem; font-weight:500; line-height:1.6; max-width:38em; }
.x-phero .x-act { justify-content:center; margin-top:30px; }
.x-phero .x-btn.ask { text-decoration:none; }
.x-phero .x-proof { justify-content:center; margin-top:34px; max-width:none; }

.x-trio { display:grid; grid-template-columns:repeat(auto-fit, minmax(0, 372px)); justify-content:center; gap:34px; }
.x-trio > .x-shot { position:relative; background:var(--paper); padding:12px 12px 18px; box-shadow:var(--lift); transform:rotate(var(--r, -.8deg)); }
.x-trio > .x-shot .x-exno span + span { transform:none; }

.x-mods { list-style:none; counter-reset:m; position:relative; max-width:920px; background:var(--paper); padding:8px 40px; box-shadow:var(--lift); transform:rotate(-.3deg); }
.x-mods li { counter-increment:m; position:relative; padding:24px 0 24px 78px; border-bottom:1.5px solid rgba(22,19,15,.14); }
.x-mods li:last-child { border-bottom:0; }
.x-mods li::before { content:counter(m); position:absolute; left:6px; top:18px; font-family:var(--disp); font-size:2.8rem; line-height:1; color:var(--xred); }
.x-mods h3 { font-family:var(--text); font-weight:800; font-size:1.2rem; line-height:1.25; }
.x-mods p { font-size:1.02rem; font-weight:500; line-height:1.55; color:#3A342C; margin-top:5px; max-width:44em; }

.x-sticks { list-style:none; display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:30px; }
.x-sticks li { position:relative; background:var(--bg); padding:34px 26px 28px; transform:rotate(var(--r)); box-shadow:0 12px 14px -10px rgba(0,0,0,.55), 0 1px 2px rgba(0,0,0,.3);
  background-image:linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.03) 22px, rgba(0,0,0,0) 23px); border-bottom-left-radius:54px 10px; border-bottom-right-radius:70px 14px; }
.x-sticks h3 { font-family:var(--text); font-weight:800; font-size:1.25rem; line-height:1.2; margin-bottom:8px; }
.x-sticks p { font-size:1rem; font-weight:500; line-height:1.5; }

.x-plinks { color:rgba(255,255,255,.9); font-size:1rem; font-weight:500; line-height:1.7; margin-top:26px; }
.x-plinks + .x-plinks { margin-top:6px; }
.x-plinks a { color:var(--yellow); font-weight:700; text-underline-offset:.2em; }
.x-faq-side { display:grid; }

@media (max-width:1080px) {
  .x-pricing.one { grid-template-columns:minmax(0,440px); gap:36px; }
  .x-pricing.one .x-notes { grid-template-columns:1fr; }
  .x-sticks { grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width:600px) {
  .x-usnote { font-size:.95rem; margin-top:20px; }
  .x-title + .x-usnote { margin:-10px 0 24px; }
  .x-intro { font-size:1.02rem; margin:-8px 0 24px; }
  .x-btn.go.long, .x-act .x-btn.go.long { font-size:1.16rem; }
  .x-final .x-btn.go.long { font-size:1.12rem; }
  .x-pricing.one { gap:24px; }
  .x-pricing.one .x-notes { gap:18px; }
  .x-phero { padding-top:92px; padding-bottom:48px; justify-items:start; text-align:left; }
  .x-h1 { margin-bottom:22px; }
  .x-sub { font-size:1.05rem; }
  .x-phero .x-act { margin-top:22px; }
  .x-phero .x-act .x-btn.ask { display:inline-flex; }
  .x-phero .x-proof { margin-top:22px; justify-content:start; }
  .x-phero .x-proof li:nth-child(2) { display:list-item; }
  .x-trio { grid-template-columns:1fr; gap:22px; }
  .x-trio > .x-shot { padding:9px 9px 16px; }
  .x-mods { padding:4px 18px; }
  .x-mods li { padding:18px 0 18px 48px; }
  .x-mods li::before { left:0; top:16px; font-size:2rem; }
  .x-mods h3 { font-size:1.1rem; } .x-mods p { font-size:.98rem; }
  .x-sticks { grid-template-columns:1fr; gap:18px; }
  .x-sticks li { padding:26px 20px 22px; }
  .x-plinks { font-size:.95rem; }
}
