/* Proprietary work for luxpro.glam. See /LICENSE. */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Noto+Sans+Thai:wght@400;500;600;700&family=Prompt:wght@400;500;600;700;800&display=swap");

:root {
  /* luxpro.glam Responsive Polish v3
     Direction: editorial dining/hotel journal, restrained luxury, mobile-first usable. */
  --ink-950: #090806;
  --ink-925: #0d0c0a;
  --ink-900: #11100d;
  --surface-900: #14120f;
  --surface-850: #1a1713;
  --surface-800: #211d17;
  --surface-raised: rgba(24, 21, 17, 0.84);
  --surface-glass: rgba(13, 12, 10, 0.76);

  --champagne: #d8be7a;
  --champagne-soft: #f0dfaf;
  --old-gold: #a48245;
  --bronze: #7b5931;
  --sage: #9b9a82;
  --claret: #5c3038;

  --text: #f5f0e8;
  --text-soft: #ded3c4;
  --muted: #b9ad9d;
  --faint: #867b70;
  --line-soft: rgba(216, 190, 122, 0.13);
  --line: rgba(216, 190, 122, 0.22);
  --line-strong: rgba(216, 190, 122, 0.36);
  --danger: #d94c4c;

  --page-pad: clamp(14px, 3vw, 32px);
  --container: 1180px;
  --article-container: 1080px;
  --radius: 18px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.28);
  --shadow: 0 22px 64px rgba(0, 0, 0, 0.42);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Noto Sans Thai", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--ink-950);
  font-family: var(--font-body);
  line-height: 1.68;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection { background: rgba(216, 190, 122, 0.35); }

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

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

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

code {
  display: inline-block;
  width: 100%;
  margin-top: 12px;
  padding: 10px 12px;
  color: var(--champagne-soft);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  overflow-x: auto;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 8px 12px;
  color: var(--ink-950);
  background: var(--champagne);
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 10%, rgba(216, 190, 122, 0.06), transparent 28%),
    radial-gradient(circle at 86% 24%, rgba(92, 48, 56, 0.09), transparent 32%),
    radial-gradient(circle at 50% 92%, rgba(164, 130, 69, 0.045), transparent 36%),
    linear-gradient(135deg, var(--ink-950) 0%, var(--ink-900) 52%, var(--ink-950) 100%);
}

.orb {
  position: absolute;
  width: 42vw;
  max-width: 560px;
  aspect-ratio: 1;
  filter: blur(64px);
  opacity: 0.14;
  border-radius: 999px;
  animation: floatOrb 22s ease-in-out infinite alternate;
  will-change: transform;
}

.orb-gold {
  left: -13vw;
  top: 18vh;
  background: rgba(216, 190, 122, 0.24);
}

.orb-purple {
  right: -16vw;
  bottom: 8vh;
  background: rgba(92, 48, 56, 0.22);
  animation-delay: -7s;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(circle at 50% 35%, black 0%, transparent 72%);
}

@keyframes floatOrb {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4vw, -4vh, 0) scale(1.06); }
}

.site-header {
  position: sticky;
  top: max(12px, env(safe-area-inset-top));
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--container), calc(100% - (var(--page-pad) * 2)));
  margin: 16px auto 0;
  padding: 12px 14px 12px 18px;
  background: var(--surface-glass);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: clamp(1.34rem, 2vw, 1.86rem);
  font-weight: 500;
  letter-spacing: 0.015em;
  min-height: 42px;
}

.brand-dot {
  display: inline-flex;
  width: 0.38em;
  height: 0.38em;
  margin: 0 0.15em;
  color: transparent;
  background: var(--champagne);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(216, 190, 122, 0.055), 0 0 18px rgba(216, 190, 122, 0.18);
}

.nav {
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav a {
  min-height: 40px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  color: var(--muted);
  text-decoration: none;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.2;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--champagne-soft);
  background: rgba(216, 190, 122, 0.075);
  transform: translateY(-1px);
}

.section {
  width: min(var(--container), calc(100% - (var(--page-pad) * 2)));
  margin: 0 auto;
  padding: clamp(58px, 8.5vw, 108px) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  min-height: calc(100svh - 92px);
}

.hero-copy { max-width: 720px; }

.eyebrow,
.meta,
.slot-label {
  margin: 0 0 10px;
  color: var(--champagne);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.meta {
  color: var(--faint);
  letter-spacing: 0.08em;
}

.slot-label { color: var(--sage); }

h1, h2, h3 {
  margin: 0;
  line-height: 1.08;
  text-wrap: balance;
}

h1,
.article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6.1vw, 6.1rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

/* v26.5.23 font harmonization: mixed Thai/English add-on heading
   Use the same sans family as feature-tile titles so Thai and Latin glyphs read closer in scale. */
#addons-title {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.14;
  font-size: clamp(2.15rem, 4.55vw, 4.85rem);
}

@media (max-width: 560px) {
  #addons-title {
    font-size: clamp(1.85rem, 8.4vw, 2.9rem);
    letter-spacing: -0.04em;
  }
}

h3 {
  color: var(--text);
  font-size: clamp(1.08rem, 1.6vw, 1.45rem);
  line-height: 1.35;
}

.lead {
  max-width: 790px;
  color: var(--text-soft);
  font-size: clamp(1.02rem, 1.55vw, 1.22rem);
}

p {
  color: var(--muted);
  margin-top: 0;
}

.hero-actions,
.split-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover,
.btn:focus-visible { transform: translateY(-2px); }

.btn-primary {
  color: var(--ink-950);
  background: linear-gradient(180deg, var(--champagne-soft), var(--champagne));
  border: 1px solid rgba(240, 223, 175, 0.38);
  box-shadow: 0 12px 28px rgba(216, 190, 122, 0.12);
}

.btn-primary:hover,
.btn-primary:focus-visible { box-shadow: 0 16px 34px rgba(216, 190, 122, 0.18); }

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--line-strong);
  background: rgba(216, 190, 122, 0.055);
}

.text-link {
  color: var(--champagne-soft);
  text-decoration: none;
  font-weight: 800;
  text-underline-offset: 4px;
}

.text-link:hover,
.text-link:focus-visible { text-decoration: underline; }

.media-card,
.story-card,
.rate-card,
.feature-tile,
.media-slot,
.image-feature,
.story-step,
.article-cta,
.split-cta {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.014)),
    var(--surface-raised);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.hero-card {
  overflow: hidden;
  transform: rotate(0.45deg);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.hero-card:hover {
  transform: rotate(0deg) translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.image-shell {
  position: relative;
  overflow: hidden;
  background: var(--surface-900);
}

.hero-card .image-shell img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-shell img,
.story-card img,
.image-feature img,
.gallery-grid img,
.platform-media-frame img {
  width: 100%;
  object-fit: cover;
}

.media-label {
  position: absolute;
  right: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 7px 10px;
  color: var(--ink-950);
  background: var(--champagne);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
}

.card-body { padding: clamp(20px, 2.2vw, 24px); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.story-grid,
.rate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.story-card {
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.story-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.story-card img { aspect-ratio: 16 / 10; }
.story-card div { padding: clamp(20px, 2.1vw, 22px); }

.carousel-section { overflow: hidden; }

.carousel {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  gap: 12px;
  align-items: center;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 34%);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--carousel-edge-space, 24px);
  scrollbar-width: thin;
  scrollbar-color: var(--old-gold) transparent;
  padding: 6px var(--carousel-edge-space, 24px) 16px;
  cursor: grab;
}

.carousel-track:focus-visible { border-radius: var(--radius); }
.carousel-track:active { cursor: grabbing; }

.feature-tile {
  min-height: 210px;
  padding: clamp(22px, 2.4vw, 26px);
  scroll-snap-align: center;
  scroll-snap-stop: always;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(155, 154, 130, 0.5);
  background:
    linear-gradient(180deg, rgba(216, 190, 122, 0.045), rgba(255, 255, 255, 0.012)),
    var(--surface-raised);
}

.tile-kicker {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--champagne);
  font-family: var(--font-display);
  font-size: 2.35rem;
}

.carousel-btn {
  width: 46px;
  height: 46px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
  background: rgba(216, 190, 122, 0.08);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.carousel-hint {
  display: none;
  margin: 8px 0 0;
  color: var(--faint);
  font-size: 0.84rem;
}

.rate-card {
  padding: clamp(22px, 2.4vw, 26px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.rate-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.rate-card.premium {
  background:
    radial-gradient(circle at 18% 8%, rgba(216, 190, 122, 0.095), transparent 36%),
    linear-gradient(180deg, rgba(92, 48, 56, 0.105), rgba(255, 255, 255, 0.014)),
    var(--surface-raised);
}

.rate-card ul {
  margin: 18px 0;
  padding-left: 20px;
  color: var(--muted);
}

.rate-card li + li { margin-top: 8px; }

.price {
  color: var(--champagne-soft);
  font-size: 1.15rem;
  font-weight: 800;
}

.split-cta {
  justify-content: space-between;
  margin-top: 0;
  padding: clamp(24px, 3vw, 32px);
}

.site-footer {
  width: min(var(--container), calc(100% - (var(--page-pad) * 2)));
  margin: 0 auto;
  padding: 34px 0 48px;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
}

.article-page {
  width: min(var(--article-container), calc(100% - (var(--page-pad) * 2)));
  margin: 0 auto;
}

.article-shell { padding: clamp(54px, 8vw, 92px) 0; }

.article-header {
  max-width: 900px;
  margin-bottom: 40px;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.article-meta-row span {
  padding: 8px 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
}

.media-slot,
.image-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: 22px;
  align-items: center;
  margin: 28px 0;
  padding: clamp(20px, 2.4vw, 26px);
}

.compact-media { grid-template-columns: minmax(0, 1fr) minmax(220px, 0.48fr); }

.platform-media-frame,
.image-feature img,
.gallery-grid img {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
}

.platform-media-frame img { aspect-ratio: 16 / 10; }
.platform-media-frame.small img { aspect-ratio: 4 / 5; }
.image-feature img { aspect-ratio: 16 / 10; }
.gallery-grid img { aspect-ratio: 4 / 5; }

.article-content {
  max-width: 780px;
  margin: 48px 0;
  font-size: 1.08rem;
}

.gallery-section,
.story-stack { margin: 54px 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.story-step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  align-items: start;
  margin: 12px 0;
  padding: clamp(20px, 2.2vw, 24px);
}

.story-step span {
  color: var(--champagne);
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
}

.article-cta {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  margin-top: 54px;
  padding: clamp(24px, 3vw, 32px);
  background:
    radial-gradient(circle at 85% 15%, rgba(216, 190, 122, 0.105), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.014)),
    var(--surface-raised);
}

.mobile-sticky-cta {
  display: none;
}

/* Progressive enhancement: content stays visible if JS is blocked by file:// or browser policy. */
[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 520ms ease, transform 520ms ease;
}

body.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
}

body.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(300px, 0.86fr); }
  .story-grid,
  .rate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rate-card.premium { order: -1; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 132px; }

  .site-header {
    align-items: stretch;
    border-radius: 24px;
    flex-direction: column;
    gap: 8px;
    padding: 10px 10px 11px;
  }

  .brand {
    align-self: flex-start;
    padding-left: 6px;
    min-height: 38px;
  }

  .nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 2px 2px 4px;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, black 0%, black 88%, transparent 100%);
  }

  .nav::-webkit-scrollbar { display: none; }

  .nav a {
    min-height: 38px;
    padding: 8px 11px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(216, 190, 122, 0.08);
  }

  .hero,
  .section-heading,
  .media-slot,
  .image-feature,
  .article-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: clamp(38px, 7vw, 64px);
  }

  .hero-card { transform: none; }
  .hero-card:hover { transform: translateY(-3px); }

  .carousel {
    grid-template-columns: 1fr;
    margin-right: calc(var(--page-pad) * -1);
  }

  .carousel-btn { display: none; }

  .carousel-track {
    grid-auto-columns: minmax(238px, 76%);
    padding-inline: var(--carousel-edge-space, var(--page-pad));
    scrollbar-width: none;
  }

  .carousel-track::-webkit-scrollbar { display: none; }
  .carousel-hint { display: block; }

  .article-cta { display: grid; }
}

