/* site.css — VENDORED lotus bespoke section styles for v3 custom-class parity (Part C). Source: src/styles/sections/*. Keep in sync. */
/* --- layout --- */
.container {
  max-width: var(--content-max-w, var(--max-width, 1280px));
  margin-inline: auto;
  padding-inline: var(--space-2);
}
@media (min-width: 360px) { .container { padding-inline: var(--space-3); } }
@media (min-width: 640px) { .container { padding-inline: var(--space-4); } }
@media (min-width: 1024px) { .container { padding-inline: var(--space-8); } }

/* ── Dark Section (gallery wall) ── */
.section-dark {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-raised) 100%);
  position: relative;
}
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 35% at 80% 25%, rgba(192,140,36,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 20% 80%, rgba(192,140,36,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.section-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain-dark);
  background-repeat: repeat;
  background-size: 256px 256px;
  opacity: 0.10;
  pointer-events: none;
  z-index: 1;
}
.section-dark > * { position: relative; z-index: 2; }

/* ── Light Section ── */
.section-light {
  background: var(--bg-light);
  --accent: var(--accent-dark);
  color: var(--text-dark);
  position: relative;
}
.section-light::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 40% at 50% 40%, rgba(255,255,255,0.28) 0%, transparent 58%),
    radial-gradient(ellipse 30% 25% at 25% 70%, rgba(192,140,36,0.07) 0%, transparent 52%);
  pointer-events: none;
  z-index: 1;
}
.section-light::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain-light);
  background-repeat: repeat;
  background-size: 180px 180px;
  opacity: 0.65;
  pointer-events: none;
  z-index: 1;
}
.section-light > * { position: relative; z-index: 2; }
.section-light .section-heading { color: var(--text-dark); }
.section-light .section-sub     { color: var(--text-dark-secondary); }
.section-light .section-label   { color: var(--accent); }
/* Dynamic-widget text must follow the light-section palette too, otherwise the
   booking form heading + field labels inherit the dark-theme (near-white) tokens
   and render invisible on the light background. */
.section-light .cms-bk-title { color: var(--text-dark); }
.section-light .cms-bk-field { color: var(--text-dark-secondary); }

/* ── Page padding ── */
.page-pad {
  padding-block: calc(var(--nav-height) + var(--space-10)) var(--space-10);
}
@media (min-width: 768px) { .page-pad { padding-block: calc(var(--nav-height) + var(--space-16)) var(--space-16); } }

.section-pad       { padding-block: var(--space-4); }
.section-pad--tight  { padding-block: var(--space-3); }
.section-pad--hero   { padding-block: var(--space-6); }
.section-pad--cta    { padding-block: var(--space-6); }
@media (min-width: 768px) {
  .section-pad       { padding-block: var(--space-6); }
  .section-pad--tight  { padding-block: var(--space-4); }
  .section-pad--hero   { padding-block: var(--space-8); }
  .section-pad--cta    { padding-block: var(--space-8); }
}
@media (min-width: 1024px) {
  .section-pad       { padding-block: var(--space-8); }
  .section-pad--tight  { padding-block: var(--space-6); }
  .section-pad--hero   { padding-block: var(--space-10); }
  .section-pad--cta    { padding-block: var(--space-10); }
}
/* --- typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking, -0.01em);
  text-wrap: balance;
}

::selection { background: var(--accent-dim); color: var(--accent-light); }

.section-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-1);
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
  font-weight: var(--heading-weight, 700);
  margin-bottom: var(--space-2);
}
.section-heading--sm {
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl));
}
.section-sub {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  max-width: 56ch;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
  position: relative;
  z-index: 2;
}

.section-divider {
  width: 48px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
  margin-block: var(--space-3) var(--space-4);
}
/* --- buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 12px 26px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  transform: translateY(0);
  transition:
    background var(--dur-fast) var(--ease-out-expo),
    color var(--dur-fast) var(--ease-out-expo),
    border-color var(--dur-fast) var(--ease-out-expo),
    transform var(--dur-fast) var(--ease-out-expo),
    box-shadow var(--dur-fast) var(--ease-out-expo);
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-on-dark {
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
}
.btn-on-dark:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  box-shadow: var(--btn-glow, 0 4px 20px var(--accent-glow));
}

.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline-dark:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-on-light {
  background: var(--text-dark);
  color: var(--bg-light);
  border: 1px solid var(--text-dark);
}
.btn-on-light:hover {
  background: #2a2622;
  border-color: #2a2622;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.btn-outline-light {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border-dark);
}
.btn-outline-light:hover {
  border-color: var(--text-dark);
  color: var(--text-dark);
}
/* --- animations --- */
/* Reveals enhance an already-visible default: content renders without JS and only
   starts hidden once the inline head script adds `html.js`. Ungated, these pages went
   blank below the hero whenever JS failed. Mirrors src/styles/sections/animations.css. */
