/* =========================================================
   MY.Thaidance — styles
   Bright Thai luxury: warm ivory and cream grounds, champagne
   gold for ornament and emphasis, deep burgundy as the single
   cultural accent, dark brown for text.
   ========================================================= */

:root {
  /* Gold */
  --gold: #C9A85A;               /* champagne gold: lines, icons, fills */
  --gold-soft: #D8BC72;
  --gold-light: #E8D39A;
  --gold-text: #94722E;          /* champagne gold deep enough for small text on cream */
  --yellow: #D6A928;             /* tiny highlights only */

  /* Grounds */
  --ivory: #FFF9EA;
  --cream: #F6EBD2;
  --champagne: #F2E3C3;
  --gold-wash: #FBF1D9;
  --paper: #FFFDF6;

  /* Accent */
  --red: #8B1E1E;
  --burgundy: #701717;

  /* Text */
  --brown: #3A2A1A;
  --soft-black: #1E1A16;
  --text: #3A2A1A;
  --text-muted: #6E5B43;
  --on-burgundy: #FFF9EA;
  --footer: #3A2118;

  /* Lines and shadows */
  --line-gold: rgba(201, 168, 90, .55);
  --line-gold-soft: rgba(201, 168, 90, .3);
  --shadow-soft: 0 18px 40px -28px rgba(112, 23, 23, .28);
  --shadow-gold: 0 22px 44px -26px rgba(201, 168, 90, .75);

  /* Soft champagne gold surface for buttons */
  --gold-fill: linear-gradient(135deg, #E8D39A 0%, #D8BC72 45%, #C9A85A 100%);

  /* Type */
  --f-display: "Cormorant Garamond", "Noto Serif Thai", Georgia, "Times New Roman", serif;
  --f-label: "Cinzel", "Cormorant Garamond", "Noto Serif Thai", Georgia, serif;
  --f-body: "Montserrat", "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --header-h: 78px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --section-y: clamp(76px, 10vw, 136px);
  --radius: 6px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --slow: 1.1s;

  /* Ornament assets */
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23C9A85A' stroke-opacity='.3' stroke-width='.8'%3E%3Cg id='m'%3E%3Cpath d='M36 24c3 3.5 3 6 0 8.5-3-2.5-3-5 0-8.5zM36 48c3-3.5 3-6 0-8.5-3 2.5-3 5 0 8.5zM24 36c3.5-3 6-3 8.5 0-2.5 3-5 3-8.5 0zM48 36c-3.5-3-6-3-8.5 0 2.5 3 5 3 8.5 0zM36 34l2 2-2 2-2-2z'/%3E%3C/g%3E%3Cuse href='%23m' x='-36' y='-36'/%3E%3Cuse href='%23m' x='36' y='-36'/%3E%3Cuse href='%23m' x='-36' y='36'/%3E%3Cuse href='%23m' x='36' y='36'/%3E%3C/g%3E%3C/svg%3E");
  --view-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Ccircle cx='28' cy='28' r='27' fill='rgba(255,249,234,.9)' stroke='%23C9A85A'/%3E%3Cpath d='M15 28s4.8-7.5 13-7.5S41 28 41 28s-4.8 7.5-13 7.5S15 28 15 28z' fill='none' stroke='%2394722E' stroke-width='1.4'/%3E%3Ccircle cx='28' cy='28' r='3.2' fill='%23701717'/%3E%3C/svg%3E");

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: clamp(.97rem, .94rem + .15vw, 1.02rem);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }

/* Paint the phone's top safe-area band */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--ivory);
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:lang(th) { line-height: 1.8; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: .7rem 1rem;
  background: var(--gold);
  color: var(--brown);
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
.wrap-wide { max-width: 1440px; }

.section { padding-block: var(--section-y); }

/* ---------- Typography ---------- */
.h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2.15rem, 1.5rem + 2.7vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.005em;
  margin: 0;
  color: var(--burgundy);
  text-wrap: balance;
}

.eyebrow {
  margin: 0 0 1rem;
  font-family: var(--f-label);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow [lang="th"] { font-family: var(--f-body); letter-spacing: .04em; font-size: .95em; font-weight: 500; }
.eyebrow-light { color: var(--gold-text); }

.lead {
  font-size: clamp(1.04rem, 1rem + .3vw, 1.16rem);
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 60ch;
}

h3 { font-family: var(--f-display); font-weight: 500; }

.gold { color: var(--gold); }

.ico { width: 1.15em; height: 1.15em; flex: none; }

/* Ornament divider: hairline — Thai flourish — hairline */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 1.4rem auto;
  color: var(--gold);
}
.ornament::before,
.ornament::after {
  content: "";
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
  transform-origin: right center;
  transition: transform 1.4s var(--ease) .3s;
}
.ornament::after { background: linear-gradient(270deg, transparent, currentColor); transform-origin: left center; }
.ornament svg { width: 112px; height: 17px; flex: none; }
.ornament-left { justify-content: flex-start; }
.ornament-left::before { display: none; }
.ornament-left::after { width: 80px; }
.ornament-light { color: var(--gold-light); }

