/* =====================================================================
   WellHeart London — public site
   "Harley Street Heritage": warm ivory, deep midnight, muted brass.
   Playfair Display for editorial headings, Manrope for clinical body.
   Self-contained: fonts, styles, scripts, images all same-origin.
   ===================================================================== */

@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/playfair.woff2') format('woff2');
  font-weight: 600 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/playfair-italic.woff2') format('woff2');
  font-weight: 600; font-style: italic; font-display: swap;
}
/* Manrope — the clinical body/UI sans. Variable file (weights 200–800), self-
   hosted (OFL); Latin + Latin-ext subsets, so figures and £/€ match the body. */
@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope.woff2') format('woff2');
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-ext.woff2') format('woff2');
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Arabic faces — bundled locally (OFL), same self-hosted rule as the Latin
   faces. Noto Naskh Arabic = readable body + main headings; Amiri = a refined
   naskh reserved ONLY for small accent headings (never the whole page). */
@font-face {
  font-family: 'Noto Naskh Arabic';
  src: url('fonts/noto-naskh-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: 'Noto Naskh Arabic';
  src: url('fonts/noto-naskh-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: 'Amiri';
  src: url('fonts/amiri-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

:root {
  --background:        #fbf9f4;   /* warm ivory */
  --on-background:     #1b1c19;
  --primary:           #00081e;   /* deep midnight */
  --primary-container: #0a1f44;
  --on-primary:        #ffffff;
  --secondary:         #775a19;   /* muted brass */
  --secondary-fixed:   #e9c176;   /* brass on dark */
  --on-surface-variant:#44464e;
  --surface-stone:     #f2efe9;
  --surface-container: #f0eee9;
  --hairline:          #e5e1d8;
  --white:             #ffffff;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1200px;
  --gutter: 32px;
  --section: 80px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }

body {
  background: var(--background);
  color: var(--on-background);
  font-family: var(--sans);
  font-weight: 400; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

a { color: inherit; text-decoration: none; }

/* Visually hidden but focusable. NEVER hide with left:-9999px: in RTL the
   document grows leftward, so off-screen-left content extends scrollWidth
   ~10,000px and the whole Arabic page pans sideways under a finger drag
   (found + fixed 2026-08-15). The clip pattern adds no scroll either way. */
.skip {
  position: absolute; left: 0; top: 0;
  width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
  background: var(--primary); color: var(--on-primary);
  padding: 10px 16px; z-index: 100;
}
.skip:focus {
  left: 8px; top: 8px;
  width: auto; height: auto; overflow: visible; clip-path: none;
}

/* --- Shared layout --------------------------------------------------- */
.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* --- Icons ----------------------------------------------------------- */
.icon { width: 22px; height: 22px; }
.icon--lg { width: 34px; height: 34px; stroke-width: 1.1; }

/* --- Buttons --------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.btn--primary { background: var(--primary); color: var(--on-primary); padding: 13px 24px; }
.btn--primary:hover { background: var(--primary-container); }
.btn--accent {
  background: var(--secondary); color: var(--white);
  box-shadow: 0 1px 2px rgba(10,31,68,.12);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(10,31,68,.14); }
.btn--outline { border-color: var(--hairline); color: var(--on-background); background: transparent; }
.btn--outline:hover { background: var(--surface-stone); }
.btn--lg { padding: 19px 48px; letter-spacing: 0.2em; }

/* --- Eyebrow / labels ------------------------------------------------ */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--secondary);
}
.eyebrow-chip {
  display: inline-block;
  padding: 5px 16px;
  border: 1px solid rgba(119,90,25,.30);
  background: rgba(119,90,25,.05);
  border-radius: var(--radius);
}

/* --- Type -----------------------------------------------------------  */
.display {
  font-family: var(--serif); font-weight: 700;
  font-size: 48px; line-height: 1.12; letter-spacing: -0.01em;
  color: var(--primary); margin: 0;
}
.display-accent { font-style: italic; font-weight: 600; color: var(--secondary); }
.headline {
  font-family: var(--serif); font-weight: 600;
  font-size: 32px; line-height: 1.3; color: var(--primary); margin: 0;
}
.lede { font-size: 18px; line-height: 1.65; color: var(--on-surface-variant); margin: 0; }

.rule { display: block; width: 96px; height: 1px; background: var(--secondary); margin: 16px auto 0; }
.section-head { text-align: center; margin-bottom: 60px; }

/* --- Top bar --------------------------------------------------------- */
.topbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 50;
  background: rgba(251,249,244,.82);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
  transition: background-color .3s ease;
}
.topbar-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: padding .3s ease;
}
.topbar.is-scrolled .topbar-inner { padding-top: 10px; padding-bottom: 10px; }
.topbar.is-scrolled { box-shadow: 0 1px 12px rgba(10,31,68,.06); }
.topbar-left { display: flex; align-items: center; gap: 18px; }
.topbar-menu { background: none; border: 0; padding: 0; color: var(--primary); cursor: pointer; display: none; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 46px; width: auto; display: block; transition: height .3s ease; }
.topbar.is-scrolled .brand-logo { height: 38px; }
.topbar-nav { display: flex; align-items: center; gap: 20px; }
.topbar-links { display: flex; gap: 20px; }
.navlink {
  position: relative;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--on-surface-variant);
  padding-bottom: 4px; transition: color .25s ease;
  white-space: nowrap;   /* a nav link must NEVER wrap to a second line */
}
/* Elegant hover: a fine brass rule grows from the centre — the same gesture as
   the hairline under each section heading. Reduced-motion falls back to fade. */