.reveal {
  /* css/components.css:1158 carries its OWN ungated `.reveal { opacity: 0 }` and loads
     first, so the visible default has to be stated here explicitly or the no-JS page is
     blank again. Same specificity, later source wins. */
  opacity: 1;
  transform: none;
  transition: opacity var(--dur-reveal, 700ms) var(--ease-out-expo),
              transform var(--dur-reveal, 700ms) var(--ease-out-expo);
}
html.js .reveal {
  opacity: 0;
  transform: translateY(var(--reveal-from-y, 20px)) scale(var(--reveal-from-scale, 1));
}
/* Gated too, so it outranks `html.js .reveal`. */
html.js .reveal.revealed { opacity: 1; transform: translateY(0) scale(1); }
.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; }

.animate-stagger {
  transition: opacity 0.5s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}
html.js .animate-stagger {
  opacity: 0;
  transform: translateY(20px);
}
html.js .animate-stagger.visible {
  opacity: 1;
  transform: translateY(0);
}
/* --- utilities --- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: var(--space-2); left: var(--space-2);
  z-index: 999; padding: var(--space-1) var(--space-2);
  background: var(--accent); color: var(--bg);
  font-size: var(--text-sm);
  transform: translateY(-200%);
  transition: transform var(--dur-normal) var(--ease-out-expo);
}
.skip-link:focus { transform: translateY(0); }

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

.grain-surface { position: relative; }
.grain-surface::after {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--grain-dark);
  background-repeat: repeat;
  background-size: 256px 256px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
}
.grain-surface > * { position: relative; z-index: 2; }

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: var(--grain-opacity, 0.13);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: var(--grain-size, 180px) var(--grain-size, 180px);
  mix-blend-mode: var(--grain-blend, normal);
}

/* Header overlay tint (CMS Atmosphere): strength + color now drive the base overlay
   gradients directly (.hero-overlay / .portfolio-header-overlay) via --overlay-opacity
   and --overlay-color, so 0 = no overlay (image shows through). The old additive
   ::after layer was removed to avoid double-darkening. */

/* ── Bloom: radial brand-color glow behind hero content ──
   CONVENTION (page header effects): to give a page header bloom + vignette,
   put `data-vignette` on the header <section> and `data-bloom` on EITHER:
     • a transparent content wrapper over an image (z-index:-1 path) — e.g. hero,
       portfolio-header-content; or
     • the dark <section> itself (screen-blend path below) — e.g. faq, book.
   No shared component: the headers differ too much to unify safely. Both effects
   default to opacity 0, so adding the hooks is a no-op until the CMS turns them up. */
[data-bloom] { position: relative; }
[data-bloom]::before {
  content: '';
  position: absolute;
  inset: -150% -100%;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(
    ellipse calc(var(--bloom-radius, 60) * 1%) calc(var(--bloom-radius, 60) * 0.9%)
      at var(--bloom-x, 50%) var(--bloom-y, 60%),
    var(--bloom-color, var(--accent)) 0%,
    transparent 70%
  );
  opacity: var(--bloom-opacity, 0);
  transition: opacity 0.4s ease;
}

/* Sections with bloom: z-index must sit above the section background-color.
   mix-blend-mode: screen blends the glow with the dark bg without covering content.
   Direct children need position: relative so they paint after the z-index: 0 pseudo. */
section[data-bloom]::before {
  z-index: 0;
  mix-blend-mode: screen;
}
/* The bloom pseudo is sized `inset: -150% -100%` (300% wide) to spread a soft glow.
   On a full-width section that overflows the right edge by ~100vw and leaks into the
   document's horizontal scroll, making the page ~2x viewport wide. Clip it to the
   section band: the centered glow is unaffected, the sideways scroll is gone.
   `clip` (not `hidden`) avoids creating a scroll container or forcing the y-axis.
   This mirrors src/styles/sections/utilities.css, where the bespoke pages fixed it;
   this vendored copy styles the composer canvas and the composer-rendered pages, and
   was missed, so those two surfaces still scrolled sideways. */
