/* ==========================================================
   The London Skin and Hair Clinic: Adult Dermatology landing page
   Tokens match the staging site (thelondonskinandhairclinic.vercel.app)
   ========================================================== */
:root {
  --navy: #1b365d;
  --navy-deep: #0f2340;
  --navy-soft: #2c5074;
  --amber: #e89b45;
  --amber-deep: #c97b26;
  --amber-glow: rgba(232, 155, 69, 0.38);
  --ice: #f1f5fa;
  --mist: #dde6f1;
  --sage: #bdd7d6;
  --white: #ffffff;
  --ink: #14233a;
  --muted: #56677f;

  --display: 'Urbanist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-2xl: 44px;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;

  --sh-xl: 0 60px 120px -40px rgba(15, 35, 64, 0.55);
  --sh-lg: 0 40px 80px -30px rgba(15, 35, 64, 0.45);
  --sh-md: 0 18px 40px -18px rgba(15, 35, 64, 0.35);
  --sh-sm: 0 6px 18px -8px rgba(15, 35, 64, 0.25);

  --grad-navy: linear-gradient(135deg, #0f2340 0%, #1b365d 55%, #2c5074 100%);
  --grad-amber: linear-gradient(135deg, #f3b46b 0%, #e89b45 50%, #d9822c 100%);
  --grad-ice: linear-gradient(180deg, #f1f5fa 0%, #e6eef7 100%);
  --grad-sage: linear-gradient(160deg, #e9f2f2 0%, #bdd7d6 100%);

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(84px, 10vw, 150px);
  --hdr-h: 92px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ice);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.no-scroll { overflow: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
figure { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, blockquote { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--amber); color: var(--navy-deep); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.15rem, 1.4rem + 2.7vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--navy);
  max-width: 17ch;
  text-wrap: balance;
}
.h2--light { color: var(--white); }
.h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.4rem, 1.15rem + 0.8vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.lede { font-size: 1.14rem; color: var(--muted); max-width: 54ch; margin-top: 20px; text-wrap: pretty; }
.lede--light { color: rgba(255, 255, 255, 0.82); }
.kicker { font-weight: 700; color: var(--amber-deep); font-size: 1rem; margin-bottom: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 26px;
  border-radius: 999px; border: 0;
  background: var(--navy); color: var(--white);
  font-family: var(--sans); font-weight: 800; font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--amber { background: var(--grad-amber); color: var(--navy-deep); box-shadow: 0 14px 30px -12px var(--amber-glow); }
.btn--amber:hover { box-shadow: 0 20px 40px -12px rgba(232, 155, 69, 0.65); }
.btn--navy:hover { background: var(--navy-deep); box-shadow: var(--sh-md); }
.btn--glass { background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.24); }
.btn--outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--lg { min-height: 58px; padding: 16px 32px; font-size: 0.86rem; }
.btn--block { width: 100%; }

.textlink { font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 5px; transition: text-underline-offset 0.3s var(--ease), color 0.2s; }
.textlink:hover { text-underline-offset: 8px; color: var(--navy-deep); }
.textlink--light { color: var(--white); }

.round-btn {
  width: 54px; height: 54px; border-radius: 50%; flex: none;
  display: grid; place-items: center; cursor: pointer;
  background: var(--white); color: var(--navy); border: 1px solid var(--mist);
  box-shadow: var(--sh-sm); transition: background 0.25s, color 0.25s, transform 0.3s var(--ease);
}
.round-btn:hover { background: var(--navy); color: var(--white); transform: scale(1.06); }
.round-btn:disabled { opacity: 0.35; pointer-events: none; }

.glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}
.glass--dark {
  background: rgba(15, 35, 64, 0.55);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.stars { color: var(--amber); letter-spacing: 2px; font-size: 1rem; line-height: 1; }

/* Lens: the circular dermatoscope frame used for satellite images */
.lens {
  border-radius: 50%; overflow: hidden; position: relative;
  box-shadow: 0 0 0 8px var(--white), var(--sh-lg);
}
.lens::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), inset 0 0 40px rgba(15, 35, 64, 0.35);
  pointer-events: none;
}
.lens img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(12% 12% 12% 12% round var(--r-xl)); transition: clip-path 1.3s var(--ease); }
.reveal-img.is-in { clip-path: inset(0 0 0 0 round var(--r-xl)); }
.load-in { opacity: 0; transform: translateY(22px); animation: loadIn 1s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 0.11s + 0.2s); }
@keyframes loadIn { to { opacity: 1; transform: none; } }
[data-parallax] { --py: 0px; translate: 0 var(--py); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .load-in { opacity: 1; transform: none; animation: none; transition: none; }
  .reveal-img { clip-path: none; transition: none; }
  [data-parallax] { translate: none; }
}

/* ==========================================================
   HEADER
   ========================================================== */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; transition: background 0.4s, box-shadow 0.4s; }
