/* Shared pure-CSS implementation of the 4 Google Stitch landing page templates.
   CSP-safe & Shadow-DOM compatible (no Tailwind CDN or inline scripts). */

.st-page {
  --st-primary: #B92E1B;
  --st-primary-hover: color-mix(in srgb, var(--st-primary), #000000 14%);
  --st-primary-soft: color-mix(in srgb, var(--st-primary), #ffffff 88%);
  --st-bg: #FAF9F6;
  --st-surface: #FFFFFF;
  --st-surface-alt: #FAF9F6;
  --st-ink: #1C1917;
  --st-muted: #57534E;
  --st-border: #E5E7EB;
  --st-radius: 6px;
  --st-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --st-sans: 'Plus Jakarta Sans', 'Hanken Grotesk', Arial, sans-serif;
  --st-display: 'Space Grotesk', 'Plus Jakarta Sans', Arial, sans-serif;
  --st-mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  position: relative;
  color: var(--st-ink);
  background: var(--st-surface);
  font-family: var(--st-sans);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: clip;
}

.st-page *,
.st-page *::before,
.st-page *::after {
  box-sizing: border-box;
}

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

.st-page h1,
.st-page h2,
.st-page h3,
.st-page h4,
.st-page p,
.st-page blockquote {
  margin: 0;
}

.st-page button,
.st-page a {
  font-family: inherit;
}

.st-wrap {
  width: min(100% - 32px, 1140px);
  margin-inline: auto;
}

/* ---------- Header ---------- */
.st-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--st-border);
  backdrop-filter: blur(12px);
}

.st-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 10px 0;
}

.st-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.st-brand img {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.st-brand-name {
  font-family: var(--st-serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.st-header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.st-expert-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.st-expert-link:hover {
  opacity: 1;
}

/* ---------- Buttons & Pills ---------- */
.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: var(--st-radius);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.st-btn:hover {
  transform: translateY(-1px);
}

.st-btn-primary {
  background: var(--st-primary);
  color: #ffffff;
  box-shadow: 0 8px 22px -6px color-mix(in srgb, var(--st-primary), transparent 45%);
}

.st-btn-primary:hover {
  background: var(--st-primary-hover);
}

.st-btn-white {
  background: #ffffff;
  color: #18181b;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.28);
}

.st-btn-outline {
  background: var(--st-surface);
  color: var(--st-ink);
  border-color: var(--st-border);
}

.st-btn-outline:hover {
  border-color: var(--st-primary);
  color: var(--st-primary);
}

.st-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: inherit;
  background: var(--st-primary);
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
}

.st-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--st-primary);
}

.st-divider {
  width: 72px;
  height: 2px;
  background: var(--st-primary);
  margin-top: 16px;
}

/* ---------- Hero ---------- */
.st-hero {
  position: relative;
  overflow: hidden;
  padding: 52px 0 60px;
}

.st-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 36px;
  align-items: center;
}

.st-hero-copy {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.st-hero-title {
  font-family: var(--st-serif);
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.st-hero-sub {
  font-size: 15px;
  line-height: 1.65;
  max-width: 54ch;
  opacity: 0.88;
}

.st-hero-offer {
  font-size: 14px;
  font-weight: 600;
}

.st-hero-offer strong,
.st-hero-offer em {
  color: var(--st-primary);
  font-style: normal;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.st-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 4px;
}

.st-hero-media {
  position: relative;
}

.st-hero-img-frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2d0b08, #140404);
  aspect-ratio: 4 / 3;
}

.st-hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.st-stats-stack {
  display: grid;
  gap: 14px;
}

.st-stat-card {
  padding: 20px 22px;
  border-radius: 14px;
  border: 1px solid var(--st-border);
  background: var(--st-surface);
  position: relative;
  overflow: hidden;
}

.st-stat-val {
  font-family: var(--st-serif);
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 400;
  line-height: 1.05;
}

.st-stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 6px;
  opacity: 0.78;
}

/* ---------- Overview & About ---------- */
.st-section {
  padding: 60px 0;
  border-top: 1px solid var(--st-border);
}

.st-split-12 {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: start;
}

.st-section-title {
  font-family: var(--st-serif);
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.st-body-stack {
  display: grid;
  gap: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--st-muted);
}