section[data-bloom] { overflow: clip; }
section[data-bloom] > * { position: relative; }

/* ── Vignette: edge darkening on hero ── */
[data-vignette] { position: relative; }
[data-vignette]::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: radial-gradient(
    ellipse var(--vignette-spread, 60%) 55% at 50% 50%,
    transparent 0%,
    black 100%
  );
  opacity: var(--vignette-opacity, 0);
  transition: opacity 0.4s ease;
}

/* ── Section break: CMS-controlled divider between sections ── */
.section-break {
  height: var(--divider-height, 1px);
  background: var(--divider-bg, var(--border-light));
  opacity: var(--divider-opacity, 1);
  border: none;
  margin: 0;
}

/* ── Glass card: frosted surface controlled by CMS glass toggle ── */
.glass-card {
  background: var(--glass-bg) !important;
  border-color: var(--glass-border) !important;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

/* ── Effects (CMS Effects panel) — all default to current flat look ── */
.stat, .step, .svc, .glass-card { box-shadow: var(--shadow-card, none); }
.hero-title, .page-title        { text-shadow: var(--heading-glow, none); }
.nav                            { box-shadow: var(--nav-shadow, none); }

/* ── Card hover lift (CMS Motion panel) — default 0 = no movement ── */
.stat, .step, .svc, .glass-card { transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.stat:hover, .step:hover, .svc:hover, .glass-card:hover { transform: translateY(var(--hover-lift, 0px)); }

/* ── Card texture (CMS Surfaces panel) — grain over glass cards, default off ── */
.glass-card { position: relative; }
.glass-card::after {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--grain-dark);
  background-repeat: repeat;
  background-size: 256px 256px;
  border-radius: inherit;
  opacity: var(--card-grain, 0);
  pointer-events: none;
}

.mobile-book-btn {
  position: fixed;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  z-index: 98;
  display: none;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 4px 24px rgba(0,0,0,0.5), 0 0 20px rgba(192, 140, 36, 0.25);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), opacity 0.3s var(--ease);
  opacity: 0;
  pointer-events: none;
}
.mobile-book-btn.visible {
  opacity: 1;
  pointer-events: auto;
}
.mobile-book-btn:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 28px rgba(0,0,0,0.6), 0 0 28px rgba(192, 140, 36, 0.35);
}
@media (max-width: 639px) {
  .mobile-book-btn { display: inline-flex; align-items: center; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .animate-stagger { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ════════════════════════════════════════════════════════════════════════
   C3: lotus bespoke HOME section layout — vendored from src/pages/index.astro
   <style> (de-scoped) so the v3 composer canvas + published /v2 render the
   lotus-* section builders pixel-identically to the live home page.
   ════════════════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: var(--space-10);
  background: var(--bg);
}
@media (min-width: 639px) { .hero { padding-inline: var(--space-4); } }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    color-mix(in srgb, var(--overlay-color, #1f1a16) 92%, transparent) 0%,
    color-mix(in srgb, var(--overlay-color, #1f1a16) 50%, transparent) 50%,
    color-mix(in srgb, var(--overlay-color, #1f1a16) 30%, transparent) 100%);
  opacity: var(--overlay-opacity, 1);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: left;
  max-width: 680px;
  margin-left: max(var(--space-4), calc((100% - 680px) / 4));
  padding-right: var(--space-4);
}
.hero-label {
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: var(--space-3);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 5rem);
  font-weight: var(--heading-weight, 700);
  line-height: 1.05; margin-bottom: var(--space-3);
  text-wrap: balance;
}
.hero-title em { font-style: italic; font-weight: 300; color: var(--accent); }
.hero-sub {
  font-size: var(--text-lg); color: var(--text-muted);
  line-height: var(--leading-relaxed); max-width: 52ch;
  margin-inline: auto; margin-bottom: var(--space-5);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-3); }
.booking-note { font-size: var(--text-sm); color: var(--text-dim); }
.hero-scroll-hint {
  position: absolute; bottom: var(--space-4); left: 50%;
  transform: translateX(-50%); z-index: 3;
  width: 24px; height: 40px;
  border: 1px solid var(--text-muted); border-radius: 12px;
  display: flex; align-items: flex-start; justify-content: center; padding-top: 8px;
}
.hero-scroll-hint span {
  display: block; width: 3px; height: 8px;
  background: var(--accent); border-radius: 2px;
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}
html.js .animate-hero {
  opacity: 0; transform: translateY(20px);
  animation: heroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.animate-hero:nth-child(1) { animation-delay: 0.15s; }
.animate-hero:nth-child(2) { animation-delay: 0.30s; }
.animate-hero:nth-child(3) { animation-delay: 0.45s; }
.animate-hero:nth-child(4) { animation-delay: 0.60s; }
.animate-hero:nth-child(5) { animation-delay: 0.75s; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
@media (min-width: 768px) { .about-grid { grid-template-columns: 1.2fr 1fr; } }
.about-link {
  display: inline-block; font-size: var(--text-sm); font-weight: 500;
  color: var(--accent); margin-top: var(--space-1);
  transition: letter-spacing var(--dur-fast) var(--ease);
}
.about-link:hover { letter-spacing: 0.05em; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); align-content: start; }
.stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dark);
  padding: var(--space-3);
  display: flex; flex-direction: column; gap: 4px;
  border-radius: var(--radius-card, 0px);
}
.stat-span { grid-column: 1 / -1; }
.stat-num {
  font-family: var(--font-display); font-size: var(--text-3xl);
  font-weight: 700; line-height: 1; color: var(--text-dark);
}
.stat-num sup { font-size: 0.5em; vertical-align: super; }
.stat-label { font-size: var(--text-xs); color: var(--text-dark-secondary); line-height: 1.3; }

/* ── Process ── */
.process-steps { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
@media (min-width: 640px) { .process-steps { grid-template-columns: 1fr 1fr; } }
.step {
  padding: var(--space-4); border: 1px solid var(--border-dark);
  background: rgba(255,255,255,0.02); border-radius: var(--radius-card, 0px);
}
.step-num {
  font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 700;
  color: var(--accent); opacity: 0.25; display: block;
  margin-bottom: var(--space-2); line-height: 1;
}
.step-title {
  font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600;
  color: var(--text-dark); margin-bottom: var(--space-1);
}
.step-body { font-size: var(--text-sm); color: var(--text-dark-secondary); line-height: var(--leading-relaxed); }
.section-light.section-pad.reveal.reveal-d1 {
  background:
    radial-gradient(ellipse 50% 60% at 100% 50%, rgba(192,140,36,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 35% 40% at 0% 0%, rgba(192,140,36,0.05) 0%, transparent 50%),
    var(--bg-light);
}

/* ── Filmstrip ── */
.filmstrip-wrap { overflow: hidden; }
.filmstrip { margin-inline: -4px; }
.filmstrip-track {
  display: flex; gap: 4px; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding-bottom: 8px; scrollbar-width: thin;
  scrollbar-color: var(--accent-dim) transparent;
}
.filmstrip-track img {
  flex-shrink: 0; width: 240px; height: 320px; object-fit: cover;
  scroll-snap-align: start; border-radius: var(--img-radius, 2px);
  filter: var(--img-filter, none);
  transition: transform var(--dur-slow) var(--ease-out-expo), filter var(--dur-slow) var(--ease-out-expo);
}
@media (min-width: 480px) { .filmstrip-track img { width: 280px; } }
.filmstrip-track img:hover { transform: scale(var(--img-hover-scale, 1.03)); }
.filmstrip-track::-webkit-scrollbar { height: 6px; }
.filmstrip-track::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 3px; }
.filmstrip-cta { margin-top: var(--space-6); display: flex; justify-content: center; position: relative; z-index: 2; }

/* ── Services ── */
.services-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-2); margin-bottom: var(--space-3); }
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
.svc {
  padding: var(--space-3); border: 1px solid rgba(26, 22, 18, 0.20);
  background: #cbbfb2; border-radius: var(--radius-card, 0px);
}
.svc--primary { padding: var(--space-4); }
@media (min-width: 640px) { .svc--primary { grid-column: 1 / -1; } }
.svc-eyebrow {
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: var(--space-1);
}
.svc-title {
  font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600;
  color: var(--text-dark); margin-bottom: var(--space-1);
}
.svc--primary .svc-title { font-size: var(--text-2xl); }
.svc-desc { font-size: var(--text-sm); color: var(--text-dark-secondary); line-height: var(--leading-relaxed); }
.svc--primary .svc-desc { max-width: 68ch; margin-bottom: var(--space-3); }
.svc-link {
  font-size: var(--text-sm); font-weight: 500; color: var(--accent);
  transition: letter-spacing var(--dur-fast) var(--ease);
}
.svc-link:hover { letter-spacing: 0.05em; }
.piercing-note {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: rgba(192, 140, 36, 0.15);
  border: 1px solid var(--border-dark); border-radius: var(--radius-card, 0px);
}
.piercing-label {
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); white-space: nowrap;
}
.piercing-text { font-size: var(--text-sm); color: var(--text-dark-secondary); line-height: 1.5; }

/* ── CTA ── */
.cta-flex {
  display: flex; flex-direction: column; gap: var(--space-4);
  align-items: flex-start; position: relative; z-index: 2;
}
@media (min-width: 768px) {
  .cta-flex { flex-direction: row; align-items: center; justify-content: space-between; }
}
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); flex-shrink: 0; }
.cta-flex::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(192,140,36,0.06) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 10% 20%, rgba(181,122,93,0.04) 0%, transparent 55%);
  pointer-events: none; z-index: 1;
}