.hdr__bar {
  max-width: 1500px; margin-inline: auto;
  height: var(--hdr-h); padding-inline: var(--gutter);
  display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center;
  transition: height 0.4s var(--ease);
}
.hdr__logo { grid-column: 1; display: block; }
.hdr__logo img { width: clamp(190px, 15vw, 240px); height: auto; filter: brightness(0) invert(1); transition: filter 0.4s; }
.hdr__nav { grid-column: 3; }
.hdr__nav ul { display: flex; gap: clamp(16px, 1.7vw, 30px); }
.hdr__nav a {
  display: block; padding: 10px 0; position: relative;
  font-weight: 800; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white); text-decoration: none;
}
.hdr__nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.hdr__nav a:hover::after, .hdr__nav a.is-active::after { transform: scaleX(1); }
.hdr__actions { grid-column: 5; display: flex; align-items: center; gap: 22px; }
.hdr__phone { display: flex; flex-direction: column; text-decoration: none; color: var(--white); line-height: 1.1; }
.hdr__phone-label { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.hdr__phone-num { font-size: 1.36rem; font-weight: 800; letter-spacing: 0.01em; white-space: nowrap; }
.hdr__mcta, .hdr__mobile { display: none; }

.hdr.is-scrolled { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 10px 30px -18px rgba(15, 35, 64, 0.45); }
.hdr.is-scrolled .hdr__bar { height: 76px; }
.hdr.is-scrolled .hdr__logo img { filter: none; }
.hdr.is-scrolled .hdr__nav a, .hdr.is-scrolled .hdr__phone { color: var(--navy); }
.hdr.is-scrolled .hdr__phone-label { color: var(--amber-deep); }

.icon-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.14); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer; text-decoration: none;
  transition: background 0.3s, color 0.3s;
}
.hdr.is-scrolled .icon-btn { background: var(--ice); color: var(--navy); border-color: var(--mist); }
.burger { width: 20px; height: 14px; position: relative; display: block; }
.burger i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.35s var(--ease), opacity 0.2s; }
.burger i:nth-child(1) { top: 0; } .burger i:nth-child(2) { top: 6px; } .burger i:nth-child(3) { top: 12px; }
.is-open .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.is-open .burger i:nth-child(2) { opacity: 0; }
.is-open .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: -1; padding: 110px var(--gutter) 40px;
  background: var(--grad-navy); color: var(--white); overflow-y: auto;
}
.mnav ul { display: grid; gap: 4px; }
.mnav li a {
  display: block; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 1.05rem; text-decoration: none;
}
.mnav__phone { display: flex; flex-direction: column; margin: 30px 0 22px; text-decoration: none; font-size: 1.7rem; font-weight: 800; }
.mnav__phone span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.hdr.menu-open { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hdr.menu-open .hdr__logo img { filter: brightness(0) invert(1); }
.hdr.menu-open .icon-btn { background: rgba(255,255,255,.14); color: var(--white); border-color: rgba(255,255,255,.4); }

@media (max-width: 1220px) {
  .hdr__nav, .hdr__actions { display: none; }
  .hdr__bar { grid-template-columns: 1fr auto; height: 76px; }
  .hdr__mobile { display: flex; gap: 10px; grid-column: 2; grid-row: 1; justify-self: end; }
  .hdr__logo, .hdr__mcta { grid-column: 1; grid-row: 1; justify-self: start; }
  .hdr__mcta { display: inline-flex; min-height: 44px; padding: 10px 18px; font-size: 0.74rem; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
  .hdr__logo { transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
  .hdr__logo img { width: 190px; }
  .hdr.is-scrolled:not(.menu-open) .hdr__logo { opacity: 0; transform: translateY(-8px); pointer-events: none; }
  .hdr.is-scrolled:not(.menu-open) .hdr__mcta { opacity: 1; transform: none; pointer-events: auto; }
  .hdr.is-scrolled .hdr__bar { height: 68px; }
}

/* ==========================================================
   HERO
   ========================================================== */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; color: var(--white); isolation: isolate; overflow: hidden; background: var(--navy-deep); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media img { display: none; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 35, 64, 0.94) 0%, rgba(15, 35, 64, 0.82) 34%, rgba(15, 35, 64, 0.35) 62%, rgba(15, 35, 64, 0.1) 100%),
    linear-gradient(0deg, rgba(15, 35, 64, 0.6) 0%, rgba(15, 35, 64, 0) 35%);
}
.hero__inner { padding-top: calc(var(--hdr-h) + 40px); padding-bottom: 90px; }
.hero__copy { max-width: 660px; }
.hero__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.5rem, 1.4rem + 3.1vw, 4.4rem);
  line-height: 1.0; letter-spacing: -0.035em; text-wrap: balance;
}
.hero__sub { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.28rem); color: rgba(255, 255, 255, 0.85); margin-top: 22px; max-width: 46ch; }
.hero__points { margin-top: 28px; display: grid; gap: 12px; }
.hero__points li { display: flex; gap: 14px; align-items: center; font-weight: 600; font-size: 1.05rem; }
.hero__points li::before {
  content: ''; flex: none; width: 24px; height: 24px; border-radius: 50%;
  min-width: 24px; aspect-ratio: 1; align-self: flex-start; margin-top: 1px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5.2l3.2 3L11 1.5' fill='none' stroke='%230f2340' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 10px no-repeat,
    var(--grad-amber);
  box-shadow: 0 6px 16px -6px var(--amber-glow);
}
.hero__ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badges { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; }
/* Wide screens: badges sit in the bottom-right corner of the hero, aligned to the content edge */
@media (min-width: 1200px) {
  .hero__badges {
    position: absolute; z-index: 2; margin: 0;
    right: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
    bottom: 44px;
  }
}
.gbadge, .cqcbadge {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  padding: 12px 20px 12px 14px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s, transform 0.35s var(--ease);
}
.gbadge:hover, .cqcbadge:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-2px); }
.gbadge__g { width: 44px; height: 44px; border-radius: 50%; background: var(--white); display: grid; place-items: center; flex: none; }
.gbadge__body { display: flex; flex-direction: column; line-height: 1.2; }
.gbadge__score { font-weight: 800; font-size: 1.3rem; display: flex; align-items: center; gap: 8px; }
.gbadge__count { font-size: 0.84rem; color: rgba(255, 255, 255, 0.78); }
.cqcbadge { padding: 12px 20px; }
.cqcbadge img { width: 132px; height: auto; }
.cqcbadge span { font-size: 0.8rem; line-height: 1.25; color: rgba(255, 255, 255, 0.78); max-width: 13ch; }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; width: 28px; height: 46px; border-radius: 20px; border: 2px solid rgba(255, 255, 255, 0.55); }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--amber); animation: scrollDot 2s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