.st-body-strong {
  font-weight: 600;
  color: var(--st-ink);
}

.st-banner-img-wrap {
  margin-top: 32px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--st-border);
  background: linear-gradient(135deg, #2d0b08, #120303);
  position: relative;
  height: 290px;
}

.st-banner-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.st-banner-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #1c1917;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.st-quote {
  padding: 16px 20px;
  border-left: 3px solid var(--st-primary);
  font-family: var(--st-serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--st-ink);
  background: var(--st-surface-alt);
  border-radius: 0 12px 12px 0;
}

.st-about-img-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--st-border);
  background: linear-gradient(135deg, #2d0b08, #120303);
  height: 340px;
}

.st-about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Wavelength Spectrum ---------- */
.st-spectrum-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 32px;
  display: grid;
  gap: 8px;
  justify-items: center;
}

.st-spectrum-track {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #F39C12 0%, #E74C3C 28%, #C84B31 55%, #8E1B1B 78%, #4A0E17 100%);
  margin-bottom: 10px;
}

.st-spectrum-labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--st-muted);
  margin-bottom: 22px;
}

.st-spectrum-box {
  border-radius: 22px;
  padding: 28px;
  border: 1px solid var(--st-border);
}

.st-spectrum-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 28px;
  align-items: center;
}

.st-wave-tabs {
  display: grid;
  gap: 10px;
}

.st-wave-tab {
  width: 100%;
  text-align: left;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--st-border);
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, transform 0.15s;
}

.st-wave-tab:hover {
  border-color: var(--st-primary);
}

.st-wave-tab-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.st-wave-nm {
  font-family: var(--st-serif);
  font-size: 20px;
  font-weight: 600;
}

.st-wave-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.78;
  margin-top: 2px;
}

.st-wave-bar {
  height: 5px;
  border-radius: 999px;
  background: rgba(128, 128, 128, 0.2);
  margin-top: 8px;
  overflow: hidden;
}

.st-wave-bar > i {
  display: block;
  height: 100%;
  background: var(--st-primary);
  border-radius: inherit;
}

.st-wave-detail {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.st-wave-detail h3 {
  font-family: var(--st-serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.16;
}

.st-wave-detail p {
  font-size: 14px;
  line-height: 1.65;
  opacity: 0.85;
}

/* ---------- Benefits Grid ---------- */
.st-benefits-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}

.st-benefits-head-copy {
  max-width: 420px;
  display: grid;
  gap: 12px;
}

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

.st-benefit-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--st-border);
  background: #1c1917;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.st-benefit-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3b110d, #160504);
}

.st-benefit-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.st-benefit-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 5, 5, 0.92) 8%, rgba(12, 5, 5, 0.42) 55%, transparent 100%);
}

.st-benefit-body {
  position: relative;
  z-index: 2;
  padding: 20px;
  color: #ffffff;
  display: grid;
  gap: 6px;
}

.st-benefit-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--st-primary), #ffffff 35%);
}

.st-benefit-body h4 {
  font-family: var(--st-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}

.st-benefit-body p {
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.86;
}

/* ---------- Pictorial Tour ---------- */
.st-tour-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: 16px;
  margin-top: 28px;
}

.st-tour-tall,
.st-tour-slot {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--st-border);
  background: linear-gradient(135deg, #2d0b08, #120303);
}

.st-tour-tall {
  min-height: 360px;
}

.st-tour-right {
  display: grid;
  gap: 16px;
}

.st-tour-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.st-tour-top-row .st-tour-slot {
  height: 190px;
}

.st-tour-wide {
  height: 210px;
}

.st-tour-tall img,
.st-tour-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Booking Widget & Confirmation ---------- */
.st-booking-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 28px;
  display: grid;
  gap: 8px;
  justify-items: center;
}

.st-booking-widget {
  max-width: 820px;
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid var(--st-border);
  background: var(--st-surface);
  padding: 26px;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.12);
}

.st-booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: start;
}

.st-cal-month {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-block: 1px solid var(--st-border);
  margin: 12px 0;
  font-size: 13px;
  font-weight: 600;
}

.st-cal-weekdays,
.st-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
  font-size: 12px;
}

.st-cal-weekdays {
  font-size: 11px;
  color: var(--st-muted);
  margin-bottom: 6px;
}

