:root {
  --ink: #1e3338;
  --muted: #5a737a;
  --bg: #eef6f8;
  --bg-soft: #dff0f3;
  --paper: #f7fcfd;
  --line: rgba(30, 51, 56, 0.12);
  --accent: #2a8f9a;
  --accent-deep: #1c6d76;
  --sky: #7ec8d4;
  --mint: #8fbfb0;
  --on-accent: #f4fcfd;
  --font: 'Anuphan', sans-serif;
  --heading: 'Kanit', 'Anuphan', sans-serif;
  --mono: 'IBM Plex Mono', 'Anuphan', monospace;
  --max: 1080px;
  --demo-h: 48px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  font-synthesis: none;
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(126, 200, 212, 0.28), transparent 55%),
    radial-gradient(ellipse 40% 35% at 0% 40%, rgba(143, 191, 176, 0.2), transparent 50%),
    linear-gradient(180deg, #f4fafb 0%, var(--bg) 40%, #e8f3f5 100%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; font-size: 16px; }
ul, ol { list-style: none; }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.mono { font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.68rem; font-weight: 500; }

.demo-bar {
  position: sticky; top: 0; z-index: 60;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap; padding: 0.55rem 1.25rem;
  background: #122428; color: #fff; font-size: 0.82rem;
}
.demo-bar strong {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em;
  color: var(--sky); font-weight: 500;
}
.demo-bar__actions { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.demo-bar a {
  padding: 0.35rem 0.7rem; border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius); font-size: 0.78rem; font-weight: 500;
}
.demo-bar a.is-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.site-header {
  position: sticky; top: var(--demo-h); z-index: 50;
  background: rgba(238, 246, 248, 0.94); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); position: relative;
}
.brand {
  font-family: var(--heading); font-weight: 700; font-size: 1.3rem;
  display: inline-flex; align-items: baseline; gap: 0.45rem;
}
.brand small {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent-deep); font-weight: 500;
}
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line);
  padding: 0.45rem 0.8rem; cursor: pointer; border-radius: var(--radius); color: var(--ink);
}
.nav { display: flex; align-items: center; gap: 1.15rem; }
.nav a { font-size: 0.92rem; font-weight: 500; color: var(--muted); }
.nav-cta {
  background: var(--accent); color: var(--on-accent) !important;
  padding: 0.55rem 1.05rem; border-radius: var(--radius); font-weight: 700;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9rem 1.4rem; font-weight: 700; border-radius: var(--radius);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,0.45); background: transparent; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero {
  position: relative; min-height: min(90dvh, 820px);
  display: flex; align-items: flex-end; color: #fff; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: ken 24s var(--ease) both;
}
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(118deg, rgba(18, 36, 40, 0.88) 0%, rgba(18, 36, 40, 0.48) 50%, rgba(18, 36, 40, 0.2) 100%);
}
.hero__fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.bubble {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(126, 200, 212, 0.35);
  background: rgba(126, 200, 212, 0.12);
  animation: rise 16s ease-in-out infinite;
}
.bubble--1 { width: 90px; height: 90px; top: 20%; right: 16%; }
.bubble--2 { width: 56px; height: 56px; top: 42%; left: 12%; animation-delay: -4s; }
.bubble--3 { width: 120px; height: 120px; bottom: 22%; right: 28%; animation-delay: -8s; }
@keyframes rise {
  0%, 100% { transform: translateY(0); opacity: 0.35; }
  50% { transform: translateY(-20px); opacity: 0.75; }
}
@keyframes ken {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero__inner {
  position: relative; z-index: 2;
  width: min(100% - 2.5rem, var(--max)); margin: 0 auto;
  padding: 4.5rem 0 3.75rem; max-width: 38rem;
}
.hero__brand {
  font-family: var(--heading); font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  font-weight: 700; letter-spacing: -0.03em; margin-bottom: 0.85rem; line-height: 1.15;
}
.hero__brand span {
  display: block; font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky); margin-top: 0.35rem;
}
.hero h1 {
  font-family: var(--heading); font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 0.85rem;
}
.hero h1 em { font-style: normal; color: #b8e6ee; }
.hero__lead { color: rgba(255,255,255,0.82); margin-bottom: 1.4rem; max-width: 32rem; }

.section { padding: 4.5rem 0; }
.section--kit {
  background:
    linear-gradient(180deg, transparent, rgba(247, 252, 253, 0.8)),
    var(--bg-soft);
}
.section--book {
  background: linear-gradient(160deg, #1e3338 0%, #2a4a52 100%);
  color: #f4fcfd;
}
.section__head { margin-bottom: 2.25rem; max-width: 36rem; }
.section__head h2 {
  font-family: var(--heading); font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  letter-spacing: -0.02em; margin: 0.35rem 0 0.65rem;
}
.section__head p { color: var(--muted); }
.eyebrow {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent-deep); margin-bottom: 0.5rem;
}
.eyebrow.light { color: var(--sky); }

/* Age milestone path — interactive stage guide */
.guide {
  display: grid; gap: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.35rem;
  box-shadow: 0 18px 40px rgba(30, 51, 56, 0.06);
}
.guide__rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  position: relative;
}
.guide__rail::before {
  content: '';
  position: absolute; left: 8%; right: 8%; top: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--mint), var(--sky), var(--accent));
  opacity: 0.45; z-index: 0;
}
.guide-step {
  position: relative; z-index: 1;
  width: 100%;
  display: grid; gap: 0.25rem; justify-items: start;
  text-align: left;
  padding: 0.85rem 0.9rem;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s var(--ease);
}
.guide-step:hover { transform: translateY(-2px); border-color: var(--sky); }
.guide-step.is-on {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--sky) 16%, white);
  box-shadow: 0 8px 20px rgba(42, 143, 154, 0.12);
}
.guide-step__num {
  font-family: var(--mono); font-size: 0.65rem; color: var(--accent-deep);
  letter-spacing: 0.1em;
}
.guide-step strong {
  font-family: var(--heading); font-size: 1.15rem; font-weight: 600;
}
.guide-step small { color: var(--muted); font-size: 0.82rem; }