@media (max-width: 820px) {
  .hero { min-height: 0; display: block; background: var(--navy-deep); }
  .hero__media { position: relative; height: 58svh; min-height: 340px; }
  .hero__shade { inset: auto 0 auto 0; top: 0; height: 58svh; min-height: 340px; background: linear-gradient(180deg, rgba(15,35,64,.45) 0%, rgba(15,35,64,0) 30%, rgba(15,35,64,0) 55%, rgba(15,35,64,.85) 85%, #0f2340 100%); z-index: 0; }
  .hero__inner { padding-top: 0; margin-top: -90px; position: relative; z-index: 1; padding-bottom: 56px; }
  .hero__scroll { display: none; }
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* ==========================================================
   REVIEWS TICKER
   ========================================================== */
.reviews {
  padding: var(--section) 0 calc(var(--section) * 0.8); overflow: hidden; position: relative; isolation: isolate;
  background: radial-gradient(70% 60% at 85% 10%, rgba(232, 155, 69, 0.16) 0%, rgba(232, 155, 69, 0) 70%), var(--grad-navy);
}
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 50px; }
.reviews__score { display: flex; align-items: center; gap: 16px; color: var(--white); }
.reviews__score strong { font-family: var(--display); font-size: 3.4rem; line-height: 1; font-weight: 700; }
.reviews__score span { display: block; color: rgba(255,255,255,.78); font-size: 0.95rem; }
.ticker { position: relative; }
.ticker__track { display: flex; gap: 24px; width: max-content; animation: tick 110s linear infinite; padding: 10px 0 40px; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track, .ticker.is-paused .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(calc(-50% - 12px)); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } .ticker { overflow-x: auto; } }
.rcard {
  position: relative; width: 380px; height: 330px; flex: none;
  padding: 30px 30px 26px; border-radius: var(--r-lg);
  background: var(--white); box-shadow: var(--sh-md);
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.rcard:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.rcard__g { position: absolute; top: 26px; right: 26px; }
.rcard__who { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding-right: 40px; }
.rcard__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--white); background: var(--grad-navy); flex: none; }
.rcard__name { font-weight: 700; color: var(--navy); line-height: 1.2; }
.rcard__text { margin-top: 14px; color: var(--ink); font-size: 0.98rem; line-height: 1.6; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; }
.rcard__more { margin-top: auto; align-self: flex-start; background: none; border: 0; padding: 6px 0 0; font-weight: 800; color: var(--amber-deep); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.rcard__more.is-hidden { visibility: hidden; }
.reviews__foot { margin-top: 10px; display: flex; justify-content: center; }
@media (max-width: 560px) { .rcard { width: 300px; height: 360px; padding: 26px 24px 22px; } .rcard__text { -webkit-line-clamp: 8; } }

/* Review modal */
.rmodal { border: 0; padding: 0; border-radius: var(--r-xl); max-width: min(620px, calc(100vw - 32px)); width: 100%; box-shadow: var(--sh-xl); }
.rmodal::backdrop { background: rgba(15, 35, 64, 0.7); backdrop-filter: blur(4px); }
.rmodal__inner { padding: 40px; position: relative; }
.rmodal__close { position: absolute; top: 16px; right: 16px; }
.rmodal__body { margin-top: 18px; display: grid; gap: 12px; max-height: 60vh; overflow: auto; }
.rmodal[open] { animation: pop 0.45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(0.97); } }

/* ==========================================================
   INTRO
   ========================================================== */
.intro { padding: var(--section) 0; position: relative; }
.intro__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.intro__text {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.55rem, 1.15rem + 1.4vw, 2.45rem);
  line-height: 1.28; letter-spacing: -0.02em; color: var(--navy);
  max-width: 30ch;
}
.intro__text .q { color: var(--navy-soft); }
.intro__ctas { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 40px; }
.intro__collage { position: relative; aspect-ratio: 0.92; }
.intro__main { position: absolute; inset: 0 0 12% 14%; border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--sh-lg); }
.intro__main img { width: 100%; height: 100%; object-fit: cover; }
.intro__lens { position: absolute; width: 42%; aspect-ratio: 1; left: 0; bottom: 0; }
.intro__chip { position: absolute; right: -12px; top: 8%; padding: 18px 22px; max-width: 230px; }
.intro__chip strong { display: block; font-family: var(--display); font-size: 1.7rem; line-height: 1.1; color: var(--navy); }
.intro__chip span { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 900px) { .intro__grid { grid-template-columns: 1fr; } .intro__chip { right: 0; } }

/* ==========================================================
   BEFORE & AFTER
   ========================================================== */