.st-cal-day {
  padding: 7px 2px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 12px;
}

.st-cal-day:hover {
  background: var(--st-primary-soft);
}

.st-cal-day[aria-pressed="true"] {
  background: var(--st-primary);
  color: #ffffff;
  font-weight: 700;
}

.st-cal-day.is-dim {
  opacity: 0.4;
}

.st-cal-tz {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--st-border);
  font-size: 11px;
  color: var(--st-muted);
}

.st-time-slots {
  display: grid;
  gap: 8px;
}

.st-time-btn {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--st-border);
  background: var(--st-surface);
  color: var(--st-ink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.st-time-btn:hover {
  border-color: var(--st-primary);
}

.st-time-btn[aria-pressed="true"] {
  background: var(--st-primary);
  border-color: var(--st-primary);
  color: #ffffff;
}

.st-confirm-panel {
  text-align: center;
  padding: 28px 18px;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.st-confirm-pill {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--st-primary-soft);
  color: var(--st-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Location ---------- */
.st-location-head {
  text-align: center;
  margin-bottom: 24px;
  display: grid;
  gap: 6px;
  justify-items: center;
}

.st-map-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--st-border);
  background: #e7e5e4;
  height: 320px;
}

.st-map-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.st-map-pin-card {
  position: absolute;
  top: 16px;
  left: 16px;
  max-width: 310px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  color: #1c1917;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
  text-align: left;
}

.st-map-pin-card h4 {
  font-family: var(--st-serif);
  font-size: 16px;
  font-weight: 700;
}

.st-map-pin-card p {
  font-size: 12px;
  color: #57534e;
  margin-top: 4px;
}

.st-map-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--st-primary);
  text-decoration: none;
}

/* ---------- Footer ---------- */
.st-footer {
  padding: 32px 0;
  border-top: 1px solid var(--st-border);
  font-size: 12px;
}

.st-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.st-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.st-footer-brand img {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.st-footer-links {
  display: flex;
  gap: 18px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.st-footer-links button,
.st-footer-links a {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

/* ==========================================================================
   TEMPLATE 1: Crimson Gallery (code_e12c214d.html)
   ========================================================================== */
.st-page[data-stitch-template="stitch-crimson"] .st-header {
  background: rgba(18, 3, 3, 0.94);
  color: #ffffff;
  border-bottom-color: rgba(127, 29, 29, 0.45);
}

.st-page[data-stitch-template="stitch-crimson"] .st-brand img,
.st-page[data-stitch-template="stitch-crimson"] .st-footer-brand img {
  filter: brightness(0) invert(1);
}

.st-page[data-stitch-template="stitch-crimson"] .st-hero {
  background: radial-gradient(circle at 80% 30%, color-mix(in srgb, var(--st-primary), transparent 22%) 0%, rgba(68, 11, 7, 0.96) 52%, #0d0202 100%);
  color: #ffffff;
}

.st-page[data-stitch-template="stitch-crimson"] .st-hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.st-page[data-stitch-template="stitch-crimson"] .st-hero-bg-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.2);
}

.st-page[data-stitch-template="stitch-crimson"] .st-hero-bg-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 3, 3, 0.92) 0%, rgba(26, 5, 4, 0.84) 55%, rgba(45, 11, 8, 0.72) 100%);
}

.st-page[data-stitch-template="stitch-crimson"] .st-hero .st-eyebrow {
  color: #fecaca;
  border-left: 2px solid var(--st-primary);
  padding-left: 10px;
}

.st-page[data-stitch-template="stitch-crimson"] .st-hero-offer strong {
  color: color-mix(in srgb, var(--st-primary), #ffffff 30%);
}

.st-page[data-stitch-template="stitch-crimson"] .st-stat-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  color: #ffffff;
}

.st-page[data-stitch-template="stitch-crimson"] .st-stat-label {
  color: #fecaca;
}

.st-page[data-stitch-template="stitch-crimson"] .st-overview,
.st-page[data-stitch-template="stitch-crimson"] .st-tour,
.st-page[data-stitch-template="stitch-crimson"] .st-location {
  background: #FAF9F6;
}

.st-page[data-stitch-template="stitch-crimson"] .st-spectrum {
  background: #140404;
  color: #ffffff;
}

