/* GOT IT, BABE — studio site
   White / black / gold studio chrome with bold display type. Each IP keeps
   its own palette inside its card. IP palettes are provisional until
   official brand guides are supplied. */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f4ef;
  --ink: #1f1d1a;
  --ink-2: #4d4943;
  --ink-3: #6f6a62;
  --line: #dedad3;
  --line-strong: #c9c6c0;
  --gold: #c6a15b;
  --gold-light: #d6b878;
  --gold-deep: #85652b;
  --focus: #1f1d1a;

  /* IP cards stay on the studio palette: TOODVERSE on cream, FanFleur on
     black, both with gold. Each IP's own colour comes from its artwork. */
  --tv-bg: #f6f4ef;
  --tv-ink: #1f1d1a;
  --tv-ink-2: #4d4943;
  --tv-accent: var(--gold);
  --tv-meta: var(--gold-deep);
  --tv-soft: #ebe6db;

  --ff-bg: #1f1d1a;
  --ff-ink: #fffaf0;
  --ff-ink-2: #d9d2c6;
  --ff-accent: var(--gold);
  --ff-meta: var(--gold-light);
  --ff-soft: #2c2925;

  --display: "Caprasimo", "Kanit", Georgia, serif;
  --ui: "Outfit", "Kanit", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --header-h: 4.5rem;
  --r-lg: clamp(1.25rem, 2.6vw, 2rem);
  --r-md: 1.25rem;
  --r-sm: 0.4rem;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------------------------------------------------------------- base */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ui);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="th"] body { line-height: 1.75; }

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
main:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------------------------------------------------------- typography */

.eyebrow {
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
html[lang="th"] .eyebrow { letter-spacing: 0.02em; font-size: 0.95rem; font-weight: 500; }

.section__title {
  font-weight: 700;
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
html[lang="th"] .section__title { font-weight: 600; line-height: 1.35; letter-spacing: 0; }

.section__intro {
  max-width: 38rem;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.15rem);
  text-wrap: pretty;
}

.section { padding-block: var(--section); }
.section__head {
  display: grid;
  justify-items: center;
  gap: 1rem;
  text-align: center;
  margin-bottom: clamp(2.75rem, 5vw, 4rem);
}

/* -------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.3rem;
  border: 1.5px solid currentColor;
  border-radius: var(--r-sm);
  background: transparent;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
html[lang="th"] .btn { letter-spacing: 0.01em; font-weight: 600; font-size: 0.95rem; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn__dot { width: 0.35rem; height: 0.35rem; border-radius: 50%; background: currentColor; }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translate(2px, -2px); }

.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

.btn--line { color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--bg); }

/* --------------------------------------------------------------- header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: var(--bg);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-open { box-shadow: 0 10px 24px -20px rgba(31, 29, 26, 0.35); }

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}
.site-header__inner::after {
  content: "";
  position: absolute;
  left: var(--gutter); right: var(--gutter); bottom: 0;
  height: 1px;
  background: var(--line-strong);
}

.wordmark {
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark--lg { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); }

.site-nav { display: flex; align-items: center; gap: 2.25rem; }
.site-nav__list { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
  position: relative;
  padding-block: 0.4rem;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}
html[lang="th"] .site-nav__list a { font-weight: 500; font-size: 0.95rem; letter-spacing: 0; }
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.1rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-nav__list a:hover::after,
.site-nav__list a[aria-current="true"]::after { transform: scaleX(1); }

.lang { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.08em; }
.lang__link {
  display: inline-grid;
  place-items: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0 0.25rem 0 calc(0.25rem + 0.08em); /* offset trailing letter-spacing so labels sit centred */
  border-radius: 999px;
  color: var(--ink-3);
  text-decoration: none;
}
.lang__link:hover { color: var(--ink); }
.lang__link[aria-current="true"] { background: var(--gold); color: var(--ink); }
.lang__sep { color: var(--line-strong); }