.navlink::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: rgba(119, 90, 25, .45);   /* subtle, muted brass */
  transform: scaleX(0); transform-origin: center;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.navlink:hover { color: var(--primary); }
.navlink:hover::after { transform: scaleX(1); }
.navlink.is-current { color: var(--primary); }
.navlink.is-current::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .navlink::after { transition: opacity .2s ease; transform: scaleX(1); opacity: 0; }
  .navlink:hover::after, .navlink.is-current::after { opacity: 1; }
}
.topbar-cta { flex-shrink: 0; }

/* --- Media (real image or placeholder) ------------------------------- */
.media { width: 100%; overflow: hidden; background: var(--surface-stone); border-radius: var(--radius); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--portrait { aspect-ratio: 4 / 5; }
.media--hero { aspect-ratio: 3 / 2; }
.media--wide { aspect-ratio: 16 / 9; background: var(--surface-container); }
.media-ph {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; color: #b7ac97;
}
.media-ph-mark { width: 44px; height: 44px; stroke-width: 1; }
.media-ph-note {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: #a99e88;
}

/* --- Hero ------------------------------------------------------------ */
.hero { padding: 160px var(--gutter) var(--section); }
.hero-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero .lede { max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 4px; }
.hero-figure { position: relative; }
.hero-quote {
  position: absolute; bottom: -26px; left: -26px;
  background: var(--primary); color: var(--on-primary);
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: 22px; line-height: 1.4;
  padding: 28px 30px; max-width: 300px; border-radius: var(--radius);
}
.hero-quote::before { content: '\201C'; }
.hero-quote::after  { content: '\201D'; }

/* --- Pillars --------------------------------------------------------- */
.pillars { background: var(--surface-stone); padding: var(--section) 0; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card {
  background: var(--white); border: 1px solid var(--hairline);
  padding: 40px; border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 22px;
  transition: box-shadow .5s ease, transform .5s ease;
}
.card:hover { box-shadow: 0 16px 40px rgba(10,31,68,.08); }
.card-icon { color: var(--secondary); }
.card-title { font-family: var(--serif); font-weight: 600; font-size: 24px; color: var(--primary); margin: 0; }
.card-body { font-size: 16px; color: var(--on-surface-variant); margin: 0; }
.card--featured { background: var(--primary); border-color: var(--primary); box-shadow: 0 20px 50px rgba(0,8,30,.28); }
.card--featured .card-icon { color: var(--secondary-fixed); }
.card--featured .card-title { color: var(--on-primary); }
.card--featured .card-body { color: rgba(255,255,255,.8); }

/* --- Benefits -------------------------------------------------------- */
.benefits { padding: var(--section) 0; }
.benefits-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
.benefits-copy { display: flex; flex-direction: column; gap: 30px; }
.benefit-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 26px; }
.benefit { display: flex; gap: 16px; }
.benefit-mark { width: 8px; height: 8px; background: var(--secondary); margin-top: 8px; flex-shrink: 0; }
.benefit-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--primary); margin: 0 0 6px;
}
.benefit-body { font-size: 16px; color: var(--on-surface-variant); margin: 0; }

/* --- Section lede (centred intro under a heading) -------------------- */
.section-lede { max-width: 62ch; margin: 22px auto 0; }

/* --- Consultants ----------------------------------------------------- */
.consultants { background: var(--surface-stone); padding: var(--section) 0; }
.consultant-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.consultant {
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .5s ease;
}
.consultant:hover { box-shadow: 0 16px 40px rgba(10,31,68,.08); }
.consultant-photo { border-radius: 0; }
.consultant-photo img { object-position: center top; }
.consultant-body { padding: 28px 30px 34px; display: flex; flex-direction: column; gap: 8px; }
.consultant-name {
  font-family: var(--serif); font-weight: 600; font-size: 22px;
  color: var(--primary); margin: 0;
}
.consultant-role {
  font-size: 11px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--secondary); line-height: 1.5; margin: 0;
}
.consultant-bio { font-size: 15px; color: var(--on-surface-variant); margin: 8px 0 0; }

/* --- Process --------------------------------------------------------- */
.process { background: var(--primary); color: var(--on-primary); padding: var(--section) 0; }
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px;
  border-top: 1px solid rgba(255,255,255,.2); padding-top: 60px;
}
.step-n {
  display: block; font-family: var(--serif); font-weight: 700; font-size: 48px;
  color: var(--secondary); opacity: .5; margin-bottom: 16px;
}
.step-title {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  margin: 0 0 16px;
}
.step-body { font-size: 16px; color: rgba(255,255,255,.7); margin: 0; }

