/*
 * Get Lippy with Mel — site + Webfreezee editor stylesheet.
 * Served at /webfreezee-editor.css (stable path, no hashing) and used by the
 * live site, so the editor preview and published pages match.
 * Colours come only from the --wf-* palette roles set on .wf-editor-site-shell.
 */

@font-face {
  font-family: 'Jost';
  src: url('/fonts/jost-var.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant';
  src: url('/fonts/cormorant-var.woff2') format('woff2');
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant';
  src: url('/fonts/cormorant-italic-var.woff2') format('woff2');
  font-weight: 500 600;
  font-style: italic;
  font-display: swap;
}

.wf-editor-site-shell {
  /* palette fallbacks; the shell's inline style (live) or the editor sets the real values */
  --wf-primary: #070628;
  --wf-secondary: #e2a9f0;
  --wf-accent: #f0a6c4;
  --wf-light: #fbf6fd;
  --wf-dark: #050419;
  --wf-text: #1e1a3a;
  --wf-muted: #635c7e;
  --wf-border: #eaddf2;
  --wf-on-primary: #ffffff;
  --wf-on-secondary: #1e1a3a;
  --wf-on-accent: #1e1a3a;
  --wf-on-dark: #ffffff;
  --wf-on-light: #1e1a3a;

  --font-body: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;
  --font-display: 'Cormorant', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --contained: 1160px;
  --wide: 1320px;
  --narrow: 780px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --radius-sm: 14px;
  --shine: linear-gradient(115deg, var(--wf-secondary) 0%, var(--wf-accent) 48%, #a9c9f2 100%);
  --glow: radial-gradient(60% 70% at 85% 30%, color-mix(in srgb, var(--wf-secondary) 26%, transparent), transparent 70%),
    radial-gradient(45% 60% at 10% 90%, color-mix(in srgb, var(--wf-accent) 18%, transparent), transparent 70%);
  --shadow: 0 18px 50px -24px color-mix(in srgb, var(--wf-primary) 45%, transparent);

  font-family: var(--font-body);
  font-variant-numeric: lining-nums;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--wf-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--wf-dark, #050419); }
.wf-editor-site-shell *, .wf-editor-site-shell *::before, .wf-editor-site-shell *::after { box-sizing: border-box; }
:where(.wf-editor-site-shell) img { max-width: 100%; height: auto; display: block; }
:where(.wf-editor-site-shell) a { color: inherit; }
.wf-editor-site-page { flex: 1; background: #fff; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--wf-secondary); color: var(--wf-on-secondary);
  padding: 10px 16px; border-radius: 999px; font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wf-editor-site-shell :focus-visible {
  outline: 3px solid var(--wf-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- typography ---------- */

:where(.wf-editor-site-shell) :is(h1, h2, h3, h4) {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0 0 0.45em;
  color: inherit;
  text-wrap: balance;
}
:where(.wf-editor-site-shell) h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 600; }
:where(.wf-editor-site-shell) h2 { font-size: clamp(2.1rem, 3.8vw, 3.1rem); }
:where(.wf-editor-site-shell) h3 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); }
:where(.wf-editor-site-shell) h4 { font-size: 1.3rem; }
:where(.wf-editor-site-shell) p { margin: 0 0 1em; }
:where(.wf-editor-site-shell) p:last-child { margin-bottom: 0; }
:where(.wf-editor-site-shell) .lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.6; font-weight: 300; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--wf-primary) 70%, var(--wf-secondary));
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 9px; height: 9px;
  background: var(--shine);
  transform: rotate(45deg);
  border-radius: 2px;
  flex: none;
}
.eyebrow-light { color: var(--wf-secondary); }

/* ---------- layout primitives ---------- */

.section { position: relative; }
.section-inner {
  width: 100%;
  max-width: calc(var(--contained) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section-inner.narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }
.section-inner.center, .center { text-align: center; }
.is-wide > .section-inner, .width-wide > .section-inner { max-width: calc(var(--wide) + var(--gutter) * 2); }
.is-full > .section-inner, .width-full > .section-inner { max-width: none; }
.content-section.width-wide > .section-inner.narrow { max-width: calc(var(--contained) + var(--gutter) * 2); }
.content-section.width-full > .section-inner.narrow { max-width: none; }

.space-small, .spacing-small { padding-block: clamp(28px, 4vw, 44px); }
.space-medium, .spacing-medium { padding-block: clamp(56px, 7vw, 92px); }
.space-large, .spacing-large { padding-block: clamp(76px, 10vw, 128px); }

.content-stack > * + * { margin-top: 18px; }

/* section backgrounds + automatic contrast */
.bg-white, .is-white { background: #fff; color: var(--wf-text); }
.bg-light, .is-light { background: var(--wf-light); color: var(--wf-on-light); }
.bg-soft, .is-soft { background: color-mix(in srgb, var(--wf-light) 55%, var(--wf-border)); color: var(--wf-text); }
.bg-primary, .is-primary { background-color: var(--wf-primary); color: var(--wf-on-primary); }
.bg-secondary, .is-secondary { background-color: var(--wf-secondary); color: var(--wf-on-secondary); }
.bg-accent, .is-accent { background-color: var(--wf-accent); color: var(--wf-on-accent); }
.bg-dark, .is-dark { background-color: var(--wf-dark); color: var(--wf-on-dark); }
.bg-primary, .bg-dark, .is-primary.section, .is-dark.section { background-image: var(--glow); }
.bg-primary .eyebrow, .bg-dark .eyebrow, .is-primary .eyebrow, .is-dark .eyebrow { color: var(--wf-secondary); }
.bg-secondary .eyebrow, .bg-accent .eyebrow { color: var(--wf-on-secondary); }
.bg-primary .block-text.colour-muted, .bg-dark .block-text.colour-muted { color: color-mix(in srgb, var(--wf-on-primary) 72%, transparent); }

/* visibility */
@media (max-width: 768px) { .hide-mobile, .visibility-hide-mobile { display: none !important; } }
@media (min-width: 769px) { .hide-desktop, .visibility-hide-desktop { display: none !important; } }

/* ---------- buttons ---------- */

.button, .demo-site-cta, .wf-editor-site-header-cta, .wf-contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.button:hover, .demo-site-cta:hover, .wf-editor-site-header-cta:hover, .wf-contact-form button:hover { transform: translateY(-2px); }
.cta-arrow { transition: transform 0.2s ease; flex: none; }
a:hover > .cta-arrow { transform: translateX(3px); }

.button-light, .button.button-light {
  background: var(--shine);
  color: var(--wf-primary);
  box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--wf-secondary) 80%, transparent);
}
.button-light:hover { box-shadow: 0 16px 36px -12px color-mix(in srgb, var(--wf-accent) 90%, transparent); }
.button-primary, .button.is-primary { background: var(--wf-primary); color: var(--wf-on-primary); }
.button-primary:hover { box-shadow: var(--shadow); }
.button-secondary, .button.is-secondary { background: var(--wf-secondary); color: var(--wf-on-secondary); }
.button-accent, .button.is-accent { background: var(--wf-accent); color: var(--wf-on-accent); }
.button-outline, .button.is-outline { background: transparent; border-color: currentColor; color: inherit; }
.button-outline:hover { background: var(--wf-primary); color: var(--wf-on-primary); border-color: var(--wf-primary); }
.bg-primary .button-outline:hover, .bg-dark .button-outline:hover { background: var(--wf-secondary); color: var(--wf-on-secondary); border-color: var(--wf-secondary); }
.button-text, .button.is-text { background: none; padding-inline: 0; min-height: 0; border-radius: 0; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--wf-accent); }
.bg-primary .button-primary, .bg-dark .button-primary { background: var(--shine); color: var(--wf-primary); }
.bg-secondary .button-primary { background: var(--wf-primary); color: var(--wf-on-primary); }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button-row.align-center { justify-content: center; }
.button-row.align-right { justify-content: flex-end; }