.menu-toggle {
  display: none;
  width: 2.75rem; height: 2.75rem;
  margin-right: -0.5rem;
  border: 0; background: transparent;
  cursor: pointer;
  place-items: center;
}
.menu-toggle__bars,
.menu-toggle__bars::before {
  display: block;
  width: 1.4rem; height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.menu-toggle__bars { position: relative; transform: translateY(-3px); }
.menu-toggle__bars::before { content: ""; position: absolute; top: 6px; left: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { transform: translateY(0) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(-6px) rotate(-90deg); }

@media (max-width: 47.99em) {
  .menu-toggle { display: grid; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1.5rem var(--gutter) 2rem;
    background: var(--bg);
    box-shadow: 0 24px 40px -24px rgba(31, 29, 26, 0.25);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }
  .site-header.is-open .site-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a {
    display: block;
    padding-block: 0.9rem;
    font-weight: 700;
    font-size: 1.5rem;
    border-bottom: 1px solid var(--line);
  }
  html[lang="th"] .site-nav__list a { font-size: 1.4rem; font-weight: 600; }
  .site-nav__list a::after { display: none; }
  /* Without JS the toggle can't work, so show the nav inline instead. */
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .site-nav { position: static; visibility: visible; opacity: 1; transform: none; padding: 0; box-shadow: none; background: none; flex-direction: row; }
  html:not(.js) .site-nav__list { flex-direction: row; gap: 1rem; }
  html:not(.js) .site-nav__list a { font-size: 0.8rem; border: 0; }
  html:not(.js) .site-header { position: absolute; height: auto; padding-block: 0.75rem; }
  html:not(.js) .site-header__inner { flex-wrap: wrap; }
}

/* ----------------------------------------------------------------- hero */

.hero { padding-block: calc(var(--header-h) + clamp(1.75rem, 4vw, 3rem)) clamp(3.5rem, 8vw, 6rem); }
.hero__inner { display: grid; justify-items: center; text-align: center; }

.hero__eyebrow {
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
html[lang="th"] .hero__eyebrow { letter-spacing: 0.02em; font-size: 0.95rem; font-weight: 500; }

.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 0.4rem + 11vw, 10.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  white-space: nowrap;
  margin-block: 0.15em 0.32em;
}

.hero__card { position: relative; width: 100%; max-width: 64rem; }
.hero__panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
}
.hero__panel {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 4.2;
  border-radius: var(--r-lg);
  background: var(--bg-soft);
}
.hero__panel .ip-art__img,
.hero__panel .ip-art__placeholder { width: 100%; height: 100%; object-fit: cover; }
.hero__panel--toodverse .ip-art__img { object-position: 22% 50%; }
.hero__panel--fanfleur .ip-art__img { object-position: 50% 35%; }
.hero__panel-label {
  position: absolute;
  right: 0.9rem; bottom: 0.9rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge {
  position: absolute;
  left: -0.5rem;
  bottom: clamp(-2.5rem, -4vw, -1rem);
  width: clamp(7.5rem, 5rem + 8vw, 11rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform: rotate(-8deg);
}
.badge__shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: url(#badge-gold);
  filter: drop-shadow(0 6px 10px rgba(31, 29, 26, 0.15));
}
.badge__shape g { transform-origin: 0 0; animation: badge-spin 40s linear infinite; }
@keyframes badge-spin { to { transform: rotate(360deg); } }
.badge__text { position: relative; display: grid; gap: 0.15rem; line-height: 1.1; white-space: nowrap; }
.badge__small {
  font-weight: 700;
  font-size: clamp(0.55rem, 0.45rem + 0.3vw, 0.7rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge__main { font-weight: 700; font-size: clamp(1rem, 0.75rem + 0.8vw, 1.45rem); }
html[lang="th"] .badge__main { font-weight: 600; line-height: 1.3; }
html[lang="th"] .badge__small { letter-spacing: 0.02em; }

.hero__intro {
  display: grid;
  justify-items: center;
  gap: 1rem;
  max-width: 40rem;
  margin-top: clamp(3.5rem, 7vw, 5rem);
}
.hero__tagline {
  font-weight: 700;
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
html[lang="th"] .hero__tagline { line-height: 1.35; font-weight: 600; }
.hero__body { color: var(--ink-2); font-size: 1.05rem; max-width: 32rem; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 0.75rem; }

@media (max-width: 47.99em) {
  .hero__panels { grid-template-columns: 1fr; }
  .hero__panel { aspect-ratio: 4 / 3; }
  .hero__panel-label { right: 0.7rem; bottom: 0.7rem; }
  .badge { left: -0.25rem; bottom: -2.75rem; }
}

/* ------------------------------------------------- whiteboard explainer */

.explainer { padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.wb { max-width: 64rem; margin-inline: auto; }
.wb__board {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle, rgba(31, 29, 26, 0.11) 1px, transparent 1.3px) 0 0 / 22px 22px,
    #fffdf8;
  box-shadow: inset 0 0 60px rgba(198, 161, 91, 0.06);
}
/* the picture is drawn big in the middle; its explanation runs underneath like subtitles */
.wb-scene {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-content: center;
  gap: clamp(0.9rem, 2vw, 1.4rem);
  min-height: clamp(27rem, 48vw, 37rem);
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 4vw, 3rem) clamp(2rem, 4vw, 2.75rem);
}
.wb-scene[hidden] { display: none; }
html:not(.js) .wb-scene + .wb-scene { border-top: 1px dashed var(--line); }

.wb-scene__text { display: grid; justify-items: center; width: 100%; max-width: 42rem; text-align: center; }
.wb-sub {
  margin: 0;
  min-height: calc(2 * 1.45em);
  font-weight: 600;
  font-size: clamp(1.05rem, 0.85rem + 0.9vw, 1.45rem);
  line-height: 1.45;
  text-wrap: balance;
}
html[lang="th"] .wb-sub { line-height: 1.6; min-height: calc(2 * 1.6em); }
.wb-w { display: inline-block; }   /* words never break apart, Thai included */
/* captions break between script lines, never in the middle of one */
.wb-line { display: inline-block; max-width: 100%; }
/* still slides: every script line is its own row */
.wb.is-static .wb-line, .wb.is-slides .wb-line, html:not(.js) .wb-line { display: block; }
/* animated: only the current caption shows (explainer.js) */
.wb-line.is-off { display: none; }
.wb-cta { justify-self: center; margin-top: 0.9rem; }
.wb-key {
  padding: 0 0.12em;
  background: none;
  color: inherit;
  font-family: var(--display);
  font-weight: 700;
  font-synthesis: none;
}
html[lang="th"] .wb-key { padding: 0; }   /* Thai has no spaces between words, so padding reads as a gap */
.wb-key--under { white-space: nowrap; }   /* a key phrase stays on one line under its underline */

/* teacher-style diagram (animated scene + slideshow illustrations) */
.wb-scene--diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  align-content: center;
  gap: 0.25rem;
  min-height: clamp(27rem, 48vw, 37rem);
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 3vw, 2.5rem) clamp(2.25rem, 4vw, 3rem);
}
.wb-dg-title {
  justify-self: center;
  margin: 0;
  font-weight: 700;
  font-size: clamp(1rem, 0.8rem + 0.9vw, 1.35rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
html[lang="th"] .wb-dg-title { font-size: clamp(1.15rem, 0.9rem + 1vw, 1.55rem); font-weight: 600; letter-spacing: 0.01em; }
.wb-dg svg { display: block; width: 100%; height: auto; }
.dg--tall { display: none !important; }
.dg-line { fill: none; stroke: var(--ink); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.dg-gold { stroke: var(--gold); stroke-width: 3.6; }
.dg-title { font-family: var(--ui); font-weight: 700; font-size: 30px; fill: var(--ink); }
.dg-sub { font-family: var(--ui); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; fill: var(--ink-3); }
.dg-note { font-family: var(--ui); font-weight: 500; font-size: 24px; fill: var(--ink-2); }
.dg-centre { font-family: var(--ui); font-weight: 700; font-size: 28px; fill: var(--gold-deep); }
.dg--square .dg-title { font-size: 32px; }
.dg--square .dg-sub { font-size: 15px; }
.dg--tall .dg-note { font-size: 22px; }
.dg--doodle .dg-line { stroke-width: 4; }
.dg--doodle .dg-gold { stroke-width: 4.6; }
.dg--doodle .dg-thick { stroke-width: 9; }
.dg-hint { font-family: var(--ui); font-weight: 600; font-size: 22px; fill: var(--ink-3); }
.dg-hint--ink { font-weight: 700; font-size: 26px; fill: var(--ink); }
.dg-hint--small { font-size: 20px; }
.dg-mark { font-family: var(--ui); font-weight: 700; font-size: 56px; fill: var(--gold-deep); }
/* once drawn, the FanFleur picture keeps a little life: the heart beats, sparkles twinkle */
@media (prefers-reduced-motion: no-preference) {
  .wb:not(.is-slides) .dg.is-done .dg-beat,
  .wb:not(.is-slides) .dg.is-done .dg-twinkle { transform-box: fill-box; transform-origin: center; }
  .wb:not(.is-slides) .dg.is-done .dg-beat { animation: dg-beat 1.3s ease-in-out infinite; }
  .wb:not(.is-slides) .dg.is-done .dg-twinkle { animation: dg-twinkle 1.6s ease-in-out infinite; }
  .wb:not(.is-slides) .dg.is-done .dg-twinkle--late { animation-delay: 0.8s; }
}
@keyframes dg-beat { 0%, 100% { transform: scale(1); } 18% { transform: scale(1.18); } 36% { transform: scale(1); } 54% { transform: scale(1.1); } }
@keyframes dg-twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(0.6) rotate(45deg); opacity: 0.5; } }
html[lang="th"] .dg-title, html[lang="th"] .dg-centre { font-weight: 600; }
/* slideshow: the slide's own part stands out, the rest fades back */
.dg[data-focus] .dg-node, .dg[data-focus] .dg-arrow { opacity: 0.25; }
.dg[data-focus="worlds"] [data-node="worlds"],
.dg[data-focus="brand"] [data-node="brand"],
.dg[data-focus="fans"] [data-node="fans"] { opacity: 1; }
.dg[data-focus="worlds"] [data-node="worlds"] .dg-line:first-child,
.dg[data-focus="brand"] [data-node="brand"] .dg-line:first-child,
.dg[data-focus="fans"] [data-node="fans"] .dg-line:first-child { stroke: var(--gold); stroke-width: 5; }
.wb-scene__art--diagram::before { display: none; }
.wb-scene__art--diagram svg { width: 100%; height: 100%; }

.wb__marks { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.wb__mark { fill: none; stroke: var(--gold); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }

.wb-scene__art {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: clamp(15rem, 34vw, 25rem);
  aspect-ratio: 1;
  margin: 0;
}
.wb-scene__color,
.wb-scene__sketch { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 1.25rem; }
.wb-scene__sketch { z-index: 1; overflow: hidden; }
/* faint dashed frame marks where the picture will be drawn */
.wb-scene__art::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px dashed rgba(31, 29, 26, 0.18);
  border-radius: 1.25rem;
}
.wb-scene__color { z-index: 2; object-fit: cover; }
html:not(.js) .wb-scene__sketch { display: none; }

.wb__pen {
  position: absolute;
  left: 0; top: 0;
  z-index: 6;
  width: 44px; height: 44px;
  margin: -33px 0 0 -31px;   /* puts the pencil tip on the writing point */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
  filter: drop-shadow(0 6px 8px rgba(31, 29, 26, 0.25));
}
.wb__pen.is-on { opacity: 1; }
.wb__pen svg { width: 100%; height: 100%; }

.wb__progress {
  position: absolute;
  left: 1.25rem; right: 1.25rem; bottom: 0.9rem;
  height: 3px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}
.wb__progress span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
html:not(.js) .wb__progress, html:not(.js) .wb__pen { display: none; }
.wb.is-static .wb__progress, .wb.is-static .wb__pen { display: none; }

.wb__controls { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.6rem; margin-top: 1rem; }
.wb__controls[hidden] { display: none; }
.wb__btn {
  display: inline-grid;
  place-items: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink-2);
  cursor: pointer;
}
.wb__btn:hover { border-color: var(--ink); color: var(--ink); }
.wb__btn svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wb__btn--toggle { display: inline-flex; gap: 0.5rem; padding: 0 0.95rem; font-weight: 600; font-size: 0.8rem; }
.wb__btn--toggle[hidden] { display: none; }
.wb__toggle-icon { width: 0.6rem; height: 0.7rem; border-inline: 2.5px solid currentColor; }
.is-ended .wb__toggle-icon,
.is-paused .wb__toggle-icon { width: 0; height: 0; border-inline: 0; border-left: 0.6rem solid currentColor; border-block: 0.38rem solid transparent; }
.wb__btn { flex: none; white-space: nowrap; }
.wb__btn--mode { padding: 0 0.95rem; font-weight: 600; font-size: 0.8rem; margin-left: 0.4rem; }
.wb__btn--mode[hidden] { display: none; }
.is-slides .wb__progress, .is-slides .wb__pen { display: none; }
.wb__dots { display: flex; gap: 0.4rem; padding-inline: 0.4rem; }
.wb__dot { width: 0.55rem; height: 0.55rem; padding: 0; border: 0; border-radius: 999px; background: var(--line-strong); cursor: pointer; transition: width 0.25s var(--ease), background-color 0.25s; }
.wb__dot[aria-current="true"] { width: 1.6rem; background: var(--gold); }

@media (max-width: 47.99em) {
  .dg--wide { display: none !important; }
  .wb-dg .dg--tall { display: block !important; width: auto; max-width: 20rem; max-height: calc(100svh - 13rem); margin-inline: auto; }
  .wb__dots { gap: 0.3rem; padding-inline: 0.2rem; }
  .wb__dot { width: 0.45rem; height: 0.45rem; }
  .wb__dot[aria-current="true"] { width: 1.2rem; }
  .wb__btn--mode { margin-left: 0; }
  .wb-scene { min-height: 0; }
  .wb-sub { min-height: calc(3 * 1.45em); }
  html[lang="th"] .wb-sub { min-height: calc(3 * 1.6em); }
}

/* ----------------------------------------------------------- IP showcase */

.worlds { border-top: 1px solid var(--line); }
.worlds__list { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }

.ip {
  --cbg: var(--bg-soft); --fg: var(--ink); --fg-2: var(--ink-2); --accent: var(--ink); --soft: var(--line);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(1.25rem, 3.5vw, 3rem);
  border-radius: var(--r-lg);
  background: var(--cbg);
  color: var(--fg);
}
.ip--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.ip--flip .ip__art { order: 2; }

.ip--toodverse { --cbg: var(--tv-bg); --fg: var(--tv-ink); --fg-2: var(--tv-ink-2); --accent: var(--tv-accent); --meta: var(--tv-meta); --soft: var(--tv-soft); }
.ip--fanfleur { --cbg: var(--ff-bg); --fg: var(--ff-ink); --fg-2: var(--ff-ink-2); --accent: var(--ff-accent); --meta: var(--ff-meta); --soft: var(--ff-soft); }
.ip--fanfleur :focus-visible { outline-color: var(--ff-ink); }

.ip-art { position: relative; overflow: hidden; aspect-ratio: 5 / 4; border-radius: calc(var(--r-lg) - 0.4rem); background: var(--soft); }
.ip-art__placeholder, .ip-art__svg, .ip-art__img { width: 100%; height: 100%; }
.ip-art__img { object-fit: cover; }
.ip--fanfleur .ip-art { border-radius: 50% 50% var(--r-md) var(--r-md) / 38% 38% var(--r-md) var(--r-md); aspect-ratio: 4 / 4.4; }

.ip__body { display: grid; gap: 1.25rem; align-content: start; padding-block: 0.5rem; container-type: inline-size; }
.ip__meta {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--meta, var(--fg-2));
}
html[lang="th"] .ip__meta { letter-spacing: 0.02em; font-size: 0.9rem; font-weight: 500; }

.ip__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 1.6rem + 3vw, 4.5rem);
  font-size: clamp(2.2rem, 14cqi, 5rem); /* fit the column: wide display face */
  line-height: 0.95;
}
.ip__desc { font-size: clamp(1.1rem, 1rem + 0.35vw, 1.25rem); line-height: 1.5; max-width: 30rem; text-wrap: pretty; }