.ba { padding: var(--section) 0; background: var(--grad-navy); color: var(--white); position: relative; overflow: hidden; }
.ba::before { content: ''; position: absolute; width: 900px; height: 900px; right: -300px; top: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(232,155,69,.22) 0%, rgba(232,155,69,0) 65%); pointer-events: none; }
.ba__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 50px; }
.ba__ctrls { display: flex; gap: 12px; }
.ba__viewport { overflow: hidden; }
.ba__track { display: flex; gap: 28px; transition: transform 0.8s var(--ease); }
.bacase { flex: 0 0 calc((100% - 56px) / 3); }
@media (max-width: 1000px) { .bacase { flex-basis: calc((100% - 28px) / 2); } }
@media (max-width: 640px) { .bacase { flex-basis: 86%; } }
.bacomp {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-lg); --pos: 50%; user-select: none; touch-action: pan-y;
  background: var(--navy-soft);
}
.bacomp__img { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.bacomp__img img { width: 100%; height: 100%; object-fit: cover; }
.bacomp__after { clip-path: inset(0 0 0 var(--pos)); }
.ph { width: 100%; height: 100%; display: grid; align-content: end; gap: 6px; padding: 26px 26px 34px; }
.ph--before { justify-items: start; text-align: left; }
.ph--after { justify-items: end; text-align: right; }
.ph--before { background: radial-gradient(120% 90% at 30% 20%, #3a5f86 0%, #1b365d 55%, #0f2340 100%); color: rgba(255,255,255,.75); }
.ph--after { background: radial-gradient(120% 90% at 70% 20%, #f6dcb8 0%, #e3c49c 40%, #bdd7d6 100%); color: var(--navy); }
.ph svg { opacity: 0.8; }
.ph strong { font-family: var(--display); font-size: 1.4rem; }
.ph small { font-size: 0.85rem; max-width: 22ch; }
.bacomp__tag { position: absolute; top: 18px; padding: 6px 14px; border-radius: 999px; font-size: 0.8rem; font-weight: 800; background: rgba(15,35,64,.7); color: var(--white); backdrop-filter: blur(6px); z-index: 2; }
.bacomp__tag--b { left: 18px; } .bacomp__tag--a { right: 18px; background: rgba(255,255,255,.85); color: var(--navy); }
.bacomp__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--white); z-index: 2; pointer-events: none; box-shadow: 0 0 20px rgba(0,0,0,.3); }
.bacomp__knob { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: var(--grad-amber); display: grid; place-items: center; color: var(--navy-deep); box-shadow: 0 10px 26px -8px rgba(0,0,0,.5); }
.bacomp input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.bacomp:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 4px; }
.bacase figcaption { margin-top: 18px; }
.bacase figcaption strong { display: block; font-family: var(--display); font-size: 1.25rem; font-weight: 600; }
.bacase figcaption span { color: rgba(255,255,255,.72); font-size: 0.95rem; }
.ba__note { margin-top: 44px; font-size: 0.9rem; color: rgba(255,255,255,.65); max-width: 70ch; }

/* ==========================================================
   CONDITIONS (bento mosaic)
   ========================================================== */
.cond { padding: var(--section) 0; }
.cond__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 54px; }
@media (max-width: 860px) { .cond__head { grid-template-columns: 1fr; } }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 20px; }
.tile { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-md); color: var(--white); text-decoration: none; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,35,64,0) 35%, rgba(15,35,64,.9) 100%); transition: background 0.5s; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.07); }
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 26px; }
.tile h3 { font-family: var(--display); font-weight: 600; font-size: 1.55rem; line-height: 1.1; }
.tile p { font-size: 0.95rem; color: rgba(255,255,255,.82); max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.6s var(--ease), opacity 0.4s, margin 0.4s; }
.tile:hover p, .tile:focus-visible p { max-height: 8em; opacity: 1; margin-top: 8px; }
@media (hover: none) { .tile p { max-height: none; opacity: 1; margin-top: 8px; } }
.tile--xl { grid-column: span 2; grid-row: span 2; }
.tile--xl h3 { font-size: 2.2rem; }
.tile--tall { grid-row: span 2; }
.tile--wide { grid-column: span 2; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; grid-auto-rows: 260px; } .tile--xl, .tile--wide, .tile--tall { grid-column: auto; grid-row: auto; } .tile--xl { grid-row: span 1; } }
.cond__more { margin-top: 44px; padding: 32px 36px; display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; border-radius: var(--r-xl); background: var(--white); box-shadow: var(--sh-sm); }
.cond__more p { font-weight: 700; color: var(--navy); max-width: 22ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { padding: 8px 16px; border-radius: 999px; background: var(--ice); color: var(--navy); font-weight: 600; font-size: 0.92rem; text-decoration: none; border: 1px solid var(--mist); transition: background 0.25s, color 0.25s, border-color 0.25s; }
.chips a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
@media (max-width: 760px) { .cond__more { grid-template-columns: 1fr; padding: 26px; } }

/* ==========================================================
   WHY CHOOSE (full-bleed image, offset glass cards)
   ========================================================== */
.why { position: relative; padding: var(--section) 0; color: var(--white); isolation: isolate; overflow: hidden; }
.why__bg { position: absolute; inset: -8% 0; z-index: -2; }
.why__bg img { width: 100%; height: 100%; object-fit: cover; }
.why::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(15,35,64,.95) 0%, rgba(15,35,64,.82) 42%, rgba(15,35,64,.45) 100%); }
.why__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.why__intro { position: sticky; top: 130px; }
.why__stats { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.why__stats strong { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 2rem + 1.5vw, 3.3rem); line-height: 1; color: var(--amber); }
.why__stats span { font-size: 0.92rem; color: rgba(255,255,255,.78); }
.why__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.wcard { padding: 30px; border-radius: var(--r-lg); }
.wcard:nth-child(even) { transform: translateY(60px); }
.wcard__icon { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: var(--grad-amber); color: var(--navy-deep); margin-bottom: 20px; box-shadow: 0 10px 24px -10px var(--amber-glow); }
.wcard h3 { font-family: var(--display); font-weight: 600; font-size: 1.35rem; line-height: 1.2; margin-bottom: 10px; }
.wcard p { color: rgba(255,255,255,.8); font-size: 0.98rem; }
@media (max-width: 960px) { .why__grid { grid-template-columns: 1fr; } .why__intro { position: static; } }
@media (max-width: 620px) { .why__cards { grid-template-columns: 1fr; } .wcard:nth-child(even) { transform: none; } }

/* ==========================================================
   CONSULTANTS (tabbed spotlight)
   ========================================================== */
