:root {
  --ink: #e8e4dc;
  --muted: #9aa3ad;
  --bg: #0f1419;
  --bg-soft: #161d26;
  --deep: #080b0e;
  --wing: #1a2330;
  --mint: #7eb8a2;
  --mint-soft: #a8d4c4;
  --gold: #c9b896;
  --line: rgba(232, 228, 220, 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 50% 40% at 70% 0%, rgba(126, 184, 162, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 30% at 10% 60%, rgba(201, 184, 150, 0.06), transparent 50%),
    linear-gradient(180deg, #121820 0%, var(--bg) 40%, var(--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 { list-style: none; }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--mint); 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: var(--deep); color: var(--ink); font-size: 0.82rem;
  border-bottom: 1px solid var(--line);
}
.demo-bar strong {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em;
  color: var(--mint); 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(232,228,220,0.25);
  border-radius: var(--radius); font-size: 0.78rem; font-weight: 500;
}
.demo-bar a.is-primary { background: var(--mint); border-color: var(--mint); color: var(--deep); }

.site-header {
  position: sticky; top: var(--demo-h); z-index: 50;
  background: rgba(15, 20, 25, 0.9); 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(--mint); 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 a:hover { color: var(--ink); }
.nav-cta {
  background: var(--mint); color: var(--deep) !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--moon { background: var(--mint); color: var(--deep); }
.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; }
.text-link { font-weight: 700; color: var(--mint-soft); }

.hero {
  position: relative; min-height: min(92dvh, 840px);
  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;
  filter: brightness(0.55) contrast(1.05);
  animation: ken 26s var(--ease) both;
}
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(160deg, rgba(8, 11, 14, 0.92) 0%, rgba(15, 20, 25, 0.55) 45%, rgba(26, 35, 48, 0.75) 100%),
    linear-gradient(0deg, rgba(8, 11, 14, 0.7), transparent 40%);
}
.hero__glow {
  position: absolute; width: 40vw; height: 40vw; max-width: 420px;
  right: 8%; top: 18%; border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 184, 162, 0.22), transparent 68%);
  animation: glow 8s ease-in-out infinite alternate;
  pointer-events: none; z-index: 1;
}
.hero__inner {
  position: relative; z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto; padding: 4.5rem 0 3.5rem;
  animation: rise 1s var(--ease) both;
}
.hero__brand {
  font-family: var(--heading); font-size: clamp(1.85rem, 4vw, 2.7rem);
  font-weight: 700; margin-bottom: 0.85rem;
}
.hero__brand span {
  display: inline-block; margin-left: 0.55rem;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; vertical-align: middle; color: var(--mint); font-weight: 500;
}
.hero h1 {
  font-family: var(--heading); font-size: clamp(2.15rem, 5.4vw, 3.5rem);
  line-height: 1.12; letter-spacing: -0.03em; font-weight: 700; max-width: 14ch;
  margin-bottom: 1rem;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__lead { max-width: 36ch; font-size: 1.05rem; color: rgba(232,228,220,0.85); margin-bottom: 1.5rem; }

.section { padding: 5rem 0; }
.section--hours {
  background: var(--wing);
  border-block: 1px solid var(--line);
}
.section--dock { padding-bottom: 6rem; }
.section__head { margin-bottom: 2.25rem; max-width: 36rem; }
.eyebrow {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--mint); margin-bottom: 0.65rem;
}
.section__head h2 {
  font-family: var(--heading); font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 0.55rem;
}
.section__head p { color: var(--muted); }