.ip__exps { border-top: 1px solid color-mix(in srgb, var(--fg) 22%, transparent); }
.ip__exp {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem;
  padding-block: 0.8rem;
  border-bottom: 1px solid color-mix(in srgb, var(--fg) 22%, transparent);
}
.ip__exp-name { font-weight: 700; font-size: 1.1rem; line-height: 1.3; }
html[lang="th"] .ip__exp-name { font-weight: 600; }
.ip__exp-format { font-size: 0.88rem; color: var(--fg-2); align-self: center; }
.ip__exp-status {
  display: inline-block; margin-left: 0.6rem; padding: 0.1rem 0.55rem; vertical-align: 0.12em;
  border-radius: 999px; border: 1px solid var(--accent);
  font-weight: 600; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--meta, var(--fg-2));
}
html[lang="th"] .ip__exp-status { letter-spacing: 0; font-size: 0.78rem; }

.ip__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.25rem; padding-top: 0.25rem; }
.btn--ip { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn--ip:hover { background: var(--gold-light); border-color: var(--gold-light); }
.ip__domain { font-size: 0.85rem; color: var(--fg-2); }

/* placeholder motion (only used while an IP has no key art) */
.float { animation: float 7s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
.float--b { animation-duration: 9s; animation-delay: -3s; }
.float--c { animation-duration: 6s; animation-delay: -1s; }
@keyframes float { to { transform: translateY(-14px); } }
.glow-pulse { animation: glow 8s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes glow { from { opacity: 0.7; transform: scale(0.96); } to { opacity: 1; transform: scale(1.04); } }

@media (max-width: 55.99em) {
  .ip, .ip--flip { grid-template-columns: 1fr; }
  .ip--flip .ip__art { order: 0; }
  .ip--fanfleur .ip-art { aspect-ratio: 4 / 4.2; max-width: 34rem; width: 100%; justify-self: center; }
}

/* ------------------------------------------------------ connected worlds */

/* World map: New Earth and FanFleur Sanctuary side by side; they merge into
   the GOT IT, BABE Universe animation (cosmos.js). */
.world-map {
  --map-gap: clamp(1rem, 2vw, 1.5rem);
  display: grid;
  justify-items: center;
  gap: 1rem;
  max-width: 52rem;
  margin-inline: auto;
}
.world-map__stage {
  position: relative;
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: var(--map-gap);
  width: 100%;
}
.world-map__hints {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: var(--map-gap);
  width: 100%;
}
.place__hint {
  padding-inline: 0.25rem;
  font-weight: 600;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  line-height: 1.4;
  color: var(--ink-2);
  text-align: center;
  text-wrap: balance;
}
html[lang="th"] .place__hint { font-weight: 500; line-height: 1.6; }
.place {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-soft);
  color: #fff;
}
.place__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.place::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 45%;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(20, 16, 14, 0.55), transparent);
  pointer-events: none;
}
.place__head { padding: clamp(1rem, 2vw, 1.4rem); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); }
.place__ip {
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
}
.place__name {
  font-family: var(--display);
  font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.85rem);
  line-height: 1.05;
  text-wrap: balance;
}

.world-map__link {
  position: absolute;
  z-index: 1;
  left: 50%;
  /* square cards: centre of a card = half its width */
  top: calc((100cqi - var(--map-gap)) / 4);
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 3.25rem; height: 3.25rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 0 0 5px var(--bg);
}
.world-map__link svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.world-map__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--gold);
  animation: pulse 3.2s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---- Cosmos: the two worlds merge into one orbiting system (cosmos.js) */
.place { transition: none; }
.cosmos {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: radial-gradient(ellipse at 50% 50%, #2c2620 0%, #18150f 55%, #0f0d0a 100%);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  contain: layout paint;
}
.cosmos__stars {
  position: absolute;
  inset: -20%;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 28% 72%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 44% 34%, rgba(255, 240, 210, 0.85), transparent),
    radial-gradient(1px 1px at 58% 82%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(2px 2px at 71% 22%, rgba(255, 230, 190, 0.9), transparent),
    radial-gradient(1px 1px at 84% 58%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 93% 12%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 6% 88%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 36% 8%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 66% 48%, rgba(255, 255, 255, 0.5), transparent);
  background-size: 260px 260px;
  animation: stars-drift 120s linear infinite;
  opacity: 0.85;
}
@keyframes stars-drift { to { transform: translate(-260px, -130px); } }
.cosmos__title {
  position: absolute;
  left: clamp(1.1rem, 3vw, 2rem);
  top: clamp(1rem, 2.6vw, 1.75rem);
  z-index: 4;
  display: grid;
  gap: 0.35rem;
  margin: 0;
  pointer-events: none;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}
/* soft dark halo so planets passing behind never hurt legibility */
.cosmos__title::before {
  content: "";
  position: absolute;
  inset: -1.6rem -2.4rem -1.6rem -1.6rem;
  z-index: -1;
  background: radial-gradient(ellipse at 40% 50%, rgba(15, 13, 10, 0.78) 0%, rgba(15, 13, 10, 0.45) 45%, transparent 72%);
}
.cosmos__title-brand {
  font-family: var(--display);
  font-size: clamp(1.15rem, 0.9rem + 1vw, 1.7rem);
  line-height: 1;
  color: #fffaf0;
}
.cosmos__title-word {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--ui);
  font-weight: 600;
  font-size: clamp(0.62rem, 0.55rem + 0.25vw, 0.75rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.cosmos__title-word::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.cosmos__camera { position: absolute; inset: 0; z-index: 1; }
.cosmos__core {
  position: absolute;
  left: 50%; top: 50%;
  width: 22px; height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff3d4 0%, var(--gold) 45%, rgba(198, 161, 91, 0) 72%);
  box-shadow: 0 0 40px 16px rgba(198, 161, 91, 0.35);
}
.planet {
  position: absolute;
  left: 0; top: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #2a241d;
  opacity: 0;
  will-change: transform, opacity;
  box-shadow: 0 0 0 2px rgba(214, 184, 120, 0.55), 0 12px 26px rgba(0, 0, 0, 0.55);
  transition: box-shadow 0.4s var(--ease);
}
.planet--tv { box-shadow: 0 0 0 2px rgba(255, 250, 240, 0.55), 0 12px 26px rgba(0, 0, 0, 0.55); }
.planet img { width: 100%; height: 100%; object-fit: cover; }
.planet--sprite { background: radial-gradient(circle at 50% 42%, #fffaf0 0%, #efe7d6 70%, #ddd2bc 100%); }
.planet--sprite img { object-fit: contain; padding: 10%; }
.planet.is-front { box-shadow: 0 0 0 3px var(--gold), 0 0 60px 8px rgba(198, 161, 91, 0.4); }
.cosmos__tag {
  position: absolute;
  left: 0; top: 0;
  z-index: 3;
  display: grid;
  justify-items: center;
  padding: 0.45rem 1rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  white-space: nowrap;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.cosmos__tag.is-shown { opacity: 1; }
.cosmos__tag span:first-child { font-weight: 700; font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); }
.cosmos__tag span:last-child { font-weight: 700; font-size: 0.95rem; line-height: 1.2; }
html[lang="th"] .cosmos__tag span:last-child { font-weight: 600; }

.cosmos-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.78rem;
  cursor: pointer;
}
.cosmos-toggle:hover { border-color: var(--ink); color: var(--ink); }
.cosmos-toggle[hidden] { display: none; }
.cosmos-toggle__icon { width: 0.6rem; height: 0.7rem; border-inline: 2.5px solid currentColor; }
.is-paused .cosmos-toggle__icon {
  width: 0; height: 0;
  border-inline: 0;
  border-left: 0.6rem solid currentColor;
  border-block: 0.38rem solid transparent;
}

@media (max-width: 35.99em) {
  .world-map__stage, .world-map__hints { grid-template-columns: 1fr; }
  .world-map__hints { gap: 0.5rem; }
  .place { aspect-ratio: 4 / 5; }
  .world-map__link { position: relative; left: auto; top: auto; translate: none; justify-self: center; margin: 0.25rem 0 1rem; transform: rotate(90deg); }
}


/* ------------------------------------------------------- collaborations */

.collab { background: var(--bg-soft); }
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 1.6vw, 1.25rem); }
.paths--pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.js .paths .reveal:nth-child(4) { transition-delay: 0.3s; }
.path {
  --tone: var(--ink);
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 0.8rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--r-lg);
  background: var(--bg);
}
.path--toodverse { --tone: var(--gold-deep); }
.path--fanfleur { --tone: var(--ink); }
.path--cross { --tone: var(--gold-deep); }