.team { padding: calc(var(--section) + 40px) 0 var(--section); background: var(--grad-ice); }
.team__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 56px; }
.team__stage { display: grid; grid-template-columns: 0.42fr 0.58fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.team__tabs { display: grid; gap: 12px; }
.team__tab {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; cursor: pointer;
  padding: 14px 18px 14px 14px; border-radius: 22px; border: 1px solid transparent;
  background: transparent; transition: background 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.team__tab img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; filter: grayscale(0.5); transition: filter 0.35s; }
.team__tab strong { display: block; font-family: var(--display); font-size: 1.2rem; color: var(--navy); line-height: 1.2; }
.team__tab span { font-size: 0.88rem; color: var(--muted); }
.team__tab:hover { background: rgba(255,255,255,.6); }
.team__tab[aria-selected=true] { background: var(--white); box-shadow: var(--sh-md); border-color: var(--mist); }
.team__tab[aria-selected=true] img { filter: none; }
.team__panel { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 0; align-items: center; position: relative; }
.team__panel[hidden] { display: none; }
.team__photo { border-radius: var(--r-2xl); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--sh-lg); position: relative; z-index: 1; }
.team__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team__card { margin-left: -90px; position: relative; z-index: 2; padding: 34px; border-radius: var(--r-xl); background: var(--white); box-shadow: var(--sh-lg); }
.team__card h3 { font-family: var(--display); font-weight: 600; font-size: 1.8rem; color: var(--navy); line-height: 1.1; }
.team__role { color: var(--amber-deep); font-weight: 700; margin-top: 6px; }
.team__letters { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.team__card p.bio { margin-top: 16px; font-size: 0.98rem; color: var(--ink); }
.team__focus { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.team__focus li { padding: 6px 12px; border-radius: 999px; background: var(--grad-sage); color: var(--navy); font-size: 0.84rem; font-weight: 700; }
.team__panel.is-anim .team__photo { animation: photoIn 0.9s var(--ease); }
.team__panel.is-anim .team__card { animation: cardIn 0.9s var(--ease); }
@keyframes photoIn { from { opacity: 0; transform: scale(0.96); } }
@keyframes cardIn { from { opacity: 0; transform: translateX(30px); } }
@media (max-width: 1060px) { .team__stage { grid-template-columns: 1fr; } .team__tabs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .team__tabs { grid-template-columns: 1fr 1fr; gap: 8px; }
  .team__tab { flex-direction: column; text-align: center; padding: 12px 8px; }
  .team__tab > span > span { display: none; }
  .team__tab strong { font-size: 1rem; }
  .team__panel { grid-template-columns: 1fr; }
  .team__photo { aspect-ratio: 1; }
  .team__card { margin: -70px 14px 0; padding: 26px; }
}

/* ==========================================================
   TREATMENTS (sticky image swap)
   ========================================================== */
.treat { padding: var(--section) 0; }
.treat__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.treat__visual { position: sticky; top: 110px; height: min(78vh, 720px); }
.treat__frame { position: absolute; inset: 0 10% 10% 0; border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--sh-lg); background: var(--navy); }
.treat__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 0.8s var(--ease), transform 1.2s var(--ease); }
.treat__frame img.is-on { opacity: 1; transform: none; }
.treat__lens { position: absolute; width: 38%; aspect-ratio: 1; right: 0; bottom: 0; }
.treat__lens img { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s var(--ease); }
.treat__lens img.is-on { opacity: 1; }
.treat__list { margin-top: 44px; border-top: 1px solid var(--mist); }
.titem { border-bottom: 1px solid var(--mist); }
.titem button { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 24px 0; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.titem h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.7rem); color: var(--navy); transition: color 0.3s, transform 0.4s var(--ease); }
.titem .plus { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--mist); display: grid; place-items: center; color: var(--navy); transition: transform 0.4s var(--ease), background 0.3s, border-color 0.3s; }
.titem.is-on h3 { color: var(--amber-deep); transform: translateX(6px); }
.titem.is-on .plus { transform: rotate(45deg); background: var(--navy); color: var(--white); border-color: var(--navy); }
.titem__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.titem.is-on .titem__body { grid-template-rows: 1fr; }
.titem__body > div { overflow: hidden; }
.titem__body p { color: var(--muted); padding-bottom: 24px; max-width: 52ch; }
.titem__body img { display: none; }
@media (max-width: 900px) {
  .treat__grid { grid-template-columns: 1fr; }
  .treat__visual { display: none; }
  .titem__body img { display: block; border-radius: var(--r-lg); margin-bottom: 18px; aspect-ratio: 16/10; object-fit: cover; width: 100%; }
}

/* ==========================================================
   PATIENT JOURNEY (timeline of lenses)
   ========================================================== */
.journey { padding: var(--section) 0; background: var(--white); position: relative; overflow: hidden; }
.journey__head { text-align: center; display: grid; justify-items: center; margin-bottom: 70px; }
.journey__head .lede { margin-inline: auto; }
.journey__line { position: absolute; left: 10%; right: 10%; top: 95px; height: 4px; border-radius: 4px; background: var(--mist); overflow: hidden; }
.journey__line span { position: absolute; inset: 0; background: var(--grad-amber); transform-origin: left; transform: scaleX(var(--p, 0)); }
.journey__wrap { position: relative; }
.journey__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.jstep { text-align: center; display: grid; justify-items: center; }
.jstep__lens { width: 190px; height: 190px; position: relative; }
.jstep__n { position: absolute; top: 0; right: 4px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-amber); color: var(--navy-deep); font-weight: 800; font-family: var(--display); font-size: 1.2rem; box-shadow: 0 0 0 5px var(--white); z-index: 2; }
.jstep h3 { font-family: var(--display); font-weight: 600; font-size: 1.35rem; color: var(--navy); margin-top: 26px; }
.jstep p { color: var(--muted); font-size: 0.98rem; margin-top: 8px; max-width: 30ch; }
@media (max-width: 960px) {
  .journey__steps { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .journey__line { display: none; }
}
@media (max-width: 560px) {
  .journey__steps { grid-template-columns: 1fr; }
  .jstep { grid-template-columns: 110px 1fr; text-align: left; column-gap: 20px; justify-items: start; align-items: center; }
  .jstep__lens { width: 110px; height: 110px; grid-row: span 2; }
  .jstep__n { width: 36px; height: 36px; font-size: 1rem; right: -4px; }
  .jstep h3 { margin-top: 0; }
}

/* ==========================================================
   FULL-BLEED TESTIMONIAL
   ========================================================== */
.quote { position: relative; min-height: 88vh; display: grid; align-items: center; color: var(--white); isolation: isolate; overflow: hidden; }
.quote__bg { position: absolute; inset: -10% 0; z-index: -2; }
.quote__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.quote::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,35,64,.95) 0%, rgba(15,35,64,.7) 45%, rgba(15,35,64,.05) 80%); }
.quote__inner { padding: var(--section) var(--gutter); }
.quote blockquote { max-width: 760px; }
.quote__mark { font-family: var(--display); font-size: 9rem; line-height: 0.6; color: var(--amber); display: block; height: 60px; }
.quote blockquote p { font-family: var(--display); font-weight: 500; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.3rem); line-height: 1.15; letter-spacing: -0.025em; text-wrap: balance; }
.quote footer { margin-top: 32px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.quote footer strong { font-size: 1.1rem; }
.quote__note { position: absolute; left: var(--gutter); bottom: 22px; font-size: 0.75rem; color: rgba(255,255,255,.6); }
@media (max-width: 760px) {
  .quote { min-height: 0; }
  .quote::before { background: linear-gradient(180deg, rgba(15,35,64,.25) 0%, rgba(15,35,64,.92) 55%); }
  .quote__inner { padding-top: 46vh; }
}

/* ==========================================================
   INSURANCE & SELF-PAY
   ========================================================== */
.ins { padding: var(--section) 0; }
.ins__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.ins__media { position: relative; padding-bottom: 80px; }
.ins__img { border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 4/3; }
.ins__img img { width: 100%; height: 100%; object-fit: cover; }
.ins__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; position: absolute; left: 6%; right: -6%; bottom: 0; }
.icard { padding: 26px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-lg); }
.icard--navy { background: var(--grad-navy); color: var(--white); }
.icard h3 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: inherit; margin-bottom: 8px; }
.icard:not(.icard--navy) h3 { color: var(--navy); }
.icard p { font-size: 0.94rem; opacity: 0.85; }
.ins__list { margin-top: 30px; display: grid; gap: 14px; }
.ins__list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--ink); }
.ins__list svg { color: var(--amber-deep); margin-top: 3px; }
.insurers { margin-top: 30px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.insurers ul { display: flex; gap: 10px; width: max-content; animation: tick 50s linear infinite; }
.insurers:hover ul { animation-play-state: paused; }
.insurers li { padding: 10px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--mist); font-weight: 700; color: var(--navy); font-size: 0.92rem; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .insurers ul { animation: none; flex-wrap: wrap; width: auto; } }
@media (max-width: 960px) { .ins__grid { grid-template-columns: 1fr; } .ins__media { order: 2; } }
@media (max-width: 560px) { .ins__media { padding-bottom: 0; } .ins__cards { position: static; grid-template-columns: 1fr; margin-top: -40px; padding: 0 14px; } }