/* ── Contact Bar ── */
.contact-bar {
  background: var(--bg-light); border-top: 2px solid var(--accent);
  padding-block: var(--space-6); --accent: var(--accent-dark); color: var(--text-dark);
}
.contact-bar-inner { display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; }
@media (min-width: 768px) {
  .contact-bar-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.contact-bar-info { display: flex; flex-direction: column; gap: var(--space-1); }
.contact-bar-location {
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 2px;
}
.contact-bar-link {
  font-size: var(--text-sm); color: var(--text-dark-secondary);
  transition: color var(--dur-fast) var(--ease);
}
.contact-bar-link:hover { color: var(--accent); }
.contact-bar-actions { display: flex; flex-direction: column; gap: var(--space-1); flex-shrink: 0; align-items: flex-start; }

/* ── Nav (lotus-nav) — vendored from src/components/Nav.astro ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; height: var(--nav-height);
  background: var(--nav-bg, rgba(31, 26, 22, 0.92));
  backdrop-filter: blur(var(--nav-blur, 12px));
  -webkit-backdrop-filter: blur(var(--nav-blur, 12px));
  border-bottom: var(--nav-border, 1px solid var(--border-light));
}
.nav[data-scroll-state="hidden"] { transform: translateY(-100%); }
.nav { transition: transform var(--dur-normal) var(--ease); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: var(--space-4); }
.nav-logo { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; color: var(--text); margin-right: auto; letter-spacing: 0.01em; }
.nav-logo em { font-style: italic; font-weight: 300; color: var(--accent); }
.nav-right { display: none; align-items: center; gap: var(--space-6); }
@media (min-width: 768px) { .nav-right { display: flex; } }
.nav-links { display: flex; list-style: none; gap: var(--space-6); }
.nav-link { font-size: var(--text-sm); font-weight: 500; letter-spacing: 0.06em; color: var(--text-muted); transition: color var(--dur-fast) var(--ease); position: relative; }
.nav-link:hover { color: var(--text); }
.nav-link[aria-current="page"] { color: var(--accent); }
.nav-link[aria-current="page"]::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1px; background: var(--accent); opacity: 0.6; }
.nav-cta { display: none; }
@media (min-width: 768px) { .nav-cta { display: inline-flex; } }
.nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 8px; margin-left: auto; background: none; border: 0; cursor: pointer; }
@media (min-width: 768px) { .nav-toggle { display: none; } }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--text-muted); border-radius: 1px; transition: transform var(--dur-normal) var(--ease), opacity var(--dur-fast) var(--ease); }
.nav-toggle:hover span { background: var(--text); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); background: var(--text); }
.nav-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-4.5px) rotate(-45deg); background: var(--text); }
.nav-mobile {
  position: fixed; top: var(--nav-height); left: 0; right: 0;
  background: var(--bg-raised); border-bottom: 1px solid var(--border);
  padding: var(--space-4) var(--space-4) var(--space-6);
  transform: translateY(-110%); opacity: 0; visibility: hidden;
  transition: transform var(--dur-slow) var(--ease-out-expo), opacity var(--dur-normal) var(--ease), visibility var(--dur-normal) var(--ease);
}
.nav-mobile[aria-hidden="false"] { transform: translateY(0); opacity: 1; visibility: visible; }
.nav-mobile ul { list-style: none; display: flex; flex-direction: column; margin-bottom: var(--space-4); }
.nav-mobile-link { display: block; font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 600; color: var(--text); padding-block: var(--space-2); border-bottom: 1px solid var(--border-light); transition: color var(--dur-fast) var(--ease); }
.nav-mobile-link:hover { color: var(--accent); }
.nav-mobile-btn { width: 100%; justify-content: center; }

/* ── Footer (lotus-footer) — vendored from src/components/Footer.astro ── */
.footer { background: var(--footer-bg, var(--bg)); border-top: 1px solid var(--border-light); padding-top: var(--space-12); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8) var(--space-6); padding-bottom: var(--space-8); }
/* Grid items default to min-width:auto (= min-content), so non-wrapping content (the
   email address, the "Book a Consultation" button) forces the tracks wider than the
   viewport on narrow phones and the right-hand column gets cut off. Let tracks shrink
   and let long strings wrap, and give the brand and book columns a full row so the
   button stays on one line. Ported from src/components/Footer.astro, which fixed this
   for the bespoke pages while this vendored copy — the one the composer canvas and the
   composer-rendered pages load — was left behind. */