.text-link, .wf-card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 0.95rem; letter-spacing: 0.03em;
  color: var(--wf-primary);
  text-decoration: underline; text-decoration-color: var(--wf-accent);
  text-decoration-thickness: 2px; text-underline-offset: 6px;
}

/* ---------- header ---------- */

.site-header {
  position: relative;
  z-index: 40;
  background: var(--wf-primary);
  color: var(--wf-on-primary);
  border-bottom: 1px solid color-mix(in srgb, var(--wf-secondary) 18%, transparent);
}
.site-header.is-light { background: #fff; color: var(--wf-text); border-bottom-color: var(--wf-border); }
.site-header.is-sticky { position: sticky; top: 0; }
.header-inner {
  max-width: calc(var(--wide) + var(--gutter) * 2);
  margin-inline: auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 78px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 50px; width: auto; }
.brand strong { font-family: var(--font-display); font-size: 1.6rem; font-style: italic; color: var(--wf-secondary); }
.site-header.is-light .brand img { filter: brightness(0.55) saturate(1.4); }
.primary-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.layout-logo-left-nav-center .primary-nav { margin-inline: auto; }
.primary-nav > a, .primary-nav > span {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  color: inherit;
  opacity: 0.86;
  white-space: nowrap;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}
.primary-nav > a:hover, .primary-nav > span:hover { opacity: 1; background: color-mix(in srgb, var(--wf-secondary) 14%, transparent); }
.primary-nav > .is-active { opacity: 1; color: var(--wf-secondary); }
.site-header.is-light .primary-nav > .is-active { color: var(--wf-primary); background: var(--wf-light); }
.wf-editor-site-header-cta {
  min-height: 44px; padding: 0 22px; flex: none;
  background: var(--shine); color: var(--wf-primary);
}
.wf-editor-site-mobile-cta { display: none; }
.layout-logo-center-nav-below .header-inner { flex-wrap: wrap; justify-content: center; }
.layout-logo-center-nav-below .primary-nav { margin: 0; width: 100%; justify-content: center; }

.menu-button {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  background: transparent;
  color: inherit;
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-button span { display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.menu-button[aria-expanded='true'] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-button[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1024px) {
  .header-inner { min-height: 70px; gap: 12px; }
  .brand img { height: 42px; }
  .menu-button { display: inline-flex; }
  .wf-editor-site-header-cta { display: none; }
  .primary-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 22px;
    background: var(--wf-primary);
    background-image: var(--glow);
    border-bottom: 1px solid color-mix(in srgb, var(--wf-secondary) 22%, transparent);
    box-shadow: 0 30px 40px -20px rgba(0, 0, 0, 0.5);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .site-header.is-light .primary-nav { background: #fff; }
  .primary-nav.is-open, .primary-nav.open { display: flex; }
  .primary-nav > a, .primary-nav > span { padding: 14px 6px; border-radius: 0; font-size: 1.05rem; border-bottom: 1px solid color-mix(in srgb, currentColor 10%, transparent); }
  .wf-editor-site-mobile-cta {
    display: flex !important; justify-content: center;
    margin-top: 14px; border-radius: 999px !important; border: 0 !important;
    background: var(--shine); color: var(--wf-primary) !important; font-weight: 500; opacity: 1 !important;
  }
}

/* ---------- header drop-down groups ---------- */

.nav-group { position: relative; }
.nav-group-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border: 0; border-radius: 999px;
  background: none;
  color: inherit;
  font: inherit; font-size: 0.95rem; letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  opacity: 0.86;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}
.nav-group-toggle:hover, .nav-group:focus-within .nav-group-toggle, .nav-group-toggle[aria-expanded='true'] { opacity: 1; }
.nav-group-toggle.is-active { opacity: 1; color: var(--wf-secondary); }
.site-header.is-light .nav-group-toggle.is-active { color: var(--wf-primary); }
.nav-chevron { transition: transform 0.25s ease; }
.nav-group-toggle[aria-expanded='true'] .nav-chevron { transform: rotate(180deg); }
.nav-dropdown a { display: block; text-decoration: none; color: inherit; white-space: nowrap; }

@media (min-width: 1025px) {
  .nav-dropdown {
    position: absolute; top: calc(100% + 10px); left: 50%;
    min-width: 230px;
    display: grid; gap: 2px;
    padding: 10px;
    border-radius: 18px;
    background: color-mix(in srgb, var(--wf-primary) 94%, transparent);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border: 1px solid color-mix(in srgb, var(--wf-secondary) 25%, transparent);
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.75);
    opacity: 0; visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .site-header.is-light .nav-dropdown { background: #fff; border-color: var(--wf-border); }
  .nav-dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .nav-group:hover .nav-dropdown,
  .nav-group:focus-within .nav-dropdown,
  .nav-group-toggle[aria-expanded='true'] + .nav-dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .nav-group:hover .nav-chevron { transform: rotate(180deg); }
  .nav-dropdown a { padding: 10px 14px; border-radius: 12px; font-size: 0.95rem; opacity: 0.88; transition: background-color 0.2s ease, opacity 0.2s ease; }
  .nav-dropdown a:hover, .nav-dropdown a:focus-visible { opacity: 1; background: color-mix(in srgb, var(--wf-secondary) 16%, transparent); }
  .nav-dropdown a.is-active { opacity: 1; color: var(--wf-secondary); }
  .nav-group-toggle::after {
    content: '';
    position: absolute; left: 14px; right: 30px; bottom: 3px; height: 2px;
    background: var(--shine); border-radius: 2px;
    transform: scaleX(0); transition: transform 0.3s ease;
  }
  .nav-group-toggle { position: relative; }
  .nav-group-toggle.is-active::after, .nav-group:hover .nav-group-toggle::after { transform: scaleX(1); }
}

@media (max-width: 1024px) {
  .nav-group { border-bottom: 1px solid color-mix(in srgb, currentColor 10%, transparent); }
  .nav-group-toggle { width: 100%; justify-content: space-between; padding: 14px 6px; border-radius: 0; font-size: 1.05rem; }
  .nav-dropdown { display: none; padding: 0 0 10px 14px; }
  .nav-group-toggle[aria-expanded='true'] + .nav-dropdown { display: grid; }
  .nav-dropdown a { padding: 11px 6px; font-size: 1rem; opacity: 0.86; }
  .nav-dropdown a.is-active { opacity: 1; color: var(--wf-secondary); }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--wf-primary);
  background-image: var(--glow);
  color: var(--wf-on-primary);
  isolation: isolate;
}
.hero::before {
  /* faint crystal facets */
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(135deg, transparent 0 46%, color-mix(in srgb, var(--wf-secondary) 9%, transparent) 46% 54%, transparent 54%) 0 0 / 120px 120px,
    radial-gradient(circle at 20% 30%, color-mix(in srgb, #fff 55%, transparent) 0 1px, transparent 2px) 0 0 / 160px 160px,
    radial-gradient(circle at 70% 60%, color-mix(in srgb, var(--wf-secondary) 70%, transparent) 0 1px, transparent 2px) 0 0 / 210px 210px;
  opacity: 0.55;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero-inner {
  max-width: calc(var(--contained) + var(--gutter) * 2);
  margin-inline: auto;
  padding: clamp(56px, 8vw, 110px) var(--gutter) clamp(64px, 9vw, 120px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.hero.has-media .hero-inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
.hero-copy { max-width: 680px; }
.hero:not(.has-media) .hero-copy { max-width: 820px; }
.hero-copy h1 { margin-bottom: 0.35em; }
.hero-copy > p { font-size: clamp(1.06rem, 1.5vw, 1.22rem); font-weight: 300; line-height: 1.7; color: color-mix(in srgb, var(--wf-on-primary) 86%, transparent); max-width: 58ch; margin-bottom: 30px; }
.hero-logo { max-width: 260px; margin-bottom: 22px; }
.hero-art { position: relative; min-width: 0; }
.hero:not(.has-media) .hero-art { display: none; }
.wf-hero-media-frame { position: relative; }
.wf-hero-media-frame::before {
  content: '';
  position: absolute; inset: 8% 6%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--wf-accent) 40%, transparent), transparent);
  filter: blur(30px);
  z-index: 0;
}
.demo-site-hero-image {
  position: relative; z-index: 1;
  width: 100%;
  max-height: 600px;
  object-fit: contain;
  border-radius: var(--radius);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
}
.demo-site-hero-image[data-crop^='cover'] {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  -webkit-mask-image: none; mask-image: none;
  border: 1px solid color-mix(in srgb, var(--wf-secondary) 35%, transparent);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
.demo-site-hero-image[data-crop='cover-top'] { object-position: top; }
.demo-site-hero-image[data-crop='cover-bottom'] { object-position: bottom; }
.wf-hero-slider-controls { display: none; }

@media (max-width: 860px) {
  .hero.has-media .hero-inner { grid-template-columns: 1fr; gap: 10px; }
  .hero.has-media .hero-art { order: -1; max-width: 420px; margin: -10px auto 0; }
  .demo-site-hero-image { max-height: 360px; }
}

/* ---------- story ---------- */

.story-section { padding-block: clamp(64px, 8vw, 110px); background: #fff; overflow: hidden; }
.two-column-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.story-section:not(.has-media) .two-column-inner { grid-template-columns: minmax(0, 1fr); max-width: calc(var(--narrow) + var(--gutter) * 2); }
.story-copy .lead { color: var(--wf-muted); }
.story-media { position: relative; margin: 0; }
.story-media::before {
  content: '';
  position: absolute; inset: -18px 18px 18px -18px;
  border-radius: calc(var(--radius) + 6px);
  background: var(--shine);
  opacity: 0.5;
}
.demo-site-story-image { position: relative; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.demo-site-story-image[data-crop='contain'] { object-fit: contain; background: var(--wf-light); }
.demo-site-story-image[data-crop='cover-top'] { object-position: top; }
.demo-site-story-image[data-crop='cover-bottom'] { object-position: bottom; }

/* ---------- image + CTA sections ---------- */

.image-section { padding-block: clamp(40px, 6vw, 80px); }
.wide-image { margin: 0; }
.demo-site-full-image { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius); }
.demo-site-full-image[data-crop='contain'] { object-fit: contain; }
.wide-image figcaption, .content-image figcaption { margin-top: 12px; font-size: 0.9rem; color: var(--wf-muted); text-align: center; }

.cta-section {
  padding-block: clamp(64px, 8vw, 104px);
  background-color: var(--wf-secondary);
  background-image:
    radial-gradient(50% 80% at 100% 0%, color-mix(in srgb, var(--wf-accent) 70%, transparent), transparent 70%),
    radial-gradient(40% 70% at 0% 100%, color-mix(in srgb, #fff 45%, transparent), transparent 70%);
  color: var(--wf-on-secondary);
}
.cta-section .lead { margin: 0 auto 28px; max-width: 56ch; }
.cta-section .eyebrow::before { background: var(--wf-primary); }

/* ---------- builder sections ---------- */

.wf-two-column-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.wf-two-column-grid.ratio-left-small { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.wf-two-column-grid.ratio-left-large { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.wf-two-column-grid > .wf-builder-slot > * + * { margin-top: 20px; }
@media (max-width: 820px) {
  .two-column-inner, .wf-two-column-grid, .wf-two-column-grid.ratio-left-small, .wf-two-column-grid.ratio-left-large { grid-template-columns: minmax(0, 1fr); }
  .wf-two-column-grid.stack-reverse > :first-child { order: 2; }
}

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); align-items: stretch; }
.grid.cols-1 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid > * { min-width: 0; }
@media (max-width: 980px) {
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: minmax(0, 1fr); }
}
.gallery-section .grid { align-items: start; }

/* ---------- element blocks ---------- */

.block-heading { color: inherit; }
.block-heading.align-center, .block-text.align-center, .quote-card.align-center { text-align: center; }
.block-heading.align-right, .block-text.align-right, .quote-card.align-right { text-align: right; }
.block-text.align-center > * { margin-inline: auto; }
.block-text { max-width: 72ch; }
.block-text.align-center { margin-inline: auto; }
.block-text.style-lead, .block-text.text-lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); font-weight: 300; }
.block-text.style-small, .block-text.text-small { font-size: 0.9rem; }
.block-text ul, .block-text ol { padding-left: 1.3em; margin: 0 0 1em; }
.block-text a, .faq-item a, .profile-bio a { color: inherit; text-decoration-color: var(--wf-accent); text-decoration-thickness: 2px; text-underline-offset: 4px; font-weight: 500; }

.colour-primary { color: var(--wf-primary); }
.colour-secondary { color: var(--wf-secondary); }
.colour-accent { color: var(--wf-accent); }
.colour-text { color: var(--wf-text); }
.colour-muted { color: var(--wf-muted); }
.colour-light { color: var(--wf-light); }
.colour-dark { color: var(--wf-dark); }

.content-image { margin: 0; }
.content-image .wf-image, .wf-image-block .wf-image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--wf-light);
}
.wf-image[data-crop^='cover'] { aspect-ratio: 4 / 3; object-fit: cover; }
.wf-image[data-crop='cover-top'] { object-position: top; }
.wf-image[data-crop='cover-bottom'] { object-position: bottom; }
.wf-image[data-crop='contain'] { object-fit: contain; }
.gallery-section .wf-image[data-crop^='cover'] { aspect-ratio: 4 / 5; }
.wf-image-placeholder, .placeholder-image, .wf-video-placeholder, .video-placeholder, .profile-placeholder {
  display: grid; place-items: center;
  min-height: 220px;
  border-radius: var(--radius);
  border: 1.5px dashed var(--wf-border);
  background: var(--wf-light);
  color: var(--wf-muted);
  font-size: 0.9rem;
}

.divider-wrap.space-small { padding-block: 8px; }
.divider-wrap.space-medium { padding-block: 20px; }
.divider-wrap.space-large { padding-block: 40px; }
.divider { border: 0; height: 1px; margin: 0; background: var(--wf-border); }
.divider-solid { height: 2px; background: var(--shine); border-radius: 2px; }
.divider-dashed { height: 0; background: none; border-top: 2px dashed var(--wf-border); }
.divider-subtle { opacity: 0.6; }

.spacer-small, .spacer.is-small { height: 16px; }
.spacer-medium, .spacer.is-medium { height: 40px; }
.spacer-large, .spacer.is-large { height: 80px; }
@media (max-width: 640px) { .spacer-medium, .spacer.is-medium { height: 28px; } .spacer-large, .spacer.is-large { height: 52px; } }

.quote-card {
  position: relative;
  margin: 0;
  padding: 10px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.2;
}
.quote-card::before {
  content: '\201C';
  display: block;
  font-size: 4.5rem;
  line-height: 0.6;
  height: 0.4em;
  background: var(--shine);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.quote-card p { margin: 0; text-wrap: balance; }
.quote-card cite {
  display: block; margin-top: 18px;
  font-family: var(--font-body); font-style: normal; font-size: 0.85rem;
  letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.8;
}
.quote-card cite::before { content: '— '; }
.quote-card.colour-default { color: inherit; }

.feature-card {
  position: relative;
  height: 100%;
  display: flex; flex-direction: column;
  padding: clamp(26px, 3vw, 36px);
  border-radius: var(--radius);
  background: #fff;
  color: var(--wf-text);
  border: 1px solid var(--wf-border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 14px 40px -28px color-mix(in srgb, var(--wf-primary) 60%, transparent);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--shine);
}
.feature-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--wf-secondary) 60%, var(--wf-border)); box-shadow: var(--shadow); }
.feature-card h3 { margin-bottom: 0.4em; color: var(--wf-primary); }
.feature-card > div { color: var(--wf-muted); flex: 1; }
.feature-card .eyebrow { margin-bottom: 10px; }
.feature-card .wf-card-link { margin-top: 22px; align-self: flex-start; }

.stat-card {
  height: 100%;
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--wf-border);
  text-align: center;
  color: var(--wf-text);
}
.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  font-weight: 600;
  background: linear-gradient(115deg, var(--wf-primary), color-mix(in srgb, var(--wf-secondary) 70%, var(--wf-primary)));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-card span { display: block; margin-top: 10px; font-weight: 500; }
.stat-card small { display: block; margin-top: 6px; color: var(--wf-muted); font-size: 0.9rem; }

.faq-item {
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--wf-border);
  color: var(--wf-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item[open] { border-color: color-mix(in srgb, var(--wf-secondary) 70%, var(--wf-border)); box-shadow: 0 14px 40px -30px color-mix(in srgb, var(--wf-primary) 60%, transparent); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--wf-primary);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--wf-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23070628' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  border: 1px solid var(--wf-border);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item > div { padding: 0 24px 22px; color: var(--wf-muted); }

.video-block { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--wf-dark); box-shadow: var(--shadow); }
.video-block iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-link { color: inherit; font-weight: 500; }

.contact-details {
  display: flex; flex-direction: column; gap: 6px;
  padding: clamp(26px, 3vw, 36px);
  border-radius: var(--radius);
  background: var(--wf-primary);
  background-image: var(--glow);
  color: var(--wf-on-primary);
}
.contact-details h3 { color: var(--wf-secondary); }
.contact-details a {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
  padding: 6px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--wf-secondary) 20%, transparent);
}
.contact-details a:hover { color: var(--wf-secondary); }
.contact-details p { margin-top: 8px; opacity: 0.85; }

