/* ─────────────────────────────────────────────────────────────────
   H Skinfinity — editorial cosmetic clinic site (chic motion pass).
   Liverpool, NSW. One nurse. Built by AMRIX Creative as demo work.
   Editorial typography + soft drifting orbs + glass topbar +
   scroll-reveal + light 3D card tilt + SVG journey diagram. No AI
   tropes: specific copy, restrained motion, considered every pixel.
   ───────────────────────────────────────────────────────────────── */

:root {
  --cream: #FAF6EE;
  --cream-deep: #F2EBDC;
  --ink: #261C18;
  --ink-soft: #4B3D36;
  --ink-mute: #7A6B62;
  --line: #E5DDCD;
  --terra: #B47362;
  --terra-deep: #834A3D;
  --gold: #C8A26F;

  --font-display: "Fraunces", "Cormorant Garamond", "Georgia", serif;
  --font-body: "Manrope", "Inter", -apple-system, "Segoe UI", sans-serif;

  --max: 1280px;
  --pad-x: clamp(20px, 4vw, 56px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 18px 40px -16px rgba(38, 28, 24, 0.18);
  --shadow-soft: 0 10px 24px -10px rgba(38, 28, 24, 0.10);
}

/* Hard guard — nothing ever pushes past viewport */
html, body { overflow-x: hidden; max-width: 100vw; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
* { box-sizing: border-box; }

/* SVG defs container is invisible — only the filters live there */
.mist-defs { position: absolute; width: 0; height: 0; pointer-events: none; }

/* Site-wide film grain — subtle editorial texture, mobile-cheap */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.32;
  mix-blend-mode: multiply;
  filter: url(#grainFilter);
}
@media (prefers-reduced-motion: reduce) { .grain { display: none; } }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color 220ms var(--ease), opacity 220ms var(--ease); }
a:hover { opacity: 0.7; }

a, button, input, label, [role="button"] { touch-action: manipulation; }

.serif { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.005em; }
.italic { font-style: italic; color: var(--terra); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--ink-mute);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--terra);
  border-radius: 50%;
}

/* ─── Floating orbs (3D depth, GPU-only) ───────────────────────── */
.orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}
.orb-1 {
  width: 520px; height: 520px;
  top: -120px; left: -160px;
  background: radial-gradient(closest-side, rgba(180, 115, 98, 0.22), transparent 75%);
  animation: drift1 28s ease-in-out infinite;
}
.orb-2 {
  width: 640px; height: 640px;
  top: 40vh; right: -200px;
  background: radial-gradient(closest-side, rgba(200, 162, 111, 0.20), transparent 75%);
  animation: drift2 36s ease-in-out infinite;
}
.orb-3 {
  width: 420px; height: 420px;
  bottom: -180px; left: 30vw;
  background: radial-gradient(closest-side, rgba(131, 74, 61, 0.16), transparent 75%);
  animation: drift3 42s ease-in-out infinite;
}
@keyframes drift1 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(60px, 80px, 0); }
}
@keyframes drift2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(-80px, -60px, 0) scale(1.06); }
}
@keyframes drift3 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(40px, -100px, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .orb { animation: none !important; }
}

