:root {
  --ink: #1c1916;
  --muted: #6b635a;
  --bg: #ebe6df;
  --bg-soft: #ddd6cb;
  --asphalt: #2a2724;
  --asphalt-mid: #3d3834;
  --cone: #e85d04;
  --cone-deep: #c2410c;
  --cone-soft: #ff8c42;
  --white: #fffaf5;
  --line: rgba(28, 25, 22, 0.12);
  --font: 'Anuphan', sans-serif;
  --heading: 'Prompt', 'Anuphan', sans-serif;
  --mono: 'IBM Plex Mono', 'Anuphan', monospace;
  --max: 1100px;
  --demo-h: 48px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 6px;
}

*, *::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);
  background:
    radial-gradient(ellipse 60% 45% at 0% 0%, rgba(232, 93, 4, 0.14), transparent 55%),
    linear-gradient(180deg, #f3efe8 0%, var(--bg) 40%, #e4ddd3 100%);
  line-height: 1.65;
  overflow-x: hidden;
  font-synthesis: none;
}

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(--cone); outline-offset: 3px; }

.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: var(--asphalt); color: #fff; font-size: 0.82rem;
}
.demo-bar strong {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em;
  color: var(--cone-soft); 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(--cone); border-color: var(--cone); color: #fff; }

.site-header {
  position: sticky; top: var(--demo-h); z-index: 50;
  background: rgba(235, 230, 223, 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(--cone-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(--cone); color: #fff !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--cone { background: var(--cone); color: #fff; }
.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; }
.text-link { font-weight: 700; color: var(--cone-deep); }

.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 22s var(--ease) both;
}
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(28, 25, 22, 0.92) 0%, rgba(28, 25, 22, 0.55) 48%, rgba(232, 93, 4, 0.22) 100%),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,0.03) 40px, rgba(255,255,255,0.03) 42px);
}
.hero__inner {
  position: relative; z-index: 1; padding: 5rem 0 3.5rem; max-width: 38rem;
  margin-left: max(calc((100% - var(--max)) / 2), 1.25rem);
  width: min(100% - 2.5rem, 38rem);
  animation: rise 0.9s var(--ease) both;
}
.hero__brand {
  font-family: var(--heading); font-size: 1.35rem; font-weight: 700;
  margin-bottom: 1rem; display: flex; gap: 0.5rem; align-items: baseline;
}
.hero__brand span {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--cone-soft);
}
.hero h1 {
  font-family: var(--heading); font-size: clamp(2.2rem, 5.2vw, 3.5rem);
  line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 0.9rem;
}
.hero h1 em {
  display: block; font-style: normal; color: var(--cone-soft);
  font-size: 0.72em; margin-top: 0.25rem;
}
.hero__lead { color: rgba(255,255,255,0.88); margin-bottom: 1.5rem; font-size: 1.05rem; }

@keyframes ken { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.course-map { padding: 4.5rem 0 3rem; }
.section { padding: 4.5rem 0; }
.section--asphalt { background: var(--asphalt); color: #fff; }
.section__head { margin-bottom: 2.25rem; max-width: 36rem; }
.section__head h2 {
  font-family: var(--heading); font-size: clamp(1.8rem, 3.2vw, 2.45rem);
  letter-spacing: -0.02em; line-height: 1.22;
}
.section__head p { color: var(--muted); margin-top: 0.5rem; }
.section--asphalt .section__head p { color: rgba(255,255,255,0.7); }
.eyebrow {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--cone-deep); margin-bottom: 0.5rem;
}
.eyebrow.light { color: var(--cone-soft); }
.tag {
  font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--cone-deep); font-weight: 500;
}