/* --- CTA ------------------------------------------------------------- */
.cta { padding: var(--section) 0; }
.cta-inner {
  max-width: 900px; margin: 0 auto; padding: 0 var(--gutter);
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 36px;
}
.cta-title { font-style: italic; font-weight: 600; }
.cta-body { max-width: 40em; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta-phone {
  display: inline-flex; align-items: center; gap: 14px; color: var(--on-surface-variant);
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.cta-phone:hover { color: var(--primary); }

/* --- Footer ---------------------------------------------------------- */
.site-footer { background: var(--primary); color: var(--on-primary); padding: var(--section) 0 var(--gutter); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--gutter);
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 60px;
}
.footer-logo { height: 58px; width: auto; display: block; }
.footer-brand { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.footer-blurb { font-size: 16px; color: rgba(255,255,255,.7); max-width: 28ch; margin: 0; }
.footer-col { display: flex; flex-direction: column; gap: 16px; }
.footer-head {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin: 0;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 16px; color: rgba(255,255,255,.7); transition: color .2s ease; }
.footer-link:hover { color: var(--on-primary); }
.footer-link.is-current { color: var(--secondary-fixed); text-decoration: underline; }
.footer-bar {
  margin-top: 56px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copy { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.footer-marks { display: flex; gap: 16px; color: rgba(255,255,255,.5); }

/* --- Reveal-on-scroll (progressive; visible by default) -------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* --- Responsive ------------------------------------------------------ */
@media (max-width: 980px) {
  .display { font-size: 40px; }
  .benefits-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}
/* The 7-item bar only fits on screens wider than the 1200px container; at or
   below that it collapses to the tidy hamburger menu so a link never wraps. */
@media (max-width: 1200px) {
  .topbar-menu { display: flex; }
  .topbar-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--background);
    border-bottom: 1px solid var(--hairline);
    box-shadow: 0 14px 26px rgba(10, 31, 68, .08);
    padding: 4px 20px 18px;
    display: none;
  }
  .topbar.is-open .topbar-nav { display: flex; }
  .topbar-links { flex-direction: column; gap: 0; }
  .navlink { padding: 14px 2px; border-bottom: 1px solid var(--hairline); }
  .navlink::after { content: none; }   /* no growing rule in the stacked menu */
  .navlink.is-current { border-bottom: 1px solid var(--hairline); color: var(--secondary); }
  .navlink--lang { border-bottom: 1px solid var(--hairline); }
  .topbar-cta { display: block; text-align: center; margin-top: 16px; }
}
@media (max-width: 767px) {
  :root { --gutter: 20px; --section: 56px; }
  .brand-logo { height: 38px; }
  .topbar.is-scrolled .brand-logo { height: 34px; }
  .topbar-inner { gap: 12px; }
  .topbar-left { min-width: 0; gap: 12px; }
  .hero { padding-top: 120px; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-quote { position: static; margin-top: 18px; max-width: none; font-size: 20px; }
  .display { font-size: 32px; }
  .headline { font-size: 24px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .consultant-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .process-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bar { flex-direction: column; gap: 16px; align-items: flex-start; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-actions .btn { text-align: center; }
}

/* =====================================================================
   Heart Team realignment — new sections
   ===================================================================== */
.section-narrow { max-width: 820px; }
.section-head--dark .headline { color: var(--on-primary); }
.rule--left { margin-left: 0; }
.prose { margin-top: 22px; }
.prose p { font-size: 17px; line-height: 1.7; color: var(--on-surface-variant); margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose--center { text-align: center; }

/* What WellHeart is */
.whatis { background: var(--surface-stone); padding: var(--section) 0; }
.whatis-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: center; }
.whatis-copy .headline { margin-bottom: 0; }

/* Why it's different */
.features { padding: var(--section) 0; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.feature-label { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--primary); margin: 0 0 12px; line-height: 1.3; }
.feature-body { font-size: 16px; color: var(--on-surface-variant); margin: 0; }
.feature-link { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--secondary); }

/* For referring doctors */
.referrers { padding: var(--section) 0; }
.referrers-note { text-align: center; margin: 18px 0 0; font-size: 15px; color: var(--on-surface-variant); }

/* Access */
.access { background: var(--surface-stone); padding: var(--section) 0; }
.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.route { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 28px 30px; }
.route-label { font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--primary); margin: 0 0 10px; }
.route-body { font-size: 15px; color: var(--on-surface-variant); margin: 0; }

/* Contact */
.contact { padding: var(--section) 0; }
.contact-inner { text-align: center; }
.contact-name { font-weight: 600; font-size: 18px; color: var(--primary); margin: 24px 0 6px; }
.contact-line { margin: 2px 0; font-size: 16px; color: var(--on-surface-variant); }
.contact-line a { color: var(--secondary); text-decoration: underline; }
.contact-cta { margin-top: 26px; }
.contact-alt { margin: 18px 0 0; font-size: 14px; color: var(--on-surface-variant); }
.contact-alt a { color: var(--secondary); text-decoration: underline; text-underline-offset: 2px; }

/* Three equal ways to reach us — one row on desktop, stacked on mobile. */
.contact-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-top: 32px;
}
.contact-action {
  flex: 1 1 0; min-width: 210px; max-width: 260px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  position: relative;
  padding-left: 18px; padding-right: 18px;
}
/* Icon pinned to the leading edge and vertically centred; the LABEL stays
   perfectly centred on BOTH axes however many lines it wraps to. Symmetric
   padding keeps the centred text clear of the icon gutter. */
.contact-action.has-ico { padding-left: 46px; padding-right: 46px; }
.btn-ico-wrap {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
}
[dir="rtl"] .contact-action.has-ico .btn-ico-wrap { left: auto; right: 16px; }
.btn-ico-spacer { display: none; }
.btn-ico { width: 24px; height: 24px; }
.btn-label { text-align: center; line-height: 1.25; }

/* Voice-page identity: the head-with-soundwaves mark above the heading + on the
   mic button, so it clearly reads as the VOICE assistant. (Page loads voice.css
   too; @keyframes vpulse lives there.) */
.voice-head-ico { display: block; width: 44px; margin: 0 auto 10px; color: var(--secondary); }
.voice-head-ico .icon { width: 44px; height: 44px; stroke-width: 1.3; }
.voice-mic-ico { display: inline-flex; align-items: center; }
.voice-mic-ico .icon { width: 24px; height: 24px; }
.voice-mic.is-live .voice-mic-ico { animation: vpulse 1.6s infinite; }
[dir="rtl"] .voice-captions, [dir="rtl"] .field input, [dir="rtl"] .field select { text-align: right; }
[dir="rtl"] .voice-mic, [dir="rtl"] .field label { letter-spacing: normal; text-transform: none; }
@media (max-width: 620px) {
  .contact-actions { flex-direction: column; align-items: stretch; }
  .contact-action { max-width: none; min-width: 0; }
}

@media (max-width: 980px) {
  .whatis-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature-grid { grid-template-columns: 1fr; gap: 32px; }
  .route-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   Founders' rework 2026-07-09 — new sections
   ===================================================================== */

/* Hero supporting line ("supported by a wider heart team") */
.hero-support {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: 20px; line-height: 1.4; color: var(--secondary); margin: -8px 0 0;
}

/* Language toggle in the top bar */
.navlink--lang { letter-spacing: 0.06em; }

/* Complete heart care */
.complete { padding: var(--section) 0; }
.complete-list {
  list-style: none; margin: 0 auto; padding: 0; max-width: 860px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 32px;
}
.complete-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 17px; color: var(--primary);
  padding: 14px 0; border-bottom: 1px solid var(--hairline);
}
.complete-mark { width: 7px; height: 7px; background: var(--secondary); flex-shrink: 0; }
.complete-note {
  max-width: 700px; margin: 34px auto 0; text-align: center;
  font-size: 14px; line-height: 1.6; color: var(--on-surface-variant);
}

/* The wider team */
.widerteam { background: var(--surface-stone); padding: var(--section) 0; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.team-card {
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
}
.team-photo { border-radius: 0; }
.team-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.team-role {
  font-size: 11px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--secondary); margin: 0;
}
.team-name { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--primary); margin: 0; }
.team-bio { font-size: 14px; color: var(--on-surface-variant); margin: 4px 0 0; }
.team-note { text-align: center; margin: 34px 0 0; font-size: 13px; color: var(--on-surface-variant); }

/* Insights */
.insights { padding: var(--section) 0; }
.insight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.insight { border-top: 2px solid var(--secondary); padding-top: 22px; }
.insight-video { width: 100%; margin-bottom: 18px; border-radius: var(--radius); background: var(--surface-stone); }
.insight-title { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--primary); margin: 0 0 12px; line-height: 1.3; }
.insight-body { font-size: 16px; color: var(--on-surface-variant); margin: 0; }
.insights-nhs {
  max-width: 720px; margin: 40px auto 0; text-align: center;
  font-size: 14px; line-height: 1.6; color: var(--on-surface-variant);
}
.insights-nhs a { color: var(--secondary); text-decoration: underline; text-underline-offset: 2px; }

