/* ============================================================
   HAYLO — Main Stylesheet
   PRP Restoration Clinic | Toronto
   ============================================================ */


/* ------------------------------------------------------------
   BASE
------------------------------------------------------------ */

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  color: var(--color-text-primary);
  /* background-color removed — silk canvas provides the base */
  line-height: var(--leading-normal);
}

em {
  font-style: italic;
}


/* ------------------------------------------------------------
   LAYOUT UTILITIES
------------------------------------------------------------ */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-12);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-16);
  }
}


/* ------------------------------------------------------------
   TYPOGRAPHY
------------------------------------------------------------ */

h1, h2 {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  line-height: var(--leading-tight);
  color: var(--color-text-primary);
}

h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  line-height: var(--leading-snug);
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-accent);
  margin-bottom: var(--space-4);
}

.eyebrow--light {
  color: rgba(254, 252, 250, 0.6);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header h2 {
  font-size: var(--text-2xl);
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: var(--text-3xl);
  }
}


/* ------------------------------------------------------------
   BUTTONS
------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  transition: background var(--transition-base),
              border-color var(--transition-base),
              color var(--transition-base),
              transform var(--transition-base),
              box-shadow var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border: 1.5px solid var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn--secondary:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  transform: translateY(-1px);
}

.btn--secondary--light {
  color: var(--color-text-inverse);
  border-color: rgba(254, 252, 250, 0.5);
}

.btn--secondary--light:hover {
  background: var(--color-text-inverse);
  color: var(--color-primary);
  border-color: var(--color-text-inverse);
}

.btn--large {
  padding: var(--space-4) var(--space-12);
  font-size: var(--text-base);
}

/* ── Haylo Flip Button (hbtn) ──────────────────────────── */
.hbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-8);
  border: 1.5px solid transparent;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition-base), border-color var(--transition-base);
}

.ink-label {
  position: relative;
  display: block;
  overflow: hidden;
  height: 1.2em;
  line-height: 1.2;
}

.ink-label span {
  display: block;
  line-height: 1.2;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.ink-label span:nth-child(2) {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  text-align: center;
}

.hbtn:hover .ink-label span:nth-child(1) {
  transform: translateY(-100%);
}

.hbtn:hover .ink-label span:nth-child(2) {
  transform: translateY(-100%);
}

.hbtn--ink.hbtn--ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.hbtn--ink.hbtn--ghost .ink-label span:nth-child(2) {
  color: var(--color-primary-dark);
}

.hbtn--ink.hbtn--ghost:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text-inverse);
}

.hbtn--ink.hbtn--ghost:hover .ink-label span:nth-child(2) {
  color: var(--color-text-inverse);
}

/* Solid variant — starts filled cacao, flips to ghost on hover */
.hbtn--ink:not(.hbtn--ghost) {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
}

.hbtn--ink:not(.hbtn--ghost) .ink-label span:nth-child(2) {
  color: var(--color-text-inverse);
}

.hbtn--ink:not(.hbtn--ghost):hover {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.hbtn--ink:not(.hbtn--ghost):hover .ink-label span:nth-child(2) {
  color: var(--color-primary-dark);
}

.hbtn--lg {
  padding: var(--space-4) var(--space-12);
  font-size: var(--text-base);
}

.hero__actions .hbtn--ink {
  box-shadow: 0 4px 20px rgba(92, 58, 40, 0.40);
  transition: background var(--transition-base), border-color var(--transition-base),
              box-shadow 0.22s ease, transform 0.22s ease;
}
.hero__actions .hbtn--ink:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 36px rgba(92, 58, 40, 0.50);
}


/* ------------------------------------------------------------
   HALO DIVIDER
------------------------------------------------------------ */

.halo-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: var(--space-8);
  position: relative;
  z-index: 3;
}

.halo-divider svg {
  width: 100%;
  height: 40px;
}


/* ------------------------------------------------------------
   NAVIGATION
------------------------------------------------------------ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-overlay);
  opacity: 0;
  transform: translateY(-16px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition-base), box-shadow var(--transition-base),
              border-color var(--transition-base),
              opacity 0.55s ease, transform 0.55s ease;
}

.site-header.intro-reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Light nav — used on pages with dark video heroes (e.g. services.html) */
.site-header.nav-light:not(.scrolled) .nav__link {
  color: rgba(254, 252, 250, 1);
}
.site-header.nav-light:not(.scrolled) .nav__link:hover {
  color: #FEFCFA;
}
.site-header.nav-light:not(.scrolled) .nav__link--underline::after {
  background: var(--color-secondary-light);
}
.site-header.nav-light:not(.scrolled) .nav__logo img {
  filter: brightness(0) invert(1);
  transition: filter 0.35s ease;
}

.site-header.scrolled {
  background: rgba(247, 244, 240, 0.58);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(196, 154, 108, 0.12),
              0 4px 24px rgba(92, 58, 40, 0.06);
  border-bottom-color: rgba(196, 154, 108, 0.14);
}

.site-header.scrolled:hover {
  border-bottom-color: rgba(196, 154, 108, 0.38);
  box-shadow: 0 1px 0 rgba(196, 154, 108, 0.28),
              0 4px 24px rgba(92, 58, 40, 0.08);
}

/* Mobile: flex keeps logo left, toggle right — same as before */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 0;
}

/* Desktop: 3-column grid — left links | logo center | right links + CTA */
@media (min-width: 1024px) {
  .nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    justify-content: initial;
  }
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo img {
  height: 58px;
  width: auto;
}

@media (min-width: 1024px) {
  .nav__logo {
    justify-self: center;
  }
}

/* Shared base — hidden on mobile */
.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

/* Left column — right-aligned so links sit close to the logo */
.nav__links--left {
  justify-self: end;
  padding-right: var(--space-6);
}

/* Right column container — stretches the column; links sit near logo, CTA at far right */
.nav__right {
  display: none;
  justify-self: stretch;
  align-items: center;
  gap: var(--space-6);
}


.nav__links--right {
  padding-left: var(--space-6);
}

@media (min-width: 1024px) {
  .nav__links {
    display: flex;
  }
  .nav__right {
    display: flex;
  }
}

.nav__item {
  position: relative;
}

.nav__link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
  letter-spacing: var(--tracking-wide);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav__link:hover {
  color: var(--color-primary);
}

/* ----------------------------------------------------------
   NAV HOVER — Scale pop + underline from centre
   Mirrors the underline on the hero headline "restored."
---------------------------------------------------------- */

.nav__link--underline {
  position: relative;
  transition: color var(--transition-fast), transform 150ms ease;
}

.nav__link--underline::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--color-secondary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 200ms ease;
  pointer-events: none;
}

.nav__link--underline:hover {
  transform: scale(1.04);
}

.nav__link--underline:hover::after {
  transform: scaleX(1);
}

.nav__caret {
  font-size: 10px;
  transition: transform var(--transition-fast);
}

.nav__item--dropdown:hover .nav__caret {
  transform: rotate(180deg);
}

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: calc(100% + var(--space-4));
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-surface-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
}

.nav__item--dropdown:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown li a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  color: var(--color-text-primary);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.nav__dropdown li a:hover {
  background: var(--color-surface-warm);
  color: var(--color-primary);
}

.nav__dropdown li a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-secondary);
  flex-shrink: 0;
}

.nav__cta {
  /* Shown/hidden controlled by .nav__right parent */
  will-change: transform;
  padding: var(--space-2) var(--space-6);
  font-size: var(--text-xs);
  flex-shrink: 0;
  margin-left: auto;
  position: relative;
  overflow: hidden;
}

.nav__cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.65s ease;
  pointer-events: none;
}

.nav__cta:hover::after {
  transform: translateX(100%);
}

/* Mobile Toggle */
.nav__mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: var(--space-1);
  /* grid-column + justify-self set above in .nav block */
}

@media (min-width: 1024px) {
  .nav__mobile-toggle {
    display: none;
  }
}

.nav__mobile-toggle span {
  display: block;
  height: 1.5px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
  transform-origin: center;
}

.nav__mobile-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__mobile-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__mobile-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Nav Panel */
.nav__mobile-panel {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--color-surface-white);
  border-top: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  padding: var(--space-6);
  z-index: var(--z-overlay);
}

.nav__mobile-panel.open {
  display: block;
}

@media (min-width: 1024px) {
  .nav__mobile-panel {
    display: none !important;
  }
}

.nav__mobile-panel ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-6);
}

.nav__mobile-panel a {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.nav__mobile-panel a:hover {
  background: var(--color-surface-warm);
}

.nav__mobile-panel .btn {
  width: 100%;
}


/* ------------------------------------------------------------
   HERO
------------------------------------------------------------ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

/* Grain texture overlay — sits above photo layers */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 2;
}

/* ---- Clinic photo background -------------------------------- */

/* Layer 0 — the photo itself, blurred and scaled so blur edges stay hidden */
.hero__bg {
  position: absolute;
  inset: -8%;
  background-image: url('../assets/images/hero-background.jpg');
  background-size: cover;
  background-position: center 35%;
  filter: blur(0px); /* starts sharp; .intro-blur class adds blur */
  will-change: transform;
  transition: filter 0.9s ease;
  z-index: 0;
  /* parallax override from JS */
}

.hero__bg.intro-blur {
  filter: blur(0px);
}

/* Radial edge vignette — gradient overlay replaces backdrop-filter (no compositor cost) */
.hero__edge-blur {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 65% 70% at 50% 42%,
    transparent 50%,
    rgba(92, 58, 40, 0.07) 72%,
    rgba(92, 58, 40, 0.18) 100%
  );
  pointer-events: none;
}

/* Layer 1 — minimal edge vignette; text legibility handled by content scrim */
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 100% at 50% 50%, transparent 50%, rgba(28, 26, 24, 0.20) 100%),
    radial-gradient(ellipse 60% 30% at 50% 100%, rgba(196, 154, 108, 0.08) 0%, transparent 60%);
}

@media (max-width: 767px) {
  .hero__bg-overlay {
    background:
      radial-gradient(ellipse 90% 90% at 50% 50%, transparent 40%, rgba(28, 26, 24, 0.18) 100%),
      rgba(247, 244, 240, 0.55);
  }
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--space-20);
  padding-bottom: var(--space-16);
  position: relative;
  z-index: 3;
  min-height: calc(100vh - 72px);
}

@media (min-width: 1024px) {
  .hero__inner {
    padding-top: var(--space-24);
    padding-bottom: var(--space-20);
  }
}

/* Floating badge — animates as part of hero__content fadeUp */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-primary);
  color: var(--color-secondary);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-secondary);
  flex-shrink: 0;
}

.hero__content {
  /* opacity/transform now controlled per-child by the intro sequence */
}

.hero__headline {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: var(--weight-regular);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-neutral-900);
  margin-bottom: var(--space-6);
  /* Soft cream halo lifts letters off busy backgrounds */
  text-shadow: 0 2px 24px rgba(254, 252, 250, 0.7), 0 1px 4px rgba(254, 252, 250, 0.9);
}

.hero__headline em {
  color: var(--color-secondary);
  font-weight: var(--weight-regular);
  font-style: italic;
  position: relative;
  display: inline-block;
}

.hero__headline em::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 5%;
  right: 5%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, var(--color-secondary) 20%, var(--color-secondary) 80%, transparent 100%);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.hero__subhead {
  font-size: var(--text-md);
  color: var(--color-neutral-900);
  line-height: var(--leading-relaxed);
  max-width: 480px;
  margin-bottom: var(--space-10);
  text-shadow: 0 1px 12px rgba(254, 252, 250, 0.8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

/* Centered content modifier */
.hero__content--centered {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  /* Bias the content upward so it sits over the lighter wall, not the desk */
  margin-bottom: 13vh;
  position: relative;
  z-index: 4;
}

/* Soft cream scrim — radial spotlight behind text for legibility */
.hero__content--centered::before {
  content: '';
  position: absolute;
  inset: -60% -45%;
  background: radial-gradient(ellipse at 50% 48%,
    rgba(247, 244, 240, 0.82) 0%,
    rgba(247, 244, 240, 0.60) 30%,
    rgba(247, 244, 240, 0.22) 58%,
    transparent 75%
  );
  z-index: -1;
  pointer-events: none;
}

.hero__content--centered .hero__badge {
  margin-left: auto;
  margin-right: auto;
}

.hero__content--centered .hero__subhead {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero__content--centered .hero__actions {
  justify-content: center;
}

/* Shine sweep shared setup */
.hero__actions .btn--primary,
.hero__actions .btn--secondary {
  position: relative;
  overflow: hidden;
}

/* Shine pseudo-element — slides across on hover */
.hero__actions .btn--primary::after,
.hero__actions .btn--secondary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.65s ease;
  pointer-events: none;
}

.hero__actions .btn--primary:hover::after,
.hero__actions .btn--secondary:hover::after {
  transform: translateX(100%);
}

/* Primary button in hero — elevated shadow + lift on hover */
.hero__actions .btn--primary {
  box-shadow: 0 4px 20px rgba(92, 58, 40, 0.40);
  transition: transform 0.22s ease, box-shadow 0.22s ease,
              background var(--transition-base), border-color var(--transition-base);
}

.hero__actions .btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 36px rgba(92, 58, 40, 0.50);
}

.hero__actions .btn--primary:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 2px 10px rgba(92, 58, 40, 0.30);
}

