/* Sandor V5 — Orbital gold · cycle · partners · mobile-first motion */
:root {
  /* Swap logo: change --logo-path (+ file under assets/img/). See LOGO.md */
  --logo-path: assets/img/logo.webp;
  --logo-url: url("assets/img/logo.webp");
  --gold: #C4A35A;
  --gold-light: #E8D5A3;
  --gold-deep: #8B7340;
  --gold-text: #6E5A2E; /* AA 6.0:1 on cream — text only, not decorative gold */
  --focus: #7D1623; /* AA 9.4:1 on cream — visible focus (gold outline fails 3:1) */
  --burgundy: #7D1623;
  --burgundy-deep: #4A0C14;
  --cream: #F7F3EB;
  --cream-2: #EFE8DC;
  --ink: #1A1210;
  --ink-soft: #4A3F3A;
  --muted: #4A433E;
  --white: #FFFCF7;
  --radius: 24px;
  --radius-sm: 16px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-serif: "Source Serif 4", "Frank Ruhl Libre", Georgia, serif;
  --font-he-display: "Heebo", "Assistant", system-ui, sans-serif;
  --font-he-body: "Heebo", "Assistant", system-ui, sans-serif;
  --font-sans: "Outfit", "Assistant", system-ui, sans-serif;
  --header-h: 72px;
  --dock-h: 0px;
  --dock-h: 0px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--cream); color: var(--ink); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  font-family: var(--font-sans);
  font-weight: 400; line-height: 1.65;
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
  cursor: none;
  padding-bottom: calc(var(--dock-h) + 56px);
}
html[lang="he"] body, html[dir="rtl"] body {
  font-family: var(--font-he-body);
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}
html[lang="he"] h1, html[lang="he"] h2, html[lang="he"] h3, html[lang="he"] h4,
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4,
html[lang="he"] .section-title, html[dir="rtl"] .section-title,
html[lang="he"] .hero-title, html[dir="rtl"] .hero-title,
html[lang="he"] .split-title, html[dir="rtl"] .split-title,
html[lang="he"] .act-label, html[dir="rtl"] .act-label,
html[lang="he"] .philo-card h3, html[dir="rtl"] .philo-card h3,
html[lang="he"] .offer-card h3, html[dir="rtl"] .offer-card h3,
html[lang="he"] .contact-item a, html[lang="he"] .contact-item .value,
html[lang="he"] .team-card .team-role, html[dir="rtl"] .team-card .team-role,
html[lang="he"] .legal-name .name, html[lang="he"] .quote-block blockquote {
  font-family: var(--font-he-display);
  letter-spacing: 0;
  font-feature-settings: "kern" 1;
}
html[lang="he"] h1, html[dir="rtl"] h1, html[lang="he"] .split-title {
  font-weight: 500;
  line-height: 1.28;
  font-size: clamp(2.05rem, 5.2vw, 3.35rem);
}
html[lang="he"] h2, html[dir="rtl"] h2, html[lang="he"] .section-title {
  font-weight: 500;
  line-height: 1.32;
}
html[lang="he"] h3, html[dir="rtl"] h3 {
  font-weight: 500;
  line-height: 1.38;
}
html[lang="he"] .lead, html[dir="rtl"] .lead {
  font-family: var(--font-he-body);
  font-weight: 300;
  line-height: 1.75;
  max-width: 38em;
}
html[lang="he"] p, html[dir="rtl"] p,
html[lang="he"] .chip, html[lang="he"] .hub,
html[lang="he"] .btn, html[dir="rtl"] .btn {
  letter-spacing: 0;
}
html[lang="he"] .hub, html[dir="rtl"] .hub {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.78rem;
  font-weight: 500;
}
html[lang="he"] .eyebrow, html[lang="he"] .act-label,
html[lang="he"] .contact-item .label, html[lang="he"] .legal-name .label {
  letter-spacing: 0.04em;
  text-transform: none;
  font-family: var(--font-he-body);
  font-weight: 500;
}
/* RTL layout mirroring */
html[dir="rtl"] .hero-content,
html[dir="rtl"] .contact-grid,
html[dir="rtl"] .israel-grid,
html[dir="rtl"] .footer-inner { direction: rtl; }
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .hubs,
html[dir="rtl"] .err-actions { flex-direction: row; }
html[dir="rtl"] .media-card figcaption,
html[dir="rtl"] .team-card .team-role,
html[dir="rtl"] .philo-card,
html[dir="rtl"] .offer-card { text-align: start; }
html[dir="rtl"] .nowrap-end { white-space: nowrap; }
/* Avoid Latin fallback look on HE UI chrome */
html[lang="he"] .nav-main a,
html[lang="he"] .lang-switch button,
html[lang="he"] .mobile-dock-btn {
  font-family: var(--font-he-body);
  font-weight: 500;
  letter-spacing: 0;
}
body.has-touch, body.reduced-motion { cursor: auto; }
body.has-touch .cursor, body.reduced-motion .cursor { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; color: inherit; cursor: none; }
body.has-touch button { cursor: pointer; }
ul { list-style: none; }

/* Dual cursor */
.cursor { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 10000; opacity: 0; }
.cursor.visible { opacity: 1; }
.cursor-dot {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); transform: translate(-50%,-50%);
  transition: width .3s var(--ease), height .3s var(--ease), background .3s;
}
.cursor-ring {
  position: absolute; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(196,163,90,.55);
  transform: translate(-50%,-50%);
  transition: width .35s var(--ease), height .35s var(--ease), border-color .3s, background .3s;
}
.cursor.hover .cursor-dot { width: 0; height: 0; }
.cursor.hover .cursor-ring {
  width: 56px; height: 56px;
  border-color: var(--gold-light);
  background: rgba(196,163,90,.08);
}

/* Intro */
.intro {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--burgundy-deep);
  display: grid; place-items: center; color: var(--gold-light);
}
.intro-inner { text-align: center; position: relative; }
.intro-orb {
  position: absolute; left: 50%; top: 40%; width: 180px; height: 180px;
  transform: translate(-50%,-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(196,163,90,.35), transparent 70%);
  animation: orbPulse 2.4s ease-in-out infinite;
}
@keyframes orbPulse { 0%,100% { transform: translate(-50%,-50%) scale(1); opacity:.7; } 50% { transform: translate(-50%,-50%) scale(1.15); opacity:1; } }
.intro-logo-img { position: relative; width: min(220px, 55vw); margin: 0 auto 1rem; }
.intro-line { width: 0; height: 1px; background: var(--gold); margin: 1.5rem auto 0; transition: width 1.1s var(--ease); }
.intro.ready .intro-line { width: 100px; }
.intro-tag {
  margin-top: 1rem; font-size: .65rem; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(232,213,163,.7); opacity: 0; transition: opacity .8s .4s;
}
.intro.ready .intro-tag { opacity: 1; }
.intro.done { opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s .7s; }

/* Review banner */
.review-banner {
  display: none; position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  background: var(--ink); color: var(--gold-light);
  font-size: .65rem; letter-spacing: .08em; text-transform: uppercase;
  text-align: center; padding: .32rem 1rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2;
}
html.has-review-banner .review-banner { display: block; }
html.has-review-banner { --review-banner-h: 22px; }
html.has-review-banner .site-header { top: var(--review-banner-h); }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  height: var(--header-h);
  background: rgba(247,243,235,.72);
  transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}
.site-header.scrolled {
  background: rgba(247,243,235,.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(125,22,35,.08);
}
.header-inner {
  max-width: 1240px; margin: 0 auto; height: 100%;
  padding: 0 clamp(1rem, 3vw, 2rem);
  display: flex; align-items: center; gap: .75rem;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img {
  height: 52px; width: auto;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.45) saturate(1.3) brightness(0.84) drop-shadow(0 1px 1px rgba(74,12,20,.28));
}
.intro-logo-img {
  filter: brightness(1.3) contrast(1.2) saturate(1.15) !important;
}
.nav-main { display: flex; align-items: center; gap: 1.15rem; margin-inline-start: auto; }
.nav-main a {
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-soft); padding: .35rem .15rem; transition: color .25s;
}
.nav-main a:hover { color: var(--burgundy); }
.nav-cta {
  padding: .65rem 1.25rem !important;
  border-radius: var(--radius-pill);
  background: var(--burgundy); color: var(--cream) !important;
  transition: transform .35s var(--ease), background .3s !important;
}
.nav-cta:hover { background: var(--burgundy-deep); }
.header-actions { display: flex; align-items: center; gap: .5rem; margin-inline-start: .5rem; }
.lang-switch { display: flex; gap: .2rem; }
.lang-switch button {
  font-size: .68rem; letter-spacing: .08em; padding: .38rem .5rem;
  border-radius: var(--radius-pill); color: var(--muted); transition: .2s;
}
.lang-switch button[aria-pressed="true"] { background: rgba(196,163,90,.28); color: var(--burgundy); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; background: rgba(196,163,90,.12); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 12px; width: 20px; height: 1.5px; background: var(--ink);
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { content: ""; top: -6px; }
.nav-toggle span::after { content: ""; top: 6px; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem); }
.eyebrow {
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-text); display: block; margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4.2vw, 3.2rem);
  font-weight: 500; line-height: 1.15; color: var(--burgundy-deep);
}
.lead { font-size: 1.05rem; color: var(--ink-soft); max-width: 36rem; margin-top: 1.15rem; font-weight: 300; }
.act-label { font-family: var(--font-serif); font-style: italic; color: #6E5A2E; font-size: 1.05rem; margin-bottom: .4rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.65rem; border-radius: var(--radius-pill);
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .35s;
}
.btn-gold {
  background: var(--gold); color: #3A0A10; font-weight: 600;
  box-shadow: 0 8px 28px rgba(196,163,90,.28);
}
.btn-gold:hover { background: var(--gold-light); box-shadow: 0 12px 36px rgba(196,163,90,.4); }
.btn-outline { border-color: var(--burgundy); color: var(--burgundy); background: transparent; }
.btn-outline:hover { background: var(--burgundy); color: var(--cream); }

