/* ==========================================================
   Refined Medical Aesthetics — shared theme & chrome CSS
   Palette: Cream (prototype default) · Fraunces + DM Sans
   Safe to include on any page after its own page-specific styles
   ========================================================== */

:root {
  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Palette — Cream */
  /* Note: accent-ink darkened from #8F6A3C → #7A5A32 (~5.5:1 vs cream)
     to meet WCAG AA 4.5:1 contrast on body text (eyebrow, price, etc.)  */
  --paper:       #F7F2EA;
  --tone:        #EFE6D6;
  --tone-2:      #E6DAC4;
  --ink:         #1F1812;
  --ink-soft:    #5A4E42;
  --accent-ink:  #7A5A32;
  --accent-soft: #E5CFA8;
  --rule:        rgba(31, 24, 18, 0.18);

  /* Legacy button tokens kept for existing pill buttons */
  --color-charcoal: var(--ink);
  --color-white:    var(--paper);
  --color-gold:     var(--accent-ink);
  --color-gold-dark:#5F451F;
  --color-text:     var(--ink-soft);
  --color-text-light: var(--ink-soft);
  --color-text-muted: var(--ink-soft);
  --color-bg:       var(--paper);
  --color-bg-alt:   var(--tone);
  --color-cream:    var(--paper);
  --color-surface:  var(--paper);
  --color-surface-strong: var(--tone);
  --color-card:     #fff;
  --color-border:   var(--rule);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--paper) !important;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family:var(--font-display);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

h1 { font-size: clamp(36px, 6vw, 58px); letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4.5vw, 40px); }
h3 { font-size: clamp(20px, 3vw, 26px); }

h1 span, h2 span, h3 span,
h1 em, h2 em, h3 em,
.accent {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-ink);
}

p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

a { color: inherit; text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent-ink); }

img { max-width: 100%; display: block; height: auto; }

hr { border: none; border-top: 0.5px solid var(--rule); margin: 40px 0; }

.eyebrow, .section-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

/* ---------- Pill buttons (preserved from live site) ---------- */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 999px;
  text-decoration: none;
}
.btn-dark     { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--accent-ink); color: var(--paper); }
.btn-gold     { background: var(--accent-ink); color: var(--paper); }
.btn-gold:hover { background: var(--color-gold-dark); color: var(--paper); }
.btn-outline  { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-klarna { background: #ffb3d9 !important; border-color: #ff8fc8 !important; color: #24121a !important; }
.btn-klarna:hover { background: #ff8fc8 !important; border-color: #ff6fba !important; color: #24121a !important; }
.klarna-note { flex: 1 1 100%; display: block; font-size: 12.5px; line-height: 1.45; font-weight: 800; color: #24121a; background: #fff1f8; border: 1px solid #ff8fc8; border-left: 4px solid #ff6fba; border-radius: 10px; padding: 8px 10px; text-align: right; margin-top: 8px; box-shadow: 0 6px 18px rgba(255, 143, 200, 0.18); }
.klarna-note::before { content: "Klarna instructions: "; font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; }
.rx-option .klarna-note { text-align: left; }
@media (max-width: 640px) { .klarna-note { text-align: left; } }
.deposit-note { flex: 1 1 100%; display: block; font-size: 12.5px; line-height: 1.45; font-weight: 700; color: var(--muted); background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; padding: 8px 10px; text-align: right; margin-top: 8px; }
.rx-option .deposit-note { text-align: left; }
@media (max-width: 640px) { .deposit-note { text-align: left; } }
.btn-light    { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); color: var(--ink); }
/* WhatsApp pill — darkened from brand-bright #25D366 to #0F7B3D so
   white text meets WCAG AA 4.5:1.  Hover deepens further. */
.btn-whatsapp { background: #0F7B3D; color: #fff; }
.btn-whatsapp:hover { background: #0A5A2B; color: #fff; }

/* ---------- Section shell ---------- */
section.section,
section.block {
  padding: clamp(56px, 8vw, 96px) 24px;
}
.section-inner,
.block-inner,
.wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.section-header {
  max-width: 780px;
  margin-bottom: 38px;
}
.section-header .section-label,
.section-header .eyebrow { margin-bottom: 12px; display: inline-block; }
.section-header h1,
.section-header h2,
.section-header h3 {
  margin: 0 0 14px;
  line-height: 1.0;
  letter-spacing: -0.02em;
}
.section-header p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 14px 0 0;
  max-width: 52ch;
}

.tone-bg { background: var(--tone); border-top: 0.5px solid var(--rule); border-bottom: 0.5px solid var(--rule); }
.tone-2-bg { background: var(--tone-2); border-top: 0.5px solid var(--rule); border-bottom: 0.5px solid var(--rule); }
.ink-bg { background: var(--ink); color: var(--paper); }
.ink-bg h1, .ink-bg h2, .ink-bg h3, .ink-bg p { color: var(--paper); }
.ink-bg .eyebrow, .ink-bg .section-label { color: var(--accent-soft); }
.ink-bg em { color: var(--accent-soft); }

/* ---------- Klarna banner (kept for backwards compat — hidden) ---------- */
.klarna-banner { display: none !important; }

/* ---------- Promo strip ---------- */
.promo-strip {
  background: var(--ink);
  color: var(--paper);
  height: 32px;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}
.promo-strip__track {
  display: inline-flex;
  white-space: nowrap;
  animation: promo 42s linear infinite;
}
.promo-strip__item {
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0 36px;
  opacity: 0.85;
}
.promo-strip__item::before {
  content: "✦";
  margin-right: 14px;
  color: var(--accent-soft);
  opacity: 0.6;
}
@keyframes promo {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Header — 5-slot grid (icons | logo | icons) ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 0.5px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px 20px;
  gap: 12px;
}
.header__left,
.header__right {
  display: flex; align-items: center;
  gap: 14px;
}
.header__right { justify-content: flex-end; }

.header-icon {
  background: transparent; border: none;
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); cursor: pointer;
  padding: 0;
  text-decoration: none;
}
.header-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.header-icon:hover { color: var(--accent-ink); }

.header .logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  justify-self: center;
}
.header .logo img {
  width: 46px; height: 46px; border-radius: 999px; object-fit: cover;
  background: var(--tone);
  border: 0.5px solid var(--rule);
}
.header .logo-text {
  display: flex; flex-direction: column; line-height: 1;
}
.header .logo-text .refined {
  font-family:var(--font-display);
  font-size: 24px;
  letter-spacing: 0.18em;
  color: var(--ink);
  font-weight: 400;
  text-transform: uppercase;
}
.header .logo-text .medical {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 6px;
}

.nav-desktop { display: none; }

/* Pill "Book" button: lighter — cream paper with ink outline */
.book-now-btn,
.header-book-pill {
  display: none;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
}
.book-now-btn:hover,
.header-book-pill:hover { background: var(--ink); color: var(--paper); }

.menu-btn {
  background: transparent;
  border: none;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  padding: 0;
  color: var(--ink);
}
.menu-btn svg { width: 22px; height: 22px; }

.theme-toggle { display: none !important; }

@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
    gap: 22px;
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    padding: 10px 0 14px;
  }
  .nav-desktop a {
    font-family: var(--font-body);
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink);
  }
  .header-book-pill { display: inline-flex; }
}