/* Secondary button in hero — solid cream fill so it's always legible */
.hero__actions .btn--secondary {
  background: rgba(254, 252, 250, 0.95);
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  transition: transform 0.22s ease, box-shadow 0.22s ease,
              background var(--transition-base), color var(--transition-base),
              border-color var(--transition-base);
}

.hero__actions .btn--secondary:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 32px rgba(92, 58, 40, 0.42);
}

.hero__actions .btn--secondary:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 2px 10px rgba(92, 58, 40, 0.25);
}

/* ---- Orbital halo rings — centered over hero text ---- */

.hero__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  transform-origin: center center;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero__ring.intro-reveal { opacity: 1; }

/* Outermost — slow, faint frame */
.hero__ring--1 {
  width: clamp(520px, 70vw, 900px);
  height: clamp(440px, 58vw, 740px);
  border-radius: 44% 56% 50% 50% / 48% 44% 56% 52%;
  border: 2px solid rgba(196, 154, 108, 0.32);
  animation: haloRotate 32s linear infinite;
}

/* Mid ring — medium speed, slightly stronger */
.hero__ring--2 {
  width: clamp(380px, 52vw, 660px);
  height: clamp(320px, 44vw, 540px);
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  border: 2.5px solid rgba(196, 154, 108, 0.42);
  animation: haloRotate 20s linear infinite reverse;
}

/* Innermost — fastest, frames the text block */
.hero__ring--3 {
  width: clamp(260px, 36vw, 460px);
  height: clamp(220px, 30vw, 380px);
  border-radius: 52% 48% 42% 58% / 50% 52% 48% 50%;
  border: 2px solid rgba(196, 154, 108, 0.30);
  box-shadow: 0 0 24px rgba(196, 154, 108, 0.06), inset 0 0 24px rgba(196, 154, 108, 0.04);
  animation: haloRotate 13s linear infinite;
}


/* ------------------------------------------------------------
   STATS BAR
------------------------------------------------------------ */

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.stats-bar {
  background: var(--color-primary);
  padding: var(--space-5) 0;
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow */
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 120% at 50% 50%, rgba(196, 154, 108, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.stats-bar__track {
  overflow: hidden;
  position: relative;
}

.stats-bar__ticker {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}

.stats-bar__ticker:hover {
  animation-play-state: paused;
}

.stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
  padding: 0 clamp(2rem, 5vw, 4rem);
  cursor: default;
  position: relative;
}

/* Bullet separator */
.stats-bar__item::after {
  content: '·';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(196, 154, 108, 0.35);
  font-size: 1.5rem;
  line-height: 1;
}

.stats-bar__number {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: var(--weight-semibold);
  color: var(--color-secondary);
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow:
    0 0 12px rgba(196, 154, 108, 0.55),
    0 0 28px rgba(196, 154, 108, 0.25);
  transition: text-shadow 200ms ease;
}

.stats-bar__item:hover .stats-bar__number {
  text-shadow:
    0 0 20px rgba(196, 154, 108, 1),
    0 0 45px rgba(196, 154, 108, 0.65),
    0 0 80px rgba(196, 154, 108, 0.3);
}

.stats-bar__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-regular);
  color: rgba(254, 252, 250, 0.55);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
  .stats-bar__ticker {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
}


/* ------------------------------------------------------------
   SERVICES PREVIEW
------------------------------------------------------------ */

.services-preview {
  padding: var(--space-20) 0;
  /* background removed — silk canvas shows through */
}

@media (min-width: 1024px) {
  .services-preview {
    padding: var(--space-24) 0;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Keyframes for card micro-interactions */
@keyframes icon-pulse {
  0%, 100% { box-shadow: 0 0 0px rgba(196, 154, 108, 0); }
  50%       { box-shadow: 0 0 18px rgba(196, 154, 108, 0.45); }
}

@keyframes icon-wiggle {
  0%, 100% { transform: rotate(0deg); }
  25%       { transform: rotate(6deg); }
  75%       { transform: rotate(-6deg); }
}

@keyframes badge-nudge {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(3px); }
}

@keyframes arrow-bounce {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(5px); }
}

.service-card {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: var(--space-8);
  box-shadow: 0 4px 24px rgba(92, 58, 40, 0.07);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform 140ms cubic-bezier(0.34, 1.8, 0.64, 1),
              box-shadow 140ms ease,
              border-color 120ms ease;
  opacity: 0;
  transform: translateY(20px);
  will-change: transform, opacity;
  position: relative;
  overflow: hidden;
}

/* Internal warm glow overlay — fades in on hover */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196, 154, 108, 0.38) 0%, rgba(255, 255, 255, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 24px;
}

.service-card.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease,
              box-shadow 140ms ease,
              border-color 120ms ease;
}

.service-card.in-view:nth-child(1) { transition-delay: 0s; }
.service-card.in-view:nth-child(2) { transition-delay: 0.1s; }
.service-card.in-view:nth-child(3) { transition-delay: 0.2s; }

.service-card:hover {
  transform: translateY(-20px) scale(1.05);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.18),
              0 0 0 2px rgba(196, 154, 108, 0.85);
}

.service-card:hover::after {
  opacity: 1;
}

/* Icon — pulses with gold glow on hover */
.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(242, 232, 220, 0.8);
  border: 1px solid rgba(196, 154, 108, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
  flex-shrink: 0;
  transition: box-shadow 0.3s ease;
}

.service-card:hover .service-card__icon {
  animation: icon-pulse 2s ease-in-out infinite;
}

.service-card:hover .service-card__icon svg {
  animation: icon-wiggle 1.5s ease-in-out infinite;
}

.service-card__chip {
  display: inline-flex;
  align-items: center;
  background: var(--color-primary);
  color: var(--color-secondary);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  padding: 3px var(--space-3);
  border-radius: var(--radius-full);
  align-self: flex-start;
}

.service-card__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-accent);
}

.service-card:hover .service-card__label {
  animation: badge-nudge 1s ease-in-out infinite;
}

.service-card h3 {
  font-size: var(--text-lg);
  color: var(--color-primary);
  line-height: var(--leading-snug);
}

.service-card p {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  flex: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  letter-spacing: var(--tracking-wide);
  margin-top: var(--space-2);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.service-card__link:hover {
  transform: translateX(6px);
  color: var(--color-primary);
}

.service-card:hover .service-card__link {
  color: var(--color-primary);
}

.service-card__arrow {
  display: inline-block;
}

.service-card:hover .service-card__arrow {
  animation: arrow-bounce 1s ease-in-out infinite;
}



/* ------------------------------------------------------------
   WHY HAYLO
------------------------------------------------------------ */

.why-haylo {
  padding: 0;
  background: var(--color-primary);
  position: relative;
}

@media (min-width: 1024px) {
  .why-haylo {
    padding: var(--space-24) 0;
  }
}

/* Radial glow on dark panel */
.why-haylo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(196, 154, 108, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Grain texture on dark panel */
.why-haylo::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
}

.why-haylo__scroll {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-8);
  gap: var(--space-16);
  align-items: start;
}

@media (min-width: 900px) {
  .why-haylo__scroll {
    grid-template-columns: 5fr 7fr;
  }
}

.why-haylo__sticky {
  position: sticky;
  top: 35vh;
  z-index: 5;
}

.why-haylo__arc {
  width: 100px;
  margin: var(--space-3) 0;
  opacity: 0.7;
}

.why-haylo__arc svg {
  width: 100%;
  height: auto;
}

.why-haylo__sticky h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--color-text-inverse);
  line-height: 1.2;
  margin-top: var(--space-2);
}

.why-haylo__cards {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10vh;
  padding-top: 35vh;
  padding-bottom: 45vh;
}

/* Thread line — runs the full height, fades to nothing at each end */
.why-haylo__cards::before {
  content: '';
  position: absolute;
  left: -48px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(196, 154, 108, 0.22) 14%,
    rgba(196, 154, 108, 0.22) 86%,
    transparent 100%
  );
  pointer-events: none;
}

@media (max-width: 899px) {
  .why-haylo__cards::before {
    display: none;
  }
}

.haylo-scroll-card {
  position: relative;
}

.haylo-card {
  position: relative;
  z-index: 1;
  background-color: var(--color-surface-white);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-10);
  color: var(--color-text-primary);
  transform: scale(0.95) translateY(20px);
  opacity: 0.3;
  will-change: transform, opacity;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1),
              opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Shadow on a pseudo-element so only opacity animates — no paint per frame */
.haylo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
  z-index: -1;
}

.haylo-scroll-card.active .haylo-card {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.haylo-scroll-card.active .haylo-card::after {
  opacity: 1;
}

/* ---- Progress thread nodes ---------------------------------------- */

.step-node {
  position: absolute;
  left: -48px;              /* same x as the thread line */
  top: 50%;
  transform: translate(-50%, -50%); /* center the node ON the line */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.step-node__num {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: var(--weight-medium);
  letter-spacing: 2px;
  color: rgba(196, 154, 108, 0.30);
  line-height: 1;
  transition: color 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.step-node__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(196, 154, 108, 0.28);
  transition:
    background     0.5s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow     0.5s cubic-bezier(0.25, 1, 0.5, 1),
    transform      0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.haylo-scroll-card.active .step-node__num {
  color: var(--color-secondary);
}

.haylo-scroll-card.active .step-node__dot {
  background: var(--color-secondary);
  transform: scale(1.6);
  box-shadow:
    0 0 0 3px rgba(196, 154, 108, 0.12),
    0 0 10px rgba(196, 154, 108, 0.45);
}

@media (max-width: 899px) {
  .step-node {
    display: none;
  }
}

/* ---- Ghost numbers — ambient texture only ------------------------- */

.ghost-num {
  display: none;
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(calc(-50% + var(--ghost-parallax-y, 0px)));
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(88px, 11vw, 136px);
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 225, 185, 0.06);
  -webkit-text-stroke: 0.5px rgba(255, 225, 185, 0.10);
  opacity: 0;
  pointer-events: none;
  user-select: none;
  will-change: transform, opacity;
  transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 0;
}

.haylo-scroll-card.active .ghost-num {
  opacity: 1;
}

@media (max-width: 899px) {
  .ghost-num {
    display: none;
  }
}

.card-number {
  display: none;
}

.card-title {
  font-family: var(--font-body);
  font-size: var(--text-md);
  margin: 0 0 var(--space-4) 0;
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
  text-align: center;
}

.card-intro {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
  margin: 0;
  text-align: center;
}

.card-payload {
  opacity: 0;
  pointer-events: none;
  margin-top: var(--space-10);
  text-align: center;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.haylo-scroll-card.active .card-payload {
  opacity: 1;
  pointer-events: auto;
}

.book-btn {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-4) var(--space-10);
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: var(--weight-medium);
  font-size: var(--text-base);
  transition: background-color var(--transition-base), transform var(--transition-fast);
}

.book-btn:hover {
  background-color: var(--color-secondary);
  transform: translateY(-2px);
}


/* ------------------------------------------------------------
   TESTIMONIALS
------------------------------------------------------------ */

.testimonials {
  padding: var(--space-20) 0;
}

@media (min-width: 1024px) {
  .testimonials {
    padding: var(--space-24) 0;
  }
}

.testimonials > .container {
  text-align: center;
  margin-bottom: var(--space-12);
}

.testimonials > .container > .eyebrow,
.testimonials > .container > h2 {
  text-align: center;
}

.testimonials > .container > h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-3);
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .testimonials > .container > h2 {
    font-size: var(--text-3xl);
  }
}

/* Scrolling columns container */
.testimonials-columns {
  display: flex;
  gap: var(--space-8);
  padding: 0 var(--space-10);
  overflow: hidden;
  max-height: 720px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

.testimonials-col-wrap {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.testimonials-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  animation: testimonials-scroll-up var(--duration, 24s) linear infinite;
  will-change: transform;
}

@keyframes testimonials-scroll-up {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

/* Card */
.testimonial-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 20px;
  padding: var(--space-8);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  quotes: none;
}

.testimonial__stars {
  font-size: var(--text-base);
  color: var(--color-secondary);
  letter-spacing: 3px;
  line-height: 1;
  margin: 0;
  flex-shrink: 0;
}

.testimonial__text {
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  line-height: var(--leading-relaxed);
  margin: 0;
  flex: 1;
}

.testimonial__footer {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-1);
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-surface-warm);
  border: 1.5px solid var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--color-primary);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.testimonial__meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.testimonial__name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  line-height: 1.2;
}

.testimonial__role {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  opacity: 0.7;
  line-height: 1.2;
}