@media (max-width: 640px) {
  :root { --page-pad: 12px; }

  html { scroll-padding-top: 126px; }

  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }

  .section { padding: clamp(48px, 12vw, 76px) 0; }

  .hero { gap: 24px; }

  h1,
  .article-header h1 {
    font-size: clamp(2.45rem, 12vw, 3.65rem);
    line-height: 1.02;
  }

  h2 { font-size: clamp(1.92rem, 9vw, 3rem); }

  .lead { font-size: 1rem; }

  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 100%; }

  .story-grid,
  .rate-grid { grid-template-columns: 1fr; }

  .story-card,
  .rate-card,
  .feature-tile,
  .media-slot,
  .image-feature,
  .story-step,
  .article-cta,
  .split-cta,
  .media-card {
    border-radius: 16px;
  }

  .split-cta {
    display: grid;
    gap: 18px;
  }

  .split-cta .btn,
  .article-cta .btn { width: 100%; }

  .media-label {
    right: 10px;
    bottom: 10px;
    font-size: 0.68rem;
  }

  .article-shell { padding-top: 44px; }

  .article-meta-row span {
    flex: 1 1 100%;
    text-align: center;
  }

  .article-content {
    max-width: none;
    margin: 38px 0;
    font-size: 1rem;
  }

  .gallery-section,
  .story-stack { margin: 44px 0; }

  .story-step { grid-template-columns: 1fr; }
  .story-step span { font-size: 2.55rem; }

  .mobile-sticky-cta {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 8px;
    padding: 8px;
    background: rgba(13, 12, 10, 0.86);
    border: 1px solid var(--line-soft);
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .mobile-sticky-cta a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.2;
  }

  .mobile-sticky-cta .secondary {
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--line-soft);
  }

  .mobile-sticky-cta .primary {
    color: var(--ink-950);
    background: linear-gradient(180deg, var(--champagne-soft), var(--champagne));
  }
}

@media (max-width: 420px) {
  .site-header { margin-top: 10px; }

  .brand { font-size: 1.28rem; }

  .nav a {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 0.78rem;
  }

  h1,
  .article-header h1 { font-size: clamp(2.25rem, 13vw, 3.1rem); }

  .eyebrow,
  .meta,
  .slot-label {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .card-body,
  .story-card div,
  .rate-card,
  .feature-tile,
  .media-slot,
  .image-feature,
  .story-step,
  .article-cta,
  .split-cta {
    padding: 18px;
  }

  .gallery-grid { gap: 8px; }

  .carousel-track { grid-auto-columns: minmax(230px, 84%); }

  .mobile-sticky-cta { grid-template-columns: 0.92fr 1.08fr; }
  .mobile-sticky-cta a { font-size: 0.82rem; }
}

@media (hover: none) {
  .hero-card:hover,
  .story-card:hover,
  .rate-card:hover,
  .feature-tile:hover,
  .btn:hover,
  .nav a:hover,
  .carousel-btn:hover {
    transform: none;
  }
}

@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
  .orb { animation-duration: 28s; }
}

@media (max-width: 520px) {
  .orb {
    width: 72vw;
    filter: blur(48px);
    opacity: 0.1;
  }

  .grain { opacity: 0.025; }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Floating mascot contact + intermittent starlight microinteraction */
.starlight {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: var(--champagne-soft);
  box-shadow: 0 0 14px rgba(240, 223, 175, 0.72), 0 0 24px rgba(216, 190, 122, 0.22);
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.68);
  animation: starlightDrift 16s ease-in-out infinite;
  will-change: transform, opacity;
}

.star-a { left: 12%; top: 22%; animation-delay: -2s; }
.star-b { left: 28%; top: 74%; animation-delay: -11s; width: 2px; height: 2px; }
.star-c { left: 46%; top: 18%; animation-delay: -7s; }
.star-d { left: 68%; top: 66%; animation-delay: -14s; width: 2px; height: 2px; }
.star-e { left: 82%; top: 32%; animation-delay: -5s; }
.star-f { left: 91%; top: 82%; animation-delay: -18s; width: 2px; height: 2px; }

@keyframes starlightDrift {
  0%, 34%, 100% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.62) rotate(0deg); }
  42% { opacity: 0.58; transform: translate3d(10px, -18px, 0) scale(1) rotate(16deg); }
  49% { opacity: 0.24; transform: translate3d(18px, -30px, 0) scale(0.82) rotate(32deg); }
  56% { opacity: 0; transform: translate3d(28px, -48px, 0) scale(0.44) rotate(46deg); }
}

.mascot-routing-note {
  align-self: center;
  max-width: 320px;
  margin: 0;
  color: var(--faint);
  font-size: 0.88rem;
}

.floating-mascot {
  --mascot-size: clamp(156px, 16vw, 260px);
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 55;
  width: calc(var(--mascot-size) * 1.1);
  padding: 3%;
  border: 0;
  background: transparent;
  outline: none;
  pointer-events: auto;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.34));
  animation: mascotFloat 4.8s ease-in-out infinite;
  will-change: transform;
}

.floating-mascot::before {
  content: "";
  position: absolute;
  inset: 1%;
  border-radius: 34% 38% 28% 32%;
  background:
    radial-gradient(circle at 48% 70%, rgba(240, 223, 175, 0.2), transparent 56%),
    radial-gradient(circle at 40% 82%, rgba(216, 190, 122, 0.14), transparent 42%);
  opacity: 0;
  filter: blur(18px);
  transform: scale(0.94);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
}

.floating-mascot:hover::before,
.floating-mascot:focus-within::before,
.floating-mascot:focus-visible::before,
.floating-mascot.is-open::before {
  opacity: 1;
  transform: scale(1.03);
}

.mascot-stage {
  position: relative;
  min-height: calc(var(--mascot-size) * 1.02);
}

.mascot-visual {
  width: var(--mascot-size);
  height: auto;
  display: block;
  margin-left: auto;
  object-fit: contain;
  transform-origin: 56% 82%;
  animation: mascotOffer 2.8s ease-in-out infinite;
  transition: filter 220ms ease, transform 220ms ease;
  will-change: transform, filter;
}

.floating-mascot:hover .mascot-visual,
.floating-mascot:focus-within .mascot-visual,
.floating-mascot:focus-visible .mascot-visual,
.floating-mascot.is-open .mascot-visual {
  filter: drop-shadow(0 0 16px rgba(240, 223, 175, 0.36)) drop-shadow(0 12px 26px rgba(0, 0, 0, 0.32));
}

.mascot-speech {
  position: absolute;
  right: min(76%, 168px);
  top: 28%;
  z-index: 2;
  width: max-content;
  max-width: 168px;
  padding: 9px 12px;
  color: var(--ink-950);
  background: linear-gradient(180deg, rgba(240, 223, 175, 0.96), rgba(216, 190, 122, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px 999px 999px 8px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26), 0 0 18px rgba(216, 190, 122, 0.16);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.25;
  white-space: nowrap;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  animation: speechPulse 4.2s ease-in-out infinite;
  pointer-events: none;
}

.floating-mascot:hover .mascot-speech,
.floating-mascot:focus-within .mascot-speech,
.floating-mascot:focus-visible .mascot-speech,
.floating-mascot.is-open .mascot-speech {
  opacity: 0;
  visibility: hidden;
  transform: translate3d(8px, -4px, 0) scale(0.94);
}

.mascot-socials {
  position: absolute;
  right: calc(var(--mascot-size) * 0.76);
  top: 36%;
  z-index: 4;
  display: grid;
  gap: 9px;
  pointer-events: none;
}

.mascot-social {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  color: var(--champagne-soft);
  background: rgba(13, 12, 10, 0.88);
  border: 1px solid rgba(240, 223, 175, 0.42);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32), inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  text-decoration: none;
  opacity: 0;
  transform: translate3d(22px, 10px, 0) scale(0.64);
  transition: opacity 210ms ease, transform 260ms cubic-bezier(0.2, 0.9, 0.2, 1.2), background 180ms ease, border-color 180ms ease;
}

.mascot-social svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
}

.mascot-social svg path { fill: currentColor; stroke: none; }
.mascot-social span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.mascot-tt { transition-delay: 26ms; }

.floating-mascot:hover .mascot-social,
.floating-mascot:focus-within .mascot-social,
.floating-mascot:focus-visible .mascot-social,
.floating-mascot.is-open .mascot-social {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.mascot-social:hover,
.mascot-social:focus-visible {
  color: var(--ink-950);
  background: linear-gradient(180deg, var(--champagne-soft), var(--champagne));
  border-color: rgba(240, 223, 175, 0.78);
  transform: translate3d(-3px, -2px, 0) scale(1.06) !important;
}

@keyframes mascotFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

@keyframes mascotOffer {
  0%, 100% { transform: rotate(-0.35deg) translate3d(0, 0, 0); }
  50% { transform: rotate(0.65deg) translate3d(0, -4px, 0); }
}

@keyframes speechPulse {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -3px, 0); }
}

@media (max-width: 820px) {
  .floating-mascot {
    --mascot-size: clamp(118px, 30vw, 170px);
    bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .mascot-speech {
    right: min(72%, 118px);
    top: 24%;
    max-width: 126px;
    padding: 8px 10px;
    font-size: 0.68rem;
  }

  .mascot-socials {
    right: calc(var(--mascot-size) * 0.68);
    top: 32%;
  }

  .mascot-social {
    width: 42px;
    height: 42px;
  }

  .mascot-social svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 420px) {
  .floating-mascot {
    --mascot-size: clamp(106px, 35vw, 142px);
    right: 5px;
  }

  .mascot-speech {
    right: min(70%, 102px);
    top: 21%;
    max-width: 112px;
    font-size: 0.62rem;
  }

  .mascot-socials { gap: 7px; }
  .mascot-social { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .starlight,
  .floating-mascot,
  .mascot-visual,
  .mascot-speech {
    animation: none !important;
  }
}

/* v7: separate Journal / News route */
.nav a[aria-current="page"] {
  color: var(--champagne-soft);
  background: rgba(216, 190, 122, 0.07);
}

.story-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.story-card-link:focus-visible {
  outline: 3px solid rgba(216, 190, 122, 0.62);
  outline-offset: 4px;
}

.journal-landing {
  padding-bottom: clamp(28px, 5vw, 54px);
}

.journal-landing .section-heading {
  margin-bottom: clamp(24px, 5vw, 38px);
}

.journal-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.72fr);
  overflow: hidden;
  align-items: stretch;
}

.journal-feature .image-shell {
  min-height: 100%;
}

.journal-feature .image-shell img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 360ms ease, filter 360ms ease;
}

.journal-feature:hover .image-shell img,
.journal-feature:focus-within .image-shell img {
  transform: scale(1.025);
  filter: saturate(1.04) contrast(1.02);
}

.journal-grid .story-card {
  min-height: 100%;
}


/* v26.5.1: desktop-only frame-lab values from user selection.
   Scope: screens >= 900px only. Mobile/tablet-narrow rules below stay unchanged. */
@media (min-width: 900px) {
  .hero-select-section .hero-wheel {
    --wheel-frame-width: 830px;
    --wheel-height: 355px;
    --wheel-card-width: 330px;
    --wheel-card-min-height: 205px;
    --wheel-radius: 335px;
    --wheel-side-opacity: 0.7;
    --wheel-edge-fade: 18%;
    grid-template-columns: 48px minmax(0, var(--wheel-frame-width)) 48px;
    justify-content: center;
    max-width: calc(var(--wheel-frame-width) + 120px);
    margin-inline: auto;
  }

  .hero-select-section .wheel-viewport {
    width: min(100%, var(--wheel-frame-width));
    justify-self: center;
    mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 var(--wheel-edge-fade),
      #000 calc(100% - var(--wheel-edge-fade)),
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 var(--wheel-edge-fade),
      #000 calc(100% - var(--wheel-edge-fade)),
      transparent 100%
    );
  }
}

@media (max-width: 860px) {
  .journal-feature {
    grid-template-columns: 1fr;
  }

  .journal-feature .image-shell img {
    min-height: auto;
  }
}

/* v13: route pages + stronger intermittent sparkle system */
.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.page-hero {
  padding-bottom: clamp(26px, 4vw, 48px);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 5.4vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.quick-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(18px, 3vw, 28px);
}

.quick-stat-grid article,
.calendar-panel,
.booking-panel,
.campaign-showcase {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.014)),
    var(--surface-raised);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.quick-stat-grid article {
  padding: clamp(18px, 2.2vw, 24px);
}

.quick-stat-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--champagne);
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
}

.quick-stat-grid strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
}

.rate-grid-page .rate-card {
  min-height: 100%;
}

.utility-grid .feature-tile {
  min-height: 230px;
}

.campaign-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  overflow: hidden;
}

.campaign-showcase .image-shell img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: 18px;
  align-items: start;
  padding-top: 20px;
}

