/* Good Luck Yogi · Storybook. The home page set like GLY's picture book: cream paper, numbered chapters, big illustrated pages. */

:root {
  --ink: #151719;
  --ink-2: #4a4f57;
  --cream: #fff8ea;
  --sky: #a9e7f7;
  --cobalt: #2857c5;
  --cobalt-d: #1e46a8;
  --sun: #ffd24f;
  --night: #17205f;
  --space: #01032f;
  --rule: #e6dbc3;
  --on-ink: #d9d3c5;
  --on-night: #d6dcff;
  --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;
  --g: 20px;
  --r: 28px;
  --shadow: 0 30px 60px -32px rgb(21 23 25 / .5);
  --ease: cubic-bezier(.2, .65, .25, 1);
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15M13.5 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media (min-width: 400px) { :root { --g: 24px; } }
@media (min-width: 960px) { :root { --g: 32px; } }
[hidden] { display: none !important; }

*, *::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 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 800; line-height: 1; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
strong { font-weight: 800; }
[id] { scroll-margin-top: 84px; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.nav :focus-visible, .night :focus-visible, .inner :focus-visible, .foot :focus-visible { outline-color: var(--sun); }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: min(100% - 2 * var(--g), 1360px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -90px; z-index: 50; display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- shared pieces ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: .8rem 1.6rem .72rem; border: 0; border-radius: 999px; font: 800 1.0625rem/1 var(--display); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn--cobalt { background: var(--cobalt); color: #fff; }
.btn--cobalt:hover { background: var(--cobalt-d); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--wide { width: 100%; }
.btn--sm { min-height: 44px; padding: .55rem 1.15rem .5rem 1rem; font-size: .98rem; }
.arr { font-family: var(--body); }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; font-weight: 800; color: var(--cobalt); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em; }
.link-arrow::after { content: ""; flex: none; width: 1.05em; height: 1.05em; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: transform .18s ease; }
.link-arrow:hover::after { transform: translateX(3px); }
.link-arrow--light { color: #fff; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.lead { font-size: 1.1875rem; line-height: 1.5; }
.muted { color: var(--ink-2); }
.kicker { margin-bottom: 12px; font-size: .8125rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--cobalt); }
.h3 { margin-bottom: 16px; font-size: clamp(2.1rem, 9vw, 3.1rem); line-height: .98; }
.vcap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; font-size: .92rem; line-height: 1.4; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badges a { display: inline-flex; border-radius: 10px; }
.badges img { width: auto; height: 48px; }

/* chapter openers: a large numeral, the word Chapter, then the chapter name */
.ch-title { display: block; color: var(--ink); }
.ch-num { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; color: var(--cobalt); }
.ch-word { font: 800 .8125rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; }
.ch-digit { font-size: clamp(5rem, 22vw, 6.5rem); line-height: .78; letter-spacing: -.04em; }
.ch-name { display: block; font-size: clamp(2.3rem, 10.4vw, 3.3rem); line-height: .98; letter-spacing: -.02em; }
.dropcap::first-letter { float: left; margin: .05em .09em 0 -.03em; font-family: var(--display); font-weight: 800; font-size: 4.1em; line-height: .8; color: var(--cobalt); }
@media (min-width: 960px) {
  .ch-digit { font-size: clamp(6.5rem, 8vw, 8.75rem); }
  .ch-name { font-size: clamp(2.9rem, 4vw, 4.1rem); }
  .h3 { font-size: clamp(2.6rem, 3.6vw, 3.6rem); }
}

/* ---------- nav: the new logo, sticky, tucks away while you read down ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: var(--ink); color: #fff; transition: transform .35s var(--ease); }
.nav.is-tucked { transform: translateY(-100%); }
.nav__bar { display: flex; align-items: center; gap: 10px; height: 68px; padding: 0 var(--g); }
.nav__logo { margin-right: auto; color: #fff; border-radius: 12px; }
.nav__links { display: none; }
.nav__app { min-height: 44px; padding: .62rem 1rem .55rem; font-size: .98rem; }
.nav__app-long { display: none; }
@media (min-width: 560px) { .nav__app-long { display: inline; } .nav__app-short { display: none; } }
.nav__menu { display: grid; place-items: center; flex: none; width: 48px; height: 48px; padding: 0; border: 2px solid rgb(255 255 255 / .4); border-radius: 999px; background: transparent; color: #fff; cursor: pointer; }
.nav__burger, .nav__burger::before, .nav__burger::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease; }
.nav__burger { position: relative; }
.nav__burger::before, .nav__burger::after { content: ""; position: absolute; left: 0; }
.nav__burger::before { top: -6px; }
.nav__burger::after { top: 6px; }
.nav__menu[aria-expanded="true"] .nav__burger { background: transparent; }
.nav__menu[aria-expanded="true"] .nav__burger::before { transform: translateY(6px) rotate(45deg); }
.nav__menu[aria-expanded="true"] .nav__burger::after { transform: translateY(-6px) rotate(-45deg); }
.nav__sheet { position: absolute; left: 0; right: 0; top: 100%; display: grid; padding: 8px var(--g) 28px; background: var(--ink); border-top: 1px solid rgb(255 255 255 / .12); box-shadow: 0 28px 40px -16px rgb(0 0 0 / .55); }
.nav__sheet a:not(.btn) { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid rgb(255 255 255 / .12); font: 800 1.3rem/1 var(--display); color: #fff; text-decoration: none; }
.nav__sheet .btn { margin-top: 20px; }
@media (max-width: 359px) {
  .nav__bar { gap: 6px; padding: 0 12px; }
  .nav__menu { width: 44px; height: 44px; }
  .nav__app { padding: .6rem .8rem .52rem; }
}
@media (min-width: 1024px) {
  .nav__bar { height: 76px; gap: 8px; padding: 0 max(32px, (100% - 1360px) / 2); }
  .nav__logo { margin-right: 0; }
  .nav__logo img { width: 54px; }
  .nav__links { display: flex; gap: 2px; margin: 0 auto; }
  .nav__links a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; font: 800 1.0625rem/1 var(--display); color: #fff; text-decoration: none; }
  .nav__links a:hover { background: rgb(255 255 255 / .1); }
  .nav__menu, .nav__sheet { display: none; }
}

/* ---------- cover: the open book ---------- */
.cover { background: var(--cream); }
.cover__page { padding: 26px var(--g) 30px; }
.cover__title { color: var(--ink); }
.cover__meet { display: block; font-size: clamp(2.6rem, 12.4vw, 4.6rem); line-height: .9; letter-spacing: -.03em; }
.cover__line { display: block; margin-top: .45em; font-size: clamp(1.3rem, 5.6vw, 2rem); line-height: 1.1; font-weight: 700; letter-spacing: -.01em; color: var(--cobalt); }
.cover__line + .cover__line { margin-top: .12em; }
.cover__lead { max-width: 30ch; margin: 16px 0 22px; font-size: 1.125rem; line-height: 1.5; color: var(--ink-2); }
.cover__art { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: #12224a; }
.cover__art img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 25%; }
@media (min-width: 600px) and (max-width: 959px) {
  .cover__page { padding: 48px max(var(--g), (100% - 640px) / 2) 44px; }
  .cover__art { aspect-ratio: 16 / 11; }
}
@media (min-width: 960px) {
  .cover { display: grid; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); min-height: clamp(660px, calc(100vh - 76px), 880px); padding-left: max(0px, (100% - 1360px) / 2); }
  .cover__page { display: flex; flex-direction: column; justify-content: center; padding: 72px clamp(40px, 4.4vw, 80px) 72px 32px; }
  .cover__meet { font-size: clamp(3.6rem, 5.5vw, 6rem); }
  .cover__line { font-size: clamp(1.55rem, 2.25vw, 2.2rem); }
  .cover__lead { max-width: 31ch; margin: 26px 0 32px; font-size: 1.25rem; }
  .cover__art { aspect-ratio: auto; }
  .cover__art img { position: absolute; inset: 0; object-position: 30% 40%; }
  .cover__art::before { content: ""; position: absolute; z-index: 1; inset: 0 auto 0 0; width: 80px; background: linear-gradient(90deg, rgb(8 10 22 / .42), rgb(8 10 22 / 0)); pointer-events: none; }
}

/* ---------- chapter 1: planet Triveda (a slow float, only while on screen) ---------- */
.spread__art { position: relative; overflow: hidden; aspect-ratio: 5 / 4; background: var(--space); }
.spread__art img { width: 100%; height: 100%; object-fit: cover; }
.planet { animation: float 11s ease-in-out infinite paused; }
.spread__art.is-live .planet { animation-play-state: running; }
@keyframes float { 0%, 100% { transform: translateY(-1.8%); } 50% { transform: translateY(1.8%); } }
.spread__page { padding: 48px var(--g) 64px; }
.chapter { max-width: 35rem; }
.chapter p { font-size: 1.125rem; line-height: 1.7; }
.chapter .dropcap { margin-top: 24px; }
@media (min-width: 600px) and (max-width: 959px) {
  .spread__art { aspect-ratio: 16 / 10; }
  .spread__page { padding: 56px max(var(--g), (100% - 640px) / 2) 72px; }
}
@media (min-width: 960px) {
  .spread { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(46vw, 760px); }
  .spread__art { aspect-ratio: auto; }
  .spread__art img { position: absolute; inset: 0; }
  .spread__page { display: flex; align-items: center; padding: 88px max(32px, (100vw - 1360px) / 2) 88px clamp(48px, 6vw, 112px); }
  .chapter p { font-size: 1.1875rem; }
}

/* ---------- chapter 2: the night page ---------- */
.night { padding: 64px 0 72px; background: var(--ink); color: var(--cream); }
.night .ch-num, .night .dropcap::first-letter { color: var(--sun); }
.night .ch-name { color: #fff; }
.night__dream { margin-top: 24px; font-size: 1.25rem; line-height: 1.6; }
.night__art { margin-top: 32px; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r); }
.night__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 14px; margin-top: 40px; }
.founders__photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 22px; }
.founders__photo figcaption { margin-top: 10px; font-size: 1rem; font-weight: 800; color: #fff; }
.founders__text { grid-column: 1 / -1; }
.founders__lead { font-size: 1.15rem; line-height: 1.6; color: var(--cream); }
@media (min-width: 600px) and (max-width: 959px) { .night__art { max-width: 540px; } }
@media (min-width: 960px) {
  .night { padding: 104px 0; }
  .night__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
  .night__text { grid-column: 1 / 7; }
  .night__dream { font-size: 1.5rem; }
  .night__art { grid-column: 8 / 13; margin-top: 0; aspect-ratio: 1 / 1; }
  .founders { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; margin-top: 72px; padding-top: 48px; border-top: 1px solid rgb(255 255 255 / .14); }
  .founders__photo:nth-child(1) { grid-column: 1 / 3; }
  .founders__photo:nth-child(2) { grid-column: 3 / 5; }
  .founders__text { grid-column: 6 / 13; }
  .founders__lead { font-size: 1.35rem; }
}

/* ---------- chapter 3: the journey, with Author Days ---------- */
.journey { padding: 64px 0 72px; }
.journey__copy { margin-top: 24px; max-width: 36rem; font-size: 1.125rem; line-height: 1.7; }
.album { display: grid; gap: 22px; margin-top: 36px; }
.album__big { margin: 0; font: 800 clamp(3.5rem, 17vw, 5.75rem)/.86 var(--display); letter-spacing: -.035em; color: var(--cobalt); }
.album__who { margin: .2em 0 .55em; font: 800 clamp(1.45rem, 6.2vw, 2rem)/1.05 var(--display); }
.album__stat p:last-child { color: var(--ink-2); }
.yt { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--r); background: #10200f; box-shadow: var(--shadow); cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.visit { padding: 24px 22px; border-radius: 24px; background: #fff; }
.visit p { color: var(--ink-2); }
.visit__list { display: grid; gap: 10px; margin: 0 0 22px; }
.visit__list li { padding-left: 16px; border-left: 3px solid var(--sky); font-size: .98rem; line-height: 1.45; color: var(--ink-2); }
.visit__list strong { display: block; color: var(--ink); }
.album__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.album__duo figure { overflow: hidden; aspect-ratio: 4 / 3; border-radius: 20px; background: #e9dfca; }
.album__duo img { width: 100%; height: 100%; object-fit: cover; }
.partners { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--rule); text-align: center; }
.partners__title { margin-bottom: 24px; font-size: 1.5rem; }
.partners__list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 34px; }
.partners__list img { width: auto; height: 42px; max-width: 150px; object-fit: contain; filter: grayscale(1); }
.partners__list .logo-round { height: 68px; }
.partners__list .logo-avanti { filter: grayscale(1) brightness(.5); }
.partners__list .logo-sky { filter: grayscale(1) brightness(.62); }
.partners__list .logo-muse { filter: brightness(0); opacity: .8; }
@media (min-width: 960px) {
  .journey { padding: 104px 0 96px; }
  .journey__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
  .journey__head .ch-title { grid-column: 1 / 7; }
  .journey__copy { grid-column: 7 / 13; margin-top: 0; }
  .album { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "video stat" "duo visit"; gap: 32px 40px; align-items: center; margin-top: 64px; }
  .album__video { grid-area: video; }
  .album__stat { grid-area: stat; }
  .album__duo { grid-area: duo; gap: 20px; align-self: start; }
  .visit { grid-area: visit; padding: 32px; }
  .partners { margin-top: 88px; padding-top: 48px; }
  .partners__list { gap: 32px 56px; }
  .partners__list img { height: 52px; max-width: 190px; }
  .partners__list .logo-round { height: 84px; }
}

/* ---------- chapter 4: kids' words as margin notes ---------- */
.voices { padding: 64px 0 72px; background: var(--sky); }
.voices__page { display: grid; gap: 26px; margin-top: 32px; }
.voices__art { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r); box-shadow: var(--shadow); }
.voices__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.figure-note, .note { display: grid; grid-template-columns: 60px minmax(0, 1fr); column-gap: 16px; align-items: start; }
.note img { grid-row: 1 / 3; width: 60px; height: 60px; border: 3px solid #fff; border-radius: 50%; object-fit: cover; }
.note blockquote { margin: 0 0 6px; font: 600 1.15rem/1.45 var(--body); color: var(--ink); }
.note figcaption { font-size: .95rem; font-weight: 800; color: var(--ink-2); }
@media (min-width: 600px) and (max-width: 959px) {
  .voices__page { grid-template-columns: 1fr 1fr; gap: 32px; }
  .voices__art { grid-column: 1 / -1; width: min(100%, 560px); margin-inline: auto; }
}
@media (min-width: 960px) {
  .voices { padding: 96px 0 104px; }
  .voices__title { text-align: center; }
  .voices__title .ch-num { justify-content: center; }
  .voices__page { grid-template-columns: minmax(0, 1fr) minmax(0, min(440px, 36vw)) minmax(0, 1fr); gap: 56px clamp(28px, 3.6vw, 56px); align-items: center; margin-top: 56px; }
  .voices__art { grid-column: 2; grid-row: 1 / 3; aspect-ratio: 1 / 1; }
  .note { grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
  .note img { grid-row: auto; width: 80px; height: 80px; }
  .note blockquote { font-size: clamp(1.15rem, 1.5vw, 1.35rem); }
  .note--1, .note--2 { grid-column: 1; justify-items: end; text-align: right; }
  .note--3, .note--4 { grid-column: 3; }
  .note--1, .note--3 { grid-row: 1; align-self: end; }
  .note--2, .note--4 { grid-row: 2; align-self: start; }
}

/* ---------- chapter 5: the story continues at home ---------- */
.home { padding-top: 64px; }
.home__intro { margin-top: 20px; }
.contents { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.contents a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 800; text-decoration: none; }
.contents a:hover { background: var(--ink); color: #fff; }
@media (min-width: 960px) {
  .home { padding-top: 104px; }
  .home__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
  .home__head .ch-title { grid-column: 1 / 8; }
  .home__intro { grid-column: 8 / 13; margin-top: 0; }
  .home .lead { font-size: 1.3rem; }
}

/* the book */
.book { display: grid; gap: 28px; padding: 36px 0 64px; }
.book__art { overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--r); box-shadow: var(--shadow); background: #e9dcc4; }
.book__art img { width: 100%; height: 100%; object-fit: cover; }
.book__info .actions { margin-top: 22px; }
.edition { display: flex; align-items: center; gap: 16px; margin: 20px 0 0; padding: 16px 20px; border-radius: 20px; background: #fff; }
.edition__num { font: 800 2.6rem/1 var(--display); letter-spacing: -.02em; color: var(--cobalt); }
.edition__text { font-size: .98rem; line-height: 1.45; }
.credits { margin-top: 18px; font-size: .95rem; color: var(--ink-2); }
@media (min-width: 960px) {
  .book { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; padding: 56px 0 104px; }
}

/* the GLY plush preorder */
.plush { padding: 64px 0 72px; background: #fff; }
.plush__grid { display: grid; gap: 30px; }
.plush__video video { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r); background: #e7d6bc; cursor: pointer; }
.plush__media figcaption { color: var(--ink-2); }
.plush__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.plush__photos img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 1px solid #ebe3d3; border-radius: 16px; }
.plush__photos figcaption { display: none; }
.status { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border: 2px solid var(--cobalt); border-radius: 999px; font-size: .9rem; font-weight: 800; color: var(--cobalt); }
.chip--solid { background: var(--cobalt); color: #fff; }
.packs { display: grid; gap: 10px; margin: 0 0 20px; padding: 0; border: 0; }
.packs legend { margin-bottom: 12px; padding: 0; font-size: 1.05rem; font-weight: 800; }
.pack { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; padding: 16px 18px; border: 2px solid #e3d9c6; border-radius: 20px; background: #fff; cursor: pointer; }
.pack:hover { border-color: #b9ad94; }
.pack input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pack__dot { display: grid; place-items: center; width: 22px; height: 22px; border: 2px solid #8f8774; border-radius: 50%; }
.pack__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--cobalt); transform: scale(0); transition: transform .18s ease; }
.pack__name { font-size: 1.05rem; font-weight: 800; }
.pack__price { font: 800 1.55rem/1 var(--display); }
.pack__desc { grid-column: 2 / 4; font-size: .95rem; line-height: 1.45; color: var(--ink-2); }
.pack:has(input:checked) { border-color: var(--cobalt); background: #f2f5fd; }
.pack:has(input:checked) .pack__dot { border-color: var(--cobalt); }
.pack:has(input:checked) .pack__dot::after { transform: scale(1); }
.pack:has(input:focus-visible) { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.checkout-note { margin-top: 12px; text-align: center; font-size: .92rem; color: var(--ink-2); }
.facts { margin-top: 24px; border-bottom: 1px solid #e3d9c6; }
.facts details { border-top: 1px solid #e3d9c6; }
.facts summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 54px; font-weight: 800; cursor: pointer; list-style: none; }
.facts summary::-webkit-details-marker { display: none; }
.facts summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .2s ease; }
.facts details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.facts details p { padding-bottom: 18px; color: var(--ink-2); }
.facts a { font-weight: 800; color: var(--cobalt); }
@media (min-width: 600px) {
  .plush__photos { gap: 16px; }
  .plush__photos figcaption { display: block; margin-top: 10px; font-size: .9rem; line-height: 1.4; color: var(--ink-2); }
  .plush__media { max-width: 640px; }
}
@media (min-width: 960px) {
  .plush { padding: 96px 0; }
  .plush__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; gap: 0 24px; align-items: start; }
  .plush__intro { grid-column: 8 / 13; grid-row: 1; padding-top: 8px; }
  .plush__media { grid-column: 1 / 7; grid-row: 1 / 3; max-width: none; }
  .plush__buy { grid-column: 8 / 13; grid-row: 2; }
  .plush__buy .packs { margin-top: 28px; }
}

/* GLY's friends: each on its own colour field, words in their own space under the picture */
.friends { padding: 64px 0 20px; }
.friends__list { display: grid; gap: 14px; margin-top: 26px; }
.friend { --field: #ffd23f; --on: #16240a; display: grid; grid-template-columns: 112px minmax(0, 1fr); overflow: hidden; border-radius: 24px; background: var(--field); color: var(--on); }
.friend--dozer { --field: #b9a5ff; --on: #2a1238; }
.friend--petal { --field: #a8dcff; --on: #14301f; }
.friend__pic { display: grid; place-items: center; padding: 12px 8px; background: rgb(255 255 255 / .3); }
.friend__pic img { width: 100%; height: 116px; object-fit: contain; }
.friend__text { padding: 16px 18px 10px; }
.friend__name { margin-bottom: 6px; font-size: 1.5rem; }
.friend__name span { display: block; margin-top: 4px; font: 800 .75rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.friend__text p { margin-bottom: 4px; font-size: .97rem; line-height: 1.45; }
.friend__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; }
.friend__status { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border: 2px solid currentColor; border-radius: 999px; font-size: .8rem; font-weight: 800; }
.friend__notify { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }
@media (min-width: 960px) {
  .friends { padding: 104px 0 24px; }
  .friends__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
  .friends__head .h3 { grid-column: 1 / 6; margin: 0; }
  .friends__head .lead { grid-column: 7 / 13; margin: 0; }
  .friends__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
  .friend { grid-template-columns: 1fr; }
  .friend__pic { padding: 28px 24px 12px; }
  .friend__pic img { height: 240px; }
  .friend__text { padding: 20px 24px 14px; }
}

/* the tees: a small rail */
.tees { padding: 44px 0 72px; }
.tees__head { display: grid; gap: 6px; }
.tees__note p { margin-bottom: 14px; color: var(--ink-2); }
.tees__rail { margin-top: 22px; padding: 4px var(--g) 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: var(--g); scrollbar-width: thin; }
.tees__rail:focus-visible { outline-offset: -3px; }
.tees__list { display: flex; gap: 14px; width: max-content; }
.tee { width: 152px; scroll-snap-align: start; }
.tee img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; background: #fff; transition: transform .35s var(--ease); }
@media (hover: hover) and (pointer: fine) { .tee:hover img { transform: translateY(-4px) rotate(-1.5deg); } }
.tee__name { margin: 10px 0 2px; font-size: .95rem; font-weight: 800; line-height: 1.25; }
.tee__name span { margin-right: 4px; color: var(--cobalt); }
.tee__colour { margin: 0; font-size: .88rem; color: var(--ink-2); }
@media (min-width: 960px) {
  .tees { padding: 72px 0 104px; }
  .tees__head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
  .tees__head > div:first-child { grid-column: 1 / 6; }
  .tees__note { grid-column: 7 / 13; display: flex; align-items: center; gap: 24px; }
  .tees__note p { margin: 0; }
  .tees__rail { margin-top: 36px; padding-inline: max(32px, (100% - 1360px) / 2); scroll-padding-inline: max(32px, (100% - 1360px) / 2); }
  .tee { width: 208px; }
}

/* ---------- chapter 6: Inner Space, the new app and the series ---------- */
.inner { padding: 64px 0 72px; overflow: hidden; background: var(--night); color: #fff; }
.inner .ch-num, .inner .kicker { color: var(--sun); }
.inner .ch-name { color: #fff; }
.inner p { color: var(--on-night); }
.inner .lead { color: #fff; }
.app { display: grid; gap: 36px; margin-top: 32px; }
.ticks { display: grid; gap: 8px; margin: 0 0 24px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.ticks li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgb(255 210 79 / .22); }
.signup { display: flex; flex-wrap: wrap; gap: 10px; max-width: 30rem; }
.signup input { flex: 1 1 210px; min-width: 0; min-height: 52px; padding: 0 20px; border: 2px solid transparent; border-radius: 999px; background: #fff; color: var(--ink); font: 600 1rem var(--body); }
.signup input:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.signup__done { margin-top: 12px; font-weight: 800; color: #fff; }
.live { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .18); }
.live p { margin-bottom: 12px; font-weight: 700; color: #fff; }
.live .badges img { height: 44px; }
.app__stage { display: grid; align-items: center; justify-items: end; }
.app__world { grid-area: 1 / 1; width: 64%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 26px; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); }
.phone { position: relative; width: var(--w); aspect-ratio: 9 / 19.5; padding: .42em; border-radius: 2.6em; background: #0b1020; box-shadow: 0 40px 60px -30px rgb(3 6 30 / .8), inset 0 0 0 .14em #2b3360; }
.phone__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 2.2em; }
.bt-phone { --w: clamp(186px, 50vw, 272px); grid-area: 1 / 1; justify-self: start; z-index: 2; margin-left: 2%; font-size: calc(var(--w) / 20); }
/* The breath timer, ported from the GLYSPACE shop: one 14-second loop (in 4 · hold 2 · out 6 · rest 2).
   CSS alone plays it; it waits, paused, until the phone is on screen (main.js adds .is-live). */
.bt__view { --seat: 9%; --gh: 31%; --loop: 14s; --breath: cubic-bezier(.333, 0, .667, 1); background: #151f52; -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); }
.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; }
.bt__words { position: absolute; left: 0; right: 0; top: 13%; z-index: 3; height: 1.1em; margin: 0; font-family: var(--display); font-weight: 800; font-size: 2.05em; line-height: 1.05; letter-spacing: -.025em; text-align: center; color: #fff; text-shadow: 0 2px 18px rgb(10 16 60 / .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(.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(.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; } }
.series { display: grid; gap: 22px; margin-top: 56px; padding-top: 48px; border-top: 1px solid rgb(255 255 255 / .16); }
.series__win video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); background: #0b1020; }
.series__win .btn[aria-pressed="true"] { background: var(--sun); }
@media (min-width: 600px) and (max-width: 959px) { .app__stage { max-width: 600px; } }
@media (min-width: 960px) {
  .inner { padding: 104px 0; }
  .app { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; margin-top: 48px; }
  .app__copy { grid-column: 1 / 6; }
  .app__stage { grid-column: 7 / 13; justify-items: center; }
  .app__world { width: min(64%, 380px); justify-self: end; }
  .bt-phone { margin-left: 6%; }
  .series { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; margin-top: 88px; padding-top: 72px; }
}

/* ---------- chapter 7: more stories ---------- */
.stories { padding: 64px 0 72px; }
.stories__head { display: grid; gap: 20px; margin-bottom: 32px; }
.stories__intro .btn { margin-top: 20px; }
.posts { display: grid; gap: 18px; }
.post { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; border-radius: 18px; color: inherit; text-decoration: none; }
.post img { width: 96px; height: 96px; object-fit: cover; border-radius: 16px; }
.post__date { margin: 0 0 4px; font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.post__title { font-size: 1.2rem; line-height: 1.12; }
.post:hover .post__title { color: var(--cobalt); }
@media (min-width: 768px) {
  .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .post { display: block; }
  .post img { width: 100%; height: auto; aspect-ratio: 3 / 2; margin-bottom: 16px; border-radius: 20px; }
  .post__title { font-size: 1.45rem; }
}
@media (min-width: 960px) {
  .stories { padding: 104px 0; }
  .stories__head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; margin-bottom: 48px; }
  .stories__head .ch-title { grid-column: 1 / 7; }
  .stories__intro { grid-column: 7 / 13; }
}

/* ---------- the last page ---------- */
.end { border-top: 1px solid var(--rule); }
.end__page { padding: 56px var(--g) 44px; }
.end__title { margin-bottom: 18px; font-size: clamp(3rem, 13.5vw, 4.6rem); line-height: .9; letter-spacing: -.03em; }
.end .lead { max-width: 30ch; margin-bottom: 26px; color: var(--ink-2); }
.end__art { position: relative; overflow: hidden; aspect-ratio: 16 / 11; background: #f3c46a; }
.end__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
@media (min-width: 600px) and (max-width: 959px) { .end__page { padding: 64px max(var(--g), (100% - 640px) / 2) 52px; } }
@media (min-width: 960px) {
  .end { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(46vw, 760px); padding-left: max(0px, (100% - 1360px) / 2); }
  .end__page { display: flex; align-items: center; padding: 88px clamp(48px, 6vw, 112px) 88px 32px; }
  .end__title { font-size: clamp(4rem, 6vw, 6.4rem); }
  .end .lead { font-size: 1.35rem; }
  .end__art { aspect-ratio: auto; }
  .end__art img { position: absolute; inset: 0; object-position: 50% 70%; }
  .end__art::before { content: ""; position: absolute; z-index: 1; inset: 0 auto 0 0; width: 80px; background: linear-gradient(90deg, rgb(60 34 8 / .3), rgb(60 34 8 / 0)); pointer-events: none; }
}

/* ---------- contact ---------- */
.contact { padding: 64px 0 76px; border-top: 1px solid var(--rule); }
.contact__inner { max-width: 44rem; text-align: center; }
.contact__title { margin-bottom: 16px; font-size: clamp(2.25rem, 9vw, 3.4rem); }
.contact__inner > p { color: var(--ink-2); }
.actions--center { justify-content: center; margin-top: 24px; }
.contact__mail { margin-top: 10px; }
.contact__mail a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; color: var(--ink); }

/* ---------- footer ---------- */
.foot { padding: 60px 0 100px; background: var(--ink); color: var(--on-ink); }
.foot__grid { display: grid; gap: 34px; }
.foot__logo { margin-bottom: 14px; color: #fff; border-radius: 12px; }
.foot p { margin-bottom: 6px; }
.foot a { color: #fff; }
.foot__mail { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; }
.foot__social { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot__social a, .foot__col a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; font-weight: 700; text-decoration: none; }
.foot__social a:hover, .foot__col a:hover { text-decoration: underline; }
.foot__h { margin-bottom: 8px; font: 800 .8125rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--sun); }
.foot .badges { margin-top: 14px; }
@media (min-width: 768px) {
  .foot { padding: 76px 0 92px; }
  .foot__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr); gap: 32px; }
}

/* ---------- gentle page reveals (only below the first screen, never with reduced motion) ---------- */
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-pending { opacity: 0; transform: translateY(18px); }
.reveal-art img, .reveal-art video { transition: opacity .9s ease, transform 1.3s var(--ease); }
.reveal-art.is-pending img, .reveal-art.is-pending video { opacity: 0; transform: scale(1.035); }
.reveal-art.is-pending .phone { opacity: 0; transform: translateY(24px); }
.phone { transition: opacity .9s ease, transform 1.3s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal.is-pending, .reveal-art.is-pending img, .reveal-art.is-pending video, .reveal-art.is-pending .phone { opacity: 1; transform: none; }
}