/* ---------- Mobile menu drawer ---------- */
.menu-overlay {
  position: fixed; inset: 0;
  background: rgba(31,24,18,0.5);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
  z-index: 60;
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(340px, 88vw);
  background: var(--paper);
  z-index: 70;
  padding: 72px 32px 32px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  border-left: 0.5px solid var(--rule);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family:var(--font-display);
  font-size: 22px;
  padding: 14px 0;
  border-bottom: 0.5px solid var(--rule);
  color: var(--ink);
}
.mobile-menu a.book-now-btn {
  display: inline-flex;
  margin-top: 20px;
  border: none;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 11px;
  padding: 14px 22px;
  align-self: flex-start;
  background: var(--ink);
  color: var(--paper);
}
.mobile-menu-close {
  position: absolute; top: 20px; right: 20px;
  background: transparent; border: none;
  font-size: 28px; color: var(--ink); cursor: pointer;
  font-family:var(--font-display);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 24px 36px;
  margin-top: 0;
}
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-brand img {
  width: 64px; height: 64px; border-radius: 999px; object-fit: cover;
  background: var(--tone-2);
}
.footer-brand .refined,
.footer-brand-text .refined {
  font-family:var(--font-display);
  font-size: 26px; letter-spacing: -0.01em;
  color: var(--paper);
}
.footer-brand .medical,
.footer-brand-text .medical {
  font-family: var(--font-body);
  font-size: 9px; letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.6; margin-top: 5px;
  display: block;
  color: var(--paper);
}
.footer-about {
  font-family: var(--font-body);
  font-size: 13px; line-height: 1.65;
  opacity: 0.72;
  max-width: 420px;
  margin: 0 0 36px;
  color: var(--paper);
}
.footer-cols,
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 36px;
}
@media (min-width: 720px) {
  .footer-cols, .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
/* Footer column headings — h3 (was h4) so screen readers don't see a
   heading-level skip after the page's h2 sections. */
.footer-col h3,
.footer-column h3,
.footer-col h4,
.footer-column h4 {
  font-family: var(--font-body);
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.78;
  margin: 0 0 16px;
  font-weight: 500;
  color: var(--paper);
}
.footer-col a,
.footer-col li,
.footer-column a,
.footer-column li,
.footer-links a {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 2;
  color: var(--paper);
  opacity: 0.88;
  text-decoration: none;
}
.footer-col ul,
.footer-column ul {
  list-style: none; margin: 0; padding: 0;
}
.footer-col a:hover,
.footer-column a:hover,
.footer-links a:hover { opacity: 1; color: var(--accent-soft); }
.footer-contact strong {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.78;
  font-weight: 500;
  margin-top: 10px;
  color: var(--paper);
}
.footer-contact a,
.footer-contact span {
  line-height: 1.5;
  font-size: 13px;
  display: inline;
  color: var(--paper);
  opacity: 0.88;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 0.5px solid rgba(255,255,255,0.15);
  font-family: var(--font-body);
  font-size: 10.5px;
  opacity: 0.78;
  letter-spacing: 0.08em;
  line-height: 1.75;
  color: var(--paper);
}
.footer-bottom p { color: var(--paper); opacity: 1; margin: 4px 0; font-size: 10.5px; }

/* ---------- VIP popup (preserved) ---------- */
.popup-overlay {
  position: fixed; inset: 0;
  background: rgba(31,24,18,0.72);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  transition: opacity .3s;
}
.popup-overlay.hidden { opacity: 0; pointer-events: none; }
.popup {
  background: var(--paper);
  max-width: 420px; width: 100%;
  padding: 40px 32px 32px;
  position: relative;
  border: 0.5px solid var(--rule);
  text-align: center;
}
.popup-close {
  position: absolute; top: 12px; right: 16px;
  background: transparent; border: none;
  font-size: 28px; line-height: 1;
  color: var(--ink-soft); cursor: pointer;
  font-family:var(--font-display);
}
.popup-badge {
  font-family: var(--font-body);
  font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 14px;
}
.popup h2 {
  font-family:var(--font-display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  color: var(--ink);
}
.popup h2 span { font-style: italic; color: var(--accent-ink); }
.popup-subtitle {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-soft);
  margin: 4px 0 18px;
}
.popup-text {
  font-family: var(--font-body);
  font-size: 13px; line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 20px;
}
.popup-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  margin-bottom: 14px;
  text-align: center;
}
.popup-input:focus { border-bottom-color: var(--accent-ink); }
.instagram-required,
.popup-consent {
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--ink-soft);
  opacity: 0.7;
  margin: 6px 0;
  letter-spacing: 0.04em;
}
.popup-btn {
  display: inline-flex; justify-content: center; align-items: center;
  width: 100%;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s;
  margin: 16px 0 18px;
}
.popup-btn:hover { background: var(--accent-ink); }
.popup-rating {
  display: flex; align-items: center; justify-content: center;
  gap: 4px;
  color: var(--accent-ink);
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  margin-top: 8px;
}
.popup-rating span {
  color: var(--ink-soft);
  margin-left: 8px;
}

