@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500&family=Nunito:wght@600;700;800&display=swap');

:root {
  --cocoa: #3b2a1e;
  --cocoa-soft: #5c4333;
  --cream: #fff6ee;
  --cream-deep: #f7e6d4;
  --coral: #f0a05a;
  --coral-deep: #e0893a;
  --peach: #ffd8b8;
  --peach-soft: #ffe8d4;
  --white: #ffffff;
  --line: rgba(59, 42, 30, 0.12);
  /* Anuphan = Thai UI/headings · Nunito = Latin brand/playful labels only */
  --font: 'Anuphan', 'Helvetica Neue', sans-serif;
  --heading: 'Anuphan', 'Helvetica Neue', sans-serif;
  --display: 'Nunito', 'Anuphan', sans-serif;
  --mono: 'IBM Plex Mono', 'Anuphan', monospace;
  --max: 1100px;
  --nav-h: 74px;
  --demo-h: 48px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 28px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--cocoa);
  background: var(--cream);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Demo bar */
.demo-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 1.25rem;
  background: var(--cocoa);
  color: var(--cream);
  font-size: 0.82rem;
}

.demo-bar strong {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--peach);
}

.demo-bar__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.demo-bar a {
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 246, 238, 0.28);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  transition: background 0.2s var(--ease), border-color 0.2s;
}

.demo-bar a:hover {
  background: rgba(255, 246, 238, 0.1);
  border-color: rgba(255, 246, 238, 0.5);
}

.demo-bar a.is-primary {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--cocoa);
}

.demo-bar a.is-primary:hover {
  background: var(--coral-deep);
  border-color: var(--coral-deep);
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--nav-h);
}

.site-header.is-solid {
  position: fixed;
  top: var(--demo-h);
  background: rgba(255, 246, 238, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  animation: drop 0.35s var(--ease);
}

.site-header.is-solid .brand,
.site-header.is-solid .nav a,
.site-header.is-solid .menu-toggle {
  color: var(--cocoa);
}

.site-header.is-solid .nav-cta {
  background: var(--coral);
  color: var(--cocoa);
  border-color: var(--coral);
}

@keyframes drop {
  from {
    transform: translateY(-8px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.brand span {
  color: var(--coral);
}

.site-header.is-solid .brand span {
  color: var(--coral-deep);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 246, 238, 0.4);
  color: var(--cream);
  padding: 0.4rem 0.85rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: 999px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav a {
  color: rgba(255, 246, 238, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--white);
}

.nav-cta {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: var(--coral);
  color: var(--cocoa) !important;
  font-weight: 700;
  border: 1px solid var(--coral);
}

/* Hero — playful full-bleed */
.hero {
  position: relative;
  min-height: calc(100vh - var(--demo-h));
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 2rem) 0 4.5rem;
  color: var(--cream);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroZoom 16s var(--ease) forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(59, 42, 30, 0.78) 0%, rgba(59, 42, 30, 0.35) 50%, rgba(59, 42, 30, 0.2) 100%),
    linear-gradient(0deg, rgba(59, 42, 30, 0.65) 0%, transparent 50%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  max-width: 38rem;
}

.hero__tag {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--peach);
  margin-bottom: 0.85rem;
}

.brand-mark {
  font-family: var(--display);
  font-size: clamp(3.2rem, 10vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 1rem;
  text-shadow: 0 8px 40px rgba(59, 42, 30, 0.35);
}

.hero__lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 246, 238, 0.92);
  margin-bottom: 1.75rem;
  max-width: 32rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-3px) rotate(-0.5deg);
}

.btn--coral {
  background: var(--coral);
  color: var(--cocoa);
  border-color: var(--coral);
}

.btn--coral:hover {
  background: var(--coral-deep);
  border-color: var(--coral-deep);
}

.btn--cream {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255, 246, 238, 0.55);
}

.btn--cream:hover {
  background: rgba(255, 246, 238, 0.12);
  border-color: var(--cream);
}