/* Consultation fees */
.fees { max-width: 640px; margin: 56px auto 0; }
.fees-heading { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--primary); margin: 0 0 18px; text-align: center; }
.fees-list { margin: 0; padding: 0; }
.fee {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: 16px 0; border-bottom: 1px solid var(--hairline);
}
.fee-label { margin: 0; font-size: 16px; color: var(--primary); }
.fee-price { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--secondary); text-align: right; }
.fee-price--pending { font-family: var(--sans); font-weight: 400; font-size: 14px; font-style: italic; color: var(--on-surface-variant); }

/* Insurers */
.insurers { max-width: 720px; margin: 48px auto 0; text-align: center; }
.insurers-heading { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--primary); margin: 0 0 18px; }
.insurer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; }
.insurer {
  border: 1px solid var(--hairline); background: var(--white);
  padding: 8px 18px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; color: var(--primary);
}
.insurers-pending { font-size: 14px; font-style: italic; line-height: 1.6; color: var(--on-surface-variant); margin: 0; }
.insurers-statement { font-size: 16px; line-height: 1.7; color: var(--on-surface-variant); margin: 0; }

/* International patients */
.international { padding: var(--section) 0; }
.international-phase { margin: 14px auto 0; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--secondary); }
.intl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.intl { text-align: center; }
.intl-label { font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--primary); margin: 0 0 10px; }
.intl-body { font-size: 15px; color: var(--on-surface-variant); margin: 0; }
.intl-note { max-width: 680px; margin: 34px auto 0; text-align: center; font-size: 14px; line-height: 1.6; color: var(--on-surface-variant); }

