:root {
  --ink: #1f1712;
  --muted: #6e5a4a;
  --bg: #f6ebe0;
  --bg-deep: #ead7c4;
  --sun: #e85d04;
  --sun-deep: #c2410c;
  --sun-soft: #ff9f4a;
  --char: #2a211c;
  --white: #fff8f1;
  --line: rgba(31, 23, 18, 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: 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);
  background:
    radial-gradient(ellipse 55% 40% at 100% 0%, rgba(232, 93, 4, 0.16), transparent 55%),
    linear-gradient(180deg, #faf0e6 0%, var(--bg) 45%, var(--bg-deep) 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, dl { list-style: none; }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--sun); 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(--char); color: #fff; font-size: 0.82rem;
}
.demo-bar strong {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em;
  color: var(--sun-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(--sun); border-color: var(--sun); color: #fff; }

.site-header {
  position: sticky; top: var(--demo-h); z-index: 50;
  background: rgba(246, 235, 224, 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(--sun-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(--sun); 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--sun { background: var(--sun); 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; }

.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(31, 23, 18, 0.92) 0%, rgba(31, 23, 18, 0.5) 50%, rgba(232, 93, 4, 0.28) 100%);
}
.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; flex-wrap: wrap;
}
.hero__brand span {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--sun-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(--sun-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; } }

.section { padding: 4.5rem 0; }
.section--warm {
  background:
    linear-gradient(180deg, rgba(232, 93, 4, 0.08), transparent 40%),
    var(--bg-deep);
}
.section__head { margin-bottom: 2.25rem; max-width: 36rem; }
.section__head h2, .include-row 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; }
.eyebrow {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--sun-deep); margin-bottom: 0.5rem;
}

.strip-section { padding: 4.5rem 0 2rem; }
.fleet-strip {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0.5rem max(1.25rem, calc((100% - var(--max)) / 2)) 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--sun) transparent;
}
.fleet-strip:focus-visible { outline-offset: -2px; }
.bike-tile {
  flex: 0 0 min(82vw, 340px); scroll-snap-align: start;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.bike-tile--hot { border-color: var(--sun); box-shadow: 0 0 0 1px var(--sun); }
.bike-tile__photo { aspect-ratio: 5/3; overflow: hidden; }
.bike-tile__photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.bike-tile:hover .bike-tile__photo img { transform: scale(1.04); }
.bike-tile__meta { padding: 1.1rem 1.15rem 1.25rem; display: grid; gap: 0.55rem; }
.bike-tile__code {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em;
  color: var(--sun-deep); text-transform: uppercase;
}
.bike-tile h3 {
  font-family: var(--heading); font-size: 1.25rem; letter-spacing: -0.02em;
}
.spec-inline {
  display: flex; flex-wrap: wrap; gap: 0.45rem 0.85rem;
  padding: 0.55rem 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line);
}
.spec-inline div { display: flex; gap: 0.3rem; align-items: baseline; }
.spec-inline dt {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
}
.spec-inline dd { font-size: 0.88rem; font-weight: 600; }
.bike-tile__price {
  font-family: var(--heading); font-size: 1.45rem; font-weight: 700; color: var(--sun-deep);
}
.bike-tile__price span { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.strip-pick {
  justify-self: start; margin-top: 0.15rem;
  background: var(--ink); color: #fff; border: none;
  padding: 0.65rem 1rem; border-radius: var(--radius);
  font-weight: 700; cursor: pointer;
  transition: background 0.2s var(--ease);
}
.strip-pick:hover { background: var(--sun); }
.strip-hint {
  font-family: var(--mono); font-size: 0.72rem; color: var(--muted);
  letter-spacing: 0.04em; margin-top: 0.25rem;
}

.include-row {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: start;
}
.lede { color: var(--muted); margin-top: 0.75rem; max-width: 28rem; }
.include-list { display: grid; gap: 0.85rem; }
.include-list li {
  display: grid; grid-template-columns: 5.5rem 1fr; gap: 0.75rem;
  padding: 0.9rem 0; border-bottom: 1px solid var(--line); font-weight: 500;
}
.include-list span {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--sun-deep); font-weight: 500; padding-top: 0.15rem;
}

.depot-rail {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem;
}
.depot {
  display: grid; gap: 0.85rem;
}
.depot img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius);
}
.depot h3 { font-family: var(--heading); font-size: 1.2rem; margin-bottom: 0.25rem; }
.depot p { color: var(--muted); font-size: 0.95rem; }

.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-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.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);
}

.site-footer {
  background: var(--char); 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(--sun-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; }

@media (max-width: 900px) {
  .include-row, .depot-rail, .book-split, .footer__grid { grid-template-columns: 1fr; }
  .field-row { 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; }
}
