/* © 2026 ContentCrepe, LLC. All rights reserved.
 *
 * studio.css: the Crêpe Studio home page (first working version, for the owner's verdict).
 *
 * WHAT   The crêpe stand: a Tokyo crêpe stand whose menu is games. One stylesheet: tokens, seven
 *        "flavours" (colourways), the hero (kinetic headline, a crêpe stuffed with Walk It Off's
 *        robot parts, a turning stamp, a marquee), the menu, the recipe and the studio block.
 * WHY    The owner found the first three sketches "too plain" and asked for something creative,
 *        eye-catching and unique, and to "play around with the colors". The flavours are that
 *        play, built into the page.
 * GOTCHAS
 *  - The logo (emblem + Outfit wordmark) is the owner's selection: it is never redrawn, only
 *    recoloured with currentColor. On the sleeve only the emblem appears (too narrow for the name).
 *  - A flavour is a set of custom properties on html[data-flavour]. Sections below the hero sit
 *    on paper or ink and use --pop, so they hold in every flavour.
 *  - .show is sized from BOTH viewport width and height (the owner's screen is about 2000 x 940;
 *    sizing from one axis cut the Walk It Off hero off on it).
 *  - Motion runs only under html.motion. Without it everything is visible and still.
 *  - Japanese uses the Noto Sans JP subset (only the glyphs the page needs; see _tools).
 */

@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/Outfit-Variable.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Noto Sans JP";
  src: url("../assets/fonts/NotoSansJP-subset.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --ink: #171717;
  --ivory: #F7F4EC;
  --cobalt: #3156EF;
  --strawberry: #FF5A79;
  --custard: #FFD23F;
  --matcha: #1F6B45;
  --chocolate: #2B1B15;
  --grape: #6B3FE0;
  --lime: #C9F26C;

  /* the crêpe itself never changes flavour */
  --crepe: #F6DFA9; --crepe-hi: #FBEBC4; --crepe-edge: #E0B56C; --crepe-spot: #EBC582;
  --cream: #FFFDF6; --cream-shade: #EFE5CF;

  --font: "Outfit", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  --jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;

  --gutter: clamp(18px, 4vw, 76px);
  --nav-h: clamp(64px, 10vh, 104px);
  --band-h: clamp(44px, 6.4vh, 66px);
  --show-w: min(41vw, calc((100svh - var(--nav-h) - 56px) * .78));
  --show-r: calc(var(--show-w) * .14 + 10px);

  --out: cubic-bezier(.2, .9, .25, 1);
  --snap: cubic-bezier(.3, 1.55, .5, 1);
  --band: var(--ink); --band-fg: #fff;
}