/* ========== HERO ========== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 2rem) 0 4.5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 55% at 85% 45%, rgba(196,163,90,.16), transparent 55%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(125,22,35,.06), transparent 50%),
    linear-gradient(165deg, var(--cream) 0%, var(--cream-2) 100%);
}
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1; opacity: .95;
}
.hero-glow {
  position: absolute; right: 8%; top: 42%; width: min(420px, 38vw); height: min(420px, 38vw);
  transform: translateY(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(196,163,90,.38), transparent 68%);
  pointer-events: none; z-index: 1; filter: blur(1px);
}
@media (min-width: 961px) {
  html[dir="rtl"] .hero-glow {
    right: auto; left: 8%;
  }
}

.hero-content {
  position: relative; z-index: 3;
  max-width: 1240px; margin: 0 auto; width: 100%;
  padding: 0 clamp(1rem, 3vw, 2rem);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center;
}
.hero-copy { max-width: 38rem; }
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 4.8vw, 3.75rem);
  font-weight: 500; line-height: 1.32; color: var(--burgundy-deep);
  letter-spacing: .005em; overflow: visible;
  padding-top: .18em; padding-bottom: .22em;
}
.hero-lead { margin-top: 1.25rem; font-size: 1.02rem; color: var(--ink-soft); font-weight: 300; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.85rem; }
.hero-meta {
  margin-top: 2rem; display: flex; flex-wrap: nowrap; gap: .55rem;
  align-items: center; max-width: 100%;
}
.chip {
  display: inline-flex; align-items: center; flex: 0 0 auto;
  padding: .5rem .9rem; border-radius: var(--radius-pill);
  background: rgba(196,163,90,.14); border: 1px solid rgba(196,163,90,.38);
  font-size: .68rem; letter-spacing: .05em; color: var(--burgundy);
  backdrop-filter: blur(6px); white-space: nowrap;
}
/* HE: keep 3 chips on one line — no orphan */
html[lang="he"] .hero-meta,
html[dir="rtl"] .hero-meta {
  flex-wrap: nowrap; gap: .4rem;
}
html[lang="he"] .chip,
html[dir="rtl"] .chip {
  font-size: .62rem; padding: .45rem .7rem; letter-spacing: 0;
}
.hero-aside { display: flex; flex-direction: column; gap: 1rem; align-items: stretch; }
.hero-stat-card {
  position: relative; border-radius: var(--radius); padding: 1.4rem 1.5rem 1.3rem;
  background: rgba(255,252,247,.72); border: 1px solid rgba(196,163,90,.35);
  backdrop-filter: blur(12px); overflow: hidden;
}
.hero-stat-ring {
  position: absolute; right: -10px; top: -10px; width: 90px; height: 90px; opacity: .45;
}
.hero-stat-ring circle {
  fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 8 6;
  animation: spinSlow 28s linear infinite;
  transform-origin: 60px 60px;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.hero-stat-label { font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.hero-stat-value {
  font-family: var(--font-serif); font-size: 2.6rem; color: var(--burgundy-deep);
  line-height: 1.1; margin: .2rem 0;
}
.hero-stat-sub { font-size: .82rem; color: var(--ink-soft); font-weight: 300; }
.hero-visual {
  position: relative; border-radius: 28px; overflow: hidden;
  aspect-ratio: 5/4; background: var(--cream); isolation: isolate;
}
.hero-visual picture { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.hero-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 28%;
  transform: scale(1.05); transform-origin: center center;
}
.scroll-hint {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 4; display: flex; flex-direction: column; align-items: center; gap: .55rem;
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.scroll-line {
  width: 1px; height: 42px; background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: .35; transform: scaleY(.7); } 50% { opacity: 1; transform: scaleY(1); } }

/* Reveal / split */
.reveal { opacity: 0; transform: translateY(32px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .95s var(--ease), transform 1.05s var(--ease); }
body.intro-complete .reveal { opacity: 1; transform: none; }
.split-line {
  overflow: hidden; display: inline-block; vertical-align: baseline;
  padding: .18em 0 .24em; margin: 0; line-height: inherit;
}
.split-line > span { display: inline-block; transform: translateY(120%); will-change: transform; }
.split-line.is-in { overflow: visible !important; }
.split-line.is-in > span { transform: none !important; transition: transform 1s var(--ease); }
h1.split-title.is-final { overflow: visible; }

.act { padding: clamp(4rem, 9vh, 7.5rem) 0; position: relative; background: var(--cream); }
#philosophie {
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse 55% 45% at 10% 0%, rgba(196,163,90,.10), transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 48%, var(--cream) 100%);
}
#philosophie .section-title { color: var(--burgundy-deep); }
#philosophie .lead { color: var(--ink-soft); }
#philosophie .act-label { color: var(--gold-text); }
.act-header { margin-bottom: 2.5rem; max-width: 42rem; }

/* Philosophy */
.philosophy-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.15rem; }
.philo-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.85rem 1.5rem; border: 1px solid rgba(196,163,90,.22);
  transition: transform .45s var(--ease), box-shadow .45s;
}
.philo-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(26,18,16,.08); }
.philo-num { font-family: var(--font-serif); font-size: 1.7rem; color: #5A1018; margin-bottom: .7rem; }
.philo-card h3 { font-family: var(--font-serif); font-size: 1.35rem; color: var(--burgundy-deep); margin-bottom: .55rem; }
.philo-card p { font-size: .93rem; color: var(--ink-soft); font-weight: 300; }
.quote-block { margin-top: 2.75rem; padding: 2rem 2.1rem; border-radius: var(--radius); background: var(--burgundy-deep); color: var(--cream); }
.quote-block blockquote {
  font-family: var(--font-serif); font-size: clamp(1.2rem,2.1vw,1.65rem); font-style: italic; line-height: 1.4;
  color: var(--cream) !important;
}
.quote-block cite { display: block; margin-top: 1rem; font-style: normal; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }

/* ========== CYCLE ========== */
.act-cycle {
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(196,163,90,.1), transparent 60%),
    linear-gradient(180deg, var(--cream), var(--cream-2) 50%, var(--cream));
}
.cycle-stage {
  display: grid; grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 2.5rem; align-items: center;
}
.cycle-visual {
  position: sticky; top: calc(var(--header-h) + 2rem);
  width: 100%; aspect-ratio: 1; max-width: 380px; margin: 0 auto;
}
.cycle-svg { width: 100%; height: 100%; }
.cycle-track {
  fill: none; stroke: rgba(196,163,90,.22); stroke-width: 1.5;
}
.cycle-progress {
  fill: none; stroke: url(#cycleGrad); stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  transform: rotate(-90deg); transform-origin: 200px 200px;
  transition: stroke-dashoffset .6s var(--ease);
}
.cycle-node {
  fill: var(--cream); stroke: var(--gold); stroke-width: 2;
  transition: fill .35s, r .35s, stroke-width .35s;
}
.cycle-node.is-active {
  fill: var(--gold); stroke: var(--burgundy); stroke-width: 2.5; r: 13;
}
.cycle-node.is-done { fill: var(--burgundy); stroke: var(--gold); }
.cycle-center-num {
  font-family: var(--font-serif); font-size: 42px; fill: var(--burgundy-deep);
  font-weight: 500;
}
.cycle-center-label {
  font-family: var(--font-sans); font-size: 11px; fill: var(--gold-deep);
  letter-spacing: .1em; text-transform: uppercase;
}
html[lang="he"] .cycle-center-label,
html[dir="rtl"] .cycle-center-label {
  letter-spacing: 0; font-family: var(--font-he-body); font-size: 12px;
}
.cycle-steps { display: flex; flex-direction: column; gap: .75rem; }
.cycle-step {
  border-radius: var(--radius); padding: 1.25rem 1.4rem;
  background: rgba(255,252,247,.55); border: 1px solid rgba(125,22,35,.07);
  transition: border-color .4s, background .4s, transform .4s var(--ease), box-shadow .4s;
  cursor: pointer;
}
.cycle-step:hover { border-color: rgba(196,163,90,.4); }
.cycle-step.is-active {
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(26,18,16,.07);
  transform: translateX(6px);
}
html[dir="rtl"] .cycle-step.is-active { transform: translateX(-6px); }
.cycle-step-num {
  display: inline-block; font-family: var(--font-serif); font-size: 1.1rem;
  color: var(--burgundy); margin-bottom: .35rem;
}
.cycle-step h3 {
  font-family: var(--font-serif); font-size: 1.25rem; color: var(--burgundy-deep); margin-bottom: .35rem;
}
.cycle-step p { font-size: .9rem; color: var(--ink-soft); font-weight: 300; line-height: 1.55; }
.cycle-step:not(.is-active) p { display: none; }
.cycle-step.is-active p { display: block; }

/* Offer */
.act-offer { background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
.offer-featured { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.1rem; margin-bottom: 1.1rem; }
.offer-card {
  border-radius: var(--radius); padding: 1.85rem 1.6rem;
  background: var(--white); border: 1px solid rgba(125,22,35,.07);
  transition: transform .45s var(--ease), border-color .3s, box-shadow .45s;
}
.offer-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 20px 40px rgba(26,18,16,.06); }
.offer-card.featured {
  background: linear-gradient(145deg, var(--burgundy-deep), var(--burgundy));
  color: var(--cream); border: none; min-height: 240px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.offer-card.featured h3, .offer-card.accent-gold h3 { color: var(--cream); }
.offer-card.featured p { color: rgba(247,243,235,.78); }
.offer-card.accent-gold {
  background: linear-gradient(145deg, var(--burgundy-deep) 0%, #5A1018 55%, var(--burgundy) 100%);
  color: var(--cream); border: 1px solid rgba(196,163,90,.45);
}
.offer-card.accent-gold p { color: rgba(247,243,235,.75); }
.tag {
  display: inline-block; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
  padding: .38rem .8rem; border-radius: var(--radius-pill);
  border: 1px solid rgba(196,163,90,.45); color: var(--gold-text); margin-bottom: .9rem;
}
.offer-card.featured .tag { color: var(--gold-light); border-color: rgba(232,213,163,.4); }
.offer-card h3 { font-family: var(--font-serif); font-size: 1.45rem; color: var(--burgundy-deep); margin-bottom: .6rem; }
.offer-card p { font-size: .93rem; color: var(--ink-soft); font-weight: 300; }
.offer-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; }
.media-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.15rem; margin-top: 2.25rem; }
.media-row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.25rem; }
.media-row-3 .media-card { aspect-ratio: 4/3; }
.media-card { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 16/11; }
.media-card > img,
.media-card > picture,
.media-card > picture img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block; transform: scale(1.16); transform-origin: center center;
  transition: transform 1.2s var(--ease);
}
.media-card:hover > img,
.media-card:hover > picture img { transform: scale(1.2); }
.media-card figcaption {
  position: absolute; inset-inline-start: 1rem; inset-inline-end: auto; bottom: 1.5rem; z-index: 3;
  padding: 0.55rem 1rem 0.6rem; border-radius: var(--radius-pill);
  background: rgba(26,18,16,.72); color: var(--cream);
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.25;
  backdrop-filter: blur(8px);
  max-width: calc(100% - 2rem);
  box-sizing: border-box;
}
html[lang="he"] .media-card figcaption {
  letter-spacing: 0.03em; text-transform: none; font-family: var(--font-he-body); font-weight: 500;
}
@media (max-width: 960px) {
  .media-row-3 { grid-template-columns: 1fr; }
}

/* ========== PARTNERS ========== */
.act-partners { background: var(--cream); padding-bottom: clamp(4rem, 9vh, 7rem); }
.partners-marquee {
  overflow: hidden; contain: paint; margin: 0 0 2.5rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partners-track {
  display: flex; gap: .85rem; width: max-content;
  padding: .55rem 0;
}
.partners-track-a { animation: marqueeL 42s linear infinite; }
.partners-track-b { animation: marqueeR 48s linear infinite; margin-top: .55rem; }
@keyframes marqueeL { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqueeR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
html[dir="rtl"] .partners-track-a { animation-name: marqueeR; }
html[dir="rtl"] .partners-track-b { animation-name: marqueeL; }
.partner-pill {
  display: inline-flex; align-items: center;
  padding: .7rem 1.35rem; border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(196,163,90,.18), rgba(196,163,90,.05));
  border: 1px solid rgba(196,163,90,.42);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--burgundy-deep); white-space: nowrap;
  box-shadow: 0 4px 16px rgba(196,163,90,.1);
}
.partners-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.partner-card {
  position: relative; border-radius: var(--radius);
  padding: 1.6rem 1.3rem 1.4rem;
  background: linear-gradient(160deg, var(--burgundy-deep) 0%, #5A1018 55%, var(--burgundy) 100%);
  color: var(--cream);
  border: 1px solid rgba(196,163,90,.35);
  transform-style: preserve-3d;
  transition: box-shadow .4s, border-color .35s;
  will-change: transform;
  min-height: 150px;
  overflow: hidden;
}
.partner-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(196,163,90,.28), transparent 55%);
  pointer-events: none;
}
.partner-card:hover {
  border-color: var(--gold);
  box-shadow: 0 22px 48px rgba(74,12,20,.35);
}
.partner-card-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(196,163,90,.55); color: var(--gold);
  font-size: .68rem; letter-spacing: .06em; font-weight: 500;
  margin-bottom: 1rem; position: relative;
}
.partner-card h3 {
  font-family: var(--font-serif); font-size: 1.15rem; color: var(--gold-light);
  margin-bottom: .35rem; position: relative;
}
.partner-card p { font-size: .78rem; color: rgba(247,243,235,.62); font-weight: 300; position: relative; }
.partners-note {
  margin-top: 1.75rem; font-size: .82rem; color: #5c534c; max-width: 40rem; font-weight: 400;
}

/* Israel */
.act-israel { background: var(--burgundy-deep); color: var(--cream); }
.act-israel .section-title { color: var(--cream); }
.act-israel .lead { color: rgba(247,243,235,.75); }
.act-israel .act-label { color: #E8D5A3; }
.israel-layout { display: flex; flex-direction: column; gap: 1.15rem; }
.israel-layout > .israel-panel-main { width: 100%; }
.israel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  align-items: stretch;
  align-content: start;
}
.israel-grid .israel-photo,
.israel-grid figure.media-card {
  width: 100%;
  max-height: 360px;
}

.israel-panel,
.israel-panel-main {
  align-self: start !important;
  height: fit-content !important;
  min-height: 0 !important;
  max-height: none !important;
}
.israel-panel {
  border-radius: var(--radius); padding: 1.75rem;
  border: 1px solid rgba(196,163,90,.28); background: rgba(255,252,247,.04);
}
.israel-panel-main {
  padding: 1.15rem 1.25rem;
  /* do not stretch beside photo */
  grid-row: auto;
}

.israel-panel h3 { font-family: var(--font-serif); font-size: 1.35rem; color: var(--gold-light); margin-bottom: .8rem; }
.israel-panel p { font-size: .93rem; color: rgba(247,243,235,.72); font-weight: 300; line-height: 1.7; }
.hubs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.hub {
  padding: .42rem .85rem; border-radius: var(--radius-pill);
  border: 1px solid rgba(196,163,90,.35); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-light);
}
.legal-name {
  margin-top: 1.4rem; padding: 1rem 1.15rem; border-radius: 16px;
  background: rgba(196,163,90,.1); border-inline-start: 3px solid var(--gold);
}
.legal-name .label { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .3rem; }
.legal-name .name { font-family: var(--font-serif); font-size: 1.2rem; }

/* Compact ISA badge (no empty tall card) */
.israel-panel-main { padding: 1.15rem 1.25rem; }
.isa-badge {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem 1rem;
  align-items: center;
}
.isa-badge-icon { filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
.isa-badge-kicker {
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-light); margin: 0 0 0.25rem; font-weight: 500;
}
html[lang="he"] .isa-badge-kicker { letter-spacing: 0.04em; text-transform: none; font-family: var(--font-he-body); }
.isa-badge-line {
  margin: 0; font-size: 0.9rem; line-height: 1.45;
  color: rgba(247,243,235,.88); font-weight: 300;
}
.isa-badge-legal {
  margin: 0.45rem 0 0; font-size: 0.75rem; color: rgba(232,213,163,.75);
}
.isa-badge-legal strong { color: var(--cream); font-weight: 500; }
.isa-badge-link {
  align-self: start;
  padding: 0.4rem 0.75rem; border-radius: var(--radius-pill);
  border: 1px solid rgba(196,163,90,.45); color: var(--gold-light);
  font-size: 0.72rem; white-space: nowrap;
}
.isa-badge-link:hover { background: rgba(196,163,90,.15); }
.isa-details {
  margin-top: 0.85rem; border-top: 1px solid rgba(196,163,90,.2); padding-top: 0.55rem;
}
.isa-details summary {
  cursor: pointer; color: var(--gold-light); font-size: 0.78rem; list-style: none;
}
.isa-details summary::-webkit-details-marker { display: none; }
.isa-details summary::after { content: " ▾"; opacity: 0.7; }
.isa-details[open] summary::after { content: " ▴"; }
.isa-details p { margin-top: 0.55rem; font-size: 0.86rem; }
@media (max-width: 720px) {
  .isa-badge { grid-template-columns: auto 1fr; }
  .isa-badge-link { grid-column: 2; justify-self: start; }
}

/* Contact */
.act-contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.contact-item { margin-bottom: 1.4rem; }
.contact-item .label { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: #5A451C; margin-bottom: .35rem; }
.contact-item a, .contact-item .value { font-family: var(--font-serif); font-size: 1.25rem; color: var(--burgundy-deep); }
.email-placeholder {
  display: inline-block; padding: .42rem .85rem; border-radius: 14px;
  border: 1.5px dashed var(--gold); color: var(--muted) !important;
  font-size: .92rem !important; font-family: var(--font-sans) !important;
}
.contact-box {
  border-radius: var(--radius); padding: 1.85rem; background: var(--cream-2);
  border: 1px solid rgba(125,22,35,.08);
}

/* Footer */
.site-footer { background: var(--ink); color: rgba(247,243,235,.65); padding: 2.75rem 0 2rem; font-size: .8rem; }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem,3vw,2rem);
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.75rem;
}
.footer-brand img { height: 44px; margin-bottom: .8rem; filter: brightness(1.15); }
.footer-col h4 { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }
.footer-disclaimer {
  max-width: 1200px; margin: 1.75rem auto 0; padding: 1.25rem clamp(1rem,3vw,2rem) 0;
  border-top: 1px solid rgba(247,243,235,.1); font-size: .7rem; line-height: 1.65; color: rgba(247,243,235,.45);
}
.footer-disclaimer p { margin-bottom: .7rem; }