/* ---------- WhatsApp float (preserved) ---------- */
/* Aligned bottom-left at same level as Chatbase chatbot bottom-right */
/* !important + safe-area-inset so no third-party widget or page-specific style can displace it */
.whatsapp-float {
  position: fixed !important;
  bottom: max(20px, env(safe-area-inset-bottom, 20px)) !important;
  left: 20px !important;
  right: auto !important;
  top: auto !important;
  width: 56px !important;
  height: 56px !important;
  background: #0F7B3D !important;
  color: #fff !important;
  border-radius: 999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
  z-index: 9999 !important;
  transition: transform .2s;
  text-decoration: none;
  margin: 0 !important;
  transform: none;
}
@media (max-width: 520px) {
  .whatsapp-float {
    bottom: max(16px, env(safe-area-inset-bottom, 16px)) !important;
    left: 16px !important;
    width: 50px !important;
    height: 50px !important;
  }
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.whatsapp-float svg { width: 26px; height: 26px; }

/* ---------- Existing legacy styles overridden to match theme ---------- */

/* Legacy hero */
.hero, section.hero {
  background: var(--tone);
  color: var(--ink);
  padding: clamp(40px, 6vw, 72px) 24px clamp(48px, 8vw, 80px);
}
.hero h1, section.hero h1 {
  font-family:var(--font-display);
  color: var(--ink);
}
.hero p, section.hero p { color: var(--ink-soft); }
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-ink);
  font-weight: 500;
}

/* Legacy card/tile styles */
.treatment-card,
.testimonial-chip,
.gallery-item,
.wbco-feature,
.about-text,
.about-image {
  background: var(--paper);
  border: 0.5px solid var(--rule);
  border-radius: 0;
  color: var(--ink);
}
.treatment-card h3,
.testimonial-chip p,
.wbco-feature h3 { color: var(--ink); }
.treatment-card .price { color: var(--accent-ink); font-family: var(--font-display); font-size: 18px; }
.treatment-card .treatment-summary,
.testimonial-chip p { color: var(--ink-soft); }
.treatment-tags span {
  background: var(--tone);
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.12em;
}

/* Legacy sections */
.section, section.section {
  background: var(--paper);
  color: var(--ink);
}
.section + .section {
  border-top: 0.5px solid var(--rule);
}