.list-block h3 { margin-bottom: 14px; }
.list-block ul, .list-block ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.list-block li { position: relative; padding-left: 34px; }
.list-bullets li::before, .list-block.is-bullets li::before {
  content: ''; position: absolute; left: 6px; top: 0.6em;
  width: 9px; height: 9px; transform: rotate(45deg); border-radius: 2px; background: var(--shine);
}
.list-checks li::before, .list-block.is-checks li::before {
  content: ''; position: absolute; left: 0; top: 0.18em;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--shine) ;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12'/%3E%3C/svg%3E") center / contain no-repeat;
}
.list-checks li::after, .list-block.is-checks li::after {
  content: ''; position: absolute; left: 7px; top: calc(0.18em + 5px);
  width: 6px; height: 10px; border: solid var(--wf-primary); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.list-numbered ol { counter-reset: item; }
.list-numbered li { counter-increment: item; }
.list-numbered li::before {
  content: counter(item); position: absolute; left: 0; top: 0.1em;
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 600; background: var(--wf-primary); color: var(--wf-on-primary);
}

.profile-card { height: 100%; text-align: center; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--wf-border); color: var(--wf-text); }
.profile-image, .profile-placeholder { width: 140px; height: 140px; min-height: 0; margin: 0 auto 18px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--wf-secondary); }
.profile-card h3 { margin-bottom: 4px; color: var(--wf-primary); }
.profile-card > span { display: block; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wf-muted); margin-bottom: 14px; }
.profile-bio { color: var(--wf-muted); }