/* ==========================================================
   FEES
   ========================================================== */
.fees { padding: var(--section) 0; background: var(--grad-navy); color: var(--white); position: relative; overflow: hidden; }
.fees::after { content: ''; position: absolute; width: 700px; height: 700px; left: -260px; bottom: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(189,215,214,.2), rgba(189,215,214,0) 65%); pointer-events: none; }
.fees__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 5vw, 80px); align-items: start; position: relative; z-index: 1; }
.fees__media { position: relative; margin-top: 40px; }
.fees__img { border-radius: var(--r-2xl); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--sh-xl); width: 82%; }
.fees__img img { width: 100%; height: 100%; object-fit: cover; }
.fees__lens { position: absolute; width: 44%; aspect-ratio: 1; right: 0; bottom: -30px; }
.fees__lens.lens { box-shadow: 0 0 0 8px var(--navy), var(--sh-lg); }
.fees__lead { display: flex; align-items: baseline; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.fees__lead strong { font-family: var(--display); font-weight: 700; font-size: 4.2rem; line-height: 1; color: var(--amber); }
.fees__panel { background: var(--white); color: var(--ink); border-radius: var(--r-xl); box-shadow: var(--sh-xl); padding: 14px; }
.ftabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--ice); border-radius: 22px; padding: 6px; }
.ftabs button { border: 0; background: transparent; padding: 12px 10px; border-radius: 16px; font-weight: 800; color: var(--navy); cursor: pointer; font-size: 0.95rem; transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.ftabs button[aria-selected=true] { background: var(--navy); color: var(--white); box-shadow: var(--sh-sm); }
.fpanel { padding: 14px 22px 10px; }
.fpanel[hidden] { display: none; }
.fpanel.is-anim { animation: fadeUp 0.6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
.frow { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 16px 0; border-bottom: 1px dashed var(--mist); align-items: baseline; }
.frow:last-child { border-bottom: 0; }
.frow span { color: var(--ink); }
.frow small { display: block; color: var(--muted); font-size: 0.85rem; }
.frow strong { font-family: var(--display); font-weight: 700; color: var(--navy); font-size: 1.25rem; white-space: nowrap; }
.fees__notes { margin-top: 22px; font-size: 0.9rem; color: rgba(255,255,255,.72); display: grid; gap: 8px; }
@media (max-width: 960px) { .fees__grid { grid-template-columns: 1fr; } .fees__media { display: none; } }
@media (max-width: 480px) { .ftabs button { font-size: 0.82rem; padding: 10px 4px; } .fpanel { padding: 10px 12px; } }

/* ==========================================================
   FAQ
   ========================================================== */
.faq { padding: var(--section) 0; }
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq__aside { position: sticky; top: 120px; }
.faq__stack { position: relative; margin-top: 40px; height: 380px; }
.faq__stack figure { position: absolute; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); }
.faq__stack figure img { width: 100%; height: 100%; object-fit: cover; }
.faq__stack .s1 { inset: 0 22% 18% 0; }
.faq__stack .s2 { width: 48%; aspect-ratio: 4/5; right: 0; bottom: 0; transform: rotate(3deg); box-shadow: 0 0 0 6px var(--ice), var(--sh-lg); }
.faq__help { margin-top: 30px; padding: 24px 26px; }
.faq__help a.big { display: block; font-family: var(--display); font-weight: 700; font-size: 1.7rem; color: var(--navy); text-decoration: none; margin-top: 6px; }
.qa { border-radius: var(--r-lg); background: var(--white); margin-bottom: 14px; box-shadow: var(--sh-sm); transition: box-shadow 0.35s; }
.qa[open] { box-shadow: var(--sh-md); }
.qa summary { list-style: none; cursor: pointer; padding: 24px 28px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; font-family: var(--display); font-weight: 600; font-size: 1.22rem; color: var(--navy); line-height: 1.3; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { width: 36px; height: 36px; border-radius: 50%; background: var(--ice); position: relative; transition: background 0.3s, transform 0.4s var(--ease); }
.qa summary i::before, .qa summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--navy); border-radius: 2px; transition: background 0.3s; }
.qa summary i::after { transform: rotate(90deg); transition: transform 0.4s var(--ease); }
.qa[open] summary i { background: var(--navy); transform: rotate(180deg); }
.qa[open] summary i::before { background: var(--white); }
.qa[open] summary i::after { transform: rotate(0); background: var(--white); }
.qa__a { padding: 0 28px 26px; color: var(--muted); }
.qa__a p + p, .qa__a p + a { margin-top: 10px; display: inline-block; }
@media (max-width: 960px) { .faq__grid { grid-template-columns: 1fr; } .faq__aside { position: static; } .faq__stack { display: none; } }