/* ─── Scroll-reveal default state ──────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 720ms var(--ease),
    transform 720ms var(--ease);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ─── Top bar (glass-morphism) ─────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(229, 221, 205, 0.6);
  padding: 16px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
  flex-shrink: 0;
}
.brandmark-h {
  font-style: italic;
  font-size: 28px;
  color: var(--terra);
  line-height: 1;
}
.brandmark-rule {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink-mute);
}
.brandmark-name { letter-spacing: 0.02em; }

.topnav {
  display: flex;
  gap: 28px;
  font-size: 13.5px;
  letter-spacing: 0.02em;
}
.topnav a { color: var(--ink-soft); font-weight: 500; }
.topnav a:hover { color: var(--terra-deep); opacity: 1; }

.topbar-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.topbar-cta:hover { background: var(--terra-deep); border-color: var(--terra-deep); opacity: 1; }

/* ─── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 240ms var(--ease), color 240ms var(--ease), transform 240ms var(--ease), box-shadow 240ms var(--ease);
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
  box-shadow: 0 8px 22px -8px rgba(38, 28, 24, 0.5);
}
.btn-primary:hover {
  background: var(--terra-deep);
  border-color: var(--terra-deep);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(131, 74, 61, 0.5);
}
.btn-ghost {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); opacity: 1; transform: translateY(-2px); }
.btn-large { padding: 18px 36px; font-size: 15px; }

/* ─── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) var(--pad-x) clamp(48px, 7vw, 96px);
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

/* Mist that drifts behind the hero text — fixed in section, low z, low op */
.hero-mist {
  position: absolute;
  inset: -40px -10% -40px -10%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  filter: url(#mistFilter) blur(40px);
  background:
    radial-gradient(ellipse 60% 50% at 30% 40%, rgba(180,115,98,0.35), transparent 70%),
    radial-gradient(ellipse 50% 45% at 70% 60%, rgba(200,162,111,0.30), transparent 70%);
  animation: mist-drift 22s ease-in-out infinite alternate;
  will-change: transform, filter;
}
@keyframes mist-drift {
  0%   { transform: translate3d(-3%, 0, 0) scale(1); }
  100% { transform: translate3d(3%, -2%, 0) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) { .hero-mist { animation: none; } }

.hero-text {
  min-width: 0;
  position: relative;
  z-index: 2;
}
.hero h1 {
  margin: 0 0 26px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(46px, 7.5vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero h1 span { display: inline; }
.hero h1 .italic {
  color: var(--terra);
  font-weight: 400;
}

/* Word-by-word reveal on the hero h1. Each .word animates in turn,
   like AMRIX Group's hero. Pure CSS via transition-delay nth-child. */
.hero-h1 .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  margin-right: 0.18em;
}
.hero-h1 .word > span {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 110%, 0);
  transition:
    opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].revealed .hero-h1 .word:nth-child(1) > span { transition-delay:   0ms; }
[data-reveal].revealed .hero-h1 .word:nth-child(2) > span { transition-delay:  90ms; }
[data-reveal].revealed .hero-h1 .word:nth-child(3) > span { transition-delay: 180ms; }
[data-reveal].revealed .hero-h1 .word:nth-child(4) > span { transition-delay: 270ms; }
[data-reveal].revealed .hero-h1 .word:nth-child(5) > span { transition-delay: 360ms; }
[data-reveal].revealed .hero-h1 .word:nth-child(6) > span { transition-delay: 450ms; }
[data-reveal].revealed .hero-h1 .word > span {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
@media (prefers-reduced-motion: reduce) {
  .hero-h1 .word > span { transition: none; opacity: 1; transform: none; }
}
.lead {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 520px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}
.stars {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 1px;
}

.hero-image {
  position: relative;
  min-width: 0;
  perspective: 1200px;
}
.hero-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-deep);
  box-shadow: 0 30px 80px -30px rgba(38, 28, 24, 0.35);
  transform: rotate(-0.6deg);
  transition: transform 600ms var(--ease);
}
.hero-frame::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid rgba(38, 28, 24, 0.08);
  pointer-events: none;
}
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 8s ease-out;
}
.hero-image:hover .hero-frame { transform: rotate(0deg); }
.hero-image:hover .hero-frame img { transform: scale(1.06); }

.hero-chip {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: rgba(250, 246, 238, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  padding: 14px 18px 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-card);
  animation: float-chip 6s ease-in-out infinite;
}
.hero-chip-num {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1;
  font-weight: 500;
  color: var(--terra);
  font-style: italic;
}
.hero-chip-stars {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 2px;
}
.hero-chip-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  font-weight: 600;
}
@keyframes float-chip {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -6px, 0); }
}
@media (prefers-reduced-motion: reduce) { .hero-chip { animation: none; } }

/* ─── Emblems row (replaces stats + marquee) ───────────────────── */
.emblems {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--pad-x);
}
.emblems-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(16px, 2.4vw, 32px);
  align-items: start;
}
.emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  transition: transform 360ms var(--ease);
}
.emblem:hover { transform: translateY(-4px); }
.emblem-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(48px, 5.4vw, 68px);
  height: clamp(48px, 5.4vw, 68px);
  border-radius: 14px;
  box-shadow: 0 10px 24px -10px rgba(38, 28, 24, 0.32);
  position: relative;
  isolation: isolate;
}
/* Subtle inner gloss to give the tile a touch of dimension, like Apple's
   payment badges. Single highlight, no AI-y shine bands. */
