/* Wobblebee Studios, alternative C: "The Pocket Meadow".
   One day in a small meadow: morning at the top, golden afternoon at the games, sunset at "about",
   night with fireflies at the bottom. Plum ink and honey stay constant; the sky changes around them. */

@font-face { font-family: "Gluten"; src: url("../fonts/gluten-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Gluten"; src: url("../fonts/gluten-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url("../fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url("../fonts/atkinson-hyperlegible-next-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --plum: #2A2156;
  --plum-soft: #4A3F80;
  --honey: #FFC93C;
  --pink: #FF8FB1;
  --paper: #FFFBF1;
  --moonlight: #F4EEFF;
  --stem: #3B7D4A;

  /* the sky through the day */
  --dawn: #FFDCC4;
  --morning: #CDE8F5;
  --gold: #FFD56E;
  --coral: #F8A88A;
  --dusk: #B97AAE;
  --night: #2B2466;
  --night-deep: #17143F;

  --ink: var(--plum);
  --focus: var(--plum);
  --display: "Gluten", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --text: "Atkinson Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
  --band: clamp(170px, 21vw, 300px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--night-deep);
  color: var(--ink);
  font: 400 1.125rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.05; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.4rem, 5.6vw, 4rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 700; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; background: var(--honey); color: var(--plum); padding: .6rem 1rem; border: 3px solid var(--plum); border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }
.js-only { display: none; }
.js .js-only { display: inline; }

/* Buttons: ink outlines like the bee itself */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.35em;
  background: var(--honey); color: var(--plum);
  border: 3px solid var(--plum); border-radius: 999px;
  box-shadow: 0 4px 0 var(--plum);
  font: 700 1.05rem/1.2 var(--text); text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--plum); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--plum); }
.quiet-link { font-weight: 700; }

/* ---------- header ---------- */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 8;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 14px var(--gutter);
}
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--plum); padding: 4px; }
.brand .bee-svg { width: 52px; height: auto; overflow: visible; }
.brand-name { font: 800 1.3rem/1 var(--display); }
.top-nav { display: flex; gap: clamp(.4rem, 2.4vw, 1.6rem); }
.top-nav a { font-weight: 700; text-decoration: none; padding: .5rem .35rem; color: var(--plum); }
.top-nav a:hover { text-decoration: underline; }

/* the wings: rotate the g.wing groups only, never the ellipses inside */
.bee-svg .wing { transform-box: view-box; }
.brand:hover .wing, .brand:focus-visible .wing { animation: flap .14s ease-in-out infinite alternate; }
.brand:hover .wing-back, .brand:focus-visible .wing-back { animation-duration: .16s; animation-delay: -.07s; }
@keyframes flap { from { rotate: -14deg; } to { rotate: 20deg; } }