/* ---------- form ---------- */

.form-section { overflow: hidden; }
.form-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.wf-form-copy > div { color: color-mix(in srgb, var(--wf-on-primary) 84%, transparent); font-weight: 300; font-size: 1.1rem; }
.wf-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  background: #fff;
  color: var(--wf-text);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}
.wf-contact-form label { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 500; }
.wf-contact-form label.is-wide, .wf-contact-form .full, .wf-form-consent, .wf-contact-form button, .wf-form-turnstile { grid-column: 1 / -1; }
.wf-contact-form .req { color: color-mix(in srgb, var(--wf-accent) 60%, var(--wf-primary)); }
.wf-contact-form input, .wf-contact-form textarea {
  width: 100%;
  font: inherit; font-weight: 400; font-size: 1rem;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1.5px solid var(--wf-border);
  background: var(--wf-light);
  color: var(--wf-text);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.wf-contact-form textarea { resize: vertical; min-height: 130px; }
.wf-contact-form input:focus, .wf-contact-form textarea:focus { outline: none; border-color: var(--wf-secondary); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--wf-secondary) 30%, transparent); }
.wf-contact-form [aria-invalid='true'] { border-color: #c2185b; }
.wf-form-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.wf-form-consent { font-size: 0.82rem; color: var(--wf-muted); margin: 0; }
.wf-contact-form button { background: var(--wf-primary); color: var(--wf-on-primary); min-height: 54px; font-size: 1rem; }
.wf-contact-form button:hover { box-shadow: var(--shadow); }
.wf-contact-form button[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.form-status:empty { display: none; }
.form-status { margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--wf-light); font-size: 0.95rem; }
.form-status.is-sent { background: color-mix(in srgb, var(--wf-secondary) 25%, #fff); }
.form-status.is-error { background: #fde7ef; color: #8a1240; }
@media (max-width: 860px) {
  .form-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .wf-contact-form { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- contact band ---------- */

.contact-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 104px);
  background-color: var(--wf-dark);
  background-image: var(--glow);
  color: var(--wf-on-dark);
  isolation: isolate;
}
.contact-band::after {
  content: '';
  position: absolute; right: -60px; bottom: -80px; z-index: -1;
  width: 320px; height: 320px;
  background: var(--shine);
  opacity: 0.12;
  transform: rotate(45deg);
  border-radius: 40px;
}
.contact-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.contact-band-inner .demo-site-section-copy { max-width: 640px; }
.contact-band-inner .demo-site-section-copy p { color: color-mix(in srgb, var(--wf-on-dark) 82%, transparent); font-size: 1.12rem; font-weight: 300; }
.contact-band-image { width: 100%; max-height: 360px; object-fit: cover; border-radius: var(--radius); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--wf-dark);
  color: color-mix(in srgb, var(--wf-on-dark) 82%, transparent);
  font-size: 0.95rem;
  border-top: 1px solid color-mix(in srgb, var(--wf-secondary) 14%, transparent);
}
.site-footer.is-light { background: var(--wf-light); color: var(--wf-text); border-top-color: var(--wf-border); }
.footer-inner {
  max-width: calc(var(--contained) + var(--gutter) * 2);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 72px) var(--gutter) 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
}
.layout-simple .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.wf-editor-site-footer-brand img { height: 56px; width: auto; margin-bottom: 16px; }
.site-footer.is-light .wf-editor-site-footer-brand img { filter: brightness(0.55) saturate(1.4); }
.wf-editor-site-footer-brand .footer-brand, .wf-editor-site-footer-brand strong { font-family: var(--font-display); font-size: 1.8rem; font-style: italic; color: var(--wf-secondary); display: block; margin-bottom: 12px; }
.wf-editor-site-footer-brand p { max-width: 42ch; }
.footer-nav, .wf-editor-site-footer-contact, .wf-editor-site-footer-socials { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.site-footer a { text-decoration: none; transition: color 0.2s ease; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--wf-secondary); }
.site-footer.is-light a:hover { color: var(--wf-primary); }
.wf-editor-site-footer-socials { flex-direction: row; flex-wrap: wrap; grid-column: 1 / -1; }
.wf-editor-site-footer-socials > * { padding: 6px 14px; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.footer-legal {
  max-width: calc(var(--contained) + var(--gutter) * 2);
  margin-inline: auto;
  padding: 18px var(--gutter);
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-size: 0.85rem;
  border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}
.wf-webfreezee-credit {
  display: flex; justify-content: center;
  padding: 12px var(--gutter) 18px;
  font-size: 0.75rem;
}
.wf-webfreezee-credit a {
  display: inline-flex; align-items: center; gap: 7px;
  color: color-mix(in srgb, currentColor 70%, transparent);
  text-decoration: none;
  opacity: 0.8;
}
.wf-webfreezee-credit a:hover { opacity: 1; color: var(--wf-secondary); }
.wf-webfreezee-credit img { width: 16px; height: 16px; border-radius: 4px; }
.wf-editor-site-footer .wf-webfreezee-credit img[src*='webfreezee-logo'] { width: auto; height: 16px; border-radius: 0; }
@media (max-width: 820px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .wf-editor-site-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Beauty layer: sparkle, shimmer and motion
   Decorative only. Everything here degrades to the static design above, and
   reveal states only apply when html.wf-animate is set (JS on, motion allowed).
   ========================================================================== */

::selection { background: color-mix(in srgb, var(--wf-secondary) 55%, transparent); color: var(--wf-primary); }

@keyframes wf-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.2) rotate(0deg); }
  45%, 55% { opacity: var(--o, 0.9); transform: scale(1) rotate(45deg); }
}
@keyframes wf-float {
  0%, 100% { transform: translateY(0) rotate(-0.6deg); }
  50% { transform: translateY(-14px) rotate(0.6deg); }
}
@keyframes wf-glow-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50% { opacity: 0.95; transform: scale(1.04); }
}
@keyframes wf-iridescent {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
@keyframes wf-sheen {
  0% { transform: translateX(-120%) skewX(-20deg); }
  100% { transform: translateX(220%) skewX(-20deg); }
}
@keyframes wf-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes wf-trail {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
  100% { opacity: 0; transform: translate(-50%, calc(-50% + 26px)) scale(0.2) rotate(90deg); }
}

/* sparkles (injected by site.js into dark and lilac sections) */
.sparkle-field { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.sparkle {
  position: absolute;
  width: var(--s, 10px); height: var(--s, 10px);
  background: radial-gradient(circle, #fff 0 18%, var(--wf-secondary) 60%);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  opacity: 0;
  animation: wf-twinkle var(--d, 4s) ease-in-out var(--delay, 0s) infinite;
  filter: drop-shadow(0 0 4px color-mix(in srgb, var(--wf-secondary) 80%, transparent));
}
.sparkle.is-rose { background: radial-gradient(circle, #fff 0 18%, var(--wf-accent) 60%); }
.sparkle-field:not(.is-live) .sparkle { animation-play-state: paused; }
.cta-section .sparkle { background: radial-gradient(circle, #fff 0 25%, #fff 60%); filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.9)); }
.hero > .hero-inner, .contact-band > .section-inner, .cta-section > .section-inner,
.wf-builder-section.bg-primary > .section-inner, .wf-builder-section.bg-dark > .section-inner { position: relative; z-index: 1; }

.sparkle-trail {
  position: fixed; z-index: 60; pointer-events: none;
  width: 12px; height: 12px;
  background: radial-gradient(circle, #fff 0 18%, var(--wf-secondary) 60%);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: wf-trail 0.9s ease-out forwards;
}

/* header: glass on scroll */
.site-header { transition: background-color 0.3s ease, box-shadow 0.3s ease; }
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--wf-primary) 84%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.7);
}
.site-header.is-light.is-scrolled { background: color-mix(in srgb, #fff 86%, transparent); }
.header-inner, .brand img { transition: min-height 0.3s ease, height 0.3s ease, padding 0.3s ease; }
.site-header.is-scrolled .header-inner { min-height: 64px; padding-block: 6px; }
.site-header.is-scrolled .brand img { height: 40px; }
.primary-nav > a { position: relative; }
@media (min-width: 1025px) {
  .primary-nav > a::after {
    content: '';
    position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px;
    background: var(--shine);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }
  .primary-nav > a:hover::after, .primary-nav > a.is-active::after { transform: scaleX(1); }
  .primary-nav > a:hover { background: transparent; }
}

/* iridescent buttons with a sheen sweep */
.button-light, .wf-editor-site-header-cta, .wf-editor-site-mobile-cta, .mobile-book-bar-book {
  background-image: linear-gradient(115deg, var(--wf-secondary) 0%, var(--wf-accent) 35%, #a9c9f2 65%, var(--wf-secondary) 100%);
  background-size: 250% 100%;
  animation: wf-iridescent 7s ease-in-out infinite alternate;
}
.button, .demo-site-cta, .wf-editor-site-header-cta, .wf-contact-form button { position: relative; overflow: hidden; isolation: isolate; }
.button::after, .demo-site-cta::after, .wf-editor-site-header-cta::after, .wf-contact-form button::after {
  content: '';
  position: absolute; top: 0; bottom: 0; left: 0; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-120%) skewX(-20deg);
  pointer-events: none;
  z-index: -1;
}
.button:hover::after, .demo-site-cta:hover::after, .wf-editor-site-header-cta:hover::after, .wf-contact-form button:hover::after { animation: wf-sheen 0.9s ease; }
.button-text::after { display: none; }

/* hero */
.hero h1 {
  background: linear-gradient(100deg, #fff 0%, #fff 45%, var(--wf-secondary) 75%, var(--wf-accent) 100%);
  background-size: 200% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--shine);
  opacity: 0.55;
}
.hero.has-media .wf-hero-media-frame { animation: wf-float 7s ease-in-out infinite; }
.wf-hero-media-frame::before { animation: wf-glow-pulse 6s ease-in-out infinite; }
.hero:not(.has-media) .hero-inner { padding-block: clamp(56px, 7vw, 96px); }
.hero:not(.has-media)::after { opacity: 0.35; }

/* ornament under centred section headings */
.content-section .block-heading.align-center::after,
.cta-section h2::after {
  content: '';
  display: block;
  width: 150px; height: 16px;
  margin: 16px auto 0;
  background: var(--shine);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 16'%3E%3Cpath d='M0 8h58' stroke='%23000' stroke-width='1.5'/%3E%3Cpath d='M92 8h58' stroke='%23000' stroke-width='1.5'/%3E%3Cpath d='M75 0l2.6 5.4L83 8l-5.4 2.6L75 16l-2.6-5.4L67 8l5.4-2.6z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 16'%3E%3Cpath d='M0 8h58' stroke='%23000' stroke-width='1.5'/%3E%3Cpath d='M92 8h58' stroke='%23000' stroke-width='1.5'/%3E%3Cpath d='M75 0l2.6 5.4L83 8l-5.4 2.6L75 16l-2.6-5.4L67 8l5.4-2.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cta-section h2::after { background: var(--wf-primary); }

/* soft lilac light sections */
.wf-builder-section.bg-light {
  background-image:
    radial-gradient(40% 60% at 0% 0%, color-mix(in srgb, var(--wf-secondary) 16%, transparent), transparent 70%),
    radial-gradient(35% 50% at 100% 100%, color-mix(in srgb, var(--wf-accent) 12%, transparent), transparent 70%);
}

/* quote: shimmering lettering */
.bg-primary .quote-card p, .bg-dark .quote-card p {
  background: linear-gradient(100deg, var(--wf-secondary), #fff 30%, var(--wf-accent) 60%, var(--wf-secondary));
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: wf-iridescent 9s ease-in-out infinite alternate;
}

/* cards */
.feature-card::after {
  content: '';
  position: absolute; top: 18px; right: 18px;
  width: 18px; height: 18px;
  background: var(--shine);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  opacity: 0.35;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.5s ease;
}
.feature-card:hover::after { opacity: 1; transform: scale(1.15) rotate(90deg); }

/* gallery */
.wf-image-block { position: relative; }
.wf-image-block .wf-image { transition: transform 0.6s ease, box-shadow 0.4s ease; }
.gallery-section .wf-image-block { overflow: visible; }
.gallery-section .wf-image-block:hover .wf-image { transform: translateY(-6px); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--wf-primary) 70%, transparent); }
.gallery-section figcaption {
  display: table;
  margin: 14px auto 0;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--wf-light);
  border: 1px solid var(--wf-border);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--wf-muted);
}

/* story frame drifts gently */
.story-media::before { transition: transform 0.6s ease; }
.story-section:hover .story-media::before { transform: translate(6px, -6px); }

/* FAQ open */
.faq-item[open] > div { animation: wf-rise 0.35s ease both; }

/* mobile call / book bar */
.mobile-book-bar { display: none; }
@media (max-width: 760px) {
  .mobile-book-bar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--wf-primary) 88%, transparent);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border: 1px solid color-mix(in srgb, var(--wf-secondary) 25%, transparent);
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.7);
    transform: translateY(140%);
    transition: transform 0.35s ease;
  }
  .mobile-book-bar.is-visible { transform: none; }
  .mobile-book-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; border-radius: 999px;
    font-weight: 500; font-size: 0.95rem; text-decoration: none;
  }
  .mobile-book-bar-call { color: var(--wf-on-primary); border: 1px solid color-mix(in srgb, var(--wf-secondary) 40%, transparent); }
  .mobile-book-bar-book { color: var(--wf-primary); }
  .site-footer { padding-bottom: 76px; }
}