.calendar-panel,
.booking-panel {
  padding: clamp(18px, 2.5vw, 28px);
}

.calendar-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-bottom: 20px;
}

.calendar-badge {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: var(--ink-950);
  background: var(--champagne);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 900;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.day-name {
  color: var(--sage);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day {
  min-height: 82px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 9px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.032);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  font: inherit;
  text-align: left;
  cursor: default;
}

.calendar-day span {
  width: 100%;
  padding: 3px 6px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.calendar-day.available {
  border-color: rgba(216, 190, 122, 0.42);
  background: rgba(216, 190, 122, 0.07);
}

.calendar-day.available span { color: var(--ink-950); background: var(--champagne); }
.calendar-day.tentative { border-color: rgba(155, 154, 130, 0.42); }
.calendar-day.tentative span { color: var(--ink-950); background: var(--sage); }
.calendar-day.booked { opacity: 0.7; border-color: rgba(92, 48, 56, 0.6); }
.calendar-day.booked span { color: var(--text); background: rgba(92, 48, 56, 0.82); }
.calendar-day.empty { opacity: 0.22; }
.muted-day { color: var(--faint); }

.booking-panel ul {
  margin: 18px 0;
  padding-left: 20px;
  color: var(--muted);
}

.booking-panel li + li { margin-top: 8px; }

.calendar-legend {
  display: grid;
  gap: 8px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.calendar-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.available-dot { background: var(--champagne); }
.tentative-dot { background: var(--sage); }
.booked-dot { background: var(--claret); }

/* More visible but still intermittent, not a continuous glitter wall. */
.starlight,
.sparkle-particle {
  position: absolute;
  width: var(--sparkle-size, 3px);
  height: var(--sparkle-size, 3px);
  left: var(--sparkle-left, auto);
  top: var(--sparkle-top, auto);
  border-radius: 999px;
  background: var(--champagne-soft);
  box-shadow:
    0 0 10px rgba(240, 223, 175, 0.9),
    0 0 22px rgba(216, 190, 122, 0.48),
    0 0 44px rgba(216, 190, 122, 0.18);
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.62);
  animation: starlightDriftEnhanced var(--sparkle-duration, 9.5s) ease-in-out var(--sparkle-delay, 0s) infinite;
  will-change: transform, opacity;
}

.sparkle-particle::after {
  content: "";
  position: absolute;
  inset: -5px;
  background:
    linear-gradient(90deg, transparent 42%, rgba(240, 223, 175, 0.85) 50%, transparent 58%),
    linear-gradient(0deg, transparent 42%, rgba(240, 223, 175, 0.6) 50%, transparent 58%);
  opacity: 0.7;
  transform: rotate(var(--sparkle-rotate, 0deg));
}

@keyframes starlightDriftEnhanced {
  0%, 24%, 100% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.52) rotate(0deg); }
  32% { opacity: 0.78; transform: translate3d(8px, -12px, 0) scale(1.04) rotate(12deg); }
  39% { opacity: 0.42; transform: translate3d(18px, -24px, 0) scale(0.86) rotate(28deg); }
  48% { opacity: 0; transform: translate3d(30px, -42px, 0) scale(0.42) rotate(44deg); }
}

.star-a { left: 12%; top: 22%; animation-delay: -2s; --sparkle-duration: 8.5s; --sparkle-size: 4px; }
.star-b { left: 28%; top: 74%; animation-delay: -6s; --sparkle-duration: 10.2s; --sparkle-size: 3px; }
.star-c { left: 46%; top: 18%; animation-delay: -3.2s; --sparkle-duration: 9.1s; --sparkle-size: 4px; }
.star-d { left: 68%; top: 66%; animation-delay: -7.4s; --sparkle-duration: 11s; --sparkle-size: 3px; }
.star-e { left: 82%; top: 32%; animation-delay: -4.8s; --sparkle-duration: 8.8s; --sparkle-size: 4px; }
.star-f { left: 91%; top: 82%; animation-delay: -8.7s; --sparkle-duration: 10.8s; --sparkle-size: 3px; }

@media (max-width: 1040px) {
  .quick-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calendar-layout { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .campaign-showcase { grid-template-columns: 1fr; }
  .campaign-showcase .image-shell img { min-height: auto; }
}

@media (max-width: 640px) {
  .quick-stat-grid,
  .utility-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: clamp(2.28rem, 11vw, 3.45rem); }
  .calendar-panel,
  .booking-panel { border-radius: 16px; }
  .calendar-grid { gap: 6px; }
  .calendar-day {
    min-height: 64px;
    padding: 7px;
    border-radius: 11px;
    font-size: 0.82rem;
  }
  .calendar-day span { font-size: 0.54rem; padding: 3px 4px; }
  .day-name { font-size: 0.62rem; }
}

@media (max-width: 420px) {
  .calendar-day { min-height: 56px; }
  .calendar-day span { display: none; }
  .calendar-badge { display: none; }
}

.google-calendar-section { padding-top: 0; }

.google-calendar-shell {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 18% 18%, rgba(216, 190, 122, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    var(--surface);
  box-shadow: var(--shadow);
}

.google-calendar-shell iframe {
  display: block;
  width: 100%;
  min-height: min(680px, 76vh);
  border: 0;
}

.calendar-content-frame {
  display: grid;
  min-height: 420px;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: clamp(28px, 6vw, 72px);
  text-align: center;
}

.calendar-content-frame h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3.4rem);
}

.calendar-content-frame p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
}

/* v19: 3D circular hero-select carousel */
.hero-select-section {
  overflow: hidden;
}

.hero-wheel {
  --wheel-radius: clamp(260px, 32vw, 430px);
  --wheel-height: clamp(340px, 42vw, 460px);
  --wheel-frame-width: 100%;
  --wheel-card-width: min(330px, 72vw);
  --wheel-card-min-height: 220px;
  --wheel-side-opacity: 0.52;
  --wheel-edge-fade: 0%;
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 12px;
  align-items: center;
  min-height: var(--wheel-height);
  padding-block: 10px;
}

.wheel-viewport {
  position: relative;
  height: var(--wheel-height);
  perspective: 1120px;
  perspective-origin: 50% 46%;
  overflow: hidden;
  isolation: isolate;
  contain: layout paint style;
  border-radius: calc(var(--radius-xl) + 8px);
  background:
    radial-gradient(circle at 50% 45%, rgba(216, 190, 122, 0.11), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.006));
  border: 1px solid rgba(216, 190, 122, 0.13);
}

.wheel-viewport:focus-visible {
  outline: 2px solid rgba(240, 223, 175, 0.75);
  outline-offset: 4px;
}

.wheel-stage {
  --wheel-rotation: 0deg;
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: translate3d(0, 0, calc(var(--wheel-radius) * -1)) rotateY(var(--wheel-rotation));
  transition: transform 880ms cubic-bezier(0.2, 0.74, 0.2, 1);
  will-change: transform;
  backface-visibility: hidden;
}

.wheel-stage.is-dragging {
  transition: none;
  cursor: grabbing;
}

.wheel-card {
  --card-angle: calc(var(--i) * (360deg / var(--wheel-count)));
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--wheel-card-width);
  min-height: var(--wheel-card-min-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 2.4vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(216, 190, 122, 0.22);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.018) 28%, rgba(0, 0, 0, 0.11) 100%),
    radial-gradient(circle at 18% 10%, rgba(216, 190, 122, 0.17), transparent 30%),
    linear-gradient(180deg, rgba(31, 26, 18, 0.98), rgba(14, 12, 10, 0.98));
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.42),
    0 10px 26px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.105),
    inset 0 -18px 32px rgba(0, 0, 0, 0.18);
  backface-visibility: hidden;
  /* v26.5: real 3D ring panels.
     Removed per-card counter-rotation tied to --wheel-rotation; Chrome was repainting every card
     every frame and producing glow/ghost flicker on PC/tablet. */
  transform:
    translate3d(-50%, -50%, 0)
    rotateY(var(--card-angle))
    translateZ(var(--wheel-radius));
  opacity: var(--wheel-side-opacity);
  filter: saturate(0.9) brightness(0.82);
  transition: opacity 280ms ease, filter 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
  transform-origin: center center;
  contain: paint;
}

.wheel-card::before,
.wheel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

.wheel-card::before {
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.16), transparent 22%, transparent 72%, rgba(216, 190, 122, 0.08)),
    radial-gradient(circle at 18% 13%, rgba(240, 223, 175, 0.18), transparent 24%);
  opacity: 0.62;
  mix-blend-mode: screen;
}

.wheel-card::after {
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  box-shadow:
    inset 10px 0 24px rgba(255, 255, 255, 0.035),
    inset -12px -14px 28px rgba(0, 0, 0, 0.22);
}

.wheel-card > * {
  position: relative;
  z-index: 1;
}

.wheel-card .tile-kicker {
  align-self: flex-start;
  margin-bottom: 22px;
  min-width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(216, 190, 122, 0.18), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(216, 190, 122, 0.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 12px 22px rgba(0,0,0,0.2);
  font-size: 1.78rem;
}

.wheel-card.is-active {
  opacity: 1;
  filter: saturate(1.04) brightness(1.03);
  border-color: rgba(240, 223, 175, 0.56);
  box-shadow:
    0 36px 86px rgba(0, 0, 0, 0.48),
    0 14px 34px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(216, 190, 122, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -20px 34px rgba(0, 0, 0, 0.2);
}

.wheel-card h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.3vw, 2.1rem);
}

