/* ═══════════════════════════════════════════
   MEW MEDICAL — v8
   editorial, generous whitespace, flat colours
   ═══════════════════════════════════════════ */

/* ═══════ PALETTE BLOCKS ═══════
   Comment in exactly ONE block below to activate it */

/* ── TERRACOTTA (active) ───── */
:root {
  --bg:          #F5F3EF;  --surface:     #FFFFFF;
  --primary:     #919589;  --text:        #262728;
  --accent:      #B9696F;  --accent-deep: #7c2f39;
  --highlight:   #464849;
  --border:      #D8D5D2;  --border-dark: #C0BCB8;
  --muted:       #7A7775;  --muted-light: #9E9B99;
  --tint-light:  #F0EEEC;  --tint-deep:   #E6E3E1;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  16px;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── PEBBLE ──────────────────
:root {
  --bg:          #F5F3EF;  --surface:     #FFFFFF;
  --primary:     #6B7B8C;  --text:        #2A2D33;
  --accent:      #C4796A;  --accent-deep: #A85E50;
  --highlight:   #3D444C;
  --border:      #DDD9D3;  --border-dark: #C4BEB5;
  --muted:       #8A8580;  --muted-light: #A9A49E;
  --tint-light:  #EDEAE5;  --tint-deep:   #E3DFD9;
} */

/* ── MOSS ────────────────────
:root {
  --bg:          #F4F5F0;  --surface:     #FFFFFF;
  --primary:     #5E6B5A;  --text:        #262B24;
  --accent:      #B89A6A;  --accent-deep: #9A7E54;
  --highlight:   #384034;
  --border:      #D9DCD4;  --border-dark: #BFC3B8;
  --muted:       #7A7E74;  --muted-light: #969A91;
  --tint-light:  #EBEDE7;  --tint-deep:   #E1E4DC;
} */

/* ── SLATE ───────────────────
:root {
  --bg:          #F7F7F8;  --surface:     #FFFFFF;
  --primary:     #4A5568;  --text:        #1A1D23;
  --accent:      #B0B4C8;  --accent-deep: #8E93AA;
  --highlight:   #2D3748;
  --border:      #DDDDE3;  --border-dark: #C0C0C9;
  --muted:       #718096;  --muted-light: #959BAD;
  --tint-light:  #ECECEF;  --tint-deep:   #E3E3E8;
} */

/* ── OAK ─────────────────────
:root {
  --bg:          #FAF8F5;  --surface:     #FFFFFF;
  --primary:     #7B5C3F;  --text:        #2E2118;
  --accent:      #C8A87A;  --accent-deep: #A88B62;
  --highlight:   #4A3624;
  --border:      #E6E0D8;  --border-dark: #CCC5BA;
  --muted:       #8B7E72;  --muted-light: #A89D92;
  --tint-light:  #F0ECE6;  --tint-deep:   #E8E3DA;
} */

/* ── COOL (archived original) ─
:root {
  --bg:          #FAFAFA;  --surface:     #FFFFFF;
  --primary:     #2D3142;  --text:        #1A1A1A;
  --accent:      #B0D7FF;  --accent-deep: #7FB8F0;
  --highlight:   #1A1A2E;
  --border:      #E5E5E5;  --border-dark: #D0D0D0;
  --muted:       #737373;  --muted-light: #9B9B9B;
  --tint-light:  #EDF1F7;  --tint-deep:   #E3EAF3;
} */

/* ═══════════════════════════════════════════ */

/* ═══════ RESET ═══════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ═══════ TYPOGRAPHY ═══════ */
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.section-label::before {
  content: ''; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.section-label--light { color: rgba(255,255,255,0.55); }

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 2.9rem);
  font-weight: 500; line-height: 1.12;
  color: var(--text);
  margin-bottom: 28px;
}
.section-heading--light { color: var(--surface); }

.section-heading .heading-script,
.hero-title .heading-script {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--accent-deep);
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.section-heading .heading-script {
  font-size: 1.12em;
}


/* ═══════ BUTTONS ═══════ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.03em;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease);
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--primary); color: var(--surface);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--text); border-color: var(--text);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(38, 39, 40, 0.15);
}
.btn-outline {
  border-color: var(--border-dark); color: var(--text);
}
.btn-outline:hover {
  background: var(--text); color: var(--surface);
  border-color: var(--text);
}
.btn-sm { padding: 10px 22px; font-size: 0.78rem; }

/* ═══════ SCROLL REVEAL ═══════ */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════
   PALETTE SELECTOR (dev only — remove for live)
   ═══════════════════════════════════════════ */
.palette-selector {
  position: fixed;
  bottom: 24px; left: 24px;
  z-index: 200;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  min-width: 160px;
}
.palette-selector.collapsed .palette-body { display: none; }
.palette-toggle {
  display: flex; align-items: center; gap: 8px;
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  padding: 0 0 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.palette-toggle:hover { color: var(--text); }
.palette-toggle svg { transition: transform 0.3s var(--ease); }
.palette-selector.collapsed .palette-toggle svg { transform: rotate(-90deg); }
.palette-btn {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem; font-weight: 500;
  color: var(--text);
  transition: background 0.2s;
  margin-bottom: 4px;
}
.palette-btn:hover { background: var(--bg); }
.palette-btn.active { background: var(--bg); outline: 1.5px solid var(--accent-deep); }
.palette-dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid var(--border-dark);
}
.palette-btn--custom { margin-top: 4px; }
.palette-custom { margin-top: 8px; padding: 12px; background: var(--bg); border-radius: var(--radius-sm); }
.palette-row { display: flex; gap: 8px; margin-bottom: 8px; }
.palette-row input {
  flex: 1 1 0;
  padding: 6px 8px; font-size: 0.72rem;
  font-family: var(--font-body);
  color: var(--text); background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm); outline: none;
}
.palette-row input:focus { border-color: var(--accent-deep); }
.palette-apply {
  width: 100%; padding: 8px; margin-top: 4px;
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--surface); background: var(--primary);
  border-radius: var(--radius-sm); transition: background 0.2s;
}
.palette-apply:hover { background: var(--text); }

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(250, 250, 250, 0.88);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  border-bottom: 1px solid rgba(229, 229, 229, 0.6);
  transition: all 0.35s var(--ease);
}
.nav.scrolled {
  background: rgba(250, 250, 250, 0.97);
  padding: 14px 0;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}

/* ═══════ LOGO ═══════ */
.logo {
  display: flex; align-items: center; gap: 12px;
}
.logo-mark { width: 42px; height: 34px; overflow: visible; }
.logo-mark--pillars * {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.42s var(--ease), fill 0.3s, opacity 0.3s;
}
.logo:hover .logo-mark--pillars .logo-pillar--left { transform: translateX(-1.5px); }
.logo:hover .logo-mark--pillars .logo-pillar--centre { transform: translateY(-2px); }
.logo:hover .logo-mark--pillars .logo-pillar--right { transform: translateX(1.5px); }
.logo:hover .logo-mark--pillars .logo-connector--left { transform: translate(-0.8px, 0.4px); opacity: 0.92; }
.logo:hover .logo-mark--pillars .logo-connector--right { transform: translate(0.8px, 0.4px); opacity: 0.92; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600;
  color: var(--text); letter-spacing: -0.02em;
}

.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.01em; color: var(--muted);
  position: relative; padding: 4px 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent-deep);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 0.73rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 10px 22px;
  background: var(--primary); color: var(--surface);
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease);
}
.nav-cta:hover {
  background: var(--text); transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(38, 39, 40, 0.15);
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 28px; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--primary); transition: all 0.3s var(--ease); }

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  overflow: hidden; padding-top: 76px;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.045);
  transform-origin: center top;
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg { transform: none !important; }
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 12vw, 9rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--accent-deep);
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-name span {
  display: block;
  color: var(--accent-deep);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: left; width: 100%;
  max-width: 1280px; margin: 0 auto;
  padding: 120px 32px;
}
.hero-tag {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 4.6rem);
  font-weight: 500; line-height: 1.06;
  color: var(--text); margin-bottom: 28px;
}
.hero-sub {
  font-size: 1.05rem; line-height: 1.7;
  color: var(--muted); max-width: 460px; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; }

/* ═══════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════ */
.about {
  padding: 140px 0; background: var(--surface);
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 96px; align-items: center;
}
.about-text p {
  margin-bottom: 20px; color: var(--muted);
  line-height: 1.7; max-width: 480px;
}
.about-text p:last-of-type { margin-bottom: 48px; }
.about-stats {
  display: flex; gap: 56px;
  padding-top: 36px; border-top: 1px solid var(--border);
}
.stat-number {
  display: block; font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 500;
  color: var(--primary); line-height: 1;
}
.stat-label {
  font-size: 0.72rem; color: var(--muted);
  margin-top: 6px; letter-spacing: 0.02em;
}
.about-img-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 24px 80px rgba(38, 39, 40, 0.06);
  transition: box-shadow 0.4s var(--ease);
}
.about-img-wrap:hover { box-shadow: 0 32px 96px rgba(38, 39, 40, 0.1); }
.about-img-wrap img {
  width: 100%; height: 520px; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.about-img-wrap:hover img { transform: scale(1.03); }

/* ═══════════════════════════════════════════
   TREATMENTS (merged services + pricing)
   ═══════════════════════════════════════════ */
.treatments { padding: 110px 0; background: var(--bg); }
.treatments .section-heading { margin-bottom: 14px; }
.treatments-intro { font-size: 1rem; color: var(--muted); max-width: 700px; margin-bottom: 44px; }
.treatment-subsection { position: relative; scroll-margin-top: 110px; }
.treatment-subsection + .treatment-subsection { margin-top: 42px; padding-top: 0; border-top: 0; }
.treatment-subsection-heading { max-width: 640px; margin-bottom: 24px; }
.treatment-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 0.66rem; font-weight: 650; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 10px; }
.treatment-kicker::before { content: ''; width: 30px; height: 1px; background: var(--accent); opacity: .75; }
.treatment-subsection-heading h3 { font-family: var(--font-body); font-size: clamp(1.05rem, 1.7vw, 1.28rem); font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.25; color: var(--highlight); margin: 0; }
.treatment-subsection-heading h3::after { content: ''; display: block; width: 46px; height: 2px; margin-top: 12px; background: var(--accent); opacity: .6; }
.treatment-subsection-heading p { display: none; }

