/* Lead+D Lab, draft d3 "generative glass"
   White-led, Lab teal as the brand colour, iris as the third colour (about 10 percent).
   Light theme only, by brief. */

:root {
  --white: #ffffff;
  --mist: #f3f8f7;          /* cool near-white, never beige */
  --mist-2: #e8f2f0;
  --ink: #0d2321;           /* green-black for text */
  --ink-2: #33504c;         /* secondary text, tinted from the brand hue */
  --ink-3: #587470;
  --line: rgba(13, 35, 33, 0.11);
  --line-2: rgba(13, 35, 33, 0.18);

  --teal: #00877a;          /* measured from the Lab flame */
  --teal-strong: #006f64;   /* text-size teal on white, 5.6:1 */
  --teal-deep: #00564e;
  --mint: #9ed9cc;
  --mint-soft: #dcf1ec;

  --iris: #6461e6;          /* third colour */
  --iris-ink: #4b48c9;
  --iris-soft: #ecebfd;

  --taijai: #e8732a;        /* taijai's own orange, confined to its card */
  --taijai-ink: #b4551a;

  --glass: rgba(255, 255, 255, 0.58);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --glass-edge: rgba(255, 255, 255, 0.85);
  --glass-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 24px 60px -28px rgba(0, 72, 64, 0.35), 0 2px 6px -2px rgba(0, 72, 64, 0.08);

  --f-display: "Anuphan", "IBM Plex Sans Thai", system-ui, sans-serif;
  --f-body: "IBM Plex Sans Thai", "Anuphan", system-ui, sans-serif;
  --f-accent: "Instrument Serif", Georgia, serif;

  --r-s: 12px;
  --r-m: 20px;
  --r-l: 28px;
  --r-xl: 36px;

  --wrap: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-quick: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
:lang(en) body, html[lang="en"] body { line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
button { font: inherit; color: inherit; }
::selection { background: var(--iris-soft); color: var(--iris-ink); }
:focus-visible { outline: 2px solid var(--iris); outline-offset: 3px; border-radius: 10px; }
html { scrollbar-color: rgba(0, 111, 100, 0.35) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(0, 111, 100, 0.28); border-radius: 10px; border: 3px solid var(--white); }
input, select, textarea { caret-color: var(--teal); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.3vw, 80px); line-height: 1.16; letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 3.6vw, 54px); line-height: 1.2; letter-spacing: -0.015em; }
h3 { font-size: clamp(21px, 1.7vw, 25px); line-height: 1.32; letter-spacing: -0.005em; }
html[lang="en"] h1 { line-height: 1.04; letter-spacing: -0.03em; }
html[lang="en"] h2 { line-height: 1.08; letter-spacing: -0.025em; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); max-width: 60ch; }
.serif { font-family: var(--f-accent); font-style: italic; font-weight: 400; letter-spacing: 0; }
.small { font-size: 14px; line-height: 1.6; color: var(--ink-3); }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; line-height: 1; letter-spacing: 0.01em;
  padding: 7px 11px; border-radius: 999px; white-space: nowrap;
  background: var(--mint-soft); color: var(--teal-deep);
}
.tag--iris { background: var(--iris-soft); color: var(--iris-ink); }
.tag--line { background: transparent; border: 1px solid var(--line-2); color: var(--ink-2); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }

/* ---------- buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px; border-radius: 999px; border: 0;
  font-family: var(--f-display); font-size: 16px; font-weight: 600; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease-out); }
.btn--primary {
  color: #fff;
  background: radial-gradient(120% 140% at 15% 0%, #13a594 0%, var(--teal) 42%, var(--teal-deep) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 12px 28px -12px rgba(0, 105, 94, .65);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 18px 34px -14px rgba(0, 105, 94, .7); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--primary:active { transform: translateY(0) scale(.985); }
.btn--glass { background: var(--glass-strong); color: var(--ink); border: 1px solid var(--glass-edge); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 8px 20px -14px rgba(0,72,64,.35); }
.btn--glass:hover { background: #fff; }
.btn--ghost { background: transparent; color: var(--teal-strong); border: 1px solid rgba(0, 111, 100, .35); }
.btn--ghost:hover { background: var(--mint-soft); }
.btn--sm { --h: 44px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-display); font-weight: 600; color: var(--teal-strong); text-decoration: none; min-height: 44px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- glass ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(24px) saturate(165%);
  backdrop-filter: blur(24px) saturate(165%);
  box-shadow: var(--glass-shadow);
}

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 40; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  display: flex; align-items: center; gap: 20px;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  transition: transform .5s var(--ease-out), opacity .4s, background-color .3s;
}
.nav.is-hidden { transform: translate(-50%, -140%); opacity: 0; pointer-events: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.brand img { width: 30px; height: 30px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background-color .2s, color .2s; }
.nav__links a:hover { background: rgba(255,255,255,.7); color: var(--ink); }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(13,35,33,.06); }
.lang button { border: 0; background: transparent; font-size: 13px; font-weight: 600; letter-spacing: .04em; padding: 0 10px; min-height: 32px; min-width: 40px; border-radius: 999px; color: var(--ink-3); cursor: pointer; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 6px -2px rgba(0,0,0,.15); }
.nav__menu { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.7); cursor: pointer; align-items: center; justify-content: center; }
.nav__menu svg { width: 20px; height: 20px; }

.menu-sheet { position: fixed; inset: 0; z-index: 60; display: none; }
.menu-sheet.is-open { display: block; }
.menu-sheet__scrim { position: absolute; inset: 0; background: rgba(13,35,33,.25); }
.menu-sheet__panel { position: absolute; top: 12px; left: 12px; right: 12px; border-radius: var(--r-l); padding: 18px; }
.menu-sheet__panel a.row { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 6px; text-decoration: none; font-family: var(--f-display); font-size: 20px; font-weight: 500; border-bottom: 1px solid var(--line); }
.menu-sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(13,35,33,.06); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- art layers ---------- */
.art { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.art__img { position: absolute; inset: -6% 0 -6% 0; background-size: cover; background-position: center; will-change: transform; }
.art canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .95; }

/* ---------- phone first screen: the vertical card ---------- */
.card-screen { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 70px; overflow: hidden; }
.hero .art__img { background-image: url(../assets/art/hero-desktop.webp); background-position: 70% 40%; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff); z-index: 1; pointer-events: none; }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.hero h1 { max-width: 13ch; }
html[lang="en"] .hero h1 { max-width: 15ch; }
.hero .lede { margin-top: 26px; max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__aud { margin-top: 28px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--ink-2); }
.hero__aud a { color: var(--teal-strong); }
.portrait { position: relative; justify-self: end; width: min(440px, 100%); aspect-ratio: 4 / 5; }
.portrait__pane { position: absolute; inset: 14% 0 0 0; border-radius: 220px 220px var(--r-xl) var(--r-xl); }
.portrait__img { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 100%; width: auto; max-width: none; filter: drop-shadow(0 30px 40px rgba(0, 60, 54, .22)); -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); }
.portrait__plate { position: absolute; left: -28px; bottom: 34px; z-index: 2; padding: 14px 18px; border-radius: var(--r-m); max-width: 300px; }
.portrait__plate strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: 16px; line-height: 1.35; }
.portrait__plate span { font-size: 13.5px; color: var(--ink-2); }