.wheel-card p {
  max-width: 17rem;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.wheel-btn {
  position: relative;
  z-index: 3;
  width: 48px;
  height: 48px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.wheel-btn:hover,
.wheel-btn:focus-visible {
  background: rgba(216, 190, 122, 0.09);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

/* v19: transparent fullbody mascot sizing */
.floating-mascot {
  --mascot-size: clamp(92px, 7.4vw, 142px);
  width: calc(var(--mascot-size) * 1.55);
}

.mascot-stage {
  min-height: calc(var(--mascot-size) * 2.08);
}

.mascot-visual {
  width: var(--mascot-size);
  background: transparent !important;
}

.mascot-speech {
  right: min(72%, 132px);
  top: 42%;
}

.mascot-socials {
  right: calc(var(--mascot-size) * 0.82);
  top: 38%;
}

@media (max-width: 860px) {
  .hero-wheel {
    --wheel-radius: clamp(210px, 62vw, 330px);
    --wheel-height: 360px;
    grid-template-columns: 1fr;
  }

  .wheel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .wheel-prev { left: 8px; }
  .wheel-next { right: 8px; }

  .wheel-btn:hover,
  .wheel-btn:focus-visible { transform: translateY(calc(-50% - 2px)); }

  .wheel-card {
    width: min(270px, 74vw);
    min-height: 198px;
  }
}

@media (max-width: 520px) {
  .hero-wheel {
    --wheel-radius: 232px;
    --wheel-height: 330px;
  }

  .wheel-card {
    width: min(238px, 72vw);
    min-height: 184px;
  }

  .floating-mascot {
    --mascot-size: clamp(78px, 22vw, 108px);
    right: 8px;
    bottom: calc(10px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .wheel-stage,
  .wheel-card {
    transition: none !important;
  }
}

/* v20: browser-edge mascot placement + bubble-origin social fanout */
.floating-mascot {
  --mascot-size: clamp(126px, 8.6vw, 174px);
  right: max(8px, env(safe-area-inset-right));
  bottom: max(-2px, env(safe-area-inset-bottom));
  width: calc(var(--mascot-size) * 1.06);
  padding: max(6px, calc(var(--mascot-size) * 0.03));
  transform-origin: 70% 100%;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.42));
}

.floating-mascot::before {
  inset: 10% 2% 0 18%;
  border-radius: 48% 40% 18% 22%;
}

.mascot-stage {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: calc(var(--mascot-size) * 2.06);
}

.mascot-visual {
  width: var(--mascot-size);
  max-width: none;
  margin-left: auto;
  transform-origin: 58% 98%;
}

.mascot-speech {
  right: calc(var(--mascot-size) * 0.58);
  top: 54%;
  transform: translate3d(0, -50%, 0);
  max-width: 178px;
  padding: 10px 14px;
  border-radius: 999px 999px 12px 999px;
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.32),
    0 0 22px rgba(216, 190, 122, 0.16);
}

.mascot-speech::after {
  content: "";
  position: absolute;
  right: 34%;
  bottom: -9px;
  width: 18px;
  height: 12px;
  background: linear-gradient(180deg, rgba(216, 190, 122, 0.98), rgba(240, 223, 175, 0.94));
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  border: 0;
  border-radius: 0 0 3px 3px;
  filter: drop-shadow(0 6px 7px rgba(0, 0, 0, 0.22));
  transform: none;
}

.floating-mascot:hover .mascot-speech,
.floating-mascot:focus-within .mascot-speech,
.floating-mascot:focus-visible .mascot-speech,
.floating-mascot.is-open .mascot-speech {
  transform: translate3d(8px, -54%, 0) scale(0.96);
}

.mascot-socials {
  right: calc(var(--mascot-size) * 0.78);
  top: 16%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  transform: translate3d(0, 0, 0);
}

.mascot-social {
  width: 46px;
  height: 46px;
  opacity: 0;
  transform: translate3d(54px, 68px, 0) scale(0.62);
  transition:
    opacity 210ms ease,
    transform 330ms cubic-bezier(0.16, 0.92, 0.2, 1.12),
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.mascot-tt {
  transition-delay: 42ms;
  transform: translate3d(42px, 78px, 0) scale(0.62);
}

.floating-mascot:hover .mascot-social,
.floating-mascot:focus-within .mascot-social,
.floating-mascot:focus-visible .mascot-social,
.floating-mascot.is-open .mascot-social {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.mascot-social:hover,
.mascot-social:focus-visible {
  transform: translate3d(0, -2px, 0) scale(1.04) !important;
}

@media (max-width: 820px) {
  .floating-mascot {
    --mascot-size: clamp(104px, 23vw, 142px);
    right: max(4px, env(safe-area-inset-right));
    bottom: max(-2px, env(safe-area-inset-bottom));
  }

  .mascot-speech {
    right: calc(var(--mascot-size) * 0.54);
    top: 55%;
    max-width: 142px;
    padding: 8px 11px;
    font-size: 0.68rem;
  }

  .mascot-socials {
    right: calc(var(--mascot-size) * 0.72);
    top: 13%;
    gap: 8px;
  }

  .mascot-social {
    width: 42px;
    height: 42px;
    transform: translate3d(42px, 58px, 0) scale(0.64);
  }

  .mascot-tt {
    transform: translate3d(32px, 66px, 0) scale(0.64);
  }
}

@media (max-width: 520px) {
  .floating-mascot {
    --mascot-size: clamp(92px, 25vw, 118px);
    right: max(2px, env(safe-area-inset-right));
    bottom: max(-2px, env(safe-area-inset-bottom));
  }

  .mascot-speech {
    right: calc(var(--mascot-size) * 0.50);
    top: 56%;
    max-width: 122px;
    font-size: 0.62rem;
    padding: 7px 10px;
  }

  .mascot-socials {
    right: calc(var(--mascot-size) * 0.68);
    top: 12%;
  }

  .mascot-social {
    width: 38px;
    height: 38px;
  }

  .mascot-social svg {
    width: 18px;
    height: 18px;
  }
}

/* v26: live mobile polish, visible ambience, parent menu, continuous exhibition wheel */
.ambient-bg {
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 10%, rgba(216, 190, 122, 0.075), transparent 30%),
    radial-gradient(circle at 86% 24%, rgba(92, 48, 56, 0.11), transparent 32%),
    radial-gradient(circle at 50% 92%, rgba(164, 130, 69, 0.06), transparent 38%),
    linear-gradient(135deg, var(--ink-950) 0%, var(--ink-900) 52%, var(--ink-950) 100%);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header { z-index: 30; }
.floating-mascot { z-index: 70; }

.starlight,
.sparkle-particle {
  mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255, 247, 217, 1) 0 22%, rgba(240, 223, 175, 0.78) 23% 42%, rgba(216, 190, 122, 0.02) 72%);
  box-shadow:
    0 0 12px rgba(240, 223, 175, 0.95),
    0 0 30px rgba(216, 190, 122, 0.58),
    0 0 58px rgba(216, 190, 122, 0.22);
  animation-name: starlightDriftVisible;
}

.sparkle-particle::after {
  inset: -7px;
  opacity: 0.88;
}

@keyframes starlightDriftVisible {
  0%, 15%, 46%, 100% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.48) rotate(0deg); }
  20% { opacity: 0.96; transform: translate3d(7px, -10px, 0) scale(1.12) rotate(16deg); }
  29% { opacity: 0.36; transform: translate3d(17px, -22px, 0) scale(0.78) rotate(34deg); }
  38% { opacity: 0; transform: translate3d(29px, -40px, 0) scale(0.42) rotate(48deg); }
  63% { opacity: 0.74; transform: translate3d(-6px, -9px, 0) scale(0.96) rotate(-18deg); }
  72% { opacity: 0.18; transform: translate3d(-14px, -18px, 0) scale(0.7) rotate(-32deg); }
  82% { opacity: 0; transform: translate3d(-24px, -30px, 0) scale(0.4) rotate(-44deg); }
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  color: var(--text);
  background: rgba(216, 190, 122, 0.08);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  color: var(--champagne-soft);
  background: rgba(216, 190, 122, 0.13);
  border-color: var(--line-strong);
}

.nav-toggle-mark,
.nav-toggle-mark::before,
.nav-toggle-mark::after {
  display: block;
  width: 14px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle-mark {
  position: relative;
}

.nav-toggle-mark::before,
.nav-toggle-mark::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-mark::before { top: -5px; }
.nav-toggle-mark::after { top: 5px; }

.site-header.is-menu-open .nav-toggle-mark { background: transparent; }
.site-header.is-menu-open .nav-toggle-mark::before { transform: translateY(5px) rotate(45deg); }
.site-header.is-menu-open .nav-toggle-mark::after { transform: translateY(-5px) rotate(-45deg); }

.wheel-stage.is-continuous {
  transition: none;
}

.wheel-viewport {
  touch-action: pan-y;
}

.mobile-sticky-cta {
  display: none !important;
}

@media (max-width: 820px) {
  html { scroll-padding-top: 106px; }

  .site-header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    border-radius: 24px;
    padding: 10px;
  }

  .brand {
    min-height: 40px;
    padding-left: 6px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  body.menu-ready .site-header .nav {
    display: none;
    flex: 0 0 100%;
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 6px 0 0;
    overflow: visible;
    mask-image: none;
  }

  body.menu-ready .site-header.is-menu-open .nav {
    display: grid;
  }

  body.menu-ready .site-header .nav a {
    width: 100%;
    justify-content: flex-start;
    min-height: 44px;
    padding: 10px 13px;
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.028);
  }

  body.menu-ready .site-header .nav a[aria-current="page"] {
    background: rgba(216, 190, 122, 0.12);
    border-color: rgba(216, 190, 122, 0.22);
  }
}

@media (max-width: 640px) {
  body { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }

  .site-header {
    width: min(var(--container), calc(100% - 18px));
    margin-top: max(8px, env(safe-area-inset-top));
  }

  .nav-toggle-label { font-size: 0.82rem; }

  .sparkle-particle:nth-of-type(3n) {
    --sparkle-size: 4px;
  }
}

@media (max-width: 420px) {
  .nav a {
    min-height: 42px;
    padding: 9px 12px;
    font-size: 0.82rem;
  }
}


/* v26.5: PC/tablet carousel stability patch from v26 baseline.
   Scope: only the 3D circular selection carousel. Sparkles stay in the background layer;
   the carousel itself paints as a stable, opaque component so bg stars do not flash through cards. */
.hero-select-section {
  position: relative;
  z-index: 2;
  isolation: isolate;
}

.hero-select-section .wheel-viewport {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.006)),
    rgba(9, 8, 6, 0.62);
  transform: translateZ(0);
}

.hero-select-section .wheel-stage {
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.hero-select-section .wheel-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.018) 28%, rgba(0, 0, 0, 0.11) 100%),
    radial-gradient(circle at 18% 10%, rgba(216, 190, 122, 0.17), transparent 30%),
    linear-gradient(180deg, rgba(31, 26, 18, 0.98), rgba(14, 12, 10, 0.98));
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.42),
    0 10px 26px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.105),
    inset 0 -18px 32px rgba(0, 0, 0, 0.18);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hero-select-section .wheel-stage.is-auto-rotating .wheel-card,
.hero-select-section .wheel-stage.is-auto-rotating .wheel-card.is-active {
  opacity: var(--wheel-side-opacity);
  filter: saturate(0.9) brightness(0.82);
  border-color: rgba(216, 190, 122, 0.22);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.42),
    0 10px 26px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.105),
    inset 0 -18px 32px rgba(0, 0, 0, 0.18);
  transition: none;
}

.hero-select-section .wheel-stage:not(.is-auto-rotating) .wheel-card.is-active {
  opacity: 1;
  filter: saturate(1.03) brightness(1.02);
  border-color: rgba(240, 223, 175, 0.56);
  box-shadow:
    0 36px 86px rgba(0, 0, 0, 0.48),
    0 14px 34px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(216, 190, 122, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -20px 34px rgba(0, 0, 0, 0.2);
}


/* v26.5.2: premium rounded 3D wheel cards.
   Scope: visual treatment only; desktop frame values and wheel speed from v26.5.1 remain unchanged. */

/* v26.5.3: Impeccable UI pass — premium dimensional cards for 3D Circular Selection.
   Visual-only patch. Does not change wheel geometry, desktop values, rotation speed, or interaction logic. */
.hero-select-section .wheel-card {
  border-radius: 34px;
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid rgba(216, 190, 122, 0.24);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.105) 0%, rgba(255,255,255,0.03) 22%, rgba(0,0,0,0.14) 100%),
    radial-gradient(circle at 18% 12%, rgba(240, 223, 175, 0.22), transparent 28%),
    radial-gradient(circle at 90% 90%, rgba(92, 48, 56, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(34, 29, 21, 0.985), rgba(12, 10, 8, 0.985));
  box-shadow:
    0 34px 78px rgba(0, 0, 0, 0.48),
    0 14px 30px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -24px 42px rgba(0, 0, 0, 0.24),
    inset 16px 0 38px rgba(255, 255, 255, 0.026);
}

.hero-select-section .wheel-card::before {
  background:
    linear-gradient(124deg, rgba(255,255,255,0.18) 0%, transparent 23%, transparent 72%, rgba(216,190,122,0.09) 100%),
    radial-gradient(circle at 16% 10%, rgba(240,223,175,0.2), transparent 23%),
    linear-gradient(90deg, rgba(216,190,122,0.13), transparent 18%, transparent 82%, rgba(0,0,0,0.18));
  opacity: 0.7;
  mix-blend-mode: normal;
}

.hero-select-section .wheel-card::after {
  inset: 1px;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow:
    inset 12px 0 26px rgba(255,255,255,0.04),
    inset -16px -18px 34px rgba(0,0,0,0.28),
    inset 0 0 0 1px rgba(216,190,122,0.035);
}

.hero-select-section .wheel-card .tile-kicker {
  width: 60px;
  height: 60px;
  min-width: 60px;
  margin-bottom: 24px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(216,190,122,0.24), rgba(255,255,255,0.04)),
    rgba(20, 18, 15, 0.72);
  border: 1px solid rgba(216,190,122,0.32);
  box-shadow:
    0 16px 28px rgba(0,0,0,0.24),
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -10px 18px rgba(0,0,0,0.18);
  color: var(--champagne-soft);
}

.hero-select-section .wheel-card h3 {
  letter-spacing: -0.02em;
  text-shadow: 0 1px 0 rgba(0,0,0,0.4);
}

.hero-select-section .wheel-card p {
  color: rgba(245, 240, 232, 0.68);
}

.hero-select-section .wheel-stage.is-auto-rotating .wheel-card,
.hero-select-section .wheel-stage.is-auto-rotating .wheel-card.is-active {
  border-color: rgba(216, 190, 122, 0.24);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.105) 0%, rgba(255,255,255,0.03) 22%, rgba(0,0,0,0.14) 100%),
    radial-gradient(circle at 18% 12%, rgba(240, 223, 175, 0.22), transparent 28%),
    radial-gradient(circle at 90% 90%, rgba(92, 48, 56, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(34, 29, 21, 0.985), rgba(12, 10, 8, 0.985));
  box-shadow:
    0 34px 78px rgba(0, 0, 0, 0.48),
    0 14px 30px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -24px 42px rgba(0, 0, 0, 0.24),
    inset 16px 0 38px rgba(255, 255, 255, 0.026);
}