.guide__stage {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 1.5rem; align-items: stretch;
}
.guide__media {
  overflow: hidden; border-radius: 10px; border: 1px solid var(--line);
  min-height: 260px; background: #e6f2f4;
}
.guide__media img {
  width: 100%; height: 100%; object-fit: cover; min-height: 260px;
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease);
}
.guide__media img.is-flash { animation: flash 0.45s var(--ease); }
@keyframes flash {
  from { opacity: 0.4; transform: scale(1.03); }
  to { opacity: 1; transform: scale(1); }
}
.guide__copy {
  display: grid; gap: 0.75rem; align-content: start;
  padding: 0.35rem 0.25rem;
}
.guide__copy h3 {
  font-family: var(--heading); font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 600; letter-spacing: -0.02em;
}
.guide__copy > p:not(.mono) { color: var(--muted); }
.guide__facts {
  display: grid; gap: 0.75rem; margin-top: 0.5rem;
}
.guide__facts > div {
  display: grid; grid-template-columns: 5rem 1fr; gap: 0.75rem;
  padding-top: 0.65rem; border-top: 1px solid var(--line);
}
.guide__facts dt { color: var(--accent-deep); padding-top: 0.15rem; }
.guide__facts dd { font-weight: 500; }

/* Essentials as horizontal strip, not 3-col cards */
.ess-strip {
  display: grid; gap: 0.55rem;
  border-top: 1px solid var(--line);
}
.ess-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 1rem; align-items: center;
  padding: 0.85rem 0.35rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.ess-item:hover {
  background: color-mix(in srgb, var(--sky) 12%, transparent);
  padding-left: 0.55rem;
}
.ess-item img {
  width: 72px; height: 72px; object-fit: cover; border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--mint) 50%, white);
}
.ess-item span { display: grid; gap: 0.15rem; min-width: 0; }
.ess-item strong { font-family: var(--heading); font-size: 1.08rem; font-weight: 600; }
.ess-item small { color: var(--muted); font-size: 0.86rem; }
.ess-item em {
  font-style: normal; font-family: var(--heading); font-weight: 700;
  color: var(--accent-deep); white-space: nowrap;
}

.contact {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: start;
}
.contact h2 {
  font-family: var(--heading); font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0.4rem 0 0.7rem; color: #fff;
}
.contact > .reveal > p { color: rgba(244,252,253,0.78); }
.book-note { margin-top: 0.85rem !important; font-size: 0.95rem; }
.book-note strong { color: #fff; }
.form {
  background: var(--paper); color: var(--ink); padding: 1.6rem;
  border-radius: 12px; display: grid; gap: 0.9rem;
}
.field { display: grid; gap: 0.3rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  padding: 0.75rem 0.9rem; border: 1px solid var(--line);
  border-radius: 8px; background: #fff;
}

.rate-table {
  border: 1.5px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  overflow: hidden;
}
.rate-table__row {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease);
}
.rate-table__row:last-child { border-bottom: 0; }
.rate-table__row--head {
  background: var(--accent-deep);
  color: var(--on-accent);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rate-table__row .mono,
.rate-table__row span:last-child {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  white-space: nowrap;
}
.rate-table__row--head span:last-child { color: rgba(244, 252, 253, 0.9); }
.rate-table__row.is-accent { background: rgba(126, 200, 212, 0.22); }
.rate-table__row.is-accent span:first-child { font-weight: 700; }
a.rate-table__row:hover { background: rgba(42, 143, 154, 0.08); }
.fine-print {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.voice-roster { display: grid; gap: 0; border-top: 1px solid var(--line); }
.voice-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.voice-row__tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  padding-top: 0.2rem;
}
.voice-row__body p { margin: 0 0 0.35rem; }
.voice-row__body cite {
  font-style: normal;
  font-size: 0.88rem;
  color: var(--muted);
}

.site-footer { background: #122428; color: rgba(255,255,255,0.72); padding: 1.75rem 0; }
.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: var(--sky); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .guide__rail { grid-template-columns: 1fr 1fr; }
  .guide__rail::before { display: none; }
  .guide__stage, .contact { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .rate-table__row { grid-template-columns: 1fr auto; gap: 0.35rem 1rem; }
  .rate-table__row--head { display: none; }
  .rate-table__row span:nth-child(2) { grid-column: 1 / -1; color: var(--muted); font-size: 0.88rem; }
  .rate-table__row span:last-child { grid-column: 2; grid-row: 1; }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; right: 0; left: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 0.75rem 1.25rem 1rem; gap: 0.35rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.65rem 0.35rem; }
  .hero__inner { padding-bottom: 3rem; }
  .ess-item {
    grid-template-columns: 64px 1fr;
    grid-template-areas:
      "img copy"
      "img price";
  }
  .ess-item img { grid-area: img; width: 64px; height: 64px; }
  .ess-item span { grid-area: copy; }
  .ess-item em { grid-area: price; justify-self: start; }
}
