/* =====================================================
   Soul & Waves — Refined Stylesheet
   Tighter spacing, more polished, professional
   ===================================================== */

:root {
  --paper: #f5efe4;
  --paper-soft: #ece2d1;
  --paper-warm: #f9f4ea;
  --ink: #14202a;
  --ink-soft: #3c4d58;
  --ink-mute: #6b7a85;
  --deep: #0c2230;
  --teal: #36636f;
  --teal-soft: #8fb1b8;
  --mist: #c9dde0;
  --brass: #a07c41;
  --brass-soft: #c4a370;
  --rule: rgba(20, 32, 42, 0.14);
  --rule-strong: rgba(20, 32, 42, 0.22);
  --shadow-sm: 0 1px 2px rgba(12, 34, 48, 0.04), 0 1px 3px rgba(12, 34, 48, 0.06);
  --shadow-md: 0 4px 16px rgba(12, 34, 48, 0.06), 0 1px 3px rgba(12, 34, 48, 0.04);
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;

  /* ─── Typography system (2026-04-27) ─── */
  --font-body: 'Assistant', 'Noto Sans Hebrew', 'Segoe UI', Arial, sans-serif;
  --font-display: 'Frank Ruhl Libre', 'Noto Serif Hebrew', Georgia, serif;

  --text-xs:    0.82rem;
  --text-sm:    0.92rem;
  --text-base:  1rem;
  --text-md:    1.08rem;
  --text-lg:    1.18rem;
  --text-xl:    1.45rem;
  --text-2xl:   1.85rem;
  --text-3xl:   2.45rem;
  --text-hero:  clamp(3rem, 8vw, 6.5rem);

  --lh-tight:   1.12;
  --lh-heading: 1.25;
  --lh-body:    1.75;
  --lh-small:   1.55;

  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: var(--lh-body);
  font-size: 17px;
  font-weight: var(--fw-regular);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--brass); color: var(--paper); }

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3.5vw, 2.25rem);
  position: relative;
  z-index: 2;
}

.wrap-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3.5vw, 2.25rem);
  position: relative;
  z-index: 2;
}

/* ---------- HEADER ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 239, 228, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--rule);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1.5rem;
}

.logo {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--deep);
  text-decoration: none;
  letter-spacing: 0.005em;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.logo-mark { width: 26px; height: 26px; flex-shrink: 0; color: var(--teal); }

.nav-links {
  display: flex;
  gap: clamp(0.85rem, 2vw, 1.6rem);
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.25s ease;
  position: relative;
  padding: 0.2rem 0;
}

.nav-links a:hover, .nav-links a.active { color: var(--deep); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 0;
  height: 1px;
  background: var(--brass);
  transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.lang {
  font-family: 'Frank Ruhl Libre', serif;
  color: var(--brass);
  font-size: 0.95rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  cursor: pointer;
  padding: 0.4rem 0.55rem;
  color: var(--deep);
  font-size: 1rem;
  border-radius: var(--radius-sm);
  line-height: 1;
}

/* ---------- HERO ---------- */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  position: relative;
}

.eyebrow {
  font-family: 'Frank Ruhl Libre', serif;
  color: var(--brass);
  font-size: 1rem;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.eyebrow::after {
  content: '';
  flex: 0 0 60px;
  height: 1px;
  background: var(--brass);
  opacity: 0.5;
}

.hero h1 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 500;
  line-height: 1;
  color: var(--deep);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-wave {
  width: 100%;
  max-width: 480px;
  height: 44px;
  margin: 1.25rem 0 1.75rem;
  color: var(--teal);
  opacity: 0.55;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 0.85rem;
  font-weight: 400;
}

.hero-sub strong { color: var(--deep); font-weight: 600; }

.hero-quote {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.15rem;
  color: var(--teal);
  font-weight: 500;
  max-width: 480px;
  margin-top: 0.5rem;
}

/* ---------- PAGE HERO ---------- */
.page-hero {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.75rem, 3.5vw, 2.5rem);
  position: relative;
  border-bottom: 1px solid var(--rule);
}