.st-page[data-stitch-template="stitch-crimson"] .st-spectrum-box {
  background: linear-gradient(135deg, #310A07 0%, #1E0605 52%, #120303 100%);
  border-color: rgba(127, 29, 29, 0.6);
}

.st-page[data-stitch-template="stitch-crimson"] .st-wave-tab {
  border-color: rgba(127, 29, 29, 0.45);
  background: rgba(0, 0, 0, 0.25);
}

.st-page[data-stitch-template="stitch-crimson"] .st-wave-tab[aria-selected="true"] {
  border-color: color-mix(in srgb, var(--st-primary), #ffffff 25%);
  background: color-mix(in srgb, var(--st-primary), #120303 65%);
}

.st-page[data-stitch-template="stitch-crimson"] .st-footer {
  background: #120303;
  color: #a8a29e;
  border-top-color: rgba(127, 29, 29, 0.45);
}

/* ==========================================================================
   TEMPLATE 2: Alabaster Sanctuary (code_07c92b42.html)
   ========================================================================== */
.st-page[data-stitch-template="stitch-sanctuary"] {
  --st-bg: #FBFBF9;
  --st-surface: #FFFFFF;
  --st-surface-alt: #F5F4F0;
  --st-border: #E7E5E4;
  --st-radius: 999px;
}

.st-page[data-stitch-template="stitch-sanctuary"] .st-header {
  background: rgba(251, 251, 249, 0.92);
}

.st-page[data-stitch-template="stitch-sanctuary"] .st-hero {
  background: radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--st-primary), #ffffff 88%) 0%, #FBFBF9 65%);
}

.st-page[data-stitch-template="stitch-sanctuary"] .st-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(217, 188, 130, 0.65);
  font-family: var(--st-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #78350f;
}

.st-page[data-stitch-template="stitch-sanctuary"] .st-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--st-primary);
}

.st-page[data-stitch-template="stitch-sanctuary"] .st-hero-offer-box {
  width: 100%;
  max-width: 460px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e7e5e4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.st-page[data-stitch-template="stitch-sanctuary"] .st-luxury-rim {
  padding: 10px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(217, 188, 130, 0.55);
  box-shadow: 0 20px 50px -15px color-mix(in srgb, var(--st-primary), transparent 76%);
}

.st-page[data-stitch-template="stitch-sanctuary"] .st-hero-img-frame {
  border-radius: 14px;
}

.st-page[data-stitch-template="stitch-sanctuary"] .st-frame-caption {
  margin-top: 8px;
  padding: 8px 14px;
  border-radius: 12px;
  background: #1c1917;
  color: #f5ebd7;
  font-family: var(--st-mono);
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.08em;
}

.st-page[data-stitch-template="stitch-sanctuary"] .st-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.st-page[data-stitch-template="stitch-sanctuary"] .st-overview,
.st-page[data-stitch-template="stitch-sanctuary"] .st-spectrum,
.st-page[data-stitch-template="stitch-sanctuary"] .st-tour,
.st-page[data-stitch-template="stitch-sanctuary"] .st-location {
  background: #F5F4F0;
}

.st-page[data-stitch-template="stitch-sanctuary"] .st-spectrum-box {
  background: #FFFFFF;
}

.st-page[data-stitch-template="stitch-sanctuary"] .st-wave-tab[aria-selected="true"] {
  border-color: var(--st-primary);
  background: var(--st-primary-soft);
}

.st-page[data-stitch-template="stitch-sanctuary"] .st-benefit-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--st-primary);
  font-family: var(--st-mono);
  font-size: 10px;
  font-weight: 700;
}

/* ==========================================================================
   TEMPLATE 3: Sand & Arch (code_2a1202b3.html)
   ========================================================================== */
.st-page[data-stitch-template="stitch-terracotta"] {
  --st-bg: #FAF8F5;
  --st-surface: #FFFFFF;
  --st-surface-alt: #F4EFEA;
  --st-ink: #1F1E1D;
  --st-muted: #6E6B65;
  --st-border: #E8E2D9;
  --st-radius: 999px;
}

.st-page[data-stitch-template="stitch-terracotta"] .st-header,
.st-page[data-stitch-template="stitch-terracotta"] .st-hero,
.st-page[data-stitch-template="stitch-terracotta"] .st-spectrum,
.st-page[data-stitch-template="stitch-terracotta"] .st-location {
  background: #FAF8F5;
}