/* Gold lines draw in when their section reveals */
.will-reveal .ornament::before,
.will-reveal .ornament::after { transform: scaleX(0); }
.will-reveal.is-visible .ornament::before,
.will-reveal.is-visible .ornament::after { transform: scaleX(1); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 64px);
}
.section-head .lead { margin: 0 auto; }

.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 15px; height: 15px; }
.stars-lg svg { width: 28px; height: 28px; }

/* Corner ornaments */
.corners { position: absolute; inset: 0; pointer-events: none; }
.corner {
  position: absolute;
  width: clamp(40px, 6vw, 72px);
  height: clamp(40px, 6vw, 72px);
  color: var(--gold);
}
.corner.tl { top: -1px; left: -1px; }
.corner.tr { top: -1px; right: -1px; transform: scaleX(-1); }
.corner.bl { bottom: -1px; left: -1px; transform: scaleY(-1); }
.corner.br { bottom: -1px; right: -1px; transform: scale(-1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  padding: .85rem 1.55rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--f-body);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease), filter .5s var(--ease);
}
.btn-sm { min-height: 42px; padding: .6rem 1.15rem; font-size: .7rem; }
.btn-lg { min-height: 56px; padding: 1rem 1.95rem; }
.btn-block { width: 100%; }

/* Primary: champagne gold */
.btn-gold {
  background: var(--gold-fill);
  color: var(--brown);
  border-color: var(--gold-light);
  box-shadow: 0 10px 24px -14px rgba(201, 168, 90, .9), inset 0 1px 0 rgba(255, 253, 246, .6);
}
.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 253, 246, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 1.1s var(--ease);
}
.btn-gold:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -14px rgba(201, 168, 90, .95), inset 0 1px 0 rgba(255, 253, 246, .6);
}
.btn-gold:hover::after { transform: translateX(120%); }

/* Secondary: cream with gold border */
.btn-outline-light {
  background: rgba(255, 249, 234, .6);
  color: var(--brown);
  border-color: var(--gold);
}
.btn-outline-light:hover {
  background: var(--ivory);
  border-color: var(--gold-text);
  color: var(--burgundy);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -16px rgba(201, 168, 90, .8);
}

/* Burgundy (form submit) */
.btn-burgundy {
  background: var(--burgundy);
  color: var(--ivory);
  border-color: var(--burgundy);
}
.btn-burgundy:hover {
  background: var(--gold-fill);
  border-color: var(--gold);
  color: var(--brown);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Text button on cards */
.btn-line {
  min-height: 44px;
  padding: .6rem 0;
  color: var(--gold-text);
  border-width: 0 0 1px;
  border-color: var(--line-gold);
  border-radius: 0;
}
.btn-line .ico { transition: transform .5s var(--ease); }
.btn-line:hover { color: var(--burgundy); border-color: var(--burgundy); }
.btn-line:hover .ico { transform: translateX(5px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row-center { justify-content: center; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .25rem 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line-gold);
  color: var(--burgundy);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .5s var(--ease), gap .5s var(--ease), color .5s;
}
.text-link:hover { border-color: var(--gold); gap: .8rem; color: var(--red); }

/* ---------- Image placeholders ----------
   Every photo sits in .media. If the file is missing, JS adds .is-placeholder
   and the frame shows a soft champagne placeholder labelled with the expected file name. */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: var(--ar, auto);
  max-width: 100%;
  background:
    radial-gradient(70% 55% at 50% 30%, rgba(255, 253, 246, .9), transparent 70%),
    radial-gradient(100% 80% at 50% 110%, rgba(216, 188, 114, .6), transparent 70%),
    linear-gradient(165deg, var(--cream) 0%, var(--champagne) 55%, var(--gold-light) 100%);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.media.is-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern);
  background-size: 72px;
  opacity: .7;
}
.media.is-placeholder::after {
  content: "Photo placeholder · " attr(data-ph);
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  font-family: var(--f-body);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-text);
  line-height: 1.4;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 249, 234, .9);
  border-bottom: 1px solid var(--line-gold-soft);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background-color .6s var(--ease), border-color .6s var(--ease), box-shadow .6s var(--ease);
}
.site-header.is-scrolled,
.menu-open .site-header {
  background: rgba(255, 249, 234, .98);
  border-bottom-color: var(--line-gold);
  box-shadow: 0 10px 30px -24px rgba(112, 23, 23, .35);
}
.header-inner {
  max-width: 1440px;
  margin-inline: auto;
  height: var(--header-h);
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--brown);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.brand-mark { width: auto; height: 46px; flex: none; }
.footer-brand .brand-mark { height: 64px; }
@media (max-width: 479px) { .site-header .brand-mark { height: 40px; } }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--f-label);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--gold-text);
}
.brand-tag {
  margin-top: 6px;
  font-family: var(--f-body);
  font-size: .56rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--brown);
}