/* Mobile: single static column */
@media (max-width: 767px) {
  .testimonials-columns {
    flex-direction: column;
    max-height: none;
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
    padding: 0 var(--space-4);
  }

  .testimonials-col-wrap:nth-child(2),
  .testimonials-col-wrap:nth-child(3) {
    display: none;
  }

  .testimonials-col {
    animation: none;
  }

  .testimonials-col .testimonial-card:nth-child(n+4) {
    display: none;
  }
}


/* ------------------------------------------------------------
   FINAL CTA
------------------------------------------------------------ */

.cta-final {
  padding: var(--space-20) 0;
  /* background removed — silk canvas shows through */
}

.cta-final .eyebrow {
  color: var(--color-primary-dark);
  font-weight: 700;
}

@media (min-width: 1024px) {
  .cta-final {
    padding: var(--space-24) 0;
  }
}

.cta-final__inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.cta-final__inner h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--color-primary);
  line-height: 1.15;
}

.cta-final__inner p {
  font-size: var(--text-md);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}


/* ── WHY TABS ─────────────────────────────────────────────── */
.why-tabs {
  display: flex;
  gap: var(--space-8);
  justify-content: center;
  margin-top: var(--space-8);
}

.why-tab {
  background: none;
  border: none;
  border-bottom: 1.5px solid transparent;
  padding: var(--space-2) 0;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 232, 220, 0.4);
  cursor: pointer;
  transition: color 0.22s ease, border-color 0.22s ease;
}

.why-tab--active {
  color: var(--color-secondary);
  border-bottom-color: var(--color-secondary);
  font-weight: 500;
  text-shadow: 0 0 16px rgba(196, 154, 108, 0.55);
}

.why-tab:hover:not(.why-tab--active) {
  color: rgba(242, 232, 220, 0.7);
}

/* ── WHY PANELS ───────────────────────────────────────────── */
.why-panel {
  opacity: 1;
  transition: opacity 0.25s ease;
}

.why-panel[hidden] {
  display: none;
}

/* ── FOUNDER PANEL ────────────────────────────────────────── */
.founder-panel {
  position: relative;
  max-width: 760px;
  min-height: 480px;
  margin: 0 auto;
  padding: var(--space-12) var(--space-6) var(--space-16);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}

/* Constellation SVG — sits behind text, draws in on tab open */
.founder-panel__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.founder-const-line {
  fill: none;
  stroke: var(--color-secondary);
  stroke-width: 1;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  opacity: 0;
}

@keyframes constDraw {
  0%   { stroke-dashoffset: 1200; opacity: 0; }
  15%  { opacity: 0.45; }
  100% { stroke-dashoffset: 0;    opacity: 0.45; }
}

.founder-panel.is-animating .founder-const-line {
  animation: constDraw 2.8s ease forwards;
}

/* Quote + body sit above SVG */
.founder-panel__quote,
.founder-panel__body {
  position: relative;
  z-index: 1;
}

.founder-panel__quote {
  margin: 0;
}

/* Word spans — JS splits the quote into these */
.why-word {
  display: inline-block;
  opacity: 0;
}

@keyframes wordDrop {
  0%   { opacity: 0; transform: scale(1.6) translateY(-8px); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: scale(1)   translateY(0); }
}

@keyframes founderBodyIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.founder-panel.is-animating .why-word {
  animation: wordDrop 0.65s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  animation-delay: calc(var(--wi) * 0.055s);
}

.founder-panel__quote p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  font-weight: 400;
  font-style: italic;
  color: var(--color-text-inverse);
  line-height: 1.5;
}

.founder-panel__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  opacity: 0;
}

.founder-panel.is-animating .founder-panel__body {
  animation: founderBodyIn 0.55s ease both;
  animation-delay: 1.5s;
}

.founder-panel__body p {
  font-size: var(--text-md);
  color: rgba(242, 232, 220, 0.72);
  line-height: var(--leading-relaxed);
  max-width: 520px;
}

.founder-panel__cite {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-style: normal;
  letter-spacing: 0.08em;
  color: var(--color-secondary);
  font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  .why-word { opacity: 1; animation: none !important; }
  .founder-panel__body { opacity: 1; animation: none !important; }
  .founder-const-line { transition: opacity 0.4s ease; }
}


/* ------------------------------------------------------------
   FOOTER
------------------------------------------------------------ */

.site-footer {
  background: var(--color-primary-dark);
  padding: var(--space-16) 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer ::selection {
  background: rgba(196, 154, 108, 0.45);
  color: #FEFCFA;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(3, auto);
    gap: var(--space-16);
    justify-content: center;
  }
}

.footer__logo {
  height: 64px;
  width: auto;
  margin-bottom: var(--space-4);
}

.footer__brand p {
  font-size: var(--text-sm);
  color: rgba(254, 252, 250, 0.5);
  line-height: var(--leading-relaxed);
  max-width: 240px;
}

.footer__links h4,
.footer__contact h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--space-4);
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__links ul a {
  font-size: var(--text-sm);
  color: rgba(254, 252, 250, 0.65);
  transition: color var(--transition-fast);
}

.footer__links ul a:hover {
  color: var(--color-text-inverse);
}