.page-hero h1 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--deep);
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
  max-width: 880px;
}

.page-hero .hero-sub { margin-bottom: 1.6rem; }

/* ---------- SECTIONS ---------- */
section { padding: clamp(2.25rem, 4.5vw, 4rem) 0; position: relative; }

.section-label {
  font-family: 'Frank Ruhl Libre', serif;
  color: var(--brass);
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
  display: block;
}

.section-title {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(1.65rem, 3.5vw, 2.5rem);
  font-weight: 500;
  color: var(--deep);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.6rem;
  max-width: 780px;
}

/* ---------- PROSE ---------- */
.prose-section .prose { max-width: 700px; }

.prose p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 0.95rem;
}

.prose p:last-child { margin-bottom: 0; }
.prose p strong { color: var(--deep); font-weight: 600; }

.pullquote {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--teal);
  font-weight: 500;
  line-height: 1.5;
  max-width: 700px;
  padding-inline-start: 1.4rem;
  border-inline-start: 2px solid var(--brass);
  margin: 1.4rem 0;
}

.pullquote-author {
  display: block;
  font-style: normal;
  font-family: 'Frank Ruhl Libre', serif;
  color: var(--brass);
  font-size: 0.95rem;
  margin-top: 0.5rem;
  letter-spacing: 0.04em;
}

/* ---------- PATHWAYS (home) ---------- */
.pathways {
  background: linear-gradient(180deg, transparent 0%, var(--paper-soft) 25%, var(--paper-soft) 75%, transparent 100%);
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.path-card {
  padding: 1.85rem 1.5rem;
  text-decoration: none;
  color: inherit;
  border-inline-start: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: background 0.35s ease, transform 0.35s ease;
  position: relative;
  min-height: 240px;
}

.path-card:first-child { border-inline-start: none; }
.path-card:hover { background: rgba(249, 244, 234, 0.7); }

.path-num {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 0.9rem;
  color: var(--brass);
  letter-spacing: 0.08em;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.path-num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--brass);
  opacity: 0.3;
}

.path-icon { width: 32px; height: 32px; color: var(--teal); margin: 0.25rem 0 0.15rem; }

.path-card h3 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--deep);
  letter-spacing: -0.005em;
  margin-bottom: 0.1rem;
}

.path-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

.path-arrow {
  font-family: 'Frank Ruhl Libre', serif;
  color: var(--brass);
  font-size: 0.95rem;
  margin-top: 0.35rem;
  transition: transform 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.path-card:hover .path-arrow { transform: translateX(4px); }

/* ---------- JOURNEY ---------- */
.journey-flow { position: relative; margin: 1.75rem 0 1.5rem; padding: 1.25rem 0; }

.journey-wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--mist);
  opacity: 0.7;
}

.journey-stops {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  position: relative;
  z-index: 2;
}

.stop { text-align: center; padding: 0.65rem 0.4rem; }

.stop-label {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  color: var(--deep);
  font-weight: 500;
  margin-bottom: 0.2rem;
  line-height: 1.1;
}

.stop-detail {
  font-family: 'Frank Ruhl Libre', serif;
  color: var(--brass);
  font-size: 0.9rem;
}

.journey-text {
  max-width: 660px;
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-top: 1.25rem;
}

/* ---------- NUMBERED GRID ---------- */
.num-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  margin-top: 1.25rem;
}

.num-item {
  padding: 1.75rem 0;
  padding-inline-end: 1.5rem;
  border-top: 1px solid var(--rule);
  position: relative;
}

.num-numeral {
  font-family: 'Frank Ruhl Libre', serif;
  color: var(--brass);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.6rem;
  display: block;
}

.num-item h4 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--deep);
  margin-bottom: 0.45rem;
  letter-spacing: -0.005em;
}

.num-item p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ---------- SIMPLE GRID ---------- */
.simple-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem 1.6rem;
  margin-top: 1.5rem;
}

.simple-card {
  padding: 1.15rem 0;
  border-top: 2px solid var(--brass);
}