.primary-nav { display: none; }
.primary-nav ul { display: flex; gap: clamp(16px, 1.8vw, 28px); list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  position: relative;
  display: inline-block;
  padding: .5rem 0;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brown);
  transition: color .5s var(--ease);
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 18px;
  height: 1px;
  margin-left: -9px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .6s var(--ease);
}
.primary-nav a:hover,
.primary-nav a.is-active { color: var(--burgundy); }
.primary-nav a:hover::after,
.primary-nav a.is-active::after { transform: scaleX(1); }

.header-cta { display: none; }

.menu-toggle {
  width: 48px;
  height: 48px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-right: -10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-toggle span {
  width: 24px;
  height: 1px;
  background: var(--brown);
  transition: transform .5s var(--ease), opacity .4s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px);
  padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
  background: radial-gradient(70% 45% at 100% 100%, rgba(232, 211, 154, .55), transparent 70%), var(--ivory);
  color: var(--brown);
  overflow-y: auto;
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { border-bottom: 1px solid var(--line-gold-soft); }
.mobile-menu nav a {
  display: block;
  padding: .7rem 0;
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 7vw, 2.2rem);
  text-decoration: none;
  color: var(--brown);
  transition: color .4s, padding-left .5s var(--ease);
}
.mobile-menu nav a:hover { color: var(--burgundy); padding-left: 8px; }
.mobile-menu-foot { display: grid; gap: 12px; margin-top: 32px; text-align: center; }
.mobile-menu-foot p { margin: 0; color: var(--burgundy); font-weight: 500; letter-spacing: .08em; }

@media (min-width: 640px) {
  .header-cta { display: inline-flex; }
}
@media (min-width: 1120px) {
  .primary-nav { display: block; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- Header over the hero ---------- */
/* Transparent at the top of the page; turns solid ivory once scrolled (rules above). */
.site-header {
  background: linear-gradient(180deg, rgba(255, 249, 234, .85) 0%, rgba(255, 249, 234, .35) 70%, rgba(255, 249, 234, 0) 100%) border-box no-repeat;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.site-header.is-scrolled,
.menu-open .site-header {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.site-header .brand-name { color: var(--gold-text); }
@media (max-width: 899px) {
  /* the photo sits right under the nav on small screens: give the logo a firmer ivory backing */
  .site-header { background: linear-gradient(180deg, rgba(255, 249, 234, .96) 0%, rgba(255, 249, 234, .9) 72%, rgba(255, 249, 234, 0) 100%) border-box no-repeat; }
}  /* matches the gold lettering of the logo */
.site-header .header-cta {
  background: var(--red);
  color: var(--ivory);
  border-color: rgba(201, 168, 90, .55);
  border-radius: 2px;
  letter-spacing: 2px;
  box-shadow: 0 8px 20px -12px rgba(112, 23, 23, .6);
}
.site-header .header-cta::after { display: none; }
.site-header .header-cta .ico { color: var(--ivory); }
.site-header .header-cta:hover { background: var(--burgundy); filter: none; box-shadow: 0 10px 24px -12px rgba(112, 23, 23, .7); }

/* ---------- Hero ---------- */
/* Mobile: photo on top, text below on ivory. Desktop (900px+): full-bleed photo,
   cream-to-transparent wash from the left, text in the left column. */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  color: var(--brown);
  isolation: isolate;
  overflow: hidden;
}

.hero-media {
  position: relative;
  width: 100%;
  height: clamp(380px, 112vw, 620px);
  /* warm stand-in until the real photo is added */
  background:
    radial-gradient(40% 55% at 72% 38%, rgba(255, 244, 214, .95), transparent 70%),
    radial-gradient(70% 80% at 88% 100%, rgba(201, 168, 90, .6), transparent 70%),
    linear-gradient(100deg, var(--cream) 0%, #EBD6A6 55%, #D9BA78 100%);
}
.hero-media img {
  object-position: 72% 28%;
  animation: heroZoom 18s var(--ease) both;
}
.hero-media:not(.is-placeholder)::after {
  /* keep the nav readable at the top, melt into ivory at the bottom */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 249, 234, .7) 0%, rgba(255, 249, 234, 0) 22%, rgba(255, 249, 234, 0) 68%, var(--ivory) 100%);
}
.hero-media.is-placeholder::before { opacity: .45; }
.hero-media.is-placeholder::after {
  content: "Hero photo placeholder · hero-performance.jpg · dancer on the right";
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 14px);
  bottom: auto;
  left: auto;
  right: var(--gutter-r);
  max-width: 62%;
  text-align: right;
}
.hero-art {
  display: none;
  position: absolute;
  left: 72%;
  bottom: 0;
  height: 84%;
  width: auto;
  transform: translateX(-50%);
  color: var(--paper);
  opacity: .9;
}
.hero-media.is-placeholder .hero-art { display: block; }

.hero-content {
  position: relative;
  margin-top: -20px;
  padding-bottom: 36px;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 1.3rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--red);
}
.hero-label::before {
  content: "";
  flex: none;
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 168, 90, 0), var(--gold));
}