/* ==========================================================
   VISIT
   ========================================================== */
.visit { position: relative; padding: var(--section) 0; color: var(--white); isolation: isolate; overflow: hidden; }
.visit__bg { position: absolute; inset: 0; z-index: -2; }
.visit__bg img { width: 100%; height: 100%; object-fit: cover; }
.visit::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,35,64,.72) 0%, rgba(15,35,64,.86) 100%); }
.visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4vw, 60px); align-items: center; }
.visit__card { padding: 34px; margin-top: 34px; }
.visit__card dl { display: grid; gap: 18px; }
.visit__card dt { font-size: 0.85rem; color: var(--amber); font-weight: 800; }
.visit__card dd { font-size: 1.05rem; }
.visit__card dd a { color: var(--white); }
.visit__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.visit__map { position: relative; }
.visit__map iframe { background: var(--navy-soft); width: 100%; aspect-ratio: 1 / 1.05; border: 0; border-radius: var(--r-2xl); box-shadow: var(--sh-xl); display: block; filter: saturate(0.85); }
.visit__sat { position: absolute; width: 40%; aspect-ratio: 1; left: -60px; bottom: -40px; }
.visit__sat.lens { box-shadow: 0 0 0 8px rgba(255,255,255,.9), var(--sh-lg); }
.visit__photos { display: flex; gap: 16px; margin-top: 22px; }
.visit__photos figure { flex: 1; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--sh-md); }
.visit__photos img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) { .visit__grid { grid-template-columns: 1fr; } .visit__sat { left: auto; right: -10px; width: 34%; } }

/* ==========================================================
   BOOKING FORM
   ========================================================== */
.book { padding: var(--section) 0; position: relative; }
.book__shell { display: grid; grid-template-columns: 0.9fr 1.1fr; border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--sh-xl); background: var(--white); }
.book__media { position: relative; min-height: 560px; color: var(--white); padding: 44px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.book__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.book__media::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,35,64,.1) 20%, rgba(15,35,64,.92) 100%); }
.book__media ul { display: grid; gap: 10px; margin-top: 20px; }
.book__media li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.book__media li svg { color: var(--amber); flex: none; }
.book__phone { margin-top: 26px; display: inline-flex; flex-direction: column; text-decoration: none; }
.book__phone span { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.book__phone strong { font-size: 1.9rem; font-family: var(--display); }
.book__form { padding: clamp(28px, 4vw, 56px); background: linear-gradient(160deg, #ffffff 0%, #f1f5fa 100%); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; margin-top: 30px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.field label i { color: var(--amber-deep); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 18px; border-radius: 16px; border: 1.5px solid var(--mist); background: var(--white);
  font-size: 1rem; transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231b365d' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") right 18px center / 12px no-repeat; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(27,54,93,.12); }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-color: #c0392b; }
.field__err { color: #b03224; font-size: 0.85rem; font-weight: 600; min-height: 0; }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 0.88rem; color: var(--muted); align-items: start; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); }
.book__submit { grid-column: 1 / -1; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.book__submit small { color: var(--muted); }
.book__done { padding: 30px; border-radius: var(--r-lg); background: var(--grad-sage); color: var(--navy); margin-top: 30px; }
.book__done h3 { font-family: var(--display); font-size: 1.6rem; }
@media (max-width: 960px) { .book__shell { grid-template-columns: 1fr; } .book__media { min-height: 560px; } }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } .book__media { padding: 28px; } }

/* ==========================================================
   FOOTER
   ========================================================== */
.ftr { background: var(--navy-deep); color: rgba(255,255,255,.82); padding: 90px 0 30px; position: relative; overflow: hidden; }
.ftr::before { content: ''; position: absolute; width: 800px; height: 800px; right: -300px; top: -400px; border-radius: 50%; background: radial-gradient(circle, rgba(232,155,69,.14), rgba(232,155,69,0) 65%); }
.ftr__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px; position: relative; }
.ftr__logo { width: 240px; filter: brightness(0) invert(1); }
.ftr__brand p { margin-top: 20px; max-width: 40ch; }
.ftr__h { color: var(--white); font-weight: 800; font-family: var(--display); font-size: 1.15rem; margin-bottom: 16px; }
.ftr address span { display: block; }
.ftr__phone { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 1.7rem; color: var(--white); text-decoration: none; margin: 14px 0 4px; }
.ftr a { text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 4px; }
.ftr a:hover { color: var(--white); }
.ftr__hours { margin-top: 14px; display: grid; gap: 4px; font-size: 0.95rem; }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: var(--white); transition: background 0.3s, transform 0.3s var(--ease); }
.social a:hover { background: var(--amber); color: var(--navy-deep); transform: translateY(-3px); }
.ftr__disc { margin-top: 60px; padding: 24px 28px; border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); font-size: 0.86rem; color: rgba(255,255,255,.68); position: relative; }
.ftr__disc strong { color: var(--white); }
.ftr__base { margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.88rem; position: relative; }
.ftr__omd { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.ftr__omd img { width: 18px; height: 18px; }
@media (max-width: 900px) { .ftr__grid { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .ftr__grid { grid-template-columns: 1fr; } }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad-amber); color: var(--navy-deep); box-shadow: 0 16px 34px -12px rgba(15,35,64,.55);
  display: grid; place-items: center; opacity: 0; transform: translateY(16px) scale(0.9); pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

/* Grid children must be allowed to shrink below their content width */
.intro__grid > *, .treat__grid > *, .why__grid > *, .ins__grid > *, .fees__grid > *, .faq__grid > *, .visit__grid > *, .book__shell > *, .team__stage > *, .cond__head > * { min-width: 0; }

.book__media > img { object-position: center 35%; }
@media (max-width: 560px) {
  .hero__badges { gap: 10px; }
  .gbadge, .cqcbadge { padding: 10px 14px 10px 10px; border-radius: 16px; }
  .gbadge__g { width: 38px; height: 38px; }
  .gbadge__score { font-size: 1.1rem; }
  .cqcbadge img { width: 96px; }
}

/* Reduced motion: show the still poster instead of the hero video */
@media (prefers-reduced-motion: reduce) {
  .hero__media video { display: none; }
  .hero__media img { display: block; }
}

/* Mobile: hide the floating "24 consultants" card in the intro collage */
@media (max-width: 820px) { .intro__chip { display: none; } }

/* Mobile before/after: let the track bleed to the screen edge so the next case peeks in */
@media (max-width: 640px) {
  .ba__viewport { margin-right: calc(var(--gutter) * -1); }
  .ba__track { gap: 16px; }
  .bacase { flex-basis: 80%; }
  .ph small { display: none; }
  .ph { padding: 20px 20px 26px; }
}

/* Mobile conditions: compact rows, small image on the left and text on the right */
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 12px; }
  .bento .tile, .bento .tile--xl, .bento .tile--wide, .bento .tile--tall { grid-column: auto; grid-row: auto; }
  .tile {
    display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center;
    padding: 10px 16px 10px 10px; border-radius: var(--r-lg);
    background: var(--white); color: var(--ink); box-shadow: var(--sh-sm);
  }
  .tile::before { display: none; }
  .tile img { position: static; z-index: auto; width: 96px; height: 96px; border-radius: 18px; }
  .tile:hover img, .tile:focus-visible img { transform: none; }
  .tile__body { position: static; padding: 0; }
  .tile h3, .tile--xl h3 { font-size: 1.15rem; color: var(--navy); }
  .tile p, .tile:hover p, .tile:focus-visible p { max-height: none; opacity: 1; margin-top: 4px; font-size: 0.88rem; line-height: 1.45; color: var(--muted); }
}

