:root {
  --ink: #1f2a28;
  --muted: #5a6b66;
  --bg: #f4f7f5;
  --bg-soft: #e8f0ec;
  --white: #fcfefd;
  --line: rgba(31, 42, 40, 0.12);
  --accent: #e06b5a;
  --accent-deep: #c24f3f;
  --accent-soft: #f3a89c;
  --teal: #2f7a6a;
  --on-accent: #fffaf8;
  --font: 'Anuphan', sans-serif;
  --heading: 'Prompt', 'Anuphan', sans-serif;
  --mono: 'IBM Plex Mono', 'Anuphan', monospace;
  --max: 920px;
  --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 0% 10%, rgba(224, 107, 90, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 30% at 100% 0%, rgba(47, 122, 106, 0.1), transparent 50%),
    var(--bg);
}
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; }

.demo-bar { position: sticky; top: 0; z-index: 60; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .55rem 1.25rem; background: #15201e; color: #fff; font-size: .82rem; }
.demo-bar strong { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; color: var(--accent-soft); font-weight: 500; }
.demo-bar__actions { display: flex; gap: .45rem; flex-wrap: wrap; }
.demo-bar a { padding: .35rem .7rem; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); font-size: .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(244, 247, 245, .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.25rem; display: inline-flex; align-items: baseline; gap: .45rem; }
.brand small { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); font-weight: 500; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); padding: .45rem .8rem; cursor: pointer; border-radius: var(--radius); color: var(--ink); }
.nav { display: flex; align-items: center; gap: 1.15rem; }
.nav a { font-size: .92rem; font-weight: 500; color: var(--muted); }
.nav-cta { background: var(--accent); color: var(--on-accent) !important; padding: .55rem 1.05rem; border-radius: var(--radius); font-weight: 700; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: .9rem 1.4rem; font-weight: 700; border-radius: var(--radius); border: 1.5px solid transparent; cursor: pointer; transition: transform .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,.45); background: transparent; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .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 20s var(--ease) both; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(20, 32, 30, .92) 0%, rgba(20, 32, 30, .55) 55%, rgba(20, 32, 30, .28) 100%); }
.hero__inner { position: relative; z-index: 2; padding: 5rem 0 3.5rem; max-width: 36rem; margin-left: max(calc((100% - var(--max)) / 2), 1.25rem); width: min(100% - 2.5rem, 36rem); animation: rise .9s var(--ease) both; }
.hero__brand { font-family: var(--heading); font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
.hero__brand span { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-soft); }
.hero h1 { font-family: var(--heading); font-size: clamp(2.15rem, 5vw, 3.3rem); line-height: 1.18; letter-spacing: -.02em; margin-bottom: .9rem; }
.hero h1 em { display: block; font-style: normal; color: var(--accent-soft); font-size: .72em; margin-top: .25rem; }
.hero__lead { color: rgba(255,255,255,.88); margin-bottom: 1.5rem; }
@keyframes ken { from { transform: scale(1.05); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.area-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.area-strip__inner { display: flex; gap: 1.25rem; align-items: baseline; flex-wrap: wrap; padding: 1.1rem 0; }
.area-strip__label { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); white-space: nowrap; }

.section { padding: 4.5rem 0; }
.section--soft { background: var(--bg-soft); }
.section--accent { background: #1f2a28; color: #fff; }
.section__head { margin-bottom: 2rem; max-width: 38rem; }
.section__head h2 { font-family: var(--heading); font-size: clamp(1.7rem, 3.2vw, 2.35rem); letter-spacing: -.02em; margin-bottom: .5rem; }
.section__head p { color: var(--muted); }
.eyebrow { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: .5rem; }
.eyebrow.light { color: var(--accent-soft); }

/* FOLD LINE — horizontal conveyor */
.foldline-section { overflow: hidden; }
.foldline {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: 1rem;
  overflow-x: auto; padding: 0 max(1.25rem, calc((100% - var(--max)) / 2)) 1.25rem;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.foldline::-webkit-scrollbar { height: 6px; }
.foldline::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--accent) 50%, transparent); border-radius: 99px; }
.stage {
  scroll-snap-align: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; display: grid; gap: .55rem; position: relative;
  box-shadow: 0 10px 0 -6px rgba(47, 122, 106, 0.12);
}
.stage::before {
  content: ''; position: absolute; top: 1.55rem; right: -1.05rem; width: 1rem; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent); z-index: 1;
}
.stage:last-child::before { display: none; }
.stage__code { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; color: var(--accent-deep); }
.stage h3 { font-family: var(--heading); font-size: 1.45rem; letter-spacing: -.02em; }
.stage__th { font-weight: 600; color: var(--teal); }
.stage p { color: var(--muted); font-size: .92rem; }
.stage img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; margin-top: .35rem; }
.stage--hot { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: linear-gradient(180deg, #fff8f6, var(--white)); }

/* HANG RAIL — service rows */
.hangrail { display: grid; gap: .7rem; }
.hang {
  display: grid; grid-template-columns: 1.25rem 3.5rem 1fr auto; gap: .85rem; align-items: center;
  background: var(--white); border: 1px solid var(--line); padding: .85rem 1rem; border-radius: var(--radius);
  transition: transform .25s var(--ease), border-color .2s;
}
.hang:hover { transform: translateX(4px); border-color: var(--accent); }
.hang__hook {
  width: 14px; height: 22px; border: 2px solid var(--teal); border-bottom: none; border-radius: 10px 10px 0 0; margin-top: .2rem;
}
.hang__tag {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-align: center; padding: .65rem .3rem;
  background: color-mix(in srgb, var(--accent) 18%, white); color: var(--accent-deep); font-weight: 600; border-radius: 4px;
}
.hang__tag--teal { background: color-mix(in srgb, var(--teal) 18%, white); color: var(--teal); }
.hang__tag--coral { background: #f8d4ce; color: #a63d30; }
.hang__tag--ink { background: var(--ink); color: #fff; }
.hang__body { display: grid; gap: .15rem; min-width: 0; }
.hang__body strong { font-family: var(--heading); font-size: 1.08rem; }
.hang__body small { color: var(--muted); font-size: .88rem; }
.hang__price { font-family: var(--heading); font-weight: 700; color: var(--accent-deep); white-space: nowrap; font-variant-numeric: tabular-nums; }


.voice-path {
  list-style: none;
  margin: 0 auto;
  max-width: 42rem;
  width: 100%;
  padding: 0;
  display: grid;
  gap: 0;
  position: relative;
  margin-bottom: 2rem;
}
#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(--accent);
  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;
}

.photo-band { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.photo-band figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.photo-band img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .55s var(--ease); }
.photo-band figure:hover img { transform: scale(1.04); }
.photo-band figcaption { padding: .65rem 0 0; font-size: .88rem; color: var(--muted); }

.book { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.5rem; }
.book h2 { font-family: var(--heading); font-size: clamp(1.8rem, 3vw, 2.4rem); color: #fff; margin: .4rem 0 .7rem; }
.form { background: var(--white); color: var(--ink); padding: 1.6rem; border-radius: var(--radius); display: grid; gap: .9rem; }
.field { display: grid; gap: .3rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.field label { font-size: .85rem; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); background: #f3f8f6; }

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

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

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

  .book, .photo-band { grid-template-columns: 1fr; }
  .hang { grid-template-columns: 1.1rem 3rem 1fr; }
  .hang__price { grid-column: 3; }
  .field-row { grid-template-columns: 1fr; }
  .stage::before { display: none; }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: .75rem 1.25rem 1rem; }
  .nav.is-open { display: flex; }
  .nav a { padding: .7rem 0; border-bottom: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__media img, .hero__inner { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

.rate-table {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white, #fff);
}
.rate-table__row {
  display: grid; grid-template-columns: 1.1fr 1.4fr 6.5rem; gap: .75rem; align-items: center;
  padding: .9rem 1.15rem; border-bottom: 1px solid var(--line);
}
.rate-table__row:last-child { border-bottom: 0; }
.rate-table__row--head {
  background: #1f2a28; color: rgba(255,255,255,.9);
  font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
}
.rate-table__row .mono, .rate-table__row span:last-child {
  text-align: right; font-variant-numeric: tabular-nums;
  font-family: var(--mono); font-weight: 600; color: var(--accent-deep, #c45c26);
}
.rate-table__row--head span:last-child { color: rgba(255,255,255,.9); }
.rate-table__row.is-accent { background: linear-gradient(90deg, rgba(232, 140, 80, 0.12), transparent 70%); }
.rate-table__row.is-accent span:first-child { font-weight: 700; }
.rate-note { margin-top: 1rem; color: var(--muted); font-size: .92rem; }
@media (max-width: 720px) {
  .rate-table__row { grid-template-columns: 1fr auto; gap: .35rem 1rem; }
  .rate-table__row--head { display: none; }
  .rate-table__row span:nth-child(2) { grid-column: 1 / -1; color: var(--muted); font-size: .88rem; }
  .rate-table__row span:last-child { grid-column: 2; grid-row: 1; }
}