.simple-card h4 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--deep);
  margin-bottom: 0.4rem;
}

.simple-card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.6;
}

/* ---------- STEPS ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.step-card {
  padding: 1.4rem 1.4rem 1.5rem;
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.step-num {
  font-family: 'Frank Ruhl Libre', serif;
  color: var(--brass);
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  display: block;
}

.step-card h4 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--deep);
  margin-bottom: 0.4rem;
}

.step-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* ---------- COMPARISON ---------- */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 1.25rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.comparison-col {
  padding: 1.85rem 1.5rem;
  border-inline-start: 1px solid var(--rule);
}

.comparison-col:first-child { border-inline-start: none; }

.comparison-col .label {
  font-family: 'Frank Ruhl Libre', serif;
  color: var(--brass);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.comparison-col h4 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.3rem;
  color: var(--deep);
  margin-bottom: 0.65rem;
  font-weight: 500;
}

.comparison-col p { color: var(--ink-soft); line-height: 1.65; font-size: 0.98rem; }

/* ---------- STATS ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0;
  margin-top: 1.5rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.stat {
  padding: 1.4rem 1rem;
  text-align: center;
  border-inline-start: 1px solid var(--rule);
}

.stat:first-child { border-inline-start: none; }

.stat-value {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: var(--deep);
  font-weight: 500;
  margin-bottom: 0.25rem;
  line-height: 1.1;
}

.stat-label {
  font-family: 'Frank Ruhl Libre', serif;
  color: var(--brass);
  font-size: 0.9rem;
}

/* ---------- SPECS ---------- */
.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin-top: 1.5rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.spec {
  padding: 1.4rem 1.25rem;
  border-inline-start: 1px solid var(--rule);
  text-align: start;
}

.spec:first-child { border-inline-start: none; }

.spec-label {
  font-family: 'Frank Ruhl Libre', serif;
  color: var(--brass);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
  display: block;
}

.spec-value {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.45rem;
  color: var(--deep);
  font-weight: 500;
  margin-bottom: 0.25rem;
  line-height: 1.1;
}

.spec-detail {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.testimonial {
  padding: 1.5rem 1.5rem 1.4rem;
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 0.1rem;
  inset-inline-start: 0.85rem;
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 3.25rem;
  color: var(--brass);
  line-height: 1;
  opacity: 0.45;
}

.testimonial p {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.testimonial cite {
  font-family: 'Frank Ruhl Libre', serif;
  color: var(--brass);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  font-style: normal;
}

/* ---------- CALLOUT ---------- */
.callout {
  padding: 1.4rem 1.5rem;
  background: var(--paper-warm);
  border-inline-start: 3px solid var(--brass);
  margin: 1.5rem 0;
  border-radius: var(--radius-xs);
}

.callout .label {
  font-family: 'Frank Ruhl Libre', serif;
  color: var(--brass);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
  display: block;
}

.callout h3 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.3rem;
  color: var(--deep);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.callout p { color: var(--ink-soft); line-height: 1.65; margin-bottom: 0.75rem; font-size: 0.98rem; }

.callout p:last-child { margin-bottom: 0; }

.callout a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--teal);
  padding-bottom: 1px;
  transition: color 0.25s;
  font-size: 0.97rem;
}

.callout a:hover { color: var(--deep); }

/* ---------- BIO ---------- */
.bio {
  background: var(--deep);
  color: var(--paper);
  margin-top: clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}

.bio::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 100%, rgba(54, 99, 111, 0.4) 0%, transparent 60%);
  pointer-events: none;
}

.bio .wrap { position: relative; z-index: 2; }
.bio .section-label { color: var(--brass-soft); }

.bio-quote {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(1.35rem, 2.8vw, 1.95rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--paper);
  max-width: 880px;
  margin-bottom: 1.6rem;
  position: relative;
  padding-inline-start: 2.25rem;
}

.bio-quote::before {
  content: '"';
  position: absolute;
  inset-inline-start: 0;
  top: -0.6rem;
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 3.75rem;
  color: var(--brass);
  line-height: 1;
  opacity: 0.8;
}

