/* ==========================================================================
   Smile Cliniq — brand system & homepage styles
   Porcelain + Onyx, one iridescent accent taken from the logo's butterfly.
   ========================================================================== */

@font-face {
  font-family: "Instrument Serif";
  src: url("/case-studies/concepts/_assets/60c06664b5a95c7de6cc3e00.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/case-studies/concepts/_assets/6ee678c33f388dd7ba59700e.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/case-studies/concepts/_assets/e310b55a7fd9677f5e3555e6.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Core palette */
  --onyx: #0f0e13;
  --onyx-2: #19171f;
  --ink: #1a1820;
  --graphite: #4a4752;
  --muted: #6c6876;
  --line: #e6e1ea;
  --line-strong: #d4cddb;
  --porcelain: #f8f6f3;
  --pearl: #f1edf4;
  --white: #ffffff;

  /* The butterfly: one jewel tone, used with restraint */
  --amethyst: #5a2a8c;
  --amethyst-deep: #42196c;
  --orchid: #8e5bd0;
  --lilac: #c9a9f2;
  --lilac-soft: #ebe1f8;
  --star: #f2ae1c;

  --wing: linear-gradient(120deg, #5a2a8c 0%, #8e5bd0 38%, #c9a9f2 70%, #eadff8 100%);
  --wing-ink: linear-gradient(110deg, #4a1f7a 0%, #6f3bb0 55%, #9466d6 100%);
  --wing-light: linear-gradient(110deg, #c9a9f2 0%, #e4d5f8 55%, #ffffff 100%);

  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(15, 14, 19, 0.06), 0 2px 8px rgba(15, 14, 19, 0.04);
  --shadow: 0 14px 34px -16px rgba(40, 18, 70, 0.28), 0 4px 12px -6px rgba(15, 14, 19, 0.08);
  --shadow-lg: 0 44px 90px -36px rgba(40, 18, 70, 0.42), 0 14px 32px -14px rgba(15, 14, 19, 0.2);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(76px, 10vw, 136px);
  --header-h: 78px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: light;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--graphite);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
dl, dd, figure { margin: 0; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 em, h2 em, h3 em, .h-em {
  font-style: italic;
  background: var(--wing-ink);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em; /* keep the italic overhang from clipping */
}
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark h1 em, .on-dark h2 em, .on-dark h3 em { background: var(--wing-light); -webkit-background-clip: text; background-clip: text; }

:focus-visible {
  outline: 2.5px solid var(--orchid);
  outline-offset: 3px;
  border-radius: 6px;
}

.nowrap { white-space: nowrap; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  background: var(--onyx);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--pearl { background: var(--pearl); }
.section--white { background: var(--white); }
.section--dark { background: var(--onyx); color: #c9c4d1; }

.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  margin: 0 0 20px;
  color: var(--amethyst);
  font: 700 0.74rem/1.2 var(--sans);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.on-dark .eyebrow { color: var(--lilac); }

.wing-mark {
  display: inline-block;
  width: 0.64em;
  aspect-ratio: 263 / 419;
  background: currentColor;
  -webkit-mask: url("/case-studies/concepts/_assets/7e52bb6cbdb1178d9a0dd184.png") center / contain no-repeat;
  mask: url("/case-studies/concepts/_assets/7e52bb6cbdb1178d9a0dd184.png") center / contain no-repeat;
}

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }
.section-head h2 { font-size: clamp(2.4rem, 4.8vw, 4rem); }
.section-head p { margin: 20px 0 0; font-size: clamp(1.02rem, 1.25vw, 1.15rem); max-width: 40em; }
.section-head--center p { margin-inline: auto; }
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px 64px;
  align-items: end;
}
.section-head--split p { margin: 0; }

.lead { font-size: clamp(1.06rem, 1.35vw, 1.2rem); line-height: 1.62; }
.small-print { font-size: 0.8rem; line-height: 1.55; color: var(--muted); }
.on-dark .small-print { color: #8f8a99; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 54px;
  padding: 0 1.55rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: transparent;
  overflow: hidden;
  font: 700 0.98rem/1.1 var(--sans);
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  isolation: isolate;
  transition: transform 0.3s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.btn .i { width: 18px; height: 18px; stroke-width: 2; transition: transform 0.3s var(--ease); }
.btn:hover .i--move { transform: translateX(3px); }
.btn--primary {
  background: var(--amethyst);
  color: #fff;
  box-shadow: 0 14px 28px -14px rgba(90, 42, 140, 0.75);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.3) 50%, transparent 75%);
  transform: translateX(-130%);
  transition: transform 0.8s var(--ease);
}
.btn--primary:hover { background: var(--amethyst-deep); transform: translateY(-1px); }
.btn--primary:hover::after { transform: translateX(130%); }
.btn--ghost { border-color: rgba(26, 24, 32, 0.85); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--onyx); }
.btn--light:hover { background: var(--lilac-soft); transform: translateY(-1px); }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.38); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.btn--sm { min-height: 44px; padding: 0 1.15rem; font-size: 0.92rem; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  color: var(--amethyst);
  font-weight: 700;
  text-decoration: none;
}
.text-link .i { width: 1.05em; height: 1.05em; stroke-width: 2; transition: transform 0.3s var(--ease); }
.text-link:hover .i { transform: translateX(3px); }
.text-link:hover span { text-decoration: underline; }
.on-dark .text-link { color: var(--lilac); }

/* ---------- Top bar ---------- */
.topbar { background: var(--onyx); color: #d8d3df; font-size: 0.84rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar-offer { display: flex; align-items: center; gap: 10px; margin: 0; }
.topbar-offer .tag {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(201, 169, 242, 0.16);
  color: var(--lilac);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar s { color: #9a95a3; }
.topbar-phones { display: flex; gap: 22px; }
.topbar-phones a { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.topbar-phones span { color: #9a95a3; font-weight: 500; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 246, 243, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}
.site-header.is-scrolled {
  background: rgba(248, 246, 243, 0.94);
  border-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(15, 14, 19, 0.45);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; flex: none; border-radius: 10px; }
.brand img { height: 54px; width: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 32px); }
.nav a {
  position: relative;
  padding: 8px 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--wing);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.25s, background-color 0.25s;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn .i { width: 20px; height: 20px; }
.menu-toggle { display: none; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: var(--porcelain);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; height: 74px; flex: none; }
.mobile-menu-head img { height: 46px; width: auto; }
.mobile-menu nav { margin: 18px 0 28px; }
.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.1;
  text-decoration: none;
}
.mobile-menu nav a .i { width: 22px; height: 22px; color: var(--muted); }
.mobile-menu .btn { margin-top: 10px; }
.mobile-menu-contact { margin-top: auto; padding-top: 28px; display: grid; gap: 14px; }
.mobile-menu-contact a { display: flex; justify-content: space-between; align-items: center; color: var(--ink); font-weight: 700; text-decoration: none; padding: 14px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.mobile-menu-contact a span { color: var(--muted); font-weight: 500; font-size: 0.9rem; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(36px, 6vw, 84px) 0 clamp(64px, 8vw, 112px); overflow: hidden; }
.hero::before {
  /* soft iridescent wash behind the media */
  content: "";
  position: absolute;
  right: -12%;
  top: -18%;
  width: 62vw;
  max-width: 900px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(201, 169, 242, 0.36), rgba(234, 223, 248, 0.18) 55%, transparent 72%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(36px, 5vw, 88px);
  align-items: center;
}
.hero h1 { font-size: clamp(3.1rem, 7.4vw, 6.4rem); line-height: 0.94; letter-spacing: -0.02em; margin-bottom: 26px; }
.hero h1 em { display: inline-block; }
.hero .lead { max-width: 33em; margin: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; color: var(--ink); font-size: 0.92rem; font-weight: 600; }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks .i { width: 18px; height: 18px; color: var(--amethyst); stroke-width: 2.2; }
.hero-checks s { color: var(--muted); font-weight: 500; }

.rating { display: flex; align-items: center; gap: 14px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.rating-g { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); flex: none; }
.rating-g svg { width: 24px; height: 24px; }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars .i { width: 17px; height: 17px; }
.rating p { margin: 2px 0 0; font-size: 0.92rem; color: var(--graphite); }
.rating strong { color: var(--ink); }

.hero-media { position: relative; justify-self: end; width: 100%; max-width: 500px; }
.hero-wing {
  position: absolute;
  z-index: 0;
  right: -22%;
  top: -10%;
  height: 112%;
  aspect-ratio: 263 / 419;
  background: var(--wing);
  -webkit-mask: url("/case-studies/concepts/_assets/7e52bb6cbdb1178d9a0dd184.png") center / contain no-repeat;
  mask: url("/case-studies/concepts/_assets/7e52bb6cbdb1178d9a0dd184.png") center / contain no-repeat;
  opacity: 0.32;
  transform: rotate(9deg);
  pointer-events: none;
}
.hero-media .ba { position: relative; z-index: 1; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.25;
}
.chip small { display: block; color: var(--muted); font-weight: 600; font-size: 0.74rem; }
.chip--case { left: -34px; bottom: 34px; border-radius: 18px; }
.chip--case .wing-mark { width: 16px; color: var(--amethyst); }
.chip--award { right: -26px; top: 64%; }
.chip--award .i { width: 20px; height: 20px; color: var(--amethyst); }

/* ---------- Before / after comparison ---------- */
.ba {
  --pos: 50%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #e7e2ea;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero-media .ba-img, .ba--portrait .ba-img { object-position: 50% 68%; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-label {
  position: absolute;
  top: 16px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 14, 19, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba-label--before { left: 16px; }
.ba-label--after { right: 16px; background: rgba(90, 42, 140, 0.78); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, 0.25); pointer-events: none; }
.ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  color: var(--amethyst);
  box-shadow: 0 8px 22px rgba(15, 14, 19, 0.28);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease);
}
.ba-knob .i { width: 24px; height: 24px; stroke-width: 2; }
.ba.is-dragging .ba-knob { transform: translate(-50%, -50%) scale(1.08); }
.ba-range { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; opacity: 0; margin: 0; pointer-events: none; }
.ba:focus-within .ba-knob { outline: 3px solid var(--orchid); outline-offset: 3px; }

/* ---------- Proof band ---------- */
.proof { background: var(--white); border-block: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: clamp(26px, 3.4vw, 40px) clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; color: var(--ink); font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 4.2vw, 3.6rem); line-height: 1; letter-spacing: -0.02em; }
.stat span { display: block; margin-top: 10px; font-size: 0.9rem; line-height: 1.45; color: var(--muted); }
.awards { border-top: 1px solid var(--line); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.awards-track { display: flex; align-items: center; gap: clamp(36px, 5vw, 64px); width: max-content; padding: 26px 0; animation: marquee 46s linear infinite; }
.awards:hover .awards-track { animation-play-state: paused; }
.awards img { height: 62px; width: auto; filter: grayscale(1) contrast(1.05); mix-blend-mode: multiply; opacity: 0.72; transition: opacity 0.3s, filter 0.3s; }
.awards img:hover { opacity: 1; filter: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Pathways (intent router) ---------- */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.path {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.path::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--wing);
  opacity: 0;
  transition: opacity 0.4s;
}
.path:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.path:hover::before { opacity: 1; }
.path-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--pearl); color: var(--amethyst); }
.path-icon .i { width: 28px; height: 28px; stroke-width: 1.5; }
.path-icon .wing-mark { width: 19px; }
.path h3 { margin: 24px 0 10px; font-size: clamp(1.6rem, 2.2vw, 1.95rem); line-height: 1.06; }
.path p { margin: 0 0 22px; font-size: 0.98rem; line-height: 1.6; }
.path-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line-strong); }
.path-price { color: var(--ink); font-size: 0.86rem; font-weight: 600; line-height: 1.4; }
.path-price b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.1; color: var(--ink); }
.path-go { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--pearl); color: var(--ink); flex: none; transition: background-color 0.3s, color 0.3s, transform 0.3s var(--ease); }
.path-go .i { width: 18px; height: 18px; stroke-width: 2; }
.path:hover .path-go { background: var(--amethyst); color: #fff; transform: rotate(-45deg); }
.path .path-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.path .path-link { color: inherit; text-decoration: none; }
.path .path-link--btn { padding: 0; border: 0; background: none; font: inherit; line-height: inherit; letter-spacing: inherit; text-align: left; cursor: pointer; }
.path .path-link:focus-visible { outline: none; }
.path:has(.path-link:focus-visible) { outline: 2.5px solid var(--orchid); outline-offset: 3px; }
.path--dark { background: var(--onyx); border-color: var(--onyx); color: #c9c4d1; }
.path--dark h3, .path--dark .path-price, .path--dark .path-price b { color: #fff; }
.path--dark .path-icon { background: rgba(255, 255, 255, 0.08); color: var(--lilac); }
.path--dark .path-foot { border-color: rgba(255, 255, 255, 0.16); }
.path--dark .path-go { background: rgba(255, 255, 255, 0.1); color: #fff; }
.path--dark:hover .path-go { background: #fff; color: var(--onyx); }

/* ---------- Results gallery ---------- */
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 0 28px; padding: 4px 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none;
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.case { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.case[hidden] { display: none; }
.case .ba--portrait { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.case-side { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 28px); }
.case .ba--close { width: 100%; aspect-ratio: 560 / 400; border-radius: var(--radius); }
.case-info { flex: 1; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.case-info h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.case-info p { margin: 12px 0 20px; }
.case-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.case-price { color: var(--ink); font-weight: 600; font-size: 0.92rem; }
.case-price b { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; }
.results-note { margin-top: 22px; text-align: center; }

/* ---------- Calm (nervous patients) ---------- */
.calm { overflow: hidden; }
.calm-wing {
  position: absolute;
  right: max(-120px, -8vw);
  top: 50%;
  height: min(128%, 860px);
  aspect-ratio: 263 / 419;
  background: var(--wing);
  -webkit-mask: url("/case-studies/concepts/_assets/7e52bb6cbdb1178d9a0dd184.png") center / contain no-repeat;
  mask: url("/case-studies/concepts/_assets/7e52bb6cbdb1178d9a0dd184.png") center / contain no-repeat;
  opacity: 0.2;
  transform: translateY(-50%) rotate(-8deg);
  pointer-events: none;
}
.calm-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.calm h2 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
.calm .lead { margin: 24px 0 0; color: #d6d1dd; }
.calm-points { display: grid; gap: 14px; margin: 32px 0 36px; }
.calm-points li { display: flex; gap: 14px; align-items: flex-start; color: #e4e0e9; }
.calm-points .tick { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(201, 169, 242, 0.14); color: var(--lilac); flex: none; margin-top: 1px; }
.calm-points .tick .i { width: 15px; height: 15px; stroke-width: 2.4; }
.calm-points strong { color: #fff; }
.calm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.calm-badge { display: flex; align-items: center; gap: 12px; color: #a9a3b3; font-size: 0.82rem; line-height: 1.35; }
.calm-badge img { height: 40px; width: auto; opacity: 0.9; }

/* ---------- Video (lite YouTube) ---------- */
.yt {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), opacity 0.4s; }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 14, 19, 0) 40%, rgba(15, 14, 19, 0.82)); transition: opacity 0.4s; }
.yt:hover img { transform: scale(1.04); }
.yt-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--amethyst);
  transform: translate(-50%, -50%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s var(--ease), background-color 0.3s, color 0.3s;
}
.yt-play .i { width: 26px; height: 26px; margin-left: 3px; }
.yt:hover .yt-play { transform: translate(-50%, -50%) scale(1.08); background: var(--amethyst); color: #fff; }
.yt-caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(14px, 2vw, 22px); }
.yt-caption strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.1; }
.yt-caption span { display: block; margin-top: 4px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.78); font-weight: 600; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.yt.is-playing::after, .yt.is-playing .yt-play, .yt.is-playing .yt-caption { opacity: 0; }
.calm-video .yt { border-radius: var(--radius-lg); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }

.stories { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 18px; }
.stories-side { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; }
.stories-side .yt-play { width: 52px; height: 52px; }
.stories-side .yt-play .i { width: 20px; height: 20px; }
.stories-side .yt-caption strong { font-size: 1.08rem; }
.stories .yt--feature { height: 100%; min-height: 100%; aspect-ratio: auto; }
.stories-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.stories-foot .rating { margin: 0; padding: 0; border: 0; }

/* ---------- Why (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.tile {
  grid-column: span 2;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}
.tile--3 { grid-column: span 3; }
.tile--4 { grid-column: span 4; }
.tile--photo { padding: 0; border: 0; min-height: 300px; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile--photo figcaption { position: absolute; left: 16px; bottom: 16px; z-index: 1; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); color: var(--ink); font-size: 0.8rem; font-weight: 700; }
.tile--dark { background: var(--onyx); border-color: var(--onyx); color: #c9c4d1; }
.tile--dark h3 { color: #fff; }
.tile-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--pearl); color: var(--amethyst); margin-bottom: 26px; }
.tile-icon .i { width: 24px; height: 24px; }
.tile--dark .tile-icon { background: rgba(255, 255, 255, 0.08); color: var(--lilac); }
.tile h3 { font-size: clamp(1.6rem, 2.3vw, 2rem); margin-bottom: 10px; }
.tile p { margin: 0; font-size: 0.98rem; }
.tile-list { display: grid; gap: 8px; margin-top: 18px; font-size: 0.92rem; }
.tile-list li { display: flex; gap: 10px; align-items: baseline; }
.tile-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--wing); flex: none; transform: translateY(-2px); }
.specialists { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.specialists span { padding: 7px 12px; border-radius: 999px; background: var(--pearl); color: var(--ink); font-size: 0.82rem; font-weight: 700; }
.award-list { display: grid; gap: 14px; margin-top: 20px; }
.award-list li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: baseline; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.92rem; line-height: 1.45; }
.award-list b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--lilac); }
.award-list strong { color: #fff; font-weight: 700; }
.big-figure { font-family: var(--serif); font-size: clamp(3.4rem, 6vw, 5rem); line-height: 0.9; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 14px; }
.big-figure em { font-style: italic; background: var(--wing-ink); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.05em; }
.hours-mini { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin-top: 18px; font-size: 0.9rem; }
.hours-mini dt { color: var(--muted); }
.hours-mini dd { color: var(--ink); font-weight: 600; }

/* ---------- Team ---------- */
.team-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 52px); }
.team-head .section-head { margin: 0; }
.carousel-btns { display: flex; gap: 10px; flex: none; }
.team-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 20px) / 4);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.team-track::-webkit-scrollbar { display: none; }
.member { scroll-snap-align: start; }
.member a { color: inherit; text-decoration: none; display: block; }
.member-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: #e8e4eb; }
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
  filter: grayscale(1) contrast(1.06) brightness(1.03);
  transition: filter 0.6s var(--ease), transform 0.8s var(--ease);
}
.member a:hover .member-photo img, .member a:focus-visible .member-photo img { filter: none; transform: scale(1.035); }
.member-tag { position: absolute; left: 12px; top: 12px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--amethyst); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.member h3 { margin: 18px 0 4px; font-size: 1.6rem; line-height: 1.08; }
.member-role { margin: 0; color: var(--amethyst); font-weight: 700; font-size: 0.9rem; line-height: 1.4; }
.member-quals { margin: 6px 0 0; color: var(--muted); font-size: 0.8rem; line-height: 1.5; }
.member-gdc { margin: 8px 0 0; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
.team-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.team-foot p { margin: 0; max-width: 46em; font-size: 0.95rem; }

/* ---------- New patient offer ---------- */
.offer-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  border-radius: 32px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.offer-main { position: relative; padding: clamp(32px, 4.5vw, 64px); background: var(--onyx); color: #c9c4d1; overflow: hidden; }
.offer-main .calm-wing { right: -18%; height: 120%; opacity: 0.16; }
.offer-main h2 { font-size: clamp(2.5rem, 4.6vw, 3.9rem); position: relative; }
.offer-price { position: relative; display: flex; align-items: baseline; gap: 16px; margin: 30px 0 6px; }
.offer-price b { font-family: var(--serif); font-weight: 400; font-size: clamp(5rem, 10vw, 7.6rem); line-height: 0.85; color: #fff; letter-spacing: -0.03em; }
.offer-price s { font-size: 1.15rem; color: #8f8a99; }
.offer-price span { display: block; font-size: 0.8rem; color: var(--lilac); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.offer-main .lead { position: relative; margin: 18px 0 30px; color: #d6d1dd; }
.offer-main .btn { position: relative; }
.offer-phones { position: relative; display: grid; gap: 4px; margin-top: 22px; font-size: 0.9rem; }
.offer-phones a { color: #fff; font-weight: 700; text-decoration: none; }
.offer-phones a:hover { text-decoration: underline; }
.offer-detail { padding: clamp(32px, 4.5vw, 64px); }
.offer-detail h3 { font-family: var(--sans); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 600; line-height: 1.45; }
.checklist .i { width: 22px; height: 22px; color: var(--amethyst); stroke-width: 2.2; margin-top: 1px; }
.steps { display: grid; gap: 0; margin-top: 34px; counter-reset: step; }
.steps li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li::before { counter-increment: step; content: "0" counter(step); font-family: var(--serif); font-size: 1.7rem; line-height: 1; color: var(--amethyst); }
.steps strong { display: block; color: var(--ink); font-size: 1.02rem; }
.steps span { display: block; font-size: 0.92rem; color: var(--graphite); }

/* ---------- Prices & finance ---------- */
.pricing { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 20px; align-items: start; }
.price-list { padding: 8px clamp(22px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-row dt { color: var(--ink); font-weight: 700; font-size: 0.98rem; line-height: 1.35; }
.price-row dt small { display: block; color: var(--muted); font-weight: 500; font-size: 0.82rem; margin-top: 2px; }
.price-row dd { flex: none; text-align: right; font-family: var(--serif); font-size: 1.55rem; line-height: 1; color: var(--ink); white-space: nowrap; }
.price-row dd s { font-family: var(--sans); font-size: 0.85rem; color: var(--muted); margin-right: 6px; }
.price-row dd small { font-family: var(--sans); font-size: 0.75rem; color: var(--muted); font-weight: 600; }
.price-row dd.free { color: var(--amethyst); font-style: italic; }
.price-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0 14px; border-top: 1px solid var(--line); }
.pay-stack { display: grid; gap: 20px; }
.finance-card { position: relative; padding: clamp(28px, 3.4vw, 40px); border-radius: var(--radius-lg); background: var(--onyx); color: #c9c4d1; overflow: hidden; }
.finance-card .calm-wing { height: 150%; right: -26%; opacity: 0.14; }
.finance-zero { position: relative; display: flex; align-items: flex-end; gap: 14px; margin-bottom: 14px; }
.finance-zero b { font-family: var(--serif); font-weight: 400; font-size: clamp(4.6rem, 8vw, 6.2rem); line-height: 0.8; background: var(--wing-light); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -0.03em; padding-right: 0.04em; }
.finance-zero span { color: #fff; font-weight: 700; line-height: 1.3; padding-bottom: 6px; }
.finance-card p { position: relative; }
.finance-example { position: relative; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px 28px; margin: 22px 0; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.finance-example div { font-size: 0.78rem; color: #a9a3b3; }
.finance-example b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: #fff; line-height: 1.1; }
.member-card { padding: clamp(26px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--pearl); border: 1px solid #e3dcea; }
.member-card h3 { font-size: 1.9rem; margin-bottom: 8px; }
.member-card .from { color: var(--ink); font-weight: 700; margin-bottom: 10px; }
.member-card .from b { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; color: var(--amethyst); }

/* ---------- Locations ---------- */
.locations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.location { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.location-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.location-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.location:hover .location-photo img { transform: scale(1.03); }
.location-photo .chip { left: 16px; bottom: 16px; }
.location-body { display: flex; flex-direction: column; flex: 1; padding: clamp(24px, 3vw, 36px); }
.location h3 { font-size: clamp(2rem, 3.2vw, 2.6rem); }
.location address { margin: 8px 0 22px; font-style: normal; font-size: 1rem; }
.location-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.location-grid h4 { font-family: var(--sans); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 3px 16px; font-size: 0.9rem; }
.hours dt { color: var(--graphite); }
.hours dd { color: var(--ink); font-weight: 600; }
.hours .is-today { color: var(--amethyst); }
.getting-here { display: grid; gap: 8px; font-size: 0.9rem; line-height: 1.45; }
.getting-here li { display: flex; gap: 10px; }
.getting-here .i { width: 18px; height: 18px; color: var(--amethyst); margin-top: 1px; }
.location-contact { display: grid; gap: 6px; margin-top: 16px; font-size: 0.92rem; }
.location-contact a { color: var(--ink); font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.location-contact a:hover { text-decoration: underline; }
.location-contact .i { width: 17px; height: 17px; color: var(--amethyst); }
.location-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 26px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 28px); }
.faq-aside .section-head { margin-bottom: 26px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 24px 56px 24px 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 34px;
  height: 34px;
  margin-top: -17px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform 0.35s var(--ease), background-color 0.3s, border-color 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); border-color: var(--ink); }
.faq summary:hover::after { border-color: var(--ink); }
.faq-body { padding: 0 48px 26px 0; }
.faq-body p:last-child { margin-bottom: 0; }

/* ---------- Consultation (form) ---------- */
.consult { overflow: hidden; }
.consult .calm-wing { right: auto; left: -9%; height: min(140%, 900px); opacity: 0.12; transform: translateY(-50%) rotate(-12deg) scaleX(-1); }
.consult-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.consult h2 { font-size: clamp(2.7rem, 5.6vw, 4.8rem); }
.consult .lead { color: #d6d1dd; margin: 24px 0 34px; }
.consult-contact { display: grid; gap: 12px; }
.consult-contact a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s, border-color 0.3s;
}
.consult-contact a:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.3); }
.consult-contact span { display: block; font-size: 0.78rem; color: #a9a3b3; font-weight: 600; letter-spacing: 0.04em; }
.consult-contact strong { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.1; }
.consult-contact .i { width: 22px; height: 22px; color: var(--lilac); }
.consult-hours { margin-top: 22px; font-size: 0.86rem; color: #a9a3b3; }

.form-card { padding: clamp(26px, 3.4vw, 44px); border-radius: var(--radius-lg); background: var(--white); color: var(--graphite); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.6); }
.form-card h3 { font-size: clamp(1.9rem, 2.8vw, 2.4rem); }
.form-card h3 + p { margin: 8px 0 26px; font-size: 0.95rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { color: var(--ink); font-size: 0.86rem; font-weight: 700; padding: 0; }
.field .opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  background: var(--porcelain);
  color: var(--ink);
  font: 500 16px/1.4 var(--sans);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.field textarea { min-height: 104px; resize: vertical; }
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1820' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b9b0c3; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amethyst); background-color: #fff; box-shadow: 0 0 0 4px rgba(90, 42, 140, 0.14); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #b3261e; }
.field-error { color: #b3261e; font-size: 0.8rem; font-weight: 600; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--porcelain);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill input:focus-visible + span { outline: 2.5px solid var(--orchid); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.84rem; line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--amethyst); flex: none; }
.form-submit { display: grid; gap: 12px; margin-top: 6px; }
.form-submit .small-print { text-align: center; margin: 0; }
.hp { position: absolute !important; left: -9999px !important; }
.form-success { text-align: center; padding: 30px 6px; }
.form-success .wing-mark { width: 44px; color: var(--amethyst); margin: 0 auto 18px; }
.form-success h3 { margin-bottom: 10px; }
.form-success[hidden] { display: none; }
.form-status { margin: 0; color: #b3261e; font-size: 0.86rem; font-weight: 600; text-align: center; }

/* ---------- Social band ---------- */
.social-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding-block: 34px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.social-band p { margin: 0; color: #fff; font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; }
.social-band p span { color: #a9a3b3; }
.socials { display: flex; gap: 10px; }
.socials a { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); color: #fff; transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.socials a:hover { background: #fff; color: var(--onyx); border-color: #fff; }
.socials .i { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: #0a090d; color: #a29dab; font-size: 0.92rem; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 64px 48px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer-brand img { height: 64px; width: auto; }
.footer-brand p { margin: 20px 0 0; max-width: 30em; line-height: 1.6; }
.site-footer h4 { margin-bottom: 16px; color: #fff; font-family: var(--sans); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; }
.site-footer a { color: #ddd9e3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-practice + .footer-practice { margin-top: 20px; }
.footer-practice strong { display: block; color: #fff; font-weight: 700; }
.footer-practice address { font-style: normal; line-height: 1.55; }
.footer-legal { padding-block: 28px 40px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.78rem; line-height: 1.65; color: #86818f; }
.footer-legal p { margin: 0 0 10px; max-width: 110ch; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; }

/* ---------- Mobile action bar + call sheet ---------- */
.mobile-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 60;
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 8px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(15, 14, 19, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -12px rgba(15, 14, 19, 0.6);
  transform: translateY(160%);
  transition: transform 0.45s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar .btn { min-height: 50px; padding: 0 12px; }

.call-sheet {
  width: min(560px, calc(100% - 24px));
  margin: auto auto 12px;
  padding: 0;
  border: 0;
  border-radius: 26px;
  background: var(--porcelain);
  color: var(--graphite);
  box-shadow: var(--shadow-lg);
}
.call-sheet::backdrop { background: rgba(15, 14, 19, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.call-sheet-inner { padding: 22px; }
.call-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.call-sheet h2 { font-size: 1.9rem; }
.call-sheet a.call-option { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 20px; margin-top: 10px; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.call-option span { display: block; font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.call-option strong { font-family: var(--serif); font-weight: 400; font-size: 1.55rem; line-height: 1.1; }
.call-option .i { width: 22px; height: 22px; color: var(--amethyst); }
.call-sheet .small-print { margin: 14px 4px 2px; }
@media (min-width: 700px) {
  .call-sheet { margin: auto; }
}

/* ---------- Hero entrance (transform only, so text paints immediately) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 1s var(--ease) both; }
  .rise-d1 { animation-delay: 0.06s; }
  .rise-d2 { animation-delay: 0.12s; }
  .rise-d3 { animation-delay: 0.18s; }
}
@keyframes rise { from { transform: translateY(16px); } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: 0.08s; }
.js .reveal-d2 { transition-delay: 0.16s; }
.js .reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .awards-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .awards-track [aria-hidden="true"] { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .team-track { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
}

@media (max-width: 1024px) {
  .hero-grid { gap: 36px; }
  .chip--case { left: -12px; }
  .chip--award { right: -10px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calm-grid, .consult-grid, .faq-wrap { grid-template-columns: 1fr; }
  .calm > .calm-wing, .consult > .calm-wing { top: 0; height: 560px; opacity: 0.1; transform: rotate(-8deg); right: -140px; }
  .consult > .calm-wing { left: auto; transform: rotate(10deg); }
  .faq-aside { position: static; }
  .stories { grid-template-columns: 1fr; }
  .stories .yt--feature { aspect-ratio: 16 / 9; height: auto; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile--3, .tile--4 { grid-column: span 1; }
  .tile--wide-md { grid-column: span 2; }
  .pricing { grid-template-columns: 1fr; }
  .pay-stack { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
  .section-head--split { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 899px) {
  :root { --header-h: 68px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { justify-self: center; max-width: 460px; margin-top: 8px; }
  .topbar-phones { display: none; }
  .topbar .container { justify-content: center; text-align: center; }
  .brand img { height: 46px; }
  .header-actions .btn--book { display: none; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 86px; }
  .case { grid-template-columns: 1fr; }
  .offer-card { grid-template-columns: 1fr; }
  .locations { grid-template-columns: 1fr; }
  .team-track { grid-auto-columns: 46%; }
  .team-head { flex-direction: column; align-items: flex-start; }
  .carousel-btns { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .topbar { font-size: 0.78rem; }
  .topbar-offer .tag { display: none; }
  .eyebrow { letter-spacing: 0.2em; }
  .hero h1 { font-size: clamp(2.9rem, 13.5vw, 3.8rem); }
  .hero-ctas .btn { width: 100%; }
  .hero-checks { gap: 8px 16px; font-size: 0.86rem; }
  .chip { font-size: 0.76rem; padding: 9px 12px; }
  .chip--award { display: none; }
  .chip--case { left: 10px; bottom: 16px; }
  .hero-wing { right: -30%; }
  .paths { grid-template-columns: 1fr; }
  .stories-side { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stories-side .yt { aspect-ratio: 4 / 3; }
  .stories-side .yt-caption strong { font-size: 0.98rem; }
  .stories-side .yt-caption span { display: none; }
  .bento { grid-template-columns: 1fr; }
  .tile--wide-md { grid-column: span 1; }
  .form-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .team-track { grid-auto-columns: 74%; gap: 14px; }
  .finance-example { grid-template-columns: repeat(2, auto); }
  .pay-stack { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:last-child { grid-column: 1 / -1; }
  .faq summary { padding-right: 52px; }
  .faq-body { padding-right: 0; }
  .price-row dd { font-size: 1.35rem; }
}

/* The certification badge ships on a white tile: invert it and screen it onto dark backgrounds */
.calm-badge img { filter: grayscale(1) invert(1) brightness(1.15); mix-blend-mode: screen; }

/* Light cards placed inside dark sections keep light-surface typography */
.on-dark .form-card h3 { color: var(--ink); }
.on-dark .form-card .small-print { color: var(--muted); }
.on-dark .form-card a { color: var(--amethyst); }
