:root {
  --ink: #e8ecef;
  --muted: #8b95a1;
  --bg: #0d1116;
  --bg-soft: #141a22;
  --panel: #1a222c;
  --lime: #b8f23a;
  --lime-deep: #8fc41f;
  --amber: #f0a202;
  --line: rgba(232, 236, 239, 0.12);
  --font: 'Anuphan', sans-serif;
  --heading: 'Prompt', 'Anuphan', sans-serif;
  --mono: 'IBM Plex Mono', 'Anuphan', monospace;
  --max: 1120px;
  --demo-h: 48px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 4px;
}

*, *::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 50% 35% at 80% 0%, rgba(184, 242, 58, 0.08), transparent 50%),
    radial-gradient(ellipse 40% 30% at 0% 60%, rgba(240, 162, 2, 0.06), transparent 45%),
    var(--bg);
  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; color: inherit; }
ul, ol { list-style: none; }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--lime); 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: #07090c; color: #fff; font-size: 0.82rem;
}
.demo-bar strong {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em;
  color: var(--lime); 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(--lime); border-color: var(--lime); color: #0d1116; }

.site-header {
  position: sticky; top: var(--demo-h); z-index: 50;
  background: rgba(13, 17, 22, 0.92); 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(--lime); 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(--lime); color: #0d1116 !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--lime { background: var(--lime); color: #0d1116; }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,0.4); 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(120deg, rgba(7, 9, 12, 0.94) 0%, rgba(13, 17, 22, 0.7) 50%, rgba(13, 17, 22, 0.35) 100%),
    linear-gradient(0deg, rgba(13, 17, 22, 0.85) 0%, transparent 40%);
}
.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(--lime);
}
.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(--lime);
  font-size: 0.72em; margin-top: 0.25rem;
}
.hero__lead { color: rgba(255,255,255,0.86); 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--panel { background: var(--bg-soft); }
.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; }
.eyebrow {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--lime-deep); margin-bottom: 0.5rem;
}
.eyebrow.light { color: var(--lime); }

.lane-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(184, 242, 58, 0.12) calc(25% - 1px), rgba(184, 242, 58, 0.12) 25%, transparent 25%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  position: relative;
}
.lane-board::before {
  content: 'YARD LIVE';
  position: absolute; top: -0.65rem; left: 1rem;
  font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.14em;
  background: var(--bg); color: var(--lime); padding: 0 0.5rem;
}