/* Mobile dock — hidden on desktop */
.mobile-dock { display: none; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal, .split-line > span { opacity: 1; transform: none; }
  .partners-track, .hero-stat-ring circle, .scroll-line, .intro-orb { animation: none !important; }
  .cycle-progress { transition: none; }
}

/* ========== TABLET / MOBILE — dedicated layouts ========== */
@media (max-width: 1100px) {
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-main { gap: .75rem; }
  .nav-main a { font-size: .68rem; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; --dock-h: calc(72px + env(safe-area-inset-bottom, 0px)); }
  html.has-review-banner { --review-banner-h: 26px; }
  html.has-review-banner .site-header { top: var(--review-banner-h); }
  html.has-review-banner .nav-main {
    inset: calc(var(--review-banner-h) + var(--header-h)) 0 auto 0;
  }
  .review-banner { font-size: .58rem; letter-spacing: .04em; padding: .28rem .6rem; }

  .nav-toggle { display: block; }
  .nav-main {
    position: fixed; inset: calc(var(--header-h)) 0 auto 0;
    background: rgba(247,243,235,.98); backdrop-filter: blur(16px);
    flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.15rem 1.5rem;
    transform: translateY(-120%); opacity: 0; pointer-events: none; transition: .4s var(--ease);
    border-bottom: 1px solid rgba(125,22,35,.08);
    max-height: calc(100svh - var(--header-h) - var(--dock-h));
    overflow-y: auto;
  }
  .nav-main.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-main a { padding: .95rem 0; border-bottom: 1px solid rgba(125,22,35,.06); font-size: .85rem; }
  .nav-cta { text-align: center; margin-top: .6rem; padding: .9rem 1.25rem !important; }
  .header-actions { margin-inline-start: auto; }
  .logo img {
    height: 44px;
    filter: contrast(1.4) saturate(1.25) brightness(0.86) drop-shadow(0 1px 0 rgba(74,12,20,.22));
  }

  /* Mobile hero — title first, compact photo, 16px sides, no void above dock */
  .hero {
    /* Fill viewport above dock; cap height so photo never slips under the dock */
    min-height: calc(100svh - var(--dock-h));
    height: calc(100svh - var(--dock-h));
    max-height: calc(100svh - var(--dock-h));
    padding: calc(var(--header-h) + var(--review-banner-h, 0px) + 0.85rem) 0 0;
    padding-bottom: 14px;
    align-items: stretch;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
  }
  .hero-content {
    display: flex !important; /* override desktop grid so margin-top:auto works */
    flex-direction: column;
    grid-template-columns: unset;
    gap: 1.1rem;
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-inline: 16px !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex: 1 1 auto;
    min-height: 0;
  }
  .hero-copy {
    max-width: none; /* full width of padded content */
    width: 100%;
    box-sizing: border-box;
  }
  .hero-actions,
  .hero-meta,
  .hero-aside,
  .hero-visual,
  .hero-stat-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    transform: none !important; /* kill magnetic leftover on touch */
  }
  /* Push photo block toward dock — kills large beige void */
  .hero-aside {
    margin-top: auto !important;
    padding-bottom: 0;
    width: 100%;
  }

  /* RTL: avoid physical-left underflow (scrollbar gutter / 100% width quirks) */
  html[dir="rtl"] .hero-content {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  html[dir="rtl"] .hero-copy,
  html[dir="rtl"] .hero-aside,
  html[dir="rtl"] .hero-actions .btn {
    width: auto;
    max-width: 100%;
    align-self: stretch;
  }

  /* Decorative ring away from logo (esp. HE where logo is on the right) */
  /* Glow CSS désactivé mobile — canvas seul, zéro chevauchement logo HE */
  .hero-glow { display: none !important; }
  .hero-canvas {
    opacity: .28;
    clip-path: inset(calc(var(--header-h) + var(--review-banner-h, 0px)) 0 0 0);
  }
  /* HE mobile: decorative rings behind chips / 2014 card ~50% quieter */
  html[lang="he"] .hero-canvas,
  html[dir="rtl"] .hero-canvas { opacity: .25; }
  html[lang="he"] .hero-stat-ring,
  html[dir="rtl"] .hero-stat-ring { opacity: .22; }
  html[lang="he"] .hero-stat-ring circle,
  html[dir="rtl"] .hero-stat-ring circle { stroke-opacity: .5; }
  html[lang="he"] .chip,
  html[dir="rtl"] .chip {
    box-shadow: none;
    background: rgba(255,252,247,.72);
  }

  .hero h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); line-height: 1.28; }
  .hero-lead { font-size: .88rem; margin-top: .7rem; line-height: 1.55; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-top: 1.15rem; }
  .hero-actions .btn { width: 100%; padding: 1rem 1.25rem; font-size: .76rem; }
  .hero-actions .btn-outline { display: none; } /* dock already offers write/call */
  main { padding-bottom: 0.5rem; }
  .hero-meta {
    gap: .4rem; margin-top: .85rem; flex-wrap: wrap;
  }
  .chip { font-size: .6rem; padding: .4rem .7rem; }
  /* Title/CTA before photo — do NOT reorder aside above copy */
  .hero-aside { order: 0; margin-top: auto !important; flex-shrink: 0; }
  .hero-stat-card {
    display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem;
  }
  .hero-stat-value { font-size: 1.65rem; margin: 0; }
  .hero-stat-ring { width: 56px; height: 56px; right: 4px; top: 4px; }
  .hero-visual {
    aspect-ratio: 16/9; max-height: 140px; height: 140px; border-radius: 18px;
    flex-shrink: 0;
  }
  .hero-visual img {
    object-position: center 20%;
    transform: scale(1.12) !important;
    transform-origin: center center;
  }
  .scroll-hint { display: none; }

  /* Cycle mobile: horizontal snap cards + compact ring */
  .cycle-stage { grid-template-columns: 1fr; gap: 1.5rem; }
  .cycle-visual {
    position: relative; top: auto; max-width: 240px; margin: 0 auto;
  }
  .cycle-center-num { font-size: 32px; }
  .cycle-center-label { font-size: 11px; }
  .cycle-steps {
    display: flex; flex-direction: row; gap: .75rem;
    overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: .5rem; margin: 0 -1rem; padding-inline: 1rem;
    -webkit-overflow-scrolling: touch;
  }
  .cycle-step {
    flex: 0 0 min(78vw, 280px); scroll-snap-align: start;
    min-height: 160px;
  }
  .cycle-step p { display: block !important; }
  .cycle-step.is-active { transform: none; }

  .philosophy-grid,
  .offer-grid,
  .israel-grid,
  .contact-grid,
  .footer-inner,
  .media-row,
  .offer-featured,
  .partners-grid { grid-template-columns: 1fr; }

  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .partner-card { min-height: 130px; padding: 1.25rem 1rem; }
  .partner-card h3 { font-size: 1rem; }

  .philo-card, .offer-card { padding: 1.5rem 1.25rem; }
  .offer-card.featured { min-height: 200px; }
  .quote-block { padding: 1.5rem 1.35rem; }
  .act { padding: 3.25rem 0; }
  .act-header { margin-bottom: 1.75rem; }
  .section-title { font-size: clamp(1.65rem, 6.5vw, 2.2rem); }

  .act-contact { padding-bottom: calc(3.25rem + var(--dock-h)); }

  /* Sticky mobile dock */
  .mobile-dock {
    display: flex; gap: .65rem;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 850;
    padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom, 0px));
    background: rgba(247,243,235,.94); backdrop-filter: blur(16px);
    border-top: 1px solid rgba(125,22,35,.1);
    box-shadow: 0 -8px 28px rgba(26,18,16,.06);
  }
  .mobile-dock-btn {
    flex: 1; text-align: center; padding: .95rem .75rem;
    border-radius: var(--radius-pill); font-size: .72rem;
    letter-spacing: .1em; text-transform: uppercase;
    border: 1.5px solid var(--burgundy); color: var(--burgundy);
  }
  .mobile-dock-primary {
    background: var(--gold); border-color: var(--gold); color: var(--burgundy-deep); font-weight: 500;
  }

  .site-footer { padding-bottom: 1.5rem; }
  .contact-item a, .contact-item .value { font-size: 1.1rem; word-break: break-word; }
}
@media (max-width: 420px) {
  .partners-grid { grid-template-columns: 1fr 1fr; }
  .hero-stat-card { flex-wrap: wrap; }
  .chip { letter-spacing: .03em; }
}

/* Global sticky-header clearance for in-page anchors */
section.act,
section[id],
#philosophie, #cycle, #offre, #partenaires, #visuels, #equipe, #israel, #contact {
  scroll-margin-top: calc(var(--header-h) + var(--review-banner-h, 0px) + 1.25rem);
}
.act-header {
  scroll-margin-top: calc(var(--header-h) + var(--review-banner-h, 0px) + 0.75rem);
}

/* ========== TEAM v5d — unique line-art · CSS vars ========== */
.act-team {
  --team-ink: var(--ink);
  --team-accent: var(--gold);
  --team-fill: rgba(196, 163, 90, 0.12);
  --team-card-bg: var(--white);
  --team-border: rgba(196, 163, 90, 0.3);
  scroll-margin-top: calc(var(--header-h) + var(--review-banner-h, 0px) + 1.25rem);
  background:
    radial-gradient(ellipse 50% 40% at 80% 20%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 55%),
    linear-gradient(180deg, var(--cream), var(--cream-2) 60%, var(--cream));
}
#equipe { scroll-margin-top: calc(var(--header-h) + var(--review-banner-h, 0px) + 1.25rem); }
.act-team .lead {
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: normal;
}
.act-team .lead .nowrap-end { white-space: nowrap; }
.team-carousel {
  position: relative;
  margin-top: 0.5rem;
}
.team-viewport {
  overflow: hidden;
  margin: 0;
}
.team-track {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.75rem 0 1.25rem;
  cursor: grab;
  touch-action: pan-x;
}
.team-track::-webkit-scrollbar { display: none; }
.team-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}
.team-track:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 12px;
}
.team-card {
  --team-accent: var(--gold);
  --team-fill: rgba(196, 163, 90, 0.12);
  flex: 0 0 calc(25% - 0.85rem); /* desktop: ~4 visible */
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--radius);
  padding: 1.6rem 1.25rem 1.5rem;
  background: var(--team-card-bg, var(--white));
  border: 1px solid var(--team-border, rgba(196, 163, 90, 0.3));
  text-align: center;
  overflow: hidden;
  color: var(--ink);
  transform: scale(0.94);
  opacity: 0.72;
  transition: transform .5s var(--ease), opacity .45s, box-shadow .45s, border-color .35s;
}
.team-card[data-accent="burgundy"] {
  --team-accent: var(--burgundy);
  --team-fill: rgba(125, 22, 35, 0.08);
}
.team-card[data-accent="gold"] {
  --team-accent: var(--gold);
  --team-fill: rgba(196, 163, 90, 0.12);
}
.team-card.is-active {
  transform: scale(1);
  opacity: 1;
  border-color: var(--team-accent);
  box-shadow: 0 18px 40px rgba(26, 18, 16, 0.1);
  z-index: 1;
}
.team-card {
  overflow: hidden; /* clip active halo */
}
.team-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 18%, color-mix(in srgb, var(--team-accent) 16%, transparent), transparent 58%);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
  z-index: 0;
}
.team-card.is-active::before { opacity: 1; }
.team-avatar {
  position: relative;
  z-index: 1;
  width: 128px; height: 128px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  color: var(--burgundy-deep);
}
.team-card .team-role,
.team-card .team-name { position: relative; z-index: 1; }
.team-avatar svg { width: 100%; height: 100%; display: block; }
.team-illu .draw {
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  transition: stroke-dashoffset 1.05s var(--ease), opacity .4s;
}
.team-illu .draw.delay1 { transition-delay: .08s; }
.team-illu .draw.delay2 { transition-delay: .16s; }
.team-illu .draw.delay3 { transition-delay: .28s; }
.team-illu .draw.delay4 { transition-delay: .4s; }
.team-card.is-active .team-illu .draw,
.team-card.is-in.is-active .team-illu .draw {
  stroke-dashoffset: 0;
}
body.reduced-motion .team-illu .draw {
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  transition: none;
}
body.reduced-motion .team-card {
  transform: none;
  opacity: 1;
  transition: border-color .2s, box-shadow .2s;
}
body.reduced-motion .team-track { scroll-behavior: auto; }
.team-card .team-name {
  display: none;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  color: var(--burgundy-deep);
  margin: .15rem 0 .35rem;
  line-height: 1.25;
  position: relative;
  z-index: 2;
}
.team-card.has-name .team-name { display: block; }
.team-card .team-role {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--burgundy-deep);
  line-height: 1.35;
}
html[lang="he"] .team-card .team-role,
html[dir="rtl"] .team-card .team-role {
  font-family: var(--font-he-display);
  letter-spacing: 0;
}

/* Nav arrows — desktop */
.team-nav {
  display: none;
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(196, 163, 90, 0.55);
  background: rgba(255, 252, 247, 0.92);
  color: var(--burgundy);
  align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(26, 18, 16, 0.08);
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.team-nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--burgundy-deep);
}
.team-nav:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 2px;
}
.team-nav:disabled {
  opacity: 0.35;
  pointer-events: none;
}
.team-nav-prev { inset-inline-start: -8px; }
.team-nav-next { inset-inline-end: -8px; }
/* HE/RTL: team track follows the document direction so the FR order is read
   right-to-left (1st person, Sandrine, starts on the right). Arrows use
   inset-inline (prev = inline-start = right, next = inline-end = left) and
   the chevrons are flipped to point in the reading direction. Card text stays RTL.
   Photo rows follow the same reading direction. FR/EN (ltr) are untouched. */