.treatments-grid { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.treatment-card {
  flex: 1 1 calc(33.333% - 14px); position: relative; background: var(--surface); border: 1px solid rgba(216,213,210,.72);
  border-radius: var(--radius-md); padding: 32px 24px; cursor: pointer; display: flex; flex-direction: column; min-height: 236px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,.75) inset; transform: translateZ(0); will-change: flex-basis, min-height, transform, box-shadow; backface-visibility: hidden;
  transition: flex-basis .72s cubic-bezier(.22,1,.36,1), max-width .72s cubic-bezier(.22,1,.36,1), min-width .72s cubic-bezier(.22,1,.36,1), min-height .72s cubic-bezier(.22,1,.36,1), padding .58s cubic-bezier(.22,1,.36,1), border-color .35s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease), opacity .35s var(--ease);
}

.treatment-card.is-layout-animating { transition: box-shadow .28s var(--ease), border-color .28s var(--ease) !important; }
.treatments-grid.is-flipping .treatment-card { transition: box-shadow .22s var(--ease), border-color .22s var(--ease) !important; }
.treatments-grid.is-switching .treatment-card { transform: none !important; }
.treatments-grid.is-switching .treatment-card:hover { transform: none !important; }
.treatments-grid.is-switching .treatment-detail,
.treatments-grid.is-switching .treatment-close { opacity: 0 !important; pointer-events: none !important; transition-delay: 0s !important; }
.treatment-card.is-closing .treatment-detail { opacity: 0; max-height: 0; transition: max-height .62s cubic-bezier(.22,1,.36,1), opacity .2s var(--ease); }
.treatment-card.is-closing .treatment-detail-inner { opacity: 0; transform: translateY(8px); transition-delay: 0s; }
.treatment-card.is-closing .treatment-close { opacity: 0 !important; pointer-events: none !important; transition-delay: 0s; }
.treatments-grid:not(.has-expanded) .treatment-card:hover { border-color: rgba(154,85,90,.24); box-shadow: 0 18px 50px rgba(38,39,40,.075); transform: translateY(-4px); }
.treatments-grid.has-expanded { align-items: flex-start; }
.treatments-grid.has-expanded .treatment-card {
  flex: 0 0 86px; min-width: 86px; max-width: 86px; min-height: 86px; padding: 16px; order: 2; align-items: center; justify-content: center;
  pointer-events: auto; cursor: pointer; background: var(--surface); border-color: var(--border); opacity: 1; box-shadow: 0 10px 28px rgba(38,39,40,.045);
}
.treatments-grid.has-expanded .treatment-card:hover { border-color: rgba(154,85,90,.28); box-shadow: 0 12px 28px rgba(38,39,40,.055); transform: none; }
.treatments-grid.has-expanded .treatment-card h3,
.treatments-grid.has-expanded .treatment-card > p,
.treatments-grid.has-expanded .treatment-card .treatment-price-reveal,
.treatments-grid.has-expanded .treatment-card .treatment-badge { opacity: 0; pointer-events: none; max-height: 0; padding: 0; margin: 0; overflow: hidden; transition: opacity .18s var(--ease), max-height .18s var(--ease), margin .18s var(--ease), padding .18s var(--ease); }
.treatments-grid.has-expanded .treatment-card .treatment-icon { width: 44px; height: 44px; margin: 0; opacity: 1; transform: none !important; background: var(--surface); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); box-shadow: 0 8px 22px rgba(38,39,40,.04); }
.treatments-grid.has-expanded .treatment-card .treatment-icon svg { width: 22px; height: 22px; stroke-width: 1.7; }
.treatments-grid.has-expanded .treatment-card.expanded { flex: 1 1 100%; min-width: 100%; max-width: 100%; order: -1; padding: 40px 34px 34px; min-height: 390px; align-items: flex-start; justify-content: flex-start; pointer-events: auto; cursor: default; border-color: rgba(154,85,90,.20); box-shadow: 0 28px 80px rgba(38,39,40,.09); z-index: 10; gap: 16px; }
.treatments-grid.has-expanded .treatment-card.expanded h3,
.treatments-grid.has-expanded .treatment-card.expanded > p,
.treatments-grid.has-expanded .treatment-card.expanded .treatment-icon,
.treatments-grid.has-expanded .treatment-card.expanded .treatment-badge,
.treatments-grid.has-expanded .treatment-card.expanded .treatment-price-reveal { opacity: 1; max-height: 240px; pointer-events: auto; overflow: visible; }
.treatments-grid.has-expanded .treatment-card.expanded .treatment-icon { width: 48px; height: 48px; margin-bottom: 4px; background: var(--tint-light); border-color: transparent; color: var(--accent-deep); box-shadow: none; }
.treatments-grid.has-expanded .treatment-card.expanded .treatment-icon svg { width: 28px; height: 28px; stroke-width: 1.5; }

.treatment-detail { max-height: 0; opacity: 0; overflow: hidden; width: 100%; transition: max-height .46s var(--ease), opacity .24s var(--ease); }
.treatment-card.expanded .treatment-detail { max-height: 1100px; opacity: 1; overflow: visible; }
.treatment-detail-inner { display: grid; grid-template-columns: minmax(240px,.92fr) minmax(0,1.45fr); gap: 34px; align-items: start; opacity: 0; transform: translateY(8px); transition: opacity .24s var(--ease) .06s, transform .26s var(--ease) .06s; }
.treatment-card.expanded .treatment-detail-inner { opacity: 1; transform: translateY(0); }
.treatment-detail-image { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); box-shadow: 0 18px 44px rgba(38,39,40,.07); }
.treatment-detail-content p { font-size: .92rem; color: var(--text); line-height: 1.7; margin-bottom: 18px; }
.treatment-detail-features { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 22px; }
.treatment-detail-features li { font-size: .82rem; color: var(--muted); padding-left: 18px; position: relative; line-height: 1.5; }
.treatment-detail-features li::before { content: ''; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.treatment-detail-expect { font-size: .83rem; color: var(--muted); line-height: 1.68; padding: 16px 18px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 20px; }
.treatment-detail-cta { display: inline-flex; align-items: center; padding: 11px 26px; background: var(--primary); color: var(--surface); border-radius: var(--radius-sm); font-size: .82rem; font-weight: 600; transition: background .3s, transform .3s var(--ease), box-shadow .3s var(--ease); }
.treatment-detail-cta:hover { background: var(--highlight); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(38,39,40,.13); }
.treatment-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.92); border: 1px solid var(--border); cursor: pointer; color: var(--text); opacity: 0; pointer-events: none; transition: opacity .22s var(--ease) .08s, background .2s, transform .3s var(--ease), color .2s, border-color .2s; z-index: 20; font-size: 1.45rem; line-height: 1; box-shadow: 0 10px 26px rgba(38,39,40,.06); }
.treatments-grid.has-expanded .treatment-card.expanded .treatment-close,
.treatment-card.expanded .treatment-close { opacity: 1; pointer-events: auto; max-height: none; padding: 0; margin: 0; overflow: visible; }
.treatment-close:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: none; }

.treatments-grid:not(.has-expanded):not(.is-switching) .treatment-card:hover .treatment-icon {
  color: var(--icon-pastel, var(--accent));
  transform: translate(-0.75px, 0.75px) rotate(-3deg);
}
.treatments-grid:not(.has-expanded) .treatment-card:hover .treatment-price-reveal { opacity: 1; transform: translateY(0); }
.treatment-card.expanded .treatment-icon { color: var(--accent-deep) !important; transform: none !important; }
.treatments-grid.has-expanded .treatment-card:hover .treatment-icon,
.treatments-grid.has-expanded .treatment-card.expanded:hover .treatment-icon,
.treatments-grid.is-switching .treatment-card:hover .treatment-icon {
  transform: none !important;
}
.treatments-grid.has-expanded .treatment-card.expanded .treatment-price-reveal { opacity: 1 !important; transform: translateY(0) !important; padding-top: 0; border-top: none; }
.treatment-icon { color: var(--accent); margin-bottom: 18px; transition: transform .34s var(--ease), color .3s, background .3s, border-color .3s, box-shadow .3s; }
.treatment-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.treatment-card > p { font-size: .86rem; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.treatment-price-reveal { opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease); padding-top: 10px; border-top: 1px solid var(--border); margin-top: auto; }
.treatment-price-reveal .price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.treatment-price-reveal .price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--accent-deep); }
.treatment-price-reveal .price-note { font-size: .72rem; color: var(--muted); }
.treatment-price-reveal .price-cta { display: inline-block; margin-top: 10px; font-size: .75rem; font-weight: 600; color: var(--text); letter-spacing: .04em; }
.treatment-price-reveal .price-cta::after { content: ' →'; transition: margin .2s; }
.treatment-card:hover .price-cta::after { margin-left: 4px; }
.treatment-card--featured { position: relative; }
.treatment-badge { display: inline-block; margin-bottom: 12px; font-size: .6rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--surface); background: var(--primary); padding: 4px 10px; border-radius: 20px; }

/* ═══════════════════════════════════════════
   CASE STUDIES
   ═══════════════════════════════════════════ */
