/* ─── Design tokens ─── */
:root {
  --ink:     #111;
  --paper:   #f7f2ea;
  --soft:    #ede5d8;
  --muted:   #746c60;
  --line:    rgba(17,17,17,.1);
  --gold:    #b99862;
  --dark:    #070707;
  --white:   #fff;
  --accent:  #111;
  --theme:   #111;
  --theme2:  #b99862;
  --radius:  0px;
  --serif:   ui-serif, Georgia, 'Times New Roman', serif;
  --sans:    system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;

  /* spacing scale */
  --sp-xs:  8px;
  --sp-sm:  16px;
  --sp-md:  32px;
  --sp-lg:  64px;
  --sp-xl:  120px;
}

/* ─── Reset ─── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
  font-size: 17px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; border: none; cursor: pointer; background: none; }

/* Body: clean, no texture */

/* Art-deco corner ornaments: removed */

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  z-index: 999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.wrap {
  width: min(1180px, 92vw);
  margin: auto;
  position: relative;
  z-index: 1;
}

/* ─── Nav ─── */
.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(247,242,234,.82);
  backdrop-filter: blur(24px) saturate(140%);
  z-index: 50;
  flex-shrink: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.brandLogo {
  height: 38px;
  width: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.brandText {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -.04em;
  font-weight: 400;
  line-height: 1;
}

.langToggle {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  transition: all .25s;
  flex-shrink: 0;
}

.langToggle:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.langActive { color: var(--ink); }
.langSep    { color: var(--muted); }
.langOff    { color: var(--muted); }

html[lang=en] .langActive { color: var(--muted); }
html[lang=en] .langOff    { color: var(--ink); }

.navLinks {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 500;
}

.pill, .btn {
  border: 1px solid var(--ink);
  padding: 11px 20px;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: .35s cubic-bezier(.25,.46,.45,.94);
  cursor: pointer;
  background: transparent;
  border-radius: 0;
}

.pill:hover, .btn:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 rgba(17,17,17,.15);
}

.btn.dark {
  background: var(--ink);
  color: var(--paper);
}

.btn.dark:hover {
  background: transparent;
  color: var(--ink);
}

/* ─── Hero ─── */
.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: .88fr 1fr;
  gap: 64px;
  align-items: center;
  padding: var(--sp-xl) 0 var(--sp-lg);
}

.eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .28em;
  color: var(--muted);
  margin-bottom: 24px;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.eyebrow::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin-left: 12px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  font-size: clamp(44px, 6.5vw, 98px);
  line-height: 1.08;
  letter-spacing: -.055em;
  margin-bottom: 36px;
}

.hero h1 {
  line-height: 1.05;
  letter-spacing: -.05em;
}

.lead {
  font-size: clamp(16px, 1.8vw, 21px);
  color: var(--muted);
  max-width: 580px;
  line-height: 1.7;
  letter-spacing: .01em;
  margin-bottom: 40px;
}

.cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.heroPhoto {
  position: relative;
  height: clamp(420px, 60vh, 680px);
  overflow: hidden;
}

.heroPhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 18s ease-in-out infinite alternate;
  filter: saturate(1.05);
}

@keyframes heroZoom {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.07) translateY(-1.5%); }
}

.floatCard {
  position: absolute;
  bottom: 32px;
  left: -24px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 24px 28px;
  max-width: 240px;
  box-shadow: 8px 8px 0 rgba(17,17,17,.06);
  animation: floatY 5s ease-in-out infinite alternate;
}

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

.floatCard b {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -.03em;
  display: block;
  margin-bottom: 8px;
}

.floatCard p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  letter-spacing: .01em;
}

/* ─── Marquee ─── */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  background: var(--soft);
  position: relative;
  z-index: 1;
}

.marquee span {
  display: inline-block;
  white-space: nowrap;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--muted);
  animation: marquee 28s linear infinite;
}

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

/* ─── Sections ─── */
.section {
  padding: var(--sp-xl) 0;
  position: relative;
  z-index: 1;
}

.sectionTitle {
  margin-bottom: var(--sp-lg);
}

.sectionTitle h2 {
  font-size: clamp(36px, 4.5vw, 68px);
  letter-spacing: -.04em;
  line-height: .92;
  margin-bottom: 20px;
}

.sectionTitle .lead {
  margin-bottom: 0;
}

/* ─── Category cards ─── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.categoryCard {
  display: block;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--soft);
  aspect-ratio: 4/5;
}

.categoryCard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.25,.46,.45,.94);
  filter: saturate(.95);
}

.categoryCard:hover img {
  transform: scale(1.06);
}

.categoryCard .visual {
  width: 100%;
  height: 100%;
  background: var(--theme);
  position: relative;
  overflow: hidden;
}

/* Animated geometric background per card category */
.categoryCard .visual::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    var(--theme2) 8deg,
    transparent 16deg,
    transparent 40deg,
    var(--theme2) 48deg,
    transparent 56deg,
    transparent 80deg,
    var(--theme2) 88deg,
    transparent 96deg
  );
  animation: spinSlow 20s linear infinite;
  opacity: .15;
}

@keyframes spinSlow { to { transform: rotate(360deg); } }

.categoryCard .visual::after {
  content: '';
  position: absolute;
  inset: 20%;
  border: 1px solid var(--theme2);
  opacity: .2;
  animation: framePulse 3s ease-in-out infinite;
}

@keyframes framePulse {
  0%,100% { transform: scale(1); opacity: .2; }
  50%      { transform: scale(.94); opacity: .1; }
}

.categoryContent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.72) 0%,
    rgba(0,0,0,.3) 45%,
    transparent 100%
  );
}

.categoryContent .eyebrow {
  color: rgba(255,255,255,.65);
  margin-bottom: 8px;
}

.categoryContent .eyebrow::after { background: rgba(255,255,255,.4); }

.categoryContent h3 {
  font-size: clamp(22px, 2.5vw, 30px);
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 10px;
}

.categoryContent p {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}

.tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(255,255,255,.55);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tag::after {
  content: '→';
  transition: transform .3s;
}

.categoryCard:hover .tag::after { transform: translateX(4px); }

/* ─── Pricing band ─── */
.priceBand {
  background: var(--dark);
  color: var(--paper);
  padding: var(--sp-xl) 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Subtle grid on dark band */
.priceBand::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 59px,
      var(--paper) 59px,
      var(--paper) 60px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 59px,
      var(--paper) 59px,
      var(--paper) 60px
    );
}

.priceGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.priceGrid h2 {
  font-size: clamp(44px, 6vw, 90px);
  letter-spacing: -.06em;
  line-height: .88;
  margin-bottom: 24px;
}

.priceGrid .lead {
  color: rgba(247,242,234,.5);
  max-width: 380px;
}

.priceBox {
  padding: 48px 40px;
  border: 1px solid rgba(247,242,234,.15);
  position: relative;
}

.priceBox .num {
  font-family: var(--serif);
  font-size: clamp(64px, 8vw, 108px);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .88;
  color: var(--paper);
}

.priceBox h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--gold);
  margin: 12px 0 24px;
  font-weight: 600;
  font-family: var(--sans);
}

.priceBox p {
  font-size: 15px;
  color: rgba(247,242,234,.55);
  line-height: 1.7;
  letter-spacing: .01em;
  max-width: 300px;
}

.kineticLine {
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 28px 0;
  animation: lineGrow 2.5s cubic-bezier(.25,.46,.45,.94) both;
  transform-origin: left;
}

@keyframes lineGrow { from { transform: scaleX(0); } }

.priceBox .btn {
  margin-top: 32px;
  color: var(--dark);
  border-color: var(--paper);
}

.priceBox .btn:hover {
  background: var(--paper);
  color: var(--dark);
}

/* ─── Steps ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: var(--sp-md);
}

.step {
  padding: 40px 28px;
  border: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  transition: .35s ease;
}

.step:hover {
  background: var(--white);
  box-shadow: 0 8px 32px rgba(17,17,17,.07);
  transform: translateY(-4px);
}

.step h3 {
  font-size: 18px;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  letter-spacing: .01em;
}

.step::before {
  content: attr(data-n);
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 400;
  color: var(--line);
  position: absolute;
  top: 12px;
  right: 20px;
  line-height: 1;
  letter-spacing: -.06em;
  transition: color .35s;
}

.step:hover::before { color: var(--gold); opacity: .3; }

/* ─── Form / panel ─── */
.panel {
  border: 1px solid var(--line);
  padding: 48px 40px;
  background: var(--paper);
}

.panel h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  letter-spacing: -.04em;
  margin-bottom: 16px;
  line-height: 1;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  transition: border-color .25s;
  letter-spacing: .01em;
  -webkit-appearance: none;
  border-radius: 0;
  outline: none;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--ink);
  box-shadow: 3px 3px 0 rgba(17,17,17,.08);
}

.form textarea { resize: vertical; min-height: 100px; }

.result {
  margin-top: 20px;
  padding: 24px;
  background: var(--soft);
  border-left: 3px solid var(--gold);
  display: none;
}

.result .btn { margin-top: 12px; }

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  margin-top: var(--sp-lg);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.footer b {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -.03em;
}

/* ─── Scroll reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.25,.46,.45,.94),
              transform .9s cubic-bezier(.25,.46,.45,.94);
}

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

/* ─── Price list in pricing page ─── */
.list {
  margin-top: 20px;
  border-top: 1px solid rgba(247,242,234,.12);
}