/* scroll reveal (only when html.wf-animate) */
.wf-animate [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.wf-animate [data-reveal='zoom'] { transform: scale(0.94); }
.wf-animate [data-reveal].is-revealed { opacity: 1; transform: none; }
.wf-animate .hero-copy > * { animation: wf-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.wf-animate .hero-copy > :nth-child(2) { animation-delay: 0.12s; }
.wf-animate .hero-copy > :nth-child(3) { animation-delay: 0.24s; }
.wf-animate .hero-copy > :nth-child(4) { animation-delay: 0.36s; }
.wf-animate .hero-art { animation: wf-rise 1.2s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

/* ---------- decorative layer for pages with few photos ---------- */

/* framed hero photos (portrait) */
.hero.has-media .demo-site-hero-image[data-crop^='cover'] {
  aspect-ratio: 4 / 5;
  max-height: 620px;
  width: auto;
  margin-inline: auto;
  border-radius: 200px 200px var(--radius) var(--radius);
  border: 1px solid color-mix(in srgb, var(--wf-secondary) 45%, transparent);
}
.hero.has-media .wf-hero-media-frame:has(img[data-crop^='cover'])::after {
  content: '';
  position: absolute; z-index: 0;
  inset: 22px -18px -18px 22px;
  border-radius: 200px 200px calc(var(--radius) + 4px) calc(var(--radius) + 4px);
  border: 1.5px solid transparent;
  background: linear-gradient(var(--wf-primary), var(--wf-primary)) padding-box, var(--shine) border-box;
  opacity: 0.7;
  max-width: calc(620px * 0.8);
  margin-inline: auto;
}

/* text-only heroes: floating faceted crystal */
.hero:not(.has-media) .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 0.55fr); }
.hero:not(.has-media) .hero-art {
  display: block;
  position: relative;
  aspect-ratio: 2 / 3;
  max-height: 380px;
  justify-self: center;
  width: 100%;
  max-width: 250px;
}
.hero:not(.has-media) .hero-art::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #fff 0%, var(--wf-secondary) 35%, var(--wf-accent) 65%, #a9c9f2 100%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 300'%3E%3Cg stroke='%23000' stroke-width='1.2' stroke-linejoin='round'%3E%3Cpath d='M100 8 55 150 100 170z' fill-opacity='.55'/%3E%3Cpath d='M100 8 100 170 145 150z' fill-opacity='.9'/%3E%3Cpath d='M55 150 30 200 100 170z' fill-opacity='.35'/%3E%3Cpath d='M145 150 100 170 170 200z' fill-opacity='.7'/%3E%3Cpath d='M30 200 55 262 100 170z' fill-opacity='.62'/%3E%3Cpath d='M170 200 100 170 145 262z' fill-opacity='.42'/%3E%3Cpath d='M55 262 100 292 100 170z' fill-opacity='.95'/%3E%3Cpath d='M145 262 100 170 100 292z' fill-opacity='.5'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 300'%3E%3Cg stroke='%23000' stroke-width='1.2' stroke-linejoin='round'%3E%3Cpath d='M100 8 55 150 100 170z' fill-opacity='.55'/%3E%3Cpath d='M100 8 100 170 145 150z' fill-opacity='.9'/%3E%3Cpath d='M55 150 30 200 100 170z' fill-opacity='.35'/%3E%3Cpath d='M145 150 100 170 170 200z' fill-opacity='.7'/%3E%3Cpath d='M30 200 55 262 100 170z' fill-opacity='.62'/%3E%3Cpath d='M170 200 100 170 145 262z' fill-opacity='.42'/%3E%3Cpath d='M55 262 100 292 100 170z' fill-opacity='.95'/%3E%3Cpath d='M145 262 100 170 100 292z' fill-opacity='.5'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 20px 40px color-mix(in srgb, var(--wf-accent) 45%, transparent));
  animation: wf-float 8s ease-in-out infinite;
}
.hero:not(.has-media) .hero-art::after {
  content: '';
  position: absolute; inset: 10% -30% -10%;
  z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--wf-secondary) 35%, transparent), transparent);
  animation: wf-glow-pulse 6s ease-in-out infinite;
}
@media (max-width: 860px) {
  .hero:not(.has-media) .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero:not(.has-media) .hero-art { position: absolute; right: -36px; top: 18px; width: 110px; opacity: 0.32; pointer-events: none; z-index: -1; }
  .hero.has-media .demo-site-hero-image[data-crop^='cover'] { max-height: 340px; }
  .hero.has-media .wf-hero-media-frame:has(img[data-crop^='cover'])::after { display: none; }
}