.footer-grid > * { min-width: 0; }
.footer a, .footer-desc, .footer-note { overflow-wrap: anywhere; }
@media (max-width: 767px) {
  .footer-brand, .footer-book { grid-column: 1 / -1; }
  .footer-btn { width: 100%; justify-content: center; }
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }
.footer-logo { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; margin-bottom: var(--space-1); }
.footer-desc { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.6; }
.footer-heading { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--space-3); }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-2); }
.footer a { font-size: var(--text-sm); color: var(--text-muted); transition: color var(--dur-fast) var(--ease); }
.footer a:hover { color: var(--accent); }
.footer .btn { color: var(--bg); }
.footer .btn:hover { color: var(--bg); }
.footer .btn-outline-dark { color: var(--text); border-color: var(--border); }
.footer .btn-outline-dark:hover { color: var(--accent); border-color: var(--accent); }
.footer-addr { font-size: var(--text-sm); color: var(--text-dim); }
.footer-note { font-size: var(--text-sm); color: var(--text-muted); margin-bottom: var(--space-3); }
.footer-bar { border-top: 1px solid var(--border-light); padding-block: var(--space-3); display: flex; flex-direction: column; gap: 4px; font-size: var(--text-xs); color: var(--text-dim); }
@media (min-width: 640px) { .footer-bar { flex-direction: row; justify-content: space-between; } }