.footer__contact address {
  font-size: var(--text-sm);
  color: rgba(254, 252, 250, 0.65);
  line-height: var(--leading-relaxed);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__contact address a {
  transition: color var(--transition-fast);
}

.footer__contact address a:hover {
  color: var(--color-secondary);
}

.footer__hours {
  margin-top: var(--space-4);
}

.footer__hours p {
  font-size: var(--text-sm);
  color: rgba(254, 252, 250, 0.5);
  line-height: var(--leading-relaxed);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(254, 252, 250, 0.1);
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer__bottom p {
  font-size: var(--text-xs);
  color: rgba(254, 252, 250, 0.35);
  letter-spacing: var(--tracking-wide);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.footer__legal a {
  font-size: var(--text-xs);
  color: rgba(254, 252, 250, 0.85);
  letter-spacing: var(--tracking-wide);
  transition: color var(--transition-fast);
}

.footer__legal a:hover {
  color: var(--color-secondary);
}

/* HAYLO logo — large cursor-reveal background in footer */
.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer__haylo-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72%;
  max-width: 820px;
  z-index: 0;
  pointer-events: none;
}

.footer__haylo-svg {
  display: block;
  width: 100%;
  height: auto;
}


/* ------------------------------------------------------------
   HERO INTRO SEQUENCE
   JS adds classes to trigger each transition below.
   prefers-reduced-motion: JS skips delays and reveals all at once.
------------------------------------------------------------ */

/* Gold/amber glow — radial bloom from top of hero.
   Note: no y-translate animation — hero has overflow:hidden which would
   clip the bright centre if the element started above the boundary.
   Fade-in only; the luminous burst reads as the cascade effect. */
.hero__glow {
  position: absolute;
  top: -5%;          /* bleed slightly above so the hot centre sits at the nav */
  left: 50%;
  transform: translateX(-50%);
  width: 160%;
  height: 90%;
  background: radial-gradient(ellipse 70% 55% at 50% 8%,
    rgba(255, 220, 150, 0.72)  0%,   /* bright warm-gold centre */
    rgba(212, 168, 100, 0.48)  22%,
    rgba(196, 154, 108, 0.22)  48%,
    rgba(196, 154, 108, 0.06)  68%,
    transparent                 82%
  );
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero__glow.intro-reveal {
  opacity: 1;
}

/* Overlay — starts transparent, fades in with the glow */
.hero__bg-overlay {
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero__bg-overlay.intro-reveal {
  opacity: 1;
}

/* Badge + eyebrow */
.hero__badge,
.hero .eyebrow {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero__badge.intro-reveal,
.hero .eyebrow.intro-reveal {
  opacity: 1;
  transform: translateY(0);
}

.hero .eyebrow {
  color: rgba(254, 252, 250, 0.8);
}

/* Headline word spans — stagger via CSS custom property --i */
.hero__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: calc(var(--i, 0) * 170ms);
}

.hero__headline.words-reveal .hero__word {
  opacity: 1;
  transform: translateY(0);
}

/* em underline — revealed after headline completes */
.hero__headline.underline-reveal em::after {
  opacity: 1;
}

/* Subhead */
.hero__subhead {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero__subhead.intro-reveal {
  opacity: 1;
  transform: translateY(0);
}

/* CTA actions */
.hero__actions {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero__actions.intro-reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Image frame */
.hero__visual {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.hero__visual.intro-reveal {
  opacity: 1;
  transform: translateY(0);
}

/* .hero__stat-card removed */


/* ============================================================
   RADIAL MENU — Fixed floating nav hub
============================================================ */

.rm {
  position: fixed;
  bottom: 36px;
  right: 28px;
  z-index: 9000;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.82) translateY(14px);
  transform-origin: bottom right;
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rm.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Ambient bloom — warm glow behind trigger, expands on open */
.rm__bloom {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 154, 108, 0.2) 0%, transparent 68%);
  pointer-events: none;
  transform: scale(1);
  opacity: 0.5;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
}

.rm.is-open .rm__bloom {
  transform: scale(6);
  opacity: 0.35;
}

/* Arc origin — zero-size anchor positioned at trigger center */
.rm__orbit {
  position: absolute;
  bottom: 38px;
  right: 38px;
  width: 0;
  height: 0;
}

/* Individual node */
.rm__node {
  position: absolute;
  width: 48px;
  height: 48px;
  top: -24px;
  left: -24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  pointer-events: auto;
  /* Close: quick ease-in, no bounce */
  transform: translate(0px, 0px) scale(0);
  opacity: 0;
  transition:
    transform 0.3s cubic-bezier(0.6, 0, 0.8, 0.3),
    opacity 0.2s ease;
  z-index: 1;
}

/* Open: spring bounce outward */
.rm.is-open .rm__node {
  transform: translate(var(--rm-x, 0px), var(--rm-y, 0px)) scale(1);
  opacity: 1;
  transition:
    transform 0.52s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.25s ease;
}

.rm__node:hover { z-index: 10; }

/* Open stagger — top node first */
.rm.is-open .rm__node:nth-child(1) { transition-delay: 0ms; }
.rm.is-open .rm__node:nth-child(2) { transition-delay: 48ms; }
.rm.is-open .rm__node:nth-child(3) { transition-delay: 96ms; }
.rm.is-open .rm__node:nth-child(4) { transition-delay: 144ms; }
.rm.is-open .rm__node:nth-child(5) { transition-delay: 192ms; }
.rm.is-open .rm__node:nth-child(6) { transition-delay: 240ms; }

/* Close stagger — bottom node first */
.rm__node:nth-child(1) { transition-delay: 240ms; }
.rm__node:nth-child(2) { transition-delay: 192ms; }
.rm__node:nth-child(3) { transition-delay: 144ms; }
.rm__node:nth-child(4) { transition-delay: 96ms; }
.rm__node:nth-child(5) { transition-delay: 48ms; }
.rm__node:nth-child(6) { transition-delay: 0ms; }

/* Node circle */
.rm__dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(43, 36, 32, 0.88);
  border: 1px solid rgba(196, 154, 108, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(196, 154, 108, 0.72);
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
  flex-shrink: 0;
}

.rm__node:hover .rm__dot {
  transform: scale(1.18);
  border-color: rgba(196, 154, 108, 0.62);
  color: #C49A6C;
  background: rgba(43, 36, 32, 0.95);
  box-shadow:
    0 4px 22px rgba(0, 0, 0, 0.38),
    0 0 0 5px rgba(196, 154, 108, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Book node — warmer gold accent */
.rm__node--book .rm__dot {
  background: rgba(196, 154, 108, 0.1);
  border-color: rgba(196, 154, 108, 0.38);
  color: #C49A6C;
}

.rm__node--book:hover .rm__dot {
  background: rgba(196, 154, 108, 0.18);
  border-color: rgba(196, 154, 108, 0.75);
  box-shadow:
    0 4px 22px rgba(0, 0, 0, 0.38),
    0 0 0 5px rgba(196, 154, 108, 0.12),
    0 0 20px rgba(196, 154, 108, 0.15);
}

/* Label — appears on hover as pill */
.rm__label {
  position: absolute;
  top: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(254, 252, 250, 0.92);
  background: rgba(43, 36, 32, 0.92);
  border: 1px solid rgba(196, 154, 108, 0.22);
  padding: 4px 8px;
  border-radius: 10px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.rm__node:hover .rm__label { opacity: 1; }

/* Bottom-most node (Book): label floats above to avoid taskbar clip */
.rm__node:nth-child(5) .rm__label {
  top: auto;
  bottom: calc(100% + 7px);
}

/* Trigger button */
.rm__trigger {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: none;
  background: #2B2420;
  cursor: pointer;
  box-shadow:
    0 6px 28px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(196, 154, 108, 0.22),
    0 0 18px rgba(196, 154, 108, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.22s ease, box-shadow 0.28s ease;
  overflow: hidden;
  flex-shrink: 0;
  z-index: 2;
  pointer-events: auto;
}

.rm__trigger:hover {
  transform: scale(1.07);
  box-shadow:
    0 8px 36px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(196, 154, 108, 0.45),
    0 0 28px rgba(196, 154, 108, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.rm__trigger:active { transform: scale(0.93); }

.rm__trigger:focus-visible {
  outline: 2px solid rgba(196, 154, 108, 0.65);
  outline-offset: 3px;
}

.rm.is-open .rm__trigger {
  box-shadow:
    0 8px 36px rgba(0, 0, 0, 0.5),
    0 0 0 1.5px rgba(196, 154, 108, 0.55),
    0 0 32px rgba(196, 154, 108, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Trigger faces — flip on open */
.rm__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: transform 0.36s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.24s ease;
}

.rm__face--a { transform: translateY(0) scale(1); opacity: 1; }
.rm__face--b { transform: translateY(10px) scale(0.75); opacity: 0; color: rgba(196, 154, 108, 0.85); }

.rm.is-open .rm__face--a { transform: translateY(-10px) scale(0.75); opacity: 0; }
.rm.is-open .rm__face--b { transform: translateY(0) scale(1); opacity: 1; }

.rm__brand {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.04em;
  color: rgba(254, 252, 250, 0.92);
  line-height: 1;
  text-shadow: 0 0 14px rgba(196, 154, 108, 0.45);
}

.rm__sub {
  font-family: var(--font-body);
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(196, 154, 108, 0.65);
  line-height: 1;
  text-shadow: 0 0 10px rgba(196, 154, 108, 0.4);
}

/* Ambient pulse rings */
.rm__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(196, 154, 108, 0.35);
  animation: rm-pulse 2.8s ease-out infinite;
  pointer-events: none;
}

.rm__pulse--2 { animation-delay: 1.4s; }

@keyframes rm-pulse {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.1); opacity: 0; }
}

.rm.is-open .rm__pulse {
  animation: none;
  opacity: 0;
}

/* Mobile: scale down gracefully */
@media (max-width: 480px) {
  .rm {
    bottom: 20px;
    right: 20px;
    width: 200px;
    height: 200px;
  }
  .rm__trigger {
    width: 66px;
    height: 66px;
  }
  .rm__orbit {
    bottom: 33px;
    right: 33px;
  }
}


/* ------------------------------------------------------------
   ANIMATIONS
------------------------------------------------------------ */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes haloRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}


@keyframes haloPulse {
  0%, 100% { opacity: 0.18; transform: scale(1); }
  50%       { opacity: 0.28; transform: scale(1.02); }
}

/* ─── HOW IT WORKS PAGE ──────────────────────────────── */

/* Full-bleed autoplay video hero */
.hiw-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hiw-hero__video-wrap {
  position: absolute;
  inset: 0;
}

.hiw-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hiw-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: var(--space-16) var(--space-10);
  background: linear-gradient(
    to top,
    rgba(30, 18, 10, 0.6) 0%,
    transparent 55%
  );
  pointer-events: none;
  z-index: 6; /* sits above .vial-annotations (z-index: 5) */
}

.hiw-hero__overlay .section-label {
  color: var(--color-primary-light);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wider, 0.12em);
  text-transform: uppercase;
  font-weight: var(--weight-regular, 400);
}

.hiw-hero__heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: var(--weight-light);
  color: var(--color-primary);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-top: var(--space-2);
}

.hiw-hero__subheading {
  font-size: var(--text-md);
  color: var(--color-primary-light);
  font-weight: var(--weight-light);
  margin-top: var(--space-3);
  letter-spacing: var(--tracking-wide);
}

/* ─── VIAL ANNOTATIONS ──────────────────────────────────── */

/* Flex column container — hidden on mobile, stacks cards on desktop */
.vial-annotations {
  display: none;
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  gap: 14px;
  width: 220px;
  pointer-events: none;
  z-index: 5;
}

@media (min-width: 768px) {
  .vial-annotations {
    display: flex;
  }
}

/* Individual annotation — sits in flex flow so expanding pushes siblings */
.vial-annot {
  position: relative;
  opacity: 0;
  transform: scale(0.85) translateY(10px);
  transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: auto;
}

/* Stagger: annotation 1 pops in first */
.vial-annot--1 { transition-delay: 0.15s; }
.vial-annot--2 { transition-delay: 0.7s;  }
.vial-annot--3 { transition-delay: 1.25s; }

/* Trigger state — parent gets .is-annotated when video ends */
.vial-annotations.is-annotated .vial-annot {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Staggered float — starts after each bubble's entrance completes */
.vial-annotations.is-annotated .vial-annot--1 {
  animation: vialFloat 3.4s ease-in-out infinite;
  animation-delay: 0.8s;
}
.vial-annotations.is-annotated .vial-annot--2 {
  animation: vialFloat 3.9s ease-in-out infinite;
  animation-delay: 1.35s;
}
.vial-annotations.is-annotated .vial-annot--3 {
  animation: vialFloat 3.6s ease-in-out infinite;
  animation-delay: 1.9s;
}

@keyframes vialFloat {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(-6px); }
}

/* ── Flip card ── */

/* Pause the float when interacting with a card */
.vial-annot:hover,
.vial-annot:focus-within {
  animation-play-state: paused;
}

.vial-annot__card {
  width: 220px;
  perspective: 900px;
  cursor: pointer;
  outline: none;
  transform-origin: right center;
  /* filter intentionally excluded — it flattens preserve-3d children */
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.vial-annot__card:hover {
  transform: scale(1.05);
  z-index: 10;
}

.vial-annot__card-inner {
  position: relative;
  width: 100%;
  height: 76px;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              height 0.35s ease;
}

/* Flip on hover (desktop) — also expands height for back content */
.vial-annot__card:hover .vial-annot__card-inner,
.vial-annot__card.is-flipped .vial-annot__card-inner {
  transform: rotateY(180deg);
  height: 155px;
}

/* Shared face styles */
.vial-annot__front,
.vial-annot__back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(196, 154, 108, 0.4);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow:
    0 6px 24px rgba(92, 58, 40, 0.16),
    0 2px 6px  rgba(92, 58, 40, 0.08);
  /* Transition shadow so depth lift animates on hover */
  transition: box-shadow 0.4s ease;
}

/* Deepen shadow when card is hovered — provides the weight/lift effect
   (cannot use filter on the card itself as it would flatten preserve-3d) */
.vial-annot__card:hover .vial-annot__front,
.vial-annot__card:hover .vial-annot__back {
  box-shadow:
    0 16px 40px rgba(92, 58, 40, 0.28),
    0 5px 12px  rgba(92, 58, 40, 0.14);
}

/* Color-coded left accent per blood layer */
.vial-annot--1 .vial-annot__front { border-left: 5px solid var(--color-secondary); }
.vial-annot--2 .vial-annot__front { border-left: 5px solid rgba(210, 195, 170, 0.85); }
.vial-annot--3 .vial-annot__front { border-left: 5px solid #8B2828; }

/* Front — warm cream frosted glass */
.vial-annot__front {
  background: rgba(254, 248, 240, 0.96); /* solid fallback for no-blur browsers */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .vial-annot__front {
    background: rgba(254, 248, 240, 0.88); /* translucent when blur is supported */
  }
}

/* Back — rich dark brown */
.vial-annot__back {
  background: rgba(52, 30, 16, 0.97); /* solid fallback */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(196, 154, 108, 0.3);
  transform: rotateY(180deg);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .vial-annot__back {
    background: rgba(52, 30, 16, 0.9);
  }
}

.vial-annot__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.vial-annot__fact {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  font-weight: 300;
  color: var(--color-primary-light);
  margin-top: 3px;
  line-height: 1.4;
}

.vial-annot__desc {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  font-weight: 300;
  color: rgba(254, 248, 240, 0.9);
  line-height: 1.55;
  margin: 0;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .vial-annot {
    transition: none;
    animation: none !important;
  }
  .vial-annotations.is-annotated .vial-annot {
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }
}

/* Cards section */
.hiw-cards-section {
  padding-top: var(--space-20);
}

/* CTA section */
.hiw-cta {
  padding: var(--space-20) 0;
}

.hiw-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-5);
}

.hiw-cta__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: var(--tracking-tight);
}

.hiw-cta__body {
  font-size: var(--text-md);
  color: var(--color-text-secondary);
  max-width: 520px;
  line-height: var(--leading-relaxed);
}

/* Tall track — controls how long the user scrolls to play the full video.
   300vh = 3 full screen heights of scrolling. */
.hiw__scroll-track {
  position: relative;
  height: 300vh;
}

/* Sticky container — pins to viewport during scroll */
.hiw__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* Full-bleed video */
.hiw__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay — heading on top of video */
.hiw__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-16) var(--space-10);
  background: linear-gradient(
    to top,
    rgba(30, 18, 10, 0.55) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.hiw__heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: var(--weight-light);
  color: var(--color-text-inverse);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-top: var(--space-2);
}

/* Thin progress bar at bottom of sticky viewport */
.hiw__progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
}

.hiw__progress-fill {
  height: 100%;
  width: 0%;
  background: var(--color-secondary);
  transition: width 0.05s linear;
}

/* ─── PROCESS CARDS ───────────────────────────────────── */

.hiw__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  padding-top: var(--space-16);
  padding-bottom: var(--space-20);
}

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

.process-card {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: var(--space-8);
  box-shadow: 0 4px 24px rgba(92, 58, 40, 0.07);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  will-change: transform, opacity;
  transition:
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s ease;
}

.process-card.in-view {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.6s ease var(--card-delay, 0ms),
    transform 0.6s ease var(--card-delay, 0ms),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s ease;
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12),
              0 0 0 2px rgba(196, 154, 108, 0.6);
}

.process-card__step {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: var(--weight-light);
  color: var(--color-secondary);
  opacity: 0.15;
  line-height: 0.9;
  letter-spacing: -0.03em;
  user-select: none;
}

.process-card__title {
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
  line-height: var(--leading-snug);
}

.process-card__body {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__content,
  .hero__headline em::after {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  /* Disable halo ring rotation */
  .hero__ring--1,
  .hero__ring--2,
  .hero__ring--3 {
    animation: none !important;
    opacity: 1 !important;
  }

  /* Show scroll-animated elements immediately */
  .service-card,
  .haylo-card,
  .testimonial-card {
    opacity: 1;
    transform: none;
  }

  /* Disable radial menu pulse rings */
  .rm__pulse {
    animation: none !important;
  }
}


/* ------------------------------------------------------------
   SILK BACKGROUND CANVAS
   Fixed full-viewport canvas behind all content.
   Animated in js/silk-bg.js with Haylo warm palette.
------------------------------------------------------------ */

#silk-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  display: block;
}


/* ------------------------------------------------------------
   BOOKSHELF GALLERY
------------------------------------------------------------ */

.bookshelf {
  padding: var(--space-20) 0 0;
  background-color: var(--color-surface-warm);
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Blurred background image layer */
.bookshelf::before {
  content: '';
  position: absolute;
  inset: -30px;                             /* overshoot to prevent blurred edges showing */
  background-image: url('../assets/images/new-bookshelfbackground.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(4px);
  z-index: 0;
  pointer-events: none;
}

/* Light champagne overlay — keeps it airy and readable */
.bookshelf::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(242, 232, 220, 0.35);   /* --color-surface-warm at 35% */
  z-index: 0;
  pointer-events: none;
}

.bookshelf.in-view {
  opacity: 1;
  transform: translateY(0);
}

.bookshelf__header {
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-12);
}

.bookshelf__track {
  display: flex;
  align-items: flex-end;
  gap: 0;
  padding: 0 var(--space-16) var(--space-6);
  height: 420px;
  perspective: 1200px;
  perspective-origin: 50% 80%;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  cursor: default;
}

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

.bookshelf__item {
  flex-shrink: 0;
  width: 220px;
  height: 420px;
  transform-origin: left center;
  transform: rotateY(80deg);
  transition: transform var(--transition-smooth);
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.bookshelf__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  pointer-events: none;
}

.bookshelf__stage {
  position: relative;
  z-index: 1;
}

.bookshelf__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(196, 154, 108, 0.4);
  background: rgba(242, 232, 220, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--color-primary);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base), border-color var(--transition-base), opacity var(--transition-base);
  padding: 0;
}

.bookshelf__arrow:hover {
  background: var(--color-secondary-light);
  border-color: var(--color-secondary);
}

.bookshelf__arrow--prev {
  left: var(--space-4);
}

.bookshelf__arrow--next {
  right: var(--space-4);
}

.bookshelf__arrow[hidden] {
  display: none;
}

.bookshelf__ledge {
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-secondary) 15%,
    var(--color-secondary) 85%,
    transparent 100%
  );
  opacity: 0.35;
}

.bookshelf__ledge::after {
  content: '';
  display: block;
  width: 100%;
  height: 12px;
  background: linear-gradient(to bottom, rgba(92, 58, 40, 0.08) 0%, transparent 100%);
}