.list > div {
  padding: 14px 0;
  border-bottom: 1px solid rgba(247,242,234,.08);
  font-size: 15px;
  color: rgba(247,242,234,.65);
  letter-spacing: .01em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.list > div::before {
  content: '—';
  color: var(--gold);
  font-size: 12px;
  flex-shrink: 0;
}

.heroSmall {
  padding: var(--sp-xl) 0 var(--sp-md);
}

.heroSmall h1 {
  font-size: clamp(40px, 6vw, 80px);
  margin-bottom: 20px;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 60px 0 48px; }
  .heroPhoto { height: 320px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .priceGrid { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
  .nav { height: auto; padding: 14px 0; flex-wrap: wrap; row-gap: 12px; }
  .navLinks { display: none; }
  .hamburger { display: flex; }
  .sectionTitle h2 { font-size: 40px; }
  .sectionTitle br { display: none; }
  .stickyMobileCta { display:flex; }
  body { padding-bottom: 72px; }
}

.stickyMobileCta {
  display:none;
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:80;
  padding:10px 12px calc(10px + env(safe-area-inset-bottom));
  background:rgba(247,242,234,.94);
  backdrop-filter:blur(18px);
  border-top:1px solid var(--line);
  gap:8px;
}
.stickyMobileCta a { flex:1; min-height:46px; font-size:11px; padding:10px 8px; }

@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .floatCard { left: 0; bottom: 16px; right: 16px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ─── Thai typography + render performance polish ─── */
:root {
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans Thai', 'Leelawadee UI', Tahoma, sans-serif;
  --serif: 'Noto Serif Thai', 'Thonburi', 'Leelawadee UI', 'Sarabun', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --thai-body-leading: 1.78;
  --thai-lead-leading: 1.84;
  --thai-heading-leading: 1.14;
  --thai-hero-leading: 1.09;
}

html[lang="th"] body {
  font-size: 16.5px;
  line-height: var(--thai-body-leading);
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
}

html[lang="th"] h1,
html[lang="th"] h2,
html[lang="th"] h3,
html[lang="th"] .sectionTitle h2,
html[lang="th"] .showcaseHeader h2,
html[lang="th"] .catCardTitle,
html[lang="th"] .demoHeroContent h1,
html[lang="th"] .priceBand h2,
html[lang="th"] .ctaBand h2,
html[lang="th"] .splitContent h2,
html[lang="th"] .nicheSeoCard b,
html[lang="th"] .deliverPanel h3,
html[lang="th"] .compareCol h3 {
  line-height: var(--thai-heading-leading) !important;
  letter-spacing: -.026em !important;
  text-wrap: balance;
}

html[lang="th"] h1,
html[lang="th"] .homeHeroContent h1,
html[lang="th"] .demoHeroContent h1 {
  line-height: var(--thai-hero-leading) !important;
  letter-spacing: -.032em !important;
}

html[lang="th"] p,
html[lang="th"] li,
html[lang="th"] .featureSub,
html[lang="th"] .featureText,
html[lang="th"] .catCardPrice,
html[lang="th"] .statLabel,
html[lang="th"] .priceSub,
html[lang="th"] small {
  line-height: var(--thai-body-leading);
}

html[lang="th"] .lead,
html[lang="th"] .homeHeroContent .lead,
html[lang="th"] .sectionTitle .lead,
html[lang="th"] .ctaBand p,
html[lang="th"] .showcaseHeader p {
  line-height: var(--thai-lead-leading) !important;
  letter-spacing: 0 !important;
}

html[lang="th"] .btn,
html[lang="th"] .pill,
html[lang="th"] .navLinks,
html[lang="th"] .eyebrow,
html[lang="th"] .catCardTag,
html[lang="th"] .statLabel,
html[lang="th"] .tag,
html[lang="th"] .badgeText {
  letter-spacing: .075em !important;
}

html[lang="th"] .eyebrow,
html[lang="th"] .catCardTag,
html[lang="th"] .statLabel {
  line-height: 1.5;
}

/* Skip expensive below-fold rendering until it is near the viewport. */
.showcase,
.nicheSeoSection,
.splitSection,
.painSection,
.deliverSection,
.compareSection,
.howSection,
.priceOverview,
.quickFaqSection,
.ctaBand,
.portfolioStrip,
.section,
.priceBand,
.gallerySection,
.reviewsSection {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

.homeHero,
.demoHero,
.nav,
.mobileMenu,
.luxProgress,
.stickyMobileCta {
  content-visibility: visible;
}

/* ─── Light button for dark backgrounds ─── */
.btn--light {
  color: var(--dark) !important;
  border-color: var(--paper) !important;
  background: var(--paper) !important;
}
.btn--light:hover {
  background: transparent !important;
  color: var(--paper) !important;
}

/* ─── Mobile hamburger ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: .3s;
}

/* ─── Mobile menu overlay ─── */
.mobileMenu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mobileMenu.open { display: flex; }

.mobileClose {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  padding: 8px;
  line-height: 1;
}

.mobileMenuInner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.mobileMenuInner a {
  font-family: var(--serif);
  font-size: clamp(28px, 8vw, 48px);
  letter-spacing: -.04em;
  color: var(--ink);
  text-decoration: none;
  transition: color .2s;
}

.mobileMenuInner a:hover { color: var(--gold); }

.mobileMenuInner .pill {
  margin-top: 12px;
  font-size: 12px;
}

/* ─── Category card logos ─── */
.catLogo {
  height: 28px;
  width: auto;
  object-fit: contain;
  margin-bottom: 10px;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.mosaic {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--theme, #111);
  text-decoration: none;
  color: #fff;
}

.mosaic:hover { filter: brightness(1.06); }

.mosaic .visual {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Geometric spinning texture */
.mosaic .visual::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    var(--theme2, #fff) 6deg,
    transparent 14deg,
    transparent 38deg,
    var(--theme2, #fff) 46deg,
    transparent 54deg,
    transparent 76deg,
    var(--theme2, #fff) 84deg,
    transparent 92deg
  );
  animation: spinSlow 24s linear infinite;
  opacity: .18;
}

@keyframes spinSlow { to { transform: rotate(360deg); } }

.mosaic .visual::after {
  content: '';
  position: absolute;
  inset: 18%;
  border: 1px solid var(--theme2, #fff);
  opacity: .18;
  animation: framePulse 3.5s ease-in-out infinite;
}

@keyframes framePulse {
  0%,100% { transform: scale(1);   opacity: .18; }
  50%      { transform: scale(.93); opacity: .08; }
}

/* Diagonal light sweep on hover */
.mosaic::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -80%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,.07) 50%,
    transparent 70%
  );
  transform: skewX(-18deg);
  transition: left .6s cubic-bezier(.25,.46,.45,.94);
  pointer-events: none;
  z-index: 2;
}

.mosaic:hover::after { left: 140%; }

.mosaicLabel {
  position: relative;
  z-index: 3;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 320px;
}

.mosaicHero .mosaicLabel { min-height: 460px; }

.mosaicLabel .eyebrow { color: rgba(255,255,255,.6); margin-bottom: 10px; }
.mosaicLabel .eyebrow::after { background: var(--theme2, rgba(255,255,255,.4)); }

.mosaicLabel h2,
.mosaicLabel h3 { color: #fff; line-height: 1; margin-bottom: 10px; }

.mosaicLabel p {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  letter-spacing: .02em;
}

/* Mosaic rows */
.mosaicRow2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 2px;
}

.mosaic-hero { margin-top: 2px; }

/* ─── FAQ accordion ─── */
.faq { max-width: 760px; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  cursor: pointer;
  transition: background .2s;
}

.faq details[open] { background: var(--soft); padding: 20px 16px; margin: 0 -16px; }

.faq summary {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .01em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--muted);
  transition: transform .3s;
  flex-shrink: 0;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  letter-spacing: .01em;
}

/* ─── Section title with accent line ─── */
.accentLine {
  position: relative;
  padding-left: 24px;
}

.accentLine::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
}

/* ─── Demo hero (category pages) ─── */
.demoHero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 80vh;
  align-items: stretch;
  padding: 0;
}

.demoHero > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 0;
}

.demoHero h1 {
  font-size: clamp(36px, 4.5vw, 72px);
  margin-bottom: 24px;
}

.demoHero .tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
  margin-bottom: 20px;
  display: block;
}

.themePanel {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.themePanel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.themePanel .visual {
  width: 100%;
  height: 100%;
  background: var(--theme, #111);
  position: relative;
  overflow: hidden;
}

.themePanel .visual::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    var(--theme2, #fff) 8deg,
    transparent 18deg,
    transparent 36deg,
    var(--theme2, #fff) 44deg,
    transparent 52deg,
    transparent 72deg,
    var(--theme2, #fff) 80deg,
    transparent 88deg
  );
  animation: spinSlow 18s linear infinite;
  opacity: .2;
}

/* Hard-kill old decorative artifacts that created white square/sweep bands on demo cards */
.categoryCard .visual,
.categoryCard .visual::before,
.categoryCard .visual::after,
.mosaic .visual,
.mosaic .visual::before,
.mosaic .visual::after,
.themePanel .visual,
.themePanel .visual::before,
.themePanel .visual::after,
.mosaic::after {
  display: none !important;
  content: none !important;
  animation: none !important;
  background: transparent !important;
  border: 0 !important;
}

.mosaic > img.mosaicImg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .7s ease, filter .7s ease;
  filter: brightness(.72) saturate(1.06);
}
.mosaic:hover > img.mosaicImg { transform: scale(1.07); filter: brightness(.82) saturate(1.12); }
.mosaic::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(17,17,17,.82), rgba(17,17,17,.20) 55%, rgba(17,17,17,.10));
  pointer-events: none;
}
.mosaicLabel { position: relative; z-index: 3; }