/* ── Multipage (C3): page headers + portfolio grid header, vendored from
   work.astro / faq.astro / 404.astro <style> ── */
.page-title { font-family: var(--font-display); font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); font-weight: 700; line-height: 1; margin-bottom: var(--space-2); }
.lotus-pagecenter { min-height: 80dvh; display: flex; align-items: center; }
.lotus-center { text-align: center; }
.lotus-center-sub { margin-inline: auto; }
.lotus-center-actions { justify-content: center; }
.portfolio-header { position: relative; height: 55vh; min-height: 380px; max-height: 700px; display: flex; align-items: flex-end; overflow: hidden; background: var(--bg); }
.portfolio-header-bg { position: absolute; inset: 0; }
.portfolio-header-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.portfolio-header-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, color-mix(in srgb, var(--overlay-color, #1f1a16) 88%, transparent) 0%, color-mix(in srgb, var(--overlay-color, #1f1a16) 45%, transparent) 50%, color-mix(in srgb, var(--overlay-color, #1f1a16) 75%, transparent) 100%); opacity: var(--overlay-opacity, 1); }
.portfolio-header-content { position: relative; z-index: 2; padding-bottom: var(--space-8); padding-top: var(--nav-height); }
.sec-header { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.hide-mobile { display: none; }
@media (min-width: 640px) { .hide-mobile { display: inline-flex; } }
.faq-link { color: var(--accent); transition: color var(--dur-fast) var(--ease); }
.faq-link:hover { color: var(--accent-light); }
.faq-body-wrap { max-width: 800px; }
.faq-cta { margin-top: var(--space-10); padding-top: var(--space-6); border-top: 1px solid var(--border-dark); display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; }
@media (min-width: 640px) { .faq-cta { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ── FAQ accordion (lotus-faq) — vendored from FAQAccordion.astro ── */
.accordion { display: flex; flex-direction: column; border-top: 1px solid var(--border-dark); }
.accordion-item { border-bottom: 1px solid var(--border-dark); }
.accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 0; text-align: left; font-family: var(--font-body); font-size: var(--text-base); color: var(--text-dark); transition: color var(--dur-fast) var(--ease); background: none; border: 0; cursor: pointer; }
@media (min-width: 640px) { .accordion-trigger { font-size: var(--text-lg); } }
.accordion-trigger:hover, .accordion-trigger[aria-expanded="true"] { color: var(--accent); }
.accordion-icon { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; font-size: var(--text-lg); font-weight: 400; line-height: 1; color: var(--accent); border: 1px solid var(--border-dark); border-radius: 50%; flex-shrink: 0; transition: transform var(--dur-normal) var(--ease), background var(--dur-fast) var(--ease); }
.accordion-trigger:hover .accordion-icon { background: var(--accent-dim); }
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-normal) var(--ease); }
.accordion-panel.is-open { grid-template-rows: 1fr; }
.accordion-body { overflow: hidden; padding-bottom: 0; transition: padding-bottom var(--dur-normal) var(--ease); }
.accordion-panel.is-open .accordion-body { padding-bottom: var(--space-3); }
.accordion-body p { font-size: var(--text-base); line-height: var(--leading-relaxed); color: var(--text-dark-secondary); max-width: 72ch; }
.accordion-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ── Gallery grid + lightbox (lotus-gallery) — vendored from PortfolioGrid.astro ── */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: var(--space-4); }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.grid-item { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg); cursor: pointer; border: 0; padding: 0; opacity: 0; transform: translateY(12px) scale(0.97); animation: grid-enter 0.6s var(--ease-out-expo) forwards; animation-delay: calc(0.06s * var(--i, 0)); }
@keyframes grid-enter { to { opacity: 1; transform: translateY(0) scale(1); } }
.grid-frame { display: block; width: 100%; height: 100%; overflow: hidden; background: var(--bg); border-radius: var(--img-radius, 0px); filter: var(--img-filter, none); box-shadow: inset 0 0 20px rgba(0,0,0,0.16); transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), filter var(--dur-slow) var(--ease-out-expo); }
.grid-item:hover .grid-frame { border-color: var(--accent); box-shadow: inset 0 0 20px rgba(0,0,0,0.08); }
.grid-frame img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.98) contrast(1.02); transition: transform var(--dur-slow) var(--ease-out-expo), filter var(--dur-slow) var(--ease-out-expo); }
.grid-item:hover .grid-frame img { transform: scale(var(--img-hover-scale, 1.03)); filter: brightness(1) contrast(1); }
.grid-item::after { content: ''; position: absolute; inset: 0; border: 1px solid transparent; pointer-events: none; z-index: 2; transition: border-color var(--dur-fast) var(--ease); }
.grid-item:hover::after { border-color: var(--accent); }
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0); opacity: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; transition: opacity var(--dur-normal) var(--ease-out-expo), background var(--dur-normal) var(--ease-out-expo); pointer-events: none; }
.lb:not([hidden]) { background: rgba(0,0,0,0.94); opacity: 1; pointer-events: all; }
.lb[hidden] { display: flex; }
.lb-frame { border-radius: 2px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.06); }
.lb-wrap { max-width: min(90vw, 900px); max-height: 80vh; display: flex; align-items: center; justify-content: center; transform: scale(0.95); transition: transform var(--dur-normal) var(--ease-out-expo); }
.lb:not([hidden]) .lb-wrap { transform: scale(1); }
.lb-img { display: block; max-width: 100%; max-height: 80vh; object-fit: contain; }
.lb-footer { display: flex; align-items: center; justify-content: space-between; width: min(90vw, 900px); opacity: 0; transform: translateY(6px); transition: opacity var(--dur-normal) var(--ease-out-expo), transform var(--dur-normal) var(--ease-out-expo); transition-delay: 80ms; }
.lb:not([hidden]) .lb-footer { opacity: 1; transform: translateY(0); }
.lb-caption { font-size: var(--text-sm); color: rgba(255,255,255,0.4); font-style: italic; }
.lb-count { font-size: var(--text-xs); letter-spacing: 0.12em; color: rgba(255,255,255,0.3); }
.lb-close, .lb-prev, .lb-next { position: fixed; line-height: 1; z-index: 10; color: rgba(255,255,255,0.5); background: none; border: 0; cursor: pointer; transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { color: #fff; }
.lb-close { top: var(--space-4); right: var(--space-4); font-size: 2rem; }
.lb-close:hover { transform: rotate(90deg); }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); font-size: 2.5rem; padding: var(--space-2); }
.lb-prev { left: var(--space-2); }
.lb-next { right: var(--space-2); }