/* ---------- section scaffolding ---------- */
section { position: relative; }
.sec { padding: clamp(80px, 10vw, 140px) 0; }
.sec--mist { background: var(--mist); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head p { color: var(--ink-2); font-size: 18px; max-width: 52ch; }
.sec-head--stack { grid-template-columns: 1fr; }

/* reveal: visible by default; the class only adds lift */
.rv { transition: transform .9s var(--ease-out), opacity .9s var(--ease-out); }
.js .rv:not(.in) { transform: translateY(18px); opacity: .001; }
.js.no-reveal .rv { transform: none !important; opacity: 1 !important; }

/* ---------- event ---------- */
.event-toast {
  position: fixed; z-index: 45; right: 20px; bottom: 20px; width: 340px;
  border-radius: var(--r-l); padding: 18px 18px 16px; transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: transform .6s var(--ease-out), opacity .5s;
}
.event-toast.is-on { transform: none; opacity: 1; pointer-events: auto; }
.event-toast__top { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.event-kicker { font-size: 12px; letter-spacing: .14em; font-weight: 600; color: var(--iris-ink); }
.event-toast h3 { font-size: 26px; margin: 2px 0 2px; }
.event-toast p { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.event-toast .btn { margin-top: 12px; }
.event-toast .icon-btn { width: 36px; height: 36px; flex: none; }

.event-block { padding: 24px 0 0; }
.event-card { position: relative; overflow: hidden; border-radius: var(--r-xl); min-height: 300px; display: grid; grid-template-columns: 1.1fr .9fr; }
.event-card .art__img { background-image: url(../assets/art/band.webp); inset: 0; }
.event-card__body { position: relative; z-index: 2; margin: 18px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-l); }
.event-card__body h2 { font-size: clamp(34px, 4vw, 56px); margin: 8px 0 6px; }
.event-card__sub { font-size: 18px; color: var(--ink-2); }
.event-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.event-card__ctas { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.event-card__aside { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: flex-end; padding: 28px; }
.event-card__aside img { width: 120px; filter: drop-shadow(0 18px 24px rgba(0,60,54,.25)); }

.event-dialog { border: 0; padding: 0; background: transparent; max-width: min(520px, calc(100% - 32px)); width: 100%; }
.event-dialog::backdrop { background: rgba(13, 35, 33, .35); backdrop-filter: blur(4px); }
.event-dialog__in { border-radius: var(--r-xl); padding: 30px; background: rgba(255,255,255,.88); }

/* ---------- what we do ---------- */
.wwd { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; }
.wwd__main { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(28px, 3.4vw, 48px); background: var(--mist); }
.wwd__main .art__img { background-image: url(../assets/art/band.webp); background-position: 80% 50%; opacity: .55; inset: 0; }
.wwd__main > *:not(.art) { position: relative; z-index: 1; }
.wwd__main h3 { font-size: clamp(28px, 2.6vw, 38px); margin-bottom: 10px; }
.formats { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 18px; }
.formats li { list-style: none; padding: 10px 16px; border-radius: 999px; background: var(--glass-strong); border: 1px solid var(--glass-edge); font-weight: 500; font-size: 15px; }
.formats { padding: 0; }
.wwd__note { font-size: 14.5px; color: var(--ink-2); }
.wwd__rows { display: flex; flex-direction: column; }
.wwd__row { display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; align-items: center; padding: 24px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.wwd__row:first-child { border-top: 1px solid var(--line); }
.wwd__row h3 { font-size: 21px; }
.wwd__row p { grid-column: 1; font-size: 15.5px; color: var(--ink-2); }
.wwd__row .arrow { grid-row: 1 / span 2; grid-column: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; transition: background-color .25s, border-color .25s, transform .35s var(--ease-out); }
.wwd__row .arrow svg { width: 18px; height: 18px; }
.wwd__row:hover .arrow { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateX(2px); }
.wwd__row--quiet h3 { font-size: 18px; color: var(--ink-2); }

/* ---------- courses ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.filters button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 15px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.filters button:hover { border-color: var(--teal); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.course {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r-l); background: #fff;
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
}
.course:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -30px rgba(0, 72, 64, .35); border-color: rgba(0,135,122,.25); }
.course__art { height: 92px; background-image: url(../assets/art/band.webp); background-size: 260% auto; position: relative; }
.course__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255,255,255,0) 30%, #fff); }
.course__body { padding: 22px 24px 10px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.course:not(.course--flag) .course__body { padding-top: 26px; }
.course__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.course h3 { font-size: 22px; }
.course__who { font-size: 15px; color: var(--ink-3); line-height: 1.6; }
.course__out { font-size: 15.5px; color: var(--ink-2); line-height: 1.65; }
.course__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px 16px 24px; margin-top: auto; }
.course__more { border: 0; background: none; padding: 0 4px; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--ink-2); cursor: pointer; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .3em; }
.course__more:hover { color: var(--ink); text-decoration-color: currentColor; }
.course.is-hidden { display: none; }
.more-courses { display: none; }
@media (max-width: 760px) {
  .courses.is-clipped .course:nth-child(n+7) { display: none; }
  .more-courses { display: flex; margin-top: 16px; }
  .courses:not(.is-clipped) + .more-courses { display: none; }
}

/* course detail sheet */
.sheet { border: 0; padding: 0; margin: 0 0 0 auto; height: 100%; max-height: 100%; width: min(620px, 100%); background: transparent; }
.sheet::backdrop { background: rgba(13, 35, 33, .32); backdrop-filter: blur(3px); }
.sheet__in { height: 100%; overflow: auto; background: #fff; padding: 26px clamp(22px, 4vw, 44px) 40px; border-radius: var(--r-xl) 0 0 var(--r-xl); }
.sheet[open] .sheet__in { animation: sheetIn .5s var(--ease-out); }
@keyframes sheetIn { from { transform: translateX(40px); opacity: .4; } }
.crumbs { font-size: 13.5px; color: var(--ink-3); }
.crumbs a { color: var(--ink-3); }
.sheet__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.sheet h2 { font-size: clamp(28px, 3vw, 38px); margin: 10px 0 12px; }
.sheet h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-strong); font-weight: 600; margin: 28px 0 10px; font-family: var(--f-body); }
html[lang="th"] .sheet h4 { text-transform: none; letter-spacing: 0; font-size: 15px; }
.sheet ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sheet ul li { position: relative; padding-left: 20px; color: var(--ink-2); }
.sheet ul li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.sheet .related { display: flex; flex-wrap: wrap; gap: 8px; }
.sheet .related button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; font-size: 14.5px; }
.sheet .related button:hover { border-color: var(--teal); }
.sheet__cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- how we work ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-top: 10px; }
.steps svg.thread { position: absolute; left: 0; right: 0; top: 34px; width: 100%; height: 40px; overflow: visible; }
.step { position: relative; padding: 0 22px 0 0; }
.step__n { font-family: var(--f-accent); font-style: italic; font-size: 64px; line-height: 1; color: var(--iris); display: block; height: 80px; background: linear-gradient(#fff 0 0) 0 70% / 52px 30px no-repeat; }
.sec--mist .step__n { background: none; }
.step h3 { margin: 16px 0 8px; }
.step p { font-size: 15.5px; color: var(--ink-2); }
.delivery { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 16px; }
.collage { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 240px 200px; gap: 14px; margin-top: 56px; }
.collage figure { margin: 0; border-radius: var(--r-l); overflow: hidden; position: relative; background: var(--mist-2); }
.collage figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.collage figure:hover img { transform: scale(1.03); }
.collage figure:nth-child(1) { grid-row: span 2; }
.collage figure:nth-child(4) { grid-column: span 2; }

/* ---------- specialisations ---------- */
.spec { list-style: none; margin: 0; padding: 0; }
.spec li { display: grid; grid-template-columns: 70px 1fr 1fr; gap: 10px 36px; align-items: baseline; padding: 30px 0; border-top: 1px solid var(--line-2); position: relative; }
.spec li:last-child { border-bottom: 1px solid var(--line-2); }
.spec li::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, var(--teal), var(--iris)); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out); }
.spec li:hover::after { transform: scaleX(1); }
.spec .serif { font-size: 30px; color: var(--teal); line-height: 1; }
.spec h3 { font-size: clamp(24px, 2.2vw, 32px); }
.spec p { color: var(--ink-2); font-size: 16.5px; }