.results {
  padding: 110px 0; background: var(--surface);
}
.results-intro {
  font-size: 1.02rem; color: var(--muted);
  max-width: 500px; margin-bottom: 56px;
}
.results-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 28px; align-items: start;
}

.results-view { position: relative; }

.ba-wrap { display: none; }
.ba-wrap.active {
  display: block;
  animation: caseFadeIn 0.45s var(--ease);
}
@keyframes caseFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ba-container {
  position: relative; width: 100%;
  aspect-ratio: 3 / 4; max-height: 640px;
  overflow: hidden; border-radius: var(--radius-lg);
  background: var(--bg);
}
.ba-img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.ba-img--after { clip-path: inset(0 0 0 50%); }

.ba-slider {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; background: var(--surface);
  cursor: ew-resize; z-index: 10;
  transform: translateX(-50%);
}
.ba-handle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--surface);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  transition: transform 0.25s, background 0.3s;
}
.ba-slider:hover .ba-handle {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--text);
}

.ba-label {
  position: absolute; bottom: 16px;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text);
  background: rgba(255,255,255,0.88); backdrop-filter: blur(4px);
  padding: 5px 14px; border-radius: 20px; z-index: 5;
}
.ba-label--before { left: 16px; }
.ba-label--after  { right: 16px; }

.case-meta { margin-top: 24px; }
.case-meta h4 {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 600;
  color: var(--text); margin-bottom: 10px;
}
.case-meta p {
  font-size: 0.9rem; color: var(--muted);
  line-height: 1.65; margin-bottom: 16px; max-width: 460px;
}
.case-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.case-tags span {
  font-size: 0.72rem; font-weight: 500;
  color: var(--muted); background: var(--bg);
  padding: 5px 12px; border-radius: 20px;
}

.results-panel {
  display: flex; flex-direction: column; gap: 6px;
}
.results-panel-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 20px; border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease); cursor: pointer;
}
.results-panel-item:hover { background: rgba(185, 105, 111, 0.08); }
.results-panel-item.active { background: var(--bg); }
.results-panel-item.active .results-panel-num {
  background: var(--accent-deep); color: var(--surface); border-color: transparent;
}
.results-panel-num {
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 500; color: var(--border-dark);
  line-height: 1.2; min-width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}
.results-panel-info { display: flex; flex-direction: column; gap: 3px; }
.results-panel-title { font-size: 0.9rem; font-weight: 500; color: var(--text); }
.results-panel-meta  { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.02em; }

/* ═══════════════════════════════════════════
   DOCTORS
   ═══════════════════════════════════════════ */
.doctors {
  padding: 140px 0; background: var(--tint-deep);
}
.doctors-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 56px;
}
.doctor-card {
  background: var(--surface);
  border-radius: var(--radius-md); overflow: hidden;
  transition: all 0.4s var(--ease);
}
.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(38,39,40,0.08);
}
.doctor-img-wrap { overflow: hidden; }
.doctor-img-wrap img {
  width: 100%; height: 460px; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.doctor-card:hover .doctor-img-wrap img { transform: scale(1.03); }
.doctor-info { padding: 28px; }
.doctor-info h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 600;
  color: var(--text); margin-bottom: 4px;
}
.doctor-role {
  font-size: 0.74rem; font-weight: 500;
  color: var(--accent-deep); letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.doctor-info p:last-child {
  font-size: 0.87rem;
  color: var(--muted); line-height: 1.6;
}

/* ═══════════════════════════════════════════
   JOURNAL
   ═══════════════════════════════════════════ */
.journal {
  padding: 140px 0; background: var(--bg);
}
.journal-intro {
  font-size: 1.02rem; color: var(--muted);
  max-width: 500px; margin-bottom: 56px;
}
.journal-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 24px;
  align-items: stretch;
}
.journal-card {
  display: block; background: var(--surface);
  border-radius: var(--radius-md); overflow: hidden;
  transition: all 0.35s var(--ease);
}
.journal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(38, 39, 40, 0.08);
}
.journal-card:hover .journal-img img { transform: scale(1.04); }

/* featured first article is slightly larger */
.journal-card--feature {
  display: flex; flex-direction: column;
}