html[dir="rtl"] .media-row figcaption,
html[dir="rtl"] .team-card {
  direction: rtl;
  text-align: start;
}
html[dir="rtl"] .team-nav svg { transform: scaleX(-1); }

.team-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.15rem;
  flex-wrap: wrap;
}
.team-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: transparent;
  position: relative;
  transition: transform .3s var(--ease), background .3s, width .3s;
}
.team-dot::after {
  content: "";
  position: absolute; inset: 10px;
  border-radius: 50%;
  background: rgba(125, 22, 35, 0.35);
  transition: inherit;
}
.team-dot[aria-selected="true"]::after {
  inset: 10px 6px;
  border-radius: 999px;
  background: var(--burgundy);
}
.team-dot[aria-selected="true"] {
  transform: none;
  width: 36px;
}
.team-dot:focus-visible {
  outline: 2px solid var(--focus, var(--burgundy));
  outline-offset: 2px;
}

@media (min-width: 961px) {
  .team-nav { display: inline-flex; }
  .team-viewport { margin: 0 2.2rem; }
  .team-card { flex-basis: calc(25% - 0.85rem); }
}
@media (min-width: 1100px) {
  .team-card { flex-basis: calc(25% - 0.85rem); }
}
@media (max-width: 1100px) and (min-width: 961px) {
  .team-card { flex-basis: calc(33.333% - 0.75rem); } /* ~3 visible */
}
@media (max-width: 960px) {
  .team-nav { display: none; }
  .team-viewport {
    margin: 0;
    container-type: inline-size;
    container-name: teamvp;
  }
  .team-track {
    padding-inline: 12px;
    gap: 0.6rem;
    scroll-padding-inline: 12px;
  }
  .team-card {
    flex: 0 0 72cqw;
    flex-basis: 72cqw;
    width: 72cqw;
    max-width: 72cqw;
    scroll-snap-align: start;
    padding: 1.15rem 0.65rem 1.1rem;
  }
  .team-track::before,
  .team-track::after {
    content: none;
    flex: 0 0 0;
    width: 0;
  }
  .team-avatar,
  button.team-card .team-avatar {
    width: 128px; height: 128px;
    margin: 0 auto .9rem;
  }
  .team-card .team-role { font-size: 1rem; }
  #equipe { scroll-margin-top: calc(var(--header-h) + var(--review-banner-h, 0px) + 0.75rem); }
}

/* —— Photos / media —— */
.media-row { display: grid; gap: 1.1rem; margin-top: 2rem; }
.media-row-2 { grid-template-columns: 1fr; }
.media-row-3 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .media-row-2 { grid-template-columns: 1fr 1fr; }
  .media-row-3 { grid-template-columns: 1fr 1fr 1fr; }
}
.media-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(196,163,90,.28);
  background: #2B2622; /* Patch 22: dark fallback — any sub-pixel edge stays invisible */
  box-shadow: 0 16px 40px rgba(26,18,16,.06);
}
.media-card > img,
.media-card > picture,
.media-card > picture img {
  position: absolute; inset: 0;
  display: block;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: scale(1.2);
  transition: transform .9s var(--ease);
  filter: saturate(1.02) contrast(1.02);
}
.media-card:hover > img,
.media-card:hover > picture img { transform: scale(1.2); }
.media-card[data-parallax] img { will-change: transform; }
body.reduced-motion .media-card img,
body.a11y-stop-motion .media-card img { transition: none; transform: none !important; }

.act-visuals { background: linear-gradient(180deg, var(--cream), var(--cream-2) 50%, var(--cream)); }