/* Hide category demo logos with baked-in white square backgrounds in hero sections */
.demoHeroContent .catLogo,
.heroLogoRing,
.heroLogo img.catLogo {
  display: none !important;
}


/* Mobile hero + Thai headline spacing polish for all demo pages */
.demoHero {
  background: #111 !important;
}
.demoHero .demoHeroBg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}
.demoHeroContent h1,
.homeHeroContent h1,
.splitContent h2,
.sectionTitle h2,
.priceBand h2 {
  line-height: 1.08 !important;
}
.demoHeroContent h1 {
  margin-bottom: clamp(20px, 4vw, 34px) !important;
}
@media (max-width: 768px) {
  .demoHero {
    min-height: 720px !important;
    height: 100svh !important;
    width: 100% !important;
    background: #111 !important;
  }
  .demoHero::after {
    background: linear-gradient(
      to bottom,
      rgba(17,17,17,.36) 0%,
      rgba(17,17,17,.58) 36%,
      rgba(17,17,17,.88) 100%
    ) !important;
  }
  .demoHeroContent {
    justify-content: flex-end !important;
    padding: 0 22px calc(96px + env(safe-area-inset-bottom)) !important;
    inset: 0 !important;
  }
  .demoHeroContent .eyebrow {
    line-height: 1.55 !important;
    letter-spacing: .18em !important;
    margin-bottom: 16px !important;
  }
  .demoHeroContent h1 {
    font-size: clamp(44px, 13.5vw, 64px) !important;
    line-height: 1.13 !important;
    letter-spacing: -.045em !important;
    margin-bottom: 22px !important;
    max-width: 10ch !important;
  }
  .demoHeroContent .lead,
  .demoHeroContent p {
    font-size: 15px !important;
    line-height: 1.82 !important;
    max-width: 30ch !important;
    margin-bottom: 28px !important;
  }
  .demoHeroContent .cta {
    gap: 10px !important;
  }
  .demoHeroContent .btn {
    min-height: 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .homeHeroContent h1,
  .sectionTitle h2,
  .splitContent h2,
  .priceBand h2 {
    line-height: 1.14 !important;
    letter-spacing: -.04em !important;
  }
}
@media (max-width: 420px) {
  .demoHeroContent h1 {
    font-size: clamp(40px, 13vw, 56px) !important;
    line-height: 1.16 !important;
    max-width: 9.5ch !important;
  }
}


/* Full-photo hero guard: no split/half background on any demo page */
.demoHero {
  position: relative !important;
  overflow: hidden !important;
  background: #111 !important;
  isolation: isolate !important;
}
.demoHero > img.demoHeroBg {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  z-index: 0 !important;
}
.demoHero::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background: rgba(0,0,0,.18) !important;
  pointer-events: none !important;
}
.demoHero::after {
  z-index: 1 !important;
  pointer-events: none !important;
}
.demoHeroContent {
  position: absolute !important;
  z-index: 2 !important;
}
@media (max-width: 768px) {
  .demoHero > img.demoHeroBg {
    object-position: center center !important;
    transform-origin: center center !important;
  }
  .demoHero::after {
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,.22) 0%,
      rgba(0,0,0,.48) 42%,
      rgba(0,0,0,.86) 100%
    ) !important;
  }
}


/* Final hero polish: image-only first screen, stronger readability */
.demoHero {
  height: 100svh !important;
  min-height: 720px !important;
}
.demoHero::before {
  background: rgba(0,0,0,.30) !important;
}
.demoHero::after {
  background: linear-gradient(
    to right,
    rgba(0,0,0,.82) 0%,
    rgba(0,0,0,.48) 48%,
    rgba(0,0,0,.22) 100%
  ) !important;
}
.demoHeroContent .lead,
.demoHeroContent p {
  color: rgba(255,255,255,.82) !important;
}
@media (max-width: 768px) {
  .demoHero {
    height: 100svh !important;
    min-height: 100svh !important;
  }
  .demoHero::before {
    background: rgba(0,0,0,.24) !important;
  }
  .demoHero::after {
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,.20) 0%,
      rgba(0,0,0,.50) 38%,
      rgba(0,0,0,.88) 100%
    ) !important;
  }
}


/* Luxury transparent logo + non-emoji service UI */
.brandLogo { background: transparent !important; border-radius: 0 !important; object-fit: contain !important; }
.demoHeroContent .catLogo,
.heroLogo .catLogo {
  display: block !important;
  width: min(260px, 58vw) !important;
  height: auto !important;
  max-height: 72px !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(0,0,0,.35)) !important;
  opacity: .94 !important;
  margin: 0 0 28px 0 !important;
}
.infoIcon,
.warrantyIcon,
.promoIcon {
  font-family: var(--serif) !important;
  font-size: 12px !important;
  letter-spacing: .18em !important;
  color: var(--gold) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border: 1px solid rgba(201,169,110,.45) !important;
  border-radius: 999px !important;
  margin-bottom: 10px !important;
}

/* Google Map + contact + animated review carousel */
.luxContactReview {
  background: var(--paper);
  padding: clamp(64px, 10vw, 120px) 0;
}
.luxCRGrid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 2px;
  align-items: stretch;
}
.luxMapCard,
.luxContactCard,
.luxReviewCard {
  background: var(--white);
  border: 1px solid var(--line);
}
.luxMapCard { min-height: 420px; overflow: hidden; position: relative; }
.luxMapCard iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(.78) contrast(1.08) brightness(.96); }
.luxSideStack { display: grid; gap: 2px; }
.luxContactCard { padding: clamp(28px, 4vw, 44px); }
.luxKicker { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 12px; }
.luxContactCard h2 { font-family: var(--serif); font-size: clamp(32px, 4vw, 56px); line-height: 1.08; letter-spacing: -.05em; margin-bottom: 18px; }
.luxContactList { display: grid; gap: 14px; margin: 26px 0; }
.luxContactItem { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.luxLineIcon { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(17,17,17,.14); display:flex; align-items:center; justify-content:center; font-family:var(--serif); font-size:12px; color:var(--gold); letter-spacing:.05em; }
.luxContactItem b { display:block; font-size:13px; margin-bottom:3px; }
.luxContactItem span { color:var(--muted); font-size:13px; line-height:1.5; }
.luxContactActions { display:flex; gap:10px; flex-wrap:wrap; }
.luxReviewCard { padding: clamp(28px, 4vw, 44px); min-height: 260px; overflow: hidden; }
.luxReviewHead { display:flex; justify-content:space-between; align-items:center; gap:18px; margin-bottom:18px; }
.luxReviewHead h3 { font-family:var(--serif); font-size:clamp(24px,3vw,38px); line-height:1.1; letter-spacing:-.04em; }
.luxReviewDots { display:flex; gap:6px; }
.luxReviewDots span { width:6px; height:6px; border-radius:50%; background:rgba(17,17,17,.18); transition:.25s; }
.luxReviewDots span.active { background:var(--gold); transform:scale(1.3); }
.luxReviewTrack { display:flex; transition:transform .55s cubic-bezier(.25,.46,.45,.94); }
.luxReviewSlide { flex:0 0 100%; padding-right:12px; }
.luxReviewQuote { font-family:var(--serif); font-size:clamp(20px,2.2vw,30px); line-height:1.35; letter-spacing:-.025em; margin-bottom:18px; }
.luxReviewMeta { font-size:12px; color:var(--muted); letter-spacing:.08em; text-transform:uppercase; }
@media (max-width: 900px) {
  .luxCRGrid { grid-template-columns: 1fr; }
  .luxMapCard, .luxMapCard iframe { min-height: 320px; }
}
@media (max-width: 600px) {
  .luxContactActions .btn { width: 100%; justify-content:center; }
  .luxContactItem { grid-template-columns: 38px 1fr; }
}


/* Elegant hamburger navigation for demo pages */
body:has(.demoHero) .hamburger {
  display: flex !important;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17,17,17,.16);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(247,242,234,.72);
  backdrop-filter: blur(12px);
}
body:has(.demoHero) .hamburger span { width: 18px; height: 1px; background: var(--ink); }
body:has(.demoHero) .navLinks { display: none !important; }
.mobileMenuKicker { font-size: 10px; text-transform: uppercase; letter-spacing: .28em; color: var(--gold); margin-bottom: 8px; }
.mobileMenuInner .sectionLink { color: var(--ink); }
.mobileMenuInner .sectionLink::before { content: '— '; color: var(--gold); }
.resultNum { font-variant-numeric: tabular-nums; }
.resultStrip [data-count] { transition: opacity .25s ease; }
.courseMeta span { letter-spacing: .04em; }