/* ------------------------------------------------------------------ flavours */
html[data-flavour="blueberry"]  { --bg: #3156EF; --fg: #fff;    --hi: #FFD23F; --plate: #FFD23F; --sleeve: #FF5A79; --sleeve-ink: #fff;    --accent: #FFD23F; --accent-fg: #171717; --seal: #171717; --seal-fg: #fff;    --pop: #3156EF; --pop-fg: #fff; }
html[data-flavour="strawberry"] { --stamp-fg: #fff; --bg: #FF5A79; --fg: #171717; --hi: #fff;    --plate: #171717; --sleeve: #3156EF; --sleeve-ink: #fff;    --accent: #171717; --accent-fg: #fff;    --seal: #FFD23F; --seal-fg: #171717; --pop: #FF5A79; --pop-fg: #171717; }
html[data-flavour="custard"]    { --bg: #FFD23F; --fg: #171717; --hi: #3156EF; --plate: #FF5A79; --sleeve: #3156EF; --sleeve-ink: #fff;    --accent: #171717; --accent-fg: #FFD23F; --seal: #171717; --seal-fg: #fff;    --pop: #FFD23F; --pop-fg: #171717; }
html[data-flavour="matcha"]     { --bg: #1F6B45; --fg: #F7F4EC; --hi: #FFD23F; --plate: #FF8FA6; --sleeve: #FFD23F; --sleeve-ink: #171717; --accent: #FFD23F; --accent-fg: #171717; --seal: #F7F4EC; --seal-fg: #171717; --pop: #1F6B45; --pop-fg: #F7F4EC; }
html[data-flavour="chocolate"]  { --bg: #2B1B15; --fg: #F7F4EC; --hi: #FF5A79; --plate: #FF5A79; --sleeve: #FFD23F; --sleeve-ink: #171717; --accent: #FFD23F; --accent-fg: #171717; --seal: #FFD23F; --seal-fg: #171717; --pop: #2B1B15; --pop-fg: #F7F4EC; --band: #FFD23F; --band-fg: #171717; }
html[data-flavour="grape"]      { --bg: #6B3FE0; --fg: #fff;    --hi: #C9F26C; --plate: #C9F26C; --sleeve: #FF5A79; --sleeve-ink: #fff;    --accent: #C9F26C; --accent-fg: #171717; --seal: #171717; --seal-fg: #fff;    --pop: #6B3FE0; --pop-fg: #fff; }
html[data-flavour="cream"]      { --stamp-fg: #fff; --bg: #F7F4EC; --fg: #171717; --hi: #3156EF; --plate: #3156EF; --sleeve: #FF5A79; --sleeve-ink: #fff;    --accent: #3156EF; --accent-fg: #fff;    --seal: #FFD23F; --seal-fg: #171717; --pop: #3156EF; --pop-fg: #fff; }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font: 400 clamp(17px, 1.25vw, 20px)/1.5 var(--font); font-synthesis: none;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.035em; line-height: 1; }
ol, ul { list-style: none; }
a { color: inherit; }
img, video, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:lang(ja) { letter-spacing: 0; word-break: auto-phrase; line-break: strict; }   /* break Japanese between phrases, never inside a word */
.wrap { width: calc(100% - 2 * var(--gutter)); max-width: 1560px; margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; border-radius: 6px; }

.arr { width: 1.15em; height: 1.15em; flex: none; }
.btn {
  display: inline-flex; align-items: center; gap: .7em;
  min-height: 3em; padding: 0 1.25em 0 1.4em; border-radius: 999px;
  background: var(--accent); color: var(--accent-fg);
  font-weight: 600; font-size: clamp(17px, 1.3vw, 21px); text-decoration: none;
  transition: transform .18s var(--out), box-shadow .18s;
  box-shadow: 0 .28em 0 rgb(0 0 0 / .22);
}
.btn:hover { transform: translateY(-.14em); box-shadow: 0 .42em 0 rgb(0 0 0 / .22); }
.btn:active { transform: translateY(.2em); box-shadow: 0 .06em 0 rgb(0 0 0 / .22); }
.btn--pop { background: var(--pop); color: var(--pop-fg); }
html[data-flavour="custard"] .btn--pop, html[data-flavour="strawberry"] .btn--pop { background: var(--ink); color: #fff; }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  min-height: max(100svh, 600px);
  display: flex; flex-direction: column;
  background: var(--bg); color: var(--fg);
}
.nav {
  position: relative; z-index: 6; flex: none;
  height: var(--nav-h); padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__logo { display: block; width: clamp(180px, 15vw, 236px); margin-left: -8px; }
.nav__logo svg { width: 100%; height: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 38px); font-weight: 500; font-size: clamp(15px, 1.2vw, 19px); }
.nav__links a { text-decoration: none; position: relative; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -5px; height: 3px; border-radius: 3px; background: var(--hi); scale: 0 1; transform-origin: left; transition: scale .25s var(--out); }
.nav__links a:hover::after, .nav__links a:focus-visible::after { scale: 1 1; }
.nav__where { display: inline-flex; align-items: center; gap: .55em; opacity: .86; font-weight: 400; white-space: nowrap; }
.nav__where time { font-variant-numeric: tabular-nums; font-weight: 600; }
.nav__where::before { content: ''; width: .5em; height: .5em; border-radius: 50%; background: var(--hi); }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: color-mix(in srgb, var(--fg) 8%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--fg) 26%, transparent); }   /* 8%: the unpressed label keeps 4.5:1 in every flavour */
.lang button { padding: .28em .8em; border-radius: 999px; font-weight: 600; font-size: .86em; line-height: 1.3; }
.lang button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }

.hero__copy {
  position: relative; z-index: 3; flex: 1;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 0 0 calc(var(--band-h) + clamp(64px, 11vh, 110px)) calc(var(--gutter) + clamp(26px, 2.8vw, 54px));
  width: min(60vw, 1220px);
}
.title {
  font-size: clamp(58px, min(9.5vw, 19vh), 216px);
  line-height: .9; letter-spacing: -.045em; font-weight: 600;
  margin: 0 0 .2em -.045em;
}
.title__line { display: block; white-space: nowrap; }
.title__line--2 { color: var(--hi); }
.title__line span { display: inline-block; white-space: pre; }   /* pre: a space between words keeps its width */
.title__line--2 span { transition: translate .22s var(--snap), rotate .22s var(--snap); }
.title__line--2 span:hover { translate: 0 -.1em; rotate: -7deg; }
:lang(ja) .title { font-family: var(--jp); font-weight: 900; font-size: clamp(50px, min(8.2vw, 16.6vh), 190px); line-height: 1.04; letter-spacing: -.03em; margin-bottom: .26em; }
.hero__lede { max-width: 26em; font-size: clamp(18px, 1.55vw, 27px); line-height: 1.34; text-wrap: pretty; }
:lang(ja) .hero__lede { font-size: clamp(16px, 1.3vw, 23px); line-height: 1.6; max-width: 29em; }
:lang(ja) :is(.hero__lede, .card__say, .belief p, .studio__plan, .card--next p) { text-wrap: balance; }   /* no one-word last lines in Japanese */
.hero__cta { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(16px, 2vw, 30px); margin-top: clamp(18px, 3vh, 34px); }
.mail { font-weight: 600; font-size: clamp(17px, 1.3vw, 21px); text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--hi); }
.mail:hover { text-decoration-thickness: 4px; }

/* a spine of vertical Japanese down the left edge, like the obi on a book */
.hero__ja {
  position: absolute; z-index: 3; left: clamp(10px, 1.5vw, 30px); top: calc(var(--nav-h) + 1vh); bottom: calc(var(--band-h) + 3vh);
  writing-mode: vertical-rl; display: flex; align-items: center; justify-content: center; gap: 1.1em;
  font: 700 clamp(15px, 1.5vw, 27px)/1 var(--jp); letter-spacing: .28em; white-space: nowrap;
}
/* in vertical writing the inline axis runs down the page: inline-size is the rule's length */
.hero__ja-rule { flex: 0 1 18vh; min-inline-size: 24px; block-size: 2px; background: currentColor; opacity: .5; }

/* ---- the show */
.show {
  position: absolute; z-index: 2;
  right: var(--show-r);
  bottom: calc(var(--band-h) - var(--show-w) * .1);
  width: var(--show-w); aspect-ratio: 700 / 900;
  --px: calc(var(--mx, 0) * -1px); --py: calc(var(--my, 0) * -1px);
}
.show__plate {
  position: absolute; left: 50%; top: 40%; width: 104%; aspect-ratio: 1; border-radius: 50%;
  background: var(--plate);
  translate: calc(-50% + var(--px) * 8) calc(-50% + var(--py) * 6);
}
.show__ring {
  position: absolute; left: 50%; top: 40%; width: 126%; max-width: none; aspect-ratio: 1; overflow: visible;
  translate: calc(-50% + var(--px) * 4) calc(-50% + var(--py) * 3);
}
.show__ring text { font: 600 27px var(--font); letter-spacing: .04em; fill: var(--fg); }
.crepe { position: absolute; inset: 0; rotate: 7deg; translate: calc(var(--px) * 18) calc(var(--py) * 12); }
.crepe__body { position: absolute; inset: 0; transform-origin: 50% 96%; }
.crepe__body svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.crepe__fill { position: absolute; inset: 0; }
.part { position: absolute; width: 0; height: 0; will-change: transform; }
.part img { position: absolute; max-width: none; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.crepe__hit { position: absolute; left: 8%; top: 4%; width: 84%; height: 60%; border-radius: 40%; cursor: grab; pointer-events: auto; }
.sprinkles { position: absolute; inset: 0; pointer-events: none; container-type: size; }
.sprinkle { position: absolute; width: 3.1%; height: 1.05%; border-radius: 99px; }

.seal {
  position: absolute; z-index: 3; left: -13%; bottom: 23%; width: 34%; aspect-ratio: 1;
  display: grid; place-items: center; rotate: -13deg; text-decoration: none; color: var(--seal-fg);
  translate: calc(var(--px) * 26) calc(var(--py) * 18);
  transition: scale .2s var(--snap);
}
.seal:hover, .seal:focus-visible { scale: 1.08; }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--seal); overflow: visible; }
.seal__text { position: relative; display: grid; justify-items: center; gap: .32em; line-height: 1; font-size: calc(var(--show-w) * .034); }
.seal__text small { font-weight: 600; font-size: .86em; letter-spacing: .12em; }
.seal__text b { font-weight: 700; font-size: 1.22em; letter-spacing: .01em; white-space: nowrap; }
.seal__text i { font-style: normal; font-weight: 600; font-size: .7em; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }

/* ---- flavours */
.flavours {
  position: absolute; z-index: 5;
  left: calc(var(--gutter) + clamp(26px, 2.8vw, 54px)); bottom: calc(var(--band-h) + clamp(12px, 2.6vh, 28px));
  display: flex; align-items: center; gap: 14px; padding: 8px 20px 8px 18px; border-radius: 999px;
  background: color-mix(in srgb, var(--fg) 8%, transparent);                 /* 8%: the small label keeps 4.5:1 in every flavour */
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--fg) 22%, transparent);
}
.flavours__label { display: grid; line-height: 1.1; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.flavours__label b { font-size: 16px; letter-spacing: 0; text-transform: none; font-weight: 600; min-width: 5.6em; }
.flavours__chips { display: flex; gap: 8px; }
.chip {
  position: relative; width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c1) 50%, var(--c2) 50%);
  box-shadow: 0 0 0 2.5px var(--fg);
  transition: transform .2s var(--snap);
}
.chip:hover { transform: scale(1.14) rotate(-10deg); }
.chip[aria-pressed="true"] { transform: scale(1.18); box-shadow: 0 0 0 2.5px var(--fg), 0 0 0 6px var(--bg), 0 0 0 8.5px var(--fg); }
.chip[data-today]::after { content: ''; position: absolute; right: -3px; top: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--hi); box-shadow: 0 0 0 2px var(--bg); }