.hero-title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 1.3rem + 4.2vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -.012em;
  color: var(--brown);
}
.hero-title .line { display: block; }
.hero-title .line-accent { font-style: italic; font-weight: 400; color: var(--red); }

.hero-text {
  margin: 1.4rem 0 2rem;
  max-width: 600px;
  font-size: clamp(1rem, .96rem + .3vw, 1.14rem);
  line-height: 1.8;
  color: var(--brown);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.btn-enquire {
  min-height: 56px;
  background: var(--red);
  color: var(--ivory);
  border: 1px solid rgba(201, 168, 90, .55);
  border-radius: 2px;
  font-size: .76rem;
  letter-spacing: 2px;
  box-shadow: 0 14px 28px -16px rgba(112, 23, 23, .6);
}
.btn-enquire:hover {
  background: var(--burgundy);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -16px rgba(112, 23, 23, .7), 0 0 0 1px rgba(201, 168, 90, .35);
}
.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: 0 .25rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brown);
  /* gold underline that draws in on hover */
  background: linear-gradient(var(--gold), var(--gold)) 50% calc(100% - 10px) / 0 1px no-repeat;
  transition: color .5s var(--ease), background-size .6s var(--ease);
}
.hero-link .ico { transition: transform .6s var(--ease); }
.hero-link:hover { color: var(--red); background-size: calc(100% - .5rem) 1px; }
.hero-link:hover .ico { transform: translateY(3px); }

.hero-info { position: relative; }
.hero-info-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 18px 22px;
  /* divider aligned to the text column, not the padding */
  background: linear-gradient(var(--line-gold), var(--line-gold)) content-box top / 100% 1px no-repeat;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brown);
}
.hero-info p { margin: 0; display: flex; align-items: center; gap: 10px; }
.hero-rating .stars { color: var(--gold); }
.hero-rating .stars svg { width: 14px; height: 14px; }
.hero-rating strong { color: var(--red); font-size: .92rem; letter-spacing: .04em; }
.hero-hours::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}

@media (max-width: 899px) {
  .hero-media.is-placeholder ~ .hero-content { margin-top: 28px; }
  .hero-label { letter-spacing: .18em; }
}
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 30px; }
}

@media (min-width: 900px) {
  .hero { min-height: clamp(640px, 86vh, 920px); }
  .hero .wrap { max-width: 1280px; padding-left: max(var(--gutter), 40px); }

  .hero-media { position: absolute; inset: 0; height: auto; z-index: -2; }
  .hero-media img { object-position: 70% 35%; }
  .hero-media:not(.is-placeholder)::after { display: none; }
  .hero-media.is-placeholder::after { max-width: 40%; }
  .hero-art { left: 74%; height: 80%; }

  /* cream → transparent wash, strongest behind the text */
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
      linear-gradient(90deg, rgba(255, 249, 234, .96) 0%, rgba(255, 249, 234, .9) 30%, rgba(246, 235, 210, .55) 50%, rgba(246, 235, 210, 0) 68%),
      linear-gradient(180deg, rgba(255, 249, 234, .6) 0%, rgba(255, 249, 234, 0) 16%),
      linear-gradient(0deg, rgba(255, 249, 234, .85) 0%, rgba(255, 249, 234, 0) 18%);
  }
  /* very faint Thai pattern behind the text only */
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: var(--pattern);
    background-size: 84px;
    opacity: .35;
    -webkit-mask-image: radial-gradient(45% 60% at 0% 45%, #000, transparent 75%);
    mask-image: radial-gradient(45% 60% at 0% 45%, #000, transparent 75%);
  }

  .hero-content {
    margin-block: auto 0;
    padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 64px);
    padding-bottom: 64px;
  }
  .hero-title { font-size: clamp(3.2rem, 1.4rem + 3.4vw, 4.5rem); max-width: 700px; }
  .hero-text { margin-top: 1.7rem; }
  .hero-info { margin-top: auto; }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .hero::before {
    background:
      linear-gradient(90deg, rgba(255, 249, 234, .96) 0%, rgba(255, 249, 234, .9) 40%, rgba(246, 235, 210, .55) 60%, rgba(246, 235, 210, 0) 78%),
      linear-gradient(180deg, rgba(255, 249, 234, .6) 0%, rgba(255, 249, 234, 0) 16%),
      linear-gradient(0deg, rgba(255, 249, 234, .85) 0%, rgba(255, 249, 234, 0) 18%);
  }
  .hero-content > * { max-width: 560px; }
  .hero-art { left: 80%; }
  /* photo is height-bound here: slide it so the main dancer clears the text */
  .hero-media img { object-position: 38% 35%; }
}