/* Mobile: hide the round building image beside the map */
@media (max-width: 820px) { .visit__sat { display: none; } }

/* ==========================================================
   CONSULTANTS: full directory in a scrollable list
   ========================================================== */
.team__stage { align-items: start; }
.team__count { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; padding: 0 6px; }
.team__count strong { font-family: var(--display); font-size: 1.15rem; color: var(--navy); }
.team__hint { font-size: 0.85rem; font-weight: 700; color: var(--amber-deep); display: inline-flex; align-items: center; gap: 6px; transition: opacity 0.4s; }
.team__hint::after { content: ''; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); animation: hintBob 1.6s var(--ease) infinite; }
.team__hint.is-done { opacity: 0; }
@keyframes hintBob { 50% { translate: 0 4px; } }
.team__scroller {
  max-height: 600px; overflow-y: auto; scroll-behavior: smooth;
  padding: 6px 10px 6px 4px; margin: 0 -10px 0 -4px;
  scrollbar-width: thin; scrollbar-color: var(--amber) transparent;
  --fade-top: 0px; --fade-bottom: 56px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--fade-top), #000 calc(100% - var(--fade-bottom)), transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 var(--fade-top), #000 calc(100% - var(--fade-bottom)), transparent 100%);
}
.team__scroller.is-scrolled { --fade-top: 40px; }
.team__scroller.is-end { --fade-bottom: 0px; }
.team__scroller::-webkit-scrollbar { width: 6px; }
.team__scroller::-webkit-scrollbar-thumb { background: var(--amber); border-radius: 6px; }
.team__scroller::-webkit-scrollbar-track { background: transparent; }
.team__tabs { gap: 8px; }
.team__tab { padding: 10px 16px 10px 10px; }
.team__tab img, .team__tab .team__init { width: 54px; height: 54px; }
.team__init {
  border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--grad-navy); color: var(--white); font-family: var(--display); font-weight: 700; font-size: 1.1rem;
}
.team__photo .team__init--lg { width: 100%; height: 100%; border-radius: 0; font-size: 5rem; display: grid; place-items: center; background: radial-gradient(120% 90% at 30% 20%, #3a5f86 0%, #1b365d 55%, #0f2340 100%); }
.team__ctas { margin-top: 22px; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.team__ctas .btn { white-space: normal; text-align: center; }
.team__panel { position: sticky; top: 110px; }

@media (max-width: 1060px) {
  .team__count { padding: 0; }
  .team__hint { display: none; }
  .team__scroller {
    max-height: none; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
    padding: 6px var(--gutter) 14px; margin: 0 calc(var(--gutter) * -1);
    -webkit-mask-image: none; mask-image: none; scrollbar-width: none;
  }
  .team__scroller::-webkit-scrollbar { display: none; }
  .team__tabs, .team__tabs[role] { display: flex; grid-template-columns: none; gap: 10px; width: max-content; }
  .team__tab { flex-direction: column; text-align: center; width: 112px; padding: 12px 8px; scroll-snap-align: start; gap: 8px; }
  .team__tab img, .team__tab .team__init { width: 64px; height: 64px; }
  .team__tab > span > span { display: none; }
  .team__tab strong { font-size: 0.92rem; }
  .team__panel { position: static; }
}
.team__tab .team__init { color: var(--white); font-size: 1.05rem; font-weight: 700; }

/* Parallax backgrounds: oversize the image layer so it never uncovers the section edge while it drifts */
.why__bg, .quote__bg, .visit__bg { inset: -22% 0; }

.book__cta { margin-top: 22px; align-self: flex-start; }

/* Condition chips and tiles are information only (no links to the main site) */
.chips span { padding: 8px 16px; border-radius: 999px; background: var(--ice); color: var(--navy); font-weight: 600; font-size: 0.92rem; border: 1px solid var(--mist); }
div.tile { cursor: default; }