.journal-img { overflow: hidden; aspect-ratio: 4 / 3; }
.journal-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.journal-meta { padding: 28px; }
.journal-cat {
  display: inline-block;
  font-size: 0.63rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: 12px;
}
.journal-meta h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 600;
  color: var(--text); line-height: 1.2; margin-bottom: 10px;
}
.journal-card--feature .journal-meta h3 {
  font-size: 1.35rem;
}
.journal-meta p {
  font-size: 0.85rem; color: var(--muted);
  line-height: 1.6; margin-bottom: 16px;
}
.journal-date {
  font-size: 0.72rem; color: var(--muted-light); letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
.contact {
  padding: 140px 0; background: var(--tint-light);
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.contact-intro {
  font-size: 1.02rem;
  color: rgba(38, 39, 40, 0.55);
  line-height: 1.7; margin-bottom: 48px; max-width: 400px;
}
.contact-details {
  display: flex; flex-direction: column; gap: 24px;
}
.contact-detail-label {
  display: block;
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 4px;
}
.contact-detail a,
.contact-detail span {
  font-size: 0.92rem;
  color: rgba(38, 39, 40, 0.7); transition: color 0.3s;
}
.contact-detail a:hover { color: var(--accent-deep); }

.contact-form-wrap {
  background: var(--surface);
  border-radius: var(--radius-md); padding: 40px;
  box-shadow: 0 4px 20px rgba(38,39,40,0.04);
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.74rem; font-weight: 500;
  color: rgba(38, 39, 40, 0.5); margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 14px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  font-family: var(--font-body); font-size: 0.88rem;
  transition: border-color 0.3s, box-shadow 0.3s; outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(38, 39, 40, 0.25); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 3px rgba(154, 85, 90, 0.12);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%232D3142'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ═══════════════════════════════════════════
   SERVICE MODAL
   ═══════════════════════════════════════════ */


/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  background: var(--tint-deep); padding: 72px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 56px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(38, 39, 40, 0.08);
}

.footer-logo {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 6px;
}
.footer-logo .logo-mark { width: 36px; height: 32px; }
.footer-logo .logo-mark rect {
  transition: transform 0.4s var(--ease), fill 0.3s;
  transform-origin: center;
}
.footer-logo:hover .logo-mark rect:nth-child(1) { transform: translateX(-2px); }
.footer-logo:hover .logo-mark rect:nth-child(2) { transform: translateX(2px); }
.footer-logo:hover .logo-mark rect:nth-child(3) { transform: scaleY(1.12); }
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 600;
  color: var(--primary);
}

.footer-tagline {
  font-size: 0.78rem; color: var(--accent-deep);
  letter-spacing: 0.04em; margin-bottom: 18px;
}
.footer-desc {
  font-size: 0.85rem;
  color: rgba(38, 39, 40, 0.45); line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(38, 39, 40, 0.5); margin-bottom: 22px;
}
.footer-col a,
.footer-col .footer-plain {
  display: block; font-size: 0.85rem;
  color: rgba(38, 39, 40, 0.45); padding: 3px 0;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  padding: 28px 0;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 16px;
}
.footer-bottom p {
  font-size: 0.74rem;
  color: rgba(38, 39, 40, 0.35);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: 0.74rem;
  color: rgba(38, 39, 40, 0.35); transition: color 0.3s;
}
.footer-legal a:hover { color: var(--primary); }
.footer-reg {
  font-size: 0.68rem;
  color: rgba(38, 39, 40, 0.28);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .treatment-card { flex: 1 1 calc(50% - 14px); }
  .results-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .journal-grid { grid-template-columns: 1fr; }
  .journal-card--feature { grid-column: auto; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); padding: 24px; gap: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  }
  .hero-title { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .hero-content { padding: 60px 20px; }

  .doctors-grid { grid-template-columns: 1fr; max-width: 400px; margin: 56px auto 0; }
  .treatment-card { flex: 1 1 100%; }
  .treatments-grid.has-expanded .treatment-card { flex: 0 0 56px; min-width: 56px; max-width: 56px; min-height: 56px; padding: 6px; }
  .treatments-grid.has-expanded .treatment-card.expanded { flex: 1 1 100%; min-width: 100%; max-width: 100%; padding: 28px 18px; min-height: 0; }
  .treatment-detail-features { grid-template-columns: 1fr; }
  .treatments-grid.has-expanded .treatment-card .treatment-icon { width: 34px; height: 34px; }
  .treatments-grid.has-expanded .treatment-card .treatment-icon svg { width: 17px; height: 17px; }
  .treatment-detail-inner { grid-template-columns: 1fr; gap: 18px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .results-layout { grid-template-columns: 1fr; }
  .results-panel { flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 8px; }
  .results-panel-item { white-space: nowrap; min-width: 180px; border-left: none; border-bottom: 2px solid transparent; }
  .results-panel-item.active { border-bottom-color: var(--accent-deep); }

  .about-stats { gap: 28px; }
  .about-img-wrap img { height: 340px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .about-stats { flex-direction: column; gap: 18px; }
  .palette-selector { left: 12px; bottom: 12px; padding: 12px; min-width: 140px; }
  .treatments-grid.has-expanded .treatment-card { flex: 0 0 52px; min-width: 52px; max-width: 52px; min-height: 52px; padding: 6px; }
}


/* v8 refinement: treatment switching is now a restrained content swap, not a moving-card animation. */
.treatments-grid.is-switching .treatment-card {
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease) !important;
}
.treatment-card.is-content-swapping .treatment-detail-inner,
.treatment-card.is-content-swapping > h3,
.treatment-card.is-content-swapping > p,
.treatment-card.is-content-swapping .treatment-price-reveal {
  animation: treatmentContentSettle .18s var(--ease) both;
}
@keyframes treatmentContentSettle {
  from { opacity: .35; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}


/* v12 refinement: smaller treatment icon swivel + mobile case-study selector wrapping. */
@media (max-width: 768px) {
  .results-panel {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  .results-panel-item {
    flex: 0 0 220px;
    min-width: 220px;
    max-width: 220px;
    white-space: normal;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 14px;
    border-left: none;
    border-bottom: 2px solid transparent;
    scroll-snap-align: start;
  }

  .results-panel-info {
    min-width: 0;
    flex: 1 1 auto;
    gap: 2px;
  }

  .results-panel-title,
  .results-panel-meta {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .results-panel-title {
    font-size: 0.84rem;
    line-height: 1.25;
  }

  .results-panel-meta {
    font-size: 0.68rem;
    line-height: 1.35;
  }
}

@media (max-width: 480px) {
  .results-panel-item {
    flex-basis: 74vw;
    min-width: 74vw;
    max-width: 74vw;
  }
}


/* v19 bespoke clinic details: restrained clinical flourishes + clearer pillar logo */
.logo-mark--pillars {
  filter: drop-shadow(0 4px 10px rgba(38,39,40,0.045));
}
.footer-logo .logo-mark { width: 42px; height: 34px; }
.footer-logo .logo-mark--pillars * {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.42s var(--ease), fill 0.3s, opacity 0.3s;
}
.footer-logo:hover .logo-mark--pillars .logo-pillar--left { transform: translateX(-1.5px); }
.footer-logo:hover .logo-mark--pillars .logo-pillar--centre { transform: translateY(-2px); }
.footer-logo:hover .logo-mark--pillars .logo-pillar--right { transform: translateX(1.5px); }
.footer-logo:hover .logo-mark--pillars .logo-connector--left { transform: translate(-0.8px, 0.4px); opacity: 0.92; }
.footer-logo:hover .logo-mark--pillars .logo-connector--right { transform: translate(0.8px, 0.4px); opacity: 0.92; }

.about,
.treatments,
.results,
.doctors,
.journal,
.contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.about > .container,
.treatments > .container,
.results > .container,
.doctors > .container,
.journal > .container,
.contact > .container {
  position: relative;
  z-index: 1;
}

.about::before {
  content: '';
  position: absolute;
  right: -180px;
  top: 82px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, transparent 0 42%, rgba(185,105,111,0.055) 42.4% 42.9%, transparent 43.3% 56%, rgba(145,149,137,0.052) 56.4% 56.9%, transparent 57.3% 70%, rgba(185,105,111,0.04) 70.4% 70.8%, transparent 71.2%);
  pointer-events: none;
  z-index: 0;
}

.treatments::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(154,85,90,0.032) 0 1px, transparent 1px 18px);
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  pointer-events: none;
  z-index: 0;
}
.treatments::after {
  content: '';
  position: absolute;
  left: max(24px, calc((100vw - 1280px) / 2 + 32px));
  top: 86px;
  width: 54px;
  height: 54px;
  border-left: 1px solid rgba(154,85,90,0.22);
  border-top: 1px solid rgba(154,85,90,0.22);
  border-radius: 18px 0 0 0;
  pointer-events: none;
  z-index: 0;
}

.results::after {
  content: '';
  position: absolute;
  left: -120px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(185,105,111,0.08);
  box-shadow: inset 0 0 0 32px rgba(185,105,111,0.018), inset 0 0 0 86px rgba(145,149,137,0.022);
  pointer-events: none;
  z-index: 0;
}


.treatment-card,
.doctor-card,
.journal-card,
.contact-form-wrap,
.ba-container {
  position: relative;
}
.treatment-card::after,
.doctor-card::after,
.journal-card::after,
.contact-form-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: inherit;
  pointer-events: none;
}

@media (max-width: 768px) {
  .about::before,
  .results::after { opacity: .45; transform: scale(.75); }
  .treatments::after,
  .doctors::before,
  .journal::before,
  .contact::before { display: none; }
}


/* v21 fix: keep refined M mark but restore calm hero wordmark */
.logo-mark--m .logo-connector {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.42s var(--ease), opacity 0.3s var(--ease), stroke 0.3s var(--ease);
}


/* v21 hero repair: remove vertical editorial decoration and keep content visible */
.hero-content::before,
.hero-content::after {
  content: none !important;
  display: none !important;
}
.hero-bg { z-index: 0; }
.hero-content { z-index: 2; }
.hero-name { color: var(--accent-deep); }
.hero-name span { color: var(--accent-deep); }


/* v22: remove decorative curved corner around treatments label */
.treatments::after {
  content: none !important;
  display: none !important;
}

/* v22: clearer three-pillar M mark with shorter centre pillar */
.logo:hover .logo-mark--pillars .logo-pillar--left,
.footer-logo:hover .logo-mark--pillars .logo-pillar--left { transform: translateX(-1px); }
.logo:hover .logo-mark--pillars .logo-pillar--centre,
.footer-logo:hover .logo-mark--pillars .logo-pillar--centre { transform: translateY(1px); }
.logo:hover .logo-mark--pillars .logo-pillar--right,
.footer-logo:hover .logo-mark--pillars .logo-pillar--right { transform: translateX(1px); }
.logo:hover .logo-mark--pillars .logo-connector--left,
.footer-logo:hover .logo-mark--pillars .logo-connector--left { transform: translate(-0.5px, -0.2px); opacity: 0.9; }
.logo:hover .logo-mark--pillars .logo-connector--right,
.footer-logo:hover .logo-mark--pillars .logo-connector--right { transform: translate(0.5px, -0.2px); opacity: 0.9; }


/* ═══════════════════════════════════════════
   SPECIALTIES + PROCESS — v25 icon-led, less card-heavy
   ═══════════════════════════════════════════ */
.specialties,
.process { position: relative; overflow: hidden; isolation: isolate; }
.specialties { padding: 118px 0 102px; background: var(--surface); }
.process { padding: 112px 0; background: linear-gradient(180deg, var(--bg), var(--surface)); }
.specialties > .container,
.process > .container { position: relative; z-index: 1; }
.specialties::before { content: ''; position: absolute; right: -180px; top: 54px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(185,105,111,.045) 0 1px, transparent 1.4px); background-size: 22px 22px; opacity: .7; pointer-events: none; }
.specialties-header,
.process-header { max-width: 760px; margin-bottom: 46px; }
.specialties-header p,
.process-header p { color: var(--muted); font-size: 1rem; line-height: 1.75; max-width: 660px; }

.specialty-showcase { position: relative; }
.specialty-icon-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 54px); align-items: start; margin-bottom: 34px; }
.specialty-trigger { position: relative; display: grid; justify-items: center; text-align: center; padding: 12px 8px 24px; color: var(--text); cursor: pointer; }
.specialty-trigger::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 0; height: 1px; background: var(--accent-deep); transform: translateX(-50%); opacity: .8; transition: width .34s var(--ease); }
.specialty-trigger.active::after,
.specialty-trigger:hover::after { width: min(112px, 70%); }
.specialty-icon { width: clamp(88px, 10vw, 132px); height: clamp(88px, 10vw, 132px); display: inline-flex; align-items: center; justify-content: center; color: var(--accent-deep); margin-bottom: 22px; transition: transform .34s var(--ease), color .3s var(--ease); }
.specialty-icon svg { width: 100%; height: 100%; }
.specialty-trigger:hover .specialty-icon { transform: translateY(-3px); color: var(--primary); }
.specialty-trigger.active .specialty-icon { color: var(--accent-deep); }
.specialty-kicker { display: block; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 650; color: var(--accent-deep); margin-bottom: 8px; }
.specialty-title { display: block; font-family: var(--font-display); font-size: clamp(1.38rem, 2.2vw, 1.9rem); line-height: 1.06; color: var(--text); }
.specialty-info-wrap { position: relative; min-height: 255px; }
.specialty-info { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(260px, .95fr); gap: 42px; align-items: start; padding: 34px 38px; background: rgba(255,255,255,.74); border: 1px solid rgba(216,213,210,.82); box-shadow: 0 20px 70px rgba(38,39,40,.055); opacity: 0; transform: translateY(10px); pointer-events: none; position: absolute; inset: 0 auto auto 0; width: 100%; transition: opacity .28s var(--ease), transform .32s var(--ease); }
.specialty-info.active { opacity: 1; transform: translateY(0); pointer-events: auto; position: relative; }
.specialty-mini-label { display: inline-block; font-size: .62rem; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 14px; }
.specialty-info h3 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 500; line-height: 1.08; color: var(--text); margin-bottom: 16px; }
.specialty-info p { color: var(--text); font-size: .95rem; line-height: 1.75; max-width: 620px; }
.specialty-info-list { margin: 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.specialty-info-list li { position: relative; padding: 13px 0 13px 28px; color: var(--muted); font-size: .86rem; line-height: 1.45; border-bottom: 1px solid rgba(216,213,210,.58); }
.specialty-info-list li::before { content: ''; position: absolute; left: 0; top: 1.35em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.process-journey { position: relative; padding: 26px 0 8px; }
.process-line { position: absolute; left: 0; right: 0; top: 64px; height: 1px; background: linear-gradient(90deg, transparent, rgba(154,85,90,.42), rgba(145,149,137,.34), transparent); }
.process-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; }
.process-step { position: relative; padding-top: 76px; }
.process-step::before { content: ''; position: absolute; top: 31px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--accent-deep); box-shadow: 0 0 0 8px var(--bg); z-index: 1; }
.process-number { position: absolute; top: 0; left: 0; font-family: var(--font-display); font-size: 2.15rem; line-height: 1; color: rgba(154,85,90,.28); }
.process-step h3 { font-family: var(--font-display); font-size: 1.48rem; font-weight: 500; line-height: 1.1; color: var(--text); margin-bottom: 12px; }
.process-step p { color: var(--muted); font-size: .9rem; line-height: 1.68; max-width: 260px; }
@media (max-width: 920px) { .specialties, .process { padding: 88px 0; } .specialty-icon-rail { gap: 18px; } .specialty-info { grid-template-columns: 1fr; gap: 24px; padding: 30px 28px; } .process-list { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 44px; } .process-line { display: none; } .process-step { padding-top: 54px; } .process-step::before { top: 24px; } }
@media (max-width: 640px) { .specialties-header, .process-header { margin-bottom: 32px; } .specialty-icon-rail { grid-template-columns: 1fr; gap: 18px; margin-bottom: 26px; } .specialty-trigger { grid-template-columns: 82px 1fr; justify-items: start; align-items: center; text-align: left; gap: 18px; padding: 10px 0 18px; } .specialty-trigger::after { left: 0; transform: none; } .specialty-trigger.active::after, .specialty-trigger:hover::after { width: 84px; } .specialty-icon { width: 72px; height: 72px; margin-bottom: 0; } .specialty-kicker, .specialty-title { grid-column: 2; } .specialty-info { padding: 26px 22px; } .specialty-info-wrap { min-height: 0; } .process-list { grid-template-columns: 1fr; gap: 26px; } .process-step { padding: 0 0 0 58px; } .process-step::before { top: 8px; left: 4px; box-shadow: 0 0 0 7px var(--bg); } .process-number { top: -4px; left: 0; font-size: 1.75rem; opacity: .55; } .process-step p { max-width: none; } }