.lane-slot {
  background: rgba(7, 9, 12, 0.55);
  border: 1px solid var(--line);
  border-top: 3px solid var(--lime);
  border-radius: var(--radius);
  padding: 1.1rem;
  display: flex; flex-direction: column; gap: 0.45rem;
  min-height: 260px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.lane-slot:hover { transform: translateY(-3px); border-color: rgba(184, 242, 58, 0.35); }
.lane-slot--road { border-top-color: var(--amber); }
.lane-slot header {
  display: flex; justify-content: space-between; align-items: center; gap: 0.5rem;
}
.lane-slot__id {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--lime);
}
.lane-slot--road .lane-slot__id { color: var(--amber); }
.status {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 0.2rem 0.45rem; border-radius: 2px;
}
.status--open { background: rgba(184, 242, 58, 0.18); color: var(--lime); }
.status--hold { background: rgba(240, 162, 2, 0.18); color: var(--amber); }
.status--night { background: rgba(126, 182, 255, 0.15); color: #7eb6ff; }
.lane-slot h3 {
  font-family: var(--heading); font-size: 1.1rem; letter-spacing: -0.01em; line-height: 1.3;
}
.lane-slot > p { color: var(--muted); font-size: 0.9rem; }
.lane-slot__meta {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; margin-bottom: 0.5rem;
}
.lane-slot__meta li {
  font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.04em;
  color: var(--muted); border: 1px solid var(--line); padding: 0.2rem 0.45rem;
}
.slot-btn {
  width: 100%; padding: 0.7rem;
  background: transparent; border: 1px solid rgba(184, 242, 58, 0.45);
  color: var(--lime); font-weight: 700; cursor: pointer; border-radius: var(--radius);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.slot-btn:hover { background: var(--lime); color: #0d1116; }
.lane-slot--road .slot-btn {
  border-color: rgba(240, 162, 2, 0.5); color: var(--amber);
}
.lane-slot--road .slot-btn:hover { background: var(--amber); color: #0d1116; }

.windows {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem;
}
.window {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem 1.1rem;
}
.window--hot {
  background: linear-gradient(160deg, rgba(184, 242, 58, 0.12), rgba(26, 34, 44, 0.9));
  border-color: rgba(184, 242, 58, 0.35);
}
.window__time {
  font-family: var(--mono); font-size: 0.72rem; color: var(--lime);
  display: block; margin-bottom: 0.55rem; letter-spacing: 0.04em;
}
.window h3 { font-family: var(--heading); font-size: 1.15rem; margin-bottom: 0.35rem; }
.window p { color: var(--muted); font-size: 0.92rem; }

.fleet-split {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: center;
}
.lede { color: var(--muted); 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.5rem; height: 0.5rem; background: var(--lime);
}
.fleet-photos {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 0.75rem;
}
.fleet-photos img {
  width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius);
  border: 1px solid var(--line); min-height: 180px;
}
.fleet-photos img:first-child { grid-row: span 1; aspect-ratio: 4/3; }
.fleet-photos img:last-child { aspect-ratio: 3/4; }


.booking-dock {
  padding: 0 0 4.5rem;
}
.dock {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 -20px 60px rgba(0,0,0,0.35);
}
.dock__info { padding: 2rem 1.75rem; }
.dock__info h2 {
  font-family: var(--heading); font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin: 0.35rem 0 0.75rem; letter-spacing: -0.02em;
}
.dock__info > p { color: var(--muted); }
.contact-ids { margin: 1rem 0 1.25rem; color: var(--muted); }
.dock__photo {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
}
.dock__photo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.dock-form {
  background: #0a0e13;
  border-left: 1px solid var(--line);
  padding: 2rem 1.75rem;
  display: grid; gap: 0.85rem;
}
.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: var(--bg-soft); color: var(--ink);
}
.field textarea { resize: vertical; min-height: 64px; }
.field input[type="date"] { color-scheme: dark; }

.site-footer {
  background: #07090c; color: var(--muted); padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--line);
}
/* Voice slips — ticket / docket */
.voice-slips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.voice-slip {
  margin: 0;
  padding: 1.15rem 1.05rem 1rem;
  border: 1px dashed var(--line);
  background: var(--slip-bg, var(--bg-soft, var(--paper, var(--panel, var(--dust, transparent)))));
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 0;
}
.voice-slip:nth-child(2n) { transform: rotate(0.45deg); }
.voice-slip:nth-child(2n+1) { transform: rotate(-0.4deg); }
.voice-slip__no {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.voice-slip p {
  font-family: var(--heading, var(--display, inherit));
  font-size: 1.05rem;
  line-height: 1.45;
  margin: 0;
  flex: 1;
}
.voice-slip figcaption {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0;
  margin-top: auto;
}
@media (max-width: 900px) {
  .voice-slips {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.4rem;
    -webkit-overflow-scrolling: touch;
  }
  .voice-slip {
    flex: 0 0 min(78vw, 16.5rem);
    scroll-snap-align: start;
    transform: none;
  }
}

.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(--lime); }
.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: var(--muted); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-top: 1.25rem; border-top: 1px solid var(--line);
  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; }

@media (max-width: 1000px) {
  .lane-board, .windows { grid-template-columns: 1fr 1fr; }
  .fleet-split, .dock, .footer__grid { grid-template-columns: 1fr; }
  .dock-form { border-left: none; border-top: 1px solid var(--line); }
  .fleet-photos { grid-template-columns: 1fr 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; }
  .lane-board, .windows, .field-row { grid-template-columns: 1fr; }
}