/* Mobile — flat scroll, no 3D */
@media (max-width: 768px) {
  .bookshelf__item {
    transform: rotateY(0deg);
    transition: none;
    width: 180px;
    height: 280px;
  }

  .bookshelf__track {
    height: 280px;
    padding: 0 var(--space-6) var(--space-4);
    perspective: none;
    gap: var(--space-3);
  }

  .bookshelf__header {
    margin-bottom: var(--space-8);
  }
}

/* Touch devices — JS applies this class */
.bookshelf__track--touch .bookshelf__item {
  transform: rotateY(0deg) !important;
  transition: none !important;
  will-change: auto;
}

/* Reduced motion — all images flat, no animation */
@media (prefers-reduced-motion: reduce) {
  .bookshelf__item {
    transform: rotateY(0deg);
    transition: none;
    will-change: auto;
  }

  .bookshelf {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ============================================================
   CLINIC GALLERY — draggable card stack
   ============================================================ */

.clinic-look {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(5rem, 10vw, 9rem);
  background:
    linear-gradient(180deg,
      var(--color-surface-light) 0%,
      var(--color-surface-warm) 50%,
      var(--color-surface-light) 100%);
  overflow: hidden;
}

.clinic-look::before {
  content: "";
  position: absolute;
  inset: -5%;
  background: url("../Design/project/assets/bookshelf-bg.jpg") center/cover no-repeat;
  filter: blur(44px) saturate(0.9) brightness(1.04);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}

.clinic-look::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(247,244,240,0.55) 0%, rgba(247,244,240,0.92) 70%),
    linear-gradient(180deg, rgba(242,232,220,0.25), rgba(247,244,240,0.6));
  z-index: 0;
  pointer-events: none;
}

.clinic-look__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.clinic-look__eyebrow {
  display: block;
  text-align: center;
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-accent);
  font-weight: var(--weight-regular);
  margin-bottom: var(--space-5);
}

.clinic-look__title {
  text-align: center;
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.15;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.clinic-look__sub {
  text-align: center;
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 300;
}

.drag-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin: 0 auto clamp(1.5rem, 3vw, 2.25rem);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  font-weight: var(--weight-regular);
}

.drag-hint svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-secondary-dark);
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stage-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.stage {
  position: relative;
  width: min(100%, 1120px);
  height: clamp(460px, 62vw, 640px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse at 50% 55%, rgba(196,154,108,0.10) 0%, rgba(196,154,108,0) 65%),
    linear-gradient(180deg, rgba(254,252,250,0.55), rgba(242,232,220,0.35));
  border: 1px solid rgba(196,154,108,0.22);
  overflow: hidden;
  cursor: grab;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 30px 60px -30px rgba(92,58,40,0.25);
}

.stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 78%;
  height: 130%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(196,154,108,0.12), rgba(196,154,108,0) 60%);
  pointer-events: none;
}

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(92,58,40,0.045) 1px, transparent 1px);
  background-size: 72px 100%;
  mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
  pointer-events: none;
  opacity: 0.5;
}

.card {
  position: absolute;
  width: clamp(180px, 18vw, 230px);
  height: clamp(240px, 24vw, 310px);
  top: 50%;
  left: 50%;
  margin-left: calc(clamp(180px, 18vw, 230px) / -2);
  margin-top: calc(clamp(240px, 24vw, 310px) / -2);
  border-radius: 6px;
  background: var(--color-surface-white);
  padding: 10px 10px 44px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 2px 4px rgba(92,58,40,0.08),
    0 18px 30px -14px rgba(92,58,40,0.28);
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  will-change: transform;
  cursor: grab;
  transition: box-shadow 250ms ease;
}

.card.is-dragging {
  cursor: grabbing;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 4px 10px rgba(92,58,40,0.14),
    0 40px 70px -20px rgba(92,58,40,0.38);
}

.card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.card__caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  line-height: 1.2;
  pointer-events: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.card__caption span:last-child {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.stage-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-5);
  padding: 0 var(--space-2);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.stage-meta__count em {
  font-style: normal;
  color: var(--color-primary);
  font-weight: 500;
}

.stage-meta__reset {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
}

.stage-meta__reset:hover {
  border-color: var(--color-secondary);
  color: var(--color-primary);
  background: rgba(196,154,108,0.08);
}

@media (max-width: 640px) {
  .stage {
    height: 520px;
    border-radius: var(--radius-lg);
  }
  .card {
    width: 150px;
    height: 210px;
    margin-left: -75px;
    margin-top: -105px;
  }
  .card__caption { font-size: 0.8rem; }
}


/* ============================================================
   SECTION A3 — REVEAL PANELS  (One Treatment, Three Ways)
   ============================================================ */

.treat-head {
  text-align: center;
  margin-bottom: var(--space-16);
}
.treat-head__eyebrow {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-accent);
  margin-bottom: var(--space-4);
}
.treat-head__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-primary-dark);
  letter-spacing: -0.015em;
}
.treat-head__title em {
  font-style: italic;
  color: var(--color-secondary-dark);
}

.reveal-panels {
  display: flex;
  gap: 8px;
  height: 520px;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
@media (max-width: 800px) { .reveal-panels { flex-direction: column; height: auto; } }

.reveal-panel {
  flex: 1;
  position: relative;
  cursor: pointer;
  transition: flex 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--color-surface-warm);
  overflow: hidden;
  min-width: 0;
  contain: layout style;
}
.reveal-panels:hover .reveal-panel { flex: 1; }
.reveal-panels:hover .reveal-panel:hover { flex: 2.4; }
@media (max-width: 800px) {
  .reveal-panel { flex: none !important; height: 260px; }
  .reveal-panels:hover .reveal-panel:hover { flex: none !important; }
}

.reveal-panel__bg {
  position: absolute; inset: 0;
  transition: transform 0.35s ease;
}
.reveal-panel:hover .reveal-panel__bg { will-change: transform; }
/* Dark overlay replaces filter:brightness — GPU composited, no software rasterization */
.reveal-panel__bg::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.18);
  transition: opacity 0.25s ease;
  z-index: 1;
  pointer-events: none;
}
.reveal-panel:hover .reveal-panel__bg::before { opacity: 0; }
.reveal-panel:hover .reveal-panel__bg { transform: scale(1.04); }
.reveal-panel--hair  .reveal-panel__bg { background: linear-gradient(135deg, #5C3A28 0%, #7A5040 100%); }
.reveal-panel--skin  .reveal-panel__bg { background: linear-gradient(135deg, #C49A6C 0%, #D9B98F 100%); }
.reveal-panel--joint .reveal-panel__bg { background: linear-gradient(135deg, #6B6059 0%, #3E2518 100%); }
.reveal-panel__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,240,210,0.15) 0%, transparent 60%);
}

.reveal-panel__motif {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
  transition: opacity 0.25s ease, transform 0.35s ease;
}
.reveal-panel:hover .reveal-panel__motif {
  opacity: 0.85;
  transform: scale(1.04);
  will-change: transform, opacity;
}

.reveal-panel__motif .strand {
  transform-origin: 50% 0;
  animation: strandSway 11s ease-in-out infinite;
}
.reveal-panel__motif .strand:nth-child(2n) { animation-duration: 13s; animation-delay: -4s; }
.reveal-panel__motif .strand:nth-child(3n) { animation-duration: 15s; animation-delay: -7s; }
@keyframes strandSway {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  50%       { transform: translateX(4px) rotate(0.4deg); }
}

.reveal-panel__motif .sun-rays {
  transform-origin: 200px 240px;
  animation: sunRotate 36s linear infinite;
}
.reveal-panel__motif .sun-core {
  transform-origin: 200px 240px;
  animation: sunPulse 5.5s ease-in-out infinite;
}
@keyframes sunRotate { to { transform: rotate(360deg); } }
@keyframes sunPulse {
  0%, 100% { transform: scale(1); opacity: .9; }
  50%       { transform: scale(1.08); opacity: 1; }
}

.reveal-panel__motif .joint-pulse {
  transform-origin: 200px 250px;
  animation: jointPulse 3.2s ease-out infinite;
}
@keyframes jointPulse {
  0%        { transform: scale(1); opacity: 0.9; }
  80%, 100% { transform: scale(1.7); opacity: 0; }
}

.reveal-panel__content {
  position: absolute; inset: 0;
  z-index: 2;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--color-text-inverse);
}
.reveal-panel__topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.reveal-panel__idx {
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
  opacity: .75;
  letter-spacing: .1em;
}
.reveal-panel__tag {
  font-size: 9.5px;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  background: rgba(254,252,250,0.32);
  color: var(--color-text-inverse);
}
.reveal-panel__body { transition: transform 0.28s ease; }
.reveal-panel__name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
}
.reveal-panel__desc {
  max-width: 360px;
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s ease 0.06s, transform 0.28s ease 0.06s;
  color: rgba(254,252,250,0.92);
}
.reveal-panel:hover .reveal-panel__desc { opacity: 1; transform: translateY(0); }
.reveal-panel__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-inverse);
  margin-top: 20px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s ease 0.12s, transform 0.28s ease 0.12s, gap 0.2s ease;
}
.reveal-panel:hover .reveal-panel__link { opacity: 1; transform: translateY(0); }
.reveal-panel__link:hover { gap: 14px; }


/* ============================================================
   SECTION B1 — CONSTELLATION  (Why Haylo)
   ============================================================ */

.why-wrapper {
  background: var(--color-primary);
  padding: var(--space-24) 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}
.why-wrapper::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 20%, rgba(196,154,108,0.18) 0%, transparent 55%),
              radial-gradient(ellipse at 80% 80%, rgba(196,154,108,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.why-wrapper::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .05;
  pointer-events: none;
}
.why-wrapper > * { position: relative; z-index: 2; }


.why-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-16);
  padding: 0 var(--space-6);
}
.why-intro__eyebrow {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--space-4);
}
.why-intro__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--color-text-inverse);
  line-height: 1.1;
}

.const-stage {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
  padding: 40px var(--space-6);
  min-height: 520px;
}
.const-stage__svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: visible;
  will-change: transform;
  transform: translateZ(0);
}
.const-line {
  fill: none;
  stroke: var(--color-secondary);
  stroke-width: 1;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  opacity: 0;
  transition: stroke-dashoffset 2.8s ease, opacity .8s ease;
  will-change: stroke-dashoffset, opacity;
}
.const-stage.is-visible .const-line { stroke-dashoffset: 0; opacity: .55; }

.const-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px;
  position: relative;
}
@media (max-width: 800px) { .const-grid { grid-template-columns: 1fr; gap: 28px; } }

.const-node {
  position: relative;
  padding: 28px 28px 28px 88px;
  min-height: 140px;
}
.const-node__num {
  position: absolute;
  left: 24px; top: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(196,154,108,0.55);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-style: italic;
  font-size: 1.2rem;
  background: rgba(92,58,40,0.4);
  transition: transform .6s ease;
  will-change: transform;
}
.const-node__num::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  box-shadow: 0 0 28px 4px rgba(196,154,108,0.45), inset 0 0 12px rgba(196,154,108,0.2);
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
  will-change: opacity;
}
.const-stage.is-visible .const-node__num::after { opacity: 1; }
.const-node:hover .const-node__num {
  transform: scale(1.08);
}
.const-node:hover .const-node__num::after {
  opacity: 1;
  box-shadow: 0 0 38px 6px rgba(196,154,108,0.6), inset 0 0 14px rgba(196,154,108,0.35);
}
.const-node__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-text-inverse);
  font-weight: 400;
  margin-bottom: 10px;
}
.const-node__body {
  color: rgba(254,252,250,0.7);
  font-size: 14px;
  line-height: 1.6;
  max-width: 360px;
}
.const-grid .const-node:nth-child(2) { transform: translateY(60px); }
.const-grid .const-node:nth-child(3) { transform: translateY(-30px); }
@media (max-width: 800px) { .const-grid .const-node { transform: none !important; } }


/* ============================================================
   SECTION C — VISIT WALKTHROUGH  (How It Works)
   ============================================================ */

.hiw-visit-section { padding: 0; }

.visit {
  padding: var(--space-20) 0;
  position: relative;
}
.visit-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-20);
  padding: 0 var(--space-6);
}
.visit-head__eyebrow {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.visit-head__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--color-primary-dark);
}
.visit-head__title em { font-style: italic; color: var(--color-secondary-dark); }
.visit-head__sub {
  margin-top: var(--space-5);
  color: var(--color-text-secondary);
  font-size: var(--text-md);
  line-height: 1.6;
}

.visit-rail {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.visit-rail::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(196,154,108,0.5) 8%,
    rgba(196,154,108,0.5) 92%,
    transparent 100%);
  transform: translateX(-0.5px);
}
@media (max-width: 800px) { .visit-rail::before { left: 24px; } }

.visit-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  margin-bottom: var(--space-20);
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.25,1,.5,1);
}
.visit-step.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 800px) {
  .visit-step { grid-template-columns: 1fr; padding-left: 60px; gap: var(--space-6); }
}