/* Compliance / legal pages */
.legal-main { padding-top: 120px; }
.legal { padding: 0 0 var(--section); }
.section-head--left { text-align: left; margin-bottom: 8px; }
.legal-intro { margin: 8px 0 8px; }
.legal-prose { margin-top: 26px; }
.legal-h { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--primary); margin: 30px 0 10px; }
.legal-prose p { font-size: 16px; }

/* Booking placeholder (enquiry page; app.css is loaded there too) */
.booking-embed { margin: 0 0 8px; }
.booking-slot {
  border: 1px dashed var(--hairline); border-radius: var(--radius);
  background: var(--surface-stone);
  display: flex; align-items: center; justify-content: center;
  min-height: 120px; margin-top: 12px;
}
.booking-slot-note {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: #a99e88;
}

@media (max-width: 980px) {
  .complete-list { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .insight-grid { grid-template-columns: 1fr; gap: 32px; }
  .intl-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 767px) {
  .complete-list { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .fee { gap: 16px; }
}

/* --- Arabic / RTL (?lang=ar sets dir="rtl") --------------------------
   Playfair/Inter carry no Arabic glyphs and the CSP blocks web-fonts, so for
   Arabic we fall back to the reader's best system Arabic face and drop the wide
   Latin letter-spacing that looks wrong on Arabic script. */
[dir="rtl"] {
  /* Arabic script → Noto Naskh (its @font-face is limited to Arabic ranges);
     Latin text and FIGURES (£500, phone, W1G 6AH, TAVI…) fall through to the
     English faces so they match the English page exactly. Amiri is reserved for
     the small accent headings below. */
  --serif: 'Noto Naskh Arabic', 'Playfair Display', 'Geeza Pro', Georgia, serif;
  --sans:  'Noto Naskh Arabic', 'Manrope', 'Geeza Pro', system-ui, sans-serif;
  --accent-ar: 'Amiri', 'Noto Naskh Arabic', 'Playfair Display', serif;
}
[dir="rtl"] body { direction: rtl; }
/* Amiri ONLY on small accent headings — the hero accent line and the little
   brass eyebrow/role labels — for a refined touch, not the whole page. */
[dir="rtl"] .display-accent,
[dir="rtl"] .eyebrow,
[dir="rtl"] .consultant-role,
[dir="rtl"] .team-role,
[dir="rtl"] .benefit-label,
[dir="rtl"] .step-title,
[dir="rtl"] .footer-head,
[dir="rtl"] .international-phase,
[dir="rtl"] .hero-support {
  font-family: var(--accent-ar);
  font-weight: 700;
}
[dir="rtl"] .rule--left { margin-left: auto; margin-right: 0; }
[dir="rtl"] .whatis-copy .rule--left,
[dir="rtl"] .section-head--left { text-align: right; }
[dir="rtl"] .display-accent { font-style: normal; }
[dir="rtl"] .navlink, [dir="rtl"] .btn, [dir="rtl"] .eyebrow, [dir="rtl"] .label-caps,
[dir="rtl"] .benefit-label, [dir="rtl"] .step-title, [dir="rtl"] .consultant-role,
[dir="rtl"] .team-role, [dir="rtl"] .footer-head, [dir="rtl"] .footer-copy,
[dir="rtl"] .navlink--lang, [dir="rtl"] .international-phase {
  letter-spacing: normal; text-transform: none;
}
[dir="rtl"] .lede, [dir="rtl"] .prose p, [dir="rtl"] .display, [dir="rtl"] .headline { letter-spacing: normal; }

/* Arabic reads smaller than Latin at the same px — bump the small text a notch
   (RTL only; English is unchanged) so buttons, nav and labels feel comfortable. */
[dir="rtl"] body { font-size: 17px; }
[dir="rtl"] .btn { font-size: 15px; }
[dir="rtl"] .btn--lg { font-size: 16px; }
[dir="rtl"] .navlink, [dir="rtl"] .navlink--lang { font-size: 15px; }

/* The language toggle previews the typography of the language it switches TO:
   on the English site the "العربية" link is set in the elegant Amiri hand; on the
   Arabic site the "English" link matches the Latin nav links (ABOUT / CONTACT). */
[dir="ltr"] .navlink--lang {
  font-family: 'Amiri', 'Noto Naskh Arabic', serif;
  font-size: 18px; font-weight: 700; line-height: 1;
  text-transform: none; letter-spacing: 0;
}
[dir="rtl"] .navlink--lang {
  font-family: var(--sans);
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
}
[dir="rtl"] .eyebrow, [dir="rtl"] .consultant-role, [dir="rtl"] .team-role,
[dir="rtl"] .benefit-label, [dir="rtl"] .step-title, [dir="rtl"] .footer-head,
[dir="rtl"] .footer-copy, [dir="rtl"] .international-phase, [dir="rtl"] .fee-label,
[dir="rtl"] .media-ph-note, [dir="rtl"] .field label, [dir="rtl"] .msg .who {
  font-size: 14px;
}
[dir="rtl"] .footer-link, [dir="rtl"] .route-body, [dir="rtl"] .card-body,
[dir="rtl"] .feature-body, [dir="rtl"] .step-body, [dir="rtl"] .consultant-bio,
[dir="rtl"] .team-bio, [dir="rtl"] .intl-body, [dir="rtl"] .contact-line,
[dir="rtl"] .msg .txt, [dir="rtl"] .chat-input textarea, [dir="rtl"] .field input {
  font-size: 17px;
}
[dir="rtl"] .lede, [dir="rtl"] .prose p { font-size: 18px; }
/* The Arabic eminence headline is longer than the English one — size it so each
   line ("الجرّاحون الذين يقصدهم" / "الجرّاحون ليتعلّموا منهم") fits on one line. */
[dir="rtl"] .display { font-size: 40px; line-height: 1.35; }
@media (max-width: 767px) { [dir="rtl"] .display { font-size: 27px; } }

/* =====================================================================
   Insights blog — cards, index grid, article page
   ===================================================================== */
.blog-main { padding-top: 120px; }
.insight-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }   /* override to 3-up for cards */
.insight--card {
  border: 1px solid var(--hairline); background: var(--white);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; padding: 0;
  transition: box-shadow .5s ease;
}
.insight--card:hover { box-shadow: 0 16px 40px rgba(10, 31, 68, .08); }
.insight-thumb { display: block; }
.insight-thumb .media { border-radius: 0; }
.insight-copy { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.insight-meta { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--secondary); }
.insight--card .insight-title { font-size: 20px; margin: 0; line-height: 1.3; border-top: 0; padding-top: 0; }
.insight-title a { color: var(--primary); transition: color .2s ease; }
.insight-title a:hover { color: var(--secondary); }
.insight--card .insight-body { font-size: 15px; }
.insights-more { text-align: center; margin-top: 46px; }

/* Article */
.article-back { display: inline-block; margin-bottom: 20px; font-size: 13px; font-weight: 600; color: var(--secondary); }
.article-back:hover { color: var(--primary); text-decoration: underline; }
.article-meta { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--on-surface-variant); margin: 0 0 10px; }
.article-title { font-size: 34px; line-height: 1.2; margin: 0; }
.article-hero { margin: 30px 0; }
.article-hero .media { border-radius: var(--radius); }
.article-intro { font-size: 19px; line-height: 1.65; color: var(--primary); margin: 0 0 8px; }
.article-h { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--primary); margin: 32px 0 10px; }
.article-body p { font-size: 17px; line-height: 1.75; color: var(--on-surface-variant); margin: 0 0 14px; }
.article-ul { margin: 0 0 18px; padding-inline-start: 22px; }
.article-ul li { font-size: 17px; line-height: 1.65; color: var(--on-surface-variant); margin-bottom: 8px; }
.article-disclaimer { margin: 38px 0 0; padding: 16px 18px; border: 1px solid var(--hairline); background: var(--surface-stone); border-radius: var(--radius); font-size: 13px; line-height: 1.6; color: var(--on-surface-variant); }
.article-cta { background: var(--surface-stone); margin-top: 56px; padding: var(--section) 0; text-align: center; }
.article-cta .headline { margin-bottom: 12px; }
.article-cta .lede { max-width: 46ch; margin: 0 auto 24px; }