.bio-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(245, 239, 228, 0.85);
  max-width: 740px;
  margin-bottom: 1.4rem;
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0;
  font-family: 'Frank Ruhl Libre', serif;
  color: var(--brass-soft);
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(196, 163, 112, 0.25);
}

.credentials span {
  padding: 0 0.85rem;
  border-inline-start: 1px solid rgba(196, 163, 112, 0.3);
}

.credentials span:first-child { padding-inline-start: 0; border-inline-start: none; }

/* ---------- CTA ---------- */
.cta { text-align: center; padding: clamp(2.75rem, 5.5vw, 4.5rem) 0; }

.cta-wave {
  width: 84px;
  height: 24px;
  margin: 0 auto 1.4rem;
  color: var(--brass);
  opacity: 0.6;
}

.cta h2 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 500;
  color: var(--deep);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.cta p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 auto 1.6rem;
  line-height: 1.65;
}

.cta-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.85rem;
  background: var(--deep);
  color: var(--paper);
  text-decoration: none;
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  border-radius: var(--radius-xs);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--deep);
  box-shadow: var(--shadow-sm);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--teal);
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 0;
}

.btn:hover::before { transform: translateX(0); }
.btn:hover { box-shadow: var(--shadow-md); }
.btn span { position: relative; z-index: 1; }

.btn-ghost {
  background: transparent;
  color: var(--deep);
  border: 1px solid var(--deep);
  box-shadow: none;
}

.btn-ghost::before { background: var(--deep); }
.btn-ghost:hover { color: var(--paper); }


/* ---------- FOOTER ---------- */
footer {
  background: var(--paper-soft);
  padding: 1.6rem 0;
  border-top: 1px solid var(--rule);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

footer a { color: var(--teal); text-decoration: none; transition: color 0.25s; }
footer a:hover { color: var(--deep); }

/* ---------- ACCESSIBILITY WIDGET ---------- */
.a11y { position: fixed; bottom: 1.2rem; inset-inline-start: 1.2rem; z-index: 100; }

.a11y-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--deep);
  color: var(--paper);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(12, 34, 48, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.a11y-btn:hover { transform: scale(1.06); box-shadow: 0 6px 18px rgba(12, 34, 48, 0.3); }

.a11y-panel {
  position: absolute;
  bottom: 56px;
  inset-inline-start: 0;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 0.95rem;
  min-width: 210px;
  box-shadow: 0 10px 28px rgba(12, 34, 48, 0.14);
  display: none;
}

.a11y-panel.open { display: block; }

.a11y-panel h5 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1rem;
  color: var(--deep);
  margin-bottom: 0.55rem;
  font-weight: 500;
}

.a11y-panel button {
  display: block;
  width: 100%;
  text-align: start;
  padding: 0.5rem 0.65rem;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: var(--radius-xs);
  margin-bottom: 0.3rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  transition: all 0.2s ease;
}

.a11y-panel button:hover {
  background: var(--deep);
  color: var(--paper);
  border-color: var(--deep);
}

body.a11y-contrast {
  --paper: #ffffff;
  --paper-soft: #f0f0f0;
  --paper-warm: #ffffff;
  --ink: #000000;
  --ink-soft: #1a1a1a;
  --deep: #000000;
  --rule: #000000;
}

body.a11y-large { font-size: 19px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    inset-inline-end: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--rule);
    display: none;
    gap: 0.75rem;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { padding: 0.45rem 0; }

  .path-card { border-inline-start: none; border-top: 1px solid var(--rule); min-height: auto; }
  .path-card:first-child { border-top: none; }

  .journey-stops { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .journey-wave { display: none; }

  .credentials { font-size: 0.92rem; }
  .credentials span { padding: 0 0.5rem; }

  .comparison { grid-template-columns: 1fr; }
  .comparison-col { border-inline-start: none; border-top: 1px solid var(--rule); }
  .comparison-col:first-child { border-top: none; }

  .stat, .spec { border-inline-start: none; border-top: 1px solid var(--rule); }
  .stat:first-child, .spec:first-child { border-top: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- ENTRANCE ANIMATION ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.85s ease forwards;
}

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.34s; }
.delay-4 { animation-delay: 0.46s; }