/* v26 refinements: flatter section demarcation, clearer M logo, richer specialties */
:root { --bg: #F5F3EF; }

/* Avoid soft gradient section transitions: use clean, deliberate bands */
.about,
.specialties,
.results,
.journal { background: var(--surface) !important; }
.treatments,
.process,
.doctors,
.contact { background: var(--bg) !important; }
.process { background-image: none !important; }
.process-line { background: rgba(154,85,90,.32) !important; }
.specialties::before,
.specialties::after,
.treatments::before,
.treatments::after,
.results::before,
.results::after { display: none !important; }

/* Logo: three-pillar mark, now reading more clearly as an M */
.logo-mark--m .logo-pillar--centre { transform-origin: center; }
.logo-mark--m .logo-connector { transform-origin: center; }
.logo:hover .logo-mark--pillars .logo-pillar--left,
.footer-logo:hover .logo-mark--pillars .logo-pillar--left { transform: translateX(-1px); }
.logo:hover .logo-mark--pillars .logo-pillar--centre,
.footer-logo:hover .logo-mark--pillars .logo-pillar--centre { transform: translateY(1px) scale(.94); }
.logo:hover .logo-mark--pillars .logo-pillar--right,
.footer-logo:hover .logo-mark--pillars .logo-pillar--right { transform: translateX(1px); }
.logo:hover .logo-mark--pillars .logo-connector--left,
.footer-logo:hover .logo-mark--pillars .logo-connector--left { transform: translate(-.4px,.2px); opacity: .95; }
.logo:hover .logo-mark--pillars .logo-connector--right,
.footer-logo:hover .logo-mark--pillars .logo-connector--right { transform: translate(.4px,.2px); opacity: .95; }

/* Specialty section: selected icon leads into an editorial expandable panel */
.specialty-info-wrap { min-height: 0 !important; }
.specialty-info {
  grid-template-columns: minmax(260px,.85fr) minmax(0,1.15fr) !important;
  gap: 36px !important;
  padding: 34px !important;
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 22px 70px rgba(38,39,40,.06) !important;
  overflow: hidden;
}
.specialty-info-media { min-height: 100%; }
.specialty-info-media img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  filter: saturate(.92) contrast(.98);
}
.specialty-info-copy { align-self: start; }
.specialty-info-list { margin: 18px 0 22px !important; }
.specialty-read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding: 11px 0;
  border-bottom: 1px solid var(--accent-deep);
  color: var(--accent-deep);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: gap .24s var(--ease), color .24s var(--ease), border-color .24s var(--ease);
}
.specialty-read-more::after { content: '+'; font-size: 1rem; line-height: 1; font-weight: 500; }
.specialty-info.is-expanded .specialty-read-more::after { content: '–'; }
.specialty-read-more:hover { gap: 16px; color: var(--text); border-color: var(--text); }
.specialty-editorial {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 30px;
  animation: specialtyOpen .32s var(--ease) both;
}
.specialty-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 28px;
}
.specialty-editorial h4 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 500;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 10px;
}
.specialty-editorial p {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.7;
}
@keyframes specialtyOpen { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 920px) {
  .specialty-info { grid-template-columns: 1fr !important; }
  .specialty-info-media img { min-height: 250px; max-height: 360px; }
  .specialty-editorial-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 640px) {
  .specialty-info { padding: 24px !important; }
  .specialty-info-media img { min-height: 210px; }
}


/* v27 corrections: restore previous logo, compact specialty panels until Show more */
.logo:hover .logo-mark--pillars .logo-pillar--left,
.footer-logo:hover .logo-mark--pillars .logo-pillar--left { transform: translateX(-1px) !important; }
.logo:hover .logo-mark--pillars .logo-pillar--centre,
.footer-logo:hover .logo-mark--pillars .logo-pillar--centre { transform: translateY(1px) !important; }
.logo:hover .logo-mark--pillars .logo-pillar--right,
.footer-logo:hover .logo-mark--pillars .logo-pillar--right { transform: translateX(1px) !important; }
.logo:hover .logo-mark--pillars .logo-connector--left,
.footer-logo:hover .logo-mark--pillars .logo-connector--left { transform: translate(-0.5px, -0.2px) !important; opacity: 0.9 !important; }
.logo:hover .logo-mark--pillars .logo-connector--right,
.footer-logo:hover .logo-mark--pillars .logo-connector--right { transform: translate(0.5px, -0.2px) !important; opacity: 0.9 !important; }

.specialty-info {
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, .95fr) !important;
  gap: 42px !important;
  align-items: start !important;
  padding: 34px 38px !important;
}
.specialty-info-copy { align-self: start; }
.specialty-info-list { margin: 0 !important; }
.specialty-read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 10px 0;
  border-bottom: 1px solid var(--accent-deep);
  color: var(--accent-deep);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: gap .24s var(--ease), color .24s var(--ease), border-color .24s var(--ease);
}
.specialty-read-more::after { content: '+'; font-size: 1rem; line-height: 1; font-weight: 500; }
.specialty-info.is-expanded .specialty-read-more::after { content: '–'; }
.specialty-read-more:hover { gap: 16px; color: var(--text); border-color: var(--text); }
.specialty-editorial {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr);
  gap: 34px;
  border-top: 1px solid var(--border);
  margin-top: 12px;
  padding-top: 30px;
  animation: specialtyOpen .32s var(--ease) both;
}
.specialty-editorial[hidden] { display: none !important; }
.specialty-editorial-media img {
  width: 100%;
  min-height: 300px;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  filter: saturate(.92) contrast(.98);
}
.specialty-editorial-copy h4 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 8px;
}
.specialty-editorial-copy p {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.7;
  margin: 0 0 18px;
}
@media (max-width: 920px) {
  .specialty-info { grid-template-columns: 1fr !important; gap: 24px !important; padding: 30px 28px !important; }
  .specialty-editorial { grid-template-columns: 1fr; gap: 22px; }
  .specialty-editorial-media img { min-height: 250px; max-height: 360px; }
}
@media (max-width: 640px) {
  .specialty-info { padding: 26px 22px !important; }
  .specialty-editorial-media img { min-height: 210px; }
}

/* ═══════════════════════════════════════════
   V29 — Offers, price list and journal pages
   ═══════════════════════════════════════════ */