.emblem-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0) 55%);
  pointer-events: none;
}
.emblem-tile svg {
  width: 50%;
  height: 50%;
  position: relative;
  z-index: 1;
}
.emblem-label {
  margin: 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.4;
  max-width: 14ch;
}

/* ─── About ────────────────────────────────────────────────────── */
.about {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.about-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: visible;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 60px -24px rgba(38, 28, 24, 0.32);
}
.about-image-frame {
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 1px solid var(--terra);
  z-index: 1;
}
.about-text h2 {
  margin: 0 0 22px;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.04;
}
.about-text p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.75;
  max-width: 520px;
}
.about-points {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.about-points li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--ink-soft);
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 1px;
  background: var(--terra);
}

/* ─── Treatments ───────────────────────────────────────────────── */
.treatments {
  position: relative;
  z-index: 1;
  background: var(--cream);
  color: var(--ink);
  padding: clamp(80px, 10vw, 140px) var(--pad-x);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.treatments-head {
  max-width: var(--max);
  margin: 0 auto clamp(48px, 6vw, 80px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.treatments-head .eyebrow { color: var(--ink-mute); }
.treatments-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.018em;
  color: var(--ink);
  max-width: 18ch;
}
.treatments-lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 540px;
}
.treatment-grid {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.treatment {
  background: #FFFFFF;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 420ms var(--ease), box-shadow 420ms var(--ease);
}
.treatment:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 60px -28px rgba(38, 28, 24, 0.22);
}
.treatment-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-deep);
}
.treatment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
.treatment:hover .treatment-image img {
  transform: scale(1.045);
}
.treatment-body {
  padding: 26px 26px 30px;
}
.treatment-meta {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--terra);
  font-weight: 600;
  margin: 0 0 12px;
}
.treatment h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.005em;
  line-height: 1.15;
  color: var(--ink);
}
.treatment p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ─── Journey diagram ──────────────────────────────────────────── */
.journey {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) var(--pad-x);
}
.journey-head {
  text-align: center;
  margin: 0 auto clamp(36px, 5vw, 64px);
  max-width: 640px;
}
.journey-head h2 {
  margin: 0 0 16px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
}
.journey-lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}
.journey-diagram {
  position: relative;
  margin: 0 auto;
  max-width: 1100px;
}
.journey-svg { width: 100%; height: auto; display: block; overflow: visible; }
.journey-svg .step circle {
  transition: transform 360ms var(--ease);
  transform-origin: center;
  transform-box: fill-box;
}
.journey-svg .step:hover circle { transform: scale(1.06); }
.step-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-style: italic;
  fill: var(--terra);
  font-weight: 500;
}
.step-num-light { fill: var(--gold); }
.step-label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  fill: var(--ink);
}
.step-label-light { fill: var(--cream); }
.step-cap {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 16px;
  fill: var(--ink-soft);
}

/* Animated dashed connecting path — shimmers slowly */
.journey-path {
  animation: dashflow 14s linear infinite;
}
@keyframes dashflow {
  to { stroke-dashoffset: -100; }
}
@media (prefers-reduced-motion: reduce) {
  .journey-path { animation: none; }
}

/* Mobile vertical timeline — replaces SVG diagram on small screens */
.journey-mobile {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 540px;
  display: none;
  position: relative;
}
.journey-mobile::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 32px;
  bottom: 32px;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--terra) 12%, var(--terra) 88%, transparent 100%);
  opacity: 0.4;
}
.jm-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 14px 0 28px;
  position: relative;
  align-items: start;
}
.jm-step:last-child { padding-bottom: 0; }
.jm-bubble {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFFFFF, var(--cream-deep));
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 18px -10px rgba(38, 28, 24, 0.22);
  z-index: 1;
}
.jm-bubble em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--terra);
}
.jm-step-final .jm-bubble {
  background: var(--ink);
  border-color: var(--ink);
}
.jm-step-final .jm-bubble em { color: var(--gold); }
.jm-body { padding-top: 6px; min-width: 0; }
.jm-body h4 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}
.jm-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ─── Products band ────────────────────────────────────────────── */
.products-band {
  position: relative;
  z-index: 1;
  height: clamp(220px, 30vw, 400px);
  overflow: hidden;
  background: var(--cream-deep);
}
.products-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 16s ease-out;
}
.products-band:hover img { transform: scale(1.10); }

