@font-face {
  font-family: 'PSK Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/pattaya-400-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'PSK Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/pattaya-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'PSK Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/kanit-400-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'PSK Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/kanit-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'PSK Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/kanit-500-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'PSK Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/kanit-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'PSK Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/kanit-600-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'PSK Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/kanit-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Plengprasiddhi Sailom Kindergarten: concept demo by Optimism.
   Art direction: a paper pinwheel in the breeze (Sailom means breeze). Four straight paper vanes in the crest's red, gold
   and navy, with sky blue for the breeze; the crest's navy for ink and its red for every action. Light only, square corners, no shadows. */

:root {
  color-scheme: light only;
  --ink: #1e2559;            /* crest navy, deepened for text */
  --text: #262d5a;           /* body copy, about 12:1 on white */
  --muted: #4b5276;          /* meta, about 7.5:1 */
  --paper: #ffffff;
  --line: #d9dde8;           /* hairlines (decorative) */
  --field: #868ca6;          /* input borders, 3.2:1 */
  --red: #bc2c2e;            /* crest red: every button */
  --red-hover: #a12224;
  --red-fill: #e8504f;
  --red-text: #b3262a;
  --red-mist: #fdf0ef;
  --sun: #f4bf3a;            /* sun, leaning towards the crest's gold */
  --sun-fold: #c9961c;
  --sun-soft: #ffe08a;
  --sun-text: #855700;
  --sun-mist: #fff7de;
  --sky: #4fa3e8;
  --sky-fold: #2f7fcb;
  --sky-soft: #a5d3f6;
  --sky-text: #1f62a8;
  --sky-mist: #eef6fd;
  --leaf: #3db878;
  --leaf-fold: #23885a;
  --leaf-soft: #a6e0c0;
  --leaf-text: #1c7046;
  --leaf-mist: #edf8f1;
  --night: #1e2559;
  --night-deep: #151a44;
  --line-green: #06c755;
  --line-ink: #0b1f14;
  --r: 3px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(56px, 8vw, 112px);
  --nav-h: 64px;
  --f-display: 'PSK Display', 'PSK Text', system-ui, sans-serif;   /* Pattaya: h1, h2, the motto, big numerals; never small */
  --f-head: 'PSK Text', system-ui, sans-serif;                      /* Kanit */
  --f-body: 'PSK Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --tone: var(--red);
  --tone-fill: var(--red-fill);
  --tone-text: var(--red-text);
  --tone-mist: var(--red-mist);
  --tone-soft: #f6b4b2;
}
@media (min-width: 1100px) { :root { --nav-h: 76px; } }

.tone-red  { --tone: var(--red);  --tone-fill: var(--red-fill); --tone-text: var(--red-text);  --tone-mist: var(--red-mist);  --tone-soft: #f6b4b2; }
.tone-sun  { --tone: var(--sun-fold); --tone-fill: var(--sun); --tone-text: var(--sun-text); --tone-mist: var(--sun-mist); --tone-soft: var(--sun-soft); }
.tone-sky  { --tone: var(--sky-fold); --tone-fill: var(--sky); --tone-text: var(--sky-text); --tone-mist: var(--sky-mist); --tone-soft: var(--sky-soft); }
.tone-navy { --tone: var(--ink); --tone-fill: #3a4290; --tone-text: var(--ink); --tone-mist: #f1f2fa; --tone-soft: #d3d6f0; }
.tone-leaf { --tone: var(--leaf-fold); --tone-fill: var(--leaf); --tone-text: var(--leaf-text); --tone-mist: var(--leaf-mist); --tone-soft: var(--leaf-soft); }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; overflow-x: clip; background: var(--paper); color: var(--text);
  font: 400 17px/1.72 var(--f-body); font-kerning: normal;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
html[lang="en"] body { line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-text); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { color: var(--ink); margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--f-display); font-weight: 400; }
h3 { font-family: var(--f-head); font-weight: 500; }
h1 { font-size: clamp(44px, 6.6vw, 96px); line-height: 1.18; }
h2 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.2; }
h3 { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.35; }
html[lang="en"] h1 { line-height: 1.08; }
html[lang="en"] h2 { line-height: 1.12; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sky-fold); outline-offset: 2px; }

/* language: both are in the page; the other one is hidden */
html[data-lang="th"] span[lang="en"]:not(.keep),
html[data-lang="en"] span[lang="th"]:not(.keep) { display: none; }
.ph { white-space: nowrap; }
html[data-lang="en"] .ph { white-space: normal; }
.nw { white-space: nowrap; }
.vh { 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 { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r); }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: min(1240px, 100% - 2 * var(--gut)); margin-inline: auto; }
section { position: relative; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.65; color: var(--text); }
.small { font-size: 16px; color: var(--muted); }