.hero-select-section .wheel-stage:not(.is-auto-rotating) .wheel-card.is-active {
  border-color: rgba(240, 223, 175, 0.58);
  box-shadow:
    0 38px 90px rgba(0, 0, 0, 0.54),
    0 18px 38px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(216,190,122,0.08),
    inset 0 1px 0 rgba(255,255,255,0.14),
    inset 0 -24px 42px rgba(0,0,0,0.26),
    inset 16px 0 38px rgba(255,255,255,0.03);
}

@media (max-width: 520px) {
  .hero-select-section .wheel-card {
    border-radius: 28px;
    padding: 22px;
  }

  .hero-select-section .wheel-card .tile-kicker {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 18px;
    margin-bottom: 18px;
  }
}

/* v26.5.4: Header/footer logo system + LuxProGlam card logo pass.
   Base: v26.5.3. Scope: brand presentation, footer directory, logo assets, and non-geometry card styling only. */

:root {
  --font-logo: "Kulachat HC", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-thai-ui: "Prompt", "Noto Sans Thai", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Prompt", "Noto Sans Thai", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.site-header {
  min-height: 86px;
  padding: 14px 18px 14px 24px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(13, 12, 10, 0.92), rgba(13, 12, 10, 0.76)),
    radial-gradient(circle at 18% 0%, rgba(216, 190, 122, 0.09), transparent 38%);
  border-color: rgba(216, 190, 122, 0.16);
}

.brand-logo {
  min-height: 54px;
  padding: 0;
  font-family: var(--font-logo);
}

.brand-logo img {
  width: clamp(134px, 15vw, 198px);
  height: auto;
  max-height: 60px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4));
}

.nav a,
.nav-toggle,
.btn,
.text-link,
.rate-card,
.story-card,
.wheel-card,
.footer-link-group {
  font-family: var(--font-thai-ui);
}

.nav a {
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid transparent;
  letter-spacing: -0.01em;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--champagne-soft);
  background: rgba(216, 190, 122, 0.085);
  border-color: rgba(216, 190, 122, 0.14);
}

.nav a[aria-current="page"] {
  color: var(--champagne-soft);
  background:
    linear-gradient(180deg, rgba(216, 190, 122, 0.14), rgba(216, 190, 122, 0.075));
  border-color: rgba(216, 190, 122, 0.18);
}

.wheel-card-logo {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  width: clamp(76px, 7vw, 106px);
  height: auto;
  opacity: 0.24;
  pointer-events: none;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.44));
}

.hero-select-section .wheel-card:not(.is-active) .wheel-card-logo {
  opacity: 0.16;
}

.hero-select-section .wheel-stage:not(.is-auto-rotating) .wheel-card.is-active .wheel-card-logo {
  opacity: 0.36;
}

.footer-directory {
  width: 100%;
  max-width: none;
  margin: clamp(36px, 7vw, 86px) 0 0;
  padding: clamp(34px, 5vw, 64px) var(--page-pad) calc(44px + env(safe-area-inset-bottom));
  color: var(--text);
  border-top: 1px solid rgba(216, 190, 122, 0.18);
  background:
    radial-gradient(circle at 16% 0%, rgba(216, 190, 122, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(20, 18, 15, 0.96), rgba(8, 7, 6, 0.98) 62%, rgba(17, 14, 10, 0.98));
}

.footer-directory > * {
  width: min(var(--container), 100%);
  margin-left: auto;
  margin-right: auto;
}

.footer-brand-panel {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(22px, 4vw, 56px);
  padding-bottom: clamp(28px, 4vw, 48px);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-logo img {
  width: clamp(154px, 18vw, 260px);
  height: auto;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.48));
}

.footer-brand-panel p {
  max-width: 520px;
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.75;
  text-align: right;
}

.footer-link-panel {
  display: grid;
  grid-template-columns: 1fr 1fr minmax(220px, 0.9fr);
  gap: clamp(28px, 5vw, 84px);
  padding-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid rgba(216, 190, 122, 0.13);
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.footer-link-group h2 {
  margin: 0 0 6px;
  color: var(--champagne-soft);
  font-family: var(--font-thai-ui);
  font-size: clamp(1.05rem, 1.7vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-link-group a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  font-weight: 650;
  line-height: 1.25;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-link-group a:hover,
.footer-link-group a:focus-visible {
  color: var(--champagne-soft);
  transform: translateX(4px);
}

.footer-social-row {
  display: flex;
  gap: 14px;
  margin-top: 6px;
}

.footer-social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--ink-950);
  background: linear-gradient(180deg, var(--champagne-soft), var(--champagne));
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.26);
}

.footer-social-row a:hover,
.footer-social-row a:focus-visible {
  transform: translateY(-3px);
}

.footer-directory .meta {
  margin-top: 18px;
  color: var(--faint);
}

@media (min-width: 821px) and (max-width: 1100px) {
  .site-header {
    min-height: 78px;
    padding-inline: 18px;
  }

  .brand-logo img {
    width: clamp(132px, 18vw, 176px);
  }

  .nav a {
    padding-inline: 12px;
    font-size: 0.82rem;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: auto;
    padding: 10px;
  }

  .brand-logo {
    min-height: 42px;
    padding-left: 2px;
  }

  .brand-logo img {
    width: clamp(112px, 38vw, 150px);
    max-height: 46px;
  }

  .footer-brand-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-brand-panel p {
    text-align: left;
  }

  .footer-link-panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-link-group a {
    min-height: 36px;
  }

  .wheel-card-logo {
    width: 70px;
    top: 18px;
    right: 18px;
  }
}

/* v26.5.5 — brand/logo/font/layout/security review patch */
:root {
  --font-thai: "Prompt", "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Noto Sans Thai", "Prompt", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ui: "Prompt", "Noto Sans Thai", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", "Marcellus", Georgia, serif;
}

body,
button,
input,
textarea,
select {
  font-family: var(--font-body);
}

h1,
.hero-title,
.section-heading h2,
.page-hero h1 {
  font-family: var(--font-display);
}

.site-nav,
.btn,
.eyebrow,
.meta,
.mobile-menu-button,
.admin-panel label {
  font-family: var(--font-ui);
}

.brand-logo img,
.footer-logo img {
  display: block;
  width: auto;
  height: clamp(48px, 6vw, 76px);
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(227, 189, 113, .18));
}

.brand-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  min-width: clamp(150px, 18vw, 238px);
}

.wheel-card-logo {
  width: clamp(74px, 9vw, 118px);
  max-height: 76px;
  object-fit: contain;
  opacity: .9;
  filter: drop-shadow(0 10px 18px rgba(228, 194, 117, .12));
}

.rate-bridge {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.rate-bridge .compact-card {
  min-height: auto;
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.015)),
    radial-gradient(circle at 18% 0%, rgba(231,196,119,.18), transparent 36%);
  box-shadow: 0 22px 60px rgba(0,0,0,.25);
}

.hero-select-section {
  margin-top: clamp(70px, 10vw, 130px);
  margin-bottom: clamp(60px, 8vw, 120px);
}

.hero-select-section .section-heading {
  max-width: 760px;
}

.footer-map {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(130px, 1fr));
  gap: clamp(20px, 4vw, 54px);
  align-items: start;
}

.footer-map h3,
.footer-map .footer-heading {
  margin: 0 0 14px;
  color: #f5e4b6;
  font-family: var(--font-ui);
  font-size: .88rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-map a,
.footer-map p {
  color: rgba(246,239,222,.72);
  line-height: 1.85;
}

@media (max-width: 860px) {
  .brand-logo img { height: 48px; }
  .brand-logo { min-width: 140px; }
  .rate-bridge { grid-template-columns: 1fr; }
  .footer-map { grid-template-columns: 1fr; }
}


/* === v26.5.8 asset + UI correction patch ===
   Purpose: preserve exact LUXPRO GLAM logo color/visibility, replace footer text pills
   with the same visual icon language as mascot contact, and size the new generated
   mascot safely across desktop/tablet/mobile. */
.brand-logo,
.footer-brand-logo,
.rate-brand-logo,
.card-logo,
.wheel-card-logo {
  filter: none !important;
}

.brand-logo img,
.footer-brand-logo img,
.rate-brand-logo img,
.card-logo img,
.wheel-card-logo img {
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  filter: drop-shadow(0 12px 28px rgba(216, 178, 91, 0.18)) !important;
  object-fit: contain;
}

.brand-logo img {
  width: clamp(132px, 15vw, 190px);
  max-height: 74px;
}

.footer-brand-logo img {
  width: clamp(132px, 14vw, 188px);
  max-height: 86px;
}

.footer-social-row a {
  color: #171107 !important;
  text-decoration: none;
}

.footer-social-row .social-svg {
  width: 21px;
  height: 21px;
  display: block;
  stroke-width: 2.2;
}

.floating-mascot {
  right: max(8px, env(safe-area-inset-right));
  bottom: max(0px, env(safe-area-inset-bottom));
  width: clamp(128px, 12.6vw, 214px);
  z-index: 70;
}

.floating-mascot .mascot-image,
.floating-mascot img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
}

.mascot-bubble {
  top: clamp(-58px, -4.6vw, -42px);
  right: clamp(16px, 3vw, 44px);
}

@media (min-width: 821px) and (max-width: 1180px) {
  .floating-mascot {
    width: clamp(122px, 15vw, 176px);
  }
}

@media (max-width: 820px) {
  .brand-logo img {
    width: clamp(112px, 42vw, 156px);
    max-height: 54px;
  }

  .footer-brand-logo img {
    width: clamp(118px, 44vw, 164px);
    max-height: 72px;
  }

  .floating-mascot {
    width: clamp(104px, 31vw, 138px);
    right: 4px;
  }

  .mascot-bubble {
    top: -42px;
    right: 8px;
  }
}

/* === v26.5.9 — tight logo asset + header/footer size correction ===
   Scope: header/footer logo only. Navigation buttons and CTA button sizing are untouched. */
.brand-logo,
.footer-logo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.site-header .brand-logo {
  min-width: clamp(116px, 8.5vw, 154px) !important;
  min-height: clamp(58px, 4.8vw, 76px) !important;
}

.site-header .brand-logo img,
.brand-logo img {
  display: block !important;
  width: auto !important;
  height: clamp(58px, 4.8vw, 76px) !important;
  max-width: clamp(116px, 9.6vw, 164px) !important;
  max-height: 76px !important;
  object-fit: contain !important;
  object-position: center !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  filter:
    drop-shadow(0 10px 22px rgba(0, 0, 0, 0.38))
    drop-shadow(0 0 14px rgba(253, 219, 148, 0.10)) !important;
}

.footer-directory .footer-logo {
  min-width: clamp(152px, 11vw, 214px) !important;
  min-height: clamp(82px, 7vw, 118px) !important;
}

.footer-directory .footer-logo img,
.footer-logo img {
  display: block !important;
  width: auto !important;
  height: clamp(82px, 7vw, 118px) !important;
  max-width: clamp(152px, 13vw, 224px) !important;
  max-height: 118px !important;
  object-fit: contain !important;
  object-position: center !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  filter:
    drop-shadow(0 14px 30px rgba(0, 0, 0, 0.44))
    drop-shadow(0 0 16px rgba(253, 219, 148, 0.12)) !important;
}

@media (max-width: 820px) {
  .site-header .brand-logo {
    min-width: clamp(100px, 24vw, 132px) !important;
    min-height: clamp(48px, 12vw, 60px) !important;
  }

  .site-header .brand-logo img,
  .brand-logo img {
    height: clamp(48px, 12vw, 60px) !important;
    max-width: clamp(100px, 28vw, 138px) !important;
    max-height: 60px !important;
  }

  .footer-directory .footer-logo {
    min-width: clamp(126px, 34vw, 164px) !important;
    min-height: clamp(68px, 19vw, 90px) !important;
  }

  .footer-directory .footer-logo img,
  .footer-logo img {
    height: clamp(68px, 19vw, 90px) !important;
    max-width: clamp(126px, 38vw, 170px) !important;
    max-height: 90px !important;
  }
}


/* v26.5.23-gapfix: adaptive 3D Circular Selection gap.
   Content Drop can increase Featured Slots count. These variables let hero-wheel.js
   expand the 3D ring radius from card width + desired gap instead of relying on one
   fixed radius that may crowd cards when item count changes. */
.hero-select-section .hero-wheel {
  --wheel-card-gap: clamp(56px, 7vw, 92px);
  --wheel-radius-min: var(--wheel-radius);
}

