:root {
  --ink: #3a1f2a;
  --muted: #8a5a6a;
  --bg: #f7e8ec;
  --bg-soft: #efd4dc;
  --paper: #fff5f8;
  --line: rgba(58, 31, 42, 0.14);
  --accent: #c73e6e;
  --accent-deep: #9a2854;
  --blush: #e8a0b4;
  --on-accent: #fff7fa;
  --font: 'Anuphan', sans-serif;
  --heading: 'Prompt', 'Anuphan', sans-serif;
  --mono: 'IBM Plex Mono', 'Anuphan', monospace;
  --max: 1040px;
  --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 55% 40% at 0% 15%, rgba(232, 160, 180, 0.35), transparent 55%),
    radial-gradient(ellipse 40% 30% at 100% 55%, rgba(199, 62, 110, 0.12), transparent 50%),
    repeating-linear-gradient(90deg, transparent, transparent 47px, rgba(58, 31, 42, 0.03) 47px, rgba(58, 31, 42, 0.03) 48px),
    var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; font-size: 16px; }
ul { 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: 0.55rem 1.25rem;
  background: #2a1420; color: #fff; font-size: 0.82rem;
}
.demo-bar strong {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em;
  color: var(--blush); 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(--accent); border-color: var(--accent); color: var(--on-accent); }

.site-header {
  position: sticky; top: var(--demo-h); z-index: 50;
  background: rgba(247, 232, 236, 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(--accent-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(--accent); color: var(--on-accent) !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--primary { background: var(--accent); color: var(--on-accent); }
.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 24s var(--ease) both;
}
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(118deg, rgba(42, 20, 32, 0.92) 0%, rgba(58, 31, 42, 0.55) 48%, rgba(42, 20, 32, 0.22) 100%);
}
.hero__fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.swirl {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(232, 160, 180, 0.4), transparent 70%);
  filter: blur(4px); animation: drift 16s ease-in-out infinite;
}
.swirl--1 { width: 180px; height: 180px; top: 16%; right: 12%; }
.swirl--2 { width: 120px; height: 120px; bottom: 30%; left: 20%; animation-delay: -6s; }
.bottle-glint {
  position: absolute; left: 8%; bottom: 12%; width: 2px; height: 40%;
  background: linear-gradient(to top, transparent, rgba(232, 160, 180, 0.7), transparent);
  opacity: 0.65;
}
@keyframes drift {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
  50% { transform: translateY(-16px) scale(1.06); opacity: 0.85; }
}
@keyframes ken {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero__inner {
  position: relative; z-index: 2;
  width: min(100% - 2.5rem, var(--max)); margin: 0 auto;
  padding: 4.5rem 0 3.75rem; max-width: 38rem;
}
.hero__brand {
  font-family: var(--heading); font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  font-weight: 700; letter-spacing: -0.03em; margin-bottom: 0.85rem; line-height: 1.15;
}
.hero__brand span {
  display: block; font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  opacity: 0.85; margin-top: 0.35rem;
}
.hero h1 {
  font-family: var(--heading); font-size: clamp(1.75rem, 4vw, 2.45rem);
  font-weight: 600; line-height: 1.25; margin-bottom: 1rem; letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: var(--blush); }
.hero__lead { font-size: 1.05rem; opacity: 0.92; margin-bottom: 1.5rem; max-width: 32rem; }

.section { padding: 4.5rem 0; }
.eyebrow {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.65rem; font-weight: 500;
}
.eyebrow.light { color: var(--blush); }
.section h2 {
  font-family: var(--heading); font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 0.65rem;
}
.section__head, .rail-head { margin-bottom: 1.75rem; max-width: 36rem; }
.rail-head p:last-child { color: var(--muted); }

.rail-scroll {
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.rail-scroll:focus-visible { outline-offset: -2px; }
.rail {
  display: flex; gap: 1.1rem;
  width: max-content;
  padding-inline: max(1.25rem, calc((100vw - var(--max)) / 2));
  min-height: 320px;
  align-items: flex-end;
  border-bottom: 3px solid var(--ink);
  position: relative;
}
.rail::before {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -3px; height: 10px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 28px, transparent 28px 40px);
  opacity: 0.35; pointer-events: none;
}

.bottle {
  flex: 0 0 168px;
  scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center;
  gap: 0.65rem; padding: 0.5rem 0.35rem 0.85rem;
  transition: transform 0.25s var(--ease);
  position: relative;
}
.bottle:hover { transform: translateY(-10px); }
.bottle__cap {
  width: 36px; height: 22px; border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #5a3040, #3a1f2a);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}
.bottle__glass {
  width: 52px; height: 88px; border-radius: 6px 6px 10px 10px;
  border: 1.5px solid rgba(58, 31, 42, 0.25);
  background: rgba(255,255,255,0.35);
  position: relative; overflow: hidden;
  box-shadow: 0 8px 20px rgba(58, 31, 42, 0.12);
}
.bottle__fill {
  position: absolute; left: 0; right: 0; bottom: 0; height: 72%;
  background: linear-gradient(180deg, color-mix(in srgb, var(--lacquer) 70%, white), var(--lacquer));
}
.bottle__shine {
  position: absolute; top: 8%; left: 18%; width: 8px; height: 55%;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(255,255,255,0.75), transparent);
}
.bottle img {
  width: 140px; height: 100px; object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.bottle__meta {
  text-align: center; display: flex; flex-direction: column; gap: 0.15rem;
}
.bottle__meta strong {
  font-family: var(--heading); font-size: 0.98rem; font-weight: 700;
}
.bottle__meta small {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.bottle__meta em {
  font-style: normal; font-weight: 700; color: var(--accent-deep); font-size: 0.92rem;
}
.rail-hint {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); text-align: center; margin-top: 0.25rem;
}

.section--shade {
  background: linear-gradient(180deg, transparent, rgba(255, 245, 248, 0.8));
}
.shade {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center;
}
.shade__copy p { color: var(--muted); margin-bottom: 1.25rem; }
.ticks { display: flex; flex-direction: column; gap: 0.55rem; }
.ticks li {
  padding-left: 1.35rem; position: relative; font-weight: 500;
}
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 0.55rem;
  width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--accent);
}
.shade__strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem;
  padding: 1.25rem; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius);
}
.shade__strip span {
  aspect-ratio: 1; border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(58, 31, 42, 0.08);
}
.shade__strip p {
  grid-column: 1 / -1;
  font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-top: 0.35rem;
}