/* treatment icons on cards, chosen by where the card links */
.feature-card:has(a[href$='/lip-filler']) .eyebrow::before,
.feature-card:has(a[href$='/aesthetics']) .eyebrow::before,
.feature-card:has(a[href$='/dermal-filler']) .eyebrow::before,
.feature-card:has(a[href$='/skin-facials']) .eyebrow::before,
.feature-card:has(a[href$='/brows-waxing']) .eyebrow::before {
  width: 26px; height: 26px;
  transform: none;
  border-radius: 0;
  -webkit-mask: var(--card-icon) center / contain no-repeat;
  mask: var(--card-icon) center / contain no-repeat;
  background: linear-gradient(135deg, var(--wf-primary), color-mix(in srgb, var(--wf-accent) 70%, var(--wf-primary)));
}
.feature-card:has(a[href$='/lip-filler']) { --card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12c3-4 6-6 8-4.6 1.3-.9 2.7-.9 4 0C16 6 19 8 22 12c-3 4-6.5 6-10 6S5 16 2 12z'/%3E%3Cpath d='M2 12c4 1 7 1.4 10 1.4s6-.4 10-1.4'/%3E%3C/svg%3E"); }
.feature-card:has(a[href$='/aesthetics']) { --card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 3l1.8 5.2L17 10l-5.2 1.8L10 17l-1.8-5.2L3 10l5.2-1.8z'/%3E%3Cpath d='M18.5 14l.8 2.2 2.2.8-2.2.8-.8 2.2-.8-2.2-2.2-.8 2.2-.8z'/%3E%3C/svg%3E"); }
.feature-card:has(a[href$='/dermal-filler']) { --card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 3l1.8 5.2L17 10l-5.2 1.8L10 17l-1.8-5.2L3 10l5.2-1.8z'/%3E%3Cpath d='M18.5 14l.8 2.2 2.2.8-2.2.8-.8 2.2-.8-2.2-2.2-.8 2.2-.8z'/%3E%3C/svg%3E"); }
.feature-card:has(a[href$='/skin-facials']) { --card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3c3 4 6.5 7.6 6.5 11.3a6.5 6.5 0 0 1-13 0C5.5 10.6 9 7 12 3z'/%3E%3Cpath d='M9 15.5a3 3 0 0 0 3 2.5'/%3E%3C/svg%3E"); }
.feature-card:has(a[href$='/brows-waxing']) { --card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 14c4-5 10-6.6 18-3.6'/%3E%3Cpath d='M6 11.3l-.8-1.8M9.5 9.6l-.5-2M13 8.9V6.8M16.5 9.1l.5-2'/%3E%3C/svg%3E"); }

/* "Step" cards: large soft numerals */
.grid-section .feature-card { padding-top: clamp(30px, 3.4vw, 42px); }
.grid-section .feature-card .eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: color-mix(in srgb, var(--wf-accent) 52%, var(--wf-primary));
}

/* framed photos in two-column sections */
.wf-two-column .wf-image-block { position: relative; isolation: isolate; max-width: 460px; margin-inline: auto; }
.wf-two-column .wf-image-block::before {
  content: '';
  position: absolute; z-index: -1;
  inset: -16px 16px 16px -16px;
  border-radius: calc(var(--radius) + 6px);
  background: var(--shine);
  opacity: 0.45;
  transition: transform 0.6s ease;
}
.wf-two-column:hover .wf-image-block::before { transform: translate(6px, -6px); }
.wf-two-column .wf-image-block::after {
  content: '';
  position: absolute; right: -14px; bottom: 40px;
  width: 30px; height: 30px;
  background: var(--shine);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--wf-accent) 70%, transparent));
}

/* faint sparkle-dot texture on light sections */
.wf-builder-section.bg-light::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--wf-secondary) 55%, transparent) 0 1.2px, transparent 1.6px) 0 0 / 26px 26px;
  -webkit-mask-image: linear-gradient(115deg, #000, transparent 35%, transparent 65%, #000);
  mask-image: linear-gradient(115deg, #000, transparent 35%, transparent 65%, #000);
  opacity: 0.55;
}
.wf-builder-section.bg-light > .section-inner { position: relative; }

/* ---------- price lists (rich-text lists whose items end in a bold price) ---------- */

.feature-card > div ul, .feature-card > div ol { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 0; }
.feature-card > div li { padding: 9px 0; border-bottom: 1px dashed var(--wf-border); }
.feature-card > div li:last-child { border-bottom: 0; }
.feature-card > div li:has(> strong) { display: flex; align-items: baseline; gap: 10px; color: var(--wf-text); }
.feature-card > div li:has(> strong) > span { flex: 1 1 auto; min-width: 0; }
.feature-card > div li > strong {
  margin-left: auto;
  flex: none;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--wf-primary);
  white-space: nowrap;
}
.feature-card > div p + ul { margin-top: 16px; }
.feature-card > div p strong { color: var(--wf-primary); font-weight: 600; }