.visit-step__node {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--color-surface-light);
  border: 1.5px solid var(--color-secondary);
  z-index: 2;
  transition: transform .5s ease, box-shadow .5s ease;
}
.visit-step.is-visible .visit-step__node {
  box-shadow: 0 0 0 6px rgba(196,154,108,0.12), 0 0 22px rgba(196,154,108,0.5);
}
.visit-step__node::after {
  content: '';
  position: absolute; inset: 4px;
  border-radius: 50%;
  background: var(--color-secondary);
  transform: scale(0);
  transition: transform .5s ease .2s;
}
.visit-step.is-visible .visit-step__node::after { transform: scale(1); }
@media (max-width: 800px) { .visit-step__node { left: 24px; } }

.visit-step__copy { padding: 0 var(--space-4); }
.visit-step:nth-child(even) .visit-step__copy { grid-column: 2; }
.visit-step:nth-child(even) .visit-step__visual { grid-column: 1; grid-row: 1; }
@media (max-width: 800px) {
  .visit-step__copy,
  .visit-step:nth-child(even) .visit-step__copy { grid-column: 1; }
  .visit-step__visual,
  .visit-step:nth-child(even) .visit-step__visual { grid-column: 1; }
}

.visit-step__label {
  font-size: 10px;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-primary-dark);
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.visit-step__label::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--color-secondary);
}
.visit-step__idx { font-family: var(--font-display); font-style: italic; }
.visit-step__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}
.visit-step__body {
  color: var(--color-primary-dark);
  font-size: 15px;
  line-height: 1.7;
  max-width: 420px;
}
.visit-step__meta {
  display: flex;
  gap: var(--space-6);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(92,58,40,0.18);
}
.visit-meta__val {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-primary-dark);
  font-style: italic;
}
.visit-meta__lbl {
  display: block;
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 500;
  margin-top: 4px;
}

.visit-step__visual {
  aspect-ratio: 4/5;
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
  border-radius: 20px;
  position: relative;
  background: var(--color-surface-warm);
  border: 1px solid rgba(196,154,108,0.3);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

/* Visual 1 — Arrival */
.viz-arrival { background: linear-gradient(150deg, #F2E8DC 0%, #E4D2BC 100%); }
.viz-arrival__halo {
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(196,154,108,0.55);
  position: relative;
  animation: breathePulse 5s ease-in-out infinite;
}
.viz-arrival__halo::before, .viz-arrival__halo::after {
  content: ''; position: absolute; inset: 10%;
  border-radius: 50%;
  border: 1px solid rgba(196,154,108,0.4);
  animation: breathePulse 6s ease-in-out infinite;
  animation-delay: -1.2s;
}
.viz-arrival__halo::after { inset: 26%; animation-delay: -2.6s; }
@keyframes breathePulse {
  0%, 100% { transform: scale(1); opacity: .55; }
  50%       { transform: scale(1.08); opacity: 1; }
}

/* Visual 2 — Blood draw */
.viz-draw { background: linear-gradient(165deg, #FEFCFA 0%, #F2E8DC 100%); flex-direction: column; gap: 0; }
.viz-draw__cap {
  width: 96px; height: 14px;
  background: var(--color-primary);
  border-radius: 4px 4px 2px 2px;
  position: relative; z-index: 2;
  flex-shrink: 0;
}
.viz-draw__tube {
  width: 80px; height: 220px;
  border: 2px solid var(--color-primary-dark);
  border-top: none;
  border-radius: 0 0 36px 36px;
  position: relative;
  overflow: hidden;
  background: rgba(254,252,250,0.6);
}
.viz-draw__fill {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 60%;
  background: linear-gradient(to top, #8B2C1F, #A0372A);
  animation: vialFill 4s ease-in-out infinite;
}
@keyframes vialFill {
  0%, 100% { height: 60%; }
  50%       { height: 62%; }
}
.viz-draw__fill::before {
  content: '';
  position: absolute; top: -2px; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), transparent);
}
.viz-draw__ml {
  position: absolute;
  bottom: 40%;
  left: calc(50% + 54px);
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-secondary-dark);
  font-size: 1.1rem;
  white-space: nowrap;
}
.viz-draw__ml::before {
  content: '';
  position: absolute;
  top: 50%; left: -18px;
  width: 14px; height: 1px;
  background: var(--color-secondary);
}

/* Visual 3 — Centrifuge */
.viz-centrifuge { background: linear-gradient(165deg, #3E2518 0%, #5C3A28 100%); }
.viz-centrifuge__rotor {
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 1px dashed rgba(196,154,108,0.35);
  position: relative;
  flex-shrink: 0;
  animation: spinFast 2.2s linear infinite;
}
@keyframes spinFast { to { transform: rotate(360deg); } }
.viz-centrifuge__arm {
  position: absolute;
  left: 50%; top: 12px;
  transform-origin: 50% 88px;
  transform: translateX(-50%);
  width: 24px; height: 56px;
  border-radius: 4px 4px 12px 12px;
  background: linear-gradient(to bottom, #8B2C1F 0%, #8B2C1F 45%, #C49A6C 45%, #C49A6C 60%, #F2E8DC 60%, #F2E8DC 100%);
  border: 1px solid rgba(254,252,250,0.25);
}
.viz-centrifuge__arm:nth-child(2) { transform: translateX(-50%) rotate(120deg); }
.viz-centrifuge__arm:nth-child(3) { transform: translateX(-50%) rotate(240deg); }
.viz-centrifuge__core {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, #C49A6C 0%, #A07844 80%);
  box-shadow: 0 0 20px rgba(196,154,108,0.55);
}
.viz-centrifuge__rpm {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  color: var(--color-secondary);
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  letter-spacing: .18em;
  opacity: .8;
}

/* Visual 4 — Extraction */
.viz-extract { background: linear-gradient(165deg, #F2E8DC 0%, #D9B98F 100%); }
.viz-extract__tube {
  width: 70px; height: 200px;
  border: 2px solid var(--color-primary-dark);
  border-top: none;
  border-radius: 0 0 30px 30px;
  position: relative;
  overflow: hidden;
  background: #F7F4F0;
}
.viz-extract__layer { position: absolute; left: 0; right: 0; }
.viz-extract__layer--plasma { top: 0;   height: 32%; background: linear-gradient(to bottom, #D9B98F, #C49A6C); }
.viz-extract__layer--buffy  { top: 32%; height: 6%;  background: #FEFCFA; }
.viz-extract__layer--red    { top: 38%; height: 62%; background: linear-gradient(to bottom, #A0372A, #5C1914); }
.viz-extract__pipette {
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 70px;
  background: linear-gradient(to bottom, rgba(254,252,250,0.9), rgba(217,185,143,0.7));
  border-radius: 6px 6px 2px 2px;
  border: 1px solid var(--color-primary);
  animation: pipetteDip 4.5s ease-in-out infinite;
}
@keyframes pipetteDip {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(15px); }
}
.viz-extract__labels {
  position: absolute;
  right: -90px; top: 10%;
  display: flex; flex-direction: column;
  gap: 24px;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.viz-extract__labels span::before { content: '— '; color: var(--color-secondary); }

/* Visual 5 — Injection */
.viz-inject { background: linear-gradient(165deg, #FEFCFA 0%, #F2E8DC 100%); }
.viz-inject__target {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,154,108,0.2) 0%, transparent 65%);
  position: relative;
}
.viz-inject__ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(196,154,108,0.35);
  animation: rippleOut 3.4s ease-out infinite;
}
.viz-inject__ring:nth-child(2) { animation-delay: 1.1s; }
.viz-inject__ring:nth-child(3) { animation-delay: 2.2s; }
@keyframes rippleOut {
  0%         { transform: scale(0.4); opacity: 0; }
  15%        { opacity: .8; }
  100%       { transform: scale(1.3); opacity: 0; }
}
.viz-inject__dot {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--color-secondary-dark);
  box-shadow: 0 0 20px rgba(196,154,108,0.8);
}

/* Visual 6 — Recovery */
.viz-recover { background: linear-gradient(165deg, #F7F4F0 0%, #D9B98F 100%); }
.viz-recover__chart { width: 240px; height: 180px; position: relative; }
.viz-recover__line {
  stroke: var(--color-secondary-dark);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawLine 4s ease-out infinite;
}
@keyframes drawLine {
  0%        { stroke-dashoffset: 400; }
  60%, 100% { stroke-dashoffset: 0; }
}
.viz-recover__area {
  fill: rgba(196,154,108,0.2);
  opacity: 0;
  animation: areaFade 4s ease-out infinite;
}
@keyframes areaFade {
  0%, 55% { opacity: 0; }
  70%, 100% { opacity: 1; }
}

/* Visit outro CTA */
.visit-outro {
  text-align: center;
  max-width: 580px;
  margin: var(--space-16) auto 0;
  padding: var(--space-12) var(--space-8);
  border-top: 1px solid rgba(196,154,108,0.3);
}
.visit-outro__line {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--color-primary-dark);
  line-height: 1.3;
  margin-bottom: var(--space-6);
}
.visit-outro__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-radius: var(--radius-full);
  font-size: 12px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  font-weight: 500;
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
}
.visit-outro__btn:hover {
  background: var(--color-secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(92,58,40,0.28);
}

/* ============================================================
   HOW IT WORKS — Scroll cue (appears after video ends)
   ============================================================ */

.hiw-scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
  z-index: 10;
}
.hiw-scroll-cue.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.hiw-scroll-cue__label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(254,252,250,0.75);
  font-family: var(--font-body);
}
.hiw-scroll-cue__arrow {
  color: rgba(196,154,108,0.9);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}


/* ============================================================
   SERVICES PAGE
============================================================ */

/* ── Scroll-expand hero ── */
.svc-expand {
  position: relative; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.svc-expand__bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, #3C2214 0%, #1A0D04 80%);
  z-index: 1; pointer-events: none;
}
.svc-expand__glow {
  position: absolute; inset: 0;
  z-index: 1; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(196,154,108,0.16) 0%, transparent 55%);
}
@keyframes tv-on {
  0%   { clip-path: inset(49.6% 0 49.6% 0 round 18px); }
  18%  { clip-path: inset(49.6% 0 49.6% 0 round 18px); }
  100% { clip-path: inset(0%   0 0%   0 round 18px); }
}
.svc-expand__media {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 320px; height: 420px;
  top: 54%;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 0 80px rgba(0,0,0,0.55);
  z-index: 2;
  animation: tv-on 2200ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
@media (prefers-reduced-motion: reduce) {
  .svc-expand__media { animation: none; }
}
@media (max-width: 767px) {
  .svc-expand__media { width: 220px; height: 300px; }
}
.svc-expand__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-expand__vignette {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.28);
  pointer-events: none; z-index: 3;
}
.svc-expand__title {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 4; pointer-events: none; gap: 0.08em;
}
.svc-expand__word {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: var(--weight-light);
  color: var(--color-surface-white);
  letter-spacing: var(--tracking-tight);
  line-height: 1.1; white-space: nowrap;
  will-change: transform; display: block;
}
.svc-expand__word em { font-style: italic; color: var(--color-secondary-light); }

/* Words start offscreen and slide in when video begins playing */
#svc-word-a { transform: translateX(-110vw); transition: transform 2.4s cubic-bezier(0.25, 1, 0.5, 1); }
#svc-word-b { transform: translateX( 110vw); transition: transform 2.4s cubic-bezier(0.25, 1, 0.5, 1) 0.35s; }
#svc-word-a.svc-word--in,
#svc-word-b.svc-word--in { transform: translateX(0); }
.svc-expand__cue {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  width: max-content; text-align: center;
  text-decoration: none; cursor: pointer;
}
.svc-expand__cue-label {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(254,252,250,0.75);
}
.svc-expand__cue-arrow {
  display: block; margin: 0 auto;
  color: rgba(196,154,108,0.9);
  animation: scrollBounce 2s ease-in-out infinite;
}

/* ── Service sections ── */
.svc-section {
  padding: var(--space-24) 0;
  border-top: 1px solid var(--color-border);
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}
.svc-section:first-of-type { border-top: none; }
.svc-section.is-visible { opacity: 1; transform: translateY(0); }

.svc-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

/* Skin section: visual on left, copy on right */
.svc-section--skin .svc-section__visual { order: -1; }

.svc-section__heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: var(--weight-light);
  color: var(--color-primary-dark);
  margin: var(--space-3) 0 var(--space-6);
  letter-spacing: var(--tracking-tight);
}

.svc-section__body {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
}

.svc-section__points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.svc-section__points li {
  padding-left: var(--space-6);
  position: relative;
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
}
.svc-section__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 14px;
  height: 1px;
  background: var(--color-secondary);
}

.svc-section__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}

.svc-motif {
  width: 100%;
  max-width: 320px;
  height: auto;
  opacity: 0.85;
}

/* ──────────────────────────────────────────────────────────
   SERVICES PRICING SECTION
────────────────────────────────────────────────────────── */
.pricing {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(5rem, 9vw, 8rem);
  background:
    radial-gradient(ellipse 80% 60% at 50% 38%, #FDF0E0 0%, 50%, #A8876A 100%);
  overflow: hidden;
}
.pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.038;
  mix-blend-mode: multiply;
}

.pricing__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (min-width: 768px) {
  .pricing__inner { padding: 0 var(--space-12); }
}

.pricing__head {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.pricing__eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-accent);
  margin-bottom: var(--space-4);
}

.pricing__title {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.1;
  color: var(--color-primary);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-4);
}
.pricing__title em {
  font-style: italic;
  color: var(--color-secondary-dark);
}

.pricing__sub {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

/* Tabs — pill service selector */
.pricing .tabs {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.pricing .tabs__group {
  position: relative;
  display: inline-flex;
  padding: 6px;
  background: var(--color-surface-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 10px 30px -18px rgba(92,58,40,0.2);
}

.pricing .tabs__indicator {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 0;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  box-shadow: 0 6px 18px -6px rgba(92,58,40,0.35);
  transition: left 450ms cubic-bezier(0.34, 1.3, 0.5, 1), width 450ms cubic-bezier(0.34, 1.3, 0.5, 1);
  z-index: 1;
  pointer-events: none;
}

.pricing .tabs__btn {
  position: relative;
  z-index: 2;
  background: transparent;
  border: 0;
  padding: 14px clamp(18px, 3vw, 34px);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  cursor: pointer;
  font-weight: 500;
  transition: color 300ms ease;
  white-space: nowrap;
}
.pricing .tabs__btn[aria-selected="true"] { color: var(--color-text-inverse); }
.pricing .tabs__btn svg {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-right: 8px;
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}

/* Skin sub-toggle */
.pricing .subtabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-6);
  height: 34px;
  overflow: hidden;
  transition: height 350ms ease, margin 350ms ease, opacity 300ms ease;
}
.pricing .subtabs[hidden] {
  display: flex;
  height: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.pricing .subtabs__btn {
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: color 250ms ease, border-color 250ms ease;
}
.pricing .subtabs__btn[aria-selected="true"] {
  color: var(--color-primary);
  border-bottom-color: var(--color-secondary);
}
.pricing .subtabs__sep {
  color: var(--color-border);
  align-self: center;
  padding: 0 6px;
  user-select: none;
}

/* Panel */
.pricing .panel__summary {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(1.75rem, 3vw, 2.5rem);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.45;
  color: var(--color-primary);
  font-weight: 300;
}

/* Tier grid */
.pricing .tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.pricing .tiers[data-count="3"] {
  grid-template-columns: repeat(3, 1fr);
  max-width: 75%;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 1024px) { .pricing .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1024px) { .pricing .tiers[data-count="3"] { max-width: 100%; } }
@media (max-width: 560px)  { .pricing .tiers { grid-template-columns: 1fr; } }

/* Tier card */
.tier {
  position: relative;
  background: #F0EBE4;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 2.5vw, 30px) clamp(18px, 2.2vw, 26px) clamp(22px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  min-height: 340px;
  cursor: pointer;
  transition: opacity 500ms ease,
              transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 300ms ease,
              box-shadow 400ms ease,
              background 400ms ease;
  overflow: hidden;
}
.pricing .tier { opacity: 0; transform: translateY(30px); }
.pricing .tier.tier--shown { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .pricing .tier { opacity: 1; transform: none; } }

.tier:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--color-primary);
  box-shadow:
    0 0 0 1px var(--color-primary),
    0 0 18px 2px rgba(92, 58, 40, 0.35),
    0 28px 50px -18px rgba(92, 58, 40, 0.35);
}
.tier[data-active="true"] {
  transform: translateY(-8px);
  border-color: var(--color-secondary);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset,
              0 30px 55px -22px rgba(92,58,40,0.32);
}
.tier::before {
  content: "";
  position: absolute;
  top: -50%; left: -20%;
  width: 140%; height: 140%;
  background: radial-gradient(circle at 30% 20%, rgba(196,154,108,0.16), transparent 55%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
}
.tier[data-active="true"]::before { opacity: 1; }

.tier--tailored {
  background: radial-gradient(ellipse at 30% 0%, rgba(196,154,108,0.25), transparent 60%),
              linear-gradient(180deg, #6B4432 0%, var(--color-primary) 100%);
  color: var(--color-text-inverse);
  border-color: var(--color-primary-dark);
}
.tier--tailored:hover { border-color: var(--color-secondary); }
.tier--tailored[data-active="true"] { border-color: var(--color-secondary); }

.tier__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 22px;
}
.tier__idx {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  letter-spacing: 0.02em;
}
.tier--tailored .tier__idx { color: rgba(254,252,250,0.6); }

.tier__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-secondary);
  background: var(--color-surface-light);
}
.tier__badge--gold {
  border-color: var(--color-secondary);
  color: var(--color-secondary-dark);
  background: rgba(196,154,108,0.08);
}
.tier__badge--subtle {
  border-color: var(--color-border);
  color: var(--color-text-secondary);
  background: transparent;
  opacity: 0.65;
}
.tier--tailored .tier__badge {
  border-color: rgba(196,154,108,0.5);
  color: var(--color-secondary-light);
  background: rgba(196,154,108,0.08);
}

.tier__name {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  line-height: 1.1;
  margin-bottom: 6px;
  color: var(--color-primary);
}
.tier--tailored .tier__name { color: var(--color-surface-white); }
.tier__name em { font-style: italic; color: var(--color-secondary-dark); }
.tier--tailored .tier__name em { color: var(--color-secondary-light); }

.tier__blurb {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
  min-height: 40px;
}
.tier--tailored .tier__blurb { color: rgba(254,252,250,0.75); }

.tier__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}
.tier__price-amt {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  font-size: clamp(1.75rem, 2.8vw, 2.2rem);
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.01em;
}
.tier--tailored .tier__price-amt { color: var(--color-surface-white); }
.tier__price-amt small {
  font-size: 0.55em;
  color: var(--color-text-secondary);
  font-weight: 400;
  margin-right: 2px;
}
.tier--tailored .tier__price-amt small { color: rgba(254,252,250,0.6); }

.tier__price-note {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 18px;
  min-height: 18px;
}
.tier--tailored .tier__price-note { color: rgba(254,252,250,0.6); }

.dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}
.dots__label {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-right: 8px;
}
.tier--tailored .dots__label { color: rgba(254,252,250,0.55); }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-neutral-200);
  transition: background 300ms ease, transform 300ms ease;
}
.dot--on { background: var(--color-secondary); }
.tier--tailored .dot { background: rgba(254,252,250,0.18); }
.tier--tailored .dot--on { background: var(--color-secondary); }
.dot--flex {
  background: transparent;
  border: 1.5px dashed var(--color-secondary);
  width: 10px; height: 10px;
}
.dot--plus {
  width: auto;
  padding: 0 4px;
  font-size: 0.6rem;
  background: transparent;
  color: var(--color-secondary-dark);
  letter-spacing: 0.05em;
}