.path__num { font-family: var(--display); font-size: clamp(2.4rem, 2rem + 1.5vw, 3.2rem); line-height: 1; }
.path__where {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1.5px solid var(--tone);
  color: var(--tone);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
html[lang="th"] .path__where { letter-spacing: 0.02em; font-size: 0.85rem; font-weight: 600; }
.path__name { font-weight: 700; font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.75rem); line-height: 1.15; }
html[lang="th"] .path__name { font-weight: 600; line-height: 1.4; }
.path__body { color: var(--ink-2); }

.collab__foot {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
.collab__note { max-width: 42rem; color: var(--ink-2); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); text-wrap: pretty; }

@media (max-width: 55.99em) {
  .paths { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------- about */

.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); }
.about__head { display: grid; gap: 1.1rem; align-content: start; }
.about__body { display: grid; gap: clamp(2rem, 4vw, 2.75rem); }
.about__lead { font-weight: 600; font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.7rem); line-height: 1.4; text-wrap: pretty; }
html[lang="th"] .about__lead { font-weight: 500; line-height: 1.65; }

.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.pillar { display: grid; gap: 0.4rem; padding: 1.4rem; border-radius: var(--r-md); border: 1px solid var(--line); }
.pillar__title { font-size: 1.05rem; font-weight: 700; }
html[lang="th"] .pillar__title { font-weight: 600; }
.pillar__body { color: var(--ink-2); }
.about__stage { font-size: 0.95rem; color: var(--ink-3); }

@media (max-width: 55.99em) {
  .about__grid { grid-template-columns: 1fr; }
}
@media (max-width: 35.99em) {
  .pillars { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------- contact */

.contact { padding-top: 0; }
.contact__card {
  padding: clamp(2rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4.5rem);
  border-radius: var(--r-lg);
  background: var(--ink);
  color: var(--bg);
  --focus: var(--bg);
}
.contact :focus-visible { outline-color: var(--bg); }
.contact .eyebrow { color: #bdb6aa; }
.contact .section__intro { color: #d9d2c6; }
.contact__head { display: grid; justify-items: center; gap: 1.1rem; text-align: center; }
.contact__title { font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 1.8rem + 5.5vw, 6.5rem); line-height: 1; }
html[lang="th"] .contact__title { font-family: var(--ui); font-weight: 700; line-height: 1.25; }

.contact__email {
  display: grid;
  justify-items: center;
  margin-block: clamp(2.25rem, 5vw, 3.5rem);
  padding-block: 2rem;
  border-block: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}
.contact__email-label { margin-bottom: 0.75rem; font-weight: 600; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: #bdb6aa; }
.contact__email-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 1.25rem; }
.contact__address {
  font-weight: 700;
  font-size: clamp(1.35rem, 0.8rem + 2.6vw, 2.75rem);
  line-height: 1.15;
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}
.contact__address:hover { text-decoration-color: transparent; }

.copy-btn {
  min-height: 2.5rem;
  padding: 0.45rem 1rem;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--bg);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.copy-btn:hover { border-color: var(--bg); }
.copy-btn.is-done { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.inquiries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.inquiry__link {
  display: grid;
  gap: 0.6rem;
  height: 100%;
  padding: 1.6rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: background-color 0.25s var(--ease);
}
.inquiry__link:hover { background: rgba(255, 255, 255, 0.12); }
.inquiry__name { font-weight: 700; font-size: 1.3rem; line-height: 1.2; }
html[lang="th"] .inquiry__name { font-weight: 600; line-height: 1.4; }
.inquiry__body { color: #d9d2c6; font-size: 0.95rem; }
.inquiry__cta { align-self: end; margin-top: 0.75rem; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-light); }
.inquiry__cta span { display: inline-block; transition: transform 0.25s var(--ease); }
.inquiry__link:hover .inquiry__cta span { transform: translateX(4px); }

@media (max-width: 55.99em) {
  .inquiries { grid-template-columns: 1fr; }
}

/* --------------------------------------------- hub: STUDIO / GUIDE doors */

.hub-hero { padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.hub-hero .hero__tagline { max-width: 40rem; }
.phrase { display: inline-block; }

.hub { padding-bottom: var(--section); }
.hub__doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.75rem, 1.6vw, 1.25rem); }

.door {
  --door-muted: var(--ink-2);
  --door-accent: var(--gold-deep);
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 1rem;
  min-height: 100%;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.door:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(31, 29, 26, 0.45); }
.door--studio { background: var(--ink); color: #fffaf0; --door-muted: #d9d2c6; --door-accent: var(--gold-light); --focus: var(--bg); }
.door--guide { background: var(--bg-soft); color: var(--ink); }

.door__kicker { font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--door-accent); }
html[lang="th"] .door__kicker { letter-spacing: 0.02em; font-size: 0.95rem; font-weight: 600; }
.door__name { font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 2rem + 4vw, 5.5rem); line-height: 0.95; text-transform: uppercase; }
.door__body { max-width: 30rem; color: var(--door-muted); font-size: clamp(1.05rem, 1rem + 0.25vw, 1.15rem); text-wrap: pretty; }
.door__for { color: var(--door-muted); font-size: 0.9rem; }
.door__cta { margin-top: auto; padding-top: 0.75rem; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--door-accent); }
html[lang="th"] .door__cta { letter-spacing: 0.01em; font-size: 0.95rem; }
.door__cta span { display: inline-block; transition: transform 0.25s var(--ease); }
.door:hover .door__cta span { transform: translateX(4px); }

/* tag chips, shared by the doors and the guide categories */
.door__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.door__tags li {
  padding: 0.3rem 0.75rem;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  opacity: 0.85;
}
html[lang="th"] .door__tags li { font-size: 0.88rem; letter-spacing: 0; font-weight: 500; }

@media (max-width: 55.99em) {
  .hub__doors { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ header pillars */

.site-nav__pillar a[aria-current="page"] { color: var(--gold-deep); }
.site-nav__pillar a[aria-current="page"]::after { transform: scaleX(1); }
@media (min-width: 48em) {
  /* a hairline between the Studio/Guide links and the page's own sections */
  .site-nav__pillar + li:not(.site-nav__pillar) { padding-left: 2rem; border-left: 1px solid var(--line-strong); }
}

/* ---------------------------------------------------------------- guide */

.guide-hero .hero__intro { margin-top: clamp(1.5rem, 3vw, 2.25rem); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.5rem;
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
html[lang="th"] .pill { letter-spacing: 0.01em; font-size: 0.9rem; font-weight: 600; }
.pill__dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--gold); }

.guide-doing { padding-top: clamp(1rem, 3vw, 2rem); }
.path--line { border: 1px solid var(--line); }

.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 1.6vw, 1.25rem); }
.cat {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 0.9rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--r-lg);
  background: var(--bg);
}
.cat__status {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1.5px solid var(--gold);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
html[lang="th"] .cat__status { letter-spacing: 0.02em; font-size: 0.85rem; }
.cat--now .cat__status { background: var(--gold); color: var(--ink); }
.cat__name { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3rem); line-height: 1; }
html[lang="th"] .cat__name { font-family: var(--ui); font-weight: 700; line-height: 1.3; }
.cat__body { color: var(--ink-2); }
.cat .door__tags { color: var(--ink-2); }
.js .cats .reveal:nth-child(2) { transition-delay: 0.1s; }
.js .cats .reveal:nth-child(3) { transition-delay: 0.2s; }

.look__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.look__text { display: grid; gap: 1rem; justify-items: start; }
.honest { margin-top: 0.75rem; padding: 1.1rem 1.35rem; border-left: 3px solid var(--gold); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--bg-soft); }
.honest__title { font-weight: 700; }
.honest__body { color: var(--ink-2); }