/* price tiles (Stats section) */
.stats-section .stat-card { position: relative; overflow: hidden; padding-block: 34px; }
.stats-section .stat-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--shine); }
.stats-section .stat-card span { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--wf-primary); }

/* ---------- reviews (quotes inside a grid) ---------- */

.grid > .quote-card, .grid > * > .quote-card {
  height: 100%;
  display: flex; flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
  padding-top: clamp(44px, 4.5vw, 56px);
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--wf-border);
  box-shadow: 0 14px 40px -28px color-mix(in srgb, var(--wf-primary) 60%, transparent);
  color: var(--wf-text);
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  line-height: 1.35;
}
.grid .quote-card::before { position: absolute; top: 18px; left: clamp(26px, 3vw, 38px); font-size: 4rem; }
.grid .quote-card { position: relative; }
.grid .quote-card p { flex: 1; text-wrap: pretty; }
.grid .quote-card cite { margin-top: 22px; color: var(--wf-muted); opacity: 1; font-size: 0.78rem; }
.grid .quote-card::after {
  content: '';
  position: absolute; top: 22px; right: 22px;
  width: 18px; height: 18px;
  background: var(--shine);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

/* social links in the footer */
.wf-editor-site-footer-socials > a { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wf-editor-site-shell *, .wf-editor-site-shell *::before, .wf-editor-site-shell *::after { transition: none !important; animation: none !important; }
  .sparkle-field, .sparkle-trail { display: none !important; }
}