.tier__includes-outer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 380ms cubic-bezier(0.4, 0, 0.2, 1);
}
.tier[data-includes-open] .tier__includes-outer {
  max-height: 300px;
}
.tier__includes-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 10px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-secondary);
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 200ms ease;
}
.tier--tailored .tier__includes-toggle { color: rgba(254,252,250,0.7); }
.tier__includes-toggle:hover { opacity: 1; }
.tier__includes-chevron {
  display: inline-block;
  flex-shrink: 0;
  transition: transform 300ms ease;
}
.tier[data-includes-open] .tier__includes-chevron {
  transform: rotate(180deg);
}
.tier__includes {
  list-style: none;
  padding: 0 0 14px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tier__includes li {
  font-size: 0.82rem;
  color: var(--color-text-primary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}
.tier--tailored .tier__includes li { color: rgba(254,252,250,0.85); }
.tier__includes li::before {
  content: "";
  width: 14px; height: 1px;
  background: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 10px;
}

.tier__spacer { flex: 1; }

.tier__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-secondary);
  background: var(--color-secondary);
  color: var(--color-primary-dark);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 250ms ease, border-color 250ms ease, color 250ms ease, transform 200ms ease;
  text-decoration: none;
  width: 100%;
}
.tier__cta:hover {
  background: var(--color-secondary-dark);
  border-color: var(--color-secondary-dark);
  color: var(--color-text-inverse);
}
.tier--tailored .tier__cta {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-primary-dark);
}
.tier--tailored .tier__cta:hover {
  background: var(--color-secondary-light);
  border-color: var(--color-secondary-light);
}
.tier__cta svg {
  width: 14px; height: 14px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 250ms ease;
}
.tier__cta:hover svg { transform: translateX(3px); }

/* Footer note */
.pricing__foot {
  text-align: center;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.85rem;
  color: var(--color-text-primary);
  line-height: 1.6;
}
.pricing__foot strong {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--color-primary);
  font-size: 1rem;
}

/* Panel swap animation */
@keyframes pricingFadeSlide {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pricing .panel[data-visible="true"] {
  animation: pricingFadeSlide 450ms ease both;
}


/* Pricing section scroll-reveal */
.pricing__eyebrow,
.pricing__title,
.pricing__sub,
.pricing .tabs__group {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pricing.is-revealed .pricing__eyebrow { opacity: 1; transform: translateY(0); transition-delay:   0ms; }
.pricing.is-revealed .pricing__title   { opacity: 1; transform: translateY(0); transition-delay: 130ms; }
.pricing.is-revealed .pricing__sub     { opacity: 1; transform: translateY(0); transition-delay: 260ms; }
.pricing.is-revealed .tabs__group      { opacity: 1; transform: translateY(0); transition-delay: 400ms; }
@media (prefers-reduced-motion: reduce) {
  .pricing__eyebrow, .pricing__title, .pricing__sub, .pricing .tabs__group {
    opacity: 1; transform: none; transition: none;
  }
}

/* ── CTA section ── */
.svc-cta {
  padding: var(--space-24) 0 var(--space-32);
  text-align: center;
}
.svc-cta__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: var(--weight-light);
  color: var(--color-primary-dark);
  margin: var(--space-3) 0 var(--space-4);
  letter-spacing: var(--tracking-tight);
}
.svc-cta__sub {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
}

@media (max-width: 800px) {
  .svc-section__inner { grid-template-columns: 1fr; }
  .svc-section--skin .svc-section__visual { order: 0; }
  .svc-section__visual { display: none; }
  .svc-hero__overlay { padding: var(--space-10) var(--space-6); }
}


/* ══════════════════════════════════════════════════════════
   BOOKING DRAWER
══════════════════════════════════════════════════════════ */
.booking-overlay {
  position: fixed; inset: 0; z-index: 190;
  background: rgba(30, 18, 8, 0.45);
  opacity: 0; pointer-events: none;
  transition: opacity 380ms ease;
}
.booking-overlay.is-open { opacity: 1; pointer-events: auto; }

.booking-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
  width: min(440px, 100vw);
  background: var(--color-surface-white);
  box-shadow: -8px 0 48px rgba(30, 18, 8, 0.18);
  transform: translateX(100%);
  transition: transform 420ms cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.booking-drawer.is-open { transform: translateX(0); }

.booking-drawer__header {
  position: sticky; top: 0; z-index: 1;
  background: var(--color-surface-white);
  padding: 30px 28px 22px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.booking-drawer__eyebrow {
  font-size: var(--text-sm); letter-spacing: var(--tracking-widest);
  text-transform: uppercase; color: var(--color-text-accent);
  margin-bottom: 4px;
}
.booking-drawer__title {
  font-family: var(--font-display); font-weight: var(--weight-regular);
  font-size: 1.75rem; color: var(--color-primary); line-height: 1.15;
}
.booking-drawer__close {
  position: absolute; top: 26px; right: 24px;
  background: none; border: none; cursor: pointer;
  color: var(--color-text-secondary); padding: 7px;
  border-radius: var(--radius-md);
  transition: color 200ms ease, background 200ms ease;
}
.booking-drawer__close:hover {
  color: var(--color-primary);
  background: var(--color-surface-warm);
}

.booking-drawer__form {
  padding: 26px 28px 36px;
  display: flex; flex-direction: column; gap: 20px;
  flex: 1;
}

.booking-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.booking-field { display: flex; flex-direction: column; gap: 7px; }

.booking-label {
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-text-secondary);
}
.booking-label__opt {
  text-transform: none; letter-spacing: 0;
  font-weight: 400; opacity: 0.7;
}

.booking-select,
.booking-input {
  -webkit-appearance: none; appearance: none;
  background: var(--color-surface-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  font-family: var(--font-body); font-size: 0.92rem;
  color: var(--color-text-primary);
  transition: border-color 200ms ease, box-shadow 200ms ease;
  width: 100%;
}
.booking-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6059' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 36px;
  cursor: pointer;
}
.booking-select:focus,
.booking-input:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(196, 154, 108, 0.15);
}
.booking-select:disabled { opacity: 0.4; cursor: not-allowed; }
.booking-input::placeholder { color: var(--color-neutral-400); }
.booking-input--code { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem; }
.booking-input--code::placeholder { text-transform: none; letter-spacing: 0; font-size: 0.92rem; }

