/* Good Luck Yogi home, variation 5: Clear Path (round 2).
   Mobile first (390 x 844), then 700 px (tablet grids) and 1024 px (desktop splits). */

:root {
  --ink: #151719;
  --ink-2: #3a3f45;
  --muted: #5b6168;
  --cream: #fff8ea;
  --cobalt: #2857c5;
  --cobalt-d: #1f449c;
  --cobalt-t: #eef3ff;
  --sky: #a9e7f7;
  --sky-t: #e6f6fc;
  --green-t: #e9f6e6;
  --green-i: #2a6e22;
  --violet-t: #f4e9f3;
  --violet-i: #6b3468;
  --sun: #ffd24f;
  --line: #e4ddcc;
  --line-w: #e3e6ea;
  --focus: #1f449c;
  --gut: 20px;
  --wrap: 1344px;
  --r-lg: 32px;
  --r-md: 24px;
  --display: "Baloo 2", "Arial Rounded MT Bold", ui-rounded, system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (min-width: 391px) { :root { --gut: 24px; } }
@media (min-width: 1024px) { :root { --gut: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, video, svg, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 800; line-height: 1; letter-spacing: -0.015em; text-wrap: balance; }
p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.on-dark { --focus: var(--sun); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
[id] { scroll-margin-top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip { position: absolute; left: 12px; top: -120px; z-index: 100; display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- buttons, links, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 0 26px; border: 2px solid transparent; border-radius: 999px; font: 800 1rem/1.15 var(--body); text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .16s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cobalt); color: #fff; }
.btn-primary:hover { background: var(--cobalt-d); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #ffe07e; }
.btn-ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .7); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-xl { min-height: 60px; padding: 0 34px; font-size: 1.15rem; }
.btn-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; color: var(--cobalt); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.btn-link:hover { color: var(--cobalt-d); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; min-height: 30px; padding: 0 13px; border-radius: 999px; font: 800 .82rem/1 var(--body); letter-spacing: .01em; }
.chip-cobalt { background: var(--cobalt); color: #fff; }
.chip-green { background: var(--green-t); color: var(--green-i); }
.chip-violet { background: var(--violet-t); color: var(--violet-i); }
.chip-ink { background: var(--ink); color: #fff; }
.lead { font-size: 1.125rem; line-height: 1.5; }
.sec-head h3 { font-size: clamp(2.1rem, 9vw, 3.5rem); line-height: .95; }
.sec-head p { max-width: 46ch; margin-top: 10px; color: var(--ink-2); }
@media (min-width: 1024px) { .btn { min-height: 50px; } .btn-xl { min-height: 60px; } }

/* ---------- nav (new GLYSPACE lockup, shared/brand.css) ---------- */
.top { position: relative; z-index: 20; background: var(--ink); color: #fff; }
.top-bar { display: flex; align-items: center; gap: 10px; min-height: 72px; }
.top .gly-logo { margin-right: auto; color: #fff; }
.nav-app { min-height: 44px; padding: 0 16px; font-size: .94rem; }
.nav-app-long { display: none; }
.menu-btn { display: grid; place-items: center; flex: none; width: 48px; height: 48px; padding: 0; border: 2px solid rgb(255 255 255 / .55); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.menu-btn[aria-expanded="true"] { background: #fff; color: var(--ink); }
.menu { position: absolute; left: 0; right: 0; top: 100%; display: none; padding: 6px var(--gut) 18px; background: var(--ink); border-top: 1px solid rgb(255 255 255 / .12); box-shadow: 0 18px 30px rgb(0 0 0 / .25); }
.menu.is-open { display: block; }
.menu a { display: flex; align-items: center; min-height: 54px; border-bottom: 1px solid rgb(255 255 255 / .1); font: 800 1.15rem/1 var(--body); text-decoration: none; }
.menu li:last-child a { border-bottom: 0; }
@media (min-width: 480px) { .nav-app-long { display: inline; } .nav-app-short { display: none; } }
@media (max-width: 374px) {
  .top-bar { gap: 8px; }
  .top .gly-logo { gap: 7px; }
  .top .gly-logo img { width: 38px; }
  .top .gly-logo span { font-size: .98rem; }
  .nav-app { padding: 0 13px; }
  .menu-btn { width: 44px; height: 44px; }
}
@media (min-width: 1024px) {
  .top-bar { min-height: 80px; gap: 14px; }
  .menu-btn { display: none; }
  .menu { position: static; display: block; margin-right: 6px; padding: 0; background: none; border: 0; box-shadow: none; }
  .menu ul { display: flex; gap: 2px; }
  .menu a { min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; font-size: .97rem; }
  .menu a:hover { background: rgb(255 255 255 / .1); }
  .nav-app { padding: 0 22px; }
}

/* ---------- hero: promise + two picture doors ---------- */
.hero { background: var(--cream); padding: 26px 0 34px; }
.hero-grid { display: grid; gap: 22px; }
.hero h1 { font-size: clamp(2.5rem, 14.4vw, 4.6rem); line-height: .9; letter-spacing: -0.025em; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--cobalt); }
.hero-lead { max-width: 34ch; margin-top: 14px; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.5; }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.doors li { min-width: 0; }
.door { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 2px solid var(--ink); border-radius: 22px; background: #fff; color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.door img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.door-families img { object-position: 80% 45%; }
.door-schools img { object-position: 47% 45%; }
.door-text { position: relative; display: block; flex: 1; padding: 15px 34px 16px 14px; }
.door-title { display: block; font: 800 1.25rem/1 var(--display); }
.door-sub { display: block; margin-top: 6px; color: var(--ink-2); font-size: .84rem; font-weight: 700; line-height: 1.3; }
.door-arrow { position: absolute; top: 15px; right: 10px; }
.door-families { border-color: var(--cobalt); background: var(--cobalt); color: #fff; }
.door-families .door-sub { color: #fff; }
@media (hover: hover) and (pointer: fine) { .door:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -20px rgb(21 23 25 / .5); } }
@media (min-width: 700px) {
  .hero { padding: 52px 0 60px; }
  .hero-grid { gap: 34px; }
  .door img { aspect-ratio: 4 / 3; }
  .door-title { font-size: 1.5rem; }
  .door-sub { font-size: .95rem; }
}
@media (min-width: 1024px) {
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 56px; }
  .hero h1 { font-size: clamp(3.4rem, 5.6vw, 5.4rem); }
  .hero-lead { max-width: 30ch; margin-top: 22px; font-size: 1.25rem; }
  .doors { gap: 18px; }
  .door { border-radius: 28px; }
  .door img { aspect-ratio: 4 / 5; }
  .door-text { padding: 20px 46px 22px 22px; }
  .door-title { font-size: clamp(1.3rem, 1.7vw, 1.65rem); white-space: nowrap; }
  .door-arrow { top: 21px; right: 18px; }
}

/* ---------- proof strip ---------- */
.proof { background: #fff; padding: 36px 0 40px; border-bottom: 1px solid var(--line-w); }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.stat strong { display: block; color: var(--cobalt); font: 800 2.6rem/1 var(--display); letter-spacing: -0.02em; }
.stat span { display: block; margin-top: 6px; color: var(--ink-2); font-size: .92rem; font-weight: 700; line-height: 1.4; }
.mini-quote { grid-column: 1 / -1; display: grid; grid-template-columns: 60px 1fr; column-gap: 14px; align-items: center; padding: 14px 16px; border-radius: 20px; background: var(--sky-t); }
.mini-quote img { grid-row: span 2; width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.mini-quote blockquote { font-size: 1rem; font-weight: 800; line-height: 1.35; }
.mini-quote figcaption { margin-top: 4px; color: var(--muted); font-size: .85rem; font-weight: 700; }
.partners { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line-w); }
.partners h2 { color: var(--ink-2); font: 800 .95rem/1.2 var(--body); letter-spacing: 0; text-align: center; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 26px; margin-top: 18px; }
.logos img { width: auto; height: 40px; filter: grayscale(1); }
.logos .seal { height: 56px; }
.logos .wide { height: 28px; }
.logos .ink { filter: brightness(0); opacity: .7; } /* white lettering on clear: shown as an ink tint */
@media (min-width: 700px) {
  .proof-grid { grid-template-columns: 1fr 1fr 1.6fr; align-items: center; gap: 28px; }
  .mini-quote { grid-column: auto; }
}
@media (min-width: 1024px) {
  .proof { padding: 44px 0 48px; }
  .proof-grid { gap: 44px; }
  .stat strong { font-size: 3.3rem; }
  .stat span { font-size: 1rem; }
  .mini-quote { grid-template-columns: 72px 1fr; padding: 18px 22px; }
  .mini-quote img { width: 72px; height: 72px; }
  .mini-quote blockquote { font-size: 1.12rem; }
  .partners { display: flex; align-items: center; gap: 40px; margin-top: 36px; padding-top: 30px; }
  .partners h2 { flex: none; text-align: left; }
  .logos { flex: 1; justify-content: space-between; margin-top: 0; }
}

/* ---------- path headers (compact bands) ---------- */
.path-band { padding: 48px 0 40px; }
.band-sky { background: var(--sky-t); }
.band-green { background: var(--green-t); }
.path-head { display: grid; gap: 14px; }
.path-head h2 { font-size: clamp(2.75rem, 12.5vw, 5.25rem); line-height: .92; }
.path-lead { max-width: 40ch; color: var(--ink-2); font-size: 1.1rem; line-height: 1.5; }
.steps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.steps a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 7px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; font-weight: 800; text-decoration: none; transition: background-color .16s ease, color .16s ease; }
.steps a:hover { background: var(--ink); color: #fff; }
.steps .n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--cobalt); color: #fff; font: 800 1rem/1 var(--display); }
.band-green .steps .n { background: var(--green-i); }
@media (min-width: 1024px) {
  .path-band { padding: 72px 0 64px; }
  .path-head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; gap: 56px; }
}

/* ---------- 1. plush: gallery with the spin, packs beside it ---------- */
.plush { background: #fff; padding: 56px 0 40px; }
.plush-top { display: grid; gap: 28px; }
.status { display: flex; flex-wrap: wrap; gap: 8px; }
.plush-intro h3 { margin-top: 16px; font-size: clamp(2.6rem, 11.8vw, 4.5rem); line-height: .92; }
.plush-intro .lead { margin-top: 16px; font-weight: 700; }
.plush-intro .sub { margin-top: 10px; color: var(--ink-2); }
.stage { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-md); background: #2a2f5c; }
.panel { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility 0s linear .25s; }
.panel.is-on { visibility: visible; opacity: 1; transition: opacity .25s ease; }
.panel img, .panel video { width: 100%; height: 100%; object-fit: cover; }
.panel video { object-fit: contain; background: #ece3d3; }
.spin { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.spin.is-drag { cursor: grabbing; }
.spin img, .spin canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spin canvas { opacity: 0; transition: opacity .3s ease; }
.spin.is-ready canvas { opacity: 1; }
.spin:focus-visible { outline: none; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 6px var(--ink); }
.stage-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; min-height: 52px; margin-top: 12px; }
.stage-cap { flex: 1 1 12rem; color: var(--ink-2); font-size: .95rem; font-weight: 700; line-height: 1.4; }
.drag-hint { display: inline-block; margin-right: 4px; color: var(--cobalt); font-weight: 800; }
.btn-play { flex: none; min-height: 48px; padding: 0 20px 0 14px; font-size: .95rem; }
.btn-play[hidden] { display: none; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.thumb { display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 0; padding: 6px 6px 9px; border: 2px solid var(--line-w); border-radius: 16px; background: #fff; color: var(--ink); font-size: .78rem; font-weight: 800; line-height: 1.15; text-align: center; cursor: pointer; transition: border-color .16s ease, background-color .16s ease; }
.thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.thumb[aria-pressed="true"] { border-color: var(--cobalt); background: var(--cobalt-t); }

.packs { min-width: 0; margin: 0; padding: 0; border: 0; }
.packs legend { padding: 0; font: 800 clamp(1.7rem, 7vw, 2.2rem)/1 var(--display); letter-spacing: -0.015em; }
.pack-grid { display: grid; gap: 10px; margin-top: 16px; }
.pack { position: relative; padding: 16px 18px 6px; border: 2px solid var(--line); border-radius: 20px; background: #fff; transition: border-color .16s ease, background-color .16s ease; }
.pack input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pack label { display: flex; align-items: center; gap: 12px; }
.pack .dot { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border: 2px solid var(--ink); border-radius: 50%; background: #fff; }
.pack-name { font: 800 1.3rem/1.05 var(--display); }
.pack-price { margin-left: auto; color: var(--cobalt); font: 800 1.8rem/1 var(--display); }
.pack-list { display: flex; flex-wrap: wrap; gap: 2px 16px; margin: 8px 0 0 36px; color: var(--ink-2); font-size: .94rem; line-height: 1.45; }
.pack-list li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 8px 2px 0; border-radius: 50%; background: var(--green-i); vertical-align: middle; }
.pack-go { position: relative; z-index: 2; display: inline-flex; align-items: center; min-height: 44px; margin-left: 36px; color: var(--cobalt); font-weight: 800; font-size: .95rem; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.pack-go:hover { color: var(--cobalt-d); }
.pack.is-picked { border-color: var(--cobalt); background: var(--cobalt-t); }
.pack.is-picked .dot { border-color: var(--cobalt); }
.pack.is-picked .dot::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--cobalt); }
.pack:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.reserve { display: grid; gap: 10px; margin-top: 16px; }
.reserve .note { color: var(--muted); font-size: .92rem; }
.facts { border-top: 2px solid var(--ink); }
.facts li { padding: 14px 0 16px; border-bottom: 1px solid var(--line-w); }
.facts h4 { font: 800 1.02rem/1.25 var(--body); letter-spacing: 0; }
.facts p { margin-top: 5px; color: var(--ink-2); font-size: .95rem; line-height: 1.55; }
@media (min-width: 700px) {
  .reserve { grid-template-columns: auto 1fr; align-items: center; gap: 20px; }
  .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
  .facts li { border-bottom: 0; }
}
@media (min-width: 1024px) {
  .plush { padding: 96px 0 56px; }
  .plush-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; grid-template-areas: "gal intro" "gal packs" "facts facts"; align-items: start; gap: 0 64px; }
  .plush-intro { grid-area: intro; }
  .gallery { grid-area: gal; }
  .packs-wrap { grid-area: packs; margin-top: 28px; }
  .facts { grid-area: facts; margin-top: 48px; }
  .thumbs { gap: 12px; }
  .thumb { font-size: .86rem; }
}

/* ---------- the crew: four plushies, words below each picture ---------- */
.crew { background: #fff; padding: 40px 0 64px; }
.crew-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.pal { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: var(--f); color: var(--t); }
.pal-gly { --f: #101f52; --t: #fff; --c: #101f52; }
.pal-turbo { --f: #ffd23f; --t: #16240a; --c: #16240a; }
.pal-dozer { --f: #b9a5ff; --t: #2a1238; --c: #2a1238; }
.pal-petal { --f: #a8dcff; --t: #14301f; --c: #14301f; }
.pal-pic { display: flex; justify-content: center; align-items: flex-end; height: 136px; padding: 14px 10px 0; }
.pal-pic img { width: auto; height: 122px; max-width: 100%; object-fit: contain; }
.pal-text { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 14px 14px 14px; }
.pal-status { padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--c); font-size: .74rem; font-weight: 800; line-height: 1.2; }
.pal h4 { margin-top: 10px; font-size: 1.5rem; }
.pal-line { margin: 4px 0 12px; font-size: .86rem; font-weight: 600; line-height: 1.35; }
.pal-go { display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .9rem; font-weight: 800; text-decoration: none; }
.pal-gly .pal-go { background: var(--sun); color: var(--ink); }
.pal-go:hover { opacity: .9; }
@media (min-width: 1024px) {
  .crew { padding: 56px 0 104px; }
  .crew-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
  .pal-pic { height: 232px; padding-top: 22px; }
  .pal-pic img { height: 210px; }
  .pal-text { padding: 18px 20px 20px; }
  .pal h4 { font-size: 1.8rem; }
  .pal-line { font-size: .95rem; }
}

/* ---------- tees ---------- */
.tees-sec { background: var(--cream); padding: 56px 0 60px; }
.tees-head { display: grid; gap: 4px; justify-items: start; }
.tees-head h3 { margin-top: 12px; }
.tees-head .btn { margin-top: 12px; }
.tees { margin: 22px calc(var(--gut) * -1) 0; padding: 0 var(--gut) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); overscroll-behavior-x: contain; }
.tees ul { display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 12px; }
.tee { overflow: hidden; border-radius: 18px; background: #fff; scroll-snap-align: start; transition: transform .2s ease, box-shadow .2s ease; }
.tee img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.tee-name { padding: 10px 12px 0; font-size: .9rem; font-weight: 800; line-height: 1.3; }
.tee-name span { margin-right: .3em; color: var(--muted); }
.tee-colour { padding: 2px 12px 12px; color: var(--muted); font-size: .82rem; }
@media (hover: hover) and (pointer: fine) { .tee:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 18px 30px -22px rgb(21 23 25 / .5); } }
@media (min-width: 700px) {
  .tees ul { grid-auto-columns: 30%; gap: 16px; }
  .crew-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
}
@media (min-width: 1024px) {
  .tees-sec { padding: 96px 0; }
  .tees-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; gap: 32px; }
  .tees-head h3, .tees-head .btn { margin-top: 0; }
  .tees-head > div h3 { margin-top: 12px; }
  .tees { margin: 26px 0 0; padding: 0; overflow: visible; }
  .tees ul { grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
}

/* ---------- 2. app: GLY Inner Space and the breath-timer phone ---------- */
.app { overflow: clip; background: var(--sky); padding: 64px 0 72px; }
.app-grid { display: grid; gap: 26px; }
.app-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 1.02rem; }
.app h3 { max-width: 15ch; margin-top: 14px; font-size: clamp(2.3rem, 10.4vw, 4.3rem); line-height: .94; }
.app .lead { max-width: 40ch; margin-top: 16px; color: var(--ink-2); }
.ticks { display: grid; gap: 9px; font-weight: 700; }
.ticks li { display: flex; align-items: center; gap: 12px; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.signup { display: flex; flex-wrap: wrap; gap: 8px; width: min(100%, 460px); margin-top: 22px; padding: 6px; border-radius: 32px; background: #fff; }
.signup input { flex: 1 1 10rem; min-width: 0; min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; outline: none; font-size: 1rem; }
.signup:focus-within { box-shadow: 0 0 0 3px var(--cobalt-d); }
.signup .btn { flex: 1 0 auto; min-height: 48px; }
.signup-note { min-height: 1.6em; margin-top: 10px; font-weight: 800; }
.live-app { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; padding-top: 20px; border-top: 1px solid rgb(21 23 25 / .18); }
.live-app p { flex-basis: 100%; color: var(--ink-2); font-size: .95rem; font-weight: 700; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badges a { display: block; border-radius: 10px; }
.badges img { width: auto; height: 46px; }

.app-stage { position: relative; display: grid; place-items: center; margin-inline: calc(var(--gut) * -1); padding: 10px 0 18px; overflow-x: clip; }
.app-shot { position: absolute; z-index: 1; width: clamp(112px, 30vw, 205px); height: auto; aspect-ratio: 9 / 19.2; object-fit: cover; border: 6px solid #0b1020; border-radius: 24px; box-shadow: 0 30px 50px -30px rgb(10 16 46 / .5); }
.app-shot-l { left: 2%; top: 14%; rotate: -8deg; }
.app-shot-r { right: 2%; top: 20%; rotate: 7deg; }
.phone { --w: 300px; position: relative; width: var(--w); aspect-ratio: 9 / 19.2; padding: calc(var(--w) * .032); border-radius: calc(var(--w) * .155); background: #0b1020; box-shadow: 0 0 0 1.5px rgb(255 255 255 / .1) inset, 0 50px 80px -40px rgb(10 16 46 / .55), 0 22px 36px -22px rgb(10 16 46 / .5); }
.phone-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--w) * .125); background: #1b2470; isolation: isolate; color: #fff; }
.phone-screen::after { content: ""; position: absolute; left: 50%; top: 2.6%; z-index: 5; width: 30%; height: 3.4%; translate: -50% 0; border-radius: 999px; background: #0b1020; }

/* The breath timer (ported from the GLYSPACE shop): one 14 s loop, in 4 · hold 2 · out 6 · rest 2.
   Only transform and opacity change; it waits paused until the phone is on screen (main.js adds .is-live). */
.bt-phone { --w: min(56vw, 244px); z-index: 2; font-size: calc(var(--w) / 20); }
.bt__view { --seat: 9%; --gh: 31%; --loop: 14s; --breath: cubic-bezier(.333, 0, .667, 1); background: #151f52; font-family: var(--body); -webkit-user-select: none; user-select: none; }
.bt__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 100%; transform-origin: 50% 85%; transform: scale(1.03); }
.bt__gly { position: absolute; left: 50%; bottom: var(--seat); height: var(--gh); width: auto; max-width: none; translate: -50% 0; transform-origin: 50% 100%; }
.bt__gly--out { opacity: 0; }
.bt__shadow { position: absolute; left: 50%; bottom: calc(var(--seat) - 1%); width: 46%; height: 3%; translate: -50% 0; border-radius: 50%; background: rgb(20 12 50 / .36); filter: blur(.3em); }
.bt__ring, .bt__guide { position: absolute; left: 50%; bottom: calc(var(--seat) + var(--gh) * .5); aspect-ratio: 1; border-radius: 50%; translate: -50% 50%; }
.bt__guide { border: .08em solid rgb(255 255 255 / .22); }
.bt__guide--a { width: 46%; }
.bt__guide--b { width: 82%; }
.bt__ring { width: 82%; border: .4em solid #fff; background: radial-gradient(closest-side, rgb(255 255 255 / .42), rgb(255 255 255 / 0) 78%); box-shadow: 0 0 2.8em rgb(170 215 255 / .7); transform: scale(.76); opacity: .8; }
/* the words sit on their own solid plate, clear of the picture */
.bt__words { position: absolute; left: 50%; top: 12%; z-index: 3; width: 6.6em; height: 1.9em; translate: -50% 0; border-radius: 999px; background: rgb(18 26 72 / .92); color: #fff; font-family: var(--display); font-size: 1.7em; font-weight: 800; line-height: 1.9; letter-spacing: -.02em; text-align: center; }
.bt__words span { position: absolute; left: 0; right: 0; top: 0; opacity: 0; }
.bt__words span:first-child { opacity: 1; }
.bt__bg { animation: bt-bg var(--loop) var(--breath) infinite paused; }
.bt__ring { animation: bt-ring var(--loop) var(--breath) infinite paused; }
.bt__gly--in { animation: bt-gly var(--loop) var(--breath) infinite paused, bt-pose-in var(--loop) linear infinite paused; }
.bt__gly--out { animation: bt-gly var(--loop) var(--breath) infinite paused, bt-pose-out var(--loop) linear infinite paused; }
.bt__words { animation: bt-word var(--loop) var(--breath) infinite paused; }
.bt__words span:nth-child(1) { animation: bt-w1 var(--loop) step-end infinite paused; }
.bt__words span:nth-child(2) { animation: bt-w2 var(--loop) step-end infinite paused; }
.bt__words span:nth-child(3) { animation: bt-w3 var(--loop) step-end infinite paused; }
.bt__words span:nth-child(4) { animation: bt-w4 var(--loop) step-end infinite paused; }
.bt-phone.is-live .bt__view * { animation-play-state: running; }
@keyframes bt-ring { 0%, 85.714%, 100% { transform: scale(.561); opacity: .62; } 28.571%, 42.857% { transform: scale(1); opacity: 1; } }
@keyframes bt-gly { 0%, 85.714%, 100% { transform: scale(.985); } 28.571%, 42.857% { transform: scale(1.025); } }
@keyframes bt-bg { 0%, 85.714%, 100% { transform: scale(1.01); } 28.571%, 42.857% { transform: scale(1.06); } }
@keyframes bt-word { 0%, 85.714%, 100% { transform: scale(.94); } 28.571%, 42.857% { transform: scale(1.04); } }
@keyframes bt-pose-in { 0%, 42.857% { opacity: 1; } 47.143%, 85.714% { opacity: 0; } 90%, 100% { opacity: 1; } }
@keyframes bt-pose-out { 0%, 42.857% { opacity: 0; } 47.143%, 85.714% { opacity: 1; } 90%, 100% { opacity: 0; } }
@keyframes bt-w1 { 0% { opacity: 1; } 28.571%, 100% { opacity: 0; } }
@keyframes bt-w2 { 0% { opacity: 0; } 28.571% { opacity: 1; } 42.857%, 100% { opacity: 0; } }
@keyframes bt-w3 { 0% { opacity: 0; } 42.857% { opacity: 1; } 85.714%, 100% { opacity: 0; } }
@keyframes bt-w4 { 0% { opacity: 0; } 85.714%, 100% { opacity: 1; } }
@media (min-width: 1024px) {
  .app { padding: 104px 0 112px; }
  .app-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "head stage" "more stage"; align-items: start; gap: 0 64px; }
  .app-head { grid-area: head; }
  .app-stage { grid-area: stage; align-self: center; min-height: 640px; margin: 0; padding: 0; }
  .app-more { grid-area: more; margin-top: 28px; }
  .app-shot-l { left: 4%; top: 16%; rotate: -9deg; }
  .app-shot-r { right: 4%; top: 22%; rotate: 8deg; }
  .bt-phone { --w: clamp(240px, 22vw, 300px); }
}

/* ---------- 3. book ---------- */
.book { background: var(--cream); }
.book-art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 40%; }
.book-copy { padding: 36px var(--gut) 72px; }
.book h3 { max-width: 14ch; margin-top: 16px; font-size: clamp(2.3rem, 10.4vw, 4.2rem); line-height: .95; }
.book .lead { margin-top: 16px; font-weight: 700; }
.book .meta { margin-top: 12px; color: var(--ink-2); }
.first-ed { display: inline-block; margin-top: 18px; padding: 10px 16px; border: 2px solid var(--line); border-radius: 14px; background: #fff; font-weight: 700; }
@media (min-width: 700px) { .book-art img { aspect-ratio: 16 / 10; object-position: 50% 42%; } }
@media (min-width: 1024px) {
  .book-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .book-art { align-self: stretch; }
  .book-art img { height: 100%; min-height: 620px; aspect-ratio: auto; object-position: 50% 50%; border-radius: 0 var(--r-lg) var(--r-lg) 0; }
  .book-copy { max-width: 720px; padding: 88px max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))) 88px 72px; }
}

/* ---------- schools ---------- */
.schools { background: #fff; }
.school-feature { display: grid; gap: 30px; padding-top: 56px; }
.feature-copy h3 { font-size: clamp(2.3rem, 10.4vw, 4rem); line-height: .95; }
.feature-copy p { max-width: 44ch; margin-top: 14px; color: var(--ink-2); font-size: 1.08rem; line-height: 1.55; }
.video { overflow: hidden; border-radius: var(--r-md); background: var(--ink); }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); cursor: pointer; }
.video-frame img { width: 100%; height: 100%; object-fit: cover; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 76px; padding: 14px 18px; border: 0; background: var(--ink); color: #fff; text-align: left; cursor: pointer; }
.video-play[hidden] { display: none; }
.video-play:focus-visible { outline: 3px solid var(--sun); outline-offset: -6px; }
.play-dot { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--sun); color: var(--ink); }
.video-text strong { display: block; font-size: 1.02rem; font-weight: 800; line-height: 1.25; }
.video-text span { display: block; margin-top: 2px; color: rgb(255 255 255 / .86); font-size: .9rem; line-height: 1.35; }
.services-wrap { padding-top: 56px; padding-bottom: 72px; }
.services-lead { max-width: 44ch; color: var(--ink-2); font-size: 1.05rem; font-weight: 700; line-height: 1.5; }
.services { display: grid; gap: 12px; margin-top: 20px; }
.service { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: start; gap: 16px; padding: 14px; border-radius: 20px; background: var(--cream); }
.service img { width: 92px; height: 92px; object-fit: cover; border-radius: 14px; }
.service h3 { font-size: 1.4rem; line-height: 1.05; }
.service p { margin-top: 6px; color: var(--ink-2); font-size: .94rem; line-height: 1.5; }
.package { display: grid; gap: 4px; margin-top: 36px; padding: 28px 22px 24px; border-radius: var(--r-lg); background: var(--green-t); }
.package h3 { max-width: 17ch; font-size: clamp(1.9rem, 8.2vw, 3rem); line-height: 1; }
.package p { max-width: 46ch; margin-top: 12px; color: var(--ink-2); font-size: 1.04rem; }
@media (min-width: 700px) {
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .service { display: block; padding: 0 0 22px; overflow: hidden; }
  .service img { width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: 0; }
  .service > div { padding: 18px 20px 0; }
}
@media (min-width: 1024px) {
  .school-feature { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 64px; padding-top: 96px; }
  .services-wrap { padding-top: 88px; padding-bottom: 104px; }
  .services { gap: 22px; margin-top: 26px; }
  .service h3 { font-size: 1.65rem; }
  .package { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; margin-top: 52px; padding: 44px 56px; }
  .package h3 { max-width: 24ch; }
  .package .actions { margin-top: 0; }
}

/* ---------- founders ---------- */
.story { background: var(--cream); padding: 64px 0; }
.story-grid { display: grid; gap: 30px; }
.founders { display: flex; gap: 16px; }
.founders figure { flex: 1; max-width: 128px; }
.founders img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.founders figcaption { margin-top: 10px; font-size: .92rem; font-weight: 800; text-align: center; }
.story h2 { max-width: 15ch; font-size: clamp(2.2rem, 10vw, 4.2rem); line-height: .95; }
.story .lead { margin-top: 14px; color: var(--cobalt); font-weight: 800; }
.story-copy > p:not(.lead) { max-width: 60ch; margin-top: 12px; color: var(--ink-2); }
@media (min-width: 1024px) {
  .story { padding: 104px 0; }
  .story-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 72px; }
  .founders { gap: 24px; }
  .founders figure { max-width: 240px; }
}

/* ---------- kids ---------- */
.kids { background: var(--sky-t); padding: 64px 0; }
.kids h2 { font-size: clamp(2.2rem, 10vw, 4.2rem); line-height: .95; }
.quotes { display: grid; gap: 12px; margin-top: 26px; }
.quote { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; column-gap: 16px; padding: 16px; border-radius: var(--r-md); background: #fff; }
.quote img { grid-row: span 2; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.quote blockquote { font-size: 1.08rem; font-weight: 800; line-height: 1.35; }
.quote figcaption { margin-top: 6px; color: var(--muted); font-size: .9rem; font-weight: 700; }
@media (min-width: 700px) {
  .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .quote { display: block; padding: 26px; }
  .quote img { width: 92px; height: 92px; margin-bottom: 18px; }
}
@media (min-width: 1024px) {
  .kids { padding: 104px 0; }
  .quotes { margin-top: 38px; gap: 22px; }
  .quote { padding: 30px; }
  .quote blockquote { font-size: 1.3rem; }
}

/* ---------- questions ---------- */
.faq { background: #fff; padding: 64px 0; }
.faq-grid { display: grid; gap: 24px; }
.faq h2 { max-width: 12ch; font-size: clamp(2.2rem, 10vw, 4.2rem); line-height: .95; }
.faq-head p { margin-top: 14px; color: var(--ink-2); }
.faq-head a { color: var(--cobalt); font-weight: 800; text-underline-offset: 3px; }
.faq-list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-w); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; padding: 12px 0; font: 800 1.05rem/1.3 var(--body); list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--cobalt-t); color: var(--cobalt); font: 800 1.35rem/1 var(--body); transition: transform .16s ease; }
.faq details[open] > summary::after { transform: rotate(45deg); }
.ans { max-width: 64ch; padding: 0 0 18px; color: var(--ink-2); }
.ans a:not(.btn-link) { color: var(--cobalt); font-weight: 800; }
.ans .btn-link { margin-top: 4px; }
@media (min-width: 1024px) {
  .faq { padding: 104px 0; }
  .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; gap: 72px; }
  .faq summary { min-height: 70px; font-size: 1.12rem; }
}

/* ---------- blog ---------- */
.learn { background: var(--cream); padding: 64px 0; }
.learn-head { display: grid; gap: 20px; }
.learn h2 { max-width: 14ch; font-size: clamp(2.2rem, 10vw, 4.2rem); line-height: .95; }
.learn-head p { max-width: 56ch; margin-top: 14px; color: var(--ink-2); }
.learn-head .btn { justify-self: start; }
.posts { display: grid; gap: 12px; margin-top: 26px; }
.post a { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: center; gap: 14px; height: 100%; padding: 12px; border-radius: 20px; background: #fff; text-decoration: none; transition: transform .16s ease; }
.post img { width: 104px; height: 78px; object-fit: cover; border-radius: 12px; }
.post-body { display: block; min-width: 0; }
.post-date { display: block; color: var(--muted); font-size: .82rem; font-weight: 800; }
.post-title { display: block; margin-top: 3px; font-size: 1rem; font-weight: 800; line-height: 1.3; }
.post-desc { display: none; }
@media (hover: hover) and (pointer: fine) { .post a:hover { transform: translateY(-2px); } }
@media (min-width: 700px) {
  .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .post a { display: block; padding: 0 0 22px; overflow: hidden; }
  .post img { width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: 0; }
  .post-body { padding: 18px 20px 0; }
  .post-title { margin-top: 6px; font-size: 1.15rem; }
  .post-desc { display: block; margin-top: 10px; color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
}
@media (min-width: 1024px) {
  .learn { padding: 104px 0; }
  .learn-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .posts { margin-top: 38px; gap: 22px; }
}

/* ---------- contact + footer ---------- */
.contact { background: var(--ink); color: #fff; padding: 60px 0 68px; }
.contact-grid { display: grid; gap: 36px; }
@media (min-width: 600px) { .contact-grid { gap: 56px; } }
.contact-gly { width: 128px; }
.contact h2 { font-size: clamp(2.4rem, 11vw, 4.6rem); line-height: .93; }
.contact p { max-width: 44ch; margin-top: 14px; color: rgb(255 255 255 / .88); font-size: 1.08rem; line-height: 1.55; }
@media (min-width: 1024px) {
  .contact { padding: 96px 0; }
  .contact-grid { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 72px; }
  .contact-gly { width: 280px; }
}
.foot { background: #0d0f11; color: #fff; padding: 52px 0 104px; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.foot-brand, .foot-col:last-child { grid-column: 1 / -1; }
.foot .gly-logo { color: #fff; }
.foot-line { margin-top: 16px; font-weight: 700; }
.foot-mail { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; text-underline-offset: 4px; }
.social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.social a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid rgb(255 255 255 / .35); border-radius: 999px; font-size: .92rem; font-weight: 800; text-decoration: none; }
.social a:hover { border-color: #fff; }
.foot h2 { color: rgb(255 255 255 / .74); font: 800 .9rem/1.2 var(--body); letter-spacing: .03em; }
.links { margin-top: 6px; }
.links a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; font-weight: 700; text-decoration: none; }
.links a:hover { text-decoration: underline; }
.foot .badges { margin-top: 14px; }
@media (min-width: 1024px) {
  .foot { padding: 76px 0 84px; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; }
  .foot-brand, .foot-col:last-child { grid-column: auto; }
}

/* ---------- phone action bar (kept clear of the review pill, bottom left) ---------- */
.dock { position: fixed; right: 12px; bottom: 64px; z-index: 40; display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: #fff; box-shadow: 0 12px 32px rgb(21 23 25 / .2), 0 0 0 1px rgb(21 23 25 / .08); visibility: hidden; opacity: 0; transform: translateY(14px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
.dock.is-on { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
.dock .btn { min-height: 44px; padding: 0 16px; font-size: .94rem; }
@media (max-width: 359px) { .dock .btn { padding: 0 12px; font-size: .88rem; } }
@media (min-width: 700px) { .dock { display: none; } }

/* ---------- reduced motion: no movement, everything still shown ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .bt__view, .bt__view * { animation: none !important; }
  .dock, .door:hover, .tee:hover, .post a:hover, .btn:active { transform: none; }
}