.st-page[data-stitch-template="stitch-terracotta"] .st-overview,
.st-page[data-stitch-template="stitch-terracotta"] .st-tour {
  background: #F4EFEA;
}

.st-page[data-stitch-template="stitch-terracotta"] .st-arch-frame {
  border-radius: 9999px 9999px 22px 22px;
  border: 4px solid #ffffff;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-width: 360px;
  margin-inline: auto;
  box-shadow: 0 22px 44px -16px rgba(60, 40, 30, 0.16);
}

.st-page[data-stitch-template="stitch-terracotta"] .st-arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.st-page[data-stitch-template="stitch-terracotta"] .st-float-stat {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--st-border);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 16px 32px -12px rgba(60, 40, 30, 0.14);
}

.st-page[data-stitch-template="stitch-terracotta"] .st-float-stat.is-top {
  top: 24px;
  right: 0;
}

.st-page[data-stitch-template="stitch-terracotta"] .st-float-stat.is-bottom {
  bottom: 12px;
  left: 0;
}

.st-page[data-stitch-template="stitch-terracotta"] .st-spectrum-box {
  background: #FFFFFF;
}

.st-page[data-stitch-template="stitch-terracotta"] .st-wave-tab[aria-selected="true"] {
  border-width: 2px;
  border-color: var(--st-primary);
  background: var(--st-primary-soft);
}

.st-page[data-stitch-template="stitch-terracotta"] .st-benefit-framed {
  background: #FAF8F5;
  border: 1px solid var(--st-border);
  border-radius: 22px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.st-page[data-stitch-template="stitch-terracotta"] .st-benefit-framed-img {
  height: 170px;
  border-radius: 14px;
  overflow: hidden;
  background: #e8e2d9;
}

.st-page[data-stitch-template="stitch-terracotta"] .st-benefit-framed-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.st-page[data-stitch-template="stitch-terracotta"] .st-benefit-framed-body {
  padding: 4px 6px 8px;
  display: grid;
  gap: 6px;
}

.st-page[data-stitch-template="stitch-terracotta"] .st-benefit-framed-body h4 {
  font-family: var(--st-serif);
  font-size: 19px;
  color: var(--st-ink);
}

.st-page[data-stitch-template="stitch-terracotta"] .st-benefit-framed-body p {
  font-size: 12px;
  color: var(--st-muted);
}

.st-page[data-stitch-template="stitch-terracotta"] .st-footer {
  background: #1F1E1D;
  color: #a8a29e;
}

.st-page[data-stitch-template="stitch-terracotta"] .st-footer-brand img {
  filter: brightness(0) invert(1);
}

/* ==========================================================================
   TEMPLATE 4: Photon Rose Glass (code_0973977c.html)
   ========================================================================== */
.st-page[data-stitch-template="stitch-photon"] {
  --st-bg: #FDF8F9;
  --st-surface: rgba(255, 255, 255, 0.88);
  --st-surface-alt: #FFF1F2;
  --st-ink: #0F172A;
  --st-muted: #475569;
  --st-border: rgba(244, 63, 94, 0.18);
  --st-radius: 999px;
  background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--st-primary), #ffffff 84%) 0%, #FDF8F9 50%, #FFFFFF 100%);
}

.st-page[data-stitch-template="stitch-photon"] .st-hero-title,
.st-page[data-stitch-template="stitch-photon"] .st-section-title,
.st-page[data-stitch-template="stitch-photon"] .st-stat-val,
.st-page[data-stitch-template="stitch-photon"] .st-wave-nm {
  font-family: var(--st-display);
  font-weight: 700;
}

.st-page[data-stitch-template="stitch-photon"] .st-header {
  background: rgba(255, 255, 255, 0.84);
}

.st-page[data-stitch-template="stitch-photon"] .st-hero-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
  justify-items: center;
}

.st-page[data-stitch-template="stitch-photon"] .st-pedestal {
  margin-top: 32px;
  position: relative;
}

.st-page[data-stitch-template="stitch-photon"] .st-pedestal-frame {
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--st-border);
  box-shadow: 0 24px 50px -18px color-mix(in srgb, var(--st-primary), transparent 65%);
}

.st-page[data-stitch-template="stitch-photon"] .st-pedestal-frame img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
}