.booking-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 4px; padding: 14px 24px;
  background: var(--color-primary); border: 1px solid var(--color-primary);
  border-radius: var(--radius-full); color: var(--color-text-inverse);
  font-family: var(--font-body); font-weight: 500; font-size: 0.82rem;
  letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
  transition: background 250ms ease, border-color 250ms ease, transform 200ms ease;
  width: 100%;
}
.booking-submit:hover {
  background: var(--color-primary-light); border-color: var(--color-primary-light);
  transform: translateY(-1px);
}
.booking-submit--ghost {
  background: transparent; border-color: var(--color-border);
  color: var(--color-text-secondary); transform: none;
}
.booking-submit--ghost:hover {
  background: var(--color-surface-warm);
  border-color: var(--color-secondary);
  color: var(--color-primary); transform: none;
}

/* Calendar */
.booking-cal {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface-light);
  overflow: hidden;
}
.booking-cal__nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px 10px;
  border-bottom: 1px solid var(--color-border);
}
.booking-cal__heading {
  font-family: var(--font-display); font-size: 1rem;
  font-weight: var(--weight-regular); color: var(--color-primary);
}
.booking-cal__arrow {
  background: none; border: none; cursor: pointer;
  color: var(--color-text-secondary); padding: 5px 8px;
  border-radius: var(--radius-sm);
  transition: color 150ms ease, background 150ms ease;
  display: flex; align-items: center;
}
.booking-cal__arrow:hover { color: var(--color-primary); background: var(--color-border); }
.booking-cal__days-header,
.booking-cal__grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  padding: 8px 10px;
}
.booking-cal__days-header { padding-bottom: 2px; gap: 2px; }
.booking-cal__grid { gap: 3px; padding-top: 4px; padding-bottom: 12px; }
.booking-cal__days-header span {
  text-align: center; font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-text-secondary); padding: 4px 0;
}
.booking-cal__cell {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; font-family: var(--font-body);
  border: none; border-radius: 50%; cursor: pointer;
  background: none; color: var(--color-text-primary);
  transition: background 150ms ease, color 150ms ease;
}
.booking-cal__cell:hover:not(:disabled):not(.booking-cal__cell--selected) {
  background: var(--color-surface-warm);
}
.booking-cal__cell--disabled { opacity: 0.28; cursor: not-allowed; }
.booking-cal__cell--blank    { pointer-events: none; }
.booking-cal__cell--today    {
  border: 1.5px solid var(--color-secondary);
  color: var(--color-secondary-dark); font-weight: 500;
}
.booking-cal__cell--selected {
  background: var(--color-primary) !important;
  color: #fff !important; font-weight: 500;
}

/* Time slots */
.booking-times { display: flex; flex-wrap: wrap; gap: 7px; }
.booking-time-slot {
  padding: 7px 13px;
  border: 1px solid var(--color-border); border-radius: var(--radius-full);
  background: var(--color-surface-light);
  font-family: var(--font-body); font-size: 0.82rem; color: var(--color-text-primary);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}
.booking-time-slot:hover { border-color: var(--color-secondary); background: var(--color-surface-warm); }
.booking-time-slot--selected {
  background: var(--color-secondary) !important;
  border-color: var(--color-secondary) !important;
  color: var(--color-primary-dark) !important; font-weight: 500;
}

.booking-drawer__confirm {
  padding: 48px 28px 36px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 16px; flex: 1;
}
.booking-drawer__confirm[hidden] { display: none; }
.booking-confirm__icon { font-size: 2.2rem; color: var(--color-secondary); line-height: 1; }
.booking-confirm__heading {
  font-family: var(--font-display); font-size: 1.9rem;
  font-weight: var(--weight-regular); color: var(--color-primary);
}
.booking-confirm__body {
  font-size: 0.95rem; color: var(--color-text-secondary);
  line-height: 1.65; max-width: 300px;
}

/* ── Mode switcher pills ── */
.booking-mode-switcher {
  display: flex; margin-top: 14px;
  background: var(--color-surface-warm);
  border-radius: var(--radius-full); padding: 3px; gap: 2px;
}
.booking-mode-btn {
  flex: 1; padding: 7px 12px;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--color-text-secondary);
  border-radius: var(--radius-full); border: none; background: none; cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}
.booking-mode-btn--active { background: var(--color-primary); color: var(--color-text-inverse); }
.booking-mode-btn:not(.booking-mode-btn--active):hover { color: var(--color-primary); }

/* ── Intro text ── */
.booking-drawer__intro { padding: 16px 28px 0; }
.booking-drawer__intro-text {
  font-size: 0.875rem; color: var(--color-text-secondary); line-height: 1.6;
}

/* ── Payment note ── */
.booking-payment-note {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: 0.8rem; color: var(--color-text-secondary); line-height: 1.5;
  padding: 10px 12px;
  background: var(--color-surface-warm); border-radius: var(--radius-md);
}
.booking-payment-note svg { flex-shrink: 0; margin-top: 1px; color: var(--color-secondary); }

/* ── Consult format toggle ── */
.booking-format-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.booking-format-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 12px;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 500;
  color: var(--color-text-secondary);
  background: var(--color-surface-light);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md); cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease, color 200ms ease;
}
.booking-format-btn--active {
  background: var(--color-surface-white);
  border-color: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(196,154,108,0.12);
}
.booking-format-btn:not(.booking-format-btn--active):hover {
  border-color: var(--color-neutral-400);
  color: var(--color-primary);
}

/* ── Payment / confirm overlays — slide in from right over the drawer ── */
.booking-pay-screen {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(440px, 100vw);
  z-index: 210;
  background: var(--color-surface-white);
  box-shadow: -8px 0 48px rgba(30, 18, 8, 0.18);
  overflow-y: auto;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.booking-pay-screen.is-open {
  transform: translateX(0);
  pointer-events: auto;
}
/* Confirm overlay — same slide mechanic, centered content */
.booking-confirm-overlay {
  z-index: 220;
  justify-content: center;
  align-items: center;
  padding: 48px 36px;
  text-align: center;
  gap: 20px;
}
.booking-confirm-overlay .booking-confirm__icon { font-size: 2.6rem; color: var(--color-secondary); }
.booking-confirm-overlay .booking-confirm__heading {
  font-family: var(--font-display); font-size: 2rem;
  font-weight: var(--weight-regular); color: var(--color-primary); line-height: 1.2;
}
.booking-confirm-overlay .booking-confirm__body {
  font-size: 0.95rem; color: var(--color-text-secondary);
  line-height: 1.65; max-width: 300px;
}
.pay-screen__nav {
  position: sticky; top: 0; z-index: 1;
  background: var(--color-surface-white);
  padding: 24px 28px 18px;
  border-bottom: 1px solid var(--color-border);
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.pay-screen__back {
  display: flex; align-items: center; gap: 6px;
  background: none; border: none;
  color: var(--color-primary); opacity: 0.7;
  font: 500 13px/1 var(--font-body); cursor: pointer; padding: 4px 0;
  transition: opacity 0.2s;
}
.pay-screen__back:hover { opacity: 1; }
.pay-screen__title {
  font: 500 15px/1.2 var(--font-body);
  color: var(--color-text-primary); margin: 0;
}
.pay-screen__body {
  padding: 26px 28px 40px;
  display: flex; flex-direction: column; gap: 20px;
}

/* ── Payment method selection ── */
.booking-payment { display: flex; flex-direction: column; gap: var(--space-4); }

.pay-methods { display: flex; flex-direction: column; gap: var(--space-2); }
.pay-method {
  display: flex; align-items: center; gap: var(--space-3);
  padding: 12px 14px;
  background: var(--color-surface-light);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: left; cursor: pointer; width: 100%;
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}
.pay-method:hover:not(.pay-method--active) {
  border-color: var(--color-neutral-400);
  background: var(--color-surface-warm);
}
.pay-method--active {
  border-color: var(--color-primary);
  background: var(--color-surface-white);
  box-shadow: 0 0 0 3px rgba(92,58,40,0.07);
}
.pay-method__icon {
  width: 38px; height: 38px; border-radius: var(--radius-full);
  background: rgba(92,58,40,0.08); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 200ms ease, color 200ms ease;
}
.pay-method--active .pay-method__icon {
  background: var(--color-primary); color: var(--color-surface-white);
}
.pay-method__body { flex: 1; min-width: 0; }
.pay-method__name {
  display: block;
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 600;
  color: var(--color-text-primary); line-height: 1.3;
}
.pay-method__desc {
  display: block;
  font-size: 0.75rem; color: var(--color-text-secondary); line-height: 1.4;
  margin-top: 1px;
}
.pay-method__check {
  width: 17px; height: 17px; border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  flex-shrink: 0; margin-left: auto;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.pay-method--active .pay-method__check {
  border-color: var(--color-primary);
  box-shadow: inset 0 0 0 4px var(--color-primary);
}

/* ── Pay panels ── */
@keyframes panelIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pay-panel[hidden] { display: none; }
.pay-panel:not([hidden]) { animation: panelIn 220ms ease forwards; }

/* ── Card preview (dark gradient header) ── */
.card-preview {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 80%);
  padding: var(--space-5) var(--space-5) var(--space-6);
}
.card-preview__header {
  display: flex; align-items: center; gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.card-preview__hdr-icon {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}
.card-preview__title {
  font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.2;
}
.card-preview__sub { font-size: 0.78rem; color: rgba(255,255,255,0.8); margin-top: 1px; }
.card-preview__card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg); padding: 14px 16px;
}
.card-preview__card-top {
  display: flex; align-items: center; justify-content: space-between;
  color: rgba(255,255,255,0.65); margin-bottom: var(--space-2);
}
.card-preview__chip {
  font-size: 0.6rem; letter-spacing: var(--tracking-widest);
  text-transform: uppercase; color: rgba(255,255,255,0.65);
}
.card-preview__number {
  font-family: var(--font-mono, monospace);
  font-size: 1rem; letter-spacing: 0.12em;
  color: #fff; margin-bottom: var(--space-3); line-height: 1.4;
}
.card-preview__card-bot {
  display: flex; align-items: flex-end; justify-content: space-between;
}
.card-preview__val {
  font-size: 0.82rem; font-weight: 500; color: #fff; margin-top: 2px; line-height: 1.2;
}

/* ── Card form fields ── */
.pay-card-fields {
  display: flex; flex-direction: column; gap: var(--space-4);
  padding-top: var(--space-3);
}
.pay-card-fields__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3);
}
.pay-input-wrap { position: relative; }
.pay-input-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--color-text-secondary); pointer-events: none;
}
.pay-input { padding-left: 36px; }

.pay-secure-note {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: 0.75rem; color: var(--color-text-secondary); line-height: 1.5;
  padding: 9px 12px;
  background: var(--color-surface-warm); border-radius: var(--radius-md);
}
.pay-secure-note svg { flex-shrink: 0; margin-top: 2px; color: var(--color-secondary); }

/* ── Simple panel (mobile / clinic) ── */
.pay-simple {
  display: flex; flex-direction: column; align-items: center;
  gap: var(--space-3); text-align: center;
  padding: var(--space-6) var(--space-4);
  border: 1.5px dashed var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text-secondary);
}
.pay-simple--clinic {
  border-style: solid; border-color: var(--color-surface-warm);
  background: var(--color-surface-warm);
}
.pay-simple__title {
  font-size: 0.95rem; font-weight: 600; color: var(--color-text-primary);
}
.pay-simple__desc { font-size: 0.82rem; line-height: 1.6; max-width: 280px; }
.pay-simple__btns { display: flex; gap: var(--space-3); margin-top: var(--space-2); }
.pay-wallet-btn {
  padding: 9px 20px;
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 500;
  background: var(--color-surface-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full); cursor: pointer;
  color: var(--color-text-primary);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.pay-wallet-btn:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(92,58,40,0.07);
}

/* ── Contact textarea ── */
.booking-textarea {
  appearance: none;
  background: var(--color-surface-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-family: var(--font-body); font-size: 0.92rem;
  color: var(--color-text-primary);
  line-height: 1.6;
  width: 100%; resize: vertical; min-height: 120px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.booking-textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(196,154,108,0.15);
}
.booking-textarea::placeholder { color: var(--color-neutral-400); }

/* ── Fade-up scroll entrance ──────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  pointer-events: none;
}
.fade-up.is-visible          { opacity: 1; transform: translateY(0); pointer-events: auto; }
.fade-up[data-delay="1"]     { transition-delay: 120ms; }
.fade-up[data-delay="2"]     { transition-delay: 240ms; }
.fade-up[data-delay="3"]     { transition-delay: 360ms; }