/* two-tone headings only on page heads, the year and the visit band */
.page-head h1 .ph:last-child:not(:first-child), .year h2 .ph:last-child:not(:first-child) { color: var(--tone-text); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 2px solid var(--red); border-radius: var(--r);
  background: var(--red); color: #fff; font: 600 17px/1.2 var(--f-body); text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .18s, border-color .18s, color .18s;
}
.btn:hover { background: var(--red-hover); border-color: var(--red-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-line { background: var(--line-green); border-color: var(--line-green); color: var(--line-ink); }
.btn-line:hover { background: #05b04b; border-color: #05b04b; color: var(--line-ink); }
.btn-light { color: #fff; border-color: rgba(255, 255, 255, .85); }
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 16px; }
.btn .ic { width: 20px; height: 20px; flex: none; fill: currentColor; }
.more {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; color: var(--red-text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.more::after { content: ""; width: 10px; height: 10px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }

/* ---------------------------------------------------------------- the pinwheel */
.pw { overflow: visible; }
.pw-red .pw-v { fill: var(--red-fill); }   .pw-red .pw-f { fill: var(--red); }
.pw-sun .pw-v { fill: var(--sun); }        .pw-sun .pw-f { fill: var(--sun-fold); }
.pw-sky .pw-v { fill: var(--sky); }        .pw-sky .pw-f { fill: var(--sky-fold); }
.pw-navy .pw-v { fill: #3a4290; }          .pw-navy .pw-f { fill: var(--ink); }
.visit-band .pw-navy .pw-v { fill: #8f97d6; } .visit-band .pw-navy .pw-f { fill: #6c74bf; }
.pw-pin { fill: #fff; stroke: var(--ink); stroke-width: 2.6; }
.pw-spin, .pw-turn { transform-box: fill-box; transform-origin: center; }  /* the vanes are symmetric about the pin */

.breeze { width: min(300px, 70%); height: 24px; margin: 18px 0 22px; overflow: visible; }
.breeze path { fill: none; stroke: var(--sky); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 360; stroke-dashoffset: 0; }

@keyframes pw-in { from { transform: rotate(-300deg); } to { transform: rotate(0deg); } }
@keyframes pw-scroll { to { transform: rotate(1080deg); } }
@keyframes draw { from { stroke-dashoffset: 360; } to { stroke-dashoffset: 0; } }
.js:not(.rm) .pw-hero .pw-spin { animation: pw-in 1.8s var(--ease) both .15s; }
.js:not(.rm) .hero .breeze path { animation: draw 1.2s var(--ease) both .5s; }
@supports (animation-timeline: scroll()) {
  .js:not(.rm) .pw-hero .pw-turn, .js:not(.rm) .pw-band .pw-turn { animation: pw-scroll linear both; animation-timeline: scroll(root); }
}

/* ---------------------------------------------------------------- header and menu */
.nav { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 20px; min-height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; margin-right: auto; }
.brand:hover { color: var(--ink); }
.crest { width: 40px; height: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.bn-th { font: 600 18px/1.2 var(--f-head); }
.bn-en { font: 500 11.5px/1.3 var(--f-body); color: var(--muted); letter-spacing: .01em; }
.nav-main { display: none; }
.nav-main ul { display: flex; gap: 4px; }
.nav-main a { display: flex; align-items: center; min-height: 44px; padding: 0 10px; font-weight: 500; font-size: 16px; text-decoration: none; color: var(--ink); position: relative; }
.nav-main a[aria-current="page"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 3px; background: var(--red); border-radius: 1px; }
.nav-main a:hover { color: var(--red-text); }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; }
.lang button { min-width: 44px; min-height: 44px; padding: 0 10px; border: 0; background: #fff; color: var(--ink); font-weight: 600; font-size: 15px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.nav-tools .lang { display: none; }
.nav-cta { display: none; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; border-radius: var(--r); }
.burger { display: grid; gap: 7px; width: 26px; }
.burger i { display: block; height: 3px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease); }
.menu-btn[aria-expanded="true"] .burger i:first-child { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger i:last-child { transform: translateY(-5px) rotate(-45deg); }
.menu {
  display: none; position: fixed; z-index: 39; left: 0; right: 0; top: var(--nav-h); bottom: 0;
  background: #fff; overflow-y: auto; padding: 12px var(--gut) calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.menu.open { display: block; }
.menu nav a { display: flex; align-items: center; min-height: 56px; font: 500 24px/1.2 var(--f-head); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.menu nav a[aria-current="page"] { color: var(--red-text); }
.menu-foot { display: grid; gap: 12px; margin-top: 24px; }
.menu-foot .lang { justify-self: start; }
.menu-foot .lang button { min-height: 44px; padding: 0 16px; }
@media (min-width: 760px) {
  .nav-tools .lang { display: inline-flex; }
  .nav-cta { display: inline-flex; }
  .crest { width: 46px; }
  .bn-th { font-size: 20px; }
  .bn-en { font-size: 12.5px; }
}
@media (min-width: 1180px) {
  .nav-main { display: block; }
  .menu-btn, .menu { display: none !important; }
}

/* ---------------------------------------------------------------- section furniture */
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head p { margin-top: 16px; color: var(--text); font-size: 18px; }
.sec-more { margin-top: 32px; }
/* a folded paper corner on tinted sections */
.fold::before {
  content: ""; position: absolute; top: 0; right: 0; width: clamp(48px, 7vw, 96px); aspect-ratio: 1;
  background: linear-gradient(225deg, var(--paper) 50%, var(--tone-fill) 50%);
}

/* ---------------------------------------------------------------- home: hero */
.hero { padding: clamp(16px, 4vw, 64px) 0 var(--sec); overflow: clip; }
.hero::before {
  content: ""; position: absolute; z-index: -1; right: 0; top: 0; width: 58%; height: 82%;
  background: var(--sky-mist); clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-in { display: grid; gap: 36px; align-items: center; }
.motto { display: grid; }
.m-line { display: block; }
.m-line.tone-red { color: var(--red-text); }
.m-line.tone-sky { color: var(--sky-text); }
.m-line.tone-leaf { color: var(--leaf-text); }
.hero .lead { max-width: 34em; }
.hero-cta, .ph-cta { display: grid; gap: 12px; margin-top: 26px; }
.hero-art { position: relative; margin-top: 8px; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.pw-hero { position: absolute; width: 104px; height: 104px; top: -40px; right: 10px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.tag { font: 500 18px/1.1 var(--f-head); color: var(--ink); padding: 10px 14px 11px; border-radius: var(--r); background: var(--sun); }
.tag-sun { background: var(--sun); transform: rotate(-3deg); }
.tag-sky { background: var(--sky-soft); transform: rotate(2deg); }
.tag-leaf { background: var(--leaf-soft); transform: rotate(-1.5deg); }
@media (max-width: 559px) {
  .hero::before { width: 66%; height: 58%; }
  .hero-in { gap: 0; }
  .hero-text { display: contents; }
  .motto { order: 1; display: block; font-size: clamp(36px, 10.6vw, 44px); }
  .motto .m-line { display: inline; }
  html[lang="en"] .motto { font-size: clamp(28px, 8vw, 34px); line-height: 1.1; }
  .hero .breeze { order: 2; margin: 2px 0 10px; height: 16px; width: 170px; }
  .hero-art { order: 3; margin-top: 0; }
  .hero-photo img { aspect-ratio: 2 / 1; }
  .pw-hero { width: 76px; height: 76px; top: -30px; right: 8px; }
  .tags { margin-top: 8px; }
  .tag { font-size: 16px; padding: 8px 11px 9px; }
  .hero .lead { order: 4; margin: 10px 0 0; font-size: 17px; line-height: 1.55; }
  .hero-cta { order: 5; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
  .hero-cta .btn { padding: 0 10px; }
}
@media (min-width: 560px) { .hero-cta, .ph-cta { display: flex; flex-wrap: wrap; } }
@media (min-width: 900px) {
  .hero-in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 5vw, 80px); }
  .hero-art { margin-top: 0; }
  .pw-hero { width: clamp(130px, 13vw, 190px); height: auto; aspect-ratio: 1; top: clamp(-70px, -5vw, -44px); left: clamp(-70px, -5vw, -44px); right: auto; }
  .tags { justify-content: flex-end; margin-top: 16px; }
  .tag { font-size: 22px; padding: 12px 18px 13px; }
}

/* ---------------------------------------------------------------- three languages */
.langs { padding: var(--sec) 0; background: var(--sun-mist); --tone-text: var(--sun-text); }
.langs-in { display: grid; gap: 40px; align-items: start; }
.langs-head > p { max-width: 36em; }
.word { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin: 26px 0 18px; font: 400 clamp(32px, 3.8vw, 50px)/1.25 var(--f-display); }
.word span { position: relative; }
.w-red { color: var(--red-text); } .w-sky { color: var(--sky-text); } .w-leaf { color: var(--leaf-text); }
.lang-list { margin-top: 28px; border-top: 1px solid rgba(30, 37, 89, .18); }
.lang-row { display: grid; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid rgba(30, 37, 89, .18); }
.lang-name { margin: 0; font: 500 26px/1.2 var(--f-head); color: var(--tone-text); }
.langs-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
figcaption { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--muted); }
@media (min-width: 640px) { .lang-row { grid-template-columns: 130px 1fr; align-items: baseline; } }
@media (min-width: 900px) {
  .langs-in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); }
  .langs-photo { position: sticky; top: calc(var(--nav-h) + 32px); margin-top: 8px; }
}

/* ---------------------------------------------------------------- learning by doing */
.doing { padding: var(--sec) 0; }
.doing { --tone-text: var(--sky-text); }
.ap-list { display: grid; gap: 0; }
.ap-photo img, .ap-graphic { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.ap-graphic { display: grid; place-items: center; background: var(--tone-mist); }
.count { width: 62%; }
.count .c-red { fill: var(--red-fill); } .count .c-sun { fill: var(--sun); } .count .c-sky { fill: var(--sky); } .count .c-leaf { fill: var(--leaf); }
.count .c-line { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.ap-text h3, .cs h3 { display: flex; align-items: baseline; gap: 12px; }
.ap-text h3::before, .cs h3::before {
  content: ""; flex: none; width: 16px; height: 16px; background: var(--tone-fill);
  clip-path: polygon(0 0, 100% 0, 0 100%); transform: translateY(1px);
}
.ap-feature { padding-bottom: 28px; }
.ap-feature .ap-text { padding-top: 20px; }
.ap-feature h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 12px; }
.ap-feature p { max-width: 36em; font-size: 18px; }
.ap-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px 0; border-top: 1px solid var(--line); }
.ap-row .ap-photo img, .ap-row .ap-graphic { aspect-ratio: 1; }
.ap-row.no-photo { grid-template-columns: minmax(0, 1fr); }
.ap-row h3 { font-size: clamp(19px, 1.6vw, 22px); margin-bottom: 6px; }
.ap-row h3::before { width: 12px; height: 12px; }
.ap-row p { font-size: 17px; line-height: 1.65; color: var(--text); }
@media (min-width: 900px) {
  .ap-list { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: repeat(var(--rows, 2), auto) 1fr; column-gap: clamp(40px, 5vw, 72px); align-items: start; }
  .ap-feature { grid-row: 1 / -1; grid-column: 1; padding-bottom: 0; }
  .ap-row { grid-column: 2; }
  .ap-row { grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding: 24px 0; }
  .ap-row:nth-child(2) { border-top: 0; padding-top: 0; }
}

/* ---------------------------------------------------------------- signature: the year, one turn of the pinwheel */
.year { padding: var(--sec) 0; background: var(--sky-mist); --tone-text: var(--sky-text); }
.year::before {
  content: ""; position: absolute; top: 0; right: 0; width: clamp(48px, 7vw, 96px); aspect-ratio: 1;
  background: linear-gradient(225deg, var(--sky) 50%, transparent 50%);
}
.yr-dial { position: sticky; z-index: 2; top: calc(var(--nav-h) + 6px); margin: 0 0 20px; }
.yr-sticky { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; background: rgba(238, 246, 253, .96); border: 1px solid var(--sky-soft); border-radius: var(--r); }
.pw-year { width: 52px; height: 52px; flex: none; }
.pw-year .pw-turn { transform: rotate(var(--turn, 0deg)); transition: transform 1.1s var(--ease); }
.yr-mark { display: none; }
.yr-now { margin: 0; display: grid; line-height: 1.3; }
.yr-now [data-yr-date] { font: 500 14px/1.3 var(--f-head); color: var(--muted); }
.yr-now b { font: 500 18px/1.3 var(--f-head); color: var(--ink); }
.yr-steps { display: grid; gap: 48px; }
.yr-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.yr-text { padding-top: 18px; }
.yr-date { display: inline-block; margin: 0 0 10px; padding: 5px 11px 6px; border-radius: var(--r); background: var(--tone-soft); color: var(--ink); font: 500 15px/1.2 var(--f-head); }
.yr-text h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 10px; }
.yr-text p { max-width: 34em; }
@media (min-width: 900px) {
  .yr-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
  .yr-dial { position: static; margin: 0; }
  .yr-sticky { position: sticky; top: calc(var(--nav-h) + 6vh); display: grid; justify-items: center; text-align: center; padding: 18px 0 0; background: none; border: 0; }
  .pw-year { width: min(340px, 100%); height: auto; aspect-ratio: 1; }
  .yr-mark { display: block; width: 0; height: 0; border: 14px solid transparent; border-top: 18px solid var(--ink); border-bottom: 0; margin-bottom: 10px; }
  .yr-now { margin-top: 22px; display: grid; gap: 4px; min-height: 5.4em; }
  .yr-now [data-yr-date] { font: 500 16px/1.3 var(--f-head); color: var(--muted); min-height: 1.3em; }
  .yr-now b { font: 500 clamp(22px, 2.2vw, 30px)/1.2 var(--f-head); color: var(--ink); }
  .yr-steps { gap: clamp(48px, 9vh, 96px); padding: 4vh 0 8vh; }
  .yr-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
  .yr-photo img { aspect-ratio: 4 / 3; }
  .yr-text { padding-top: 0; }
}

/* ---------------------------------------------------------------- standards */
.proof-sec { padding: var(--sec) 0; --tone-text: var(--leaf-text); }
.proof { display: grid; gap: 0; border-top: 1px solid var(--line); }
.proof li { padding: 24px 0; border-bottom: 1px solid var(--line); }
.proof h3 { font-size: 21px; margin-bottom: 10px; }
.proof p { font-size: 17px; color: var(--text); line-height: 1.65; }
.proof .more { margin-top: 8px; }
@media (min-width: 700px) { .proof { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
@media (min-width: 1100px) {
  .proof { grid-template-columns: repeat(4, 1fr); column-gap: 0; border-bottom: 1px solid var(--line); }
  .proof li { border-bottom: 0; padding: 28px 28px 32px; border-left: 1px solid var(--line); }
  .proof li:first-child { border-left: 0; padding-left: 0; }
}

/* ---------------------------------------------------------------- visit band (dark) */
.visit-band { background: var(--night); color: #e6e9f6; padding: var(--sec) 0; overflow: clip; }
.visit-band h2 { color: #fff; }
.visit-band h2 .ph:last-child:not(:first-child) { color: var(--sun); }
.visit-band p { color: #dfe3f3; max-width: 34em; margin-top: 18px; font-size: 18px; }
.vb-in { position: relative; display: grid; gap: 32px; }
.vb-cta { display: grid; gap: 12px; align-content: start; }
.vb-cta { position: relative; z-index: 1; }
.pw-band { position: absolute; width: clamp(220px, 34vw, 420px); height: auto; aspect-ratio: 1; right: clamp(-140px, -8vw, -60px); bottom: clamp(-160px, -10vw, -80px); opacity: .95; }
.visit-band .pw-pin { stroke: var(--night); }
@media (max-width: 899px) { .pw-band { width: 150px; right: -44px; bottom: -64px; } .vb-in { padding-bottom: 88px; } }
@media (min-width: 900px) {
  .vb-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
  .vb-cta { max-width: 360px; margin-right: clamp(120px, 14vw, 240px); }
}

/* ---------------------------------------------------------------- footer */
.foot { background: var(--night-deep); color: #d5d9ee; padding: clamp(48px, 6vw, 80px) 0 calc(28px + env(safe-area-inset-bottom)); font-size: 16px; }
.foot a { color: #fff; }
.foot a:hover { color: var(--sun); }
.foot-in { display: grid; gap: 32px; }
.foot-crest { display: inline-grid; place-items: center; width: 72px; height: 72px; background: #fff; border-radius: var(--r); margin-bottom: 14px; }
.foot-crest .crest { width: 54px; }
.foot-name { display: grid; margin-bottom: 6px; }
.foot-name .keep:first-child { font: 500 20px/1.3 var(--f-head); color: #fff; }
.foot-en { font-size: 14px; color: #c7cce6; }
.foot-since { color: #c7cce6; font-size: 15px; }
.foot-h { font: 500 17px/1.3 var(--f-head); color: var(--sun); margin-bottom: 12px; }
.foot-list li { margin-bottom: 8px; }
.foot-list a { display: inline-block; padding: 2px 0; }
.foot-col nav ul a, .foot nav .foot-list a { min-height: 32px; }
.foot-base { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 14px; color: #c3c8e4; display: grid; gap: 6px; }
@media (min-width: 760px) { .foot-in { grid-template-columns: 1.3fr 1fr 1fr; } .foot-in nav { grid-column: 3; grid-row: 1 / span 2; } }
@media (min-width: 1100px) { .foot-in { grid-template-columns: 1.4fr 1.2fr 1.2fr .8fr; } .foot-in nav { grid-column: auto; grid-row: auto; } }

/* ---------------------------------------------------------------- inner page heads */
.page-head { padding: clamp(28px, 4vw, 64px) 0 clamp(40px, 5vw, 80px); background: var(--tone-mist); }
.page-head::before {
  content: ""; position: absolute; top: 0; right: 0; width: clamp(48px, 7vw, 96px); aspect-ratio: 1;
  background: linear-gradient(225deg, var(--tone-fill) 50%, transparent 50%);
}
.ph-in { display: grid; gap: 32px; align-items: center; }
.page-head h1 { font-size: clamp(38px, 5.2vw, 76px); margin-bottom: 20px; }
.page-head .lead { max-width: 34em; }
.ph-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.page-head-slim .lead { max-width: 40em; }
@media (min-width: 900px) { .ph-in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); } }

/* ---------------------------------------------------------------- about */
.motto-sec { padding: var(--sec) 0; }
.motto-in { display: grid; gap: 32px; align-items: center; }
.pw-motto { width: 120px; height: 120px; }
.motto-big { margin: 0; font: 400 clamp(56px, 8.4vw, 120px)/1.15 var(--f-display); color: var(--ink); }
html[lang="en"] .motto-big { font-size: clamp(44px, 6vw, 84px); line-height: 1.05; }
.motto-note { font: 500 20px/1.3 var(--f-head); color: var(--ink); }
.motto-text p { max-width: 36em; }
@media (min-width: 1000px) {
  .motto-in { grid-template-columns: auto minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 72px); }
  .pw-motto { width: clamp(120px, 11vw, 170px); height: auto; aspect-ratio: 1; align-self: start; margin-top: 12px; }
}
.people { padding: var(--sec) 0; background: var(--sun-mist); --tone-text: var(--sun-text); }
.leaders { display: grid; border-top: 1px solid rgba(30, 37, 89, .18); }
.leaders li { padding: 20px 0; border-bottom: 1px solid rgba(30, 37, 89, .18); }
.ld-role { margin: 0 0 4px; font-size: 17px; color: var(--text); }
.ld-name { margin: 0; font: 500 21px/1.35 var(--f-head); color: var(--ink); }
@media (min-width: 760px) { .leaders { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
@media (min-width: 1100px) { .leaders { grid-template-columns: repeat(4, 1fr); } }
.recog-sec { padding: var(--sec) 0; --tone-text: var(--sky-text); }
.recog { display: grid; gap: 28px 32px; }
.recog li { padding-top: 16px; border-top: 5px solid var(--tone-fill); }
.rc-year { margin: 0 0 6px; font: 400 clamp(30px, 3.2vw, 44px)/1.2 var(--f-display); color: var(--tone-text); }
.recog p:last-child { color: var(--text); }
@media (min-width: 640px) { .recog { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .recog { grid-template-columns: repeat(3, 1fr); } }

/* ---------------------------------------------------------------- learning */
.corn-sec { padding: var(--sec) 0; background: var(--sun-mist); --tone-text: var(--sun-text); }
.corn-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; }
.cs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.cs h3 { display: flex; align-items: baseline; gap: 10px; font-size: clamp(18px, 1.6vw, 22px); margin: 16px 0 6px; }
.cs p { font-size: 17px; line-height: 1.65; color: var(--text); }
@media (min-width: 1000px) { .corn-strip { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.also-sec { padding: var(--sec) 0; --tone-text: var(--leaf-text); }
.also { display: grid; border-top: 1px solid var(--line); }
.also li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.also h3 { display: flex; align-items: baseline; gap: 12px; font-size: 21px; }
.also h3::before { content: ""; flex: none; width: 13px; height: 13px; background: var(--tone-fill); clip-path: polygon(0 0, 100% 0, 0 100%); }
@media (min-width: 700px) { .also { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
@media (min-width: 1100px) { .also { grid-template-columns: repeat(3, 1fr); } }
.kitchen { padding: var(--sec) 0; background: var(--red-mist); --tone-text: var(--red-text); }
.kitchen-in { display: grid; gap: 32px; align-items: center; }
.kitchen-text h2 { margin-bottom: 18px; }
.kitchen-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kitchen-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }
@media (min-width: 900px) { .kitchen-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); } .kitchen-photos { gap: 16px; } }
.camps-sec { padding: var(--sec) 0; --tone-text: var(--sky-text); }
.camps { display: grid; gap: 32px; }
.camp { padding-top: 18px; border-top: 5px solid var(--tone-fill); }
.camp-themes { display: flex; flex-wrap: wrap; align-content: center; gap: 10px; aspect-ratio: 3 / 2; margin-bottom: 18px; padding: clamp(20px, 3vw, 40px); border-radius: var(--r); background: var(--tone-mist); }
.camp-themes li { font: 500 clamp(18px, 1.8vw, 24px)/1 var(--f-head); color: var(--ink); padding: 12px 16px 13px; border-radius: var(--r); }
.camp-themes li:nth-child(4n+1) { background: var(--sky-soft); transform: rotate(-2deg); }
.camp-themes li:nth-child(4n+2) { background: var(--leaf-soft); transform: rotate(1.5deg); }
.camp-themes li:nth-child(4n+3) { background: var(--sun); transform: rotate(-1deg); }
.camp-themes li:nth-child(4n+4) { background: #f6b4b2; transform: rotate(2deg); }
.camp-when { display: inline-block; margin-bottom: 10px; padding: 5px 11px 6px; border-radius: var(--r); background: var(--tone-soft); color: var(--ink); font: 500 15px/1.2 var(--f-head); }
.camp h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 8px; }
.camps-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (min-width: 760px) { .camps { grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); } }
.parents { padding: var(--sec) 0; background: var(--leaf-mist); --tone-text: var(--leaf-text); }
.parents-in { display: grid; gap: 32px; align-items: center; }
.parents img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.parents h2 { margin-bottom: 18px; }
@media (min-width: 900px) { .parents-in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); } }

/* ---------------------------------------------------------------- admissions */
.levels-sec { padding: var(--sec) 0; --tone-text: var(--sun-text); }
.levels { display: grid; gap: 16px; }
.lv { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 18px; border: 1px solid var(--line); border-top: 8px solid var(--tone-fill); border-radius: var(--r); background: #fff; }
.lv-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.lv h3 { font-size: clamp(22px, 2vw, 28px); }
.lv-age { margin: 0; padding: 4px 10px 5px; border-radius: var(--r); background: var(--tone-soft); color: var(--ink); font: 500 15px/1.2 var(--f-head); }
.lv p { color: var(--text); }
.lv-line { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--leaf-text); }
.lv-line .ic { width: 20px; height: 20px; fill: var(--line-green); }
@media (min-width: 640px) { .levels { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .levels { grid-template-columns: repeat(4, 1fr); } }
.steps-sec { padding: var(--sec) 0; background: var(--sky-mist); }
.steps { display: grid; gap: 28px; }
.steps li { position: relative; }
.st-n { display: block; font: 400 clamp(60px, 6.4vw, 88px)/1.1 var(--f-display); color: var(--sky-text); margin-bottom: 10px; }
.steps li:nth-child(2) .st-n { color: var(--leaf-text); }
.steps li:nth-child(3) .st-n { color: var(--red-text); }
.steps h3 { margin-bottom: 8px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 64px); } }
.faq-sec { padding: var(--sec) 0; --tone-text: var(--red-text); }
.faq-in { display: grid; gap: 8px; }
@media (min-width: 1000px) { .faq-in { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; } .faq-in .sec-head { position: sticky; top: calc(var(--nav-h) + 32px); } }
.faq { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none; font: 500 clamp(18px, 1.6vw, 21px)/1.4 var(--f-head); color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 22px; height: 22px; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 2px; right: 2px; top: 10px; height: 3px; background: var(--red); border-radius: 1px; transition: transform .25s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0deg); }
.qa-a { padding: 0 0 22px; max-width: 42em; }

/* ---------------------------------------------------------------- gallery */
.album-nav { margin-top: 28px; }
.album-nav ul { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 759px) {
  .album-nav { margin-inline: calc(var(--gut) * -1); }
  .album-nav ul { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px var(--gut) 10px; scrollbar-width: none; }
  .album-nav ul::-webkit-scrollbar { display: none; }
  .album-nav li { scroll-snap-align: start; flex: none; }
}
.album-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: var(--r); background: #fff; border: 1px solid var(--tone-fill); text-decoration: none; font-weight: 500; font-size: 16px; color: var(--ink); white-space: nowrap; }
.album-nav a::before { content: ""; flex: none; width: 9px; height: 9px; background: var(--tone-fill); clip-path: polygon(0 0, 100% 0, 0 100%); }
.album-nav a:hover { background: var(--tone-mist); color: var(--ink); }
.albums { padding: clamp(24px, 4vw, 48px) 0 var(--sec); }
.album { padding: clamp(32px, 4vw, 56px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 12px); }
.album:last-child { border-bottom: 0; }
.album-head { max-width: 760px; margin-bottom: 22px; }
.album-date { margin: 0 0 6px; font: 500 16px/1.3 var(--f-head); color: var(--tone-text); }
.album-head h2 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 8px; }
.album-head p:last-child { color: var(--text); }
.ph-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ph-item { aspect-ratio: 1; }
.ph-item.big { grid-column: span 2; aspect-ratio: 3 / 2; }
.ph-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--tone-mist); cursor: zoom-in; border-radius: var(--r); overflow: hidden; }
.ph-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ph-open:hover img { transform: scale(1.03); }
@media (min-width: 760px) {
  .ph-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .ph-item.big { grid-row: span 2; aspect-ratio: auto; }
  .ph-item.wide { grid-column: span 2; aspect-ratio: auto; }
}
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(13, 16, 40, .96); color: #fff; }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; place-items: center; }
.lightbox::backdrop { background: rgba(13, 16, 40, .9); }
.lightbox img { max-width: calc(100vw - 32px); max-height: calc(100dvh - 140px); width: auto; height: auto; object-fit: contain; border-radius: var(--r); }
.lb-cap { margin: 0; padding: 12px 72px 24px; text-align: center; font-size: 16px; color: #e6e9f6; max-width: 60em; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 2px solid rgba(255, 255, 255, .7); border-radius: var(--r); background: rgba(13, 16, 40, .55); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lb-btn:hover { background: #fff; color: var(--ink); }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 12px; top: 12px; }

/* ---------------------------------------------------------------- contact */
.contact { padding: clamp(32px, 4vw, 64px) 0 var(--sec); }
.contact-in { display: grid; gap: 48px; }
.visit h2, .where h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 10px; }
.visit > p { color: var(--muted); }
@media (min-width: 1000px) { .contact-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); } }
.vform { margin-top: 24px; display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 16px; color: var(--ink); }
.field input, .field select { width: 100%; min-height: 52px; padding: 10px 14px; border: 2px solid var(--field); border-radius: var(--r); background: #fff; font-size: 17px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field input:focus, .field select:focus { border-color: var(--sky-fold); outline: 3px solid var(--sky-soft); outline-offset: 0; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.err { display: none; margin: 0; font-size: 15px; font-weight: 600; color: var(--red-text); }
.field.bad input, .field.bad select { border-color: var(--red); }
.field.bad .err { display: block; }
.form-note { font-size: 15px; color: var(--muted); margin: 0; }
.vform > .btn { justify-self: start; }
.sent { display: none; padding: 22px; border-radius: var(--r); background: var(--leaf-mist); }
.sent.show { display: block; }
.sent h3 { margin-bottom: 12px; }
.sent pre { margin: 0 0 16px; padding: 14px 16px; background: #fff; border-radius: var(--r); white-space: pre-wrap; word-break: break-word; font: 400 16px/1.6 var(--f-body); color: var(--text); }
.sent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.copied { margin: 12px 0 0; font-weight: 600; color: var(--leaf-text); }
.reach-list { display: grid; gap: 14px; }
.reach-item { padding: 18px 20px; background: var(--tone-mist); border-radius: var(--r); }
.reach-item h3 { display: flex; align-items: baseline; gap: 10px; }
.reach-item h3::before { content: ""; flex: none; width: 12px; height: 12px; background: var(--tone-fill); clip-path: polygon(0 0, 100% 0, 0 100%); }
.reach-item h3 { margin-bottom: 6px; font-size: 20px; }
.reach-item p { margin-bottom: 8px; }
.reach-item a:not(.btn) { display: inline-block; padding: 6px 0; font-weight: 600; }
.reach-item .btn { margin-top: 4px; }
.where { padding: 0 0 var(--sec); }
.where-in { display: grid; gap: 28px; align-items: center; padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.addr { font-size: 19px; color: var(--ink); max-width: 26em; }
.where-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.map { display: block; text-decoration: none; }
.map img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); }
.map-credit { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
@media (min-width: 900px) { .where-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); } }

/* ---------------------------------------------------------------- phone dock and toast */
.dock {
  position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: auto 1fr 1fr; gap: 8px;
  padding: 10px max(12px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-right));
  background: #fff; border-top: 1px solid var(--line); transition: transform .3s var(--ease);
}
.dock .btn { min-height: 48px; padding: 0 12px; font-size: 16px; gap: 6px; }
.dock .btn .ic { width: 18px; height: 18px; }
.dock.away { transform: translateY(110%); }
.dock .btn-line span[lang] { white-space: nowrap; }
@media (min-width: 760px) { .dock { display: none; } }
@media (max-width: 759px) { .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }
.toast {
  position: fixed; z-index: 60; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px);
  width: max-content; max-width: calc(100vw - 32px); padding: 14px 18px; border-radius: var(--r); background: var(--ink); color: #fff;
  font-size: 16px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 760px) { .toast { bottom: 28px; } }

/* ---------------------------------------------------------------- reduced motion: everything already in place */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
.rm .pw-year .pw-turn { transition: none; }