@media (max-width: 479px) {
  .booking .btn-row .btn { width: 100%; }
}

.hero-anim { animation: rise 1.3s var(--ease) both; animation-delay: var(--d, 0s); }

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

/* ---------- About (warm ivory) ---------- */
.about {
  position: relative;
  background: var(--ivory);
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--line-gold-soft);
}
.about::before {
  /* faint Thai pattern watermark in one corner */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--pattern);
  background-size: 96px;
  opacity: .5;
  -webkit-mask-image: radial-gradient(50% 50% at 100% 0%, #000, transparent 75%);
  mask-image: radial-gradient(50% 50% at 100% 0%, #000, transparent 75%);
}
.about-grid {
  display: grid;
  gap: clamp(52px, 7vw, 100px);
  align-items: center;
}
.about-figure {
  position: relative;
  margin: 0;
  max-width: 460px;
  width: 100%;
  justify-self: center;
}
.about-figure::before {
  /* offset gold frame */
  content: "";
  position: absolute;
  inset: -14px -14px 14px 14px;
  border: 1px solid var(--gold);
  border-radius: 20px;
  pointer-events: none;
}
.about-figure::after {
  /* small lotus-like ornament on the frame */
  content: "";
  position: absolute;
  top: -24px;
  right: 24px;
  width: 22px;
  height: 22px;
  background: var(--ivory) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-16 -16 32 32'%3E%3Cg fill='%23C9A85A'%3E%3Cpath id='p' d='M0-14C4-9.5 4-6 0-3-4-6-4-9.5 0-14z'/%3E%3Cuse href='%23p' transform='rotate(90)'/%3E%3Cuse href='%23p' transform='rotate(180)'/%3E%3Cuse href='%23p' transform='rotate(270)'/%3E%3C/g%3E%3C/svg%3E") center / 18px no-repeat;
}
.arch-line { display: none; }
.arch {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.arch .media { aspect-ratio: 4 / 5; }
.about-figure:hover .media img { transform: scale(1.04); }

.about-badge {
  position: absolute;
  right: -10px;
  bottom: 28px;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 18px 22px;
  background: var(--paper);
  border: 1px solid var(--gold);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}
.badge-num { font-family: var(--f-display); font-size: 2.4rem; line-height: 1; color: var(--burgundy); }
.badge-label { font-family: var(--f-label); font-size: .6rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); }

.about-copy { min-width: 0; }
.about-copy p { max-width: 60ch; }
.about-copy .lead { color: var(--brown); }
.about-copy > p:not(.lead):not(.eyebrow) { color: var(--text-muted); }

.features {
  list-style: none;
  margin: clamp(64px, 9vw, 112px) 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.feature {
  position: relative;
  padding: 34px 30px 32px;
  background: var(--cream);
  border: 1px solid var(--line-gold);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  transition: transform .7s var(--ease), border-color .7s var(--ease), box-shadow .7s var(--ease);
}
.feature::after {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: -1px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s var(--ease);
}
.feature:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: var(--shadow-gold); }
.feature:hover::after { transform: scaleX(1); }
.feature-ico { width: 32px; height: 32px; color: var(--gold); margin-bottom: 18px; }
.feature h3 {
  margin: 0 0 .5rem;
  font-family: var(--f-label);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--brown);
}
.feature p { margin: 0; color: var(--text-muted); max-width: 34ch; }

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 5fr 6fr; }
  .features { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ---------- Events (cream) ---------- */
.events { background: var(--cream); border-top: 1px solid var(--line-gold-soft); }
.event-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.event {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 156px;
  padding: 26px 12px;
  text-align: center;
  background: var(--ivory);
  border: 1px solid var(--line-gold-soft);
  border-radius: 10px;
  transition: border-color .7s var(--ease), transform .7s var(--ease), box-shadow .7s var(--ease);
}
.event:nth-child(even) { background: var(--paper); }
.event svg {
  order: 0;
  width: 38px;
  height: 38px;
  color: var(--gold);
  transition: transform .7s var(--ease), color .7s var(--ease);
}
.event::before {
  /* small gold diamond that turns burgundy on hover */
  content: "";
  order: 1;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  transition: background-color .7s var(--ease);
}
.event h3 {
  order: 2;
  margin: 0;
  font-family: var(--f-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--brown);
}
.event::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 36px;
  height: 2px;
  margin-left: -18px;
  background: var(--burgundy);
  transform: scaleX(0);
  transition: transform .7s var(--ease);
}
.event:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.event:hover svg { transform: translateY(-3px); }
.event:hover::before { background: var(--burgundy); }
.event:hover::after { transform: scaleX(1); }

@media (min-width: 640px) { .event-grid { grid-template-columns: repeat(3, 1fr); } .event-grid .event:last-child { grid-column: 2; } }
@media (min-width: 1024px) { .event-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; } .event-grid .event:last-child { grid-column: auto; } .event { min-height: 188px; } }