/* Skip + SR */
.skip-link {
  position: absolute; inset-inline-start: 0; top: 0; z-index: 10000;
  background: var(--burgundy); color: #fff; padding: .75rem 1rem; border-end-end-radius: 8px;
  transform: translateY(-110%); opacity: 0; pointer-events: none; /* no off-screen left offset: avoids 10 000 px horizontal scroll in RTL */
}
.skip-link:focus, .skip-link:focus-visible { transform: none; opacity: 1; pointer-events: auto; outline-color: #fff; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Cookie banner */
.cookie-banner {
  position: fixed; inset-inline: 1rem;
  bottom: calc(var(--dock-h, 0px) + 1rem);
  z-index: 12000;
  max-width: 440px; margin-inline-end: auto;
}
.cookie-inner {
  background: rgba(255,252,247,.97); border: 1px solid rgba(196,163,90,.45);
  border-radius: 16px; padding: 1.15rem 1.2rem 1.2rem;
  box-shadow: 0 20px 50px rgba(26,18,16,.18); backdrop-filter: blur(10px);
}
.cookie-inner h2 { font-family: var(--font-serif); font-size: 1.25rem; color: var(--burgundy-deep); margin: 0 0 .5rem; }
.cookie-inner p { font-size: .92rem; line-height: 1.5; margin: 0 0 .85rem; color: var(--ink); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .65rem; }
.cookie-actions .btn { padding: .55rem .9rem; font-size: .85rem; }
.cookie-customize { display: grid; gap: .45rem; margin: .5rem 0 .75rem; font-size: .9rem; }
.cookie-links { font-size: .8rem !important; color: var(--muted) !important; }
html[dir="rtl"] .cookie-banner { margin-inline-end: 0; margin-inline-start: auto; }

/* A11y widget */
.a11y-fab {
  position: fixed; z-index: 11900;
  right: max(12px, env(safe-area-inset-right, 0px)); left: auto; /* physical right LTR+RTL — avoids HE clip */
  bottom: calc(var(--dock-h, 0px) + 12px);
  width: 44px; height: 44px; min-width: 44px; min-height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(196,163,90,.6); background: rgba(255,252,247,.96);
  color: var(--burgundy-deep);
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0; font-size: 0; line-height: 0;
  box-shadow: 0 10px 28px rgba(26,18,16,.12); cursor: pointer;
}
.a11y-fab svg { display: block; }
.a11y-panel {
  position: fixed; z-index: 11901;
  right: max(12px, env(safe-area-inset-right, 0px)); left: auto;
  bottom: calc(var(--dock-h, 0px) + 64px);
  width: min(300px, calc(100vw - 2rem));
  max-height: min(70vh, calc(100svh - var(--dock-h, 0px) - 80px));
  overflow: auto;
  background: #fffdf9; border: 1px solid rgba(196,163,90,.45); border-radius: 14px;
  padding: 1rem; box-shadow: 0 18px 40px rgba(26,18,16,.16);
}
@media (min-width: 961px) {
  .a11y-fab { bottom: 1.25rem; }
  .a11y-panel { bottom: 4.5rem; }
}
.a11y-title { font-family: var(--font-serif); color: var(--burgundy-deep); margin: 0 0 .75rem; }
.a11y-actions { display: grid; gap: .4rem; }
.a11y-actions button {
  text-align: start; border: 1px solid rgba(125,22,35,.15); background: #fff;
  border-radius: 10px; padding: .55rem .7rem; cursor: pointer; font-size: .88rem;
}
.a11y-actions button:focus-visible { outline: 2px solid var(--focus, var(--burgundy)); outline-offset: 2px; }
.a11y-note { margin: .75rem 0 0; font-size: .8rem; }

/* A11y modes */
html.a11y-contrast body { background: #111 !important; color: #f5f5f5 !important; }
html.a11y-contrast .act-label, html.a11y-contrast .lead, html.a11y-contrast p { color: #fff !important; }
html.a11y-links a { text-decoration: underline !important; outline: 2px solid var(--gold); outline-offset: 2px; }
html.a11y-keyboard *:focus { outline: 3px solid var(--focus, #7D1623) !important; outline-offset: 3px !important; }
html.a11y-font-lg { font-size: 112.5%; }
html.a11y-font-xl { font-size: 125%; }
body.a11y-stop-motion *, body.a11y-stop-motion *::before, body.a11y-stop-motion *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}

:focus-visible { outline: 2px solid var(--focus, var(--burgundy)); outline-offset: 3px; }

.footer-col p { margin: 0 0 .15rem; }
.footer-col a { display: inline-block; min-height: 28px; padding: .35rem 0; line-height: 1.4; }
.footer-disclaimer p { color: rgba(247,243,235,.88); font-size: .82rem; line-height: 1.55; }

.cycle-step-num, .cycle-step.is-active .cycle-step-num { color: var(--burgundy) !important; }

.lead { color: #3F3833; }
.philo-card p { color: #3F3833; }


/* Contact form (static / Formspree-ready) */
.contact-form{display:flex;flex-direction:column;gap:.75rem;margin-top:1.25rem}
.contact-form input,.contact-form textarea{
  width:100%;padding:.85rem 1rem;border:1px solid rgba(212,175,120,.35);
  background:rgba(255,248,240,.04);color:inherit;border-radius:10px;font:inherit}
.contact-form input:focus,.contact-form textarea:focus{outline:2px solid var(--focus,var(--burgundy));outline-offset:2px}
.contact-form{position:relative}
.contact-form .hp{
  position:absolute!important; width:1px!important; height:1px!important;
  padding:0!important; margin:-1px!important; overflow:hidden!important;
  clip:rect(0,0,0,0)!important; clip-path:inset(50%)!important;
  white-space:nowrap!important; border:0!important;
  inset-inline-start:0!important; inset-inline-end:auto!important;
  opacity:0!important; pointer-events:none!important;
}
.contact-form .form-status{font-size:.9rem;margin:0}
.contact-form .form-status.is-ok{color:#8fdf9a}
.contact-form .form-status.is-err{color:#f0a0a0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

html, body { overflow-x: clip; max-width: 100%; }
html[dir="rtl"], html[dir="rtl"] body { overflow-x: clip; max-width: 100%; }
html[dir="rtl"] .partners-marquee,
html[dir="rtl"] .partners-track { overflow: hidden; max-width: 100%; }
html[dir="rtl"] .partners-track { width: 100%; }
.hero-stat-ring { display: none !important; }

html[lang="he"] .split-title,
html[lang="he"] .section-title,
html[lang="he"] h1 {
  font-family: "Heebo", var(--font-he-display), sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}
html[lang="he"] .hero-lead,
html[lang="he"] .lead,
html[lang="he"] p {
  font-family: "Heebo", var(--font-he-body), sans-serif;
  font-weight: 300;
}


/* Team photos */
.team-card{ text-decoration:none; color:inherit; cursor:pointer; }
.team-avatar{ position:relative; overflow:hidden; }
.team-avatar .team-photo{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  border-radius:inherit; z-index:2; display:block;
}
.team-avatar.is-fallback .team-photo{ display:none; }
.team-avatar:not(.is-fallback) svg{ opacity:0; position:absolute; inset:0; }
.team-card.has-photo .team-avatar{ background:linear-gradient(160deg, var(--cream-2), #e4d2b8); }


/* ===== Hero background VIDEO — full-bleed boat (no white edges) ===== */
.hero.is-video-hero{
  background:linear-gradient(180deg,var(--burgundy-deep), #5A1018) !important;
  min-height:100svh;
  width:100%;
  max-width:none;
  margin:0;
  padding:0; /* media goes edge-to-edge; content padded separately */
  border:0 !important;
  box-shadow:none !important;
  outline:0 !important;
  overflow:hidden;
}
.hero-media{
  position:absolute;
  top:0; right:0; bottom:0; left:0;
  width:100%;
  height:100%;
  min-height:100svh;
  z-index:0;
  overflow:hidden;
  pointer-events:none;
  opacity:0; visibility:hidden;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  outline:0 !important;
  background:linear-gradient(165deg,var(--burgundy-deep), #5A1018);
  margin:0;
  padding:0;
}
.hero.is-video-hero .hero-media{ opacity:1; visibility:visible; }
/* True viewport bleed if any parent padding appears */
.hero.is-video-hero .hero-media{
  width:100vw;
  left:50%;
  right:auto;
  transform:translateX(-50%);
  min-width:100%;
}
.hero-media .hero-poster,
.hero-media .hero-video{
  position:absolute; inset:0;
  width:100%; height:100%;
  max-width:none;
  object-fit:cover;
  /* close boat fills frame — keep hull+sails centered */
  object-position:center 42%;
  border:0 !important;
  border-radius:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  display:block;
  margin:0; padding:0;
  background:transparent;
}
/* Instant poster — never flash empty */
.hero-media .hero-poster{
  opacity:1; visibility:visible; z-index:0;
}
.hero-media .hero-video{ z-index:0; }
@media (max-width:960px){
  .hero-media .hero-poster,
  .hero-media .hero-video{
    object-position:78% 42%;
  }
}
.hero-media .hero-video{
  /* gentle zoom only — avoid cropping the boat out */
  transform:scale(1.02);
  transform-origin:center 42%;
  animation: heroSlowZoom 16s ease-in-out alternate infinite;
}
@keyframes heroSlowZoom{
  from{ transform:scale(1.01); }
  to{ transform:scale(1.06); }
}
/* Soft descending gradient — image stays bright, text AA on left/start */
.hero-media-overlay{
  position:absolute; inset:0; z-index:1;
  border:0; border-radius:0;
  background:
    linear-gradient(180deg,
      rgba(74,12,20,.28) 0%,
      rgba(74,12,20,.10) 24%,
      rgba(26,18,16,.04) 50%,
      rgba(74,12,20,.12) 78%,
      rgba(74,12,20,.30) 100%),
    linear-gradient(90deg,
      rgba(74,12,20,.32) 0%,
      rgba(74,12,20,.12) 34%,
      rgba(196,163,90,.04) 62%,
      transparent 100%);
  pointer-events:none;
}
html[dir="rtl"] .hero-media-overlay{
  background:
    linear-gradient(180deg,
      rgba(74,12,20,.28) 0%,
      rgba(74,12,20,.10) 24%,
      rgba(26,18,16,.04) 50%,
      rgba(74,12,20,.12) 78%,
      rgba(74,12,20,.30) 100%),
    linear-gradient(270deg,
      rgba(74,12,20,.32) 0%,
      rgba(74,12,20,.12) 34%,
      rgba(196,163,90,.04) 62%,
      transparent 100%);
}
/* Soft veil on section photos (no heavy black flat) */
.media-card::after{
  content:"";
  position:absolute; inset:0; pointer-events:none; z-index:1;
  background: linear-gradient(180deg, rgba(74,12,20,.10) 0%, transparent 38%, transparent 58%, rgba(74,12,20,.28) 100%);
}
.media-card > img,
.media-card > picture,
.media-card > picture img {
  position:absolute; inset:0; z-index:0;
  width:100%; height:100%; object-fit:cover; object-position:center;
}
.media-card figcaption{
  position:absolute; inset-inline-start:1rem; inset-inline-end:1rem; bottom:1.5rem; z-index:3;
  display:inline-flex; align-items:center; justify-content:center;
  width:auto; max-width:calc(100% - 2rem);
  padding:0.55rem 1rem 0.65rem; border-radius:var(--radius-pill);
  background:rgba(26,18,16,.78); color:var(--cream);
  font-size:0.78rem; letter-spacing:0.14em; text-transform:uppercase; line-height:1.35;
  backdrop-filter:blur(8px);
  box-shadow:0 6px 18px rgba(26,18,16,.18);
  pointer-events:none;
}

.hero.is-video-hero .hero-canvas{ display:none !important; }
.hero.is-video-hero .hero-glow{ opacity:.12; mix-blend-mode:soft-light; }
.hero.is-video-hero .hero-aside{ display:none !important; }
.hero.is-video-hero .hero-content{
  position:relative; z-index:3;
  grid-template-columns:1fr;
  max-width:920px;
  margin:0 auto;
  width:100%;
  min-height:100svh;
  display:flex; flex-direction:column; justify-content:center;
  padding: calc(var(--header-h) + var(--review-banner-h, 0px) + 2.5rem) clamp(1.1rem, 4vw, 2.5rem) 4.5rem;
  border:0; box-shadow:none;
}
.hero.is-video-hero h1{
  color:var(--white, #FFFCF7);
  text-shadow:0 1px 2px rgba(0,0,0,.55), 0 2px 8px rgba(0,0,0,.40), 0 6px 22px rgba(0,0,0,.36);
  text-wrap:balance;
}
.hero.is-video-hero .hero-lead{
  color:var(--white, #FFFCF7);
  text-shadow:0 1px 2px rgba(0,0,0,.55), 0 2px 8px rgba(0,0,0,.38), 0 5px 18px rgba(0,0,0,.32);
}
.hero.is-video-hero .eyebrow{
  color:var(--white, #FFFCF7);
  font-weight:500;
  text-shadow:0 1px 2px rgba(0,0,0,.55), 0 2px 8px rgba(0,0,0,.40), 0 4px 16px rgba(0,0,0,.34);
}
.hero.is-video-hero .chip,
html[lang="he"] .hero.is-video-hero .chip,
html[dir="rtl"] .hero.is-video-hero .chip{
  color:var(--white, #FFFCF7);
  background:rgba(20,20,20,.68);
  border-color:rgba(232,213,163,.50);
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  box-shadow:none;
}

/* Neutral bottom-up shade on the video — no local scrim, no bordeaux, no blur */
.hero.is-video-hero .hero-copy::before{
  content:none !important;
  display:none !important;
  background:none !important;
  filter:none !important;
}
.hero.is-video-hero .hero-media-overlay,
html[dir="rtl"] .hero.is-video-hero .hero-media-overlay{
  background:linear-gradient(
    180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0) 6%,
    rgba(0,0,0,.16) 12%,
    rgba(0,0,0,.38) 18%,
    rgba(0,0,0,.52) 24%,
    rgba(0,0,0,.58) 32%,
    rgba(0,0,0,.58) 100%
  ) !important;
}

@media (min-width:961px){
  .hero.is-video-hero .hero-copy{ max-width:46rem; }
  .hero.is-video-hero h1{
    text-wrap:pretty;
    text-wrap:balance;
    max-width:18ch;
  }
  /* EN: keep "financial" from sitting alone between two longer lines */
  html[lang="en"] .hero.is-video-hero h1{ max-width:22ch; }
}
@media (max-width:960px){
  .hero.is-video-hero h1{ text-wrap:balance; }
}

.hero.is-video-hero .btn-outline{ color:#fffcf7; border-color:rgba(255,252,247,.7); }
.hero.is-video-hero .scroll-hint{ color:rgba(255,252,247,.75); }
.hero.is-video-hero .scroll-line{ background:linear-gradient(to bottom, var(--gold), transparent); }

/* Transparent header over video — removes cream "white line" under banner */
html:has(.hero.is-video-hero) .site-header{
  background:transparent !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  border:0 !important;
  border-bottom:0 !important;
}
html:has(.hero.is-video-hero) .site-header.scrolled{
  background:rgba(74,12,20,.55) !important;
  backdrop-filter:blur(14px) !important;
  box-shadow:none !important;
}
html:has(.hero.is-video-hero) .site-header .nav-main a{ color:rgba(255,252,247,.88); }
html:has(.hero.is-video-hero) .site-header .nav-main a:hover{ color:#fff; }
html:has(.hero.is-video-hero) .site-header .logo img{
  filter: brightness(1.35) contrast(1.15) saturate(1.1) drop-shadow(0 1px 2px rgba(0,0,0,.35));
}
html:has(.hero.is-video-hero) .lang-switch button,
html:has(.hero.is-video-hero) .lang-btn{
  color:rgba(255,252,247,.9);
}
/* No cream hairline between review banner and hero */
html:has(.hero.is-video-hero) .review-banner{
  border:0 !important;
  box-shadow:none !important;
}
html:has(.hero.is-video-hero) body,
html:has(.hero.is-video-hero){
  background: var(--cream);
}

body.reduced-motion .hero-media .hero-video,
body.a11y-stop-motion .hero-media .hero-video,
.hero.is-static-poster .hero-media .hero-video{ display:none !important; animation:none !important; }
.hero.is-static-poster .hero-poster,
body.reduced-motion .hero.is-video-hero .hero-poster{ opacity:1; visibility:visible; }

/* Video hero: kill cream bleed + dock crop on mobile; use class on <html> too */
html.hero-video-on,
html.hero-video-on body{
  background: var(--cream) !important;
}
html.hero-video-on .site-header{
  background:transparent !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  border:0 !important;
  border-bottom:0 !important;
}
html.hero-video-on .site-header.scrolled{
  background:rgba(74,12,20,.55) !important;
  backdrop-filter:blur(14px) !important;
  box-shadow:none !important;
}
html.hero-video-on .site-header .nav-main a{ color:rgba(255,252,247,.88); }
html.hero-video-on .site-header .nav-main a:hover{ color:#fff; }
html.hero-video-on .site-header .logo img{
  filter: brightness(1.35) contrast(1.15) saturate(1.1) drop-shadow(0 1px 2px rgba(0,0,0,.35));
}
html.hero-video-on .lang-switch button,
html.hero-video-on .lang-btn{ color:rgba(255,252,247,.9); }
html.hero-video-on .review-banner{ border:0 !important; box-shadow:none !important; }

.hero.is-video-hero{
  background:linear-gradient(180deg,var(--burgundy-deep), #5A1018) !important;
  background-image:none !important;
  border:0 !important;
  box-shadow:none !important;
}
@media (max-width:960px){
  .hero.is-video-hero{
    /* true full-bleed under transparent header; ignore dock crop */
    min-height:100svh !important;
    height:100svh !important;
    max-height:none !important;
    padding:0 !important;
    margin:0 !important;
  }
  .hero.is-video-hero .hero-media{
    width:100vw !important;
    left:50% !important;
    transform:translateX(-50%) !important;
    min-height:100svh !important;
    height:100% !important;
    border:0 !important;
  }
  .hero.is-video-hero .hero-content{
    min-height:100svh !important;
    padding: calc(var(--header-h) + var(--review-banner-h, 0px) + 1.1rem) 16px calc(var(--dock-h, 72px) + 1.2rem) !important;
    box-sizing:border-box;
  }
  .hero-media .hero-poster,
  .hero-media .hero-video{
    object-position:78% 40% !important;
  }
  .hero-media .hero-video{
    transform:scale(1.01) !important;
    transform-origin:78% 40% !important;
    animation:none !important;
  }
}

/* Zero hairline between banner and video */
html.hero-video-on .review-banner + .site-header,
html.hero-video-on .site-header + main,
html.hero-video-on main > .hero{
  margin-top:0 !important;
}

.offer-card.featured .feat-sub{
  margin-top:.75rem; font-size:.82rem; color:rgba(255,252,247,.78);
  letter-spacing:.04em; border-top:1px solid rgba(255,252,247,.18); padding-top:.65rem;
}

/* === citron-fix-20261102 === */
/* Language switcher: no overlapping pills */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
}
.lang-switch button {
  flex: 0 0 auto;
  min-width: 2.35rem;
  padding: 0.34rem 0.62rem;
  line-height: 1;
  border-radius: 999px;
  position: relative;
  z-index: 1;
}
.lang-switch button[aria-pressed="true"] {
  z-index: 2;
}

/* EN/FR hero title spacing */
.hero h1,
.hero.is-video-hero h1 {
  line-height: 1.22;
  padding-top: 0.06em;
  padding-bottom: 0.1em;
}
.split-line {
  padding: 0.06em 0 0.08em;
}
html[lang="he"] .hero h1,
html[lang="he"] .split-title,
html[dir="rtl"] .hero h1 {
  line-height: 1.2 !important;
  font-size: clamp(1.85rem, 4.2vw, 3.1rem) !important;
}
html[lang="he"] .split-line {
  padding: 0.04em 0 0.06em;
}
html[lang="he"] .hero-lead,
html[dir="rtl"] .hero-lead {
  margin-top: 0.85rem;
}

/* HE hero copy flush to right margin */
html[dir="rtl"] .hero.is-video-hero .hero-content,
html[lang="he"] .hero.is-video-hero .hero-content {
  align-items: stretch;
  text-align: right;
}
/* superseded by end-of-file HE flush rules */
html[dir="rtl"] .hero.is-video-hero .hero-actions,
html[lang="he"] .hero.is-video-hero .hero-actions {
  justify-content: flex-start;
}
html[dir="rtl"] .hero.is-video-hero .hero-meta,
html[lang="he"] .hero.is-video-hero .hero-meta {
  justify-content: flex-start;
}

/* Keep decorative glow away from logo (S overlap) */
.logo {
  position: relative;
  z-index: 6;
  isolation: isolate;
}
.hero.is-video-hero .hero-glow,
html.hero-video-on .hero-glow {
  display: none !important;
}
.intro-orb {
  pointer-events: none;
}

/* Contact form visible labels */
.cf-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted, #5a451c);
  margin: 0.55rem 0 0.35rem;
}
html[lang="he"] .cf-label {
  letter-spacing: 0.02em;
  text-transform: none;
  font-family: var(--font-he-body);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
}
bdi[dir="ltr"] {
  unicode-bidi: isolate;
  direction: ltr;
}

/* Compact cookie banner — max ~25% viewport at 390 */
.cookie-banner {
  inset-inline: 0.65rem;
  bottom: calc(var(--dock-h, 0px) + 1rem);
  max-width: min(420px, calc(100vw - 1.3rem));
  max-height: 25vh;
  overflow: auto;
}
.cookie-inner {
  padding: 0.7rem 0.8rem 0.75rem;
  border-radius: 12px;
}
.cookie-inner h2 {
  font-size: 0.95rem;
  margin: 0 0 0.3rem;
}
.cookie-inner > p {
  font-size: 0.78rem;
  line-height: 1.35;
  margin: 0 0 0.45rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cookie-actions {
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}
.cookie-actions .btn {
  padding: 0.4rem 0.7rem;
  font-size: 0.78rem;
}
.cookie-links {
  font-size: 0.72rem !important;
  margin: 0 !important;
}
.cookie-customize {
  margin: 0.35rem 0 0.45rem;
  font-size: 0.8rem;
}
@media (max-width: 480px) {
  .cookie-banner {
    inset-inline: 0;
    bottom: calc(var(--dock-h, 0px) + 8px);
    max-width: 100%;
    max-height: 22vh;
    border-radius: 0;
  }
  .cookie-inner {
    padding: 0.45rem 0.7rem 0.5rem;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -8px 28px rgba(26,18,16,.16);
  }
  .cookie-inner h2 { font-size: 0.82rem; margin-bottom: 0.15rem; }
  .cookie-inner > p {
    font-size: 0.68rem;
    -webkit-line-clamp: 2;
    margin-bottom: 0.3rem;
    line-height: 1.3;
  }
  .cookie-actions { margin-bottom: 0.2rem; gap: 0.3rem; }
  .cookie-actions .btn {
    padding: 0.32rem 0.5rem;
    font-size: 0.7rem;
  }
  .cookie-links { display: none; } /* keep privacy via customize/legal footer; reclaim height */
  .cookie-customize { font-size: 0.72rem; margin: 0.25rem 0; }
}

/* ISA badge visibility */
.isa-badge-icon {
  display: block;
  width: min(148px, 42vw);
  height: auto;
  max-width: 160px;
  background: rgba(255,252,247,.96);
  border-radius: 10px;
  padding: 8px 10px;
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
  object-fit: contain;
}
.isa-badge-footer {
  display:inline-block;
  width:140px; height:auto;
  background: rgba(255,252,247,.96);
  border-radius: 10px;
  padding: 8px 10px;
  opacity: 1 !important;
}
.isa-badge {
  align-items: center;
  gap: 1rem 1.25rem;
}
@media (max-width: 700px) {
  .isa-badge-icon { width: min(132px, 56vw); }
}

.cookie-customize[hidden] { display: none !important; }
#cookie-banner[hidden] { display: none !important; }

/* HE hero: flush to RIGHT margin at every width */
html[lang="he"] .hero.is-video-hero h1,
html[lang="he"] .hero.is-video-hero .split-title.is-final,
html[dir="rtl"] .hero.is-video-hero h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.75rem) !important;
  line-height: 1.22 !important;
  max-width: min(22ch, 100%);
  margin-inline: 0 !important;
  text-align: start;
}
html[dir="rtl"] .hero.is-video-hero .hero-content,
html[lang="he"] .hero.is-video-hero .hero-content {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  align-items: flex-start !important;
  text-align: start;
  padding-inline: clamp(1rem, 3vw, 2rem) !important;
}
html[dir="rtl"] .hero.is-video-hero .hero-copy,
html[lang="he"] .hero.is-video-hero .hero-copy {
  margin-inline-start: 0 !important;
  margin-inline-end: 0 !important;
  margin-inline-start: 0 !important;
  max-width: min(36rem, calc(100% - 0px));
  width: auto;
  align-self: flex-start; /* right in RTL */
  text-align: start;
  padding-inline: 0 !important;
}
html[dir="rtl"] .hero.is-video-hero .hero-actions,
html[lang="he"] .hero.is-video-hero .hero-actions,
html[dir="rtl"] .hero.is-video-hero .hero-meta,
html[lang="he"] .hero.is-video-hero .hero-meta {
  justify-content: flex-start !important;
}
@media (max-width: 960px) {
  html[dir="rtl"] .hero.is-video-hero .hero-content,
  html[lang="he"] .hero.is-video-hero .hero-content {
    padding-inline: clamp(0.9rem, 4vw, 1.25rem) !important;
  }
  html[dir="rtl"] .hero.is-video-hero .hero-copy,
  html[lang="he"] .hero.is-video-hero .hero-copy {
    max-width: 100%;
  }
}
/* Prevent any decorative circle from covering logo S */
.site-header .logo,
.site-header .logo img {
  position: relative;
  z-index: 20;
  overflow: visible;
}
.site-header .header-actions {
  position: relative;
  z-index: 15;
}
.lang-switch button[aria-pressed="true"] {
  box-shadow: none;
}
/* Kill residual rings near header */
.site-header .hero-stat-ring,
.site-header .intro-orb { display: none !important; }


/* cursor-ring away from logo (Citron: S overlaps circle) */
.site-header { isolation: isolate; }
.site-header .logo { z-index: 30; position: relative; }
.cursor, .cursor-ring, .cursor-dot { z-index: 9999; }
/* Don't paint cursor ring over header logo hit-area */
body:has(.logo:hover) .cursor-ring { opacity: 0 !important; }


/* Team mini-CV modal — large centered card (not fullscreen) */
.team-cv-modal[hidden]{ display:none !important; }
.team-cv-modal{
  position:fixed; inset:0; z-index:1200;
  display:flex; align-items:center; justify-content:center;
  padding:1rem;
}
.team-cv-backdrop{
  position:absolute; inset:0;
  background:linear-gradient(160deg, rgba(74,12,20,.48), rgba(26,18,16,.40));
  backdrop-filter: blur(7px);
}
.team-cv-dialog{
  position:relative; z-index:1;
  width:min(40rem, 94vw); /* ~640px */
  max-height:min(92vh, 860px);
  overflow:auto;
  background: linear-gradient(180deg, var(--white,#fffcf7) 0%, var(--cream,#F7F3EB) 100%);
  color: var(--ink, #1a1210);
  border-radius: 22px;
  border: 1px solid rgba(196,163,90,.42);
  box-shadow: 0 28px 70px rgba(74,12,20,.24);
  padding: 1.2rem 1.35rem 1.45rem;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:0;
}
.team-cv-close{
  position:absolute; top:.75rem; inset-inline-end:.75rem; z-index:2;
  width:2.35rem; height:2.35rem; border:0; border-radius:999px;
  background:rgba(247,243,235,.95); color:var(--burgundy,#7d1623);
  font-size:1.25rem; cursor:pointer;
  box-shadow: 0 2px 10px rgba(74,12,20,.12);
}
.team-cv-photo-wrap{
  display:block; width:100%;
  margin:0 0 1rem;
  border-radius: 18px; overflow:hidden;
  background: linear-gradient(160deg, var(--cream-2), #e8d5a3);
  border: 1px solid rgba(196,163,90,.35);
  aspect-ratio: 1 / 1;
  max-width: 100%;
}
.team-cv-photo{
  width:100%; height:100%;
  object-fit:cover; object-position:center top;
  border:0; border-radius:18px; display:block; margin:0;
}
.team-cv-name{ font-family:var(--font-serif); font-size:1.55rem; margin:0 0 .3rem; color:var(--burgundy-deep,#5e1520); text-align:center; }
.team-cv-role{ font-size:.95rem; color:var(--ink-soft,#5a451c); margin:0 0 .85rem; text-align:center; }
.team-cv-bio{
  font-size:.97rem; line-height:1.65; margin:0 0 1rem;
  max-height: min(32vh, 14.5rem);
  overflow:auto;
  padding-inline-end:.25rem;
  text-align:start;
}
.team-cv-actions, .team-cv-cta-row{
  display:flex; flex-wrap:wrap; gap:.55rem;
  justify-content:center;
  position:sticky; bottom:0;
  padding-top:.45rem;
  background: linear-gradient(180deg, transparent, var(--white,#fffcf7) 28%);
}
.team-cv-cta-row .btn{ text-decoration:none; }
.team-cv-cta-primary{ min-width:min(100%, 11rem); }
.team-cv-actions a[hidden], .team-cv-cta-row a[hidden]{ display:none !important; }
html[dir="rtl"] .team-cv-dialog{ text-align:right; }
html[dir="rtl"] .team-cv-name,
html[dir="rtl"] .team-cv-role { text-align:center; }
@media (max-width:560px){
  .team-cv-dialog{
    width:min(100%, 96vw);
    padding: .95rem 1rem 1.2rem; border-radius:18px;
  }
  .team-cv-photo-wrap{ border-radius: 16px; }
  .team-cv-photo{ border-radius:16px; }
  .team-cv-bio{ max-height: min(28vh, 12rem); font-size:.92rem; }
}
@media (min-width:720px){
  .team-cv-dialog{ width:min(40rem, 92vw); padding: 1.35rem 1.5rem 1.55rem; }
  .team-cv-photo-wrap{ max-width: 360px; margin-inline:auto; }
}
.team-card{ cursor:pointer; }
.contact-item.is-hidden-until-confirmed,
.contact-item[data-pro-email-slot][hidden]{
  display:none !important;
  visibility:hidden !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
}

/* button.team-card must keep card chrome; column stack for portrait + name/role */
button.team-card{
  appearance:none; -webkit-appearance:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:0;
  font:inherit;
  color:inherit;
  text-align:center;
  box-sizing:border-box;
  margin:0;
  cursor:pointer;
  /* background + border come from .team-card — do not wipe them */
}
button.team-card .team-avatar{
  flex:0 0 auto;
  width:128px; height:128px;
  border-radius:50%;
  overflow:hidden;
}
@media (min-width:1024px){
  .team-avatar,
  button.team-card .team-avatar{
    width:148px; height:148px;
  }
}
button.team-card .team-name,
button.team-card .team-role{
  flex:0 0 auto;
  width:100%;
}


/* Team CV — contact CTA */
.team-cv-cta-row{ display:flex; flex-wrap:wrap; gap:.55rem; margin-top:.15rem; }
.team-cv-cta-row .btn{ text-decoration:none; }
.team-cv-cta-primary{ min-width:min(100%, 14rem); }
.team-cv-actions a[hidden], .team-cv-cta-row a[hidden]{ display:none !important; }
html[lang="he"] .team-cv-name,
html[lang="he"] .team-cv-role,
html[lang="he"] .team-cv-bio,
html[dir="rtl"] .team-cv-name,
html[dir="rtl"] .team-cv-role,
html[dir="rtl"] .team-cv-bio{
  font-family: var(--font-he-body);
}
html[lang="he"] .team-cv-name,
html[dir="rtl"] .team-cv-name{
  font-weight: 600;
  line-height: 1.35;
}
html[lang="he"] .team-cv-bio,
html[dir="rtl"] .team-cv-bio{
  font-weight: 400;
  line-height: 1.75;
  max-height: min(36vh, 16.5rem);
}

/* Contact form consent checkboxes (unticked marketing by default) */
.cf-check{
  display:flex;
  align-items:flex-start;
  gap:.65rem;
  font-size:.9rem;
  line-height:1.45;
  color:var(--ink);
  max-width:42rem;
  cursor:pointer;
}
.cf-check input[type="checkbox"]{
  margin-top:.2rem;
  width:1.05rem;
  height:1.05rem;
  flex:0 0 auto;
  accent-color:var(--burgundy-deep,#7d1623);
}
.cf-check a{ color:var(--burgundy-deep,#7d1623); text-decoration:underline; text-underline-offset:2px; }
.cf-note{ font-size:.8rem; color:var(--muted); margin:.15rem 0 .35rem; max-width:42rem; }
html[dir="rtl"] .cf-check{ text-align:right; }

/* Private-bank CTA band */
.act-cta-band{
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  background: linear-gradient(135deg, rgba(125,22,35,.06), rgba(196,163,90,.12));
  border-top: 1px solid rgba(125,22,35,.08);
  border-bottom: 1px solid rgba(125,22,35,.08);
  text-align: center;
}
.act-cta-band .section-title{ margin-inline:auto; max-width:22ch; }
.act-cta-band .lead{ margin-inline:auto; max-width:48ch; }
.cta-band-actions{
  display:flex; flex-wrap:wrap; gap:1rem; justify-content:center; margin-top:1.75rem;
}

.footer-linkedin{display:inline-flex;align-items:center;gap:.45em}
.footer-linkedin svg{flex:none}

/* Hero video pause control — WCAG 2.2.2 */
.hero-video-toggle{
  position:absolute; z-index:5;
  /* leave room for the first-party a11y FAB (44px) on the same corner */
  inset-inline-end: calc(44px + 1.5rem + env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  padding:.55rem .9rem; border-radius:var(--radius-pill);
  border:1px solid rgba(255,252,247,.55);
  background:rgba(26,18,16,.62); color:#fff;
  font-size:.78rem; letter-spacing:.04em; cursor:pointer;
  white-space:nowrap; max-width:calc(100vw - 6rem);
}
.hero-video-toggle:focus-visible{ outline:2px solid #fff; outline-offset:3px; }
.hero.is-video-hero .hero-stat-label{ color:var(--gold-light, #E8D5A3); }
@media (max-width:960px){
  .hero-video-toggle{ bottom: calc(var(--dock-h, 0px) + .75rem); }
}

/* Hero jazz — mute/unmute, on by default, starts on first gesture */
.hero-sound-toggle{
  position:absolute; z-index:6;
  /* Physical left: a11y FAB is always physical right (even in RTL). */
  left: max(1rem, env(safe-area-inset-left, 0px));
  right: auto;
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  display:inline-flex; align-items:center; gap:.55rem;
  min-height:44px; padding:.45rem .95rem .45rem .65rem;
  border-radius:var(--radius-pill);
  border:1.5px solid rgba(232,213,163,.75);
  background:rgba(255,252,247,.92);
  color:var(--burgundy-deep, #5E1520);
  font-family:inherit; font-size:.78rem; letter-spacing:.04em; line-height:1.2;
  cursor:pointer;
  box-shadow:0 8px 24px rgba(26,18,16,.18);
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  max-width:calc(100vw - 6.5rem);
  pointer-events:auto;
}
.hero-sound-toggle .hero-sound-icon{ flex:none; display:block; }
.hero-sound-toggle .hero-sound-icon[hidden]{ display:none !important; }
.hero-sound-toggle .hero-sound-label{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hero-sound-toggle.is-on{
  background:rgba(255,252,247,.95);
  border-color:var(--gold, #C4A35A);
  color:var(--burgundy-deep, #5E1520);
}
.hero-sound-toggle:not(.is-on){
  background:rgba(26,18,16,.62);
  border-color:rgba(232,213,163,.55);
  color:#FFFCF7;
}
.hero-sound-toggle:hover{ box-shadow:0 10px 28px rgba(26,18,16,.24); }
.hero-sound-toggle:focus-visible{ outline:2px solid var(--gold, #C4A35A); outline-offset:3px; }
html[dir="rtl"] .hero-sound-toggle{
  font-family:var(--font-he-body, inherit); letter-spacing:0;
  /* In RTL the video pause control sits on the left; stack the sound pill above it. */
  bottom: calc(max(1rem, env(safe-area-inset-bottom, 0px)) + 3.4rem);
}
@media (max-width:960px){
  .hero-sound-toggle{ bottom: calc(var(--dock-h, 0px) + .75rem); }
  html[dir="rtl"] .hero-sound-toggle{ bottom: calc(var(--dock-h, 0px) + 3.55rem); }
}


/* AMF 2026-11-24 — visible placeholder until Alon provides the ISA licence reference */
mark.isa-todo{background:#FFF1C7;color:#3B2A06;border:1px dashed #8A6A1F;border-radius:4px;padding:.05em .4em;font-weight:600;box-decoration-break:clone;-webkit-box-decoration-break:clone}

/* AMF 2026-11-24 — contact form qualification fields */
.contact-form select{
  width:100%;min-width:0;padding:.85rem 2.4rem .85rem 1rem;border:1px solid rgba(125,22,35,.28);
  background-color:#FFFCF7;color:var(--ink);border-radius:10px;font:inherit;line-height:1.3;
  -webkit-appearance:none;appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237d1623' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 1rem center;background-size:12px 8px;cursor:pointer}
html[dir="rtl"] .contact-form select{padding:.85rem 1rem .85rem 2.4rem;background-position:left 1rem center}
.contact-form select:focus{outline:2px solid var(--focus,var(--burgundy));outline-offset:2px}
.contact-form [aria-invalid="true"]{border-color:#9b1c2c;box-shadow:0 0 0 1px #9b1c2c}
.cf-row{display:grid;grid-template-columns:minmax(0,1fr);gap:0 .9rem}
@media (min-width:640px){.cf-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
.cf-field{min-width:0}
.cf-group{border:0;padding:0;margin:0;min-width:0}
.cf-group legend{padding:0;float:none;width:100%}
.cf-radio{display:flex;align-items:flex-start;gap:.65rem;font-size:.92rem;line-height:1.45;color:var(--ink);margin:.35rem 0;cursor:pointer}
.contact-form .cf-radio input[type="radio"]{width:1.05rem;height:1.05rem;padding:0;margin:.2rem 0 0;flex:0 0 auto;accent-color:var(--burgundy-deep,#7d1623)}
.cf-date{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:.9rem}
.cf-hint{font-size:.8rem;color:var(--muted);margin:0 0 .45rem;max-width:42rem}
.cf-label.is-req::after{content:" *";color:var(--burgundy-deep,#7d1623)}
html[dir="rtl"] .cf-radio,html[dir="rtl"] .cf-hint{text-align:right}

/* 2026-11-24 step 2 — ISA mention, fair disclosure, partner block, footer LinkedIn, team monogram */
.isa-mention{border-inline-start:3px solid var(--gold-text,#6E5A2E);background:#FFFCF7;padding:.9rem 1.1rem;border-radius:0 10px 10px 0;margin:1.25rem 0}
html[dir="rtl"] .isa-mention{border-radius:10px 0 0 10px}
.isa-mention p{margin:0!important;font-weight:500;color:var(--ink)}
.footer-isa-mention{color:rgba(247,243,235,.72)}
.isa-personnels{margin:1.25rem 0}
.isa-personnels p{margin:0 0 .7rem;line-height:1.6}
.isa-personnels ul{margin:0;padding-inline-start:1.2rem;line-height:1.65}
.isa-personnels li{margin:.2rem 0}
.fair-disclosure{margin:2rem 0 1.5rem;padding-top:1.5rem;border-top:1px solid rgba(125,22,35,.14);scroll-margin-top:calc(var(--header-h,72px) + 1rem)}
.fair-disclosure h2{font-family:var(--font-serif);color:var(--burgundy-deep);font-size:clamp(1.25rem,2.2vw,1.6rem);margin:0 0 .8rem}
.fd-list{list-style:none;padding:0;margin:.6rem 0 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,13rem),1fr));gap:.35rem 1.25rem;font-size:.95rem;color:var(--ink)}
.fd-list li{padding:.3rem 0;border-bottom:1px solid rgba(125,22,35,.08)}
html[dir="rtl"] .fd-list{text-align:left}
.footer-linkedin{display:inline-flex;align-items:center;gap:.5em;line-height:1;vertical-align:middle}
.footer-linkedin svg{width:18px;height:18px;flex:none;display:block}
.footer-linkedin span{line-height:1;display:block}
.team-card::before{display:none}
.team-monogram{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--cream-2,#efe6d8);box-shadow:inset 0 0 0 1px rgba(110,90,46,.45);font-family:var(--font-serif);font-size:2.4rem;letter-spacing:.04em;color:var(--burgundy-deep,#7d1623)}
.team-avatar:not(.is-fallback) .team-monogram{z-index:1}

/* AMF 2026-11-24: regulatory note under the contact form */
.cf-reg-note{margin:1rem 0 0;font-size:.85rem;line-height:1.5;color:var(--muted,#5c534b);border-top:1px solid rgba(122,31,43,.18);padding-top:.75rem}
#cf-date-group[hidden]{display:none!important}

.team-monogram::before{content:attr(data-initials)}

/* Patch 17 — generic email: never split the address; 9-card partner grid balanced */
a[href^="mailto:"]{overflow-wrap:normal;word-break:normal;white-space:nowrap}
.partners-grid{grid-template-columns:repeat(3,1fr)}
@media (max-width:1100px){.partners-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:720px){.partners-grid{grid-template-columns:repeat(2,1fr)}.partners-grid>.partner-card:last-child:nth-child(odd){grid-column:1/-1}}
/* Patch 17 — mobile menu (opened over the video hero): links were cream-on-cream (unreadable) */
@media (max-width: 960px){
  html.hero-video-on .site-header .nav-main a:not(.nav-cta),
  html:has(.hero.is-video-hero) .site-header .nav-main a:not(.nav-cta){ color: var(--ink-soft); }
  html.hero-video-on .site-header .nav-main a:not(.nav-cta):hover,
  html:has(.hero.is-video-hero) .site-header .nav-main a:not(.nav-cta):hover{ color: var(--burgundy); }
}
/* Patch 17 — generic email on the home contact list */
.contact-item .email-link{ direction:ltr; unicode-bidi:isolate; }
/* Patch 17 — hide hero copy only while EN/HE text is being swapped in (prevents CLS) */
html.i18n-pending .hero-copy{ visibility:hidden; }
/* Patch 17 — touch targets >= 44px on phones (visual size unchanged where possible) */
@media (max-width: 960px), (pointer: coarse){
  .lang-switch button{ position:relative; }
  .lang-switch button::before{ content:""; position:absolute; left:50%; top:50%; width:max(100%,44px); height:44px; transform:translate(-50%,-50%); }
  .team-dot{ position:relative; }
  .team-dot::before{ content:""; position:absolute; left:50%; top:50%; width:44px; height:44px; transform:translate(-50%,-50%); }
  .hero-video-toggle{ min-height:44px; }
  .isa-badge-link{ display:inline-flex; align-items:center; min-height:44px; }
  .contact-item a{ display:inline-flex; align-items:center; min-height:44px; }
  .cf-radio, .cf-check{ min-height:44px; display:flex; align-items:center; }
  .site-footer a{ display:inline-flex; align-items:center; min-height:44px; min-width:44px; }
}

/* Patch 18 — "animations paused — restore" chip (visit-only stop-motion / OS reduce-motion) */
.motion-chip{
  position:fixed; z-index:11899;
  right:calc(max(12px, env(safe-area-inset-right, 0px)) + 44px + 8px); left:auto;
  bottom:calc(var(--dock-h, 0px) + 12px);
  min-height:44px; max-width:calc(100vw - 44px - 12px - 8px - 12px);
  padding:.55rem 1rem; border-radius:var(--radius-pill, 999px);
  border:1px solid rgba(196,163,90,.6); background:rgba(74,12,20,.94); color:var(--cream);
  font:500 .78rem/1.25 var(--font-sans, inherit); letter-spacing:.03em;
  box-shadow:0 10px 28px rgba(26,18,16,.18); cursor:pointer; text-align:center;
}
.motion-chip:hover{ background:var(--burgundy); }
.motion-chip:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; }
.motion-chip[hidden]{ display:none !important; }
@media (min-width:961px){ .motion-chip{ bottom:1.25rem; } }
/* the hero pause/play pill would be inert while motion is off: the chip replaces it */
body.a11y-stop-motion .hero-video-toggle, body.reduced-motion .hero-video-toggle{ display:none !important; }
/* keep the last footer line clear of the chip */
html.motion-chip-on .site-footer{ padding-bottom:calc(var(--dock-h, 0px) + 72px); }

/* Contact aside — sticky card + ISA 751 + exclusive Mandarine partner */
.contact-aside { min-height: 0; height: 100%; }
.contact-aside-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: auto;
}
/* When only the contact card sticks, the stack must fill the grid cell
   so position:sticky can travel along the form. */
.contact-aside-stack.is-card-sticky { height: 100%; }
.contact-aside-card,
.contact-partner {
  background: var(--cream-2);
  border: 1px solid rgba(125, 22, 35, 0.08);
  border-radius: var(--radius);
  padding: 1.55rem 1.6rem 1.4rem;
}
.contact-aside-card .contact-item { margin-bottom: 1.15rem; }
.contact-aside-card .contact-item:last-of-type { margin-bottom: 0; }
.contact-licence {
  margin-top: 0.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(125, 22, 35, 0.1);
}
.contact-licence-badge { display: block; margin-bottom: 0.7rem; height: auto; width: auto; max-height: 51px; }
.contact-licence-kicker {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5A451C;
  margin: 0 0 0.4rem;
}
.contact-licence-line {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft, #3F3833);
  margin: 0;
}
html[lang="he"] .contact-licence-kicker,
html[lang="he"] .contact-partner-kicker {
  letter-spacing: 0.02em;
  text-transform: none;
  font-family: var(--font-he-body);
}

.contact-partner { padding-top: 1.2rem; padding-bottom: 1.2rem; }
.contact-partner-kicker {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5A451C;
  margin: 0 0 0.85rem;
}
.contact-partner-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-sm);
}
.contact-partner-link:hover .contact-partner-cta,
.contact-partner-link:focus-visible .contact-partner-cta {
  color: var(--burgundy);
}
.contact-partner-link:focus-visible {
  outline: 2px solid var(--focus, var(--burgundy));
  outline-offset: 4px;
}
.contact-partner-logo {
  display: block;
  width: auto;
  height: 4.5rem;
  flex: 0 0 auto;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}
.contact-partner-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.contact-partner-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--burgundy-deep);
  line-height: 1.25;
}
html[lang="he"] .contact-partner-name {
  font-family: var(--font-he-display), sans-serif;
}
.contact-partner-role {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-soft, #3F3833);
}
.contact-partner-cta {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text, #6E5A2E);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
html[lang="he"] .contact-partner-cta {
  letter-spacing: 0.02em;
  text-transform: none;
  font-family: var(--font-he-body);
}

.contact-aside-stack.is-sticky,
.contact-aside-card.is-sticky {
  position: sticky;
  top: calc(var(--header-h, 72px) + 1.15rem);
  z-index: 2;
}

@media (max-width: 960px) {
  .contact-aside-stack.is-sticky,
  .contact-aside-card.is-sticky {
    position: static;
    top: auto;
  }
  .contact-aside-stack,
  .contact-aside-stack.is-card-sticky { height: auto; }
  .contact-aside-stack { margin-bottom: 0.5rem; }
}

/* Nav Mandarine + dedicated exclusive-partner square */
.nav-mandarine {
  padding: .42rem .85rem !important;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold);
  color: var(--burgundy-deep) !important;
  background: rgba(255, 252, 247, .7);
  letter-spacing: .1em;
}
.nav-mandarine:hover {
  background: rgba(196, 163, 90, .22);
  color: var(--burgundy) !important;
  border-color: var(--gold-deep);
}
html.hero-video-on .site-header .nav-main a.nav-mandarine,
html:has(.hero.is-video-hero) .site-header .nav-main a.nav-mandarine {
  color: var(--burgundy-deep) !important;
  background: rgba(255, 252, 247, .82);
  border-color: var(--gold);
}
html.hero-video-on .site-header .nav-main a.nav-mandarine:hover,
html:has(.hero.is-video-hero) .site-header .nav-main a.nav-mandarine:hover {
  background: rgba(196, 163, 90, .28);
  color: var(--burgundy) !important;
}


/* ===== Mandarine chapter ===== */
.mx-chapter {
  position: relative; overflow: hidden; isolation: isolate;
  color: var(--cream);
  padding: clamp(4.5rem, 10vh, 8rem) 0 clamp(4rem, 9vh, 7rem);
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(196,163,90,.16), transparent 55%),
    linear-gradient(165deg, var(--burgundy-deep) 0%, #5A1018 52%, var(--burgundy) 100%);
}
.mx-chapter::before, .mx-chapter::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  opacity: .7;
}
.mx-chapter::before { top: 0; } .mx-chapter::after { bottom: 0; }
.mx-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.mx-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(196,163,90,.28); }
.mx-ring-a { width: 46rem; height: 46rem; inset-inline-end: -14rem; top: -18rem; animation: mxSpin 90s linear infinite; border-style: dashed; }
.mx-ring-b { width: 30rem; height: 30rem; inset-inline-start: -10rem; bottom: -14rem; border-color: rgba(196,163,90,.18); }
@keyframes mxSpin { to { transform: rotate(360deg); } }
.mx-inner { position: relative; }
.mx-head { display: grid; grid-template-columns: 1fr auto; gap: 2.5rem; align-items: center; }
.mx-kicker { display: flex; align-items: center; gap: .9rem; font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.1rem; }
.mx-kicker-line { display: block; width: 3.2rem; height: 1px; background: var(--gold); }
.mx-title { font-family: var(--font-serif); font-weight: 500; line-height: 1.02; letter-spacing: -.01em; font-size: clamp(2.9rem, 7.4vw, 6rem); color: var(--cream); }
.mx-sub { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.4rem, 3vw, 2.15rem); color: var(--gold-light); margin-top: .35rem; }
.mx-lead { margin-top: 1.5rem; max-width: 34rem; font-size: 1.08rem; line-height: 1.7; font-weight: 300; color: rgba(247,243,235,.88); }
.mx-logo-tile { background: var(--white); border-radius: var(--radius); padding: 1.6rem 1.9rem; box-shadow: 0 24px 60px rgba(0,0,0,.28), 0 0 0 1px rgba(196,163,90,.55); }
.mx-logo-tile img { display: block; height: 9.5rem; width: auto; }

.mx-stats { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(2.5rem, 6vh, 4rem); border-top: 1px solid rgba(196,163,90,.5); border-bottom: 1px solid rgba(196,163,90,.25); }
.mx-stats li { padding: 1.6rem 1.2rem 1.5rem; text-align: center; }
.mx-stats li + li { border-inline-start: 1px solid rgba(196,163,90,.25); }
.mx-num { display: block; font-family: var(--font-serif); font-size: clamp(2.8rem, 6vw, 4.6rem); line-height: 1; color: var(--gold-light); font-variant-numeric: tabular-nums; }
.mx-stat-l { display: block; margin-top: .6rem; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(247,243,235,.78); }
.mx-source { margin-top: .85rem; font-size: .76rem; color: rgba(247,243,235,.62); }

.mx-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: clamp(2.2rem, 5vh, 3.4rem); }
.mx-card { position: relative; padding: 2.1rem 1.7rem 1.9rem; border-radius: var(--radius); background: rgba(247,243,235,.06); border: 1px solid rgba(196,163,90,.3); backdrop-filter: blur(2px); transition: transform .45s var(--ease), border-color .3s, background .3s; }
.mx-card::before { content: ""; position: absolute; top: 0; inset-inline: 1.7rem; height: 2px; background: var(--gold); transform-origin: left; }
html[dir="rtl"] .mx-card::before { transform-origin: right; }
.mx-card:hover { transform: translateY(-5px); border-color: var(--gold); background: rgba(247,243,235,.1); }
.mx-card-ours { background: rgba(196,163,90,.14); border-color: rgba(196,163,90,.6); }
.mx-card-n { font-family: var(--font-serif); font-size: .95rem; letter-spacing: .12em; color: var(--gold); }
.mx-card h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.55rem; line-height: 1.2; color: var(--cream); margin: .5rem 0 .85rem; }
.mx-card p { font-size: .96rem; line-height: 1.72; font-weight: 300; color: rgba(247,243,235,.84); }

.mx-timeline { list-style: none; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: clamp(2.4rem, 5vh, 3.6rem); padding-top: 1.7rem; }
.mx-timeline::before { content: ""; position: absolute; top: .42rem; inset-inline: 0; height: 1px; background: rgba(196,163,90,.5); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); }
html[dir="rtl"] .mx-timeline::before { transform-origin: right; }
.mx-timeline.is-in::before { transform: scaleX(1); }
.mx-timeline li { position: relative; }
.mx-timeline li::before { content: ""; position: absolute; top: -1.7rem; inset-inline-start: 0; width: .85rem; height: .85rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(196,163,90,.22); }
.mx-year { display: block; font-family: var(--font-serif); font-size: 1.9rem; color: var(--gold-light); }
.mx-ev { display: block; margin-top: .25rem; font-size: .9rem; line-height: 1.55; color: rgba(247,243,235,.82); max-width: 17rem; }

.mx-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: clamp(2.2rem, 5vh, 3.2rem); }
.mx-cta-ghost { border: 1px solid rgba(232,213,163,.7); color: var(--cream) !important; background: transparent; }
.mx-cta-ghost:hover { background: rgba(247,243,235,.12); border-color: var(--gold-light); }
.mx-disclaimer { margin-top: 2rem; max-width: 52rem; font-size: .76rem; line-height: 1.65; color: rgba(247,243,235,.62); }
.mx-card.reveal { transition-delay: var(--d, 0s); }
.mx-logo-tile.reveal { transition-delay: var(--d, 0s); }
html[lang="he"] .mx-kicker, html[lang="he"] .mx-stat-l { letter-spacing: .04em; text-transform: none; font-family: var(--font-he-body); }
html[lang="he"] .mx-title, html[lang="he"] .mx-sub, html[lang="he"] .mx-card h3, html[lang="he"] .mx-num, html[lang="he"] .mx-year { font-family: var(--font-he-display); }
html[lang="he"] .mx-sub { font-style: normal; }
html[lang="he"] .mx-cta, html[lang="he"] .mx-cta-ghost { letter-spacing: .02em; text-transform: none; font-family: var(--font-he-body); }
html[lang="he"] .mx-title { letter-spacing: 0; line-height: 1.12; }

@media (max-width: 960px) {
  .mx-head { grid-template-columns: 1fr; gap: 1.8rem; }
  .mx-logo-tile { justify-self: start; padding: 1.1rem 1.3rem; } .mx-logo-tile img { height: 6.5rem; }
  .mx-cards, .mx-timeline { grid-template-columns: 1fr; }
  .mx-timeline { gap: 1.6rem; padding-top: 0; padding-inline-start: 1.6rem; }
  .mx-timeline::before { top: .4rem; bottom: .4rem; inset-inline: auto; inset-inline-start: .38rem; width: 1px; height: auto; transform: scaleY(0); transform-origin: top; }
  .mx-timeline.is-in::before { transform: scaleY(1); }
  .mx-timeline li::before { top: .55rem; inset-inline-start: -1.6rem; }
  .mx-stats li { padding: 1.2rem .4rem; } .mx-stat-l { font-size: .62rem; letter-spacing: .08em; }
  .mx-ring-a { width: 26rem; height: 26rem; }
  .mx-actions .btn { flex: 1 1 100%; text-align: center; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .mx-ring-a { animation: none; }
  .mx-timeline::before { transform: none; transition: none; }
}

.mx-short { display: none; }
.mx-person {
  display: flex; align-items: center; gap: 1.1rem;
  margin-top: clamp(1.8rem, 4vh, 2.6rem);
  max-width: 36rem;
}
.mx-mono {
  flex: 0 0 auto;
  width: 4.1rem; height: 4.1rem; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-size: 1.35rem; letter-spacing: .06em;
  color: var(--burgundy-deep);
  background: var(--gold-light);
  box-shadow: 0 0 0 1px rgba(196,163,90,.7), 0 8px 24px rgba(0,0,0,.18);
}
.mx-person-name {
  font-family: var(--font-serif);
  font-size: 1.35rem; line-height: 1.2;
  color: var(--cream);
}
.mx-person-role {
  margin-top: .15rem;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-light);
}
.mx-person-src { margin-top: .25rem; font-size: .7rem; color: rgba(247,243,235,.58); }
.mx-carousel-ui { display: none; }
.mx-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-light);
  background: rgba(247,243,235,.08);
  border: 1px solid rgba(196,163,90,.45);
}
.mx-arrow:hover, .mx-arrow:focus-visible { background: rgba(196,163,90,.22); color: var(--cream); }
.mx-dots { display: flex; align-items: center; gap: .45rem; }
.mx-dot {
  width: .55rem; height: .55rem; padding: 0; border-radius: 50%;
  background: rgba(247,243,235,.28); border: 0;
}
.mx-dot.is-on { background: var(--gold-light); transform: scale(1.2); }
html[lang="he"] .mx-person-role { letter-spacing: .04em; text-transform: none; font-family: var(--font-he-body); }
html[lang="he"] .mx-person-name, html[lang="he"] .mx-mono { font-family: var(--font-he-display); }

html[dir="rtl"] .mx-arrow svg { transform: scaleX(-1); }
@media (max-width: 960px) {
  .mx-chapter { padding: 2rem 0 2.8rem; }
  .mx-head { grid-template-columns: 1fr auto; gap: .7rem 1rem; align-items: start; }
  .mx-kicker { margin-bottom: .5rem; }
  .mx-title { font-size: clamp(2rem, 10vw, 2.55rem); }
  .mx-sub { font-size: 1.15rem; margin-top: .1rem; }
  .mx-lead { margin-top: .45rem; font-size: .92rem; line-height: 1.5; }
  .mx-logo-tile { justify-self: end; padding: .65rem .75rem; }
  .mx-logo-tile img { height: 4.35rem; }
  .mx-inner { display: flex; flex-direction: column; }
  .mx-head { order: 1; }
  .mx-stats { order: 2; margin-top: .85rem; }
  .mx-source { order: 3; }
  .mx-carousel { order: 4; }
  .mx-person { order: 5; margin-top: 1.05rem; }
  .mx-timeline { order: 6; }
  .mx-actions { order: 7; }
  .mx-disclaimer { order: 8; }
  .mx-mono { width: 3.35rem; height: 3.35rem; font-size: 1.1rem; }
  .mx-person-name { font-size: 1.15rem; }
  .mx-stats li { padding: .7rem .25rem .75rem; }
  .mx-num { font-size: 2.2rem; }
  .mx-stat-l { margin-top: .35rem; }
  .mx-source { margin-top: .45rem; }
  .mx-long { display: none; }
  .mx-short { display: block; }
  .mx-carousel {
    margin-top: .55rem;
    margin-inline: calc(-1 * clamp(1rem, 3vw, 2rem));
  }
  .mx-track, .mx-carousel .mx-cards {
    display: flex;
    gap: .85rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1.15rem;
    -webkit-overflow-scrolling: touch;
    padding: .15rem 1.15rem .35rem;
    scrollbar-width: none;
  }
  .mx-track::-webkit-scrollbar { display: none; }
  .mx-carousel .mx-card, .mx-slide {
    flex: 0 0 82%;
    scroll-snap-align: center;
    min-height: 9.5rem;
    margin: 0;
    padding: 1.15rem 1.15rem 1.05rem;
  }
  .mx-card-n { display: none; }
  .mx-source { margin-top: .3rem; font-size: .68rem; }
  .mx-card h3 { font-size: 1.22rem; margin: .25rem 0 .45rem; }
  .mx-card p { font-size: .88rem; line-height: 1.5; }

  .mx-card:hover { transform: none; }
  .mx-carousel-ui {
    display: flex; align-items: center; justify-content: center;
    gap: 1rem; margin-top: .65rem;
  }
  .mx-timeline {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 1.7rem;
    padding-top: 0;
    padding-inline-start: 0;
    display: flex; flex-wrap: wrap; gap: .55rem .85rem;
  }
  .mx-timeline::before, .mx-timeline li::before { display: none; }
  .mx-timeline li {
    display: flex; align-items: baseline; gap: .45rem;
    padding: .4rem .7rem;
    border: 1px solid rgba(196,163,90,.35);
    border-radius: var(--radius-pill);
  }
  .mx-year { font-size: 1rem; }
  .mx-ev { font-size: .8rem; margin-top: 0; max-width: none; }
  .mx-actions { margin-top: 1.6rem; }
  .mx-disclaimer { margin-top: 1.25rem; }
}

/* end Mandarine chapter */

/* ===== Ivory variant of the Mandarine chapter (compare with default bordeaux) ===== */
.mx-chapter.mx-ivory {
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    repeating-linear-gradient(-18deg, rgba(74, 12, 20, .02) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, #FBF8F2 0%, var(--cream) 36%, var(--cream-2) 100%);
}
.mx-chapter.mx-ivory::before {
  height: 2px;
  opacity: 1;
  background: var(--burgundy);
}
.mx-chapter.mx-ivory::after {
  height: 1px;
  opacity: .9;
  background: linear-gradient(90deg, transparent, var(--gold) 18%, var(--gold) 82%, transparent);
}
.mx-chapter.mx-ivory .mx-ring { border-color: rgba(196, 163, 90, .22); }
.mx-chapter.mx-ivory .mx-ring-b { border-color: rgba(125, 22, 35, .08); }

.mx-chapter.mx-ivory .mx-kicker { color: var(--gold-text); }
.mx-chapter.mx-ivory .mx-title { color: var(--burgundy-deep); }
.mx-chapter.mx-ivory .mx-sub { color: var(--gold-deep); }
.mx-chapter.mx-ivory .mx-lead { color: var(--ink-soft); }

.mx-chapter.mx-ivory .mx-logo-tile {
  background: var(--white);
  padding: 1.15rem 1.35rem;
  box-shadow: 0 12px 32px rgba(74, 12, 20, .08), 0 2px 8px rgba(74, 12, 20, .04);
  border: 1px solid rgba(196, 163, 90, .42);
  outline: none;
}
.mx-chapter.mx-ivory .mx-logo-tile img { height: 7.4rem; }

.mx-chapter.mx-ivory .mx-stats {
  border-top-color: rgba(125, 22, 35, .14);
  border-bottom-color: rgba(196, 163, 90, .35);
}
.mx-chapter.mx-ivory .mx-stats li + li { border-inline-start-color: rgba(196, 163, 90, .28); }
.mx-chapter.mx-ivory .mx-num { color: var(--burgundy-deep); }
.mx-chapter.mx-ivory .mx-stat-l { color: var(--gold-text); }
.mx-chapter.mx-ivory .mx-source { color: var(--muted); }

.mx-chapter.mx-ivory .mx-card {
  background: var(--white);
  border: 1px solid rgba(196, 163, 90, .42);
  backdrop-filter: none;
  box-shadow: 0 8px 24px rgba(74, 12, 20, .04);
}
.mx-chapter.mx-ivory .mx-card:hover {
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 14px 32px rgba(74, 12, 20, .08);
}
.mx-chapter.mx-ivory .mx-card-ours {
  background: var(--cream-2);
  border-color: rgba(196, 163, 90, .7);
}
.mx-chapter.mx-ivory .mx-card-n { color: var(--gold-deep); }
.mx-chapter.mx-ivory .mx-card h3 { color: var(--burgundy-deep); }
.mx-chapter.mx-ivory .mx-card p { color: var(--ink-soft); }

.mx-chapter.mx-ivory .mx-timeline::before { background: rgba(196, 163, 90, .55); }
.mx-chapter.mx-ivory .mx-year { color: var(--burgundy-deep); }
.mx-chapter.mx-ivory .mx-ev { color: var(--ink-soft); }

.mx-chapter.mx-ivory .mx-person-name { color: var(--burgundy-deep); }
.mx-chapter.mx-ivory .mx-person-role { color: var(--gold-text); }
.mx-chapter.mx-ivory .mx-person-src { color: var(--muted); }
.mx-chapter.mx-ivory .mx-mono {
  color: var(--burgundy-deep);
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(196, 163, 90, .55), 0 8px 20px rgba(74, 12, 20, .08);
}

.mx-chapter.mx-ivory .mx-cta-ghost {
  border-color: var(--burgundy);
  color: var(--burgundy) !important;
  background: transparent;
}
.mx-chapter.mx-ivory .mx-cta-ghost:hover {
  background: var(--burgundy);
  color: var(--cream) !important;
  border-color: var(--burgundy);
}
.mx-chapter.mx-ivory .mx-disclaimer { color: var(--muted); }

.mx-chapter.mx-ivory .mx-arrow {
  color: var(--burgundy-deep);
  background: var(--white);
  border-color: rgba(196, 163, 90, .5);
}
.mx-chapter.mx-ivory .mx-arrow:hover,
.mx-chapter.mx-ivory .mx-arrow:focus-visible {
  background: rgba(196, 163, 90, .16);
  color: var(--burgundy-deep);
}
.mx-chapter.mx-ivory .mx-dot { background: rgba(196, 163, 90, .35); }
.mx-chapter.mx-ivory .mx-dot.is-on { background: var(--burgundy); }

@media (max-width: 960px) {
  .mx-chapter.mx-ivory .mx-logo-tile img { height: 4.35rem; }
  .mx-chapter.mx-ivory .mx-timeline li { border-color: rgba(196, 163, 90, .4); background: var(--white); }
}
/* end ivory Mandarine chapter */