/* ---------- scenes ---------- */
.scene { position: relative; }
.scene-inner { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.section-head { margin-bottom: clamp(3rem, 7vw, 5.5rem); }
.section-head p { font-size: 1.25rem; margin-top: .4rem; }

.scene--morning {
  min-height: min(100svh, 980px);
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #FFD9C0 0%, #FFE6D2 34%, #E4F0F2 70%, var(--morning) 100%);
}
.scene--afternoon {
  padding-top: clamp(4.5rem, 10vw, 8rem);
  background: linear-gradient(180deg, var(--morning) 0%, #EEF3E2 12%, #FFF0C8 38%, #FFE29C 72%, var(--gold) 100%);
}
.scene--sunset {
  padding-top: clamp(4.5rem, 10vw, 8rem);
  background: linear-gradient(180deg, var(--gold) 0%, #FDBD7E 26%, var(--coral) 55%, #E795A6 80%, var(--dusk) 100%);
}
.scene--night {
  --ink: var(--moonlight); --focus: var(--honey);
  color: var(--ink);
  padding-top: clamp(5rem, 11vw, 9rem);
  background: linear-gradient(180deg, #4B3B88 0%, var(--night) 34%, #201B52 70%, var(--night-deep) 100%);
  overflow: hidden;
  z-index: 2; /* night covers the sun once it has set */
}

/* hero */
.hero { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: clamp(6.5rem, 11vw, 8rem); padding-bottom: 1.5rem; width: 100%; }
.wordmark { font-size: clamp(2.9rem, 12.4vw, 8.6rem); line-height: .86; white-space: nowrap; letter-spacing: -.02em; color: var(--plum); margin-bottom: clamp(1.2rem, 3vw, 2rem); }
.wm-wobble, .wm-studios { display: block; }
.wm-wobble span { display: inline-block; }
.wm-wobble span:nth-child(1) { rotate: -5deg; }
.wm-wobble span:nth-child(2) { rotate: 4deg; translate: 0 .03em; }
.wm-wobble span:nth-child(3) { rotate: -3deg; }
.wm-wobble span:nth-child(4) { rotate: 5deg; translate: 0 -.02em; }
.wm-wobble span:nth-child(5) { rotate: -4deg; translate: 0 .02em; }
.wm-wobble span:nth-child(6) { rotate: 3deg; }
.wm-wobble span:nth-child(7) { rotate: -5deg; translate: 0 -.03em; }
.wm-wobble span:nth-child(8) { rotate: 4deg; translate: 0 .02em; }
.wm-wobble span:nth-child(9) { rotate: -2deg; }
.wm-studios { font-size: .4em; font-weight: 600; letter-spacing: .01em; margin: .28em 0 0 .08em; }
.lede { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.5; max-width: 32ch; margin-bottom: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 0; }
.hint { font-size: 1rem; color: var(--plum-soft); }
.hero-sun {
  position: absolute; z-index: 1; left: 64%; top: 16%;
  width: clamp(90px, 13vw, 180px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #FFF8E2 0 45%, #FFE9A6 70%);
  box-shadow: 0 0 0 30px rgba(255, 240, 200, .35), 0 0 120px 60px rgba(255, 232, 180, .55);
}

/* the travelling sun (only when motion is on) */
.heavens { display: none; position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.motion .heavens { display: block; }
.motion .hero-sun { display: none; }
.sun { position: absolute; left: 0; top: 0; width: clamp(96px, 13vw, 180px); aspect-ratio: 1; will-change: transform; }
.sun > span { position: absolute; border-radius: 50%; }
.sun-glow { inset: -110%; background: radial-gradient(circle, rgba(255, 238, 190, .75) 0, rgba(255, 228, 170, .32) 32%, rgba(255, 220, 160, 0) 62%); }
.sun-disc { inset: 0; }
.sun-disc--dawn { background: radial-gradient(circle, #FFFBEA 0 40%, #FFEAB0 75%); }
.sun-disc--noon { background: radial-gradient(circle, #FFF4C2 0 30%, #FFD34F 72%); opacity: 0; }
.sun-disc--dusk { background: radial-gradient(circle, #FFD9A0 0 25%, #FF8F63 75%); opacity: 0; }

/* ---------- meadow bands ---------- */
.meadow { position: relative; z-index: 3; height: var(--band); margin-top: clamp(2.5rem, 6vw, 4rem); pointer-events: none; overflow: hidden; overflow: clip; }
.scene--morning .meadow { margin-top: 0; height: clamp(150px, 19vw, 260px); }
.hill { position: absolute; inset: 0; width: 100%; height: 100%; }
.hill--back, .hill--mid { will-change: transform; }
.hill--back { top: -8%; height: 108%; }
.meadow--morning .hill--back { fill: #BFE0C3; }
.meadow--morning .hill--mid { fill: #92CB98; }
.meadow--morning .hill--front { fill: #5FAE70; }
.meadow--afternoon .hill--back { fill: #D9D88E; }
.meadow--afternoon .hill--mid { fill: #ACC463; }
.meadow--afternoon .hill--front { fill: #76A346; }
.meadow--afternoon { --stem: #3E7432; }
.meadow--sunset .hill--back { fill: #CB8DA2; }
.meadow--sunset .hill--mid { fill: #9C6F98; }
.meadow--sunset .hill--front { fill: #6B4F82; }
.meadow--sunset { --stem: #3F5A47; }
.meadow::after { /* the ground melts into the next hour's sky */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 27%;
  background: linear-gradient(180deg, transparent, var(--fade-to));
}
.meadow--morning { --fade-to: var(--morning); }
.meadow--afternoon { --fade-to: var(--gold); }
.meadow--sunset { --fade-to: #4B3B88; }

.bed { position: absolute; inset: 0; }
.fl {
  position: absolute; left: var(--x); bottom: 7%;
  width: calc(clamp(30px, 3.3vw, 46px) * var(--s, 1)); height: auto; aspect-ratio: 60 / 150;
  overflow: visible; transform-origin: 50% 100%;
}
.motion .bed .fl { animation: sway 5s ease-in-out infinite alternate; }
.motion .bed .fl:nth-child(2n) { animation-duration: 6.5s; animation-delay: -2s; }
.motion .bed .fl:nth-child(3n) { animation-duration: 4.2s; animation-delay: -1s; }
@keyframes sway { from { rotate: -2.5deg; } to { rotate: 2.5deg; } }
.planted { position: absolute; width: clamp(30px, 3.3vw, 44px); height: auto; aspect-ratio: 60 / 150; transform-origin: 50% 100%; overflow: visible; }
@media (max-width: 599px) { .fl--wide { display: none; } }

/* ---------- the bee ---------- */
.flyer {
  position: absolute; z-index: 7; right: 16%; bottom: calc(var(--band) * .62);
  width: clamp(62px, 7vw, 96px); aspect-ratio: 240 / 200;
  padding: 0; border: 0; background: none; cursor: pointer; color: inherit;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.motion .flyer { position: fixed; left: 0; top: 0; right: auto; bottom: auto; will-change: transform; }
.flyer-loop, .flyer-bob, .flyer-face { display: block; width: 100%; height: 100%; }
.flyer .bee-svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 4px 0 rgba(42, 33, 86, .18)); }
.motion .flyer .wing { animation: flap .12s ease-in-out infinite alternate; }
.motion .flyer .wing-back { animation-duration: .14s; animation-delay: -.06s; }
.motion .flyer-bob { animation: bob 2.6s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -7px; } }
.flyer.is-asleep .wing { animation: none; }
.flyer.is-asleep .flyer-bob { animation-duration: 5s; }
.zzz { position: absolute; right: -6%; top: -30%; display: none; font: 800 1.1rem/1 var(--display); color: var(--moonlight); pointer-events: none; }
.zzz span { display: inline-block; opacity: 0; }
.flyer.is-asleep .zzz { display: block; }
.flyer.is-asleep .zzz span { animation: zz 3s ease-in-out infinite; }
.flyer.is-asleep .zzz span:nth-child(2) { animation-delay: 1s; font-size: .8em; }
.flyer.is-asleep .zzz span:nth-child(3) { animation-delay: 2s; font-size: .65em; }
@keyframes zz { 0% { opacity: 0; translate: 0 6px; } 30% { opacity: 1; } 100% { opacity: 0; translate: 6px -18px; } }
.flyer:focus-visible { outline-offset: 6px; border-radius: 50%; }

/* ---------- games (afternoon) ---------- */
.bloom { position: relative; margin-top: 2rem; }
.bloom-flower { position: absolute; z-index: 2; left: -18px; top: -86px; width: clamp(150px, 15vw, 210px); aspect-ratio: 1; }
.bloom-petals { width: 100%; height: 100%; overflow: visible; }
.bloom-petals .petal { fill: #FFFDF6; stroke: var(--plum); stroke-width: 3.5; }
.bloom-petals .petal:nth-child(2n) { fill: #FFE3EC; }
.bloom-icon {
  position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; border: 4px solid var(--plum); background: var(--honey); object-fit: cover;
}
.stop-mark { position: absolute; left: 50%; top: 50%; width: 1px; height: 1px; pointer-events: none; }
.bloom-card {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  background: var(--paper);
  border: 3px solid var(--plum); border-radius: 44px 44px 44px 14px;
  box-shadow: 0 10px 0 rgba(42, 33, 86, .9);
  padding: clamp(1.5rem, 4vw, 3.5rem);
}
.bloom-text h3, .bloom-kind { margin-left: clamp(118px, 12vw, 168px); }
.bloom-text h3 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.bloom-kind { font-weight: 700; color: var(--plum-soft); margin-bottom: 1.6rem; margin-top: .3rem; }
.bloom-text > p:not(.bloom-kind) { max-width: 52ch; }
.status { display: flex; align-items: center; gap: .65rem; font-weight: 700; }
.status-bud { width: 18px; height: 18px; flex: none; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--pink); border: 3px solid var(--plum); }
.bloom-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 1.6rem 0 0; }

.bloom-shots { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 100%; padding: 1rem 0 .5rem; }
.phone { margin: 0; width: 34%; padding: 5px; background: var(--plum); border-radius: 22px; box-shadow: 0 6px 0 rgba(42, 33, 86, .25); }
.phone img { border-radius: 17px; width: 100%; }
.phone--1 { rotate: -7deg; translate: 14% 4%; }
.phone--2 { position: relative; z-index: 1; width: 37%; translate: 0 -4%; }
.phone--3 { rotate: 7deg; translate: -14% 4%; }

.bud {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: clamp(1rem, 3vw, 2rem);
  max-width: 640px; margin: clamp(4rem, 9vw, 7rem) 0 calc(var(--band) * -.52) clamp(0px, 8vw, 120px);
}
.bud-button { position: relative; width: clamp(76px, 7vw, 96px); aspect-ratio: 90 / 200; padding: 0; border: 0; background: none; cursor: pointer; transform-origin: 50% 100%; }
.bud-button svg { width: 100%; height: 100%; overflow: visible; }
.bud-head { transform-box: view-box; transform-origin: 45px 80px; }
.stop-mark--bud { left: calc(clamp(76px, 7vw, 96px) / 2); top: 12px; }
.bud-text { padding-top: .4rem; }
.bud-text h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: .4rem; }
.bud-text p { max-width: 36ch; margin: 0; }

/* ---------- about (sunset) ---------- */
.about { max-width: 1240px; }
.about h2 { max-width: 14ch; margin-bottom: 1.5rem; }
.about > p { max-width: 46ch; }
.about-lede { font-size: clamp(1.25rem, 2.1vw, 1.5rem); line-height: 1.5; max-width: 38ch !important; }
.promises { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.4rem; max-width: 40rem; }
.promises li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 1rem; align-items: start; }
.promises svg { width: 48px; height: 48px; }

/* ---------- contact (night) ---------- */
.stars { position: absolute; left: 0; top: 0; width: 100%; height: 72%; opacity: .9; }
.moon { position: absolute; right: 9%; top: clamp(2.5rem, 7vw, 5rem); width: clamp(64px, 8vw, 116px); filter: drop-shadow(0 0 24px rgba(255, 241, 199, .45)); }
.fireflies { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.ff {
  position: absolute; left: 0; top: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  background: radial-gradient(circle, #FFFBD0 0 18%, rgba(255, 226, 92, .75) 32%, rgba(255, 210, 60, 0) 68%);
  will-change: transform, opacity;
  animation: twinkle var(--tw, 2.4s) ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .25; } to { opacity: 1; } }
.contact { padding-bottom: 2rem; }
.contact h2 { margin-bottom: 1rem; }
.contact > p { max-width: 40ch; }
.mail { margin: 1.4rem 0 1.6rem; }
.contact > p.mail { max-width: none; }
.mail a {
  font: 800 clamp(1.6rem, 4.6vw, 3.3rem)/1.15 var(--display); color: var(--honey);
  text-decoration-thickness: 3px; text-underline-offset: .18em;
}
.hint--night { color: #CFC6F2; }
.night-bed { position: relative; z-index: 2; height: 150px; --petal: #F4EEFF; --stem: #6E79B8; }
.night-bed .fl { bottom: 0; }

/* ---------- footer (shared) ---------- */
.foot { position: relative; z-index: 2; background: var(--night-deep); color: #E3DCFF; --focus: var(--honey); }
.foot-inner { max-width: 1240px; margin: 0 auto; padding: 1.6rem var(--gutter) 2.2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 2rem; border-top: 2px solid rgba(244, 238, 255, .14); }
.foot-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.foot-nav a { color: var(--honey); font-weight: 700; padding: .3rem 0; }
.copy { margin: 0; font-size: 1rem; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .bloom { margin-top: 5.5rem; }
  .bloom-card { grid-template-columns: 1fr; border-radius: 36px 36px 36px 12px; padding-top: calc(clamp(130px, 30vw, 160px) * .55); }
  .bloom-flower { left: 50%; top: -84px; translate: -50% 0; width: clamp(130px, 30vw, 160px); }
  .bloom-text h3, .bloom-kind { margin-left: 0; text-align: center; }
  .bloom-shots { padding-top: 0; }
  .bud { margin-left: 0; }
}
@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .wm-studios { font-size: .52em; }
  .brand-name { display: none; }
  .brand .bee-svg { width: 46px; }
  .top-nav a { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .phone { border-radius: 16px; padding: 4px; }
  .phone img { border-radius: 12px; }
  .bloom-links .btn { width: 100%; }
  .moon { right: 7%; top: 1.6rem; width: 54px; }
  .scene--night { padding-top: 6.5rem; }
}

/* phones and tablets: no travelling sun over the text; each hour's sun sits in free sky instead */
.sun-spot { display: none; position: absolute; z-index: 0; border-radius: 50%; aspect-ratio: 1; pointer-events: none; }
.stop-mark--bloom { top: 9%; }
@media (max-width: 959px) {
  .motion .heavens, .heavens { display: none; }
  .hero-sun { display: none; }
  .sun-spot { display: block; }
  .section-head { position: relative; }
  .sun-spot--dawn { right: 13%; top: 12%; width: 56px; background: radial-gradient(circle, #FFFBEA 0 40%, #FFEAB0 75%); box-shadow: 0 0 0 7px rgba(255, 244, 214, .55); }
  .sun-spot--noon { right: 0; top: 0; width: 52px; background: radial-gradient(circle, #FFF4C2 0 30%, #FFD34F 72%); box-shadow: 0 0 0 7px rgba(255, 226, 140, .35); }
  .sun-spot--dusk { right: 12%; top: 5%; width: 62px; background: radial-gradient(circle, #FFD9A0 0 25%, #FF8F63 75%); box-shadow: 0 0 0 8px rgba(255, 170, 120, .3); }
  .motion .sun-spot--dawn, .motion .sun-spot--dusk { will-change: transform; }
}
@media (max-width: 860px) {
  /* the flower sits centred on the card: the bee perches on the card's top edge, left of the flower */
  .stop-mark--bloom { left: -50%; top: 84px; }
}
@media (max-width: 699px) {
  .flyer { width: 54px; }
}

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

/* ===================================================================== */
/* Sub pages: game page, privacy, 404                                    */
/* ===================================================================== */
.sub .scene--morning { min-height: 0; }
.crumbs ol { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; font-size: 1rem; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--plum-soft); }
.crumbs li { white-space: nowrap; }
.crumbs a { font-weight: 700; }
.crumbs a[aria-current] { text-decoration: none; }

/* game hero (morning) */
.game-hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding-top: clamp(6.5rem, 10vw, 8rem);
}
.game-icon { width: clamp(84px, 8vw, 108px); border-radius: 24%; border: 3px solid var(--plum); box-shadow: 0 5px 0 var(--plum); margin-bottom: 1.2rem; }
.game-title { font-size: clamp(3.6rem, 9.5vw, 7.4rem); line-height: .9; letter-spacing: -.015em; margin-bottom: 1.4rem; }
.game-title-sub { display: block; font-size: .36em; font-weight: 600; letter-spacing: 0; margin-top: .3em; }
.game-hero .lede { max-width: 36ch; }
.release {
  display: inline-block; background: var(--paper); border: 3px solid var(--plum);
  border-radius: 22px 22px 22px 6px; padding: 1rem 1.25rem; box-shadow: 0 5px 0 rgba(42, 33, 86, .9);
}
.release .status { margin: 0 0 .35rem; }
.release-facts { margin: 0; color: var(--plum-soft); font-size: 1rem; }
.game-hero-phones { position: relative; display: flex; justify-content: flex-end; padding: 1rem 4% 0 0; }
.phone--hero { position: relative; z-index: 1; width: min(58%, 290px); rotate: 4deg; }
.phone--hero-back { position: absolute; right: 42%; top: 12%; width: min(46%, 230px); rotate: -7deg; }
.meadow--short { margin-top: clamp(1rem, 4vw, 2.5rem); height: clamp(120px, 14vw, 200px); }

/* the game's afternoon */
.game-day { background: linear-gradient(180deg, var(--morning) 0%, #F2F3DE 6%, #FFF1C8 28%, #FFE6A6 72%, var(--gold) 100%); padding-bottom: clamp(3rem, 7vw, 5rem); }
.game-section { padding-top: clamp(3.5rem, 8vw, 6rem); }
.game-section h2 { margin-bottom: 1rem; max-width: 20ch; }
.section-intro { font-size: clamp(1.15rem, 1.8vw, 1.3rem); max-width: 46ch; }
.cast { margin: 2rem 0 0; }
.cast img { width: 100%; border: 3px solid var(--plum); border-radius: 36px 36px 36px 12px; box-shadow: 0 8px 0 rgba(42, 33, 86, .9); }
.verbs { list-style: none; padding: 0; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 2.5rem); }
.verbs svg { width: 52px; height: 52px; margin-bottom: .7rem; }
.verbs h3 { font-size: clamp(1.6rem, 2.4vw, 1.9rem); margin-bottom: .4rem; }
.verbs p { margin: 0; }

.journey-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.stages { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.6rem; }
.stages li { position: relative; display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 1.1rem; align-items: end; }
.stages li + li::before { /* the path between stages */
  content: ""; position: absolute; left: 29px; top: -1.5rem; height: 1.3rem; border-left: 3px dotted var(--plum-soft);
}
.stages svg { width: 60px; height: 80px; overflow: visible; }
.stages h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-bottom: .2rem; }
.stages p { margin: 0; }
.phone--journey { justify-self: center; width: min(290px, 80%); rotate: 3deg; }

.cozy-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 3rem; max-width: 62rem; }
.cozy-list li { position: relative; padding-left: 2rem; }
.cozy-list li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 15px; height: 15px;
  border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--honey); border: 3px solid var(--plum);
}

.shots {
  display: flex; gap: clamp(1rem, 2vw, 1.5rem); align-items: flex-start;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 1.2rem max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))) 1.8rem;
  scroll-padding-inline: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter)));
  scrollbar-width: thin; scrollbar-color: var(--plum) transparent;
}
.shots .phone { flex: none; width: clamp(190px, 21vw, 260px); scroll-snap-align: start; }
.shots:focus-visible { outline-offset: -6px; border-radius: 24px; }

.langs { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .8rem; }
.langs li { font: 600 clamp(1.25rem, 2vw, 1.5rem)/1 var(--display); padding: .7rem 1.2rem .6rem; background: var(--paper); border: 3px solid var(--plum); border-radius: 999px; }

.status-card {
  max-width: 50rem; background: var(--paper); border: 3px solid var(--plum); border-radius: 44px 44px 44px 14px;
  box-shadow: 0 10px 0 rgba(42, 33, 86, .9); padding: clamp(1.6rem, 4vw, 3rem);
}
.status-card p { max-width: 54ch; }
.status-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 1.6rem 0 0; }

/* the day ends above every sub page footer */
.foot--sub {
  background: linear-gradient(180deg, var(--gold) 0, var(--coral) 24%, #7D5FA9 58%, var(--night-deep) 100%) top / 100% 170px no-repeat, var(--night-deep);
  padding-top: 170px;
}
.foot--sub .foot-inner { border-top: 0; }
.foot--sub.foot--from-morning { background: linear-gradient(180deg, #E4F0F2 0, #F8C9A8 26%, #7D5FA9 60%, var(--night-deep) 100%) top / 100% 170px no-repeat, var(--night-deep); }

/* privacy */
.doc-page .scene--morning { background: linear-gradient(180deg, #FFD9C0 0, #FFE6D2 240px, #EAF2F0 640px, #E4F0F2 100%); padding-bottom: clamp(3rem, 7vw, 5rem); }
.doc { position: relative; z-index: 2; max-width: 46rem; margin: 0 auto; padding: clamp(6rem, 12vw, 8rem) var(--gutter) 0; }
.doc-paper { background: var(--paper); border: 3px solid var(--plum); border-radius: 40px 40px 40px 12px; box-shadow: 0 8px 0 rgba(42, 33, 86, .9); padding: clamp(1.5rem, 5vw, 3.5rem); }
.doc h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-bottom: .6rem; }
.doc .updated { color: var(--plum-soft); font-weight: 700; margin-bottom: 1.8rem; }
.doc h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin: 2.2rem 0 .7rem; }
.doc ul { padding-left: 1.3rem; margin: 0 0 1em; }
.doc li { margin-bottom: .6rem; }
.doc li::marker { color: var(--plum-soft); }
.doc-meta { margin: 1.6rem 0 0; font-size: 1rem; }

/* 404 */
.lost { min-height: 100svh; display: flex; flex-direction: column; }
.lost main { flex: 1; display: flex; flex-direction: column; }
.lost .scene--night { flex: 1; display: flex; flex-direction: column; padding-top: 0; }
.lost-inner { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: clamp(6rem, 12vw, 8rem); padding-bottom: 2rem; }
.lost .top .brand, .lost .top-nav a { color: var(--moonlight); }
.lost .top { --focus: var(--honey); }
.lost h1 { font-size: clamp(2.8rem, 8vw, 5.6rem); margin-bottom: 1rem; }
.lost-inner p { max-width: 40ch; font-size: 1.2rem; }
.lost-inner p.lost-links { max-width: none; }
.lost-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.4rem; }
.lost-links .quiet-link { color: var(--honey); }
.sleepy { position: relative; z-index: 2; align-self: flex-end; margin-right: 9%; width: clamp(110px, 14vw, 180px); }
.sleepy .fl { position: relative; left: auto; bottom: auto; display: block; width: 46%; margin: 0 auto; --petal: #F4EEFF; --stem: #6E79B8; }
.sleepy .bee-svg { position: absolute; left: 10%; top: -24%; width: 80%; overflow: visible; }
.sleepy .zzz { display: block; right: -4%; top: -46%; }
.sleepy .zzz span { animation: zz 3s ease-in-out infinite; }
.sleepy .zzz span:nth-child(2) { animation-delay: 1s; font-size: .8em; }
.sleepy .zzz span:nth-child(3) { animation-delay: 2s; font-size: .65em; }

@media (max-width: 860px) {
  .game-hero-inner { grid-template-columns: 1fr; }
  .game-hero-phones { justify-content: center; padding: 0 0 0 22%; }
  .phone--hero { width: min(52%, 250px); }
  .phone--hero-back { right: 50%; width: min(42%, 200px); }
  .verbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey-inner { grid-template-columns: 1fr; }
  .cozy-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .verbs { grid-template-columns: 1fr; }
  .release { display: block; }
  .status-links .btn { width: 100%; }
  .sleepy { margin-right: 4%; }
  .lost .moon { top: auto; bottom: 90px; left: 10%; right: auto; }
}