.hero-content { position: relative; }
.hero-offer {
  margin-top: 34px;
  max-width: 430px;
  padding: 18px 20px 18px 22px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(216,213,210,.9);
  border-left: 3px solid var(--accent-deep);
  backdrop-filter: blur(16px) saturate(1.05);
  -webkit-backdrop-filter: blur(16px) saturate(1.05);
  box-shadow: 0 16px 44px rgba(38,39,40,.075);
}
.hero-offer__label {
  display: block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 8px;
}
.hero-offer strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 600;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 7px;
}
.hero-offer p { color: var(--muted); font-size: .88rem; line-height: 1.55; margin: 0 0 10px; }
.hero-offer p span { color: var(--accent-deep); font-weight: 700; }
.hero-offer a {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--highlight);
  border-bottom: 1px solid currentColor;
}
.treatment-subsection-heading--with-link {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  max-width: none;
}
.subsection-link {
  margin-bottom: 7px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  border-bottom: 1px solid rgba(154,85,90,.35);
  padding-bottom: 4px;
  transition: color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.subsection-link:hover { color: var(--text); border-color: var(--text); transform: translateY(-1px); }
.nav--solid { background: rgba(248,247,246,.98); }
.page-shell { background: var(--bg); min-height: 100vh; }
.page-hero { padding: 170px 0 72px; background: var(--surface); border-bottom: 1px solid var(--border); }
.page-hero p { max-width: 700px; color: var(--muted); font-size: 1.02rem; line-height: 1.7; }
.price-directory, .journal-library { padding: 72px 0 110px; }
.price-layout, .journal-library-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; align-items: start; }
.price-sidebar, .article-index {
  position: sticky;
  top: 112px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border);
}
.price-sidebar span, .article-index > span {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 10px;
}
.price-sidebar a {
  font-size: .9rem;
  color: var(--muted);
  padding: 8px 0;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.price-sidebar a:hover { color: var(--text); transform: translateX(4px); }
.price-content, .article-reader { min-width: 0; }
.price-group { padding: 0 0 58px; margin-bottom: 58px; border-bottom: 1px solid var(--border); }
.price-group:last-child { border-bottom: 0; margin-bottom: 0; }
.price-group-heading { display: flex; align-items: baseline; gap: 18px; margin-bottom: 22px; }
.price-group-heading span { font-family: var(--font-display); font-size: 1.6rem; color: var(--accent-deep); opacity: .6; }
.price-group-heading h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.45rem); font-weight: 500; color: var(--text); }
.price-table { border-top: 1px solid var(--border-dark); }
.price-table div {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(180px, .9fr) minmax(100px, auto);
  gap: 20px;
  align-items: baseline;
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
}
.price-table strong { font-size: .96rem; font-weight: 650; color: var(--text); }
.price-table span { color: var(--muted); font-size: .86rem; }
.price-table b { text-align: right; color: var(--accent-deep); font-weight: 700; white-space: nowrap; }
.price-note-large { margin-top: 22px; color: var(--muted); font-size: .88rem; line-height: 1.65; max-width: 760px; }
.article-index a {
  display: block;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  transition: transform .25s var(--ease), color .25s var(--ease);
}
.article-index a:hover { transform: translateX(4px); }
.article-index a span { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 5px; }
.article-index a strong { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; line-height: 1.2; color: var(--text); }
.article-index a em { display: block; margin-top: 6px; font-style: normal; font-size: .76rem; color: var(--muted); }
.journal-article {
  scroll-margin-top: 110px;
  padding: 0 0 64px;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--border);
  max-width: 840px;
}
.journal-article:last-child { border-bottom: 0; margin-bottom: 0; }
.article-kicker { font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 14px; }
.journal-article h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.08; font-weight: 500; color: var(--text); margin-bottom: 12px; }
.journal-article .journal-date { display: block; margin-bottom: 24px; color: var(--muted); }
.journal-article p { font-size: 1rem; line-height: 1.85; color: var(--text); margin-bottom: 20px; }
.page-footer { background: var(--surface); padding: 0; }
.page-footer .footer-bottom { border-top: 1px solid var(--border); }
@media (max-width: 900px) {
  .hero-offer { max-width: 100%; }
  .treatment-subsection-heading--with-link { display: block; }
  .subsection-link { display: inline-block; margin: 8px 0 0; }
  .price-layout, .journal-library-layout { grid-template-columns: 1fr; gap: 34px; }
  .price-sidebar, .article-index { position: static; }
  .price-table div { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .price-table b { text-align: left; }
  .page-hero { padding-top: 140px; }
}

/* ═══════════════════════════════════════════
   V30 — integrated hero offer + full hero subpages
   ═══════════════════════════════════════════ */
.hero-content--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  gap: clamp(36px, 6vw, 86px);
  align-items: end;
}
.hero-main { min-width: 0; }
.hero-offer {
  align-self: end;
  margin: 0 0 16px;
  max-width: none;
  padding: 24px 26px 24px 28px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 24px 70px rgba(38,39,40,.10), inset 0 1px 0 rgba(255,255,255,.74);
  backdrop-filter: blur(22px) saturate(1.08);
  -webkit-backdrop-filter: blur(22px) saturate(1.08);
  position: relative;
  overflow: hidden;
}
.hero-offer::before {
  content: '';
  position: absolute;
  left: 0; top: 22px; bottom: 22px;
  width: 3px;
  background: var(--accent-deep);
  border-radius: 999px;
}
.hero-offer__label { margin-bottom: 12px; }
.hero-offer strong { font-size: clamp(1.16rem, 1.7vw, 1.34rem); }
.hero-offer p { font-size: .92rem; }
.hero-offer a { display: inline-flex; margin-top: 4px; }

.page-hero--full {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: 140px 0 86px;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero--full::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245,243,239,.92) 0%, rgba(245,243,239,.74) 45%, rgba(245,243,239,.42) 100%);
  z-index: 1;
  pointer-events: none;
}
.page-hero--full .hero-bg {
  z-index: 0;
  opacity: .82;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
}
.page-hero-content .section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}
.page-hero-content p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}
.price-directory,
.journal-library {
  scroll-margin-top: 96px;
}
.price-group,
.journal-article {
  scroll-margin-top: 110px;
}
.article-figure {
  margin: 0 0 30px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(216,213,210,.75);
  box-shadow: 0 18px 54px rgba(38,39,40,.07);
}
.article-figure img {
  width: 100%;
  height: clamp(260px, 40vw, 430px);
  object-fit: cover;
}
.article-figure figcaption {
  padding: 13px 16px 15px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.55;
  background: rgba(255,255,255,.66);
}
.journal-article .article-note {
  margin-top: 30px;
  padding: 18px 20px;
  background: var(--surface);
  border-left: 3px solid var(--accent-deep);
  color: var(--muted);
  font-size: .9rem;
}
@media (max-width: 900px) {
  .hero-content--split {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 32px;
  }
  .hero-offer {
    margin: 0;
    max-width: 520px;
  }
  .page-hero--full {
    min-height: 62vh;
    padding: 130px 0 70px;
  }
  .page-hero--full::after {
    background: rgba(245,243,239,.86);
  }
}


/* V31 — offer/subpage corrections */
.hero-offer::before { display: none !important; }
.price-directory, .journal-library { scroll-margin-top: 92px; }
.price-page .hero, .journal-page .hero { min-height: 100vh; }
.price-page .footer a[href^="#"], .journal-page .footer a[href^="#"] { }


/* V32 — restore page header typography while keeping full site shell */
.page-content-header {
  padding: 86px 0 48px;
  background: var(--bg);
  border-bottom: 1px solid rgba(216,213,210,.72);
  scroll-margin-top: 92px;
}
.page-content-header .container {
  max-width: 1280px;
}
.page-content-header .section-label {
  margin-bottom: 18px;
}
.page-content-header .section-heading {
  max-width: 820px;
  margin-bottom: 22px;
}
.page-content-header p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}
.price-directory,
.journal-library {
  padding-top: 76px;
}
.hero-name,
.hero-name span {
  color: var(--accent-deep);
}
@media (max-width: 768px) {
  .page-content-header { padding: 64px 0 36px; }
  .page-content-header p { font-size: .98rem; }
}


/* V33 — standalone subpage headers without hero */
.page-content-header {
  padding: 150px 0 58px;
  background: #F8F7F4;
  border-bottom: 1px solid rgba(216,213,210,.78);
  scroll-margin-top: 0;
}
.price-directory,
.journal-library {
  padding-top: 82px;
  background: var(--surface);
}
@media (max-width: 768px) {
  .page-content-header { padding: 126px 0 42px; }
}


/* ═══════ V34 — clearer links and page interactions ═══════ */
.journal-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.journal-read-more::after { content: '→'; font-size: .9rem; line-height: 1; transition: transform .24s var(--ease); }
.journal-card:hover .journal-read-more::after { transform: translateX(4px); }
.price-table div {
  cursor: pointer;
  border-radius: var(--radius-sm);
  padding-left: 14px;
  padding-right: 14px;
  margin-left: -14px;
  margin-right: -14px;
  transition: background .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
}
.price-table div:hover,
.price-table div:focus-within,
.price-table div.is-selected {
  background: rgba(255,255,255,.68);
  border-color: rgba(154,85,90,.26);
  transform: translateX(4px);
  box-shadow: 0 10px 28px rgba(38,39,40,.045);
}
.price-table div.is-selected { outline: 1px solid rgba(154,85,90,.20); }
.journal-library-layout { grid-template-columns: minmax(0, 1fr) 250px; }
.article-reader { order: 1; }
.article-index { order: 2; }
.specialty-read-more {
  width: fit-content;
  text-decoration: none;
}
.specialty-read-more::after { content: '→'; }
.specialty-info.is-expanded .specialty-read-more::after { content: '→'; }
.specialty-page-article { padding: 76px 0 118px; background: var(--surface); }
.specialty-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; align-items: start; }
.specialty-article-main { min-width: 0; }
.specialty-article-main .article-figure { margin: 34px 0; }
.specialty-article-main h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.2vw, 2.7rem); font-weight: 500; line-height: 1.1; margin: 44px 0 18px; color: var(--text); }
.specialty-article-main p { font-size: 1rem; line-height: 1.85; color: var(--text); margin-bottom: 20px; }
.specialty-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 32px 0; }
.specialty-points li { list-style: none; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px; color: var(--muted); line-height: 1.55; }
.specialty-article-aside { position: sticky; top: 110px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; }
.specialty-article-aside span { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 14px; }
.specialty-article-aside a { display: block; padding: 12px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; transition: color .2s var(--ease), transform .2s var(--ease); }
.specialty-article-aside a:hover { color: var(--text); transform: translateX(4px); }
@media (max-width: 900px) {
  .journal-library-layout, .specialty-article-layout { grid-template-columns: 1fr; gap: 34px; }
  .article-index, .specialty-article-aside { order: initial; position: static; }
  .specialty-points { grid-template-columns: 1fr; }
}


/* ═══════ V35 — journal link alignment + specialty article fixes ═══════ */
.journal-date {
  display: block;
}
.journal-read-more {
  display: flex;
  width: fit-content;
  margin-left: auto;
  text-align: right;
  justify-content: flex-end;
}