@media (min-width: 900px) {
  .hero-select-section .hero-wheel {
    --wheel-frame-width: clamp(830px, 74vw, 960px);
    --wheel-height: clamp(355px, 32vw, 410px);
    --wheel-card-width: clamp(300px, 27vw, 330px);
    --wheel-card-min-height: 214px;
    --wheel-card-gap: clamp(76px, 7.5vw, 104px);
    --wheel-radius-min: 335px;
    --wheel-edge-fade: clamp(16%, 2.2vw, 24%);
    max-width: min(100%, calc(var(--wheel-frame-width) + 120px));
  }
}

@media (max-width: 899px) {
  .hero-select-section .hero-wheel {
    --wheel-card-gap: clamp(34px, 8vw, 72px);
    --wheel-radius-min: clamp(220px, 58vw, 330px);
  }
}

@media (max-width: 520px) {
  .hero-select-section .hero-wheel {
    --wheel-card-width: min(286px, 76vw);
    --wheel-card-gap: 28px;
    --wheel-radius-min: 232px;
  }
}


/* === v26.5.24 public font normalization ===
   Goal: Thai-English mixed copy must stay balanced, especially slang, restaurant names,
   campaign titles, and short UI labels. Display serif is reserved for short English-led
   luxury moments only; Thai-led or mixed TH/EN headings use the UI/body stack. */
:root {
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Noto Sans Thai", "Prompt", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ui: "Prompt", "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-thai: "Noto Sans Thai", "Prompt", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-logo: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

body,
button,
input,
textarea,
select,
.article-content,
.card-body,
.story-card,
.wheel-card,
.footer-link-group,
.mascot-speech {
  font-family: var(--font-body);
}

.nav a,
.nav-toggle,
.btn,
.text-link,
.eyebrow,
.meta,
.slot-label,
.price,
.footer-link-group h2 {
  font-family: var(--font-ui);
}

h1,
h2,
.article-header h1,
.page-hero h1,
.section-heading h2 {
  font-family: var(--font-display);
}

/* Thai-led or mixed TH/EN headings: use sans stack to avoid Latin looking oversized. */
:lang(th) .section-heading h1,
:lang(th) .section-heading h2,
:lang(th) .article-header h1,
:lang(th) .page-hero h1,
#addons-title,
.rate-card h3,
.story-card h3,
.wheel-card h3,
.card-body h2,
.card-body h3,
.journal-feature h2,
.campaign-showcase h2 {
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.16;
}

/* Keep the main English hero editorial. */
.hero #hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
}

/* Mixed Thai + English inline words/slang should not jump in size. */
.article-content p,
.lead,
.section-heading p,
.card-body p,
.story-card p,
.wheel-card p {
  font-size-adjust: 0.53;
  word-break: normal;
  overflow-wrap: anywhere;
}

/* v26.5.29: continuous production wheel + adaptive spacing cleanup.
   Auto rotation stays fluid; drag and button interactions snap to the nearest card. */
.hero-select-section .hero-wheel {
  --wheel-card-gap: clamp(96px, 9vw, 150px);
  --wheel-radius-min: clamp(360px, 43vw, 650px);
  --wheel-frame-width: min(100%, 1180px);
  --wheel-card-width: clamp(292px, 28vw, 380px);
  --wheel-card-min-height: clamp(218px, 23vw, 292px);
  --wheel-side-opacity: 0.34;
  --wheel-edge-fade: clamp(42px, 8vw, 120px);
}

.hero-select-section .wheel-viewport {
  width: min(100%, var(--wheel-frame-width));
  margin-inline: auto;
  perspective: 1450px;
}

.hero-select-section .wheel-stage {
  transition: transform 980ms cubic-bezier(0.18, 0.78, 0.2, 1);
}

.hero-select-section .wheel-stage.is-continuous {
  transition: transform 980ms cubic-bezier(0.18, 0.78, 0.2, 1);
}

.hero-select-section .wheel-card {
  opacity: var(--wheel-side-opacity);
}

.hero-select-section .wheel-card.is-active {
  opacity: 1;
  filter: saturate(1.03) brightness(1.02);
  border-color: rgba(240, 223, 175, 0.58);
}

@media (max-width: 720px) {
  .hero-select-section .hero-wheel {
    --wheel-card-gap: 74px;
    --wheel-radius-min: 292px;
    --wheel-card-width: min(292px, 76vw);
    --wheel-card-min-height: 226px;
    --wheel-edge-fade: 28px;
  }
}

/* v26.5.29: local full-frame media with platform actions. */
.local-media-section {
  margin: 44px 0 54px;
}

.local-media-section .section-heading.compact {
  max-width: 920px;
}

.platform-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.platform-button {
  min-height: 42px;
}

.local-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
  gap: clamp(16px, 2.2vw, 26px);
  align-items: stretch;
}

.local-media-card {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.036), rgba(255, 255, 255, 0.014)),
    var(--surface-raised);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.local-media-card:first-child {
  grid-row: span 2;
}

.local-media-visual {
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.28);
}

.local-media-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.local-media-card:first-child .local-media-visual img {
  min-height: clamp(520px, 54vw, 760px);
  aspect-ratio: 4 / 5;
}

.media-play-badge {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: clamp(66px, 7vw, 94px);
  height: clamp(66px, 7vw, 94px);
  color: var(--ink-950);
  background: linear-gradient(180deg, var(--champagne-soft), var(--champagne));
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1;
  padding-left: 4px;
}

.local-media-caption {
  padding: clamp(18px, 2vw, 24px);
}

.local-media-caption h3 {
  margin: 8px 0 10px;
  color: var(--text);
  font-family: var(--font-ui);
  font-size: clamp(1.3rem, 2.1vw, 2rem);
  line-height: 1.14;
  letter-spacing: -0.04em;
}

@media (max-width: 860px) {
  .local-media-grid {
    grid-template-columns: 1fr;
  }

  .local-media-card:first-child {
    grid-row: auto;
  }

  .local-media-card:first-child .local-media-visual img,
  .local-media-visual img {
    min-height: 340px;
    aspect-ratio: 4 / 5;
  }
}

/* v26.5.30: inline article video support for content-drop local MP4/WebM. */
.local-media-visual video,
.local-media-video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #050403;
}

.local-media-card:first-child .local-media-visual video,
.local-media-card:first-child .local-media-video {
  min-height: clamp(520px, 54vw, 760px);
  aspect-ratio: 4 / 5;
}

.local-media-card.has-video .local-media-visual {
  border-bottom: 1px solid var(--line-soft);
}

@media (max-width: 860px) {
  .local-media-card:first-child .local-media-visual video,
  .local-media-card:first-child .local-media-video,
  .local-media-visual video,
  .local-media-video {
    min-height: 340px;
    aspect-ratio: 4 / 5;
  }
}

/* v26.5.31: CTA typography + full portrait reel frame.
   Keep Thai/English CTA copy in the UI/body family, and show portrait video without cropping top text. */
.article-cta h2,
.article-cta p,
.article-cta .eyebrow,
.article-cta .btn,
.platform-action-row .btn,
.local-media-caption h3,
.local-media-caption p {
  font-family: var(--font-ui);
}

.article-cta h2 {
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.16;
}

.article-cta .btn,
.platform-action-row .btn,
.mobile-sticky-cta a {
  font-family: var(--font-ui);
  font-weight: 800;
  letter-spacing: -0.015em;
}

.local-media-card.has-video .local-media-visual {
  display: grid;
  place-items: center;
  background: #050403;
}

.local-media-card.has-video .local-media-visual video,
.local-media-card.has-video .local-media-video,
.local-media-card:first-child.has-video .local-media-visual video,
.local-media-card:first-child.has-video .local-media-video {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: min(82svh, 820px);
  aspect-ratio: 9 / 16;
  object-fit: contain;
  object-position: center top;
  background: #050403;
}

.local-media-card.has-video {
  align-self: start;
}

.local-media-card.has-video .local-media-caption {
  border-top: 1px solid var(--line-soft);
}

@media (max-width: 860px) {
  .local-media-card.has-video .local-media-visual video,
  .local-media-card.has-video .local-media-video,
  .local-media-card:first-child.has-video .local-media-visual video,
  .local-media-card:first-child.has-video .local-media-video {
    max-height: none;
    aspect-ratio: 9 / 16;
    object-fit: contain;
    object-position: center top;
  }
}

/* v26.5.32: font system polish for mixed TH/EN production copy.
   Keep editorial serif only for intentional display moments; use UI stack for mixed Thai/English headings such as Campaigns, CTA, card titles, and navigation surfaces. */
:root {
  --font-thai: "Noto Sans Thai", "Prompt", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Noto Sans Thai", "Prompt", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ui: "Prompt", "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-logo: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

body,
p,
li,
figcaption,
.article-content,
.card-body,
.story-card,
.wheel-card,
.local-media-caption,
.footer-link-group,
.mascot-speech {
  font-family: var(--font-body);
}

.nav a,
.nav-toggle,
.btn,
.text-link,
.eyebrow,
.meta,
.slot-label,
.price,
.platform-action-row,
.mobile-sticky-cta,
.footer-link-group h2,
button,
input,
textarea,
select {
  font-family: var(--font-ui);
}

/* Mixed TH/EN headings: align glyph height and weight with the UI theme. */
#campaign-title,
.split-cta h2,
.article-cta h2,
.article-cta p,
.local-media-caption h3,
.local-media-caption p,
.card-body h2,
.card-body h3,
.story-card h3,
.wheel-card h3,
.rate-card h3,
.journal-feature h2,
.campaign-showcase h2,
.calendar-content-frame h3,
.footer-link-group a,
.hero-select-section .section-heading h2:lang(th) {
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.16;
  font-size-adjust: none;
}

/* Keep intentional English editorial display sections refined. */
.hero #hero-title,
.brand,
.tile-kicker,
.story-step span,
.quick-stat-grid span {
  font-family: var(--font-display);
}

/* Body copy with English/Thai/slang should stay visually even. */
.lead,
.section-heading p,
.article-content p,
.story-card p,
.wheel-card p,
.card-body p,
.split-cta p,
.footer-brand-panel p {
  font-family: var(--font-body);
  font-size-adjust: none;
  letter-spacing: normal;
}

/* Buttons and platform actions must not inherit display serif from parent containers. */
.btn,
.article-cta .btn,
.platform-action-row .btn,
.mobile-sticky-cta a {
  font-family: var(--font-ui);
  font-weight: 800;
  letter-spacing: -0.01em;
}


/* v26.5.33 New Post header + topic tabs */
.new-post-header {
  display: inline-grid;
  gap: 10px;
  margin-bottom: 18px;
}
.new-post-label {
  margin: 0;
  color: var(--champagne-soft);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.topic-pill-group {
  display: inline-flex;
  width: fit-content;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(216, 190, 122, 0.24);
  border-radius: var(--radius-pill);
  background: rgba(10, 9, 7, 0.52);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.018), 0 12px 32px rgba(0,0,0,0.22);
}
.topic-pill {
  appearance: none;
  border: 1px solid transparent;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  color: rgba(240, 223, 175, 0.46);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.topic-pill:hover,
.topic-pill:focus-visible {
  color: var(--champagne-soft);
  background: rgba(216, 190, 122, 0.08);
  transform: translateY(-1px);
}
.topic-pill.is-active {
  color: var(--ink-950);
  background: linear-gradient(180deg, var(--champagne-soft), var(--champagne));
  border-color: rgba(240, 223, 175, 0.38);
  box-shadow: 0 8px 22px rgba(216, 190, 122, 0.14);
}
.topic-pill:not(.is-active) { opacity: 0.72; }
.hero-card.is-topic-switching { opacity: 0.55; transform: translateY(4px); }
@media (max-width: 560px) {
  .new-post-header { width: 100%; }
  .topic-pill-group { width: 100%; justify-content: space-between; }
  .topic-pill { flex: 1 1 0; padding-inline: 8px; }
}

/* v26.5.34 category integrity: unavailable topic tabs stay visible but dimmed. */
.topic-pill.is-disabled,
.topic-pill:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  filter: saturate(0.4);
  box-shadow: none;
}
.topic-pill.is-disabled:hover,
.topic-pill:disabled:hover {
  transform: none;
}

/* v26.5.36: keep video and story copy in the same blog template row. */
.article-media-story {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(360px, 1fr);
  gap: clamp(22px, 3.4vw, 56px);
  align-items: start;
  margin: 48px 0 58px;
}

.article-media-column,
.article-story-column {
  min-width: 0;
}

.article-media-story .article-media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.article-media-story .local-media-card:first-child {
  grid-row: auto;
}

.article-media-story .local-media-card.has-video .local-media-visual video,
.article-media-story .local-media-card.has-video .local-media-video,
.article-media-story .local-media-card:first-child.has-video .local-media-visual video,
.article-media-story .local-media-card:first-child.has-video .local-media-video {
  width: 100%;
  height: auto;
  max-height: min(78svh, 760px);
  aspect-ratio: 9 / 16;
  object-fit: contain;
  object-position: center top;
}

.article-media-story .article-story-column {
  padding-top: clamp(22px, 3vw, 46px);
}

.article-media-story .article-story-column p {
  max-width: 62ch;
}

.article-media-story .platform-action-row {
  margin-top: 26px;
}

@media (max-width: 980px) {
  .article-media-story {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .article-media-story .article-story-column {
    padding-top: 0;
  }

  .article-media-story .local-media-card.has-video .local-media-visual video,
  .article-media-story .local-media-card.has-video .local-media-video,
  .article-media-story .local-media-card:first-child.has-video .local-media-visual video,
  .article-media-story .local-media-card:first-child.has-video .local-media-video {
    max-height: none;
  }
}


/* v26.5.37: video playback smoothness pass.
   Keep source MP4 bit-for-bit; reduce page compositing while local video is playing. */
.local-media-video,
.article-media-story video {
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: auto;
  contain: paint;
}

body.video-is-playing .sparkle-particle,
body.video-is-playing .starlight,
body.video-is-playing .orb,
body.video-is-playing .grain,
body.video-is-playing [data-reveal] {
  animation-play-state: paused !important;
  transition-duration: 0s !important;
}

body.video-is-playing .ambient-bg {
  opacity: 0.35;
}

.article-media-story .local-media-card.has-video,
.article-media-story .local-media-visual {
  overflow: hidden;
}


.article-highlights{padding:1.25rem 1.25rem 1.4rem;border:1px solid rgba(214,181,95,.24);border-radius:1.25rem;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.02));box-shadow:0 18px 45px rgba(0,0,0,.18);margin-top:1.25rem}.article-location-line{margin:.35rem 0 1rem;color:var(--ink-soft)}.quick-facts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.9rem;margin:0 0 1rem}.quick-fact{padding:.95rem 1rem;border-radius:1rem;background:rgba(255,255,255,.03);border:1px solid rgba(214,181,95,.18)}.quick-fact span{display:block;font-size:.74rem;letter-spacing:.08em;text-transform:uppercase;color:var(--gold)}.quick-fact strong{display:block;margin-top:.35rem;font-size:.98rem;color:var(--ink)}.highlight-chip-list{display:flex;flex-wrap:wrap;gap:.7rem;list-style:none;padding:0;margin:0 0 1rem}.highlight-chip-list li{padding:.62rem .9rem;border-radius:999px;border:1px solid rgba(214,181,95,.28);background:rgba(214,181,95,.08);color:var(--ink);font-weight:600}.map-action-row{display:flex;flex-wrap:wrap;gap:.75rem}.map-button{border-color:rgba(214,181,95,.42)}