/* ── D2: dynamic widget styling (booking/login/gate/calendar/deposit) ── */
.cms-dynamic-live { display: block; }
.cms-bk { display: flex; flex-direction: column; gap: var(--space-2); max-width: 560px; margin-inline: auto; }
.cms-bk-title { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--text-1, var(--text)); margin: 0 0 var(--space-1); }
.cms-bk-field { display: flex; flex-direction: column; gap: 4px; font-size: var(--text-sm); color: var(--text-2, var(--text-muted)); }
.cms-bk-field input, .cms-bk-field textarea {
  padding: 10px 12px; font: inherit; font-family: var(--font-body);
  background: var(--surface-2, var(--bg-raised)); color: var(--text-1, var(--text));
  border: 1px solid var(--border); border-radius: var(--radius-md, 8px); box-sizing: border-box;
}
.cms-bk-submit { align-self: flex-start; margin-top: var(--space-1); }
.cms-bk-msg { font-size: var(--text-sm); margin: var(--space-1) 0 0; }
.cms-bk-msg.is-ok { color: var(--accent); }
.cms-bk-msg.is-err { color: #e06363; }
.cms-portal-login, .cms-gate-locked, .cms-deposit, .cms-cal { text-align: center; }
.cms-gate-locked { padding: var(--space-6); border: 1px dashed var(--border); border-radius: var(--radius-lg, 12px); }
.cms-deposit-amt { font-family: var(--font-display); font-size: var(--text-3xl); color: var(--accent); margin: var(--space-1) 0; }
.cms-deposit-head { font-weight: 600; }
.cms-deposit-note, .cms-cal-empty, .cms-login-msg { color: var(--text-2, var(--text-muted)); font-size: var(--text-sm); }
.cms-cal-slots { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--space-2); }
.cms-cal-slot { display: block; padding: var(--space-2); border: 1px solid var(--border); border-radius: var(--radius-md, 8px); color: var(--text-1, var(--text)); }
.cms-cal-slot:hover { border-color: var(--accent); color: var(--accent); }