.specialty-page-article {
  padding: 76px 0 118px;
  background: var(--surface);
}
.specialty-article-layout {
  display: block;
  max-width: 1040px;
}
.specialty-article-aside {
  position: static;
  top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 46px;
}
.specialty-article-aside span {
  display: inline-flex;
  align-items: center;
  margin: 0 18px 0 0;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  white-space: nowrap;
}
.specialty-article-aside a {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: var(--surface);
  font-size: .86rem;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.specialty-article-aside a:hover {
  color: var(--text);
  border-color: rgba(154,85,90,.28);
  background: rgba(255,255,255,.82);
  transform: translateY(-1px);
}
.specialty-article-main {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
}
.specialty-article-main .article-figure img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}
@media (max-width: 700px) {
  .specialty-article-aside { align-items: stretch; }
  .specialty-article-aside span { width: 100%; margin: 0 0 4px; }
  .specialty-article-aside a { width: 100%; justify-content: space-between; }
}


/* ═════ v36 Specialty article fixes ═════ */
.specialty-page-article {
  padding: 68px 0 118px;
  background: var(--surface);
}
.specialty-page-article .container.specialty-article-layout {
  display: block;
  max-width: 1180px;
  width: 100%;
}
.specialty-article-aside {
  position: static !important;
  top: auto !important;
  display: flex !important;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  width: 100%;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 0 24px !important;
  margin: 0 0 46px !important;
  border-bottom: 1px solid var(--border) !important;
}
.specialty-article-aside span {
  display: inline-flex !important;
  margin: 0 6px 0 0 !important;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  white-space: nowrap;
}
.specialty-article-aside a {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.4;
  position: relative;
  transition: color .22s var(--ease), transform .22s var(--ease);
}
.specialty-article-aside a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--accent-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s var(--ease);
}
.specialty-article-aside a:hover {
  color: var(--text) !important;
  background: transparent !important;
  border-color: transparent !important;
  transform: translateY(-1px);
}
.specialty-article-aside a:hover::after { transform: scaleX(1); }
.specialty-article-main {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}
.specialty-article-main .article-figure {
  margin: 0 0 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 20px 58px rgba(38,39,40,.045);
}
.specialty-article-main .article-figure img {
  width: 100%;
  height: auto;
  max-height: 580px;
  object-fit: cover;
  display: block;
}
.specialty-article-main .article-figure figcaption {
  padding: 18px 22px;
  font-size: .86rem;
  color: var(--muted);
}
@media (max-width: 700px) {
  .specialty-article-aside {
    gap: 14px 18px;
    align-items: flex-start !important;
  }
  .specialty-article-aside span {
    width: 100%;
    margin-bottom: 2px !important;
  }
  .specialty-article-aside a {
    width: auto !important;
    justify-content: flex-start !important;
  }
}

/* ═════ v37 Specialty page width alignment fix ═════ */
.specialty-page-article .container.specialty-article-layout {
  max-width: 1280px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
}
.specialty-article-main {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.specialty-article-main .article-figure {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.specialty-article-aside {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.specialty-article-main > h2,
.specialty-article-main > p,
.specialty-article-main > .specialty-points,
.specialty-article-main > .article-note {
  max-width: 960px;
}
@media (max-width: 700px) {
  .specialty-page-article .container.specialty-article-layout {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

/* ═════ v38 Specialty article lower-content width fix ═════ */
.specialty-article-main > h2,
.specialty-article-main > p,
.specialty-article-main > .specialty-points,
.specialty-article-main > .article-note {
  max-width: none !important;
  width: 100% !important;
}
.specialty-article-main > p {
  max-width: 1120px !important;
}
.specialty-article-main > h2 {
  max-width: 1120px !important;
}
.specialty-article-main > .specialty-points {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.specialty-article-main > .article-note {
  max-width: 1120px !important;
}
@media (max-width: 980px) {
  .specialty-article-main > .specialty-points {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 640px) {
  .specialty-article-main > .specialty-points {
    grid-template-columns: 1fr !important;
  }
}


/* ═════ v39 Specialty article full-width editorial rebuild ═════ */
.specialty-page-article {
  padding: 64px 0 118px;
}
.specialty-page-article .container.specialty-article-layout {
  max-width: 1280px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
  display: block !important;
}
.specialty-article-aside {
  display: flex !important;
  align-items: center !important;
  gap: 30px !important;
  width: 100% !important;
  max-width: none !important;
  position: static !important;
  padding: 0 0 24px !important;
  margin: 0 0 46px !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--border) !important;
  border-radius: 0 !important;
}
.specialty-article-aside span {
  display: inline-flex !important;
  width: auto !important;
  margin: 0 !important;
  font-size: .64rem !important;
  font-weight: 700 !important;
  letter-spacing: .2em !important;
  text-transform: uppercase !important;
  color: var(--accent-deep) !important;
  white-space: nowrap !important;
}
.specialty-article-aside a {
  display: inline-flex !important;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--muted) !important;
  font-size: .9rem !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  transition: color .2s var(--ease), transform .2s var(--ease) !important;
}
.specialty-article-aside a::after { display: none !important; }
.specialty-article-aside a:hover {
  color: var(--text) !important;
  transform: translateY(-1px) !important;
}
.specialty-article-main {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  display: block !important;
}
.specialty-article-main .article-figure--hero {
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 34px !important;
}
.specialty-article-main .article-figure--hero img {
  width: 100% !important;
  height: clamp(360px, 46vw, 560px) !important;
  object-fit: cover !important;
}
.specialty-points {
  width: 100% !important;
  max-width: none !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin: 34px 0 58px !important;
}
.specialty-points li {
  min-height: 88px !important;
  display: flex !important;
  align-items: center !important;
}
.specialty-article-intro {
  width: 100% !important;
  max-width: none !important;
  display: grid !important;
  grid-template-columns: minmax(260px, .55fr) minmax(0, 1fr) !important;
  gap: 56px !important;
  align-items: start !important;
  padding: 48px 0 !important;
  border-top: 1px solid var(--border) !important;
  border-bottom: 1px solid var(--border) !important;
  margin-bottom: 58px !important;
}
.specialty-article-intro h2,
.specialty-editorial-copy h2 {
  font-family: var(--font-display) !important;
  font-size: clamp(1.9rem, 3.2vw, 3rem) !important;
  font-weight: 500 !important;
  line-height: 1.08 !important;
  color: var(--text) !important;
  margin: 0 0 18px !important;
}
.specialty-article-intro p,
.specialty-editorial-copy p {
  max-width: none !important;
  font-size: 1rem !important;
  line-height: 1.85 !important;
  color: var(--text) !important;
  margin: 0 0 18px !important;
}
.specialty-editorial-row {
  width: 100% !important;
  max-width: none !important;
  display: grid !important;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1fr) !important;
  gap: 58px !important;
  align-items: center !important;
  margin: 0 0 72px !important;
}
.specialty-editorial-row--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr) !important;
}
.specialty-inline-figure {
  margin: 0 !important;
  width: 100% !important;
}
.specialty-inline-figure img {
  width: 100% !important;
  height: clamp(260px, 30vw, 420px) !important;
  object-fit: cover !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 18px 44px rgba(38,39,40,.06) !important;
}
.specialty-inline-figure figcaption {
  margin-top: 12px !important;
  font-size: .78rem !important;
  line-height: 1.55 !important;
  color: var(--muted) !important;
}
.specialty-editorial-copy {
  width: 100% !important;
  max-width: none !important;
}
.specialty-article-main > .article-note {
  width: 100% !important;
  max-width: none !important;
  margin: 28px 0 0 !important;
  padding: 24px 28px !important;
  background: var(--bg) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  color: var(--muted) !important;
}
@media (max-width: 980px) {
  .specialty-points { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .specialty-article-intro,
  .specialty-editorial-row,
  .specialty-editorial-row--reverse {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }
  .specialty-editorial-row--reverse .specialty-inline-figure { order: -1; }
}
@media (max-width: 700px) {
  .specialty-page-article .container.specialty-article-layout {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .specialty-article-aside {
    flex-wrap: wrap !important;
    gap: 14px 20px !important;
  }
  .specialty-article-aside span { width: 100% !important; }
  .specialty-points { grid-template-columns: 1fr !important; }
}

/* ═════ v41 Specialty sub-navigation cleanup ═════ */
.specialty-article-aside {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 40px !important;
}
.specialty-article-intro {
  border-top: 0 !important;
  padding-top: 0 !important;
}

/* ═══════ V42 — specialties, treatment toggle, journal and pricing refinements ═══════ */
.nav-links a[href*="#treatments"] { white-space: nowrap; }

/* Specialties */
.specialties-header { margin-bottom: 42px !important; }
.specialties-header p { display: none !important; }
.specialty-trigger.active:hover .specialty-icon,
.specialty-trigger:hover .specialty-icon {
  color: var(--primary) !important;
  transform: translateY(-3px);
}
.specialty-mini-label { display: none !important; }
.specialty-info {
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr) !important;
}
.specialty-info-action {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  margin-top: -12px;
}
.specialty-info .specialty-read-more {
  margin-left: auto !important;
}
@media (max-width: 920px) {
  .specialty-info { grid-template-columns: 1fr !important; }
  .specialty-info-action { margin-top: 0; }
}

/* Treatments merged toggle */
.treatment-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 32px 0 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(216,213,210,.74);
}
.treatment-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.treatment-toggle-btn {
  min-width: 128px;
  padding: 11px 22px;
  border-radius: calc(var(--radius-sm) - 2px);
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .24s var(--ease), color .24s var(--ease), transform .24s var(--ease);
}
.treatment-toggle-btn:hover { color: var(--text); }
.treatment-toggle-btn.active {
  background: var(--primary);
  color: var(--surface);
  transform: translateY(-1px);
}
.treatment-panel { display: none; }
.treatment-panel.active { display: block; }
.treatment-full-list-link,
.treatment-toggle-row .subsection-link {
  white-space: nowrap;
}
@media (max-width: 720px) {
  .treatment-toggle-row { align-items: stretch; flex-direction: column; }
  .treatment-toggle { width: 100%; }
  .treatment-toggle-btn { flex: 1; min-width: 0; }
  .treatment-toggle-row .subsection-link { align-self: flex-start; }
}

/* Journal cards made visually distinct from the section background */
.journal-card {
  background: var(--surface) !important;
  border: 1px solid rgba(216,213,210,.86) !important;
  box-shadow: 0 18px 54px rgba(38,39,40,.055) !important;
}
.journal-meta {
  background: var(--surface) !important;
}
.journal-meta .journal-date {
  display: inline-block !important;
}
.journal-meta .journal-read-more {
  float: right;
  margin-left: 18px;
  margin-top: 0 !important;
}
.journal-meta::after { content: ''; display: table; clear: both; }
@media (max-width: 640px) {
  .journal-meta .journal-read-more { float: none; display: inline-flex; margin-left: 0; margin-top: 12px !important; }
}

/* Price page: horizontal navigation and chunked price list */
.price-directory { padding-top: 58px !important; }
.price-layout {
  display: block !important;
}
.price-sidebar {
  position: static !important;
  display: flex !important;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 0 46px;
  padding: 0 0 18px !important;
  border-bottom: 1px solid var(--border) !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.price-sidebar span {
  margin: 0 8px 0 0 !important;
  white-space: nowrap;
}
.price-sidebar a {
  display: inline-flex !important;
  align-items: center;
  padding: 0 !important;
  border: 0 !important;
  color: var(--muted);
  transform: none !important;
}
.price-sidebar a:hover { color: var(--text); transform: none !important; }
.price-content { width: 100% !important; max-width: none !important; }
.price-group {
  padding: 0 0 54px !important;
  margin-bottom: 54px !important;
  border-bottom: 1px solid var(--border) !important;
}
.price-group-heading {
  margin-bottom: 24px !important;
}
.price-group-heading span { display: none !important; }
.price-group-heading h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.35rem) !important;
}
.price-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border-top: 0 !important;
}
.price-table > div {
  min-height: 108px;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas: "title price" "note price";
  align-items: center;
  gap: 6px 18px !important;
  padding: 20px 22px !important;
  background: var(--surface);
  border: 1px solid rgba(216,213,210,.82) !important;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(38,39,40,.035);
}
.price-table > div strong { grid-area: title; }
.price-table > div span { grid-area: note; }
.price-table > div b { grid-area: price; align-self: center; }
.price-table > div:hover,
.price-table > div:focus-within,
.price-table > div.is-selected {
  background: #fff !important;
  border-color: rgba(154,85,90,.34) !important;
  box-shadow: 0 14px 34px rgba(38,39,40,.065) !important;
  transform: translateY(-2px);
}
@media (max-width: 820px) {
  .price-table { grid-template-columns: 1fr; }
  .price-table > div { grid-template-columns: 1fr !important; grid-template-areas: "title" "note" "price"; }
  .price-table > div b { text-align: left; }
}