/* ─── Reviews ──────────────────────────────────────────────────── */
.reviews {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--pad-x);
}
.reviews-head {
  text-align: center;
  margin: 0 auto clamp(48px, 6vw, 80px);
  max-width: 640px;
}
.reviews-head h2 {
  margin: 0 0 18px;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
}
.reviews-lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review {
  position: relative;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  padding: 32px 28px 26px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 420ms var(--ease), box-shadow 420ms var(--ease);
}
.review-source {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 28px;
  height: 28px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px -4px rgba(38, 28, 24, 0.18);
}
.review-google {
  width: 18px;
  height: 18px;
}
.review:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.review-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
}
.review blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.003em;
  flex: 1;
}
.review figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.review figcaption strong {
  color: var(--ink);
  font-weight: 600;
}
.review figcaption span {
  color: var(--ink-mute);
  font-size: 12px;
}

/* ─── Visit ────────────────────────────────────────────────────── */
.visit {
  position: relative;
  z-index: 1;
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  padding: clamp(80px, 10vw, 140px) var(--pad-x);
}
.visit-head {
  margin: 0 auto clamp(48px, 6vw, 80px);
  text-align: center;
  max-width: 720px;
}
.visit-head h2 {
  margin: 0 0 18px;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1;
}
.visit-lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}
.visit-grid {
  max-width: var(--max);
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.visit-card {
  background: var(--cream);
  padding: 40px 32px;
  transition: background 300ms var(--ease);
}
.visit-card:hover { background: rgba(250, 246, 238, 0.94); }
.visit-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--terra);
  font-weight: 600;
  margin: 0 0 14px;
}
.visit-value {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
}
.visit-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--terra-deep);
  font-weight: 500;
  border-bottom: 1px solid var(--terra);
  padding-bottom: 2px;
}
.visit-link:hover { opacity: 1; color: var(--ink); border-color: var(--ink); }
.visit-cta { display: flex; justify-content: center; }

/* ─── Footer ───────────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  background: var(--ink);
  color: rgba(250, 246, 238, 0.72);
  padding: clamp(56px, 7vw, 96px) var(--pad-x) 32px;
}
.footer-row {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
}
.footer-brand .brandmark { color: var(--cream); }
.footer-brand .brandmark-rule { background: rgba(250, 246, 238, 0.4); }
.footer-tagline {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(250, 246, 238, 0.6);
  max-width: 320px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-h {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 18px;
}
.footer-cols a {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  color: rgba(250, 246, 238, 0.72);
}
.footer-cols a:hover { color: var(--cream); opacity: 1; }
.footer-bottom {
  max-width: var(--max);
  margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(250, 246, 238, 0.12);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(250, 246, 238, 0.4);
  letter-spacing: 0.02em;
}
.footer-credit {
  font-style: italic;
  color: var(--gold);
}

/* ─── Mobile ───────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .topnav { display: none; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .hero-image { aspect-ratio: 4 / 3; order: -1; }
  .hero-frame { transform: rotate(0deg); }
  .hero-chip { left: 16px; bottom: -16px; padding: 10px 14px; }
  .hero-chip-num { font-size: 30px; }
  .emblems-row { grid-template-columns: repeat(3, 1fr); gap: 24px 16px; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about-image { order: -1; aspect-ratio: 4 / 3; max-height: 60vh; }
  .about-image-frame { inset: 16px -16px -16px 16px; }
  .treatments-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .treatments-lead { justify-self: start; }
  .treatment-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .footer-row { grid-template-columns: 1fr; gap: 36px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 8px; }
  /* Hide the horizontal SVG diagram on mobile, show vertical timeline */
  .journey-diagram { display: none; }
  .journey-mobile { display: block; }
}

@media (max-width: 540px) {
  .topbar { padding: 14px 20px; }
  .topbar-cta { padding: 9px 14px; font-size: 12px; }
  .brandmark { font-size: 18px; }
  .brandmark-h { font-size: 22px; }
  .hero h1 { font-size: clamp(38px, 11vw, 56px); }
  .emblems-row { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .emblem-tile { width: 56px; height: 56px; }
  .treatment-grid { grid-template-columns: 1fr; }
  .treatment-body { padding: 22px 22px 26px; }
  .review { padding: 28px 22px 24px; }
  .review-source { top: 18px; right: 18px; width: 24px; height: 24px; }
  .review-google { width: 15px; height: 15px; }
  .review blockquote { font-size: 18px; }
}