/* Mobile/section menu overlay polish */
.mobileMenu {
  z-index: 9999 !important;
  inset: 0 !important;
  min-height: 100svh !important;
  height: 100svh !important;
  overflow-y: auto !important;
  padding: max(34px, env(safe-area-inset-top)) 24px max(44px, env(safe-area-inset-bottom)) !important;
  background: rgba(247,242,234,.96) !important;
  backdrop-filter: blur(18px) saturate(1.05) !important;
}
.mobileMenu.open { display: flex !important; }
.mobileMenuInner {
  min-height: calc(100svh - 88px) !important;
  justify-content: center !important;
  gap: clamp(14px, 2.6vh, 26px) !important;
  padding: 42px 0 32px !important;
}
.mobileMenuInner a {
  font-size: clamp(26px, 6.8vw, 46px) !important;
  line-height: 1.05 !important;
}
.mobileMenuInner .pill {
  font-size: 12px !important;
  padding: 12px 18px !important;
  margin-top: 4px !important;
}
.mobileClose {
  z-index: 10001 !important;
  top: max(18px, env(safe-area-inset-top)) !important;
  right: 22px !important;
  width: 44px !important;
  height: 44px !important;
  border: 1px solid rgba(17,17,17,.14) !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.55) !important;
}


/* Hard modal menu: fully opaque, no hero bleed-through */
.mobileMenu.open {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  background: #f7f2ea !important;
  box-shadow: inset 0 0 0 1px rgba(20,16,12,.06) !important;
  isolation: isolate !important;
}
.mobileMenu.open::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(199,166,90,.14), transparent 26%),
    linear-gradient(135deg, #fbf7ef 0%, #eee4d5 100%);
  z-index: -1;
}
html:has(.mobileMenu.open), body:has(.mobileMenu.open) { overflow: hidden !important; }


/* Header polish: larger logo, reliable language hit area, dark mode */
.brand { gap: 14px !important; min-height: 64px; }
.brandLogo {
  height: clamp(52px, 5vw, 68px) !important;
  width: clamp(52px, 5vw, 68px) !important;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.10));
}
.brandText { font-size: clamp(19px, 1.7vw, 24px) !important; }
.langToggle,
.themeToggle {
  min-height: 44px !important;
  min-width: 78px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 0 16px !important;
  border: 1px solid var(--line) !important;
  border-radius: 999px !important;
  background: color-mix(in srgb, var(--paper) 72%, transparent) !important;
  color: var(--ink) !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  line-height: 1 !important;
  position: relative !important;
  z-index: 3 !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent;
}
.langToggle * , .themeToggle * { pointer-events: none !important; }
.langToggle:hover,
.themeToggle:hover {
  border-color: var(--ink) !important;
  background: var(--ink) !important;
  color: var(--paper) !important;
}
.langToggle:hover .langActive,
.langToggle:hover .langSep,
.langToggle:hover .langOff { color: inherit !important; }
.themeToggle { min-width: 94px !important; font-size: 11px !important; font-weight: 700 !important; letter-spacing: .08em !important; text-transform: uppercase; }
.themeIcon { width: 13px; height: 13px; border: 1.6px solid currentColor; border-radius: 999px; box-shadow: inset -4px -2px 0 currentColor; display: inline-block; }
.nav { min-height: 86px !important; height: auto !important; padding-block: 8px !important; }