.visit-info-section{margin-top:1.35rem}.visit-info-section-compact{margin-top:1.75rem}.visit-info-intro{font-size:1.08rem;line-height:1.7;color:var(--ink);margin:0 0 1rem}.visit-info-card{padding:1.2rem 1.2rem 1.15rem;border-radius:1.25rem;border:1px solid rgba(214,181,95,.24);background:linear-gradient(180deg,rgba(255,255,255,.032),rgba(255,255,255,.016));box-shadow:0 18px 45px rgba(0,0,0,.14)}.visit-info-card>.slot-label{margin:0 0 .65rem;color:var(--gold);letter-spacing:.12em}.visit-info-row{display:grid;grid-template-columns:minmax(145px,220px) 1fr;gap:1rem;align-items:start;padding:.78rem 0;border-bottom:1px solid rgba(214,181,95,.12)}.visit-info-row:last-of-type{border-bottom:none}.visit-info-row span{display:block;font-size:.76rem;letter-spacing:.08em;text-transform:uppercase;color:var(--gold);font-weight:700}.visit-info-row strong{font-size:1rem;color:var(--ink);line-height:1.6}.visit-info-row ul{margin:0;padding-left:1.1rem;color:var(--ink-soft)}.visit-info-row li{margin:.15rem 0;line-height:1.6}.visit-info-date-note{margin:.9rem 0 0;color:var(--gold);font-weight:700}.map-action-row{margin-top:.2rem}@media (max-width:640px){.visit-info-row{grid-template-columns:1fr;gap:.35rem}}

/* v26.5.38 client feedback: clean cover images, tighter Luxpro List wheel gap + editorial inline blog images. */
.hero-select-section .hero-wheel {
  --wheel-card-gap: clamp(6px, 1.4vw, 18px);
  --wheel-radius-min: clamp(250px, 34vw, 430px);
  --wheel-side-opacity: 0.42;
}

@media (min-width: 900px) {
  .hero-select-section .hero-wheel {
    --wheel-card-gap: clamp(8px, 1.25vw, 22px);
    --wheel-radius-min: clamp(270px, 32vw, 450px);
  }
}

@media (max-width: 720px) {
  .hero-select-section .hero-wheel {
    --wheel-card-gap: 8px;
    --wheel-radius-min: 248px;
    --wheel-height: clamp(300px, 86vw, 350px);
  }
}

.article-inline-image {
  margin: clamp(26px, 4vw, 44px) 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface-900);
  box-shadow: var(--shadow-sm);
}

.article-inline-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-content .article-inline-image:last-child {
  margin-bottom: clamp(18px, 3vw, 30px);
}

.image-shell .media-label { display: none !important; }


/* v26.5.39 About history and luxury category buttons */
.about-history {
  position: relative;
}
.about-history-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: start;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid rgba(216, 190, 122, 0.22);
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at 18% 18%, rgba(216, 190, 122, 0.10), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018));
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.about-history-card::after {
  content: "";
  position: absolute;
  inset: auto 8% -22% auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(216, 190, 122, 0.06);
  filter: blur(32px);
  pointer-events: none;
}
.about-history-copy,
.about-history-panel {
  position: relative;
  z-index: 1;
}
.about-history-copy h2 {
  margin: 0 0 14px;
}
.about-lead {
  color: var(--champagne-soft);
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  font-weight: 700;
}
.about-history-copy p:not(.eyebrow),
.about-philosophy p {
  color: var(--muted);
  font-family: var(--font-body);
  line-height: 1.76;
}
.about-history-panel {
  display: grid;
  gap: 18px;
}
.about-history-panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}
.lux-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.lux-category-grid span,
.lux-category-grid a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid rgba(216, 190, 122, 0.24);
  border-radius: var(--radius-pill);
  color: var(--champagne-soft);
  background: rgba(10, 9, 7, 0.42);
  font-family: var(--font-body);
  font-weight: 900;
  letter-spacing: -0.01em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.018);
}
.about-philosophy {
  padding: 18px;
  border: 1px solid rgba(216, 190, 122, 0.18);
  border-radius: var(--radius-card-sm);
  background: rgba(0, 0, 0, 0.18);
}
.about-philosophy blockquote {
  margin: 8px 0 12px;
  color: var(--champagne-soft);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.about-philosophy strong {
  color: var(--gold);
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (max-width: 860px) {
  .about-history-card { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lux-category-grid { grid-template-columns: 1fr; }
  .about-history-card { padding: 22px; }
}


/* v26.5.40 About page correction + footer category menu */
.about-page {
  padding-top: clamp(34px, 5vw, 74px);
}
.about-history-copy h1 {
  margin: 0 0 14px;
  color: var(--champagne-soft);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.lux-category-grid a {
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.lux-category-grid a:hover,
.lux-category-grid a:focus-visible {
  border-color: rgba(242, 215, 141, 0.42);
  background: rgba(216, 190, 122, 0.10);
  transform: translateY(-1px);
}
.footer-category-panel {
  padding: clamp(22px, 3vw, 34px) 0;
  border-top: 1px solid rgba(216, 190, 122, 0.12);
}
.footer-category-panel h2 {
  margin: 0 0 14px;
  color: var(--champagne-soft);
  font-family: var(--font-thai-ui);
  font-size: clamp(0.95rem, 1.35vw, 1.18rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-category-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(216, 190, 122, 0.20);
  border-radius: var(--radius-pill);
  color: var(--champagne-soft);
  background: rgba(10, 9, 7, 0.35);
  text-decoration: none;
  font-family: var(--font-thai-ui);
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  font-weight: 800;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.footer-category-grid a:hover,
.footer-category-grid a:focus-visible {
  border-color: rgba(242, 215, 141, 0.38);
  background: rgba(216, 190, 122, 0.10);
  transform: translateY(-1px);
}
@media (max-width: 760px) {
  .footer-category-grid { gap: 8px; }
  .footer-category-grid a { width: 100%; justify-content: center; }
}

/* v26.5.41: About page rounded card + text-only category navigation */
.site-header .nav-category-menu {
  flex: 1 1 auto;
  max-width: min(920px, calc(100vw - 240px));
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.site-header .nav-category-menu::-webkit-scrollbar { display: none; }
.site-header .nav-category-menu a {
  padding-inline: clamp(8px, 0.8vw, 12px);
  font-size: clamp(0.72rem, 0.74vw, 0.84rem);
  white-space: nowrap;
}
.about-history-card {
  border-radius: clamp(30px, 4vw, 48px) !important;
}
.about-history-card::after {
  border-radius: 999px;
}
.about-philosophy {
  border-radius: clamp(22px, 2.4vw, 32px) !important;
}
.lux-category-grid a,
.footer-category-grid a {
  gap: 0;
}
@media (max-width: 1180px) {
  .site-header .nav-category-menu {
    max-width: min(760px, calc(100vw - 220px));
  }
}
@media (max-width: 760px) {
  .site-header .nav-category-menu {
    max-width: none;
    overflow-x: visible;
  }
  .site-header .nav-category-menu a {
    font-size: 0.92rem;
  }
}


/* v26.5.42: header text-only categories, emoji retained only in body/footer; responsive page hero alignment. */
.site-header .nav-category-menu a {
  white-space: nowrap;
}
.page-hero .section-heading {
  display: block;
  max-width: min(1120px, 100%);
  text-align: left;
}
.page-hero .section-heading > p:not(.eyebrow) {
  max-width: 760px;
}
.page-hero h1 {
  max-width: 1120px;
  font-size: clamp(2.75rem, 4.8vw, 4.85rem);
  line-height: 1.04;
  text-align: left;
  text-wrap: normal;
}
@media (min-width: 1024px) {
  .page-hero h1 {
    white-space: nowrap;
  }
}
@media (min-width: 761px) and (max-width: 1023px) {
  .page-hero h1 {
    max-width: 900px;
    font-size: clamp(2.65rem, 6.4vw, 4.05rem);
    white-space: normal;
  }
}
@media (max-width: 760px) {
  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 10vw, 3.2rem);
    white-space: normal;
  }
}
.about-history-card {
  border-radius: clamp(34px, 5vw, 56px) !important;
}
.about-philosophy,
.lux-category-grid a,
.footer-category-grid a {
  border-radius: clamp(22px, 3vw, 999px) !important;
}
.lux-category-grid a,
.footer-category-grid a {
  gap: 8px;
}


/* v26.5.43: header primary menu + sub-category dropdowns. Header keeps text-only labels; body/footer can retain emoji. */
.site-header .nav-primary-menu {
  flex: 1 1 auto;
  max-width: min(760px, calc(100vw - 250px));
  overflow: visible;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(4px, 0.5vw, 8px);
}
.site-header .nav-primary-menu > a,
.site-header .nav-primary-menu .nav-group-trigger {
  min-height: 40px;
  padding: 8px clamp(9px, 0.85vw, 13px);
  font-size: clamp(0.76rem, 0.78vw, 0.86rem);
  white-space: nowrap;
}
.nav-group {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.nav-group-trigger::after {
  content: "";
  width: 0.38em;
  height: 0.38em;
  margin-left: 0.55em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.12em) rotate(45deg);
  opacity: 0.72;
}
.nav-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 80;
  min-width: 230px;
  display: grid;
  gap: 6px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(15, 13, 10, 0.97), rgba(13, 11, 9, 0.94)),
    radial-gradient(circle at 12% 0%, rgba(216, 190, 122, 0.11), transparent 42%);
  border: 1px solid rgba(216, 190, 122, 0.18);
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}
.nav-submenu-right {
  right: 0;
  left: auto;
}
.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.site-header .nav-submenu a {
  width: 100%;
  justify-content: flex-start;
  min-height: 38px;
  padding: 9px 11px;
  font-size: 0.84rem;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.025);
}
.site-header .nav-submenu a:hover,
.site-header .nav-submenu a:focus-visible {
  background: rgba(216, 190, 122, 0.10);
  border-color: rgba(216, 190, 122, 0.16);
}
@media (min-width: 821px) and (max-width: 1180px) {
  .site-header .nav-primary-menu {
    max-width: min(700px, calc(100vw - 215px));
    gap: 3px;
  }
  .site-header .brand-logo img {
    width: clamp(116px, 12vw, 158px);
  }
  .site-header .nav-primary-menu > a,
  .site-header .nav-primary-menu .nav-group-trigger {
    padding-inline: 8px;
    font-size: 0.74rem;
  }
}
@media (max-width: 820px) {
  body.menu-ready .site-header .nav-primary-menu {
    max-width: none;
    overflow: visible;
  }
  body.menu-ready .site-header.is-menu-open .nav-primary-menu {
    display: grid;
  }
  body.menu-ready .site-header .nav-primary-menu > a,
  body.menu-ready .site-header .nav-primary-menu .nav-group-trigger {
    width: 100%;
    justify-content: flex-start;
    min-height: 44px;
    padding: 10px 13px;
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.028);
    font-size: 0.92rem;
  }
  .nav-group {
    display: grid;
    width: 100%;
    gap: 6px;
  }
  .nav-group-trigger::after {
    margin-left: auto;
  }
  .nav-submenu,
  .nav-submenu-right {
    position: static;
    min-width: 0;
    width: 100%;
    padding: 0 0 0 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: grid;
    gap: 6px;
  }
  body.menu-ready .site-header .nav-submenu a {
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 14px;
    background: rgba(216, 190, 122, 0.045);
  }
}


/* v26.5.44: unified page hero typography across all pages.
   Keep page titles left-aligned and prevent narrow grid columns from forcing ugly word-by-word wraps on PC/tablet. */
.page-hero .section-heading,
.journal-landing .section-heading {
  display: block;
  width: 100%;
  max-width: min(1120px, 100%);
  margin-right: auto;
  text-align: left;
}

.page-hero .section-heading > p:not(.eyebrow),
.journal-landing .section-heading > p:not(.eyebrow) {
  max-width: 760px;
}

.page-hero h1,
.journal-landing h1,
.category-page-title {
  max-width: min(1120px, 100%);
  margin-left: 0;
  margin-right: auto;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.7rem, 4.25vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: pretty;
}

:lang(th) .page-hero h1,
:lang(th) .journal-landing h1,
.page-hero h1:lang(th),
.journal-landing h1:lang(th),
.category-page-title:lang(th) {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: clamp(2.45rem, 3.9vw, 4.15rem);
  line-height: 1.16;
  letter-spacing: -0.032em;
  max-width: min(1040px, 100%);
  word-break: keep-all;
  overflow-wrap: normal;
}

@media (min-width: 1024px) {
  .page-hero h1,
  .journal-landing h1,
  .category-page-title {
    white-space: normal;
  }
}

@media (min-width: 761px) and (max-width: 1023px) {
  .page-hero h1,
  .journal-landing h1,
  .category-page-title {
    max-width: 920px;
    font-size: clamp(2.35rem, 5.6vw, 3.55rem);
    line-height: 1.08;
  }

  :lang(th) .page-hero h1,
  :lang(th) .journal-landing h1,
  .page-hero h1:lang(th),
  .journal-landing h1:lang(th),
  .category-page-title:lang(th) {
    font-size: clamp(2.15rem, 5vw, 3.1rem);
    line-height: 1.18;
  }
}

@media (max-width: 760px) {
  .page-hero h1,
  .journal-landing h1,
  .category-page-title {
    max-width: 100%;
    font-size: clamp(2.05rem, 9.4vw, 3.05rem);
    line-height: 1.12;
    white-space: normal;
  }

  :lang(th) .page-hero h1,
  :lang(th) .journal-landing h1,
  .page-hero h1:lang(th),
  .journal-landing h1:lang(th),
  .category-page-title:lang(th) {
    font-size: clamp(1.95rem, 8.8vw, 2.75rem);
    line-height: 1.2;
  }
}

/* v26.5.45: Home Latest Post carousel + stricter left-aligned headings on PC/tablet. */
#journal.latest-post-section .section-heading,
#journal .latest-post-heading {
  display: block !important;
  width: 100%;
  max-width: min(860px, 100%);
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}
#journal.latest-post-section .section-heading h2,
#journal .latest-post-heading h2 {
  margin-left: 0 !important;
  margin-right: auto !important;
  max-width: 100%;
  text-align: left !important;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}