.look__card {
  display: grid;
  gap: 0.6rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--r-lg);
  background: var(--ink);
  color: #fffaf0;
}
.look__example { font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); }
html[lang="th"] .look__example { letter-spacing: 0.02em; font-size: 0.85rem; }
.look__title { font-family: var(--display); font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.3rem); line-height: 1.1; margin-bottom: 0.5rem; }
html[lang="th"] .look__title { font-family: var(--ui); font-weight: 700; line-height: 1.35; }
.look__rows { display: grid; }
.look__row {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.look__kind { font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); }
html[lang="th"] .look__kind { letter-spacing: 0; font-size: 0.85rem; }
.look__name { color: #fffaf0; }
.look__go { color: var(--gold-light); }
.look__note { margin-top: 0.5rem; font-size: 0.8rem; color: #bdb6aa; }

@media (max-width: 55.99em) {
  .cats { grid-template-columns: 1fr; }
  .look__grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------- guide: sample look extras */

.react { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.35rem; padding: 0.2rem 0.6rem 0.2rem 0.25rem; border-radius: 999px; background: rgba(255, 250, 240, 0.12); font-size: 0.82rem; color: var(--gold-light); grid-column: 2 / -1; }
.react img { width: 1.9rem; height: 1.9rem; border-radius: 50%; background: rgba(255, 250, 240, 0.9); padding: 2px; object-fit: contain; }
.takes { display: grid; gap: 0.6rem; margin-top: 0.75rem; padding-top: 0.9rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.takes__label { font-weight: 700; font-size: 0.85rem; color: var(--gold-light); }
.takes__picks { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.takes__pick { min-height: 44px; padding: 0.45rem 1rem; border-radius: 999px; border: 1.5px solid rgba(255, 250, 240, 0.4); background: transparent; color: #fffaf0; font-weight: 600; cursor: pointer; }
.takes__pick[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.takes__line { padding: 0.75rem 0.9rem; border-radius: var(--r-sm); background: rgba(255, 250, 240, 0.08); color: #fffaf0; }
.takes__who { display: block; font-weight: 700; color: var(--gold-light); }
.takes__tag { display: block; margin-bottom: 0.35rem; font-size: 0.78rem; color: #bdb6aa; }
.door__status { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0.8rem; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); font-weight: 600; font-size: 0.8rem; }
.door__status .pill__dot { background: var(--gold); }
.takes__note { font-size: 0.78rem; color: #bdb6aa; }
.brands__all { margin-top: 1.5rem; text-align: center; font-weight: 700; }
.brands__all a { color: var(--gold-light); }
.hub-hero__sub { margin-top: 0.75rem; }

/* ------------------------------------------------- guide: characters */

.chars { background: var(--bg-soft); }
.chars__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.75rem, 1.6vw, 1.25rem); }
.char { display: grid; justify-items: start; align-content: start; gap: 0.8rem; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-lg); background: var(--bg); }
.char__art { display: grid; place-items: center; width: 5.5rem; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); }
.char__art img { width: 100%; height: 100%; object-fit: cover; }
.char--tood .char__art img { object-fit: contain; padding: 0.4rem; }
.char__name { font-weight: 700; font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem); line-height: 1.2; }
html[lang="th"] .char__name { font-weight: 600; line-height: 1.4; }
.char__body { color: var(--ink-2); }
.char__link { display: inline-flex; gap: 0.35rem; margin-top: 0.3rem; font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
@media (max-width: 47.99em) { .chars__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------- studio: partners & investors */

.partners { background: var(--bg-soft); }
.road { display: grid; gap: 1rem; margin-top: clamp(1.5rem, 4vw, 2.5rem); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--r-lg); background: var(--bg); }
.road__title { font-weight: 700; font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem); }
html[lang="th"] .road__title { font-weight: 600; }
.road__list { display: grid; }
.road__row { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; padding-block: 0.85rem; border-top: 1px solid var(--line); }
.road__when { justify-self: start; align-self: start; padding: 0.2rem 0.75rem; border-radius: 999px; font-weight: 700; font-size: 0.8rem; border: 1.5px solid var(--gold); color: var(--gold-deep); }
.road__row--now .road__when { background: var(--gold); color: var(--ink); }
.road__what { font-weight: 600; }
.road__note { color: var(--ink-2); font-size: 0.95rem; text-wrap: pretty; }
.road__contact { font-weight: 600; }
.road__contact a { color: var(--gold-deep); }
@media (max-width: 47.99em) { .road__row { grid-template-columns: 1fr; gap: 0.4rem; } }

/* ---------------------------------------------------------------- decks */
/* build/deck.py + deck.js. 16:9 on larger screens with type that scales with
   the slide; on phones every slide grows to fit, so nothing is cut off. */

.deck-section { padding-top: clamp(2rem, 5vw, 3.5rem); }
.deck { max-width: 72rem; margin-inline: auto; }
.deck__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 30px 60px -40px rgba(31, 29, 26, 0.55);
  isolation: isolate;
}
.deck__stage:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.deck:fullscreen { max-width: none; display: grid; place-content: center; gap: 1rem; background: #0f0e0c; padding: 2vh 2vw; }
.deck:fullscreen .deck__stage,
.deck:fullscreen .deck__bar { width: min(96vw, calc(88vh * 16 / 9)); }
.deck:fullscreen .deck__bar, .deck:fullscreen .deck__brand { color: #d9d2c6; }

.slide {
  position: absolute; inset: 0;
  display: grid;
  overflow: hidden;
  isolation: isolate;
  container-type: inline-size;
  opacity: 0; visibility: hidden;
  transition: opacity 0.55s var(--ease), visibility 0s linear 0.55s;
}
.slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.js .deck.is-ready .slide [data-in] { opacity: 0; transform: translateY(12px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.js .deck.is-ready .slide.is-active [data-in] { opacity: 1; transform: none; }
.js .deck.is-ready .slide.is-active [data-in="2"] { transition-delay: 0.1s; }
.js .deck.is-ready .slide.is-active [data-in="3"] { transition-delay: 0.2s; }
.js .deck.is-ready .slide.is-active [data-in="4"] { transition-delay: 0.3s; }
.js .deck.is-ready .slide.is-active [data-in="5"] { transition-delay: 0.4s; }
/* without JS: every slide, one under another */
html:not(.js) .deck__stage { aspect-ratio: auto; display: grid; gap: 1rem; background: none; box-shadow: none; overflow: visible; }
html:not(.js) .slide { position: relative; opacity: 1; visibility: visible; aspect-ratio: 16 / 9; border-radius: var(--r-lg); }
html:not(.js) .deck__bar { display: none; }

/* shared pieces */
.s-kicker { font-weight: 700; font-size: max(0.78rem, 1.2cqi); letter-spacing: 0.14em; text-transform: uppercase; }
html[lang="th"] .s-kicker { letter-spacing: 0.03em; font-size: max(0.82rem, 1.4cqi); font-weight: 600; }
.s-h { font-weight: 700; font-size: 3.9cqi; line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
html[lang="th"] .s-h { font-weight: 600; line-height: 1.32; letter-spacing: 0; }
.s-title { font-family: var(--display); font-weight: 400; line-height: 0.95; }
.s-body { font-size: 1.85cqi; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.s-foot { font-size: 1.55cqi; color: var(--ink-3); text-wrap: pretty; }
.s-gold { color: var(--gold); }
.s-gold-deep { color: var(--gold-deep); }
.s-under { background: linear-gradient(var(--gold), var(--gold)) 0 94% / 100% 0.09em no-repeat; padding-bottom: 0.03em; }
.s-tap {
  display: inline-flex; align-items: center; gap: 0.45em;
  min-height: 44px; padding: 0.5em 1.1em;
  border-radius: 999px; border: 1.5px solid var(--gold);
  font-weight: 700; font-size: max(0.85rem, 1.45cqi);
  color: var(--ink); text-decoration: none; background: rgba(255, 253, 248, 0.6);
  transition: background-color 0.2s var(--ease);
}
.s-tap:hover { background: var(--gold); }
.s-tap--light { color: #fffaf0; background: rgba(20, 19, 17, 0.35); border-color: var(--gold-light); }
.s-tap--light:hover { color: var(--ink); background: var(--gold-light); }
.s-pill { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.35em 0.9em; border-radius: 999px; background: rgba(255, 250, 240, 0.16); border: 1px solid rgba(255, 250, 240, 0.4); font-weight: 600; font-size: max(0.78rem, 1.3cqi); }
.s-pill__dot { width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--gold-light); }
.s-fashion { width: 100%; height: auto; }
.s-fashion .dg-line:not(.dg-gold) { stroke: var(--ink); }
.s-loop { width: 1.4em; height: 1.4em; flex: none; color: var(--gold); }

/* split (hook) */
.slide--split { grid-template-columns: 1fr 1fr; color: #fffaf0; }
.split__half { position: relative; display: grid; align-content: end; justify-items: start; gap: 1.1cqi; padding: 5cqi; isolation: isolate; overflow: hidden; }
.split__half--story { background: var(--ink); }
.split__half--story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.split__half--story::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(31,29,26,0.1) 10%, rgba(31,29,26,0.55) 45%, rgba(31,29,26,0.92) 80%); }
.split__half--look { background: var(--bg-soft); color: var(--ink); align-content: center; }
.split__half--look .s-fashion { width: 13cqi; margin-bottom: 0.6cqi; }
.split__q { font-weight: 600; font-size: 2.8cqi; line-height: 1.3; }
.split__big { font-family: var(--display); font-size: 6.4cqi; line-height: 1.05; }
html[lang="th"] .split__big { font-family: var(--ui); font-weight: 700; font-size: 5.8cqi; line-height: 1.2; }
.split__badge { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 8cqi; aspect-ratio: 1; border-radius: 50%; background: var(--gold); color: var(--ink); font-family: var(--display); font-size: 4.4cqi; box-shadow: 0 0 0 0.7cqi var(--bg-soft); }

/* duo (two sides) */
.slide--duo { background: #fffdf8; color: var(--ink); grid-template-rows: auto minmax(0, 1fr) auto; gap: 2.4cqi; padding: 4.6cqi 5.5cqi; justify-items: center; }
.duo__line { font-weight: 700; font-size: 4.2cqi; text-align: center; }
html[lang="th"] .duo__line { font-weight: 600; }
.duo__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2cqi; width: 100%; min-height: 0; }
.duo__card { display: grid; grid-template-rows: minmax(0, 1fr) auto auto; min-height: 0; gap: 0.8cqi; padding: 2.4cqi; border-radius: 2cqi; }
.duo__card--guide { background: var(--bg-soft); }
.duo__card--studio { background: var(--ink); color: #fffaf0; }
.duo__art { display: grid; place-items: center; min-height: 0; border-radius: 1.2cqi; overflow: hidden; }
.duo__art img { width: 100%; height: 100%; object-fit: cover; }
.duo__art--guide .s-fashion { width: 32%; }
.duo__name { font-family: var(--display); font-size: 3.6cqi; line-height: 1; }
.duo__body { font-size: 1.8cqi; line-height: 1.45; }
.duo__card--guide .duo__body { color: var(--ink-2); }
.duo__card--studio .duo__body { color: #d9d2c6; }
.duo__loop { display: inline-flex; align-items: center; gap: 0.6em; font-weight: 600; font-size: 1.8cqi; color: var(--gold-deep); }

/* host (GUIDE with the creator) */
.slide--host { background: #fffdf8; color: var(--ink); grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: 4cqi; padding: 5cqi 5.5cqi; }
.host__badge { display: grid; place-items: center; align-content: center; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #e7cf98, var(--gold) 55%, var(--gold-deep)); color: var(--ink); box-shadow: inset 0 0 0 1.2cqi rgba(255, 253, 248, 0.35); }
.host__pilot { font-family: var(--display); font-size: 7.5cqi; line-height: 1; }
.host__handle { font-weight: 700; font-size: 2.1cqi; letter-spacing: 0.02em; }
.host__text { display: grid; gap: 1.3cqi; justify-items: start; }
.stats { display: flex; flex-wrap: wrap; gap: 1.2cqi 3cqi; }
.stats li { display: grid; }
.stat__n { font-family: var(--display); font-size: 4.6cqi; line-height: 1; }
.stat__l { font-weight: 600; font-size: max(0.78rem, 1.25cqi); color: var(--ink-3); }
.host__taps { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.slide--host .s-pill { background: var(--bg-soft); border-color: var(--line-strong); color: var(--ink-2); }
.slide--host .s-pill__dot { background: var(--gold); }
.host__honest { font-weight: 600; font-size: 1.55cqi; padding: 0.7cqi 1.2cqi; border-left: 3px solid var(--gold); background: var(--bg-soft); border-radius: 0 0.6cqi 0.6cqi 0; }

/* look (get the look) */
.slide--look { background: var(--bg-soft); color: var(--ink); grid-template-columns: 1fr 1fr; align-items: center; gap: 4cqi; padding: 5cqi 5.5cqi; }
.lookslide__text { display: grid; gap: 1.4cqi; justify-items: start; }
.lookslide__phone { display: grid; gap: 0.5cqi; padding: 3cqi; border-radius: 2.4cqi; background: var(--ink); color: #fffaf0; box-shadow: 0 0 0 1cqi #2c2925; max-width: 34cqi; justify-self: center; width: 100%; }
.lookslide__phone .look__title { margin-bottom: 0.4cqi; }
.lookslide__phone .look__kind, .lookslide__phone .look__example { font-size: max(0.78rem, 1.1cqi); }

/* world (full-bleed key art) */
.slide--world { color: #fffaf0; align-content: end; padding: 5cqi 5.5cqi; }
.slide--world > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.slide--world::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,19,17,0.88) 0%, rgba(20,19,17,0.58) 40%, rgba(20,19,17,0) 70%), linear-gradient(0deg, rgba(20,19,17,0.5) 0%, rgba(20,19,17,0) 40%); }
.slide--world-right::before { background: linear-gradient(270deg, rgba(20,19,17,0.88) 0%, rgba(20,19,17,0.58) 40%, rgba(20,19,17,0) 70%), linear-gradient(0deg, rgba(20,19,17,0.5) 0%, rgba(20,19,17,0) 40%); }
.world__text { display: grid; gap: 1.2cqi; justify-items: start; max-width: 48%; }
.slide--world-right .world__text { justify-self: end; }
.world__title { font-size: 8.6cqi; }
.world__body { font-size: 1.95cqi; line-height: 1.5; color: #efe7da; }
.world__crew { display: flex; gap: 1cqi; align-items: center; }
.world__crew img { width: 5.6cqi; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 50%; background: rgba(255,250,240,0.16); padding: 0.4cqi; border: 1px solid rgba(255,250,240,0.35); }
.world__crew span { font-size: max(0.78rem, 1.3cqi); color: #d9d2c6; margin-left: 0.3cqi; }
.chips { display: flex; flex-wrap: wrap; gap: 0.7cqi; }
.chips li { padding: 0.45em 1em; border-radius: 999px; border: 1.5px solid rgba(255,250,240,0.55); font-weight: 600; font-size: max(0.78rem, 1.3cqi); }
.world__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2cqi; margin-top: 0.4cqi; }

/* fork */
.slide--fork { background: #fffdf8; color: var(--ink); align-content: center; gap: 3.4cqi; padding: 5cqi 5.5cqi; text-align: center; }
.fork__title { font-size: 4.6cqi; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8cqi; text-align: left; }
.tiles li { display: grid; }
.tile { display: grid; align-content: space-between; gap: 2cqi; min-height: 20cqi; padding: 2.6cqi; border-radius: 2cqi; text-decoration: none; transition: transform 0.25s var(--ease); }
.tile:hover { transform: translateY(-3px); }
.tile--guide { background: var(--bg-soft); border: 1.5px solid var(--line); }
.tile--studio { background: var(--ink); color: #fffaf0; }
.tile--brand { background: var(--gold); color: var(--ink); }
.tile__sub { font-weight: 700; font-size: max(0.78rem, 1.25cqi); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.75; }
html[lang="th"] .tile__sub { letter-spacing: 0.02em; }
.tile__label { font-weight: 700; font-size: 2.4cqi; line-height: 1.3; }
html[lang="th"] .tile__label { font-weight: 600; }
.tile__go { font-size: 2.6cqi; justify-self: end; }

/* today (status) */
.slide--today { background: #fffdf8; color: var(--ink); grid-template-rows: auto 1fr auto; gap: 2.6cqi; padding: 5cqi 5.5cqi; }
.today__head { display: grid; gap: 1cqi; }
.today__list { display: grid; gap: 1.4cqi; align-content: center; }
.today__list li { display: grid; grid-template-columns: 14cqi 1fr; align-items: center; gap: 2cqi; padding-bottom: 1.4cqi; border-bottom: 1px solid var(--line); }
.today__pill { justify-self: start; padding: 0.4em 1em; border-radius: 999px; font-weight: 700; font-size: max(0.78rem, 1.25cqi); border: 1.5px solid var(--gold); color: var(--gold-deep); }
.today__pill--c { background: var(--gold); color: var(--ink); }
.today__text { font-weight: 600; font-size: 2.1cqi; line-height: 1.4; }
.today__aud { display: flex; flex-wrap: wrap; align-items: end; gap: 1cqi 3cqi; }
.today__aud-label { font-weight: 600; font-size: max(0.78rem, 1.3cqi); color: var(--ink-3); }

/* pair (two worlds) */
.slide--pair { background: var(--ink); color: #fffaf0; grid-template-rows: auto 1fr; gap: 2.4cqi; padding: 4.6cqi 5.5cqi; }
.pair__title { text-align: center; }
.pair__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2cqi; min-height: 0; }
.pair__card { position: relative; border-radius: 2cqi; overflow: hidden; margin: 0; min-height: 0; }
.pair__card img { width: 100%; height: 100%; object-fit: cover; }
.pair__card figcaption { position: absolute; inset: auto 0 0; display: grid; gap: 0.4cqi; padding: 6cqi 2.4cqi 2.2cqi; background: linear-gradient(0deg, rgba(20,19,17,0.9), rgba(20,19,17,0)); }
.pair__name { font-family: var(--display); font-size: 4.2cqi; line-height: 1; }
.pair__fmt { font-weight: 600; font-size: max(0.8rem, 1.4cqi); color: #e8dcc4; }

/* compare */
.slide--compare { background: #fffdf8; color: var(--ink); grid-template-rows: auto 1fr auto; gap: 2.4cqi; padding: 4.6cqi 5.5cqi; }
.compare__head { display: grid; gap: 1cqi; }
.compare__cols { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2cqi; }
.lane { position: relative; display: grid; align-content: space-between; gap: 2cqi; padding: 2.8cqi; border-radius: 2cqi; }
.lane--old { background: #efece6; color: var(--ink-3); }
.lane--new { background: var(--ink); color: #fffaf0; }
.lane--new .s-loop { position: absolute; top: 2.2cqi; right: 2.4cqi; width: 4.4cqi; height: 4.4cqi; }
.lane__name { font-weight: 700; font-size: max(0.78rem, 1.4cqi); letter-spacing: 0.12em; text-transform: uppercase; }
.lane--new .lane__name { color: var(--gold-light); }
.steps { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8cqi 1cqi; font-weight: 700; font-size: 2.6cqi; }
html[lang="th"] .steps { font-weight: 600; }
.steps .arrow { font-weight: 400; opacity: 0.5; }
.steps--old span:last-child { text-decoration: line-through; text-decoration-thickness: 0.08em; opacity: 0.6; }
.steps--new span:not(.arrow) { color: var(--gold-light); }
.compare__method { font-size: 1.55cqi; color: var(--ink-2); }

/* channels */
.slide--channels { background: var(--bg-soft); color: var(--ink); grid-template-rows: auto 1fr auto; gap: 2.4cqi; padding: 4.6cqi 5.5cqi; }
.chans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8cqi; }
.chan { display: grid; align-content: start; justify-items: start; gap: 0.7cqi; padding: 2.4cqi; border-radius: 2cqi; background: #fffdf8; border: 1px solid var(--line); }
.chan__art { display: grid; place-items: center; width: 8cqi; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--bg-soft); margin-bottom: 0.6cqi; }
.chan__art img { width: 100%; height: 100%; object-fit: cover; }
.chan__art--draw .s-fashion { width: 62%; }
.chan__name { font-weight: 700; font-size: max(0.78rem, 1.25cqi); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.chan__verb { font-family: var(--display); font-size: 3.6cqi; line-height: 1; color: var(--gold-deep); }
html[lang="th"] .chan__verb { font-family: var(--ui); font-weight: 700; line-height: 1.25; }
.chan__body { font-size: 1.6cqi; line-height: 1.45; color: var(--ink-2); }

/* story (storyboard) */
.slide--story { background: #fffdf8; color: var(--ink); grid-template-rows: auto 1fr auto; gap: 2cqi; padding: 4.4cqi 5.5cqi; }
.story__head { display: grid; gap: 0.8cqi; }
.panels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4cqi; min-height: 0; }
.panel { position: relative; display: grid; grid-template-rows: 1fr auto; gap: 1cqi; padding: 1.4cqi; border-radius: 1.6cqi; background: var(--bg-soft); min-height: 0; }
.panel__n { position: absolute; top: 1cqi; left: 1cqi; z-index: 1; display: grid; place-items: center; width: 3.2cqi; aspect-ratio: 1; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 700; font-size: max(0.78rem, 1.3cqi); }
.panel__art { display: grid; place-items: center; min-height: 0; border-radius: 1cqi; overflow: hidden; background: #fffdf8; }
.panel__art img { width: 100%; height: 100%; object-fit: cover; }
.panel__art .dg { width: 100%; height: 100%; }
.panel__text { font-weight: 600; font-size: 1.45cqi; line-height: 1.4; }
.panel--mock { background: #fffdf8; border: 1.5px dashed var(--gold); }
.mock { display: grid; gap: 0.8cqi; align-content: start; }
.mock__label { font-weight: 700; font-size: max(0.78rem, 1.1cqi); color: var(--gold-deep); text-align: right; }
.mock__shop { position: relative; border-radius: 1cqi; overflow: hidden; }
.mock__shop img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.mock__shop span { position: absolute; left: 0.8cqi; bottom: 0.8cqi; padding: 0.3em 0.7em; border-radius: 999px; background: rgba(20,19,17,0.75); color: #fffaf0; font-weight: 600; font-size: max(0.78rem, 1.1cqi); }
.mock__row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.8cqi; padding: 0.9cqi 1cqi; border-radius: 0.8cqi; background: var(--ink); color: #fffaf0; font-size: max(0.78rem, 1.15cqi); }
.mock__row .look__kind { font-size: inherit; }
.mock__cta { color: var(--gold-light); font-weight: 700; }

/* levels */
.slide--levels { background: var(--bg-soft); color: var(--ink); grid-template-columns: 0.9fr 1.3fr; gap: 4cqi; align-items: end; padding: 5cqi 5.5cqi; }
.levels__text { display: grid; gap: 1.4cqi; align-self: center; }
.levels__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4cqi; align-items: end; height: 100%; }
.level { display: grid; align-content: start; gap: 0.9cqi; padding: 2.2cqi; border-radius: 1.6cqi; background: #fffdf8; border: 1px solid var(--line); }
.level:nth-child(1) { min-height: 44%; }
.level:nth-child(2) { min-height: 66%; }
.level:nth-child(3) { min-height: 90%; background: var(--ink); color: #fffaf0; border-color: var(--ink); }
.level__n { font-family: var(--display); font-size: 4cqi; line-height: 1; color: var(--gold-deep); }
.level:nth-child(3) .level__n { color: var(--gold); }
.level__en { font-weight: 600; font-size: max(0.78rem, 1.15cqi); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.level:nth-child(3) .level__en { color: #bdb6aa; }
.level__name { font-weight: 700; font-size: 2.1cqi; line-height: 1.25; }
.level__body { font-size: 1.5cqi; line-height: 1.45; color: var(--ink-2); }
.level:nth-child(3) .level__body { color: #d9d2c6; }
.level__tag { justify-self: start; margin-top: auto; padding: 0.35em 0.9em; border-radius: 999px; font-weight: 700; font-size: max(0.78rem, 1.15cqi); border: 1.5px solid var(--gold); color: var(--gold-deep); }
.level:nth-child(3) .level__tag { background: var(--gold); color: var(--ink); }

/* start (four steps) */
.slide--start { background: #fffdf8; color: var(--ink); grid-template-rows: auto 1fr auto; gap: 2.6cqi; padding: 5cqi 5.5cqi; }
.start__head { display: grid; gap: 1cqi; }
.steps-line { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4cqi; align-content: center; counter-reset: none; }
.steps-line::before { content: ""; position: absolute; left: 12%; right: 12%; top: 3.4cqi; height: 2px; background: var(--line-strong); }
.step { position: relative; display: grid; justify-items: center; gap: 1.2cqi; text-align: center; }
.step__n { display: grid; place-items: center; width: 6.8cqi; aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: var(--gold-light); font-family: var(--display); font-size: 3cqi; box-shadow: 0 0 0 0.8cqi #fffdf8; }
.step:last-child .step__n { background: var(--gold); color: var(--ink); }
.step__name { font-weight: 700; font-size: 2.1cqi; }
html[lang="th"] .step__name { font-weight: 600; }
.start__notes { display: grid; gap: 0.8cqi; }
.start__notes li { position: relative; padding-left: 2.4cqi; font-weight: 600; font-size: 1.7cqi; }
.start__notes li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-deep); }

/* close */
.slide--close { background: var(--ink); color: #fffaf0; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 4cqi; padding: 4.6cqi 5.5cqi; }
.close__art { order: 2; margin: 0; align-self: stretch; border-radius: 2cqi; overflow: hidden; }
.close__art img { width: 100%; height: 100%; object-fit: cover; }
.close__text { display: grid; gap: 1.3cqi; justify-items: start; }
.close__title { font-size: 4.4cqi; }
.close__fit { color: #efe7da; }
.close__micro { font-size: max(0.8rem, 1.4cqi); color: #d9d2c6; }
.close__partner { font-size: max(0.8rem, 1.4cqi); color: #d9d2c6; }
.close__partner a { color: var(--gold-light); font-weight: 700; }

/* control bar */
.deck__bar { display: flex; align-items: center; gap: 1rem; margin: 1rem auto 0; color: var(--ink-2); }
.deck__btn { display: inline-grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; color: inherit; cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.deck__btn svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.deck__btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.deck__btn[hidden] { display: none; }
.deck__progress { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.deck__progress span { display: block; width: 0; height: 100%; background: var(--gold); transition: width 0.45s var(--ease); }
.deck__count { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 4.5ch; text-align: center; }
.deck__brand { display: block; width: fit-content; margin: 0.9rem 0 0 auto; font-size: 0.85rem; font-weight: 600; color: var(--ink-3); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 0.25em; }
.deck__brand:hover { color: var(--ink); text-decoration-color: var(--gold); }
.deck__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.4rem 1.4rem; margin-top: 0.9rem; }
.deck__links .deck__brand { margin: 0; }

/* phones: slides grow to fit and stack their layouts */
@media (max-width: 47.99em) {
  .deck__stage { aspect-ratio: auto; display: grid; }
  .slide { position: relative; grid-area: 1 / 1; padding: 1.5rem 1.25rem 1.75rem !important; gap: 1rem; align-content: start; }
  .js .deck.is-ready .slide:not(.is-active) { display: none; }
  .s-kicker { font-size: 0.78rem; }
  html[lang="th"] .s-kicker { font-size: 0.88rem; }
  .s-h { font-size: 1.45rem; }
  .s-body, .world__body, .duo__body, .chan__body, .level__body, .compare__method { font-size: 1rem; }
  .s-foot, .panel__text, .close__micro, .close__partner, .start__notes li { font-size: 0.92rem; }
  .s-tap { font-size: 0.92rem; }
  .chips li, .s-pill, .today__pill, .level__tag, .level__en, .chan__name, .lane__name, .tile__sub, .stat__l, .today__aud-label, .world__crew span, .mock__label, .mock__row, .mock__shop span, .panel__n { font-size: 0.8rem; }

  .slide--split { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; padding: 0 !important; gap: 0; }
  .split__half { padding: 1.5rem 1.25rem; min-height: 15rem; }
  .split__q { font-size: 1.05rem; }
  .split__big, html[lang="th"] .split__big { font-size: 1.9rem; }
  .split__half--look .s-fashion { width: 5.5rem; }
  .split__badge { width: 3.2rem; font-size: 1.8rem; box-shadow: 0 0 0 5px var(--bg-soft); }

  .duo__line { font-size: 1.5rem; }
  .duo__cards { grid-template-columns: 1fr; gap: 0.75rem; }
  .duo__card { padding: 1rem; gap: 0.5rem; border-radius: 1rem; }
  .duo__art { height: 7rem; border-radius: 0.75rem; }
  .duo__art--guide .s-fashion { width: 5rem; }
  .duo__name { font-size: 1.7rem; }
  .duo__loop { font-size: 0.95rem; }

  .slide--host { grid-template-columns: 1fr; }
  .host__badge { width: 9rem; justify-self: center; box-shadow: inset 0 0 0 8px rgba(255, 253, 248, 0.35); }
  .host__pilot { font-size: 2.4rem; }
  .host__handle { font-size: 0.85rem; }
  .host__text { gap: 0.75rem; }
  .stat__n { font-size: 1.9rem; }
  .host__honest { font-size: 0.92rem; padding: 0.6rem 0.8rem; }

  .slide--look { grid-template-columns: 1fr; }
  .lookslide__text { gap: 0.75rem; }
  .lookslide__phone { max-width: none; padding: 1.1rem; border-radius: 1.1rem; box-shadow: 0 0 0 6px #2c2925; }

  .slide--close { grid-template-columns: 1fr; }
  .close__art { order: 0; aspect-ratio: 16 / 10; border-radius: 1rem; }
  .slide--world { min-height: 28rem; align-content: end; }
  .slide--world::before, .slide--world-right::before { background: linear-gradient(0deg, rgba(20,19,17,0.94) 0%, rgba(20,19,17,0.6) 55%, rgba(20,19,17,0.1) 85%); }
  .world__text, .close__text { max-width: 100%; gap: 0.7rem; }
  .slide--world-right .world__text { justify-self: start; }
  .world__title { font-size: 2.6rem; }
  .world__crew img { width: 2.8rem; padding: 3px; }
  .chips, .world__foot { gap: 0.4rem; }
  .close__title { font-size: 1.5rem; }

  .fork__title { font-size: 1.6rem; }
  .slide--fork { gap: 1rem; text-align: left; }
  .tiles { grid-template-columns: 1fr; gap: 0.6rem; }
  .tile { min-height: 0; padding: 1rem 1.1rem; gap: 0.5rem; border-radius: 1rem; grid-template-columns: 1fr auto; align-items: center; }
  .tile__sub { grid-column: 1 / -1; }
  .tile__label { font-size: 1.05rem; }
  .tile__go { font-size: 1.2rem; }

  .slide--duo, .slide--today, .slide--compare, .slide--channels, .slide--story, .slide--start, .slide--pair { grid-template-rows: none; }
  .today__list li { grid-template-columns: 1fr; gap: 0.4rem; padding-bottom: 0.75rem; }
  .today__text { font-size: 1rem; }

  .pair__cards { grid-template-columns: 1fr; gap: 0.75rem; }
  .pair__card { aspect-ratio: 16 / 10; border-radius: 1rem; }
  .pair__card figcaption { padding: 2.5rem 1rem 0.9rem; }
  .pair__name { font-size: 1.7rem; }
  .pair__fmt { font-size: 0.85rem; }

  .compare__cols { grid-template-columns: 1fr; gap: 0.75rem; }
  .lane { padding: 1rem; gap: 0.75rem; border-radius: 1rem; }
  .lane--new .s-loop { width: 1.8rem; height: 1.8rem; top: 0.9rem; right: 1rem; }
  .steps { font-size: 1.05rem; gap: 0.3rem 0.5rem; }

  .chans { grid-template-columns: 1fr; gap: 0.6rem; }
  .chan { grid-template-columns: auto 1fr; column-gap: 0.9rem; padding: 0.9rem; border-radius: 1rem; }
  .chan__art { grid-row: span 3; width: 3.6rem; margin: 0; }
  .chan__verb { font-size: 1.4rem; }

  .panels { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .panel { padding: 0.6rem; border-radius: 0.9rem; gap: 0.5rem; }
  .panel__art { aspect-ratio: 1; }
  .panel__n { width: 1.6rem; top: 0.5rem; left: 0.5rem; }
  .mock { gap: 0.4rem; }
  .mock__row { padding: 0.4rem 0.5rem; gap: 0.35rem; }

  .slide--levels { grid-template-columns: 1fr; align-items: stretch; gap: 1rem; }
  .levels__steps { grid-template-columns: 1fr; height: auto; gap: 0.6rem; }
  .level { min-height: 0 !important; padding: 0.9rem 1rem; gap: 0.35rem; border-radius: 1rem; }
  .level__n { font-size: 1.5rem; }
  .level__name { font-size: 1.1rem; }

  .steps-line { grid-template-columns: 1fr; gap: 0.6rem; justify-items: start; }
  .steps-line::before { left: 1.35rem; right: auto; top: 1rem; bottom: 1rem; width: 2px; height: auto; }
  .step { grid-template-columns: auto 1fr; align-items: center; justify-items: start; gap: 0.8rem; text-align: left; }
  .step__n { width: 2.7rem; font-size: 1.2rem; box-shadow: 0 0 0 5px #fffdf8; }
  .step__name { font-size: 1.05rem; }
  .start__notes li { padding-left: 1.4rem; }

  .deck__bar { gap: 0.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .slide, .js .deck.is-ready .slide [data-in] { transition: none !important; }
}

/* --------------------------------------------------------------- footer */

.site-footer { padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.site-footer__brand { display: grid; gap: 0.75rem; align-content: start; }
.site-footer__tagline { font-weight: 600; color: var(--ink-2); }
.site-footer__heading { margin-bottom: 0.9rem; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
html[lang="th"] .site-footer__heading { letter-spacing: 0.02em; font-size: 0.85rem; }
.site-footer__col ul { display: grid; gap: 0.45rem; }
.site-footer__col a:not(.lang__link) { display: inline-flex; gap: 0.35rem; padding-block: 0.15rem; font-weight: 500; text-decoration: none; }
.site-footer__col a:not(.lang__link):hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.site-footer__col .site-nav__list,
.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.lang--footer { margin-left: -0.25rem; }

.site-footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--ink-3);
}

@media (max-width: 55.99em) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------- 404 page */

.not-found { min-height: 80vh; display: grid; align-items: center; padding-block: calc(var(--header-h) + 4rem) 4rem; }
.not-found__inner { display: grid; justify-items: center; gap: 1.1rem; text-align: center; }
.not-found .hero__actions { margin-top: 1rem; }
.coming-soon { min-height: 100vh; padding-block: 4rem; }
.coming-soon .hero__actions { justify-content: center; }
.coming-soon__contact { margin-top: 1.5rem; opacity: .85; }

/* --------------------------------------------------------------- reveal */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .paths .reveal:nth-child(2) { transition-delay: 0.1s; }
.js .paths .reveal:nth-child(3) { transition-delay: 0.2s; }

/* Hero animates on load (not on scroll) so it is never blank above the fold. */
.js .hero .reveal { opacity: 1; transform: none; transition: none; animation: hero-in 0.9s var(--ease) both; }
.js .hero .reveal:nth-child(2) { animation-delay: 0.08s; }
.js .hero .reveal:nth-child(3) { animation-delay: 0.18s; }
.js .hero .reveal:nth-child(4) { animation-delay: 0.3s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } }

/* ------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .float, .glow-pulse, .world-map__link::after, .badge__shape g, .cosmos__stars { animation: none !important; }
  .wb__progress, .wb__pen { display: none !important; }
  .cosmos, .cosmos-toggle { display: none !important; }
}

/* ----------------------------------------------------------------- print */

@media print {
  .site-header, .copy-btn { display: none !important; }
  .js .reveal { opacity: 1; transform: none; animation: none; }
  .contact__card { background: none; color: var(--ink); }
}