/* ---------- Why choose (soft champagne, light) ---------- */
.why {
  position: relative;
  background:
    radial-gradient(50% 70% at 100% 0%, rgba(232, 211, 154, .6), transparent 70%),
    var(--champagne);
  isolation: isolate;
  border-top: 1px solid var(--line-gold-soft);
}
.why-grid { display: grid; gap: clamp(44px, 6vw, 84px); align-items: center; }
.why-copy { min-width: 0; }
.why .h2 {
  color: var(--burgundy);
  font-size: clamp(2.4rem, 1.6rem + 3vw, 3.9rem);
}
.why .h2 .dash { color: var(--gold); }
.why .lead { color: var(--text-muted); margin: 0 0 2.2rem; }
.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.why-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: rgba(255, 249, 234, .75);
  border: 1px solid var(--line-gold-soft);
  border-radius: 10px;
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 1.12rem + .5vw, 1.5rem);
  line-height: 1.25;
  color: var(--brown);
  transition: border-color .7s var(--ease), color .7s var(--ease), transform .7s var(--ease), background-color .7s;
}
.why-list li:hover { border-color: var(--gold); color: var(--burgundy); transform: translateX(4px); background: var(--ivory); }
.tick {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  background: var(--paper);
  transform: rotate(45deg);
  color: var(--gold-text);
}
.tick svg { width: 15px; height: 15px; transform: rotate(-45deg); }

@media (min-width: 900px) {
  .why-grid { grid-template-columns: 5fr 6fr; }
  .why-list { grid-template-columns: 1fr 1fr; }
}

/* ---------- Gallery (cream portfolio) ---------- */
.gallery {
  /* golden temple skyline across the top, fading into cream behind the photos */
  background:
    linear-gradient(180deg, rgba(246, 235, 210, .05) 0%, rgba(246, 235, 210, .2) 40%, rgba(246, 235, 210, .75) 75%, var(--cream) 100%) top center / 100% max(550px, 50vw) no-repeat,
    url("../images/gallery-background.jpg") top center / max(100%, 1100px) auto no-repeat,
    var(--cream);
  border-top: 1px solid var(--line-gold-soft);
}
.gallery .eyebrow { color: var(--burgundy); }
.gallery .section-head .h2 { text-shadow: 0 1px 18px rgba(255, 249, 234, .7); }

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 clamp(28px, 4vw, 44px);
}
.filter {
  min-height: 42px;
  padding: .55rem 1.15rem;
  background: var(--ivory);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brown);
  cursor: pointer;
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.filter:hover { border-color: var(--gold); color: var(--burgundy); }
.filter[aria-pressed="true"] { background: var(--gold-fill); border-color: var(--gold); color: var(--brown); }

