/* Good Luck Yogi home: World Stage (round 2).
   Mobile first. Breakpoints: 391 (gutter), 700 (tablet), 1024 (desktop sections), 1200 (desktop stage and app theatre). */

:root {
  --ink: #151719;
  --cyan: #00b3e6;
  --sky: #a9e7f7;
  --cobalt: #2857c5;
  --green: #55bd4a;
  --sun: #ffd24f;
  --cream: #fff8ea;
  --white: #ffffff;
  --muted: #4a5058;
  --soft-light: #c9cdd2;
  --line: rgba(21, 23, 25, 0.12);
  --display: "Baloo 2", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 20px;
  --focus: var(--ink);
  --shadow: 0 30px 60px -30px rgba(21, 23, 25, 0.42);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (min-width: 391px) { :root { --gutter: 24px; } }
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, video { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 800; line-height: 0.95; letter-spacing: -0.02em; text-wrap: balance; }
p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
h2 { font-size: clamp(2.5rem, 12vw, 3.75rem); }
h3 { font-size: 1.375rem; line-height: 1.1; letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.wrap { width: min(100% - 2 * var(--gutter), 1360px); margin-inline: auto; }
.lead { font-size: 1.125rem; line-height: 1.45; max-width: 52ch; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.kicker { font: 800 0.8125rem/1.2 var(--body); letter-spacing: 0.02em; color: var(--cobalt); }

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

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em; min-height: 52px; padding: 0.8em 1.6em;
  border: 2px solid transparent; border-radius: 999px; font: 800 1rem/1.1 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #2b3036; }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--sky); }
.btn--cyan { background: var(--cyan); color: var(--ink); }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: #ffe07f; }
.tlink { display: inline-flex; align-items: center; gap: 0.45em; min-height: 44px; font-weight: 800; color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.tlink .i { transition: transform 0.16s ease; }
.tlink:hover .i { transform: translateX(3px); }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border: 2px solid var(--cobalt); border-radius: 999px; font: 800 0.875rem/1 var(--body); color: var(--cobalt); background: var(--white); }
.chip--solid { background: var(--cobalt); color: var(--white); }
.chip--ink { border-color: var(--ink); background: var(--ink); color: var(--white); }

/* ---------- nav (the new GLY lockup from shared/brand.css) ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: var(--ink); color: var(--white); --focus: var(--sun); }
.nav__bar { display: flex; align-items: center; gap: 8px; height: 72px; max-width: 1424px; margin-inline: auto; padding-inline: var(--gutter); }
.nav__logo { flex: none; margin-right: auto; color: var(--white); border-radius: 12px; }
.nav__links { display: none; }
.nav__acts { flex: none; display: flex; align-items: center; gap: 8px; }
.nav__app { min-height: 44px; padding: 0 16px; font-size: 0.9375rem; background: var(--cyan); color: var(--ink); }
.nav__app:hover { background: #3dc8ef; }
.nav__contact { display: none; min-height: 44px; padding: 0 20px; font-size: 0.9375rem; }
.nav__menu { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 2px solid rgba(255, 255, 255, 0.36); border-radius: 999px; background: transparent; color: var(--white); cursor: pointer; }
.nav__menu svg { width: 22px; height: 22px; grid-area: 1 / 1; }
.nav__menu-close, .nav__menu[aria-expanded="true"] .nav__menu-open { display: none; }
.nav__menu[aria-expanded="true"] .nav__menu-close { display: block; }
.lbl-long { display: none; }
@media (max-width: 359px) {
  .nav__bar { padding-inline: 14px; gap: 6px; }
  .nav__logo { gap: 8px; }
  .nav__logo img { width: 38px; }
  .nav__app { padding: 0 14px; }
  .nav__menu { width: 46px; height: 46px; }
}
@media (min-width: 700px) {
  .lbl-long { display: inline; }
  .lbl-short { display: none; }
  .nav__contact { display: inline-flex; }
}
.menu { position: absolute; inset: 100% 0 auto; max-height: calc(100dvh - 72px); overflow: auto; padding: 6px var(--gutter) 28px; background: var(--ink); border-top: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 28px 40px -14px rgba(0, 0, 0, 0.45); }
.menu li a { display: flex; align-items: center; justify-content: space-between; min-height: 58px; border-bottom: 1px solid rgba(255, 255, 255, 0.13); color: var(--white); text-decoration: none; font: 800 1.375rem/1 var(--display); }
.menu li a svg { width: 22px; height: 22px; opacity: 0.7; }
.menu__app { width: 100%; margin-top: 22px; }
@media (min-width: 1024px) {
  .nav__bar { height: 76px; gap: 16px; padding-inline: 32px; }
  .nav__logo { margin-right: 0; }
  .nav__links { display: flex; flex: 1; justify-content: center; gap: 2px; }
  .nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 15px; border-radius: 999px; color: var(--white); font: 800 0.95rem/1 var(--body); text-decoration: none; transition: background-color 0.16s ease; }
  .nav__links a:hover { background: rgba(255, 255, 255, 0.1); }
  .nav__menu, .menu { display: none; }
  .nav__app { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
  .nav__app:hover { background: rgba(255, 255, 255, 0.1); }
}

/* ---------- 1 · world stage ---------- */
.stage { position: relative; display: flex; flex-direction: column; background: var(--cyan); color: var(--ink); overflow: clip; }
.stage__title { font-size: clamp(3.25rem, 15vw, 4.5rem); line-height: 0.9; letter-spacing: -0.035em; }
.stage__title span { display: block; }
.stage__lead { max-width: 31ch; font-size: 1.125rem; line-height: 1.45; }
.stage__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
.stage__art { position: relative; }
.stage__art::before { content: ""; position: absolute; inset: -22px 0 0; background: var(--cobalt); clip-path: ellipse(92% 100% at 50% 100%); }
.stage__art img { position: relative; width: 100%; aspect-ratio: 1.18; object-fit: cover; object-position: 100% 50%; clip-path: ellipse(92% 100% at 50% 100%); }
@media (max-width: 699px) {
  .stage__copy, .stage__acts { display: contents; }
  .stage__title { order: 1; margin: 30px var(--gutter) 0; }
  .stage__lead { order: 2; margin: 14px var(--gutter) 0; }
  .stage__acts > .btn { order: 3; align-self: flex-start; margin: 22px var(--gutter) 0; }
  .stage__art { order: 4; margin-top: 34px; }
  .stage__more { order: 5; display: flex; justify-content: center; padding: 8px var(--gutter) 12px; background: var(--cobalt); color: var(--white); --focus: var(--sun); }
}
@media (min-width: 700px) {
  .stage__copy { padding: 56px var(--gutter) 0; }
  .stage__title { font-size: clamp(4.75rem, 9vw, 6.5rem); line-height: 0.88; }
  .stage__lead { margin-top: 20px; font-size: 1.25rem; max-width: 34ch; }
  .stage__acts { margin-top: 28px; }
  .stage__art { margin-top: 56px; }
  .stage__art::before { inset: -30px 0 0; }
  .stage__art img { aspect-ratio: 16 / 9; object-position: 100% 60%; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .stage__copy { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: 56px; align-items: end; padding-top: 64px; }
  .stage__title { grid-row: 1 / 3; }
  .stage__lead { margin: 0; }
  .stage__acts { margin-top: 22px; }
}
@media (min-width: 1200px) {
  .stage { --h: clamp(690px, min(calc(100dvh - 76px), 60vw), 900px); --art: max(58%, calc(var(--h) * 0.67 + 120px)); min-height: var(--h); justify-content: center; }
  .stage__copy { position: relative; z-index: 1; width: calc(100% - var(--art)); padding: 56px 24px 64px max(32px, calc((100% - 1360px) / 2)); container-type: inline-size; }
  .stage__title { font-size: clamp(4.25rem, 6.6vw, 7.5rem); font-size: min(7.5rem, 18.6cqi); line-height: 0.88; }
  .stage__lead { margin-top: 26px; max-width: 27em; }
  .stage__acts { margin-top: 36px; }
  .stage__art { position: absolute; top: 0; right: 0; bottom: 0; width: var(--art); margin: 0; }
  .stage__art::before { inset: 0; clip-path: ellipse(100% 100% at 100% 74%); }
  .stage__art img { height: 100%; aspect-ratio: auto; object-position: 100% 50%; clip-path: ellipse(calc(100% - 40px) 100% at 100% 74%); }
}

/* ---------- 2 · plush: GLY's preorder ---------- */
.plush { background: var(--white); padding: 60px 0 72px; }
.plush__grid { display: grid; gap: 34px; }
.plush__side { display: contents; }
.plush__head { order: 1; }
.plush__gallery { order: 2; }
.plush__panel { order: 3; }
.crew { order: 4; }
.plush .chips { margin-bottom: 18px; }
.plush__lead { margin-top: 18px; }
.plush__sub { margin-top: 10px; color: var(--muted); }

/* the turntable: drag (or arrow keys) to turn GLY through 60 frames */
.viewer { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 28px; background: #26335f; }
.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 { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.spin:focus-visible { outline: 3px solid var(--sun); outline-offset: -7px; border-radius: 28px; }
.viewer__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--ink); }
.viewer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 14px; }
.spin__hint { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.95rem; color: var(--muted); }
.spin__hint svg { width: 30px; height: 24px; color: var(--cobalt); }
.demo__play { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px 0 6px; border: 0; border-radius: 999px; background: var(--ink); color: var(--white); font: 800 1rem/1 var(--body); cursor: pointer; transition: transform 0.16s ease, background-color 0.16s ease; }
.demo__play:hover { background: #2b3036; transform: translateY(-2px); }
.demo__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sun); color: var(--ink); }
.demo__icon svg { width: 20px; height: 20px; grid-area: 1 / 1; }
.demo__i-back, .demo__play.is-playing .demo__i-play { display: none; }
.demo__play.is-playing .demo__i-back { display: block; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.shots img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; outline: 1px solid var(--line); outline-offset: -1px; }
.shots figcaption { display: none; }

.packs { min-width: 0; margin: 0; padding: 0; border: 0; }
.packs legend { padding: 0; margin-bottom: 4px; }
.pack { position: relative; display: block; margin-top: 10px; cursor: pointer; }
.pack input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pack__body { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "dot name price" "dot what what"; gap: 4px 14px; align-items: center; padding: 15px 18px; border: 2px solid #e2ded5; border-radius: 20px; background: var(--white); transition: border-color 0.16s ease, background-color 0.16s ease; }
.pack:hover .pack__body { border-color: #b9c6e8; }
.pack__dot { grid-area: dot; align-self: start; width: 22px; height: 22px; margin-top: 2px; border: 2px solid #8d949b; border-radius: 50%; transition: background-color 0.16s ease, border-color 0.16s ease; }
.pack__name { grid-area: name; font-weight: 800; font-size: 1.0625rem; line-height: 1.25; }
.pack__price { grid-area: price; font: 800 1.625rem/1 var(--display); letter-spacing: -0.01em; }
.pack__what { grid-area: what; font-size: 0.9375rem; line-height: 1.45; color: var(--muted); }
.pack input:checked + .pack__body { border-color: var(--cobalt); background: #f0f4ff; }
.pack input:checked + .pack__body .pack__dot { border-color: var(--cobalt); background: var(--cobalt); box-shadow: inset 0 0 0 4px var(--white); }
.pack input:focus-visible + .pack__body { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn--buy { width: 100%; min-height: 58px; margin-top: 20px; background: var(--cobalt); color: var(--white); font-size: 1.0625rem; }
.btn--buy:hover { background: #1f49ad; }
.plush__note { margin-top: 10px; text-align: center; font-size: 0.875rem; color: var(--muted); }
.plush__refund { display: flex; justify-content: center; }
.plush__refund .tlink { font-size: 0.9375rem; }
.facts { margin-top: 18px; border-top: 2px solid var(--ink); }
.fact { border-bottom: 1px solid var(--line); }
.fact summary { display: flex; align-items: center; justify-content: space-between; min-height: 54px; cursor: pointer; list-style: none; font: 800 1.125rem/1.2 var(--display); }
.fact summary::-webkit-details-marker { display: none; }
.fact summary::after { content: "+"; font: 700 1.5rem/1 var(--body); color: var(--cobalt); transition: transform 0.2s ease; }
.fact[open] summary::after { transform: rotate(45deg); }
.fact p { padding-bottom: 16px; font-size: 0.9375rem; line-height: 1.55; color: var(--muted); }

/* the crew: coming soon, each on its own colour field, words beside the picture (never on it) */
.crew__title { font-size: 1.875rem; }
.crew__note { margin-top: 8px; color: var(--muted); }
.crew__list { display: grid; gap: 12px; margin-top: 20px; }
.mate { --f: #ffd23f; --t: #16240a; display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 14px 10px 8px; border-radius: 22px; background: var(--f); color: var(--t); }
.mate--dozer { --f: #b9a5ff; --t: #2a1238; }
.mate--petal { --f: #a8dcff; --t: #14301f; }
.mate__pic img { width: 100%; height: 116px; object-fit: contain; }
.mate h4 { font-size: 1.5rem; }
.mate__role { margin-top: 2px; font-weight: 800; font-size: 0.875rem; }
.mate__line { margin-top: 4px; font-size: 0.9375rem; line-height: 1.35; }
.mate__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; }
.mate__status { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border: 2px solid currentColor; border-radius: 999px; font: 800 0.75rem/1 var(--body); }
.mate__notify { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--t); color: var(--f); font-weight: 800; font-size: 0.9375rem; text-decoration: none; transition: transform 0.16s ease; }
.mate__notify:hover { transform: translateY(-2px); }
.mate { --focus: var(--t); }

/* the tees: a compact rail, featured designs first */
.tees { margin-top: 52px; padding-top: 44px; border-top: 1px solid var(--line); }
.tees__head { display: grid; gap: 12px; }
.tees__title { margin-top: 6px; font-size: clamp(2.25rem, 9vw, 3rem); }
.tees__note { color: var(--muted); max-width: 46ch; }
.tees__acts { display: flex; align-items: center; gap: 10px; }
.rail-btn { display: none; place-items: center; width: 48px; height: 48px; padding: 0; border: 2px solid var(--ink); border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; transition: background-color 0.16s ease; }
.rail-btn svg { width: 22px; height: 22px; }
.rail-btn:hover { background: var(--sky); }
.tees__rail { margin-top: 22px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: thin; }
.tees__rail ul { display: flex; gap: 14px; width: max-content; padding: 4px var(--gutter) 14px; }
.tee { width: min(56vw, 230px); scroll-snap-align: start; }
.tee img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; background: #f1efe9; transition: transform 0.2s var(--ease); }
.tee:hover img { transform: translateY(-4px); }
.tee__no { margin-top: 10px; font: 800 0.8125rem/1 var(--body); color: var(--muted); }
.tee__name { margin-top: 4px; font-weight: 800; line-height: 1.25; }
.tee__col { font-size: 0.875rem; color: var(--muted); }

@media (min-width: 700px) {
  .plush { padding: 96px 0 104px; }
  .plush__gallery, .plush__panel, .crew { max-width: 720px; }
  .shots { gap: 16px; }
  .shots figcaption { display: block; margin-top: 10px; font-size: 0.875rem; line-height: 1.4; color: var(--muted); }
  .tees__head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 32px; }
  .tees__head > div:first-child { grid-column: 1 / -1; }
  .rail-btn { display: grid; }
}
@media (min-width: 1024px) {
  .plush { padding: 112px 0 104px; }
  .plush__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(44px, 5vw, 80px); row-gap: 56px; align-items: start; }
  .plush__side { display: block; grid-column: 2; grid-row: 1 / span 2; }
  .plush__gallery { grid-column: 1; grid-row: 1; max-width: none; }
  .crew { grid-column: 1; grid-row: 2; max-width: none; }
  .plush__panel { max-width: none; margin-top: 30px; }
  .plush h2 { font-size: clamp(3.25rem, 4.6vw, 4.75rem); }
  .plush__lead { font-size: 1.25rem; }
  .crew__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .mate { grid-template-columns: minmax(0, 1fr); align-items: start; padding: 16px 18px 18px; }
  .mate__pic img { height: 170px; }
  .mate h4 { font-size: 1.625rem; }
  .tees__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) auto; }
  .tees__head > div:first-child { grid-column: auto; }
  .tees__rail ul { padding-inline: max(32px, calc((100vw - 1360px) / 2)); }
  .tees__rail { scroll-padding-inline: max(32px, calc((100vw - 1360px) / 2)); }
}

/* ---------- 3 · the new app, GLY: Inner Space (cobalt theatre) ---------- */
.app { background: var(--cobalt); color: var(--white); --focus: var(--sun); padding: 64px 0 72px; overflow: clip; }
.app__in { display: grid; gap: 34px; }
.kicker--light { color: var(--sky); }
.app__head h2 { margin-top: 12px; color: var(--white); }
.app__lead { margin-top: 16px; color: #e6ecfa; }
.app__name { font-size: 1.5rem; color: var(--white); }
.ticks { display: grid; gap: 10px; margin-top: 14px; font-weight: 700; }
.ticks li { display: flex; align-items: center; gap: 12px; }
.ticks li::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--sun) 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='%23151719' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.signup { display: flex; flex-wrap: wrap; gap: 6px; width: min(100%, 440px); margin-top: 22px; padding: 6px; border-radius: 30px; background: var(--white); color: var(--ink); }
.signup input { flex: 1 1 160px; min-width: 0; min-height: 48px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 600 1rem var(--body); outline: none; }
.signup:focus-within { box-shadow: 0 0 0 3px var(--sun); }
.signup .btn { flex: 1 0 auto; min-height: 48px; padding: 0 20px; }
.signup__done { margin-top: 10px; min-height: 1.5em; font-weight: 700; color: var(--white); }

.app__stage { position: relative; display: grid; place-items: center; padding: 18px 0 26px; }
.phone { position: relative; z-index: 2; width: var(--w); aspect-ratio: 720 / 1579; padding: 0.42em; border-radius: 2.7em; background: #0b1020; box-shadow: 0 40px 60px -30px rgba(5, 10, 40, 0.6); }
.phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: 2.3em; }
.app__shot { position: absolute; z-index: 1; top: 16%; width: calc(var(--w) * 0.62); aspect-ratio: 720 / 1579; object-fit: cover; border: 6px solid #0b1020; border-radius: 1.6em; }
.app__shot--l { right: calc(50% + var(--w) * 0.22); rotate: -8deg; }
.app__shot--r { left: calc(50% + var(--w) * 0.22); top: 22%; rotate: 8deg; }
.app__stage { --w: min(58vw, 260px); font-size: calc(var(--w) / 20); }
.app__live { display: grid; justify-items: start; gap: 10px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.24); }
.app__live-title { font-size: 1.375rem; color: var(--white); }
.app__live-note { color: #e6ecfa; font-size: 0.975rem; }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.badges a { display: block; border-radius: 10px; transition: transform 0.16s ease; }
.badges a:hover { transform: translateY(-2px); }
.badges img { width: auto; height: 48px; }

/* the breath timer, ported from the GLYSPACE shop: one 14-second loop (in 4, hold 2, out 6, rest 2) in CSS alone.
   It waits paused until the phone is on screen (main.js adds .is-live) and never runs with reduced motion. */
.bt__view { --seat: 9%; --gh: 31%; --loop: 14s; --breath: cubic-bezier(0.333, 0, 0.667, 1); background: #151f52; -webkit-user-select: none; user-select: none; }
.bt__bg { position: absolute; inset: 0; background: #151f52 center bottom / cover no-repeat; transform-origin: 50% 85%; transform: scale(1.03); }
.bt-phone.is-near .bt__bg { background-image: url("../shared/media/shop/app/bs-night.webp"); }
.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 / 0.36); }
.bt__ring, .bt__guide { position: absolute; left: 50%; bottom: calc(var(--seat) + var(--gh) * 0.5); aspect-ratio: 1; border-radius: 50%; translate: -50% 50%; }
.bt__guide { border: 0.08em solid rgb(255 255 255 / 0.22); }
.bt__guide--a { width: 46%; }
.bt__guide--b { width: 82%; }
.bt__ring { width: 82%; border: 0.4em solid #fff; background: radial-gradient(closest-side, rgb(255 255 255 / 0.42), rgb(255 255 255 / 0) 78%); box-shadow: 0 0 2.8em rgb(170 215 255 / 0.7); transform: scale(0.76); opacity: 0.8; }
.bt__words { position: absolute; left: 0; right: 0; top: 13%; z-index: 3; height: 1.1em; font-family: var(--display); font-weight: 800; font-size: 2.05em; line-height: 1.05; letter-spacing: -0.025em; text-align: center; color: #fff; text-shadow: 0 2px 18px rgb(10 16 60 / 0.5); }
.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(0.561); opacity: 0.62; } 28.571%, 42.857% { transform: scale(1); opacity: 1; } }
@keyframes bt-gly { 0%, 85.714%, 100% { transform: scale(0.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(0.9); } 28.571%, 42.857% { transform: scale(1.06); } }
@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: 700px) {
  .app { padding: 104px 0 112px; }
  .app__in { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
  .app__head, .app__stage { grid-column: 1 / -1; }
  .app__head { justify-self: center; max-width: 800px; text-align: center; }
  .app__lead { margin-inline: auto; }
  .app__stage { --w: 270px; }
  .app__live { border-top: 0; padding-top: 0; }
}
@media (min-width: 1024px) { .app h2 { font-size: clamp(3.25rem, 4.4vw, 4.75rem); } .app__lead { font-size: 1.25rem; } }
@media (min-width: 1200px) {
  .app { padding: 104px 0 112px; }
  .app__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) minmax(0, 1fr); grid-template-areas: "head head head" "join stage live"; column-gap: 40px; row-gap: 40px; align-items: center; }
  .app__head { grid-area: head; }
  .app__join { grid-area: join; }
  .app__stage { grid-area: stage; --w: clamp(250px, 20vw, 290px); }
  .app__live { grid-area: live; }
}

/* ---------- 4 · book spread ---------- */
.book { background: var(--cream); padding: 0 0 72px; overflow: clip; }
.book__art { position: relative; margin-bottom: 84px; }
.book__plate { width: 100%; aspect-ratio: 1400 / 1460; object-fit: cover; }
.book__page { position: absolute; right: var(--gutter); bottom: -56px; width: 44%; max-width: 300px; border-radius: 10px; box-shadow: var(--shadow); }
.book__text { padding-inline: var(--gutter); }
.book__lead { margin-top: 18px; }
.edition { display: flex; align-items: center; gap: 18px; margin-top: 26px; padding: 18px 0; border-block: 2px solid var(--ink); }
.edition__num { flex: none; font: 800 3rem/1 var(--display); letter-spacing: -0.02em; color: var(--cobalt); }
.edition__txt { font-size: 0.975rem; line-height: 1.45; }
.book__h3 { margin-top: 28px; font-size: 1.25rem; }
.authors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.authors li { display: grid; justify-items: start; align-content: start; }
.authors img { width: 64px; height: 64px; margin-bottom: 10px; border-radius: 50%; object-fit: cover; }
.authors__name { font-weight: 800; line-height: 1.25; }
.authors__role { font-size: 0.875rem; color: var(--muted); }
.book .acts { margin-top: 30px; }
@media (min-width: 700px) {
  .book { padding-bottom: 104px; }
  .book__art { width: 84%; }
  .book__plate { border-radius: 0 40px 40px 0; }
  .book__page { right: -6%; width: 38%; }
  .book__text { max-width: 640px; }
}
@media (min-width: 1024px) {
  .book { padding: 104px 0; }
  .book__in { display: grid; grid-template-columns: 46vw minmax(0, 1fr); column-gap: clamp(56px, 6vw, 104px); align-items: center; padding-right: max(32px, calc((100% - 1360px) / 2)); }
  .book__art { width: auto; margin: 0; }
  .book__plate { border-radius: 0 44px 44px 0; }
  .book__page { right: -4%; bottom: -6%; width: 36%; }
  .book__text { padding: 0; max-width: 34rem; }
  .book h2 { font-size: clamp(3.25rem, 4.4vw, 4.75rem); }
  .book__lead { font-size: 1.25rem; }
}

/* ---------- 5 · school immersion ---------- */
.school { background: var(--green); color: var(--ink); padding: 64px 0 72px; overflow: clip; }
.school__head .chip { margin-bottom: 18px; }
.school__lead { margin-top: 16px; }
.school__stage { margin-top: 34px; }
.school__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.visit { margin: 18px var(--gutter) 0; padding: 26px 22px 22px; border-radius: 26px; background: var(--white); }
.visit h3 { font-size: 1.75rem; }
.visit p { margin-top: 10px; }
.visit .acts { margin-top: 20px; gap: 6px 22px; }
.services { display: grid; gap: 14px; margin-top: 40px; }
.service { padding-top: 14px; border-top: 2px solid var(--ink); }
.service h3 { font-size: 1.25rem; }
.service p { margin-top: 6px; font-size: 0.9375rem; line-height: 1.5; }
.partners { margin-top: 36px; }
.partners__plate { padding: 24px 20px; border-radius: 26px; background: var(--white); }
.partners h3 { font-size: 1.25rem; text-align: center; }
.partners ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 26px; margin-top: 18px; }
.partners img { width: auto; height: 56px; max-width: 116px; object-fit: contain; filter: grayscale(1); }
.partners .is-wide img { height: 38px; max-width: 136px; }
.partners .is-light img { filter: grayscale(1) brightness(0.32); }
@media (min-width: 700px) {
  .school { padding: 104px 0 104px; }
  .school__stage { width: min(100% - 2 * var(--gutter), 1360px); margin-inline: auto; }
  .school__photo img { border-radius: 30px; }
  .visit { margin: 20px 0 0; padding: 32px; }
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
  .services__more { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .school { padding: 104px 0 96px; }
  .school__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 56px; align-items: end; }
  .school h2 { font-size: clamp(3.25rem, 4.8vw, 5.25rem); }
  .school__lead { margin: 0; }
  .school__stage { display: grid; grid-template-columns: minmax(0, 62fr) minmax(0, 38fr); align-items: start; margin-top: 52px; }
  .school__photo { grid-column: 1; grid-row: 1; }
  .visit { position: relative; z-index: 1; grid-column: 2; grid-row: 1; margin: 0 0 0 28px; padding: 32px; }
  .services { margin-top: 44px; }
  .partners { margin-top: 36px; }
  .partners__plate { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 48px; padding: 26px 44px; }
  .partners h3 { text-align: left; max-width: 11ch; }
  .partners ul { margin: 0; justify-content: space-between; }
}
/* wide desktop: the Author Day plate overlaps the classroom frame over the whiteboard, never over people */
@media (min-width: 1200px) {
  .school__stage { grid-template-columns: minmax(0, 68fr) minmax(0, 32fr); }
  .visit { margin: 48px 0 0 -72px; padding: 36px 36px 32px; box-shadow: var(--shadow); }
}

/* ---------- 6 · family proof ribbon ---------- */
.family { background: var(--sky); color: var(--ink); padding: 64px 0 0; overflow: clip; }
.family__text { padding-inline: var(--gutter); }
.family__stat { display: grid; gap: 8px; }
.family__num { font-size: clamp(4rem, 19vw, 5.5rem); line-height: 0.86; letter-spacing: -0.035em; color: var(--cobalt); }
.family__label { font-size: clamp(1.75rem, 7.6vw, 2.5rem); line-height: 1; }
.family__lead { margin-top: 16px; max-width: 46ch; }
.voice--big { margin-top: 32px; }
.voice--big blockquote p { font: 800 clamp(1.625rem, 7vw, 2.375rem)/1.04 var(--display); letter-spacing: -0.015em; }
.voice--big figcaption { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-weight: 800; }
.voice--big img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.voices { display: grid; gap: 16px; margin-top: 26px; padding-top: 22px; border-top: 2px solid var(--ink); }
.voices .voice { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: start; }
.voices img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.voices blockquote p { font-size: 1.0625rem; line-height: 1.4; font-weight: 700; }
.voices figcaption { margin-top: 2px; font-size: 0.875rem; font-weight: 700; color: var(--muted); }
.family__art { margin-top: 40px; }
.family__art img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 62%; }
@media (min-width: 700px) {
  .family { padding-top: 104px; }
  .family__text { max-width: 720px; }
  .family__art { width: 84%; margin-left: auto; }
  .family__art img { border-radius: 40px 0 0 40px; }
}
@media (min-width: 1024px) {
  .family { padding: 96px 0; }
  .family__in { display: grid; grid-template-columns: minmax(0, 1fr) 40vw; column-gap: clamp(48px, 5vw, 96px); align-items: center; padding-left: max(32px, calc((100% - 1360px) / 2)); }
  .family__text { padding: 0; max-width: none; }
  .family__art { width: auto; margin: 0; }
  .family__art img { aspect-ratio: 1400 / 1460; object-position: 50% 50%; border-radius: 44px 0 0 44px; }
  .family__num { font-size: clamp(5rem, 7.6vw, 7.5rem); }
  .family__label { font-size: clamp(2rem, 2.7vw, 2.75rem); }
  .family__lead { font-size: 1.125rem; }
  .voice--big blockquote p { font-size: clamp(1.875rem, 2.4vw, 2.5rem); }
}

/* ---------- 7 · learning doorway ---------- */
.learn { background: var(--white); padding: 64px 0; }
.learn__in { display: grid; gap: 34px; }
.learn h2 { font-size: clamp(2.375rem, 10vw, 3rem); }
.learn__intro p { margin-top: 14px; color: var(--muted); max-width: 46ch; }
.learn__intro .btn { margin-top: 22px; }
.post__link { display: block; color: inherit; text-decoration: none; border-radius: 22px; }
.post__title { font-family: var(--display); font-weight: 800; letter-spacing: -0.01em; }
.post__link:hover .post__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.post--lead img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px; }
.post__date { font-size: 0.875rem; font-weight: 700; color: var(--muted); }
.post--lead .post__date { margin-top: 14px; }
.post--lead .post__title { margin-top: 6px; font-size: clamp(1.5rem, 6.4vw, 1.875rem); line-height: 1.06; }
.post__desc { margin-top: 10px; color: var(--muted); }
.learn__list { border-top: 2px solid var(--ink); }
.post--row .post__link { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.post--row img { width: 96px; height: 72px; object-fit: cover; border-radius: 14px; }
.post--row .post__title { margin-top: 4px; font-size: 1.1875rem; line-height: 1.12; }
@media (min-width: 700px) {
  .learn { padding: 96px 0; }
  .learn__in { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .learn__intro { grid-column: 1 / -1; }
}
@media (min-width: 1024px) { .learn { padding: 96px 0; } .learn h2 { font-size: clamp(2.75rem, 3.6vw, 3.75rem); } }
@media (min-width: 1200px) {
  .learn__in { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3.4fr); column-gap: 48px; align-items: start; }
  .learn__intro { grid-column: auto; }
}

/* ---------- 8 · final contact and journey rail ---------- */
.final { background: var(--ink); color: var(--white); --focus: var(--sun); padding: 72px 0 56px; }
.final__in { display: grid; gap: 48px; }
.final h2 { font-size: clamp(2.75rem, 13vw, 4rem); }
.final__lead { margin-top: 18px; color: var(--soft-light); }
.final .acts { margin-top: 28px; }
.final__addr { margin-top: 12px; font-weight: 700; color: var(--soft-light); }
.rail ul { border-top: 1px solid rgba(255, 255, 255, 0.2); }
.rail a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; row-gap: 4px; min-height: 76px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2); color: var(--white); text-decoration: none; }
.rail__label { font: 800 1.75rem/1 var(--display); letter-spacing: -0.01em; }
.rail__note { grid-column: 1; font-size: 0.9375rem; line-height: 1.35; color: var(--soft-light); }
.rail svg { grid-column: 2; grid-row: 1 / 3; width: 26px; height: 26px; transition: transform 0.16s ease; }
.rail a:hover svg { transform: translateX(4px); }
.rail a:hover .rail__label { color: var(--sky); }
@media (min-width: 1024px) {
  .final { padding: 104px 0 88px; }
  .rail a { min-height: 68px; padding: 10px 0; }
  .final__in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 96px; align-items: start; }
  .final h2 { font-size: clamp(3.25rem, 5vw, 5.5rem); }
  .final__lead { font-size: 1.25rem; }
  .rail__label { font-size: 2.25rem; }
}

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--white); --focus: var(--sun); padding: 56px 0 104px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.foot__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 24px; }
.foot__brand, .foot__get { grid-column: 1 / -1; }
.foot__logo { color: var(--white); border-radius: 12px; }
.foot__brand p { margin-top: 14px; color: var(--soft-light); }
.foot__mail, .social a, .foot__col a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--white); font-weight: 700; text-decoration: none; }
.foot__mail { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.foot__col a:hover, .social a:hover { color: var(--sky); }
.social { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot h2 { margin-bottom: 6px; font-size: 1.125rem; letter-spacing: -0.005em; color: var(--soft-light); }
.foot__get .badges { margin-top: 10px; }
@media (min-width: 700px) {
  .foot { padding: 72px 0 88px; }
  .foot__in { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr); column-gap: 40px; }
  .foot__brand, .foot__get { grid-column: auto; }
}

/* ---------- motion (transform and opacity only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .stage__title, .stage__lead, .stage__acts { animation: rise 0.42s var(--ease) both; }
  .stage__lead { animation-delay: 0.06s; }
  .stage__acts { animation-delay: 0.12s; }
  .stage__art img { transform-origin: 50% 100%; animation: settle 0.45s var(--ease) 0.07s both; }
  .menu:not([hidden]) { animation: sheet 0.2s var(--ease); }
  .js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.4s ease, transform 0.42s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
  .js .rv.is-in { opacity: 1; transform: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes settle { from { transform: translateY(12px) scale(1.02); } }
@keyframes sheet { from { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1 !important; transform: none !important; }
}