/* Ticker */
.ticker {
  background: var(--coral);
  color: var(--cocoa);
  overflow: hidden;
  padding: 0.7rem 0;
  border-block: 3px solid var(--cocoa);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.ticker__track span {
  padding-right: 2rem;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section__head {
  max-width: 34rem;
  margin-bottom: 2.5rem;
}

.eyebrow {
  font-family: var(--display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--coral-deep);
  margin-bottom: 0.5rem;
}

.section__head h2,
.gallery-head h2,
.book-info h2 {
  font-family: var(--heading);
  font-size: clamp(1.85rem, 3.8vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.65rem;
  text-wrap: balance;
}

.section__head p,
.gallery-head p {
  color: var(--cocoa-soft);
}

/* Program fun blocks */
.program-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.program {
  position: relative;
  padding: 1.75rem 1.5rem 1.85rem;
  border: 3px solid var(--cocoa);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease);
}

.program:hover {
  transform: translateY(-6px) rotate(-0.6deg);
}

.program--sunrise {
  background: var(--peach-soft);
}

.program--full {
  background: var(--coral);
  color: var(--cocoa);
}

.program--overnight {
  background: var(--cocoa);
  color: var(--cream);
  border-color: var(--cocoa);
}

.program--overnight .program__badge {
  background: var(--coral);
  color: var(--cocoa);
}

.program--overnight ul {
  color: rgba(255, 246, 238, 0.85);
}

.program__badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.65rem;
  background: var(--cocoa);
  color: var(--cream);
  border-radius: 999px;
  margin-bottom: 1rem;
}

.program h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.program__time {
  font-family: var(--mono);
  font-size: 0.78rem;
  margin-bottom: 0.85rem;
  opacity: 0.8;
}

.program > p:not(.program__time) {
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
  line-height: 1.6;
}

.program ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.program ul li::before {
  content: '• ';
  font-weight: 700;
}

.program--overnight ul li::before,
.program--full ul li::before {
  content: '• ';
}

/* Grooming */
.groom-section {
  background:
    radial-gradient(ellipse at 20% 0%, var(--peach-soft) 0%, transparent 50%),
    var(--cream-deep);
  border-block: 1px solid var(--line);
}

.groom-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}

.groom-visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--cocoa);
  min-height: 320px;
}

.groom-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.groom-packages {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.package {
  padding: 1.35rem 1.4rem;
  background: var(--cream);
  border: 2px dashed var(--cocoa-soft);
  border-radius: 22px;
  transition: border-style 0.2s, transform 0.2s var(--ease);
}

.package:hover {
  border-style: solid;
  transform: translateX(4px);
}

.package--featured {
  background: var(--peach);
  border-style: solid;
  border-width: 3px;
  border-color: var(--cocoa);
}

.package__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.package h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
}

.package__price {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--cocoa-soft);
  white-space: nowrap;
}

.package p {
  color: var(--cocoa-soft);
  font-size: 0.94rem;
}

/* Gallery strip */
.gallery-section {
  padding: 5rem 0 0;
  overflow: hidden;
}

.gallery-head {
  margin-bottom: 2rem;
}

.gallery-strip {
  display: flex;
  gap: 1rem;
  padding: 0 1.25rem 5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery-item {
  flex: 0 0 min(72vw, 380px);
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--cocoa);
  transform: rotate(-1.2deg);
  transition: transform 0.35s var(--ease);
}

.gallery-item:nth-child(even) {
  transform: rotate(1.4deg);
}

.gallery-item:hover {
  transform: rotate(0deg) scale(1.02);
  z-index: 1;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Booking */
.book-section {
  padding: 5.5rem 0 6rem;
  background:
    linear-gradient(160deg, var(--cocoa) 0%, #2a1d14 100%);
  color: var(--cream);
}

.book-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.book-info .eyebrow {
  color: var(--peach);
}

.book-info > p {
  color: rgba(255, 246, 238, 0.75);
  margin-bottom: 1.75rem;
}

.book-facts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.book-facts li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 246, 238, 0.15);
}

.book-facts span {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--peach);
}

.book-facts strong {
  font-weight: 600;
}

.book-form {
  background: var(--cream);
  color: var(--cocoa);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 3px solid var(--coral);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-row .field {
  margin-bottom: 0;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  padding: 0.8rem 0.9rem;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--cocoa);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(240, 160, 90, 0.25);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.book-form .btn {
  width: 100%;
  margin-top: 0.25rem;
}

/* Footer */
.site-footer {
  background: #2a1d14;
  color: rgba(255, 246, 238, 0.8);
  padding: 3.5rem 0 1.75rem;
}

/* 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(--coral);
  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__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer .brand {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--cream);
}

.footer__grid p {
  font-size: 0.92rem;
  max-width: 28rem;
  color: rgba(255, 246, 238, 0.65);
}

.footer__grid h4 {
  font-family: var(--heading);
  font-size: 1rem;
  color: var(--peach);
  margin-bottom: 0.85rem;
  font-weight: 700;
}

.footer__grid a {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
  color: rgba(255, 246, 238, 0.75);
  transition: color 0.2s;
}

.footer__grid a:hover {
  color: var(--cream);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 246, 238, 0.12);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: rgba(255, 246, 238, 0.45);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Responsive */


@media (max-width: 960px) {
  .program-blocks,
  .groom-layout,
  .book-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .groom-visual {
    min-height: 260px;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cocoa);
    padding: 0.75rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(255, 246, 238, 0.1);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 246, 238, 0.08);
  }

  .nav-cta {
    margin-top: 0.65rem;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: calc(100svh - var(--demo-h));
    padding-bottom: 3.5rem;
  }

  .brand-mark {
    font-size: clamp(2.6rem, 14vw, 3.6rem);
  }

  .demo-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-item {
    flex-basis: min(85vw, 320px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__media img {
    transform: none;
  }

  .ticker__track {
    animation: none;
  }

  .gallery-item,
  .gallery-item:nth-child(even) {
    transform: none;
  }
}

@media (max-width: 960px) {
  }