/* ═════ v43 pricing, footer and policy refinements ═════ */
.price-directory .container.price-layout {
  max-width: 1280px !important;
  width: 100% !important;
  display: block !important;
}
.price-sidebar {
  display: flex !important;
  align-items: center !important;
  gap: 30px !important;
  width: 100% !important;
  max-width: none !important;
  position: static !important;
  padding: 0 0 24px !important;
  margin: 0 0 46px !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.price-sidebar span {
  display: inline-flex !important;
  width: auto !important;
  margin: 0 !important;
  font-size: .64rem !important;
  font-weight: 700 !important;
  letter-spacing: .2em !important;
  text-transform: uppercase !important;
  color: var(--accent-deep) !important;
  white-space: nowrap !important;
}
.price-sidebar a {
  display: inline-flex !important;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--muted) !important;
  font-size: .9rem !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  transition: color .2s var(--ease), transform .2s var(--ease) !important;
}
.price-sidebar a:hover { color: var(--text) !important; transform: translateY(-1px) !important; }
.price-content { width: 100% !important; max-width: none !important; }
.price-group { padding-bottom: 54px !important; margin-bottom: 54px !important; }
.price-table {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(360px, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
  width: 100% !important;
  overflow: visible !important;
}
.price-table > div {
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(96px, max-content) !important;
  grid-template-areas: "title price" "note price" !important;
  gap: 7px 20px !important;
  align-items: center !important;
  overflow: hidden !important;
}
.price-table > div strong,
.price-table > div span { min-width: 0 !important; overflow-wrap: anywhere !important; }
.price-table > div b { justify-self: end !important; text-align: right !important; white-space: nowrap !important; }
.footer-grid {
  grid-template-columns: minmax(260px, 1.3fr) repeat(4, minmax(150px, 1fr)) !important;
  gap: 34px !important;
}
.footer-col--privacy a { color: rgba(255,255,255,.72); }
.policy-page { padding: 72px 0 110px; background: var(--surface); }
.policy-panel { max-width: 900px; padding: 34px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); }
.policy-panel p { color: var(--muted); margin-bottom: 16px; line-height: 1.75; }
@media (max-width: 980px) {
  .price-table { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 700px) {
  .price-sidebar { align-items: flex-start !important; gap: 14px 20px !important; }
  .price-sidebar span { width: 100% !important; }
  .price-table > div { grid-template-columns: 1fr !important; grid-template-areas: "title" "note" "price" !important; }
  .price-table > div b { justify-self: start !important; text-align: left !important; }
  .footer-grid { grid-template-columns: 1fr !important; }
}


/* ═════ v44 Navigation, footer and policy layout fixes ═════ */
/* Shared top-link navigation used by price, specialty and privacy pages */
.price-sidebar,
.specialty-article-aside,
.policy-sidebar {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 30px !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  max-width: none !important;
  position: static !important;
  padding: 0 !important;
  margin: 0 0 42px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.price-sidebar span,
.specialty-article-aside span,
.policy-sidebar span {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 6px 0 0 !important;
  padding: 0 !important;
  font-size: .64rem !important;
  font-weight: 700 !important;
  letter-spacing: .2em !important;
  text-transform: uppercase !important;
  color: var(--accent-deep) !important;
  white-space: nowrap !important;
}
.price-sidebar a,
.specialty-article-aside a,
.policy-sidebar a {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--muted) !important;
  font-size: .9rem !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transform: none !important;
  transition: color .22s var(--ease), transform .22s var(--ease) !important;
}
.price-sidebar a:hover,
.specialty-article-aside a:hover,
.policy-sidebar a:hover {
  color: var(--accent-deep) !important;
  transform: translateY(-1px) !important;
}
.specialty-article-aside a::after { display: none !important; }

/* Fix price rows so the two-column chunks never overlap */
.price-table {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}
.price-table > div {
  min-width: 0 !important;
  overflow: hidden !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 7px 18px !important;
}
.price-table > div strong,
.price-table > div span {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}
.price-table > div b {
  min-width: max-content !important;
  justify-self: end !important;
}

/* Footer privacy column should match the rest of the footer */
.footer-col--privacy a,
.footer-col a,
.footer-legal a {
  color: rgba(38, 39, 40, 0.45) !important;
}
.footer-col--privacy a:hover,
.footer-col a:hover,
.footer-legal a:hover {
  color: var(--accent-deep) !important;
}
.footer-bottom .footer-legal a { color: rgba(38, 39, 40, 0.35) !important; }
.footer-bottom .footer-legal a:hover { color: var(--accent-deep) !important; }

/* Policy/legal pages now use the same full-width content pattern as other subpages */
.policy-page {
  padding: 62px 0 112px !important;
  background: var(--surface) !important;
}
.policy-layout {
  max-width: 1280px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
}
.policy-panel {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.policy-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.7vw, 2.35rem);
  font-weight: 500;
  line-height: 1.12;
  color: var(--text);
  margin: 0 0 18px;
}
.policy-panel h3 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 34px 0 12px;
}
.policy-panel p,
.policy-panel li {
  max-width: none !important;
  color: var(--text) !important;
  font-size: .98rem;
  line-height: 1.8;
}
.policy-panel ul { margin: 0 0 22px 18px; }
.policy-panel li { margin-bottom: 8px; }
.policy-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 56px;
  padding-top: 6px;
}
.policy-section-grid > section {
  min-width: 0;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
@media (max-width: 900px) {
  .price-table { grid-template-columns: 1fr !important; }
  .policy-section-grid { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 700px) {
  .price-sidebar,
  .specialty-article-aside,
  .policy-sidebar {
    gap: 14px 20px !important;
  }
  .price-sidebar span,
  .specialty-article-aside span,
  .policy-sidebar span {
    flex-basis: 100% !important;
    width: 100% !important;
  }
  .policy-layout { padding-left: 24px !important; padding-right: 24px !important; }
}

/* ═════ v45 Simplified policy pages ═════ */
.page-content-header .section-heading:only-child {
  margin-bottom: 0;
}
.policy-panel {
  max-width: none !important;
}
.policy-copy {
  max-width: 1120px;
}
.policy-copy p {
  max-width: none !important;
  margin-bottom: 20px !important;
  color: var(--text) !important;
  font-size: 1rem !important;
  line-height: 1.82 !important;
}
.policy-copy p:last-child {
  margin-bottom: 0 !important;
}
.policy-section-grid {
  display: block !important;
}

/* V47 — policy pages use the same header structure as price and journal pages */
.policy-page .policy-sidebar { margin-bottom: 34px; }
.page-content-header .section-heading .heading-script:only-child {
  font-size: inherit;
  line-height: inherit;
}

/* WordPress admin bar support */
body.admin-bar .nav{ top:32px; }
@media screen and (max-width:782px){ body.admin-bar .nav{ top:46px; } }