/* ── H2: interactions ── */
.fx-pre { opacity: 0; }
.fx-init { transition: opacity var(--fx-dur, 600ms) var(--fx-delay, 0ms) ease, transform var(--fx-dur, 600ms) var(--fx-delay, 0ms) ease; }
.fx-fade-up.fx-pre { transform: translateY(24px); }
.fx-slide-left.fx-pre { transform: translateX(28px); }
.fx-slide-right.fx-pre { transform: translateX(-28px); }
.fx-scale.fx-pre { transform: scale(0.94); }
[data-hover="lift"] { transition: transform .2s ease; } [data-hover="lift"]:hover { transform: translateY(-5px); }
[data-hover="grow"] { transition: transform .2s ease; } [data-hover="grow"]:hover { transform: scale(1.03); }
[data-hover="glow"] { transition: box-shadow .2s ease; } [data-hover="glow"]:hover { box-shadow: 0 0 28px var(--brand-glow, var(--brand, #c9a044)); }

/* Contact + Piercings page layouts (vendored from contact.astro / piercings.astro for v3 parity) */
.contact-wrap { max-width: 640px; display: flex; flex-direction: column; gap: var(--space-6); }
.contact-block { display: flex; flex-direction: column; gap: var(--space-1); }
.contact-value { font-size: var(--text-lg); color: var(--text-dark); }
a.contact-value { transition: color var(--dur-fast) var(--ease); }
a.contact-value:hover { color: var(--accent); }
.contact-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); padding-top: var(--space-6); border-top: 1px solid var(--border-dark); }
/* Scoped: this came from contact.astro, where Astro scoped it to that page. Flat here,
   the bare selector overrode the dark-section rule at :481 and made the note invisible
   (1.07:1) under the hero CTAs and both CTA bands. */
.section-light .booking-note { color: var(--text-dark-secondary); }
.piercing-wrap { max-width: 800px; }
.piercing-section { margin-bottom: var(--space-10); }
.piercing-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); padding-top: var(--space-6); border-top: 1px solid var(--border-dark); }