html[data-theme="dark"] {
  --ink: #f8f0e4;
  --paper: #080807;
  --soft: #15120f;
  --muted: #b8aa98;
  --line: rgba(248,240,228,.16);
  --white: #12100e;
  --accent: #f8f0e4;
  --dark: #000;
  color-scheme: dark;
}
html[data-theme="dark"] body {
  background: radial-gradient(circle at 20% -10%, rgba(185,152,98,.18), transparent 34%), #080807 !important;
  color: var(--ink) !important;
}
html[data-theme="dark"] .nav {
  background: rgba(8,8,7,.86) !important;
  border-bottom-color: rgba(248,240,228,.12) !important;
}
html[data-theme="dark"] .brandLogo { filter: drop-shadow(0 10px 26px rgba(185,152,98,.20)) brightness(1.08); }
html[data-theme="dark"] .courseCard,
html[data-theme="dark"] .reviewCard,
html[data-theme="dark"] .contactPanel,
html[data-theme="dark"] .mapCard,
html[data-theme="dark"] .priceBox,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .categoryCard,
html[data-theme="dark"] .scheduleWrap,
html[data-theme="dark"] .bookingWidget,
html[data-theme="dark"] .trackerBox {
  background: #12100e !important;
  border-color: rgba(248,240,228,.14) !important;
  color: var(--ink) !important;
}
html[data-theme="dark"] .mobileMenu.open,
html[data-theme="dark"] .mobileMenu {
  background: #080807 !important;
  color: var(--ink) !important;
}
html[data-theme="dark"] .mobileMenu.open::before {
  background: radial-gradient(circle at 18% 12%, rgba(185,152,98,.22), transparent 28%), linear-gradient(135deg,#080807 0%,#16110c 100%) !important;
}
html[data-theme="dark"] .mobileClose { background: rgba(255,255,255,.08) !important; color: var(--ink) !important; border-color: rgba(248,240,228,.18) !important; }
html[data-theme="dark"] .btn:not(.dark) { color: var(--ink); border-color: rgba(248,240,228,.24); }
html[data-theme="dark"] .btn.dark { background: var(--ink); color: #080807; border-color: var(--ink); }
html[data-theme="dark"] .themeToggle .themeIcon { box-shadow: none; background: currentColor; }
html[data-theme="dark"] img { opacity: .94; }

@media (max-width: 720px) {
  .nav { gap: 8px !important; }
  .brandLogo { height: 48px !important; width: 48px !important; }
  .brandText { font-size: 17px !important; max-width: 135px; }
  .langToggle { min-width: 72px !important; padding: 0 12px !important; }
  .themeToggle { min-width: 48px !important; width: 48px !important; padding: 0 !important; }
  .themeToggle .themeText { display: none !important; }
}


/* Header after removing language toggle: hamburger stays top-right */
.nav {
  justify-content: flex-start !important;
  gap: 14px !important;
}
.brand { margin-right: auto !important; }
.navLinks { margin-left: 18px !important; }
.themeToggle { margin-left: 10px !important; }
.hamburger {
  margin-left: 8px !important;
  flex-shrink: 0 !important;
}
@media (max-width: 900px) {
  .navLinks { display: none !important; }
  .hamburger { display: flex !important; margin-left: 6px !important; }
  .themeToggle { margin-left: 0 !important; }
}
@media (min-width: 901px) {
  .hamburger { display: flex !important; }
}


/* === Business demo QA pass: spacing, font rhythm, mobile safety === */
:root {
  --theme-ink: #111111;
  --theme-paper: #f7f2ea;
  --theme-soft: #ede5d8;
  --theme-muted: #746c60;
  --theme-line: rgba(17,17,17,.1);
  --theme-gold: #b99862;
  --theme-accent: #111111;
  --theme-primary: #111111;
  --theme-secondary: #b99862;
}
html[data-business] {
  --ink: var(--theme-ink);
  --paper: var(--theme-paper);
  --soft: var(--theme-soft);
  --muted: var(--theme-muted);
  --line: var(--theme-line);
  --gold: var(--theme-gold);
  --accent: var(--theme-accent);
  --theme: var(--theme-primary);
  --theme2: var(--theme-secondary);
}
html[data-business] body { background: var(--paper); color: var(--ink); }
html[data-business] .nav { background: color-mix(in srgb, var(--paper) 88%, transparent) !important; }
html[data-business] .section { padding-block: clamp(72px, 9vw, 116px) !important; }
html[data-business] .section[style*="padding-top:0"],
html[data-business] .section[style*="padding-top: 0"] { padding-top: clamp(56px, 11vw, 88px) !important; }
html[data-business] .demoHero + .section,
html[data-business] .demoHero + .resultStrip,
html[data-business] .demoHero + .imgRow,
html[data-business] .imgRow + .section,
html[data-business] .galleryGrid + .section,
html[data-business] .masonryGrid + .section,
html[data-business] .petGallery + .section { margin-top: clamp(40px, 7vw, 72px) !important; }
html[data-business] .demoHeroContent h1 {
  line-height: 1.08 !important;
  letter-spacing: -.055em !important;
  text-wrap: balance;
  max-width: min(900px, 92vw);
}
html[data-business] .sectionTitle h2,
html[data-business] .priceBand h2,
html[data-business] .enrollStrip h3,
html[data-business] .luxContactCard h2,
html[data-business] .luxCRGrid h3,
html[data-business] .bookingWidget h2,
html[data-business] .trackerBox h2,
html[data-business] .beforeAfterText h2 {
  line-height: 1.12 !important;
  letter-spacing: -.045em !important;
  text-wrap: balance;
}
html[data-business] p,
html[data-business] .lead,
html[data-business] .reviewText,
html[data-business] .courseBody p,
html[data-business] .serviceCard p,
html[data-business] .contactDetail,
html[data-business] .luxReviewQuote {
  line-height: 1.78 !important;
}
html[data-business] .courseCard,
html[data-business] .reviewCard,
html[data-business] .contactPanel,
html[data-business] .mapCard,
html[data-business] .scheduleWrap,
html[data-business] .serviceCard,
html[data-business] .bookingWidget,
html[data-business] .trackerBox,
html[data-business] .luxContactCard {
  background: color-mix(in srgb, var(--paper) 90%, white 10%) !important;
  border-color: var(--line) !important;
}
html[data-business] .courseBadge,
html[data-business] .resultStrip,
html[data-business] .btn.dark,
html[data-business] .pill,
html[data-business] .schedOpen {
  background: var(--theme-primary) !important;
  border-color: var(--theme-primary) !important;
}
html[data-business] .coursePrice,
html[data-business] .enrollStrip h3,
html[data-business] .sectionTitle .eyebrow { color: var(--theme-primary) !important; }
html[data-business] .enrollStrip { background: var(--theme-secondary) !important; }
html[data-business] .demoHero::after {
  background: linear-gradient(90deg, color-mix(in srgb, var(--theme-primary) 76%, black 24%) 0%, rgba(0,0,0,.42) 58%, rgba(0,0,0,.15) 100%) !important;
}

@media (max-width: 720px) {
  html[data-business] .demoHero {
    min-height: 100svh !important;
    height: auto !important;
  }
  html[data-business] .demoHeroContent {
    position: relative !important;
    min-height: 100svh !important;
    justify-content: flex-end !important;
    padding: 96px 22px max(96px, calc(env(safe-area-inset-bottom) + 78px)) !important;
  }
  html[data-business] .demoHeroContent h1 {
    font-size: clamp(42px, 12vw, 58px) !important;
    line-height: 1.14 !important;
    margin-bottom: 18px !important;
  }
  html[data-business] .demoHeroContent .lead {
    font-size: 15px !important;
    line-height: 1.86 !important;
    margin-bottom: 28px !important;
    max-width: 94vw !important;
  }
  html[data-business] .demoHeroContent .cta {
    margin-top: 0 !important;
    gap: 10px !important;
  }
  html[data-business] .demoHeroContent .btn { min-height: 46px !important; }
  html[data-business] .section { padding-block: 64px !important; }
  html[data-business] .section[style*="padding-top:0"],
  html[data-business] .section[style*="padding-top: 0"] { padding-top: 56px !important; }
  html[data-business] .imgRow { margin-bottom: 44px !important; }
  html[data-business] .sectionTitle { margin-bottom: 34px !important; }
  html[data-business] .sectionTitle h2,
  html[data-business] .priceBand h2 { font-size: clamp(34px, 10vw, 48px) !important; line-height: 1.16 !important; }
  html[data-business] .courseGrid,
  html[data-business] .serviceGrid,
  html[data-business] .galleryGrid { gap: 18px !important; }
}

/* Theme picker in hamburger menu */
.themePicker {
  width: min(440px, 88vw);
  margin-top: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.themePickerTitle {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .24em;
  color: var(--muted);
  margin-bottom: 13px;
  text-align: center;
  font-weight: 800;
}
.themePickerGrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.paletteOption {
  display: grid;
  justify-items: center;
  gap: 7px;
  color: var(--ink);
  cursor: pointer;
  padding: 8px 4px;
  border-radius: 999px;
  background: transparent;
}
.paletteOptionSwatch {
  width: 34px; height: 34px; border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--swatch-a) 0 50%, var(--swatch-b) 50% 100%);
  box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--paper) 80%, transparent);
}
.paletteOptionName { font-size: 9px; line-height: 1.1; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.paletteOption[aria-pressed="true"] .paletteOptionSwatch { outline: 2px solid var(--gold); outline-offset: 3px; }
.paletteOption[aria-pressed="true"] .paletteOptionName { color: var(--ink); font-weight: 800; }
.paletteOption:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
@media (max-width: 480px) {
  .themePickerGrid { gap: 4px; }
  .paletteOptionSwatch { width: 30px; height: 30px; }
  .paletteOptionName { font-size: 8px; }
}

html[data-business="nail"][data-palette="rose-gold"]{--theme-ink:#241417;--theme-paper:#fff5f6;--theme-soft:#f3dadd;--theme-muted:#8b6870;--theme-line:rgba(36,20,23,.12);--theme-gold:#c89b7b;--theme-accent:#b76e79;--theme-primary:#8f3f4f;--theme-secondary:#e7b7bd}
html[data-business="nail"][data-palette="pearl"]{--theme-ink:#25201b;--theme-paper:#fbf6ef;--theme-soft:#eee2d3;--theme-muted:#75685b;--theme-line:rgba(37,32,27,.12);--theme-gold:#b99862;--theme-accent:#a88458;--theme-primary:#f7e8df;--theme-secondary:#b99862}
html[data-business="nail"][data-palette="blush"]{--theme-ink:#2d1720;--theme-paper:#fff3f5;--theme-soft:#f5d2da;--theme-muted:#956c78;--theme-line:rgba(45,23,32,.12);--theme-gold:#d9899e;--theme-accent:#c65f7b;--theme-primary:#d9899e;--theme-secondary:#fff3f5}
html[data-business="nail"][data-palette="mocha"]{--theme-ink:#2a1c18;--theme-paper:#f7eee8;--theme-soft:#e6d1c5;--theme-muted:#7b6056;--theme-line:rgba(42,28,24,.13);--theme-gold:#b98972;--theme-accent:#8b5e50;--theme-primary:#5a3d36;--theme-secondary:#d8b7a3}
html[data-business="nail"][data-palette="noir"]{--theme-ink:#171113;--theme-paper:#f7f0ea;--theme-soft:#e6d8ce;--theme-muted:#766860;--theme-line:rgba(23,17,19,.14);--theme-gold:#c9a46a;--theme-accent:#9b7140;--theme-primary:#171113;--theme-secondary:#c9a46a}
html[data-business="cafe"][data-palette="espresso"]{--theme-ink:#26180f;--theme-paper:#f6ecdf;--theme-soft:#e6d1bb;--theme-muted:#7a5c47;--theme-line:rgba(38,24,15,.13);--theme-gold:#c49a6c;--theme-accent:#8a5a35;--theme-primary:#3b2418;--theme-secondary:#c49a6c}
html[data-business="cafe"][data-palette="matcha"]{--theme-ink:#223020;--theme-paper:#f4f7ec;--theme-soft:#d8e3c0;--theme-muted:#667256;--theme-line:rgba(34,48,32,.13);--theme-gold:#9b8f54;--theme-accent:#556b3e;--theme-primary:#556b3e;--theme-secondary:#d8e3c0}
html[data-business="cafe"][data-palette="cream"]{--theme-ink:#302216;--theme-paper:#fff8ee;--theme-soft:#f4e4c9;--theme-muted:#7b634e;--theme-line:rgba(48,34,22,.12);--theme-gold:#c69c6d;--theme-accent:#7b4f32;--theme-primary:#7b4f32;--theme-secondary:#f4e4c9}
html[data-business="cafe"][data-palette="terracotta"]{--theme-ink:#331b14;--theme-paper:#fff3eb;--theme-soft:#f0c7a6;--theme-muted:#8a5b46;--theme-line:rgba(51,27,20,.13);--theme-gold:#c6794d;--theme-accent:#a24e34;--theme-primary:#a24e34;--theme-secondary:#f0c7a6}
html[data-business="cafe"][data-palette="charcoal"]{--theme-ink:#1d1b18;--theme-paper:#f3eee6;--theme-soft:#ddd2c2;--theme-muted:#6f675e;--theme-line:rgba(29,27,24,.13);--theme-gold:#d2a86d;--theme-accent:#8c6840;--theme-primary:#1d1b18;--theme-secondary:#d2a86d}
html[data-business="clinic"][data-palette="clean-blue"]{--theme-ink:#163242;--theme-paper:#f4fbfd;--theme-soft:#dceff5;--theme-muted:#5d7580;--theme-line:rgba(22,50,66,.12);--theme-gold:#6ba7bd;--theme-accent:#2f6f91;--theme-primary:#2f6f91;--theme-secondary:#dceff5}
html[data-business="clinic"][data-palette="sage"]{--theme-ink:#24322d;--theme-paper:#f4f8f5;--theme-soft:#dfe9e3;--theme-muted:#65766e;--theme-line:rgba(36,50,45,.12);--theme-gold:#8ca08f;--theme-accent:#58766a;--theme-primary:#58766a;--theme-secondary:#dfe9e3}
html[data-business="clinic"][data-palette="soft-lilac"]{--theme-ink:#302b43;--theme-paper:#faf8ff;--theme-soft:#eee9fb;--theme-muted:#746d8c;--theme-line:rgba(48,43,67,.12);--theme-gold:#9d8fc9;--theme-accent:#766b9f;--theme-primary:#766b9f;--theme-secondary:#eee9fb}
html[data-business="clinic"][data-palette="mint"]{--theme-ink:#173833;--theme-paper:#f3fffc;--theme-soft:#d9f2ed;--theme-muted:#5c7b75;--theme-line:rgba(23,56,51,.12);--theme-gold:#6db6ab;--theme-accent:#3f8d83;--theme-primary:#3f8d83;--theme-secondary:#d9f2ed}
html[data-business="clinic"][data-palette="ivory"]{--theme-ink:#342a1c;--theme-paper:#fbf7ee;--theme-soft:#ede1cd;--theme-muted:#796b58;--theme-line:rgba(52,42,28,.12);--theme-gold:#b99a67;--theme-accent:#9a7b4f;--theme-primary:#9a7b4f;--theme-secondary:#f5efe3}
html[data-business="aircon"][data-palette="ice-blue"]{--theme-ink:#102d40;--theme-paper:#f3fbff;--theme-soft:#d8efff;--theme-muted:#587486;--theme-line:rgba(16,45,64,.12);--theme-gold:#68add6;--theme-accent:#1f78b4;--theme-primary:#1f78b4;--theme-secondary:#d8efff}
html[data-business="aircon"][data-palette="steel"]{--theme-ink:#1f2d36;--theme-paper:#f4f7f9;--theme-soft:#d6e0e8;--theme-muted:#63727c;--theme-line:rgba(31,45,54,.12);--theme-gold:#8198a8;--theme-accent:#3d5568;--theme-primary:#3d5568;--theme-secondary:#d6e0e8}
html[data-business="aircon"][data-palette="electric"]{--theme-ink:#09234d;--theme-paper:#f2f9ff;--theme-soft:#bde7ff;--theme-muted:#557aa0;--theme-line:rgba(9,35,77,.12);--theme-gold:#53b8ff;--theme-accent:#0866ff;--theme-primary:#0866ff;--theme-secondary:#bde7ff}
html[data-business="aircon"][data-palette="navy"]{--theme-ink:#102a43;--theme-paper:#f1f7fb;--theme-soft:#cfe2ef;--theme-muted:#596f82;--theme-line:rgba(16,42,67,.13);--theme-gold:#8ecae6;--theme-accent:#215a83;--theme-primary:#102a43;--theme-secondary:#8ecae6}
html[data-business="aircon"][data-palette="service-orange"]{--theme-ink:#332016;--theme-paper:#fff7ef;--theme-soft:#ffe1c2;--theme-muted:#80614b;--theme-line:rgba(51,32,22,.12);--theme-gold:#f97316;--theme-accent:#ea580c;--theme-primary:#f97316;--theme-secondary:#ffe1c2}
html[data-business="tuition"][data-palette="academy-blue"]{--theme-ink:#172341;--theme-paper:#f5f8ff;--theme-soft:#dbe7ff;--theme-muted:#606d8b;--theme-line:rgba(23,35,65,.12);--theme-gold:#6f91d8;--theme-accent:#273c75;--theme-primary:#273c75;--theme-secondary:#dbe7ff}
html[data-business="tuition"][data-palette="pencil"]{--theme-ink:#332513;--theme-paper:#fff9e8;--theme-soft:#fff0bf;--theme-muted:#806d49;--theme-line:rgba(51,37,19,.12);--theme-gold:#d79528;--theme-accent:#b97613;--theme-primary:#d79528;--theme-secondary:#fff0bf}
html[data-business="tuition"][data-palette="green-board"]{--theme-ink:#15352e;--theme-paper:#f2faf7;--theme-soft:#d8ede7;--theme-muted:#5e766f;--theme-line:rgba(21,53,46,.12);--theme-gold:#7da195;--theme-accent:#245c4f;--theme-primary:#245c4f;--theme-secondary:#d8ede7}
html[data-business="tuition"][data-palette="purple"]{--theme-ink:#28213f;--theme-paper:#f9f6ff;--theme-soft:#e8e2ff;--theme-muted:#6e6688;--theme-line:rgba(40,33,63,.12);--theme-gold:#9887ce;--theme-accent:#5b4b8a;--theme-primary:#5b4b8a;--theme-secondary:#e8e2ff}
html[data-business="tuition"][data-palette="red-rank"]{--theme-ink:#351818;--theme-paper:#fff6f6;--theme-soft:#ffd6d6;--theme-muted:#856262;--theme-line:rgba(53,24,24,.12);--theme-gold:#d86f6f;--theme-accent:#b83232;--theme-primary:#b83232;--theme-secondary:#ffd6d6}
html[data-business="pet"][data-palette="warm-paw"]{--theme-ink:#332318;--theme-paper:#fff6ee;--theme-soft:#f4d6b8;--theme-muted:#80624e;--theme-line:rgba(51,35,24,.12);--theme-gold:#c58a54;--theme-accent:#a66a3f;--theme-primary:#a66a3f;--theme-secondary:#f4d6b8}
html[data-business="pet"][data-palette="fresh-green"]{--theme-ink:#213628;--theme-paper:#f5fbf5;--theme-soft:#def1df;--theme-muted:#637966;--theme-line:rgba(33,54,40,.12);--theme-gold:#83b88b;--theme-accent:#4f8f63;--theme-primary:#4f8f63;--theme-secondary:#def1df}
html[data-business="pet"][data-palette="sky"]{--theme-ink:#1d3447;--theme-paper:#f4fbff;--theme-soft:#dcefff;--theme-muted:#60798e;--theme-line:rgba(29,52,71,.12);--theme-gold:#78acd0;--theme-accent:#4f91c7;--theme-primary:#4f91c7;--theme-secondary:#dcefff}
html[data-business="pet"][data-palette="peach"]{--theme-ink:#3a211b;--theme-paper:#fff6f1;--theme-soft:#ffe1d4;--theme-muted:#8a655a;--theme-line:rgba(58,33,27,.12);--theme-gold:#e69578;--theme-accent:#cc765b;--theme-primary:#e69578;--theme-secondary:#ffe1d4}
html[data-business="pet"][data-palette="charcoal-tan"]{--theme-ink:#2b2723;--theme-paper:#f6f0e8;--theme-soft:#e5d4c0;--theme-muted:#746a60;--theme-line:rgba(43,39,35,.13);--theme-gold:#d6b58c;--theme-accent:#8a6842;--theme-primary:#2b2723;--theme-secondary:#d6b58c}
html[data-business="restaurant"][data-palette="chili"]{--theme-ink:#341714;--theme-paper:#fff4ee;--theme-soft:#f4d2c5;--theme-muted:#875f56;--theme-line:rgba(52,23,20,.12);--theme-gold:#f4b183;--theme-accent:#c0392b;--theme-primary:#c0392b;--theme-secondary:#f4b183}
html[data-business="restaurant"][data-palette="soy"]{--theme-ink:#2a170f;--theme-paper:#f8eee5;--theme-soft:#e5cfbb;--theme-muted:#7a5d4d;--theme-line:rgba(42,23,15,.13);--theme-gold:#c69c6d;--theme-accent:#7c4a2c;--theme-primary:#3a2117;--theme-secondary:#c69c6d}
html[data-business="restaurant"][data-palette="olive"]{--theme-ink:#2d331d;--theme-paper:#f8f6ea;--theme-soft:#d8d0a7;--theme-muted:#75745a;--theme-line:rgba(45,51,29,.12);--theme-gold:#a99a52;--theme-accent:#5f6f3e;--theme-primary:#5f6f3e;--theme-secondary:#d8d0a7}
html[data-business="restaurant"][data-palette="midnight"]{--theme-ink:#171717;--theme-paper:#f6f1e8;--theme-soft:#e4d7c4;--theme-muted:#73695d;--theme-line:rgba(17,17,17,.13);--theme-gold:#d4af37;--theme-accent:#a97f1d;--theme-primary:#111111;--theme-secondary:#d4af37}
html[data-business="restaurant"][data-palette="seafood"]{--theme-ink:#12333d;--theme-paper:#f1fbfd;--theme-soft:#bdeaf3;--theme-muted:#5b7a83;--theme-line:rgba(18,51,61,.12);--theme-gold:#58aec2;--theme-accent:#136f8a;--theme-primary:#136f8a;--theme-secondary:#bdeaf3}

html[data-theme="dark"][data-business] {
  --ink: #f8f0e4;
  --paper: #080807;
  --soft: #15120f;
  --muted: #b8aa98;
  --line: rgba(248,240,228,.16);
  --white: #12100e;
  --dark: #000;
  color-scheme: dark;
}


/* Final rhythm balance: premium spacing without giant blank gaps */
html[data-business] .section { padding-block: clamp(58px, 7.2vw, 92px) !important; }
html[data-business] .section[style*="padding-top:0"],
html[data-business] .section[style*="padding-top: 0"] { padding-top: clamp(48px, 8vw, 72px) !important; }
html[data-business] .demoHero + .section,
html[data-business] .demoHero + .resultStrip,
html[data-business] .demoHero + .imgRow,
html[data-business] .imgRow + .section,
html[data-business] .galleryGrid + .section,
html[data-business] .masonryGrid + .section,
html[data-business] .petGallery + .section { margin-top: clamp(32px, 5vw, 52px) !important; }
html[data-business] .sectionTitle { margin-bottom: clamp(28px, 4vw, 42px) !important; }
@media (max-width: 720px) {
  html[data-business] .section { padding-block: 54px !important; }
  html[data-business] .section[style*="padding-top:0"],
  html[data-business] .section[style*="padding-top: 0"] { padding-top: 48px !important; }
  html[data-business] .imgRow { margin-bottom: 34px !important; }
}


/* Premium replacement for emoji icons */
.luxIcon,
.choiceCode {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
  color: var(--theme-primary);
  border: 1px solid color-mix(in srgb, var(--theme-primary) 36%, transparent);
  background: color-mix(in srgb, var(--theme-secondary) 42%, transparent);
}
.luxIcon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 9px;
  margin-right: 8px;
}
.choiceCode {
  min-width: 54px;
  height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 8px;
  margin-right: 7px;
}
html[data-theme="dark"] .luxIcon,
html[data-theme="dark"] .choiceCode {
  color: var(--ink);
  border-color: rgba(248,240,228,.22);
  background: rgba(255,255,255,.08);
}


/* Compact premium rhythm: remove accidental blank-looking vertical gaps */
html[data-business] .section { padding-block: clamp(46px, 6vw, 72px) !important; }
html[data-business] .section[style*="padding-top:0"],
html[data-business] .section[style*="padding-top: 0"] { padding-top: clamp(38px, 6vw, 56px) !important; }
html[data-business] .demoHero + .section,
html[data-business] .demoHero + .resultStrip,
html[data-business] .demoHero + .imgRow,
html[data-business] .imgRow + .section,
html[data-business] .galleryGrid + .section,
html[data-business] .masonryGrid + .section,
html[data-business] .petGallery + .section { margin-top: clamp(20px, 3.5vw, 36px) !important; }
html[data-business] .luxContactReview { padding-block: clamp(56px, 7vw, 82px) !important; }
html[data-business] .priceBand,
html[data-business] #booking { padding-block: clamp(54px, 7vw, 78px) !important; }
html[data-business] .imgRow { margin-bottom: clamp(18px, 3vw, 30px) !important; }
@media (max-width: 720px) {
  html[data-business] .section { padding-block: 46px !important; }
  html[data-business] .section[style*="padding-top:0"],
  html[data-business] .section[style*="padding-top: 0"] { padding-top: 38px !important; }
  html[data-business] .demoHero + .section,
  html[data-business] .demoHero + .resultStrip,
  html[data-business] .demoHero + .imgRow,
  html[data-business] .imgRow + .section { margin-top: 24px !important; }
  html[data-business] .luxContactReview,
  html[data-business] .priceBand,
  html[data-business] #booking { padding-block: 48px !important; }
}


/* Aircon trust strip: make the guarantee section visible, not blank-looking */
html[data-business="aircon"] .airconTrustStrip {
  background: linear-gradient(135deg, var(--theme-primary), color-mix(in srgb, var(--theme-primary) 72%, black 28%)) !important;
  color: #fff !important;
  padding-block: clamp(42px, 5vw, 64px) !important;
  margin-top: 0 !important;
}
html[data-business="aircon"] .airconTrustStrip .sectionTitle { margin-bottom: 24px !important; }
html[data-business="aircon"] .airconTrustStrip .sectionTitle h2 { color: #fff !important; }
html[data-business="aircon"] .airconTrustStrip .warrantyRow { margin-top: 0 !important; gap: 12px !important; }
html[data-business="aircon"] .airconTrustStrip .warrantyCard {
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.18) !important;
  color: #fff !important;
  backdrop-filter: blur(10px);
}
html[data-business="aircon"] .airconTrustStrip .warrantyCard p { color: rgba(255,255,255,.72) !important; }
html[data-business="aircon"] .airconTrustStrip .luxIcon {
  color: #fff !important;
  border-color: rgba(255,255,255,.32) !important;
  background: rgba(255,255,255,.1) !important;
}


/* Dark mode contrast emergency pass: no dark text on dark surfaces */
html[data-theme="dark"] .priceBand,
html[data-theme="dark"] .priceBand *,
html[data-theme="dark"] .ctaBand,
html[data-theme="dark"] .ctaBand *,
html[data-theme="dark"] .statsBand,
html[data-theme="dark"] .statsBand *,
html[data-theme="dark"] #booking,
html[data-theme="dark"] #booking *,
html[data-theme="dark"] .demoCta,
html[data-theme="dark"] .demoCta *,
html[data-theme="dark"] .footer,
html[data-theme="dark"] .footer * {
  color: #f8f0e4 !important;
}
html[data-theme="dark"] .priceBand p,
html[data-theme="dark"] .ctaBand p,
html[data-theme="dark"] #booking p,
html[data-theme="dark"] .footerSub,
html[data-theme="dark"] .muted,
html[data-theme="dark"] .lead,
html[data-theme="dark"] .courseBody p,
html[data-theme="dark"] .reviewAuthor,
html[data-theme="dark"] .contactDetail,
html[data-theme="dark"] .luxReviewMeta {
  color: rgba(248,240,228,.72) !important;
}
html[data-theme="dark"] .btn.dark,
html[data-theme="dark"] a.btn.dark,
html[data-theme="dark"] button.btn.dark,
html[data-theme="dark"] .pill,
html[data-theme="dark"] .schedDownload,
html[data-theme="dark"] .bookSubmit,
html[data-theme="dark"] .submitBtn,
html[data-theme="dark"] .cartCheckout {
  background: #f8f0e4 !important;
  color: #080807 !important;
  border-color: #f8f0e4 !important;
}
html[data-theme="dark"] .btn:not(.dark),
html[data-theme="dark"] a.btn:not(.dark),
html[data-theme="dark"] button.btn:not(.dark),
html[data-theme="dark"] .btn--light {
  color: #f8f0e4 !important;
  border-color: rgba(248,240,228,.42) !important;
  background: rgba(248,240,228,.06) !important;
}
html[data-theme="dark"] .btn:not(.dark):hover,
html[data-theme="dark"] a.btn:not(.dark):hover,
html[data-theme="dark"] button.btn:not(.dark):hover {
  background: rgba(248,240,228,.16) !important;
  border-color: rgba(248,240,228,.72) !important;
}
html[data-theme="dark"] .courseCard,
html[data-theme="dark"] .serviceCard,
html[data-theme="dark"] .reviewCard,
html[data-theme="dark"] .contactPanel,
html[data-theme="dark"] .mapCard,
html[data-theme="dark"] .scheduleWrap,
html[data-theme="dark"] .bookingWidget,
html[data-theme="dark"] .trackerBox,
html[data-theme="dark"] .luxContactCard,
html[data-theme="dark"] .processStep,
html[data-theme="dark"] .warrantyCard,
html[data-theme="dark"] .bookForm,
html[data-theme="dark"] .cartDrawer,
html[data-theme="dark"] .modal,
html[data-theme="dark"] .panel {
  background: #12100e !important;
  color: #f8f0e4 !important;
  border-color: rgba(248,240,228,.16) !important;
}
html[data-theme="dark"] .courseCard h1,
html[data-theme="dark"] .courseCard h2,
html[data-theme="dark"] .courseCard h3,
html[data-theme="dark"] .courseCard h4,
html[data-theme="dark"] .serviceCard h4,
html[data-theme="dark"] .reviewCard,
html[data-theme="dark"] .reviewText,
html[data-theme="dark"] .scheduleWrap th,
html[data-theme="dark"] .scheduleWrap td,
html[data-theme="dark"] .bookFormTitle,
html[data-theme="dark"] .bfLabel,
html[data-theme="dark"] .bfProb,
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  color: #f8f0e4 !important;
}
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .bfProb {
  background: #1a1713 !important;
  border-color: rgba(248,240,228,.18) !important;
}
html[data-theme="dark"] .coursePrice,
html[data-theme="dark"] .sectionTitle .eyebrow,
html[data-theme="dark"] .resultNum,
html[data-theme="dark"] .luxIcon,
html[data-theme="dark"] .choiceCode {
  color: #f8f0e4 !important;
}
html[data-theme="dark"] .hamburger span { background: #f8f0e4 !important; }
html[data-theme="dark"] .themeToggle,
html[data-theme="dark"] .hamburger {
  color: #f8f0e4 !important;
  border-color: rgba(248,240,228,.25) !important;
  background: rgba(248,240,228,.07) !important;
}
/* Dark mode with business palette: keep accent visible but text readable */
html[data-theme="dark"][data-business] .courseBadge,
html[data-theme="dark"][data-business] .schedOpen {
  background: color-mix(in srgb, var(--theme-primary) 55%, #f8f0e4 45%) !important;
  color: #080807 !important;
}
html[data-theme="dark"][data-business] .resultStrip,
html[data-theme="dark"][data-business] .airconTrustStrip {
  color: #fff !important;
}


/* Dark mode readability hardening for mobile screens */
html[data-theme="dark"] .priceBand p,
html[data-theme="dark"] .ctaBand p,
html[data-theme="dark"] #booking p,
html[data-theme="dark"] .demoCta p,
html[data-theme="dark"] .footerSub,
html[data-theme="dark"] .lead,
html[data-theme="dark"] .luxReviewQuote,
html[data-theme="dark"] .contactDetail {
  color: rgba(248,240,228,.82) !important;
}
html[data-theme="dark"] .priceBand .btn,
html[data-theme="dark"] .ctaBand .btn,
html[data-theme="dark"] .demoCta .btn,
html[data-theme="dark"] .luxContactReview .btn,
html[data-theme="dark"] #booking .btn {
  border-color: rgba(248,240,228,.68) !important;
  color: #fff7ea !important;
  background: rgba(248,240,228,.10) !important;
  box-shadow: inset 0 0 0 1px rgba(248,240,228,.06) !important;
}
html[data-theme="dark"] .priceBand .btn.dark,
html[data-theme="dark"] .ctaBand .btn.dark,
html[data-theme="dark"] .demoCta .btn.dark,
html[data-theme="dark"] .luxContactReview .btn.dark,
html[data-theme="dark"] #booking .btn.dark,
html[data-theme="dark"] .priceBand .btn--light,
html[data-theme="dark"] .ctaBand .btn--light {
  background: #f8f0e4 !important;
  color: #070707 !important;
  border-color: #f8f0e4 !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.24) !important;
}
html[data-theme="dark"] .priceBand h1,
html[data-theme="dark"] .priceBand h2,
html[data-theme="dark"] .priceBand h3,
html[data-theme="dark"] .ctaBand h1,
html[data-theme="dark"] .ctaBand h2,
html[data-theme="dark"] .ctaBand h3,
html[data-theme="dark"] .demoCta h1,
html[data-theme="dark"] .demoCta h2,
html[data-theme="dark"] .demoCta h3 {
  color: #fff7ea !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
}


/* Final dark CTA override: loaded last on purpose */
html[data-theme="dark"] .priceBand a.btn.btn--light,
html[data-theme="dark"] .priceBand a.btn.dark,
html[data-theme="dark"] .ctaBand a.btn.btn--light,
html[data-theme="dark"] .demoCta a.btn.btn--light {
  background: #f8f0e4 !important;
  color: #070707 !important;
  border-color: #f8f0e4 !important;
  opacity: 1 !important;
}
html[data-theme="dark"] .priceBand a.btn:not(.btn--light):not(.dark),
html[data-theme="dark"] .ctaBand a.btn:not(.btn--light):not(.dark),
html[data-theme="dark"] .demoCta a.btn:not(.btn--light):not(.dark) {
  background: transparent !important;
  color: #fff7ea !important;
  border-color: rgba(255,247,234,.78) !important;
  opacity: 1 !important;
}


/* ─── Behavior-led SEO/AEO sections ─── */
.behaviorSection,
.deepSeoSection,
.serviceFaqSection {
  padding: clamp(64px, 9vw, 118px) 0;
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}
.behaviorSection { background: var(--dark); color: var(--paper); }
.behaviorSection .eyebrow,
.deepSeoHero .eyebrow { color: rgba(247,242,234,.58); }
.behaviorSection .lead { color: rgba(247,242,234,.68); max-width: 720px; }
.behaviorGrid,
.intentGrid,
.sourceGrid,
.serviceFaqGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 42px;
}
.behaviorCard,
.intentCard,
.sourceCard,
.serviceFaqCard {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(26px, 3vw, 42px);
  min-height: 230px;
}
.behaviorCard { background: rgba(255,255,255,.075); border-color: rgba(255,255,255,.12); }
.behaviorCard span,
.intentCard span,
.sourceCard span,
.serviceFaqCard span {
  display: inline-flex;
  min-width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: 22px;
}
.behaviorCard h3,
.intentCard h3,
.sourceCard h3,
.serviceFaqCard h3 {
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.12;
  letter-spacing: -.035em;
  margin-bottom: 14px;
}
.behaviorCard p { color: rgba(247,242,234,.68); }
.intentCard p,
.sourceCard p,
.serviceFaqCard p { color: var(--muted); }
.deepSeoHero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  background:
    radial-gradient(circle at 72% 18%, rgba(185,152,98,.28), transparent 30%),
    linear-gradient(135deg, #080807, #18140f 58%, #070707);
  color: var(--paper);
  padding: clamp(92px, 12vw, 152px) 0 clamp(56px, 8vw, 96px);
}
.deepSeoHero h1 { color: var(--paper); max-width: 940px; }
.deepSeoHero .lead { color: rgba(247,242,234,.72); max-width: 760px; }
.deepSeoStats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 48px;
}
.deepSeoStat {
  border: 1px solid rgba(247,242,234,.16);
  background: rgba(247,242,234,.06);
  padding: 24px 20px;
}
.deepSeoStat b { display:block; color: var(--gold); font-size: clamp(26px, 3vw, 42px); line-height: 1; margin-bottom: 8px; }
.deepSeoStat small { color: rgba(247,242,234,.62); }
.answerStrip {
  background: var(--soft);
  padding: clamp(52px, 7vw, 86px) 0;
}
.answerList {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}
.answerItem {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px 28px;
}
.answerItem b { display:block; margin-bottom: 8px; font-size: 18px; }
.answerItem p { color: var(--muted); margin:0; }
.sourceCard a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.proofNote {
  margin-top: 34px;
  padding: 22px 24px;
  border-left: 3px solid var(--gold);
  background: rgba(185,152,98,.10);
  color: var(--muted);
}
html[data-theme="dark"] .intentCard,
html[data-theme="dark"] .sourceCard,
html[data-theme="dark"] .serviceFaqCard,
html[data-theme="dark"] .answerItem { background: var(--white); }
@media(max-width:900px){
  .behaviorGrid,
  .intentGrid,
  .sourceGrid,
  .serviceFaqGrid,
  .deepSeoStats { grid-template-columns: 1fr; }
  .deepSeoHero { min-height: auto; padding-top: 96px; }
}


/* ─── Demo gallery mobile compatibility pass ─── */
html[data-business] .imgRow[data-gallery="business"] {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(10px, 1.2vw, 18px) !important;
  width: min(1180px, 92vw) !important;
  margin: clamp(34px, 6vw, 62px) auto !important;
  padding: clamp(10px, 1.4vw, 18px) !important;
  border: 1px solid color-mix(in srgb, var(--line) 72%, var(--theme-primary, var(--gold)) 28%) !important;
  border-radius: clamp(20px, 2vw, 30px) !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.70), rgba(255,255,255,.18)),
    color-mix(in srgb, var(--soft) 88%, var(--theme-primary, var(--gold)) 12%) !important;
  box-shadow: 0 22px 70px rgba(17,17,17,.10) !important;
  overflow: hidden !important;
  content-visibility: visible !important;
}
html[data-business] .imgRow[data-gallery="business"][data-gallery-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
html[data-business] .galleryCard {
  position: relative !important;
  min-width: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  border-radius: clamp(14px, 1.4vw, 22px) !important;
  background: var(--soft) !important;
  isolation: isolate !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.30) !important;
}
html[data-business] .galleryCard::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(to top, rgba(0,0,0,.58), transparent);
  z-index: 1;
  pointer-events: none;
}
html[data-business] .imgRow[data-gallery="business"] img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: clamp(250px, 31vw, 430px) !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  transform: translateZ(0) scale(1.001);
  transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .55s cubic-bezier(.2,.7,.2,1) !important;
}
@media (hover:hover) and (pointer:fine) {
  html[data-business] .galleryCard:hover img {
    transform: scale(1.055) !important;
    filter: saturate(1.06) contrast(1.03);
  }
}
html[data-business] .galleryCard figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  color: #fff;
  font-size: clamp(12px, 1.1vw, 14px);
  line-height: 1.45;
  font-weight: 650;
  text-shadow: 0 1px 18px rgba(0,0,0,.55);
  transform: translateY(0);
}
html[data-theme="dark"][data-business] .imgRow[data-gallery="business"] {
  background:
    linear-gradient(135deg, rgba(248,240,228,.10), rgba(248,240,228,.035)),
    color-mix(in srgb, #12100e 82%, var(--theme-primary, var(--gold)) 18%) !important;
  border-color: rgba(248,240,228,.14) !important;
  box-shadow: 0 22px 70px rgba(0,0,0,.34) !important;
}

/* Food example uses a slider instead of .imgRow; fix image sizing and mobile tap ergonomics. */
html[data-business="restaurant"] .imgSlider[data-gallery="business-slider"] {
  border-radius: clamp(18px, 2vw, 28px) !important;
  overflow: hidden !important;
  background: var(--soft) !important;
  box-shadow: 0 22px 70px rgba(17,17,17,.10) !important;
}
html[data-business="restaurant"] .imgSliderTrack img {
  width: 100% !important;
  height: clamp(250px, 44vw, 520px) !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  flex: 0 0 100% !important;
  max-width: none !important;
}
html[data-business="restaurant"] .sliderBtn {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  box-shadow: 0 12px 34px rgba(0,0,0,.16) !important;
}

@media (max-width: 900px) {
  html[data-business] .imgRow[data-gallery="business"] {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: clamp(24px, 7vw, 38px) auto !important;
    padding: 4px 16px 18px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding-inline: 16px !important;
    -webkit-overflow-scrolling: touch !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    scrollbar-width: none;
  }
  html[data-business] .imgRow[data-gallery="business"]::-webkit-scrollbar { display: none; }
  html[data-business] .imgRow[data-gallery="business"] .galleryCard {
    flex: 0 0 min(78vw, 330px) !important;
    scroll-snap-align: center !important;
    border-radius: 20px !important;
    box-shadow: 0 16px 42px rgba(17,17,17,.14) !important;
  }
  html[data-business] .imgRow[data-gallery="business"] img {
    height: clamp(230px, 68vw, 310px) !important;
  }
  html[data-business] .galleryCard figcaption {
    left: 14px;
    right: 14px;
    bottom: 13px;
    font-size: 13px;
  }
  html[data-business="restaurant"] .imgSlider[data-gallery="business-slider"] {
    border-radius: 20px !important;
  }
  html[data-business="restaurant"] .imgSliderTrack img {
    height: clamp(230px, 68vw, 310px) !important;
  }
  html[data-business="restaurant"] .sliderBtn {
    top: auto !important;
    bottom: 14px !important;
    transform: none !important;
    width: 46px !important;
    height: 46px !important;
    background: rgba(255,255,255,.92) !important;
  }
  html[data-business="restaurant"] .sliderBtn.prev { left: 14px !important; }
  html[data-business="restaurant"] .sliderBtn.next { right: 14px !important; }
  html[data-business="restaurant"] .sliderDots { margin-top: 14px !important; }
}

@media (max-width: 420px) {
  html[data-business] .imgRow[data-gallery="business"] .galleryCard { flex-basis: 82vw !important; }
  html[data-business] .imgRow[data-gallery="business"] { padding-inline: 14px !important; scroll-padding-inline: 14px !important; }
}