.masonry {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 12px;
}
.g-item { break-inside: avoid; margin-bottom: 12px; animation: fadeIn .7s var(--ease) both; }
.g-btn {
  display: block;
  width: 100%;
  padding: 6px;
  border: 1px solid var(--line-gold);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  cursor: zoom-in;
  position: relative;
  transition: border-color .6s var(--ease), box-shadow .6s var(--ease);
}
.g-btn .media { border-radius: 6px; }
.g-btn::before {
  /* soft champagne overlay + view icon */
  content: "";
  position: absolute;
  inset: 6px;
  z-index: 2;
  border-radius: 6px;
  background: var(--view-icon) center / 52px no-repeat, rgba(232, 211, 154, .4);
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.g-btn:hover,
.g-btn:focus-visible { border-color: var(--gold); box-shadow: var(--shadow-gold); }
.g-btn:hover::before,
.g-btn:focus-visible::before { opacity: 1; }
.g-btn:hover .media img { transform: scale(1.04); }
.g-item .media.is-placeholder::after { font-size: .54rem; }

@media (min-width: 768px) { .masonry { columns: 3; column-gap: 18px; } .g-item { margin-bottom: 18px; } }
@media (min-width: 1280px) { .masonry { columns: 4; } }

@keyframes fadeIn { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }

/* Lightbox (light) */
.lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: calc(64px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  border: 0;
  background: rgba(255, 249, 234, .97);
  color: var(--brown);
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: fadeIn .5s var(--ease); }
.lightbox::backdrop { background: rgba(246, 235, 210, .85); }
.lb-figure { margin: 0; display: grid; gap: 16px; justify-items: center; max-width: min(1100px, 100%); min-width: 0; }
.lb-stage { display: flex; justify-content: center; max-width: 100%; padding: 8px; background: var(--paper); border: 1px solid var(--gold); border-radius: 10px; box-shadow: var(--shadow-gold); }
.lb-stage .media { max-height: calc(100svh - 190px); width: auto; height: calc(100svh - 190px); max-width: 100%; border-radius: 6px; }
.lb-stage .media img { object-fit: contain; background: var(--cream); }
.lb-caption { font-family: var(--f-display); font-size: 1.35rem; font-style: italic; text-align: center; color: var(--burgundy); }
.lb-btn {
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--ivory);
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--brown);
  cursor: pointer;
  transition: background-color .5s, color .5s;
}
.lb-btn:hover { background: var(--gold-fill); color: var(--brown); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: calc(12px + env(safe-area-inset-top, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); }
.lb-prev { left: max(12px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lb-next { right: max(12px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lb-prev, .lb-next { top: auto; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: none; }
  .lb-stage .media { height: auto; max-height: calc(100svh - 230px); width: 100%; }
  .lb-stage { width: 100%; }
}

/* ---------- Reviews (warm ivory) ---------- */
.reviews { background: var(--ivory); border-top: 1px solid var(--line-gold-soft); }
.rating-summary {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 0 auto clamp(40px, 5vw, 56px);
  text-align: center;
}
.rating-score { margin: 0; font-family: var(--f-display); font-size: 1.6rem; color: var(--text-muted); }
.rating-score strong { font-size: 3.8rem; font-weight: 500; line-height: 1; color: var(--burgundy); margin-right: .15em; }
.rating-note { margin: 0; font-family: var(--f-label); font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }

.review-grid { display: grid; gap: 22px; }
.review {
  position: relative;
  margin: 0;
  padding: 42px 32px 32px;
  background: var(--paper);
  border: 1px solid var(--line-gold);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform .7s var(--ease), box-shadow .7s var(--ease), border-color .7s var(--ease);
}
.review::before {
  content: "“";
  position: absolute;
  top: -4px;
  right: 22px;
  font-family: var(--f-display);
  font-size: 7rem;
  line-height: 1;
  color: var(--gold);
  opacity: .7;
}
.review:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow-gold); }
.review blockquote { margin: 18px 0 0; flex: 1; }
.review blockquote p {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(1.35rem, 1.2rem + .5vw, 1.6rem);
  line-height: 1.35;
  color: var(--brown);
}
.review blockquote[lang="th"] p { font-size: clamp(1.25rem, 1.15rem + .4vw, 1.45rem); line-height: 1.6; }
.translation { margin: .6rem 0 0; font-size: .85rem; color: var(--text-muted); font-style: italic; }
.review figcaption {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line-gold-soft);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--burgundy);
}
.review figcaption[lang="th"] { letter-spacing: .04em; font-size: .9rem; }
.reviews-foot { margin: 40px 0 0; text-align: center; font-size: .84rem; letter-spacing: .08em; color: var(--text-muted); }
.reviews-foot span { color: var(--gold); letter-spacing: .1em; }

@media (min-width: 900px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Booking CTA (the one burgundy section) ---------- */
.booking {
  position: relative;
  padding-block: clamp(96px, 12vw, 150px);
  text-align: center;
  color: var(--on-burgundy);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(139, 30, 30, .95), transparent 70%),
    radial-gradient(50% 60% at 50% 110%, rgba(201, 168, 90, .22), transparent 70%),
    var(--burgundy);
  isolation: isolate;
  overflow: hidden;
}
.booking::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--pattern);
  background-size: 72px;
  opacity: .6;
  -webkit-mask-image: radial-gradient(70% 90% at 50% 50%, transparent 40%, #000 100%);
  mask-image: radial-gradient(70% 90% at 50% 50%, transparent 40%, #000 100%);
}
.booking-frame {
  position: absolute;
  inset: clamp(14px, 3vw, 32px);
  z-index: -1;
  border: 1px solid rgba(232, 211, 154, .4);
  pointer-events: none;
}
.booking-frame .corner { color: var(--gold-light); }
.booking-inner { max-width: 820px; position: relative; }
.booking .h2 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.3rem); color: var(--ivory); }
.booking .h2 .gold { font-style: italic; color: var(--gold-light); }
.booking .lead { margin: 1.2rem auto 2.4rem; color: var(--ivory); opacity: .88; }
.booking .btn-gold:hover { box-shadow: 0 0 36px -6px rgba(232, 211, 154, .75), inset 0 1px 0 rgba(255, 253, 246, .6); }
.booking .btn-outline-light { background: transparent; color: var(--ivory); border-color: var(--gold-light); }
.booking .btn-outline-light:hover { background: rgba(232, 211, 154, .14); color: var(--ivory); border-color: var(--gold-light); }
@media (max-width: 767px) { .booking-frame .corner { width: 34px; height: 34px; } }

/* ---------- Contact (warm ivory) ---------- */
.contact { background: var(--ivory); }
.contact-grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-info { min-width: 0; }
.contact-info > p:not(.eyebrow) { color: var(--text-muted); max-width: 46ch; }
.contact-card {
  position: relative;
  margin-top: 32px;
  padding: 30px;
  font-style: normal;
  background: var(--cream);
  color: var(--brown);
  border: 1px solid var(--line-gold);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}