/* Card grid utility */
.treatment-cards, .gallery-grid, .testimonial-track, .wbco-layout {
  gap: 16px;
}

/* Ink section (CTA) */
.cta-section {
  background: var(--ink);
  color: var(--paper);
}
.cta-section h2, .cta-section p { color: var(--paper); }
.cta-section h2 span { color: var(--accent-soft); }
.cta-section .section-label { color: var(--accent-soft); }

/* WBco pill */
.wbco-collab-pill {
  background: var(--accent-soft);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}

/* =================================================================
   EDITORIAL PAGE SYSTEM
   Mirrors pages.jsx exactly — used on about / treatments / gallery /
   testimonials / faq / contact / wbco / treatment-landing pages.
   Every inner page should use these, not legacy .page-header/.intro-card.
   ================================================================= */
.page {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  max-width: 620px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .page { max-width: 920px; }
}
@media (min-width: 1100px) {
  .page { max-width: 1080px; }
}
.page .eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-ink);
  font-weight: 500;
}
.page .display {
  font-family:var(--font-display);
  font-size: 42px;
  line-height: 0.98;
  margin: 12px 0 0;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--ink);
}
@media (min-width: 720px) { .page .display { font-size: 62px; } }
@media (min-width: 1100px) { .page .display { font-size: 76px; } }
.page .display em { font-style: italic; color: var(--accent-ink); }
.page .lede {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-top: 16px;
  max-width: 56ch;
}
@media (min-width: 720px) { .page .lede { font-size: 15.5px; line-height: 1.7; } }
.page-intro { padding: 36px 20px 20px; }
@media (min-width: 720px) { .page-intro { padding: 64px 40px 28px; } }
@media (min-width: 1100px) { .page-intro { padding: 80px 60px 40px; } }