/* ---------- consulting (quieter) ---------- */
.consult { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.consult h2 { font-size: clamp(28px, 2.8vw, 40px); }
.consult .lede { margin-top: 18px; font-size: 17px; }
.consult__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt { text-decoration: none; color: inherit; text-align: left; border: 1px solid var(--line); background: #fff; border-radius: var(--r-m); padding: 20px 20px 18px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; min-height: 140px; transition: border-color .25s, transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.opt:hover { border-color: rgba(0,135,122,.4); transform: translateY(-2px); box-shadow: 0 18px 36px -26px rgba(0,72,64,.4); }
.opt strong { font-family: var(--f-display); font-weight: 600; font-size: 17.5px; line-height: 1.35; }
.opt span { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.opt em { margin-top: auto; font-style: normal; font-size: 14px; font-weight: 600; color: var(--teal-strong); display: inline-flex; gap: 6px; align-items: center; padding-top: 8px; }
.opt em svg { width: 15px; height: 15px; }
.consult__heading { font-family: var(--f-display); font-weight: 600; font-size: 15px; color: var(--ink-3); margin-bottom: 12px; grid-column: 1 / -1; }

/* ---------- digital products ---------- */
.products { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: stretch; }
.taijai { position: relative; border-radius: var(--r-xl); padding: clamp(28px, 3.2vw, 44px); background: #fff; border: 1px solid rgba(232, 115, 42, .28); overflow: hidden; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 30px 60px -40px rgba(180, 85, 26, .45); }
.taijai::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 180px; background: radial-gradient(70% 100% at 18% 0%, rgba(232,115,42,.13), transparent 70%); pointer-events: none; }
.taijai > * { position: relative; }
.taijai .status { color: var(--taijai-ink); background: #fff3ea; }
.taijai h3 { font-size: clamp(30px, 3vw, 42px); }
.taijai h3 small { font-family: var(--f-accent); font-style: italic; font-weight: 400; font-size: .7em; color: var(--taijai-ink); margin-left: 6px; }
.taijai .for { font-size: 15px; color: var(--ink-3); }
.taijai .line { font-size: 18.5px; color: var(--ink); max-width: 36ch; }
.taijai .btn { align-self: flex-start; background: var(--taijai); color: #fff; box-shadow: 0 12px 26px -14px rgba(180, 85, 26, .8); }
.taijai .btn:hover { background: #d9661f; transform: translateY(-1px); }
.taijai .handles { font-size: 14px; color: var(--ink-3); }
.taijai .disclaimer { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; color: var(--ink-3); }
.soon-col { display: flex; flex-direction: column; gap: 14px; }
.soon { border-radius: var(--r-l); padding: 24px; border: 1.5px dashed rgba(100, 97, 230, .35); background: linear-gradient(180deg, rgba(236,235,253,.45), rgba(255,255,255,0)); display: flex; flex-direction: column; gap: 8px; }
.soon h3 { font-size: 21px; }
.soon p { font-size: 15px; color: var(--ink-2); }
.soon .interest { align-self: flex-start; border: 0; background: none; padding: 0; min-height: 44px; font-weight: 600; color: var(--iris-ink); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-display); font-size: 15px; }
.soon .interest svg { width: 15px; height: 15px; }
.more-line { font-size: 14.5px; color: var(--ink-3); padding: 6px 4px 0; }

/* ---------- people ---------- */
.people { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.ajarn-fig { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; background: var(--mist); }
.ajarn-fig .art__img { background-image: url(../assets/art/hero-mobile.webp); background-position: center 30%; inset: 0; opacity: .85; }
.ajarn-fig img.cut { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: 92%; width: auto; max-width: none; z-index: 1; filter: drop-shadow(0 24px 30px rgba(0,60,54,.25)); }
.ajarn-fig .plate { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; border-radius: var(--r-m); padding: 16px 18px; }
.ajarn-fig .plate strong { font-family: var(--f-display); font-size: 18px; font-weight: 600; display: block; line-height: 1.35; }
.ajarn-fig .plate span { font-size: 14px; color: var(--ink-2); }
.cred { list-style: none; margin: 26px 0 0; padding: 0; }
.cred li { padding: 14px 0 14px 28px; border-top: 1px solid var(--line); position: relative; color: var(--ink-2); font-size: 16px; }
.cred li::before { content: ""; position: absolute; left: 4px; top: 1.45em; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--teal); }
details.full { margin-top: 10px; border-top: 1px solid var(--line); }
details.full summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; min-height: 52px; font-family: var(--f-display); font-weight: 600; color: var(--teal-strong); }
details.full summary::-webkit-details-marker { display: none; }
details.full summary svg { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
details.full[open] summary svg { transform: rotate(45deg); }
details.full .in { padding: 4px 0 18px; display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); font-size: 15.5px; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; margin-top: 40px; padding: 18px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); }
.team img { border-radius: var(--r-l); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.team h3 { margin-bottom: 8px; }
.team p { color: var(--ink-2); font-size: 16px; }
.people__cta { margin-top: 28px; }

/* ---------- research ---------- */
.pubs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.pubs li { border-top: 1px solid var(--line-2); }
.pubs a { display: grid; grid-template-columns: 76px 1fr 24px; gap: 16px; padding: 24px 0; text-decoration: none; align-items: start; }
.pubs .yr { font-family: var(--f-accent); font-style: italic; font-size: 34px; line-height: 1; color: var(--iris); }
.pubs .t { font-size: 15.5px; color: var(--ink-2); line-height: 1.6; }
.pubs .t b { display: block; font-family: var(--f-display); font-weight: 600; color: var(--ink); font-size: 17px; margin-bottom: 4px; line-height: 1.4; }
.pubs svg { width: 18px; height: 18px; color: var(--ink-3); margin-top: 4px; transition: transform .3s var(--ease-out), color .2s; }
.pubs a:hover svg { transform: translate(2px, -2px); color: var(--teal); }
.pubs a:hover b { text-decoration: underline; text-decoration-color: var(--mint); text-underline-offset: .25em; }

/* ---------- logos ---------- */
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.logo-group { border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px 20px 22px; background: #fff; }
.logo-group h3 { font-family: var(--f-body); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.logo-group div { display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: center; }
.logo-group img { height: 30px; width: auto; max-width: 120px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .72; transition: filter .3s, opacity .3s; }
.logo-group img:hover { filter: none; opacity: 1; }
.logos-note { margin-top: 14px; font-size: 13px; color: var(--ink-3); }

/* ---------- booking ---------- */
.booking { position: relative; overflow: hidden; }
.booking .art__img { background-image: url(../assets/art/band.webp); opacity: .5; inset: 0; background-position: 30% 50%; }
.booking__grid { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.how { list-style: none; padding: 0; margin: 34px 0 26px; display: flex; flex-direction: column; gap: 0; }
.how li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 14px 0; }
.how li span.n { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-accent); font-style: italic; font-size: 20px; color: var(--iris-ink); background: var(--glass-strong); border: 1px solid var(--glass-edge); }
.how li p { padding-top: 4px; color: var(--ink-2); }
.mail-line a { font-weight: 600; color: var(--teal-strong); }
.form { border-radius: var(--r-xl); padding: clamp(22px, 3vw, 38px); }
.form h3 { font-size: 26px; margin-bottom: 18px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field .lab { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.field label i, .field .lab i { font-style: normal; color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink);
  background: rgba(255,255,255,.85); border: 1px solid var(--line-2); border-radius: 14px; outline: none;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,135,122,.14); background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #6f8682; }
.field .err { font-size: 13px; color: #b3261e; display: none; }
.field.is-bad input, .field.is-bad select { border-color: #b3261e; }
.field.is-bad .err { display: block; }
.prefill-note { grid-column: 1 / -1; display: none; align-items: center; gap: 8px; font-size: 14px; color: var(--teal-deep); background: var(--mint-soft); padding: 10px 14px; border-radius: 12px; }
.prefill-note.is-on { display: flex; }
.aud-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.check { grid-column: 1 / -1; display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); }
.check.is-bad { color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__send { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.form__done { display: none; text-align: left; }
.form.is-done .form__done { display: block; }
.form.is-done form { display: none; }
.form__done .tick { width: 54px; height: 54px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--mint-soft); color: var(--teal-deep); margin-bottom: 16px; }
.form__done .tick svg { width: 26px; height: 26px; }
.form__done h3 { margin-bottom: 10px; }
.form__done p { color: var(--ink-2); }
.form__done .small { margin-top: 14px; }

/* ---------- closing band ---------- */
.closing { position: relative; overflow: hidden; padding: clamp(90px, 12vw, 170px) 0; }
.closing .art__img { background-image: url(../assets/art/band.webp); inset: -10% 0; }
.closing__panel { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; text-align: center; border-radius: var(--r-xl); padding: clamp(32px, 5vw, 60px) clamp(22px, 5vw, 64px); }
.closing__panel h2 { font-size: clamp(30px, 3.4vw, 50px); }
.closing__panel p { margin: 16px auto 28px; color: var(--ink-2); font-size: 18px; max-width: 40ch; }
.closing__panel .small { margin: 18px 0 0; }
.closing__panel .small a { color: var(--teal-strong); font-weight: 600; }
.closing__mascot { position: absolute; right: 26px; top: -46px; width: 82px; }

/* ---------- footer ---------- */
.foot { padding: 72px 0 40px; background: #fff; border-top: 1px solid var(--line); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.foot__brand p { color: var(--ink-2); font-size: 15px; margin-top: 16px; max-width: 34ch; }
.foot h4 { font-family: var(--f-body); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 14px; }
html[lang="th"] .foot h4 { text-transform: none; letter-spacing: 0; font-size: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.foot ul a { text-decoration: none; color: var(--ink-2); font-size: 15px; display: inline-block; padding: 5px 0; }
.foot ul a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--mint); }
.foot ul li.plain { color: var(--ink-2); font-size: 15px; padding: 5px 0; }
.social { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.social a, .social span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background-color .2s, color .2s; }
.social a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.social span { opacity: .55; border-style: dashed; cursor: default; }
.social svg { width: 18px; height: 18px; }
.foot__mail { font-family: var(--f-display); font-weight: 600; font-size: 19px; color: var(--ink); text-decoration: none; display: inline-block; min-height: 44px; padding-top: 6px; }
.foot__mail:hover { color: var(--teal-strong); }
.foot__bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; color: var(--ink-3); }
.foot__bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot__bottom a, .foot__bottom button { color: var(--ink-3); background: none; border: 0; padding: 0; cursor: pointer; font-size: 14px; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .25em; min-height: 32px; }

/* ---------- sticky phone bar, cookie ---------- */
.sticky { display: none; }
.cookie { position: fixed; z-index: 44; left: 20px; bottom: 20px; max-width: 380px; border-radius: var(--r-m); padding: 16px 18px; font-size: 14px; color: var(--ink-2); transform: translateY(20px); opacity: 0; pointer-events: none; transition: transform .5s var(--ease-out), opacity .4s; }
.cookie.is-on { transform: none; opacity: 1; pointer-events: auto; }
.cookie p { line-height: 1.55; }
.cookie__row { display: flex; gap: 8px; margin-top: 12px; align-items: center; flex-wrap: wrap; }
.cookie__row a { font-size: 13.5px; margin-left: auto; color: var(--ink-3); }

/* ---------- privacy page ---------- */
.legal { padding: 140px 0 90px; }
.legal__in { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 4vw, 56px); margin: 14px 0 18px; }
.legal .draft { display: inline-flex; padding: 10px 14px; border-radius: 12px; background: var(--iris-soft); color: var(--iris-ink); font-size: 14px; margin-bottom: 26px; }
.legal h2 { font-size: 22px; margin: 34px 0 8px; }
.legal p { color: var(--ink-2); }

/* =================================================
   Phone: its own composition
   ================================================= */
@media (max-width: 1080px) {
  .nav__links a { padding: 10px 10px; font-size: 14px; }
}
@media (max-width: 920px) {
  .nav__links { display: none; }
  .nav__menu { display: inline-flex; }
  .nav .btn { display: none; }
  .nav { gap: 10px; padding: 6px 6px 6px 14px; }
  .nav .lang { margin-left: auto; }

  .hero__grid, .wwd, .products, .people, .booking__grid, .consult, .sec-head { grid-template-columns: 1fr; }
  .courses { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .steps svg.thread { display: none; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .event-card { grid-template-columns: 1fr; }
  .event-card__aside { position: absolute; right: 0; bottom: 0; padding: 18px; }
  .event-card__aside img { width: 76px; }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .js .nav { transform: translate(-50%, -140%); opacity: 0; pointer-events: none; }
  .js .nav.is-shown { transform: translateX(-50%); opacity: 1; pointer-events: auto; }
  .nav { top: 10px; width: calc(100% - 24px); }

  /* the vertical card */
  .card-screen { display: block; position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: var(--mist); }
  .card-screen .art__img { background-image: url(../assets/art/hero-mobile.webp); inset: -4% 0; }
  .vcard {
    position: absolute; inset: 14px 14px 14px 14px; z-index: 2;
    border-radius: 34px; padding: 22px 22px 18px; display: flex; flex-direction: column;
    transform-origin: 50% 0%; will-change: transform, opacity;
    background: linear-gradient(180deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.22) 34%, rgba(255,255,255,.80) 56%, rgba(255,255,255,.88) 100%);
    -webkit-backdrop-filter: blur(3px) saturate(150%); backdrop-filter: blur(3px) saturate(150%);
  }
  .vcard::before { content: ""; position: absolute; inset: 52% 0 0 0; border-radius: 0 0 34px 34px; -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); z-index: -1; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%); mask-image: linear-gradient(to bottom, transparent, #000 18%); }
  .vcard__top .brand { padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(255,255,255,.75); }
  .vcard__top { display: flex; align-items: center; justify-content: space-between; }
  .vcard__top .brand { font-size: 18px; }
  .vcard__top .brand img { width: 28px; height: 28px; }
  .vcard__mascot { position: absolute; right: 18px; top: 66px; width: 74px; filter: drop-shadow(0 10px 14px rgba(0,80,72,.2)); animation: bob 5s ease-in-out infinite; }
  @keyframes bob { 50% { transform: translateY(-5px) rotate(-2deg); } }
  .vcard__mid { margin-top: auto; }
  .vcard__label { font-size: 13px; color: var(--teal-deep); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
  .vcard__label::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
  .vcard h1 { font-size: 30px; line-height: 1.34; margin-top: 12px; letter-spacing: -0.01em; }
  html[lang="en"] .vcard h1 { font-size: 32px; line-height: 1.1; max-width: 14ch; letter-spacing: -0.025em; }
  .chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 0; }
  .chips li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; align-items: baseline; font-size: 14px; line-height: 1.5; color: var(--ink-2); padding: 9px 0; border-top: 1px solid rgba(13,35,33,.09); }
  .chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--iris); transform: translateY(-1px); }
  .chips li:first-child::before { background: var(--teal); }
  .vcard__ctas { margin-top: 18px; display: flex; flex-direction: column; gap: 6px; }
  .vcard__ctas .btn--primary { --h: 56px; font-size: 17px; }
  .vcard__ctas .sub { display: flex; justify-content: space-between; align-items: center; }
  .vcard__ctas .sub a { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--teal-strong); text-decoration: none; font-family: var(--f-display); }
  .vcard__ctas .sub a svg { width: 16px; height: 16px; }
  .vcard__ctas .hint { font-size: 12.5px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; }
  .vcard__ctas .hint svg { width: 14px; height: 14px; animation: nudge 2.4s var(--ease-out) infinite; }
  @keyframes nudge { 50% { transform: translateY(3px); } }

  /* hero after the card */
  .hero { min-height: 0; padding: 64px 0 56px; }
  .hero .art__img { background-image: url(../assets/art/hero-desktop.webp); background-position: 85% 0; opacity: .55; inset: 0; }
  .hero h1 { font-size: 38px; line-height: 1.28; }
  html[lang="en"] .hero h1 { font-size: 40px; line-height: 1.06; }
  .hero .lede { margin-top: 18px; font-size: 17px; }
  .hero__ctas { margin-top: 26px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .portrait { justify-self: center; width: 100%; max-width: 360px; margin-top: 18px; }
  .portrait__plate { left: 10px; right: 10px; bottom: 14px; max-width: none; }

  .sec { padding: 72px 0; }
  .sec-head p { font-size: 16.5px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }
  .courses { grid-template-columns: 1fr; gap: 14px; }
  .course h3 { font-size: 21px; }
  .course__art { height: 70px; }
  .collage { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 150px 150px; }
  .collage figure:nth-child(1) { grid-row: auto; grid-column: span 2; }
  .collage figure:nth-child(4) { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 14px; padding: 0; }
  .step__n { font-size: 46px; height: auto; grid-row: span 2; background: none; }
  .step h3 { margin: 4px 0 4px; }
  .spec li { grid-template-columns: 44px 1fr; padding: 24px 0; }
  .spec li p { grid-column: 2; }
  .spec .serif { font-size: 24px; }
  .consult__opts { grid-template-columns: 1fr; }
  .opt { min-height: 0; }
  .team { grid-template-columns: 1fr; padding: 14px; }
  .pubs { grid-template-columns: 1fr; }
  .pubs a { grid-template-columns: 60px 1fr 20px; gap: 12px; }
  .pubs .yr { font-size: 28px; }
  .fgrid { grid-template-columns: 1fr; }
  .aud-row { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; gap: 32px; }
  .foot { padding-bottom: 110px; }
  .closing__mascot { width: 64px; top: -38px; right: 14px; }
  .event-card__body { margin: 10px; }
  .event-toast { left: 12px; right: 12px; width: auto; top: auto; bottom: 92px; }
  .cookie { left: 12px; right: 12px; bottom: 92px; max-width: none; }
  .sheet { width: 100%; height: auto; max-height: 92svh; margin: auto 0 0 0; }
  .sheet__in { border-radius: 28px 28px 0 0; max-height: 92svh; }
  .sheet[open] .sheet__in { animation: sheetUp .5s var(--ease-out); }
  @keyframes sheetUp { from { transform: translateY(60px); opacity: .4; } }

  .sticky {
    display: flex; position: fixed; z-index: 42; left: 10px; right: 10px; bottom: 10px;
    align-items: center; justify-content: space-between; gap: 12px;
    padding: 8px 8px 8px 18px; border-radius: 999px;
    transform: translateY(130%); transition: transform .5s var(--ease-out);
  }
  .sticky.is-on { transform: none; }
  .sticky span { font-size: 13.5px; color: var(--ink-2); line-height: 1.35; }
  .sticky .btn { --h: 48px; padding: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .rv:not(.in) { transform: none; opacity: 1; }
  .art canvas { display: none; }
}