/* Arabic figures/numerals in article already fall through to Latin faces; bump body a touch */
[dir="rtl"] .article-body p, [dir="rtl"] .article-ul li, [dir="rtl"] .article-intro { font-size: 18px; }
[dir="rtl"] .insight-meta, [dir="rtl"] .article-meta { letter-spacing: normal; text-transform: none; }

@media (max-width: 980px) { .insight-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (max-width: 640px) {
  .insight-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .article-title { font-size: 28px; }
}

/* Eminence band (hero-adjacent credentials) + wider-team paragraph */
.eminence { background: var(--surface-stone); padding: var(--section) 0; text-align: center; }
.eminence-h { max-width: 22ch; margin: 0 auto; }
.eminence .rule { margin-top: 20px; }
.eminence-body { max-width: 62ch; margin: 24px auto 0; font-size: 17px; line-height: 1.75; color: var(--on-surface-variant); }
.eminence-link { margin-top: 20px; }
.widerteam-body { max-width: 60ch; margin: 22px auto 0; text-align: center; }
[dir="rtl"] .eminence-body, [dir="rtl"] .widerteam-body { font-size: 18px; }

/* =====================================================================
   Content band — Arabic international-patient journey sections
   ===================================================================== */
.band { padding: var(--section) 0; }
.band--stone { background: var(--surface-stone); }
.band-prose { margin-top: 20px; text-align: center; }
.band-prose p { font-size: 17px; line-height: 1.75; color: var(--on-surface-variant); }
.band-list { list-style: none; margin: 28px auto 0; padding: 0; max-width: 640px; display: flex; flex-direction: column; gap: 16px; text-align: start; }
.band-list li { border-inline-start: 2px solid var(--secondary); padding-inline-start: 16px; font-size: 16px; line-height: 1.75; color: var(--on-surface-variant); }
.band-list strong { color: var(--primary); font-weight: 600; }
.band-note { text-align: center; margin: 30px auto 0; max-width: 640px; font-size: 15px; line-height: 1.6; color: var(--on-surface-variant); }
.band-cta { text-align: center; margin-top: 28px; }
[dir="rtl"] .band-prose p, [dir="rtl"] .band-list li { font-size: 18px; }

/* Message textarea on the enquiry forms (voice + chat) */
.field textarea {
  width: 100%; font: inherit; font-size: 16px; line-height: 1.5;
  color: var(--on-background); background: var(--white);
  border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 12px 14px; resize: vertical; min-height: 74px;
}
.field textarea:focus { outline: none; border-color: var(--primary); }
[dir="rtl"] .field textarea { text-align: right; }

/* ==========================================================================
   "How it works" — animated referral-journey timeline (five stations).
   Motion is gated on .process.is-in (existing scroll-reveal system). No inline
   styles (strict default-src 'self' CSP): per-station timing via :nth-child.
   ========================================================================== */
.process { overflow: hidden; }

@keyframes hiwBaseDraw  { to { stroke-dashoffset: 0; } }
@keyframes hiwDrawIcon  { to { stroke-dashoffset: 0; } }
@keyframes hiwArrowFade { to { opacity: 1; } }
@keyframes hiwRipple    { from { transform: scale(.4); opacity: .5; } to { transform: scale(3.6); opacity: 0; } }
@keyframes hiwHighlight { from { opacity: .30; } to { opacity: 1; } }
@keyframes hiwProgress {
  0%{stroke-dashoffset:794} 16%{stroke-dashoffset:794} 24%{stroke-dashoffset:600} 40%{stroke-dashoffset:600}
  48%{stroke-dashoffset:400} 64%{stroke-dashoffset:400} 72%{stroke-dashoffset:200} 88%{stroke-dashoffset:200}
  96%{stroke-dashoffset:0} 100%{stroke-dashoffset:0}
}
@keyframes hiwArrowH {
  0%{transform:translateX(94px)} 16%{transform:translateX(94px)} 24%{transform:translateX(294px)} 40%{transform:translateX(294px)}
  48%{transform:translateX(494px)} 64%{transform:translateX(494px)} 72%{transform:translateX(694px)} 88%{transform:translateX(694px)}
  96%{transform:translateX(894px)} 100%{transform:translateX(894px)}
}

.journey-h { margin-top: 44px; }
.journey-v { display: none; }
.hiw-spine { width: 100%; height: auto; display: block; overflow: visible; }
.hiw-base { fill:none; stroke: rgba(255,255,255,.16); stroke-width:1; stroke-dasharray:1000; stroke-dashoffset:1000; }
.hiw-progress { fill:none; stroke: var(--secondary-fixed); stroke-width:1.6; stroke-linecap:round; stroke-dasharray:794; stroke-dashoffset:794; }
.hiw-arrow { fill:none; stroke: var(--secondary-fixed); stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; opacity:0; }
.hiw-conn { stroke: rgba(255,255,255,.16); stroke-width:1; }
.hiw-dot  { fill: var(--secondary-fixed); }
.hiw-wave { fill:none; stroke: var(--secondary-fixed); stroke-width:1.2; opacity:0; transform-box:fill-box; transform-origin:center; }

.hiw-cols { display:flex; margin-top:6px; }
.hiw-col  { flex:1; text-align:center; padding:0 1.8%; opacity:.30; }
.hiw-ic   { width:40px; height:40px; margin:0 auto 16px; }
.hiw-icn  { width:40px; height:40px; display:block; }
.hiw-icn path, .hiw-icn circle { fill:none; stroke: var(--on-primary); stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:1; stroke-dashoffset:1; }
.hiw-n    { font-family: var(--serif); font-weight:700; font-size:52px; line-height:1; color: var(--secondary-fixed); }
.hiw-label{ font-family: var(--sans); font-size:12.5px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color: var(--on-primary); margin-top:14px; }
.hiw-body { font-family: var(--sans); font-size:14.5px; line-height:1.55; color: rgba(255,255,255,.72); margin-top:12px; }

.process.is-in .hiw-base { animation: hiwBaseDraw 1s ease .3s both; }
.process.is-in .hiw-progress { animation: hiwProgress 12.5s linear 1.2s both; }
.process.is-in .hiw-arrow { animation: hiwArrowH 12.5s linear 1.2s both, hiwArrowFade .5s ease 1.1s both; }
.process.is-in .hiw-col { animation: hiwHighlight .8s ease both; animation-delay: var(--hd,0s); }
.process.is-in .hiw-col .hiw-icn path, .process.is-in .hiw-col .hiw-icn circle { animation: hiwDrawIcon 1s ease both; animation-delay: calc(var(--hd,0s) + .15s); }
.process.is-in .hiw-wave { animation: hiwRipple 1s ease-out 2 forwards; animation-delay: var(--hw,0s); }

.hiw-col:nth-child(1){--hd:1.2s} .hiw-col:nth-child(2){--hd:4.2s} .hiw-col:nth-child(3){--hd:7.2s} .hiw-col:nth-child(4){--hd:10.2s} .hiw-col:nth-child(5){--hd:13.2s}
.hiw-wave:nth-child(1){--hw:1.2s} .hiw-wave:nth-child(2){--hw:1.75s} .hiw-wave:nth-child(3){--hw:4.2s} .hiw-wave:nth-child(4){--hw:4.75s} .hiw-wave:nth-child(5){--hw:7.2s} .hiw-wave:nth-child(6){--hw:7.75s} .hiw-wave:nth-child(7){--hw:10.2s} .hiw-wave:nth-child(8){--hw:10.75s} .hiw-wave:nth-child(9){--hw:13.2s} .hiw-wave:nth-child(10){--hw:13.75s}

/* Arabic: mirror the arrow, use Amiri numerals, drop the Latin caps treatment */
[dir="rtl"] .hiw-spine { transform: scaleX(-1); }
[dir="rtl"] .hiw-n { font-family: var(--accent-ar); }
[dir="rtl"] .hiw-label { font-family: var(--accent-ar); text-transform: none; letter-spacing: normal; }

@media (max-width: 820px){
  .journey-h { display:none; }
  .journey-v { display:block; position:relative; margin-top:32px; padding-left:52px; }
  .hiw-vline { position:absolute; left:24px; top:0; bottom:40px; width:1px; background: rgba(255,255,255,.16); }
  .hiw-vfill { position:absolute; left:23.5px; top:0; width:2px; height:0; background: var(--secondary-fixed); }
  .hiw-varrow{ position:absolute; left:16.5px; top:0; transform:translateY(0); opacity:0; color: var(--secondary-fixed); } /* line centre 24.5px minus half the 16px chevron; JS owns transform, so left does the centring */
  .hiw-vstep { position:relative; padding-bottom:40px; opacity:.30; }
  .hiw-vstep .hiw-ic { width:36px; height:36px; margin:0 0 12px; }
  .hiw-vstep .hiw-icn { width:36px; height:36px; }
  .hiw-vstep .hiw-n { font-size:40px; }
  .hiw-vdot { position:absolute; left:-31.5px; top:6px; width:8px; height:8px; border-radius:50%; background: var(--secondary-fixed); } /* -31.5px = line centre (24.5px) minus the step's 52px padding minus half the 8px dot */
  .hiw-vdot::after { content:""; position:absolute; inset:-3px; border-radius:50%; border:1.2px solid var(--secondary-fixed); opacity:0; transform-origin:center; }
  .process.is-in .hiw-vstep { animation: hiwHighlight .8s ease both; animation-delay: var(--hd,0s); }
  .process.is-in .hiw-vstep .hiw-icn path, .process.is-in .hiw-vstep .hiw-icn circle { animation: hiwDrawIcon 1s ease both; animation-delay: calc(var(--hd,0s) + .15s); }
  .process.is-in .hiw-vdot::after { animation: hiwRipple 1s ease-out 2 forwards; animation-delay: var(--hd,0s); }
  .hiw-vstep:nth-child(4){--hd:1.2s} .hiw-vstep:nth-child(5){--hd:4.2s} .hiw-vstep:nth-child(6){--hd:7.2s} .hiw-vstep:nth-child(7){--hd:10.2s} .hiw-vstep:nth-child(8){--hd:13.2s}
  [dir="rtl"] .journey-v { padding-left:0; padding-right:52px; }
  [dir="rtl"] .hiw-vline { left:auto; right:24px; }
  [dir="rtl"] .hiw-vfill { left:auto; right:23.5px; }
  [dir="rtl"] .hiw-varrow{ left:auto; right:16.5px; }
  [dir="rtl"] .hiw-vstep { text-align:right; }
  [dir="rtl"] .hiw-vstep .hiw-ic { margin-left:auto; margin-right:0; }
  [dir="rtl"] .hiw-vdot { left:auto; right:-31.5px; }
}

/* Reduced motion / no-JS: show the finished state, no animation */
@media (prefers-reduced-motion: reduce){
  .hiw-col, .hiw-vstep { opacity: 1 !important; animation: none !important; }
  .hiw-progress, .hiw-base { stroke-dashoffset: 0 !important; animation: none !important; }
  .hiw-icn path, .hiw-icn circle { stroke-dashoffset: 0 !important; animation: none !important; }
  .hiw-arrow, .hiw-wave, .hiw-varrow, .hiw-vfill { display: none !important; }
  .hiw-vline { bottom: 40px !important; }
}