.st-page[data-stitch-template="stitch-photon"] .st-pods-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 680px;
  margin: -34px auto 0;
  position: relative;
  z-index: 3;
}

.st-page[data-stitch-template="stitch-photon"] .st-pod-card {
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--st-border);
  box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--st-primary), transparent 70%);
}

.st-page[data-stitch-template="stitch-photon"] .st-glass-panel {
  border-radius: 26px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--st-border);
  box-shadow: 0 16px 36px -14px rgba(15, 23, 42, 0.08);
}

.st-page[data-stitch-template="stitch-photon"] .st-wave-tab[aria-selected="true"] {
  border: 2px solid var(--st-primary);
  background: #ffffff;
  box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--st-primary), transparent 55%);
}

.st-page[data-stitch-template="stitch-photon"] .st-benefit-glass {
  padding: 10px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--st-border);
  box-shadow: 0 12px 28px -12px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.st-page[data-stitch-template="stitch-photon"] .st-benefit-glass-img {
  position: relative;
  height: 185px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--st-primary-soft);
}

.st-page[data-stitch-template="stitch-photon"] .st-benefit-glass-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.st-page[data-stitch-template="stitch-photon"] .st-glass-step {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--st-primary);
  font-family: var(--st-mono);
  font-size: 10px;
  font-weight: 700;
}

/* ---------- Dark Mode Override (works cleanly on any template) ---------- */
.st-page[data-mode="dark"] {
  --st-bg: #110c0c;
  --st-surface: #181314;
  --st-surface-alt: #21191a;
  --st-ink: #f5f5f4;
  --st-muted: #d6d3d1;
  --st-border: rgba(255, 255, 255, 0.14);
  background: #110c0c;
  color: #f5f5f4;
}

.st-page[data-mode="dark"] .st-overview,
.st-page[data-mode="dark"] .st-about,
.st-page[data-mode="dark"] .st-benefits,
.st-page[data-mode="dark"] .st-tour,
.st-page[data-mode="dark"] .st-booking,
.st-page[data-mode="dark"] .st-location {
  background: var(--st-surface);
  color: var(--st-ink);
}

.st-page[data-mode="dark"] .st-overview,
.st-page[data-mode="dark"] .st-tour,
.st-page[data-mode="dark"] .st-location {
  background: var(--st-surface-alt);
}

.st-page[data-mode="dark"] .st-header {
  background: rgba(17, 12, 12, 0.92);
  color: #ffffff;
}

.st-page[data-mode="dark"] .st-brand img {
  filter: brightness(0) invert(1);
}

.st-page[data-mode="dark"] .st-hero-offer-box,
.st-page[data-mode="dark"] .st-stat-card,
.st-page[data-mode="dark"] .st-luxury-rim,
.st-page[data-mode="dark"] .st-float-stat,
.st-page[data-mode="dark"] .st-glass-panel,
.st-page[data-mode="dark"] .st-pod-card,
.st-page[data-mode="dark"] .st-benefit-framed,
.st-page[data-mode="dark"] .st-benefit-glass,
.st-page[data-mode="dark"] .st-booking-widget,
.st-page[data-mode="dark"] .st-spectrum-box,
.st-page[data-mode="dark"] .st-time-btn {
  background: #21191a;
  color: #f5f5f4;
  border-color: rgba(255, 255, 255, 0.14);
}

.st-page[data-mode="dark"] .st-benefit-framed-body h4 {
  color: #ffffff;
}

.st-page[data-mode="dark"] .st-map-pin-card {
  background: rgba(24, 19, 20, 0.94);
  color: #f5f5f4;
  border-color: rgba(255, 255, 255, 0.16);
}

.st-page[data-mode="dark"] .st-map-pin-card p {
  color: #d6d3d1;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .st-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .st-hero-grid,
  .st-split-12,
  .st-spectrum-grid,
  .st-tour-grid,
  .st-booking-grid,
  .st-page[data-stitch-template="stitch-photon"] .st-pods-row {
    grid-template-columns: 1fr;
  }

  .st-page[data-stitch-template="stitch-photon"] .st-pods-row {
    margin-top: 14px;
  }

  .st-expert-link {
    display: none;
  }

  .st-benefits-grid,
  .st-tour-top-row {
    grid-template-columns: 1fr;
  }
}