/* ---- pause / play for everything that moves by itself (WCAG 2.2.2). Sits on the band. */
.motion-toggle {
  position: absolute; z-index: 6; right: clamp(10px, 1.6vw, 26px); bottom: calc((var(--band-h) - 34px) / 2);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--band); color: var(--band-fg); box-shadow: 0 0 0 2px var(--band-fg), -14px 0 12px 6px var(--band);
}
.motion-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.motion-toggle__play { fill: currentColor; stroke-width: 2; display: none; }
.motion-toggle[aria-pressed="true"] .motion-toggle__play { display: block; }
.motion-toggle[aria-pressed="true"] .motion-toggle__pause { display: none; }
.motion-toggle:hover { scale: 1.1; }
.motion-toggle:focus-visible { outline: 3px solid var(--band-fg); outline-offset: 3px; border-radius: 50%; }

/* ---- marquee (the counter the crêpe stands in) */
.marquee { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: var(--band-h); display: flex; align-items: center; overflow: hidden; background: var(--band); color: var(--band-fg); }
.marquee__track { display: flex; flex: none; white-space: nowrap; font-weight: 600; font-size: clamp(15px, 1.45vw, 23px); letter-spacing: .07em; text-transform: uppercase; }
.marquee__track span { padding: 0 .9em; }
.marquee__track i { font-style: normal; color: var(--custard); }
html[data-flavour="chocolate"] .marquee__track i { color: var(--strawberry); }