.asphalt {
  position: relative;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.04), transparent 40%),
    linear-gradient(160deg, var(--asphalt-mid), var(--asphalt));
  border-radius: 12px;
  padding: 2rem 1.25rem 2.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  min-height: 520px;
}
.asphalt__lane {
  position: absolute; left: 50%; top: 8%; bottom: 8%; width: 4px;
  background: repeating-linear-gradient(
    180deg,
    var(--cone-soft) 0 18px,
    transparent 18px 34px
  );
  transform: translateX(-50%);
  opacity: 0.85;
}
.stations {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2.5rem;
}
.station {
  background: rgba(255,250,245,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.2rem 1.4rem;
  color: #fff;
  position: relative;
}
.station--1, .station--3, .station--5 { margin-right: 8%; }
.station--2, .station--4, .station--6 { margin-left: 8%; }
.cone {
  position: absolute; top: -10px; right: 14px;
  width: 0; height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 22px solid var(--cone);
  filter: drop-shadow(0 2px 0 var(--cone-deep));
}
.cone::after {
  content: ''; position: absolute; left: -6px; top: 10px;
  width: 12px; height: 3px; background: #fff; opacity: 0.85;
}
.station__code {
  font-family: var(--mono); font-size: 0.72rem; color: var(--cone-soft);
  letter-spacing: 0.08em; display: block; margin-bottom: 0.35rem;
}
.station h3 {
  font-family: var(--heading); font-size: 1.15rem; margin-bottom: 0.35rem;
}
.station p { color: rgba(255,255,255,0.72); font-size: 0.92rem; }

.track-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem;
}
.track {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.track__photo { aspect-ratio: 4/3; overflow: hidden; }
.track__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.track:hover .track__photo img { transform: scale(1.04); }
.track__body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.track h3 { font-family: var(--heading); font-size: 1.25rem; letter-spacing: -0.02em; }
.track p { color: var(--muted); font-size: 0.95rem; }
.price {
  font-family: var(--heading); font-size: 1.4rem; font-weight: 700;
  color: var(--cone-deep); margin: 0.35rem 0 0.5rem;
}

.coach-split {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; align-items: center;
}
.lede { color: rgba(255,255,255,0.75); margin: 0.75rem 0 1.25rem; max-width: 32rem; }
.ticks { display: grid; gap: 0.75rem; }
.ticks li { padding-left: 1.4rem; position: relative; font-weight: 500; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 0.55rem;
  width: 0.55rem; height: 0.55rem; background: var(--cone);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.coach-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); overflow: hidden;
}
.coach-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.coach-card div { padding: 1.2rem 1.35rem; }
.coach-card strong { font-family: var(--heading); font-size: 1.15rem; display: block; margin-bottom: 0.35rem; }
.coach-card p { color: rgba(255,255,255,0.7); }


.book-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start;
}
.contact-ids { margin-top: 1rem; color: var(--muted); }
.book-form {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem; display: grid; gap: 0.9rem;
}
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.75rem 0.9rem; background: #fff; color: var(--ink);
}
.field textarea { resize: vertical; min-height: 88px; }

.site-footer {
  background: var(--asphalt); color: rgba(255,255,255,0.75); padding: 3rem 0 1.5rem;
}
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem;
}
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: var(--cone-soft); }
.footer__lede { margin-top: 0.75rem; max-width: 28rem; }
.footer__grid h4 {
  font-family: var(--heading); color: #fff; margin-bottom: 0.75rem; font-size: 1rem;
}
.footer__grid a { display: block; margin-bottom: 0.4rem; color: rgba(255,255,255,0.7); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.1);
  font-family: var(--mono); font-size: 0.72rem;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.24s; }

.voice-path {
  list-style: none;
  margin: 0 auto;
  max-width: 42rem;
  width: 100%;
  padding: 0;
  display: grid;
  gap: 0;
  position: relative;
}
#voices .section__head,
#voices header.section__head {
  max-width: 42rem;
  width: 100%;
  margin-inline: auto;
}

.voice-path::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 0.45rem;
  bottom: 0.45rem;
  width: 1px;
  background: var(--line);
}
.voice-path__step {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.85rem 1.25rem;
  align-items: start;
  padding: 1.15rem 0;
  position: relative;
}
.voice-path__mark {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--cone);
  padding-top: 0.2rem;
  background: var(--bg, transparent);
  position: relative;
  z-index: 1;
}
.voice-path__step p {
  font-family: var(--heading);
  font-size: 1.15rem;
  line-height: 1.4;
  margin: 0 0 0.55rem;
}
.voice-path__step cite {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .voice-path::before { left: 0.7rem; }
  .voice-path__step { grid-template-columns: 2rem minmax(0, 1fr); gap: 0.65rem 1rem; }

  .stations { grid-template-columns: 1fr; }
  .station--1, .station--2, .station--3, .station--4, .station--5, .station--6 {
    margin-left: 0; margin-right: 0;
  }
  .asphalt__lane { left: 1.1rem; transform: none; }
  .asphalt { padding-left: 2.25rem; min-height: 0; }
  .track-grid, .coach-split, .book-split, .footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .menu-toggle { display: inline-flex; }
  .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.25rem; }
  .hero__inner { margin-left: 1.25rem; }
}