#journal.latest-post-section .section-heading p:not(.eyebrow),
#journal .latest-post-heading p:not(.eyebrow) {
  max-width: 680px;
  margin-left: 0;
  margin-right: auto;
}
.latest-post-carousel {
  position: relative;
  width: 100%;
  margin-top: clamp(18px, 3vw, 32px);
  overflow: hidden;
}
.latest-post-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 360px);
  gap: clamp(14px, 2vw, 22px);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-padding-inline: 2px;
  padding: 2px 2px 18px;
  scrollbar-width: thin;
}
.latest-post-card {
  scroll-snap-align: start;
  min-height: 100%;
  display: grid;
  grid-template-rows: 220px 1fr;
  border: 1px solid var(--line-soft);
  border-radius: clamp(24px, 3vw, 34px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(14, 12, 10, 0.86);
  color: var(--text-primary);
  text-decoration: none;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.22);
}
.latest-post-card:hover,
.latest-post-card:focus-visible {
  text-decoration: none;
  border-color: rgba(216, 190, 122, 0.42);
  transform: translateY(-2px);
}
.latest-post-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.latest-post-card > div {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: clamp(16px, 2vw, 22px);
}
.latest-post-card h3 {
  margin: 0;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.latest-post-card p:not(.meta) {
  margin: 0;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.latest-post-card .text-link {
  margin-top: 6px;
}
@media (min-width: 1024px) {
  #journal.latest-post-section .section-heading,
  #journal .latest-post-heading {
    max-width: 860px;
  }
  .latest-post-track {
    grid-auto-columns: minmax(320px, 390px);
  }
}
@media (max-width: 760px) {
  .latest-post-track {
    grid-auto-columns: minmax(250px, 86vw);
  }
  .latest-post-card {
    grid-template-rows: 190px 1fr;
  }
}

/* v26.5.46 mobile header highlight cleanup: remove the client-marked floating edge/gap below the sticky header without touching the header menu structure. */
@media (max-width: 640px) {
  .site-header {
    margin-bottom: 0;
    box-shadow: none;
  }

  .hero.section {
    padding-top: 12px;
  }

  .hero {
    gap: 18px;
  }
}

@media (max-width: 420px) {
  .hero.section {
    padding-top: 8px;
  }
}


/* v26.5.47: hide per-article contact CTA and keep every article image available in Gallery via build generator. */
.article-page .article-cta {
  display: none !important;
}


/* v26.5.50: article title wrapping guard.
   Keep brand/name segment intact and use available desktop/tablet width before wrapping. */
.article-header {
  max-width: min(1180px, 100%);
}
.article-header h1 {
  max-width: min(1180px, 100%);
  font-size: clamp(3rem, 5.2vw, 5.55rem);
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: keep-all;
  text-wrap: normal;
}
.article-title-nowrap {
  white-space: nowrap;
}
@media (max-width: 980px) {
  .article-header { max-width: 100%; }
  .article-header h1 {
    font-size: clamp(2.65rem, 7.5vw, 4.8rem);
    line-height: 1.1;
  }
}
@media (max-width: 640px) {
  .article-header h1 {
    font-size: clamp(2.25rem, 10.2vw, 3.45rem);
    line-height: 1.08;
  }
  .article-title-nowrap {
    white-space: normal;
  }
}
@media (max-width: 430px) {
  .article-header h1 {
    font-size: clamp(2.05rem, 9.8vw, 3rem);
    line-height: 1.1;
  }
}

/* v26.5.51 — reduce ambient sparkle density and add subtle blog-card cursor tilt */
.starlight {
  display: none !important;
}
.sparkle-particle {
  opacity: 0.18 !important;
  filter: blur(0.2px) drop-shadow(0 0 5px rgba(216, 181, 95, 0.24)) !important;
}
.sparkle-particle::after {
  opacity: 0.18 !important;
}
@media (max-width: 820px) {
  .sparkle-particle { display: none !important; }
}

.title-stack,
.article-title-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.04em;
}
.title-stack > span,
.article-title-stack > span {
  display: block;
}
.article-header h1 .article-title-stack {
  max-width: min(100%, 15.5ch);
}
.hero-card .title-stack,
.latest-post-card .title-stack,
.story-card .title-stack,
.journal-feature .title-stack,
.wheel-card .title-stack {
  gap: 0.02em;
}

.cursor-tilt-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --tilt-glow-x: 50%;
  --tilt-glow-y: 35%;
  position: relative;
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(0);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  will-change: transform;
}
.cursor-tilt-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(circle at var(--tilt-glow-x) var(--tilt-glow-y), rgba(242, 215, 141, 0.18), transparent 34%);
  transition: opacity 180ms ease;
  z-index: 2;
}
.cursor-tilt-card:hover::after,
.cursor-tilt-card:focus-visible::after {
  opacity: 1;
}
.cursor-tilt-card:hover,
.cursor-tilt-card:focus-visible {
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(242, 215, 141, 0.16);
}
.cursor-tilt-card > * {
  position: relative;
  z-index: 1;
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-tilt-card {
    transform: none !important;
    transition: none !important;
  }
  .cursor-tilt-card::after {
    display: none !important;
  }
}

/* v26.5.53: remove redundant subtitles, hide empty campaigns, and add dynamic New Post category dropdown. */
.section-heading > p:not(.eyebrow):not(.slot-label),
.page-hero .section-heading > p:not(.eyebrow),
.journal-landing .section-heading > p:not(.eyebrow),
.article-highlights .section-heading > p,
.gallery-section .section-heading > p:not(.slot-label) {
  display: none !important;
}
#campaigns.split-cta {
  display: none !important;
}
.topic-pill-group {
  position: relative;
  align-items: center;
  overflow: visible;
}
.topic-more {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.topic-more-toggle::after {
  content: "";
  width: 0.38em;
  height: 0.38em;
  margin-left: 0.5em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.12em) rotate(45deg);
  opacity: 0.72;
}
.topic-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 70;
  min-width: 240px;
  max-height: min(420px, 70vh);
  overflow-y: auto;
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(216, 190, 122, 0.20);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(15, 13, 10, 0.98), rgba(10, 9, 7, 0.95)),
    radial-gradient(circle at 12% 0%, rgba(216, 190, 122, 0.12), transparent 44%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}
.topic-more.is-open .topic-dropdown,
.topic-more:hover .topic-dropdown,
.topic-more:focus-within .topic-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.topic-dropdown .topic-pill {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  padding-inline: 12px;
  border-color: rgba(216, 190, 122, 0.08);
  background: rgba(255, 255, 255, 0.025);
}
.topic-dropdown .topic-pill:not(:disabled):hover,
.topic-dropdown .topic-pill:not(:disabled):focus-visible {
  background: rgba(216, 190, 122, 0.10);
  border-color: rgba(216, 190, 122, 0.18);
}
.topic-pill.is-disabled,
.topic-pill:disabled,
.topic-dropdown .topic-pill.is-disabled,
.topic-dropdown .topic-pill:disabled {
  color: rgba(219, 211, 192, 0.30) !important;
  border-color: rgba(219, 211, 192, 0.08) !important;
  background: rgba(255, 255, 255, 0.015) !important;
  opacity: 0.46;
  cursor: not-allowed;
  filter: grayscale(1) saturate(0.25);
}
.topic-pill.is-disabled::after,
.topic-pill:disabled::after {
  content: "Soon";
  margin-left: 8px;
  font-size: 0.62em;
  letter-spacing: 0.08em;
  opacity: 0.72;
}
@media (max-width: 560px) {
  .topic-pill-group {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .topic-pill-group > .topic-pill {
    flex: 1 1 calc(33.333% - 8px);
  }
  .topic-more {
    flex: 1 1 100%;
  }
  .topic-more-toggle {
    width: 100%;
    justify-content: center;
  }
  .topic-dropdown {
    left: 0;
    right: auto;
    width: min(100%, 320px);
  }
}