/* Full-bleed portrait hero with scrim + bottom caption */
.page-portrait {
  aspect-ratio: 3 / 4;
  background: var(--tone);
  overflow: hidden;
  position: relative;
  max-height: 80vh;
}
@media (min-width: 720px) {
  .page-portrait {
    aspect-ratio: 4 / 3;
    max-height: 82vh;
  }
}
@media (min-width: 1100px) {
  .page-portrait {
    aspect-ratio: 16 / 11;
    max-height: 82vh;
  }
}
.page-portrait img { width: 100%; height: 100%; object-fit: contain; object-position: center center; background: var(--tone); }
.page-portrait .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(30,22,16,0.7) 100%);
}
.page-portrait .caption {
  position: absolute; left: 20px; right: 20px; bottom: 24px; color: #fff;
}
.page-portrait .caption .eyebrow { color: rgba(255,255,255,0.85); }
.page-portrait .caption .display { color: #fff; margin-top: 10px; font-size: 48px; }
.page-portrait .caption .display em { color: #fff; }

/* 2-col stats grid */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 20px 20px;
}
.stat-grid .stat { background: var(--tone); padding: 20px 14px; }
.stat-grid .stat .n { font-family: var(--font-display); font-size: 24px; line-height: 1; }
.stat-grid .stat .l {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 6px;
}

/* "Principles" style section (tone-2 background, numbered list) */
.panel {
  padding: 40px 20px;
  background: var(--tone-2);
  border-top: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
}
.panel .section-head .eyebrow { display: block; }
.panel .section-head .display { font-size: 36px; margin-top: 10px; }
.principle-list { margin-top: 26px; display: flex; flex-direction: column; }
.principle {
  padding: 18px 0;
  border-top: 0.5px solid var(--rule);
  display: flex;
  gap: 14px;
}
.principle:last-child { border-bottom: 0.5px solid var(--rule); }
.principle .num {
  font-family:var(--font-display);
  font-size: 14px;
  font-style: italic;
  color: var(--accent-ink);
}
.principle .body { flex: 1; }
.principle .body .t { font-family: var(--font-display); font-size: 17px; }
.principle .body .d {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* Editorial rule-list (used for treatments, testimonials, faq, clinic hours) */
.rule-list { padding: 12px 20px 32px; }
.rule-item {
  padding: 28px 0;
  border-top: 0.5px solid var(--rule);
}
.rule-list .rule-item:last-child { border-bottom: 0.5px solid var(--rule); }
.rule-item .eyebrow { margin-bottom: 12px; display: block; }
.rule-item .quote {
  font-family:var(--font-display);
  font-size: 19px;
  line-height: 1.45;
  font-style: italic;
  text-wrap: pretty;
  color: var(--ink);
}
.rule-item .attribution {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 16px;
}

/* Treatment card for treatments page */
.treatment-item {
  padding: 30px 0;
  border-top: 0.5px solid var(--rule);
}
.rule-list .treatment-item:last-child,
.treatment-list .treatment-item:last-child { border-bottom: 0.5px solid var(--rule); }
.treatment-item .eyebrow { display: block; margin-bottom: 10px; }
.treatment-item .name {
  font-family:var(--font-display);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0;
}
.treatment-item .desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-top: 12px;
}
.treatment-item .media {
  aspect-ratio: 4/3;
  background: var(--tone);
  margin-top: 18px;
  overflow: hidden;
}
.treatment-item .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.treatment-item .meta-row { display: flex; margin-top: 14px; }
.treatment-item .meta {
  flex: 1;
  padding: 12px 10px;
  text-align: center;
  border-top: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
  border-left: 0.5px solid var(--rule);
}
.treatment-item .meta:last-child { border-right: 0.5px solid var(--rule); }
.treatment-item .meta .l {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.treatment-item .meta .v { font-family: var(--font-display); font-size: 14px; margin-top: 4px; }
.treatment-item .actions { margin-top: 16px; }

/* Filter chip row (gallery, testimonials) */
.chip-row {
  display: flex;
  gap: 6px;
  padding: 0 20px 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  border: 0.5px solid var(--rule);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: all .18s;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Editorial gallery grid (2 col on mobile, 3 on wider) */
.ed-gallery {
  padding: 0 20px 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.ed-gallery .g {
  cursor: zoom-in;
  margin: 0;
}
.ed-gallery .g .frame {
  aspect-ratio: 3/4;
  background: var(--tone);
  overflow: hidden;
}
.ed-gallery .g .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ed-gallery .g .g-cat {
  font-family: var(--font-body);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 8px;
}
.ed-gallery .g .g-label {
  font-family:var(--font-display);
  font-size: 13px;
  font-style: italic;
  margin-top: 3px;
}
.ed-gallery .g .g-provenance {
  display: block;
  font-family: var(--font-body);
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin-top: 5px;
}
@media (min-width: 720px) { .ed-gallery { grid-template-columns: repeat(3, 1fr); } }

/* Zoom overlay (used by gallery.html) */
.zoom-overlay {
  position: fixed; inset: 0;
  background: rgba(10,8,6,0.95);
  display: none;
  align-items: center; justify-content: center;
  z-index: 100;
  flex-direction: column; gap: 16px; padding: 20px;
}
.zoom-overlay.open { display: flex; animation: fadeIn .25s; }
.zoom-overlay img { max-width: 100%; max-height: 80%; object-fit: contain; }
.zoom-overlay .cap { text-align: center; color: #fff; }
.zoom-overlay .cap .g-cat { color: rgba(255,255,255,0.7); }
.zoom-overlay .cap .g-label { color: #fff; font-size: 16px; margin-top: 6px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* FAQ accordion */
.faq-list { padding: 12px 20px 32px; }
.faq-item { border-top: 0.5px solid var(--rule); }
.faq-list .faq-item:last-child { border-bottom: 0.5px solid var(--rule); }
.faq-item summary {
  list-style: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  font-family:var(--font-display);
  font-size: 17px;
  line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 12px; height: 12px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
  margin-top: 4px;
  transition: transform .25s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 8px; }
.faq-item .a {
  padding-bottom: 22px;
  padding-right: 30px;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* FAQ "still wondering" Rachel card */
.still-card {
  margin: 0 20px 40px;
  padding: 22px;
  background: var(--tone);
  display: flex;
  gap: 14px;
  align-items: center;
}
.still-card .avatar {
  width: 52px; height: 52px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--tone-2);
  flex-shrink: 0;
}
.still-card .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.still-card .t { font-family: var(--font-display); font-size: 15px; font-style: italic; }
.still-card .s {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: var(--ink-soft);
  margin-top: 3px;
}
.still-card .wa-btn {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: #0F7B3D;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.still-card .wa-btn svg { width: 22px; height: 22px; fill: currentColor; }

/* Contact cards (Visit, Call, Email) */
.contact-cards {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 0.5px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
  transition: background .2s;
}
.contact-card:hover { background: var(--tone); }
.contact-card .icon {
  width: 40px; height: 40px;
  background: var(--tone);
  display: flex;
  align-items: center; justify-content: center;
  font-family:var(--font-display);
  font-size: 17px;
  color: var(--accent-ink);
}
.contact-card .l {
  font-family: var(--font-body);
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-card .v { font-family: var(--font-display); font-size: 14px; margin-top: 3px; }
.contact-card .arrow { margin-left: auto; color: var(--ink-soft); }

/* Hours list */
.hours-list { padding: 32px 20px 0; }
.hours-list .h-head {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.hours-list .row {
  display: flex; justify-content: space-between;
  padding: 12px 0;
  border-top: 0.5px solid var(--rule);
  font-family: var(--font-body);
  font-size: 13px;
}
.hours-list .row:last-of-type { border-bottom: 0.5px solid var(--rule); }
.hours-list .row .d { color: var(--ink-soft); }
.hours-list .note {
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-top: 14px;
  font-style: italic;
}

/* Contact form */
.ed-form { padding: 36px 20px; }
.ed-form .field { margin-top: 18px; }
.ed-form .field .lbl {
  font-family: var(--font-body);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.ed-form input,
.ed-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 14px;
  background: transparent;
  outline: none;
  color: var(--ink);
  resize: none;
}
.ed-form input:focus,
.ed-form textarea:focus { border-bottom-color: var(--ink); }

/* Post-submit confirmation card */
.sent-card {
  margin-top: 22px;
  padding: 22px;
  background: var(--tone);
  text-align: center;
}
.sent-card .lbl {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.sent-card .msg {
  font-family:var(--font-display);
  font-size: 20px;
  margin-top: 8px;
  font-style: italic;
}

/* Primary CTA used inside editorial blocks */
.ed-cta-wrap {
  padding: 40px 20px;
  background: var(--tone);
  border-top: 0.5px solid var(--rule);
}
.ed-cta-wrap .section-head {
  text-align: center;
}
.ed-cta-wrap .ed-cta-row {
  display: flex; gap: 10px;
  flex-wrap: wrap;            /* never bleed across the screen on mobile */
  justify-content: center;
  margin-top: 22px;
}
.ed-cta-wrap .ed-cta-row .btn { flex: 1 1 auto; min-width: 0; max-width: 320px; }

/* Inline "Book" button on each price-table row */
.bk-cell {
  display: inline-block;
  padding: 7px 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .bk-cell { padding: 6px 12px; font-size: 10px; letter-spacing: 0.06em; }
}

/* Shared "Book your consultation" centered CTA */
.ed-center-cta { padding: 40px 20px; text-align: center; }

/* Legacy page overrides — force cream + hide obsolete hero banners the
   port leaves behind so the editorial layout above is what shows. */
.page-header,
body > .page-header,
main > .page-header { display: none !important; }
.intro-card,
.about-section,
.intro-section,
.whatsapp-cta,
.service-hero { background: var(--paper) !important; }
main.page { max-width: 620px; margin: 0 auto; }
@media (min-width: 720px) { main.page { max-width: 920px; } }
@media (min-width: 1100px) { main.page { max-width: 1080px; } }

/* ==========================================================
   Mobile pricing, payment and floating conversion controls QA
   ========================================================== */
main.page table .note,
.pricing-section table .note {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}
.pay-options {
  min-width: 0;
  max-width: 100%;
}
.pay-options .btn,
.pay-options .bk-cell {
  min-height: 38px;
}
@media (max-width: 700px) {
  main.page table,
  .pricing-section table {
    display: block !important;
    width: 100% !important;
    border-collapse: separate !important;
    margin: 14px 0 30px !important;
    font-size: 15px !important;
  }
  main.page table thead,
  .pricing-section table thead {
    display: none !important;
  }
  main.page table tbody,
  .pricing-section table tbody {
    display: block !important;
    width: 100% !important;
  }
  main.page table tr,
  .pricing-section table tr {
    display: block !important;
    width: 100% !important;
    padding: 16px 0 !important;
    border-bottom: 0.5px solid var(--rule) !important;
  }
  main.page table td,
  .pricing-section table td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    text-align: left !important;
    border: 0 !important;
    white-space: normal !important;
  }
  main.page table td + td,
  .pricing-section table td + td {
    margin-top: 10px !important;
  }
  main.page table td.right,
  .pricing-section table td.right {
    text-align: left !important;
  }
  main.page table td:nth-child(2),
  .pricing-section table td:nth-child(2) {
    font-family: var(--font-display) !important;
    font-size: 19px !important;
    line-height: 1.15 !important;
    color: var(--ink) !important;
  }
  main.page table td:nth-child(3),
  .pricing-section table td:nth-child(3) {
    margin-top: 12px !important;
  }
  main.page table td:nth-child(3):empty,
  .pricing-section table td:nth-child(3):empty {
    display: none !important;
  }
  main.page table .pay-options,
  .pricing-section table .pay-options,
  .rx-price-row .pay-options,
  .rx-option .pay-options {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 8px !important;
    margin-left: 0 !important;
    overflow: visible !important;
  }
  main.page table .pay-options .btn,
  main.page table .pay-options .bk-cell,
  .pricing-section table .pay-options .btn,
  .pricing-section table .pay-options .bk-cell,
  .rx-price-row .pay-options .btn,
  .rx-option .pay-options .btn {
    flex: 1 1 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 10px 10px !important;
    font-size: 10px !important;
    line-height: 1.15 !important;
    letter-spacing: 0.08em !important;
    white-space: normal !important;
    text-align: center !important;
  }
  main.page table .pay-options .btn-klarna,
  .pricing-section table .pay-options .btn-klarna,
  .rx-price-row .pay-options .btn-klarna,
  .rx-option .pay-options .btn-klarna {
    flex-basis: 100% !important;
  }
  .klarna-note {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-top: 2px !important;
    padding: 9px 10px !important;
    border-radius: 12px !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    box-shadow: 0 6px 16px rgba(255, 143, 200, 0.14) !important;
  }
  .klarna-note::before {
    content: "Klarna: " !important;
    letter-spacing: 0.02em !important;
  }
  .rx-price-row {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: start !important;
    gap: 8px 12px !important;
    padding: 16px !important;
  }
  .rx-price-row__name {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
  }
  .rx-price-row__desc {
    max-width: none !important;
  }
  .rx-price-row__duration {
    grid-column: 1 !important;
    margin: 0 !important;
    white-space: normal !important;
  }
  .rx-price-row__price {
    grid-column: 2 !important;
    text-align: right !important;
  }
  .rx-price-row .pay-options {
    grid-column: 1 / -1 !important;
  }
  .rx-option {
    display: block !important;
  }
  .rx-option > div:first-child {
    min-width: 0 !important;
  }
  .rx-option__price {
    margin-top: 8px !important;
    display: block !important;
  }
  .rx-modal {
    max-height: calc(100vh - 18px) !important;
    padding: 22px 18px calc(34px + env(safe-area-inset-bottom)) !important;
  }
}
@media (max-width: 430px) {
  main.page table .pay-options .btn,
  main.page table .pay-options .bk-cell,
  .pricing-section table .pay-options .btn,
  .pricing-section table .pay-options .bk-cell,
  .rx-price-row .pay-options .btn,
  .rx-option .pay-options .btn {
    flex-basis: 100% !important;
  }
}
@media (max-width: 560px) {
  .face-scan-invite {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    width: auto !important;
    min-height: 64px !important;
    padding: 12px 118px 12px 14px !important;
    border-radius: 18px !important;
    text-align: left !important;
  }
  .face-scan-invite__eyebrow,
  .face-scan-invite p,
  .face-scan-invite__note {
    display: none !important;
  }
  .face-scan-invite h2 {
    margin: 0 !important;
    max-width: none !important;
    font-size: 17px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.02em !important;
  }
  .face-scan-invite h2 span {
    display: inline !important;
  }
  .face-scan-invite__btn {
    position: absolute !important;
    right: 36px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 78px !important;
    min-height: 38px !important;
    padding: 8px 8px !important;
    font-size: 8px !important;
    letter-spacing: 0.08em !important;
    line-height: 1.12 !important;
  }
  .face-scan-invite__close {
    top: 4px !important;
    right: 4px !important;
    width: 26px !important;
    height: 26px !important;
    font-size: 17px !important;
  }
  .whatsapp-float {
    right: 16px !important;
    bottom: 90px !important;
  }
}
body.rx-modal-open .whatsapp-float,
body.rx-modal-open .face-scan-invite,
body.rx-modal-open #klaro .cookie-notice {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Outcome first discovery journey */
.outcome-start {
  scroll-margin-top: 180px;
}
.outcome-start__intro {
  max-width: 620px;
  margin: 18px 0 32px;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
}
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--rule);
}
.outcome-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: clamp(22px, 3vw, 34px);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}
.outcome-card:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}
.outcome-card__index {
  color: var(--accent-ink);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.outcome-card h3 {
  max-width: 11ch;
  margin: 34px 0 12px;
  font-family:var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
  line-height: 1.04;
}
.outcome-card p {
  max-width: 30ch;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.55;
}
.outcome-card:hover p {
  color: rgba(247, 242, 234, .76);
}
.outcome-card__link {
  margin-top: auto;
  padding-top: 24px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.outcome-card--scan {
  grid-column: span 3;
  min-height: 210px;
  background: linear-gradient(125deg, #163f47, #285f68);
  color: #fff;
}
.outcome-card--scan h3 {
  max-width: none;
}
.outcome-card--scan p {
  color: rgba(255, 255, 255, .76);
}
.outcome-card--scan .outcome-card__index {
  color: #b8e4e9;
}
@media (min-width: 761px) {
  .outcome-card--wide { grid-column: span 2; }
}
@media (max-width: 760px) {
  .outcome-grid { grid-template-columns: 1fr; }
  .outcome-card,
  .outcome-card--scan { grid-column: span 1; min-height: 220px; }
}
.outcome-start__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
}
.outcome-start__footer p {
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 13px;
}
@media (max-width: 760px) {
  .outcome-start__footer { align-items: flex-start; flex-direction: column; }
}

.care-planning__inner {
  max-width: 760px;
  text-align: center;
}

.care-planning__inner p:last-child {
  max-width: 62ch;
  margin: 24px auto 0;
  color: var(--ink-soft);
  line-height: 1.75;
}
.journey-page {
  padding-bottom: clamp(72px, 9vw, 132px);
}
.journey-intro {
  max-width: 930px;
}
.journey-intro .display {
  max-width: 13ch;
}
.journey-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.journey-note {
  max-width: 720px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.6;
}
.journey-jump {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1080px;
  margin: 0 auto clamp(52px, 8vw, 96px);
  padding: 1px;
  background: var(--rule);
}
.journey-jump a {
  display: flex;
  min-height: 92px;
  align-items: flex-end;
  padding: 18px;
  background: var(--paper);
  color: var(--ink);
  font-family:var(--font-display);
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.1;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.journey-jump a:hover {
  background: var(--ink);
  color: var(--paper);
}
.journey-outcomes {
  max-width: 1080px;
  margin: 0 auto clamp(56px, 9vw, 112px);
}
.journey-route {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 54px);
  padding: clamp(34px, 5vw, 64px) 0;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 190px;
}
.journey-route:last-child {
  border-bottom: 1px solid var(--rule);
}
.journey-route__number {
  color: var(--accent-ink);
  font-family:var(--font-display);
  font-size: 13px;
  letter-spacing: .18em;
}
.journey-route .display {
  max-width: 17ch;
  margin-bottom: 18px;
  font-size: clamp(31px, 4.4vw, 58px);
}
.journey-route p:not(.eyebrow) {
  max-width: 710px;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
}
.journey-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
}
.journey-links a {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  text-underline-offset: 5px;
}
.journey-closing,
.scan-guide__next {
  max-width: 1080px;
  margin-right: auto;
  margin-left: auto;
}
.journey-closing > p,
.scan-guide__next > p {
  max-width: 760px;
  margin: 0 auto 22px;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
}
.journey-closing .ed-cta-row,
.scan-guide__next .ed-cta-row {
  justify-content: center;
}
.scan-guide__visual {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(270px, .75fr);
  max-width: 1080px;
  margin: 0 auto clamp(58px, 9vw, 118px);
  background: #15120f;
  color: #f7f2ea;
}
.scan-guide__frame {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.scan-guide__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.04);
}
.scan-guide__corner {
  position: absolute;
  width: 58px;
  height: 58px;
  border-color: #6db6c2;
  border-style: solid;
}
.scan-guide__corner--tl {
  top: 22px;
  left: 22px;
  border-width: 2px 0 0 2px;
}
.scan-guide__corner--br {
  right: 22px;
  bottom: 22px;
  border-width: 0 2px 2px 0;
}
.scan-guide__promise {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 56px);
}
.scan-guide__promise span {
  color: #d4b894;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.scan-guide__promise strong {
  margin: 16px 0;
  font-family:var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.08;
}
.scan-guide__promise p {
  color: #d9cfbe;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.65;
}
.scan-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid var(--rule);
}
.scan-steps article {
  padding: clamp(24px, 4vw, 42px);
}
.scan-steps article + article {
  border-left: 1px solid var(--rule);
}
.scan-steps span {
  color: var(--accent-ink);
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: .18em;
}
.scan-steps h3 {
  margin: 18px 0 12px;
  font-family:var(--font-display);
  font-size: 26px;
  font-weight: 400;
}
.scan-steps p {
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.65;
}
.journey-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1080px;
  margin: clamp(58px, 9vw, 118px) auto;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.journey-split article {
  padding: clamp(34px, 5vw, 62px);
}
.journey-split article + article {
  border-left: 1px solid var(--rule);
}
.journey-split .display {
  margin-bottom: 22px;
  font-size: clamp(30px, 4vw, 48px);
}
.journey-checklist {
  display: grid;
  gap: 15px;
  padding: 0;
  list-style: none;
}
.journey-checklist li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
}
.journey-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4e8c70;
}
.journey-checklist--limits li::before {
  content: "×";
  color: #9a7548;
}
.scan-guide__faq details {
  max-width: 820px;
  margin: 0 auto;
  padding: 19px 0;
  border-bottom: 1px solid var(--rule);
}
.scan-guide__faq summary {
  color: var(--ink);
  font-family:var(--font-display);
  font-size: 19px;
  cursor: pointer;
}
.scan-guide__faq details p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
}
@media (max-width: 760px) {
  .outcome-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .outcome-card--scan {
    grid-column: span 2;
  }
  .outcome-start__footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .journey-jump {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .journey-jump a {
    min-height: 78px;
    font-size: 17px;
  }
  .journey-route {
    grid-template-columns: 38px minmax(0, 1fr);
  }
  .scan-guide__visual,
  .journey-split {
    grid-template-columns: 1fr;
  }
  .scan-guide__frame {
    min-height: 300px;
  }
  .scan-steps {
    grid-template-columns: 1fr;
  }
  .scan-steps article + article,
  .journey-split article + article {
    border-top: 1px solid var(--rule);
    border-left: 0;
  }
}
@media (max-width: 460px) {
  .outcome-grid {
    grid-template-columns: 1fr;
  }
  .outcome-card,
  .outcome-card--scan {
    grid-column: auto;
    min-height: 210px;
  }
  .journey-jump {
    grid-template-columns: 1fr;
  }
  .journey-jump a {
    min-height: 66px;
  }
  .journey-route {
    grid-template-columns: 1fr;
  }
}