/* ------------------------------------------------------------------ sections */
.sec { margin-bottom: clamp(32px, 5vw, 72px); }
.tag {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .42em 1em .38em; border-radius: 999px; background: var(--ink); color: #fff;
  font-weight: 600; font-size: clamp(13px, 1vw, 16px); letter-spacing: .1em; text-transform: uppercase;
}
.tag::before { content: ''; width: .62em; height: .62em; border-radius: 50%; background: var(--custard); }
.sec h2 { margin-top: .32em; font-size: clamp(40px, 6.6vw, 124px); line-height: .95; letter-spacing: -.045em; text-wrap: balance; }
:lang(ja) .sec h2 { font-family: var(--jp); font-weight: 900; font-size: clamp(32px, 5vw, 96px); line-height: 1.12; letter-spacing: -.02em; }

.menu { padding: clamp(72px, 10vw, 160px) 0 clamp(64px, 8vw, 130px); background: var(--ivory); }
.cards { display: grid; grid-template-columns: minmax(0, 2.25fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 32px); }
.card { position: relative; border-radius: clamp(22px, 2.6vw, 40px); overflow: hidden; }
.card--game { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); background: #fff; box-shadow: 0 2px 0 rgb(23 23 23 / .05), 0 40px 70px -40px rgb(23 23 23 / .45); }
.card__media { position: relative; display: block; min-height: clamp(280px, 34vw, 560px); overflow: hidden; background: #24348f; }
.card__art, .card__clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--out), opacity .45s linear; }
.card__art { object-position: 72% 50%; }
.card__clip { opacity: 0; }
.card__media.is-live .card__clip { opacity: 1; }
.card__media:hover .card__art, .card__media:hover .card__clip { transform: scale(1.04); }
.card__logo { position: absolute; left: 4.5%; top: 5%; width: 42%; height: auto; filter: drop-shadow(0 6px 10px rgb(0 0 0 / .3)); rotate: -3deg; }
.card__live { position: absolute; left: 4.5%; bottom: 5%; display: inline-flex; align-items: center; gap: .55em; padding: .42em .9em .36em; border-radius: 999px; background: rgb(23 23 23 / .78); color: #fff; font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; opacity: 0; transition: opacity .3s; }
.card__live::before { content: ''; width: .62em; height: .62em; border-radius: 50%; background: var(--strawberry); }
.card__media.is-live .card__live { opacity: 1; }
.card__body { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(10px, 1.2vw, 18px); padding: clamp(22px, 2.8vw, 46px); }
.ticket {
  display: inline-flex; align-items: baseline; gap: .2em; padding: .34em .9em .26em; background: var(--pop); color: var(--pop-fg);
  font-weight: 600; font-size: clamp(14px, 1.1vw, 18px); letter-spacing: .08em;
  /* a meal ticket: notches bitten out of both ends */
  -webkit-mask: radial-gradient(circle .42em at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle .42em at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle .42em at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle .42em at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
}
.ticket b { font-size: 1.5em; letter-spacing: 0; }
.ticket--ghost { background: rgb(23 23 23 / .12); color: var(--ink); }
.card h3 { font-size: clamp(34px, 3.7vw, 68px); }
.card__say { font-size: clamp(17px, 1.35vw, 22px); line-height: 1.38; color: #45423d; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 auto; }
.facts li { padding: .3em .85em .26em; border-radius: 999px; border: 2px solid var(--ink); font-weight: 600; font-size: clamp(13px, 1vw, 16px); }
.card .btn { margin-top: clamp(14px, 2vw, 30px); }
.card__steam { align-self: flex-start; margin-top: 2px; font-weight: 600; font-size: clamp(15px, 1.15vw, 18px); text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--cobalt); }
.card__steam[hidden] { display: none; }
.card__steam:hover { text-decoration-thickness: 4px; }
.card--next { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: clamp(22px, 2.8vw, 46px); border: 3px dashed rgb(23 23 23 / .3); min-height: clamp(240px, 26vw, 420px); }
.card--next .ticket { align-self: flex-start; }
.card--next h3 { font-size: clamp(28px, 2.8vw, 50px); }
.card--next p:last-child { color: #56524c; max-width: 16em; }
.card__cone { position: absolute; right: 6%; top: -9%; width: 54%; fill: none; stroke: rgb(23 23 23 / .22); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 18 16; rotate: 9deg; }

.recipe { padding: clamp(72px, 9vw, 150px) 0 clamp(80px, 10vw, 170px); background: var(--ink); color: #fff; }
.recipe .tag { background: #fff; color: var(--ink); }
.recipe .tag::before { background: var(--strawberry); }
.beliefs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 30px); }
.belief { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; min-height: clamp(260px, 27vw, 460px); padding: clamp(22px, 2.6vw, 44px); border-radius: clamp(22px, 2.6vw, 40px); overflow: hidden; }
.belief--1 { background: var(--strawberry); color: var(--ink); rotate: -1.4deg; }
.belief--2 { background: var(--custard); color: var(--ink); rotate: .9deg; translate: 0 clamp(10px, 1.6vw, 28px); }
.belief--3 { background: var(--cobalt); color: #fff; rotate: -.7deg; }
.belief__n { position: absolute; right: .12em; top: -.16em; font-weight: 700; font-size: clamp(150px, 19vw, 330px); line-height: 1; letter-spacing: -.06em; opacity: .16; }
.belief h3 { font-size: clamp(30px, 3.5vw, 64px); text-wrap: balance; }
:lang(ja) .belief h3 { font-family: var(--jp); font-weight: 900; font-size: clamp(26px, 2.9vw, 52px); line-height: 1.15; }
.belief p { font-size: clamp(17px, 1.35vw, 22px); line-height: 1.38; max-width: 19em; }

.studio { padding: clamp(80px, 10vw, 170px) 0 0; background: var(--bg); color: var(--fg); }
.tag--on { background: var(--fg); color: var(--bg); }
.tag--on::before { background: var(--hi); }
html[data-flavour="strawberry"] .tag--on::before, html[data-flavour="custard"] .tag--on::before { background: var(--bg); box-shadow: inset 0 0 0 2px var(--hi); }
.studio__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: end; }
.studio__say { margin-top: .5em; font-size: clamp(28px, 3.5vw, 64px); line-height: 1.06; letter-spacing: -.035em; text-wrap: pretty; }
:lang(ja) .studio__say { font-family: var(--jp); font-weight: 900; font-size: clamp(22px, 2.5vw, 46px); line-height: 1.35; letter-spacing: -.01em; }
.studio__plan { margin-top: 1.2em; font-size: clamp(18px, 1.55vw, 26px); line-height: 1.36; max-width: 26em; }
.hello { display: grid; justify-items: start; }
.stamp { position: relative; width: clamp(180px, 19vw, 330px); aspect-ratio: 1; margin: 0 clamp(40px, 6vw, 110px) clamp(36px, 5vw, 80px) auto; display: grid; place-items: center; border-radius: 50%; background: var(--plate); color: var(--stamp-fg, var(--ink)); rotate: 8deg; }
.stamp svg { position: absolute; inset: -17%; width: 134%; max-width: none; height: 134%; overflow: visible; }
.stamp text { font: 600 30px var(--font); letter-spacing: .06em; fill: var(--fg); }
.stamp__time { display: grid; justify-items: center; line-height: .9; }
.stamp__time b { font-size: clamp(44px, 5vw, 92px); font-weight: 600; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stamp__time span { margin-top: .5em; font-weight: 600; font-size: clamp(12px, .95vw, 16px); letter-spacing: .16em; }
.hello__label { font-weight: 600; font-size: clamp(13px, 1vw, 16px); letter-spacing: .12em; text-transform: uppercase; opacity: .92; }
.hello__mail { display: inline-block; margin-top: .12em; font-weight: 600; font-size: clamp(34px, 4.7vw, 92px); line-height: 1; letter-spacing: -.045em; text-decoration: none; background: linear-gradient(var(--hi), var(--hi)) 0 100% / 100% .09em no-repeat; padding-bottom: .1em; transition: background-size .25s var(--out), color .25s; }
.hello__mail:hover, .hello__mail:focus-visible { background-size: 100% 100%; color: var(--bg); }
html[data-flavour="strawberry"] .hello__mail:hover, html[data-flavour="custard"] .hello__mail:hover { color: var(--ink); }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(64px, 9vw, 150px); padding: 28px 0 34px; border-top: 2px solid color-mix(in srgb, var(--fg) 26%, transparent); }
.foot__home { display: block; margin-right: auto; border-radius: 10px; }
.foot__logo { width: clamp(180px, 14vw, 220px); height: auto; margin-left: -7px; }
.foot__links { display: flex; flex-wrap: wrap; gap: .4em 1.5em; font-weight: 500; font-size: clamp(15px, 1.1vw, 18px); }
.foot__links a { text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--hi); }
.foot__links a:hover { text-decoration-thickness: 4px; }
.counter > .foot { margin-top: 0; }
body.page-help .nav__help::after { scale: 1 1; }      /* you are here */
.foot__legal { font-size: clamp(14px, 1.05vw, 17px); opacity: .86; }

/* ------------------------------------------------------------------ motion (opt-in) */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes hop { 0% { opacity: 0; transform: translateY(.5em) rotate(8deg); } 60% { opacity: 1; transform: translateY(-.1em) rotate(-3deg); } 100% { opacity: 1; transform: none; } }
@keyframes join { from { opacity: 0; transform: translateX(calc(var(--d) * .34em)); } to { opacity: 1; transform: none; } }
@keyframes wave { 0%, 14%, 100% { font-weight: 600; transform: none; } 7% { font-weight: 860; transform: translateY(-.06em); } }
@keyframes wave-ja { 0%, 14%, 100% { transform: none; } 7% { transform: translateY(-.09em) rotate(-4deg); } }
@keyframes spread { from { scale: 0; } to { scale: 1; } }
@keyframes ring-in { from { opacity: 0; rotate: -50deg; scale: .86; } to { opacity: 1; rotate: 0deg; scale: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes cone-in { 0% { transform: translateY(70%) rotate(-10deg); } 70% { transform: translateY(-3%) rotate(1.5deg); } 100% { transform: none; } }
@keyframes bob { from { transform: translateY(0) rotate(0deg); } to { transform: translateY(-1.1%) rotate(.8deg); } }
@keyframes slap { 0% { opacity: 0; transform: scale(2.4) rotate(-30deg); } 60% { opacity: 1; transform: scale(.94) rotate(3deg); } 100% { opacity: 1; transform: none; } }
@keyframes sprinkle { 0% { opacity: 0; transform: translate(var(--fx), var(--fy)) scale(.2) rotate(0deg); } 70% { opacity: 1; } 100% { opacity: 1; transform: rotate(var(--r)); } }
@keyframes drift { from { translate: 0 0; } to { translate: 0 -34%; } }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes batter { from { clip-path: circle(0 at var(--vx, 50%) var(--vy, 50%)); } to { clip-path: circle(150vmax at var(--vx, 50%) var(--vy, 50%)); } }

html.motion .title__line--1 { animation: rise .6s var(--out) .1s both; }
html.motion .title__line--2 span { animation: hop .55s var(--snap) calc(.32s + var(--i) * .055s) both, wave 6.5s ease-in-out calc(3.2s + var(--i) * .1s) infinite; }
html.motion:lang(ja) .title__line--2 span { animation: hop .55s var(--snap) calc(.32s + var(--i) * .055s) both, wave-ja 6.5s ease-in-out calc(3.2s + var(--i) * .12s) infinite; }
html.motion .title__line--3 span { animation: join .7s var(--out) .62s both; }
html.motion .hero__lede { animation: rise .6s var(--out) .9s both; }
html.motion .hero__cta { animation: rise .6s var(--out) 1.02s both; }
html.motion .flavours { animation: rise .6s var(--out) 1.9s both; }
html.motion .hero__ja { animation: rise .8s var(--out) 1.2s both; }
html.motion .show__plate { animation: spread .75s var(--snap) .15s both; }
html.motion .show__ring { animation: ring-in .9s var(--out) .55s both; }
html.motion .show__ring text { transform-origin: 400px 400px; animation: spin 70s linear infinite; }
html.motion .crepe__body { animation: cone-in .85s var(--out) .4s both, bob 4.6s ease-in-out 1.3s infinite alternate; }
html.motion .seal { animation: slap .5s var(--out) 2s both; }
html.motion .sprinkle { animation: sprinkle .6s var(--snap) calc(1.5s + var(--i) * .035s) both, drift calc(2.6s + var(--i) * .13s) ease-in-out calc(2.2s + var(--i) * .1s) infinite alternate; }
html.motion .marquee__track { animation: slide 38s linear infinite; }
html.motion .stamp text { transform-origin: 400px 400px; animation: spin 46s linear infinite reverse; }
html.motion [data-reveal] { opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .5s linear var(--delay, 0s), transform .7s var(--snap) var(--delay, 0s); }
html.motion [data-reveal].is-in { opacity: 1; transform: none; }

/* a flavour or language change spreads from the control like batter on a griddle */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: batter .75s cubic-bezier(.3, .7, .2, 1) both; }

/* ------------------------------------------------------------------ narrow screens */
@media (max-width: 1040px) {
  :root { --show-w: min(74vw, 440px); --show-r: calc(50vw - var(--show-w) / 2); }
  .hero { min-height: 0; }
  .nav__far, .nav__where { display: none; }           /* the logo, Help and the language switch stay */
  .nav__logo { width: clamp(150px, 42vw, 200px); }
  .nav__links { gap: 14px; }
  .hero__copy { flex: none; width: auto; padding: clamp(10px, 3vw, 30px) var(--gutter) 0; }
  .title { font-size: clamp(50px, 15.4vw, 150px); }
  :lang(ja) .title { font-size: clamp(44px, 13.2vw, 130px); }
  .hero__ja { display: none; }
  .show { position: relative; right: auto; bottom: auto; flex: none; align-self: center; margin: clamp(46px, 11vw, 100px) 0 calc(var(--show-w) * -.1); }
  .flavours { position: relative; left: auto; bottom: auto; align-self: flex-start; margin: 22px var(--gutter) 0; order: 3; flex-wrap: wrap; gap: 10px 14px; padding: 12px 24px 18px 20px; border-radius: 26px; }
  .show { order: 4; }
  .marquee { position: relative; order: 5; flex: none; }
  .chip { width: 30px; height: 30px; }
  .flavours__chips { gap: 10px; padding-left: 4px; }
  .card--next { min-height: 330px; }
  .card__cone { width: 36%; right: 7%; top: -3%; }
  .cards, .card--game, .beliefs, .studio__grid { grid-template-columns: minmax(0, 1fr); }
  .card__media { min-height: 0; aspect-ratio: 16 / 10; }
  .belief { min-height: 0; padding-top: clamp(70px, 16vw, 120px); rotate: 0deg; translate: none; }
  .foot { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .motion-toggle { display: none; }                     /* the system already asked for stillness */
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