.contact-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 30px;
  width: 64px;
  height: 2px;
  background: var(--gold);
}
.contact-name { margin: 0 0 18px; font-family: var(--f-display); font-size: 1.5rem; line-height: 1.25; color: var(--brown); }
.contact-card dl { margin: 0 0 26px; display: grid; gap: 0; }
.contact-card dl > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-gold-soft);
}
.contact-card dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-card dt svg { width: 18px; height: 18px; color: var(--gold); }
.contact-card dd { margin: 0; font-size: 1.04rem; font-weight: 500; color: var(--brown); }
.contact-card dd a { color: var(--burgundy); text-decoration: none; border-bottom: 1px solid var(--line-gold); transition: color .5s, border-color .5s; }
.contact-card dd a:hover { color: var(--gold-text); border-color: var(--gold); }

.form-wrap {
  position: relative;
  min-width: 0;
  padding: clamp(26px, 4vw, 44px);
  background: var(--paper);
  border: 1px solid var(--line-gold);
  border-radius: 12px;
  box-shadow: 0 30px 60px -40px rgba(112, 23, 23, .35);
}
.form-title { margin: 0 0 24px; font-size: 2rem; line-height: 1.1; color: var(--burgundy); }
.field-grid { display: grid; gap: 18px; margin-bottom: 26px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.field label span { color: var(--red); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: .75rem .95rem;
  font: inherit;
  font-weight: 400;
  font-size: 1rem;
  color: var(--brown);
  background: var(--cream);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  transition: border-color .5s var(--ease), box-shadow .5s var(--ease), background-color .5s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23C9A85A' stroke-width='1.8' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: #A08E72; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background-color: var(--ivory);
  box-shadow: 0 0 0 4px rgba(201, 168, 90, .2);
}
.field [aria-invalid="true"] { border-color: var(--red); }
.form-error { margin: -10px 0 18px; color: var(--red); font-size: .92rem; }

.form-success { text-align: center; padding: 20px 0; }
.form-success:focus { outline: none; }
.form-success h3 { margin: 0 0 .6rem; font-size: 2.2rem; line-height: 1.1; color: var(--burgundy); }
.form-success p { margin: 0 auto 1.6rem; max-width: 40ch; color: var(--text-muted); }
.form-success .text-link { margin-top: 18px; }

@media (min-width: 560px) {
  .field-grid { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .contact-grid { grid-template-columns: 5fr 7fr; }
}

/* ---------- Footer (deep brown) ---------- */
.site-footer {
  position: relative;
  padding-top: clamp(64px, 8vw, 96px);
  padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
  background: var(--footer);
  color: var(--cream);
  border-top: 1px solid var(--gold);
}
.footer-ornament {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--footer);
  color: var(--gold);
}
.footer-ornament svg { width: 22px; height: 22px; }
.footer-grid { display: grid; gap: 40px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .brand-name { color: var(--gold); }
.footer-brand .brand-tag { color: var(--cream); }
.footer-brand p { margin: 0; font-family: var(--f-display); font-size: 1.3rem; font-style: italic; color: var(--cream); max-width: 28ch; }
.footer-h {
  margin: 0 0 16px;
  font-family: var(--f-label);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--cream); text-decoration: none; transition: color .5s; }
.footer-col a:hover { color: var(--gold); }
.footer-col a[href^="tel:"],
.footer-col a[href^="https://wa.me"] { color: var(--gold-light); }
.footer-col a[href^="tel:"]:hover,
.footer-col a[href^="https://wa.me"]:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(232, 211, 154, .2);
  font-size: .78rem;
  letter-spacing: .08em;
  color: rgba(246, 235, 210, .7);
}
.footer-bottom p { margin: 0; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px 7px 7px;
  background: var(--ivory);
  color: var(--brown);
  border: 1px solid var(--gold);
  border-radius: 999px;
  text-decoration: none;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: 0 14px 30px -12px rgba(112, 23, 23, .4);
  transition: transform .5s var(--ease), box-shadow .5s, color .5s;
}
.wa-float:hover { transform: translateY(-3px); color: var(--burgundy); box-shadow: 0 14px 30px -12px rgba(112, 23, 23, .4), 0 0 24px -6px rgba(201, 168, 90, .8); }
.wa-float-icon {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
}
.wa-float-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--gold);
  animation: ring 3.2s var(--ease) infinite;
}
.wa-float-icon svg { width: 24px; height: 24px; }
@keyframes ring {
  0% { transform: scale(1); opacity: .8; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}

/* ---------- Scroll reveal (only applied to content below the fold at load) ---------- */
.will-reveal { opacity: 0; transform: translateY(24px); }
.will-reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
  transition-delay: var(--stagger, 0s);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .will-reveal { opacity: 1; transform: none; }
  .will-reveal .ornament::before,
  .will-reveal .ornament::after { transform: scaleX(1); }
}