/* =====================================================
   Messaging system — nav contact icons, picker, modal
   ===================================================== */

.nav-contacts {
  display: flex;
  gap: 2px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  color: var(--teal);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  background: transparent;
}
.nav-icon:hover { background: var(--teal); color: var(--paper); }
.nav-icon svg { width: 18px; height: 18px; display: block; }
.nav-icon-wa { color: #25D366; }
.nav-icon-wa:hover { background: #25D366; color: #fff; }

.nav-tel .tel-num {
  display: none;
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--deep);
}
@media (hover: hover) and (pointer: fine) {
  .nav-tel {
    width: auto;
    padding: 0 8px;
    gap: 2px;                  /* tight: handset hugs the number */
    flex-direction: row-reverse; /* in RTL: handset on the LEFT of the number */
    pointer-events: none;
    cursor: default;
    color: #d23636;            /* red handset (icon inherits via currentColor) */
  }
  .nav-tel:hover { background: transparent; color: #d23636; }
  .nav-tel .tel-num { display: inline; }
}
/* Mobile (icon-only) — also red */
.nav-tel { color: #d23636; }
.nav-tel:hover { background: #d23636; color: #fff; }
/* Phone icon in the picker button (.cp-tel) — also red, and on the left of the number */
.cp-tel { flex-direction: row-reverse; }
.cp-tel svg { fill: #d23636; }
.cp-tel:hover svg { fill: #ff5050; }
/* Picker buttons sit inside the existing .btn rule which has a sliding ::before
   overlay that covers raw text on hover. Disable it for picker buttons. */
.contact-picker-buttons .btn::before,
.contact-picker-buttons .btn:hover::before { display: none; }

/* ----- Contact picker ----- */
.contact-picker {
  margin: 26px auto 0;
  max-width: 720px;
  padding: 22px 26px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  text-align: center;
}
.contact-picker-title {
  font-family: 'Frank Ruhl Libre', 'Frank Ruhl Libre', serif;
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--ink);
  margin: 0 0 6px;
}
.contact-picker-sub {
  font-size: 0.95rem;
  color: var(--ink-mute);
  margin: 0 0 14px;
}
.contact-picker-options {
  display: flex; flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: center;
  margin-bottom: 16px;
}
.contact-picker-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 1rem;
}
.contact-picker-options input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--teal);
  cursor: pointer;
}
.contact-picker-buttons {
  display: flex; flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  background: var(--deep);
  color: var(--paper);
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-wa  { background: #25D366; color: #fff; }
.btn-wa:hover  { background: #128C7E; color: #fff; }
.btn-tel { background: var(--teal); color: #fff; }
.btn-tel:hover { background: var(--deep); color: #fff; }
.btn svg {
  width: 18px; height: 18px;
  fill: currentColor;
  margin-inline-end: 6px;
  vertical-align: -3px;
}

/* ----- Modal ----- */
.contact-modal {
  display: none;
  position: fixed; inset: 0;
  background: rgba(12, 34, 48, 0.62);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: cmFade 0.18s ease-out;
}
.contact-modal.open { display: flex; }
.contact-modal-box {
  background: var(--paper-warm);
  border-radius: var(--radius-md);
  max-width: 720px;
  width: 100%;
  padding: 36px 28px 28px;
  position: relative;
  box-shadow: var(--shadow-md);
}
.contact-modal-close {
  position: absolute;
  top: 10px; left: 10px;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--ink-mute);
  width: 32px; height: 32px;
  line-height: 1;
  border-radius: 50%;
}
.contact-modal-close:hover { background: var(--rule); color: var(--ink); }
.contact-modal .contact-picker { margin: 0; background: transparent; border: none; padding: 0; }

@keyframes cmFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ----- New content helpers (2026-04-26 brief) ----- */
.prose-list {
  list-style: disc;
  padding-inline-start: 1.4rem;
  margin-block: 0.6rem;
  line-height: 1.85;
  color: var(--ink-soft);
  font-size: 1.02rem;
}
.prose-list li { margin-bottom: 0.35rem; }
.hero-quote-soft {
  font-family: 'Frank Ruhl Libre', serif;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--teal);
  margin-top: 0.6rem;
  text-align: right;
}

/* Internal links nav block (service pages) */
.internal-links {
  text-align: center;
  font-size: 0.92rem;
  color: var(--ink-mute);
  margin: 30px auto 6px;
  padding: 14px 16px 0;
  max-width: 820px;
  border-top: 1px solid var(--rule);
}
.internal-links p { margin: 0; }
.internal-links a {
  color: var(--teal);
  text-decoration: none;
  margin: 0 0.4rem;
  font-weight: 500;
}
.internal-links a:hover { text-decoration: underline; }

/* =====================================================
   Typography system rules (2026-04-27)
   Adds standardized headings, paragraph widths, link
   underlines, list spacing, and mobile responsiveness.
   ===================================================== */

/* ---- Paragraphs ---- */
p {
  font-size: var(--text-base);
  line-height: var(--lh-body);
  font-weight: var(--fw-regular);
}
.prose p, .hero-sub, .bio-text, .hero-quote, .hero-quote-soft {
  max-width: 68ch;
}

/* ---- Headings — consistent hierarchy ---- */
h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  line-height: var(--lh-tight);
  font-weight: var(--fw-medium);   /* Frank Ruhl Libre 500 reads as semibold */
  letter-spacing: -0.015em;
}
.hero h1 {
  font-size: var(--text-hero);
  font-weight: var(--fw-medium);
  line-height: 1.05;
}
h2, .section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  line-height: 1.2;
  font-weight: var(--fw-medium);
}
h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.3;
  font-weight: var(--fw-medium);
}
h4 {
  font-size: var(--text-md);
  line-height: 1.35;
  font-weight: var(--fw-semibold);
}

/* ---- Service cards ---- */
.path-card h3, .simple-card h4, .num-item h4, .step-card h4, .card-title {
  font-size: clamp(1.25rem, 2.2vw, 1.45rem);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
}
.path-card p, .simple-card p, .num-item p, .step-card p {
  font-size: var(--text-base);
  line-height: 1.65;
  font-weight: var(--fw-regular);
}
.path-arrow {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
}

/* ---- Small / eyebrow / labels ---- */
.eyebrow, .section-label {
  font-size: var(--text-sm);
  line-height: var(--lh-small);
  font-weight: var(--fw-medium);
}

/* ---- Navigation ---- */
.nav-links a {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  line-height: 1.4;
}

/* ---- Buttons / CTAs ---- */
.btn, .hero-cta {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}

/* ---- Links — underline rule ---- */
a.lang, .internal-links a, .prose a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  font-weight: var(--fw-medium);
}
a.lang:hover, .internal-links a:hover, .prose a:hover {
  text-decoration: underline;
}

/* ---- Quotes / testimonials ---- */
.pullquote, .testimonial p, blockquote {
  font-size: var(--text-md);
  line-height: 1.7;
  font-weight: var(--fw-regular);
}
.pullquote-author, cite {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  font-style: normal;
  opacity: 0.8;
}

/* ---- Lists ---- */
ul, ol { line-height: 1.7; }
ul li, ol li { margin-bottom: 0.4em; }
.prose-list li { margin-bottom: 0.45em; }

/* ---- Mobile typography ---- */
@media (max-width: 640px) {
  body { font-size: 16px; line-height: 1.7; }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 3.6rem); line-height: 1.1; }
  .page-hero h1 { font-size: clamp(1.9rem, 7vw, 2.5rem); }
  .btn, .hero-cta { font-size: 1rem; padding: 0.85rem 1.4rem; }
  .contact-picker-options label { font-size: 0.95rem; }
}

/* ---- Accessibility focus ---- */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