.section--contact {
  background: linear-gradient(160deg, #2a1420 0%, #4a2035 100%);
  color: #fff5f8;
}
.section--contact h2 { color: #fff; }
.section--contact p { color: rgba(255,245,248,0.78); }
.contact {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 2.5rem; align-items: start;
}
.form {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blush);
}
.field input, .field select, .field textarea {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; border-radius: 6px; padding: 0.75rem 0.85rem;
}
.field select option { color: var(--ink); }

.site-footer {
  background: #1e1018; color: rgba(255,245,248,0.7); padding: 1.5rem 0;
}
/* Voice strip — soft quotes */
.voice-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.voice-strip__item {
  margin: 0;
  padding: 1.55rem 1.4rem 1.45rem 1.5rem;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid var(--accent, var(--gold, var(--blush, var(--coral, var(--teal, var(--cyan, var(--line)))))));
  background: transparent;
}
.voice-strip__item:nth-child(even) {
  border-left-color: color-mix(in srgb, var(--accent, var(--gold, var(--blush, var(--line)))) 55%, transparent);
}
.voice-strip__item p {
  font-family: var(--heading, var(--brand, var(--display, inherit)));
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.45;
  margin: 0 0 0.85rem;
  color: var(--ink);
  font-weight: 500;
}
.voice-strip__item cite {
  display: block;
  font-style: normal;
  font-size: 0.88rem;
  color: var(--muted);
}
@media (max-width: 720px) {
  .voice-strip { grid-template-columns: 1fr; }
  .voice-strip__item { padding-inline: 0 0.25rem; border-left-width: 2px; padding-left: 1.1rem; }
}

.footer {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.footer .brand { color: #fff; font-size: 1.1rem; }
.footer .brand small { color: var(--blush); }
.footer span { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }

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



@media (max-width: 860px) {
 .shade, .contact,   .field-row { grid-template-columns: 1fr; }
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 100%; right: 0; left: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--radius); min-width: 200px; padding: 0.5rem;
    box-shadow: 0 12px 32px rgba(58, 31, 42, 0.12);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.7rem 0.85rem; color: var(--ink); }
  .nav-cta { text-align: center; }
}