/* Quiet wing corridor — signature */
.corridor {
  position: relative;
  background: linear-gradient(180deg, #121a24 0%, var(--wing) 55%, #0e141c 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem 3rem;
  overflow: hidden;
  min-height: 320px;
}
.corridor::before {
  content: '';
  position: absolute; left: 8%; right: 8%; top: 18%;
  height: 1px; background: linear-gradient(90deg, transparent, rgba(201,184,150,0.35), transparent);
}
.corridor__floor {
  position: absolute; left: 5%; right: 5%; bottom: 0; height: 38%;
  background:
    linear-gradient(180deg, transparent, rgba(8,11,14,0.55)),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(232,228,220,0.04) 40px, rgba(232,228,220,0.04) 41px);
  perspective: 400px;
  transform: perspective(400px) rotateX(48deg);
  transform-origin: bottom center;
}
.doors {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  margin-top: 2.5rem;
}
.door {
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 200px; padding: 1.25rem 1rem;
  background: linear-gradient(180deg, #243041 0%, #1a2433 100%);
  border: 1px solid rgba(232,228,220,0.16);
  border-radius: 4px 4px 0 0;
  box-shadow: inset 0 0 0 1px rgba(126,184,162,0.05);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.door:hover, .door--active {
  transform: translateY(-8px);
  border-color: var(--mint);
  box-shadow: 0 0 24px rgba(126, 184, 162, 0.18);
}
.door__num {
  font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.12em;
  color: var(--gold); margin-bottom: auto;
}
.door__label {
  font-family: var(--heading); font-weight: 700; font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.door__hint {
  font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}

/* Soft hours timeline */
.soft-hours {
  position: relative;
  display: grid; gap: 0;
  padding-left: 1.5rem;
}
.soft-hours::before {
  content: '';
  position: absolute; left: 0.35rem; top: 0.5rem; bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--mint), rgba(201,184,150,0.4), transparent);
}
.soft-hours li {
  position: relative;
  display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.25rem;
  padding: 1.35rem 0 1.35rem 1rem;
  border-bottom: 1px solid var(--line);
}
.soft-hours li::before {
  content: '';
  position: absolute; left: -1.28rem; top: 1.7rem;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--mint); box-shadow: 0 0 0 4px rgba(126,184,162,0.15);
}
.soft-hours time {
  font-family: var(--mono); font-size: 0.95rem; color: var(--gold);
  letter-spacing: 0.04em; padding-top: 0.15rem;
}
.soft-hours h3 {
  font-family: var(--heading); font-size: 1.25rem; margin-bottom: 0.35rem;
}
.soft-hours p { color: var(--muted); max-width: 46ch; margin-bottom: 0.55rem; }

.watch-grid {
  display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 1.25rem; align-items: stretch;
}
.watch-photo {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg-soft);
}
.watch-photo img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  filter: brightness(0.78) saturate(0.85);
}
.watch-photo figcaption {
  padding: 1.1rem 1.15rem 1.25rem;
}
.watch-photo .mono { color: var(--mint); display: block; margin-bottom: 0.3rem; }
.watch-photo strong { display: block; font-family: var(--heading); font-size: 1.15rem; margin-bottom: 0.25rem; }
.watch-photo p { color: var(--muted); font-size: 0.92rem; }
.watch-note {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.watch-note h3 { font-family: var(--heading); font-size: 1.35rem; }
.watch-note ul { display: grid; gap: 0.55rem; color: var(--muted); font-size: 0.95rem; }
.watch-note li { padding-left: 1rem; position: relative; }
.watch-note li::before {
  content: ''; position: absolute; left: 0; top: 0.55rem;
  width: 5px; height: 5px; border-radius: 50%; background: var(--mint);
}
.watch-note img {
  margin-top: auto; border-radius: var(--radius); aspect-ratio: 16/10; object-fit: cover;
  filter: brightness(0.72) saturate(0.8);
}


.dock {
  width: min(100% - 2.5rem, 920px);
  margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  background: var(--wing); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px); padding: 2rem;
}
.dock__head .contact-ids { margin-top: 1rem; color: var(--muted); }
.dock-form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 0.75rem 0.9rem; background: var(--deep); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--mint); outline-offset: 1px; border-color: transparent;
}
.field option { background: var(--deep); }

.site-footer {
  background: var(--deep); color: var(--ink); 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 small { color: var(--mint); }
.footer__lede { color: var(--muted); margin-top: 0.6rem; max-width: 28ch; }
.site-footer h4 {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem;
}
.site-footer a { display: block; color: rgba(232,228,220,0.75); margin-bottom: 0.4rem; font-size: 0.92rem; }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  padding-top: 1.25rem; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em;
  color: rgba(232,228,220,0.45);
}

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

@keyframes ken {
  from { transform: scale(1.07); }
  to { transform: scale(1); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes glow {
  from { opacity: 0.55; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1.08); }
}

@media (max-width: 900px) {
  .doors, .watch-grid, .dock, .footer__grid { grid-template-columns: 1fr 1fr; }
  .watch-grid,   .dock { grid-template-columns: 1fr; }
  .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-cta { text-align: center; }
}

@media (max-width: 640px) {
  .doors { grid-template-columns: 1fr 1fr; }
  .soft-hours li { grid-template-columns: 1fr; gap: 0.35rem; }
  .footer__grid { grid-template-columns: 1fr; }
}
