/* ==========================================================================
   Fonts
   Duvshanit (self-hosted, 4 static weights) is the only site font, for Hebrew,
   Latin letters, digits and punctuation alike. Naor's decision, 2026-09-28,
   which replaces the 2026-08-19 arrangement (Poppins for Latin letters, Heebo
   as the last fallback).

   Arial and the generic sans-serif stay in the stack for one reason only: the
   few characters Duvshanit does not contain (the shekel sign, bullets, arrows,
   the multiplication sign). They are not a design choice.

   The exceptions live in their own stylesheets, never here: a typeface shown
   on purpose on a brand case page, monospace for code samples, and the
   dyslexia-friendly option of the accessibility toolbar.
   Source: Naor-supplied font kit (Fontbit), converted from TTF to WOFF2.
   ========================================================================== */
@font-face {
  font-family: 'Duvshanit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/duvshanit-light.woff2') format('woff2');
}
@font-face {
  font-family: 'Duvshanit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/duvshanit-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Duvshanit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/duvshanit-bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Duvshanit';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/duvshanit-black.woff2') format('woff2');
}
/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  --color-page-bg: #FDF9F7;
  --color-surface: #FFFFFF;
  --color-text-primary: #111111;
  --color-text-secondary: #5F5F5B;
  --color-border: #E6E1DC;
  --color-icon: #111111;
  --color-accent: #DA5F46;
  --color-accent-hover: #C95039;
  --color-accent-soft: #E39684;
  --color-link: #DA5F46;
  --color-link-hover: #C95039;

  --radius-button: 10px;
  --radius-card: 22px;
  --radius-icon-button: 999px;
  --radius-stat: 16px;

  --shadow-card: 0 18px 48px rgba(20, 16, 12, 0.08);

  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-7: 32px; --space-8: 40px;
  --space-9: 48px; --space-10: 64px; --space-11: 80px; --space-12: 96px; --space-13: 120px;

  /* --font-family kept as an alias so nothing that already reads it breaks;
     --font-primary is the name the Design System calls for. Both point at the
     same stack: Duvshanit, then the system sans-serif for missing glyphs only. */
  --font-family: 'Duvshanit', Arial, sans-serif;
  --font-primary: 'Duvshanit', Arial, sans-serif;

  --font-light: 300;
  --font-regular: 400;
  --font-bold: 700;
  --font-black: 900;

  /* ------------------------------------------------------------------
     Typography scale — new as of 2026-08-19 (no equivalent existed
     before; each stylesheet defined its own sizes locally). Values are
     drawn from what was already measured in use across the site, not
     invented, then expressed in rem (html below is font-size:100%, so
     1rem = 16px, the browser default — never hardcoded, respects the
     user's own browser font-size preference).
     ------------------------------------------------------------------ */
  --text-xs: 0.8125rem;   /* 13px — breadcrumbs, fine print */
  --text-sm: 0.875rem;    /* 14px — meta, small labels */
  --text-md: 0.9375rem;   /* 15px — secondary UI text */
  --text-ui: 1rem;        /* 16px — nav, buttons, TOC, form controls */

  --text-body: 1.0625rem;                          /* 17px, mobile body */
  --text-body-lg: clamp(1.0625rem, 1.15vw, 1.1875rem); /* 17-19px, desktop body */
  --text-lead: clamp(1.125rem, 1.4vw, 1.3125rem);  /* 18-21px, excerpt/lead */

  /* Kept for the article/glossary-term body and legal-page prose context
     (2026-09-16 typography standard §4, building/TYPOGRAPHY_STANDARD.md) —
     a deliberately smaller, unchanged scale for long-form reading, distinct
     from --h2 below. --display-md/-lg/-xl and --leading-display/-display-xl
     were the pre-standard H1/H2 tokens; every consumer was migrated to the
     tokens below on 2026-09-16 (2026-09-17 continuation: the last two
     non-heading holdouts moved to --figure-lg), leaving these five with no
     remaining consumers, so they were retired rather than kept as dead code. */
  --heading-content: clamp(1.75rem, 2.4vw, 2.25rem); /* 28-36px */
  --leading-heading: 1.22;
  /* A large accent-coloured figure (a stat count, a price) — visually similar
     to the old --display-md but explicitly not a heading token, so it can
     never be mistaken for one by a future page. */
  --figure-lg: clamp(2.125rem, 4vw, 3.25rem);  /* 34-52px, unchanged value */

  /* ------------------------------------------------------------------
     Sitewide typography standard, 2026-09-16 (Naor's approved decision,
     see DECISIONS.md and building/TYPOGRAPHY_STANDARD.md — the single
     source of truth for every heading role from here on).

     Four anchor points — 390 / 768 / 1200 / 1600px — pinned exactly, fluid
     in between via a clamp per segment (a single clamp across the whole
     range does not hit all four points, so each token is 3 segments plus
     a flat floor below 390 and a flat ceiling above 1600).

     Two H1 roles only: --h1-hero (homepage hero, the biggest text on the
     site) and --h1-page (every other page's own H1 — service, tool,
     article, product, legal). H2 and H3 in marketing/product sections
     share one role, --h2 (no separate "H2" and "H3" scale, and no more
     one-off "enlarged H3" exceptions per page — see DECISIONS.md).
     --subheading-marketing covers a sub-heading a step below that shared H2/H3.

     Article and glossary-term BODY content, and legal-page prose, are a
     deliberately separate context: they keep the older --heading-content
     scale untouched (smaller, matches long-form reading), not this one —
     see building/TYPOGRAPHY_STANDARD.md §5.
     ------------------------------------------------------------------ */
  --h1-hero: clamp(2.5rem, 1.7262rem + 3.1746vw, 3.25rem);
  --h1-page: clamp(2.125rem, 1.4802rem + 2.6455vw, 2.75rem);
  --h2: clamp(1.875rem, 1.4881rem + 1.5873vw, 2.25rem);
  --h3: var(--h2); /* same design context = same size, per the approved standard */
  /* A sub-heading role a step below the shared marketing H2/H3 — named for
     its visual weight, not for any HTML tag: the element using it might be an
     h3, an h4, or a styled div, decided purely by content structure. */
  --subheading-marketing: clamp(1.125rem, 1.0605rem + 0.2646vw, 1.1875rem);
  --leading-h1-hero: 1.1;
  --leading-h1-page: 1.15;
  --leading-h2: 1.12;
  --leading-subheading-marketing: 1.3;
}
@media (min-width: 768px) {
  :root {
    --h1-hero: clamp(3.25rem, 1.9167rem + 2.7778vw, 4rem);
    --h1-page: clamp(2.75rem, 1.8611rem + 1.8519vw, 3.25rem);
    --h2: clamp(2.25rem, 1.3611rem + 1.8519vw, 2.75rem);
    --subheading-marketing: clamp(1.1875rem, 1.0764rem + 0.2315vw, 1.25rem);
  }
}
@media (min-width: 1200px) {
  :root {
    --h1-hero: clamp(4rem, 1.75rem + 3vw, 4.75rem);
    --h1-page: clamp(3.25rem, 1.75rem + 2vw, 3.75rem);
    --h2: clamp(2.75rem, 2rem + 1vw, 3rem);
    --subheading-marketing: clamp(1.25rem, 0.875rem + 0.5vw, 1.375rem);
  }
}
@media (min-width: 1600px) {
  :root {
    --h1-hero: 4.75rem;
    --h1-page: 3.75rem;
    --h2: 3rem;
    --subheading-marketing: 1.375rem;
  }
}
:root {
  /* Two more shared roles, added 2026-09-17 for the per-page typography
     override mechanism (building/TYPOGRAPHY_STANDARD.md §9): a real,
     available token for each, on the same 4-point fluid pattern as above.
     Neither has been retrofitted onto an existing page's own eyebrow/card
     classes yet (those still carry their own per-page sizes) — the override
     control is fully functional the moment a component starts consuming it. */
  --text-eyebrow: clamp(0.875rem, 0.875rem + 0vw, 0.875rem); /* 14px, flat until 768 */
  --card-title-compact: clamp(1.125rem, 0.996rem + 0.5291vw, 1.25rem);
}
@media (min-width: 768px) {
  :root {
    --text-eyebrow: clamp(0.875rem, 0.6528rem + 0.463vw, 1rem);
    --card-title-compact: clamp(1.25rem, 1.0278rem + 0.463vw, 1.375rem);
  }
}
@media (min-width: 1200px) {
  :root {
    --text-eyebrow: 1rem;
    --card-title-compact: clamp(1.375rem, 1rem + 0.5vw, 1.5rem);
  }
}
@media (min-width: 1600px) {
  :root {
    --card-title-compact: 1.5rem;
  }
}
:root {
  --leading-body: 1.75;
  --leading-lead: 1.7;
  --leading-ui: 1.4;

  --header-h-desktop: 110px;
  --header-h-tablet: 80px;
  --header-h-mobile: 72px;

  --ease-entrance: cubic-bezier(.22, 1, .36, 1);
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
/* font-size:100% (not a fixed 16px, and not the old 62.5% trick) — rem
   values above stay tied to the browser's own default/user-set font size,
   the actual point of moving to rem in the first place. */
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-page-bg);
  color: var(--color-text-primary);
  font-family: var(--font-primary);
  font-size: var(--text-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
/* Form controls don't inherit font-family/size from the page by default
   (browser UA stylesheets give them their own system font) — without
   this, every input/button/select/textarea would silently stay on the
   OS font while the rest of the page moved to Duvshanit. */
button, input, textarea, select { font: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, dl, dt, dd, p { margin: 0; }

.skip-link {
  position: absolute;
  right: 12px;
  top: -60px;
  background: var(--color-accent-action, var(--color-accent));
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-button);
  z-index: 1000;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 54px;
  padding: 0 28px;
  border-radius: var(--radius-button);
  font-weight: var(--font-bold);
  font-size: var(--text-ui);
  line-height: 1;
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}
.btn--primary {
  background: var(--color-accent-action, var(--color-accent));
  color: #fff;
}
.btn--primary:hover {
  transform: translateY(-2px);
  background-color: var(--color-accent-action-hover, var(--color-accent-hover));
}
.btn--outline {
  background: transparent;
  color: var(--color-text-primary);
  border-color: var(--color-text-primary);
}
.btn--outline:hover {
  transform: translateY(-2px);
  background-color: rgba(17, 17, 17, .035);
}
.btn--outline svg { flex-shrink: 0; }

/* ==========================================================================
   Header
   Mobile First: base rules below are the mobile layout; min-width
   breakpoints (768px tablet, 1200px desktop) progressively enhance,
   matching PROJECT_CONTEXT.md's Mobile-First rule and the same pattern
   already used for /our-team/ and the "אודות" Mega Menu.
   ========================================================================== */
/* Zero-footprint marker sitting at the true top of the page, before the
   sticky header. An IntersectionObserver (main.js) watches it — once it
   scrolls out of view the header is genuinely stuck to the top, and a
   `.is-stuck` class adds the light shadow below. CSS alone has no way to
   detect "currently stuck" for a position:sticky element, hence the
   sentinel + JS. */
.site-header-sentinel {
  position: absolute;
  top: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-page-bg);
  transition: box-shadow 200ms var(--ease-entrance);
}
.site-header.is-stuck {
  box-shadow: 0 4px 16px rgba(0, 0, 0, .14);
}
.site-header__inner {
  max-width: 1600px;
  margin: 0 auto;
  min-height: var(--header-h-mobile);
  padding-inline: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.site-logo { flex-shrink: 0; }
.site-logo__img {
  height: 26px;
  width: auto;
  filter: brightness(0);
}
.site-nav { display: none; }
.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(24px, 2vw, 40px);
  font-size: var(--text-ui);
  font-weight: var(--font-regular);
}
.site-nav__list a:hover { color: var(--color-accent-text, var(--color-accent)); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}
.header-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-icon-button);
  border: 1.5px solid var(--color-border);
  color: var(--color-icon);
  flex-shrink: 0;
  transition: border-color 180ms ease, color 180ms ease;
}
.header-icon-btn:hover { border-color: var(--color-accent); color: var(--color-accent-text, var(--color-accent)); }
/* Ancestor-scoped (not bare `.header-cta`/`.btn`) on purpose: real posts on
   this site can contain AICC-generated embedded widgets with their own
   un-scoped inline <style> blocks reusing generic class names like `.btn`
   — a same-specificity, later-in-document-order rule silently wins over a
   bare `.header-cta` selector and un-hides this button on mobile, causing
   real horizontal page overflow (confirmed live on a real post). Scoping
   to `.site-header` raises specificity so this can't happen regardless of
   what a future post's embedded content does. */
.site-header .header-cta { display: none; padding: 0 24px; font-size: var(--text-ui); height: 52px; }
/* Outline treatment (Naor, 2026-09-30): desktop header CTA only, scoped the
   same way as the display/size overrides above so it never touches
   .btn--primary itself — the mega-menu and mobile-nav CTAs stay solid fill.
   Reuses the existing .btn--outline tokens for the resting state (paired
   visually with .header-icon-btn's own outline circle beside it) and fills
   solid on hover/focus so the primary action keeps its weight. */
.site-header .header-cta {
  background: transparent;
  color: var(--color-text-primary);
  border-color: var(--color-text-primary);
  border-radius: 0; /* Naor, 2026-09-30: straight corners, not the shared pill/rounded token */
}
.site-header .header-cta:hover,
.site-header .header-cta:focus-visible {
  background-color: var(--color-accent-action-hover, var(--color-accent-hover));
  border-color: var(--color-accent-hover);
  color: #fff;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-icon-button);
  border: 1.5px solid var(--color-border);
  background: transparent;
  color: var(--color-text-primary);
  cursor: pointer;
}
.menu-toggle__icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon-close { display: block; }

.site-nav-mobile {
  display: none;
  position: absolute;
  inset-inline: 0;
  top: 100%;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-6) var(--space-6) var(--space-8);
  flex-direction: column;
  gap: var(--space-5);
  z-index: 60;
}
.site-nav-mobile.is-open { display: flex; }
/* The panel sits inside the sticky header, so page scroll can never reveal
   content below the fold — it scrolls itself instead. 100% here is the
   header's own height (the positioned containing block), so the cap is
   exactly the space left under the header at any width. Added 2026-09-17
   with the services accordion, which made the panel taller than a phone. */
.site-nav-mobile {
  max-height: calc(100vh - 100%);
  max-height: calc(100dvh - 100%);
  overflow-y: auto;
  overscroll-behavior: contain;
}
/* A capped flex column would otherwise shrink its children to fit — the
   CTA button was measured at 18px tall with the accordion open. */
.site-nav-mobile > * { flex-shrink: 0; }
.site-nav-mobile__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  font-size: 1.125rem;
  font-weight: 700;
}
.site-nav-mobile__cta { width: 100%; }

/* ---------- Narrow phones, <380px (2026-10-11) ----------
   Logo plus three icon buttons (phone, WhatsApp since 2026-10-08, menu) need
   about 368px at the default spacing, so on 360px phones the header overflowed
   and pushed the whole page sideways. Tighter spacing here; below 340px the
   logo also steps down. Button size (40px tap target) and logo shape unchanged. */
@media (max-width: 379.98px) {
  .site-header__inner { padding-inline: var(--space-3); gap: var(--space-3); }
  .site-header__actions { gap: var(--space-2); }
}
@media (max-width: 339.98px) {
  .site-logo__img { height: 22px; }
}

/* ---------- Tablet, >=768px ---------- */
@media (min-width: 768px) {
  .site-header__inner { min-height: var(--header-h-tablet); padding-inline: var(--space-8); }
  .site-logo__img { height: 30px; }
  .header-icon-btn { width: 52px; height: 52px; }
  .site-header .header-cta { display: inline-flex; }
  .menu-toggle { width: 48px; height: 48px; }
  /* Buttons stay flat at --text-ui (1rem) at every width now — no
     breakpoint-driven growth, per Naor's explicit §17 instruction. */
}

/* ---------- Desktop, >=1200px — nav replaces the hamburger ---------- */
@media (min-width: 1200px) {
  .site-header__inner { min-height: var(--header-h-desktop); }
  .site-nav { display: block; }
  .site-nav-mobile,
  .menu-toggle { display: none !important; }
}

/* ==========================================================================
   Hero layout
   Mobile First: base rules below are the mobile layout; min-width
   breakpoints progressively enhance to tablet (768px) then desktop
   (1200px, two-column composition).
   ========================================================================== */
.hero {
  padding-block: var(--space-6) 64px;
}
.hero__inner {
  max-width: 1600px;
  margin: 0 auto;
  padding-inline: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.hero__content { display: flex; flex-direction: column; }

.service-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  color: var(--color-text-secondary);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.125rem;
  letter-spacing: .01em;
}
.service-row::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--color-text-secondary);
  flex-shrink: 0;
}
.service-row .ltr-term { unicode-bidi: isolate; }
.service-row__sep { color: var(--color-border); font-size: 0.8125rem; }

.service-row span:not(.service-row__sep) {
  position: relative;
  cursor: pointer;
  transition: color 180ms ease;
}
.service-row span:not(.service-row__sep)::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: -3px;
  height: 1.5px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform 220ms ease;
}
.service-row span:not(.service-row__sep):hover { color: var(--color-accent-text, var(--color-accent)); }
.service-row span:not(.service-row__sep):hover::after { transform: scaleX(1); }

.hero__title {
  position: relative;
  margin-top: var(--space-5);
  /* H1-hero role (main.css) — the one heading on the site allowed this scale,
     2026-09-16 sitewide typography standard. */
  font-size: var(--h1-hero);
  font-weight: var(--font-black);
  line-height: var(--leading-h1-hero);
  letter-spacing: -0.01em;
}
.hero__title-line { display: block; white-space: nowrap; }
.hero-title-dot {
  color: var(--color-accent);
}

.hero__paragraph {
  margin-top: var(--space-6);
  max-width: none;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.5625rem;
}

.cta-row {
  margin-top: var(--space-6);
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.cta-row .btn { width: 100%; }

.stats-row {
  margin-top: var(--space-7);
  display: flex;
  align-items: stretch;
  gap: var(--space-3);
}
.stats-row__item {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-stat);
  padding: var(--space-4) var(--space-3);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.stats-row__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.stats-row__item:hover .stats-row__icon { color: var(--color-accent); }
.stats-row__icon { color: var(--color-accent-soft); transition: color 180ms ease; }
.stats-row__value {
  font-size: 1.375rem;
  font-weight: 900;
  line-height: 1.625rem;
  font-variant-numeric: tabular-nums;
}
.stats-row__label {
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1rem;
  color: var(--color-text-secondary);
}

/* ---------- Tablet, >=768px ---------- */
@media (min-width: 768px) {
  .hero { padding-block: var(--space-7) 72px; }
  .hero__inner { padding-inline: var(--space-8); gap: var(--space-9); }

  .service-row { font-size: 0.875rem; font-weight: 400; line-height: 1.375rem; }
  .hero__title { margin-top: var(--space-6); }
  .hero__paragraph { margin-top: var(--space-8); max-width: 62ch; font-size: 1.0625rem; line-height: 1.8125rem; }

  .cta-row { margin-top: var(--space-8); flex-direction: row; align-items: center; }
  .cta-row .btn { width: auto; }

  .stats-row { margin-top: 40px; gap: var(--space-4); }
  .stats-row__value { font-size: 1.75rem; line-height: 2.125rem; }
  .stats-row__label { font-size: 0.875rem; line-height: 1.25rem; }
}

/* ---------- Desktop, >=1200px — two-column composition ---------- */
@media (min-width: 1200px) {
  .hero__inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: clamp(56px, 5.5vw, 100px);
  }
  .hero__content { flex: 0 1 640px; order: 1; }
  .hero__visual { flex: 0 1 clamp(520px, 34vw, 560px); order: 2; }

  .hero__paragraph { max-width: 46ch; }
  .stats-row__value { font-size: 2.125rem; line-height: 2.375rem; }
  .stats-row__label { font-size: 0.9375rem; line-height: 1.375rem; }
}

/* ==========================================================================
   Growth card + profile
   ========================================================================== */
.hero__visual { display: flex; flex-direction: column; gap: var(--space-5); }

.growth-card {
  max-width: none;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-5);
}
.growth-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
}
.growth-card__title { display: flex; flex-direction: column; gap: var(--space-1); }
.growth-card__label {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-secondary);
}
.growth-card__big-stat {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-accent-text, var(--color-accent));
  line-height: 1.1;
}
.growth-card__range {
  position: relative;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-icon-button);
  border: 1.5px solid var(--color-border);
  background: transparent;
  transition: border-color 180ms ease;
}
.growth-card__range:focus-within,
.growth-card__range:hover { border-color: var(--color-text-primary); }
.growth-card__range select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  color: var(--color-text-primary);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 400;
  padding-inline: 16px 34px;
  padding-block: 8px;
  border-radius: var(--radius-icon-button);
  cursor: pointer;
  white-space: nowrap;
  text-align: start;
}
.growth-card__range select:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.growth-card__range-chevron {
  position: absolute;
  inset-inline-end: 12px;
  pointer-events: none;
}

.growth-card__chart { margin-top: var(--space-5); position: relative; padding-inline-start: 40px; }
.growth-card__chart svg { display: block; width: 100%; height: 150px; }
.growth-card__gridlines line { stroke: var(--color-border); stroke-width: 1; opacity: .5; }
.growth-card__y-axis {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.6875rem;
  color: var(--color-text-secondary);
  font-variant-numeric: tabular-nums;
}
.growth-card__x-axis {
  margin-top: var(--space-2);
  padding-right: 40px;
  padding-left: 2px;
  direction: ltr;
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
  color: var(--color-text-secondary);
  overflow: visible;
}
.growth-card__x-axis span { text-align: center; }

.growth-card__minis {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.growth-card__mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 84px;
  padding: var(--space-3) var(--space-2);
  gap: 0;
  color: var(--color-text-secondary);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-stat);
}
.growth-card__mini svg { margin-bottom: var(--space-2); }
.growth-card__mini-value {
  margin-bottom: 6px;
  line-height: 1;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text-primary);
  font-variant-numeric: tabular-nums;
}
.growth-card__mini-label { font-size: 0.6875rem; line-height: 1.25; }

.growth-card__chart svg,
.growth-card__x-axis,
.growth-card__y-axis,
.growth-card__mini-value {
  transition: opacity 200ms ease;
}
.growth-card.is-updating .growth-card__chart svg,
.growth-card.is-updating .growth-card__x-axis,
.growth-card.is-updating .growth-card__y-axis,
.growth-card.is-updating .growth-card__mini-value {
  opacity: .18;
}

.team-carousel {
  direction: ltr;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  max-width: none;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding-block: var(--space-3);
  padding-inline: var(--space-3);
}
.team-carousel__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: background-color 180ms ease;
}
.team-carousel__arrow:hover { background: var(--color-page-bg); }
.team-carousel__arrow--next { margin-inline-start: auto; }

.team-carousel__thumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
/* Mobile shows a single thumbnail (the one adjacent to the active photo,
   per the furthest-first render order) — the farther one hides here and
   reappears from the tablet breakpoint up. */
.team-carousel__thumb:first-child { display: none; }
.team-carousel__thumb {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1.5px solid var(--color-border);
  border-radius: 50%;
  overflow: hidden;
  background: none;
  cursor: pointer;
  opacity: .55;
  flex-shrink: 0;
  transition: opacity 220ms ease;
}
.team-carousel__thumb:hover { opacity: .85; }
.team-carousel__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
}

.team-carousel__active {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
  min-width: 0;
}
.team-carousel__photo {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  /* Ring built from two crisp (unblurred) box-shadows: a small white gap
     matching the card surface, then a thin accent ring — never a colored
     glow, per spec. Both layers are drawn outside the image's own box, so
     they don't affect layout. */
  box-shadow: 0 0 0 3px var(--color-surface), 0 0 0 5px var(--color-accent);
  transition: opacity 400ms ease, transform 400ms ease;
}
.team-carousel__copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 88px;
  text-align: right;
  transition: opacity 400ms ease, transform 400ms ease;
}
.team-carousel__name { font-size: 0.9375rem; font-weight: 700; }
.team-carousel__role { font-size: 0.7188rem; color: var(--color-text-secondary); }

.team-carousel__dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
/* Real 24x24 tap target (WCAG 2.2 §2.5.8 minimum) while keeping the same
   6px visual dot: background-clip:content-box paints color only inside
   the padded-in content box, so the extra padding is transparent but
   still clickable — the button was previously the same 6px as its own
   visible dot, well under the 24px minimum. */
.team-carousel__dot {
  width: 24px;
  height: 24px;
  padding: 9px;
  border: none;
  border-radius: 50%;
  background: var(--color-border);
  background-clip: content-box;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}
.team-carousel__dot.is-active { background: var(--color-accent); transform: scale(1.3); }

.team-carousel__active.is-swapping .team-carousel__photo,
.team-carousel__active.is-swapping .team-carousel__copy {
  opacity: 0;
  transform: translateX(6px);
}

/* ---------- Tablet, >=768px ---------- */
@media (min-width: 768px) {
  .growth-card { max-width: 620px; padding: var(--space-6); }
  .growth-card__chart svg { height: 190px; }
  .growth-card__y-axis { height: 190px; }

  .team-carousel { max-width: 620px; gap: var(--space-3); padding-block: var(--space-4); padding-inline: var(--space-4); }
  .team-carousel__arrow { width: 38px; height: 38px; }
  .team-carousel__thumbs { gap: 8px; }
  .team-carousel__thumb:first-child { display: flex; }
  .team-carousel__thumb { width: 50px; height: 50px; }
  .team-carousel__active { gap: var(--space-3); }
  .team-carousel__photo { width: 104px; height: 104px; box-shadow: 0 0 0 4px var(--color-surface), 0 0 0 6px var(--color-accent); }
  .team-carousel__copy { min-width: 130px; gap: 4px; }
  .team-carousel__name { font-size: 1.0625rem; }
  .team-carousel__role { font-size: 0.8125rem; }
}

/* ---------- Desktop, >=1200px ---------- */
@media (min-width: 1200px) {
  .growth-card { max-width: clamp(520px, 34vw, 560px); }
  .team-carousel { max-width: clamp(520px, 34vw, 560px); }

  .team-carousel__arrow { width: 40px; height: 40px; }
  .team-carousel__thumb { width: 55px; height: 55px; }
  .team-carousel__photo { width: 122px; height: 122px; }
  .team-carousel__copy { min-width: 150px; }
  .team-carousel__name { font-size: 1.1875rem; }
  .team-carousel__role { font-size: 0.8438rem; }
}

/* ==========================================================================
   Entrance animations
   ========================================================================== */
.service-row,
.hero__title-line,
.hero__paragraph,
.cta-row,
.stats-row {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms var(--ease-entrance), transform 650ms var(--ease-entrance);
}
.service-row { transform: translateY(10px); transition-duration: 450ms; }
.hero__title-line:nth-child(1) { transition-delay: 0ms; }
.hero__title-line:nth-child(2) { transition-delay: 70ms; }
.hero__title-line:nth-child(3) { transition-delay: 140ms; }
.hero__paragraph { transition-delay: 150ms; }
.cta-row { transition-delay: 220ms; }
.stats-row { transition-delay: 300ms; }

.hero--visible .service-row,
.hero--visible .hero__title-line,
.hero--visible .hero__paragraph,
.hero--visible .cta-row,
.hero--visible .stats-row {
  opacity: 1;
  transform: translateY(0);
}

.hero__visual {
  opacity: 0;
  transform: translateY(22px) scale(.985);
  transition: opacity 700ms var(--ease-entrance) 100ms, transform 700ms var(--ease-entrance) 100ms;
}
.hero--visible .hero__visual { opacity: 1; transform: translateY(0) scale(1); }

.team-carousel {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 500ms ease 500ms, transform 500ms ease 500ms;
}
.hero--visible .team-carousel { opacity: 1; transform: translateY(0); }

.growth-card__area {
  opacity: 0;
  transition: opacity 480ms ease;
}
.growth-card__area.is-visible { opacity: 1; }

@keyframes dotPulse {
  0% { transform: scale(1); opacity: .35; }
  100% { transform: scale(2.1); opacity: 0; }
}
.growth-card__dot-ring { opacity: 0; transform-origin: 560px 12px; }
.hero--chart-drawn .growth-card__dot-ring {
  animation: dotPulse 700ms ease-out 1 forwards;
}

/* ==========================================================================
   Team page (/our-team/) - v2 redesign, 2026-08-16.
   Mobile First: base rules below are the mobile layout; min-width
   breakpoints progressively enhance to tablet (768px) then desktop
   (1200px), matching Naor's approved visual reference and
   PROJECT_CONTEXT.md's Mobile-First rule. Header is untouched.
   ========================================================================== */
.team-page { padding-block: var(--space-6) var(--space-11); }
.team-page-container {
  width: min(1440px, calc(100% - 32px));
  margin-inline: auto;
}

/* ---------- Hero: title + intro, values ---------- */
.team-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 550ms var(--ease-entrance), transform 550ms var(--ease-entrance);
}
.team-page--visible .team-hero { opacity: 1; transform: translateY(0); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-accent-text, var(--color-accent));
  font-size: 0.9375rem;
  font-weight: 700;
}
.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}
.team-hero__title {
  margin-top: var(--space-4);
  font-size: clamp(2.125rem, 8vw, 4.5rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.01em;
}
.team-hero__title span { display: block; white-space: nowrap; }
.team-hero__paragraph {
  margin-top: var(--space-5);
  max-width: 620px;
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

.team-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
.team-values__item {
  min-height: 130px;
  padding: var(--space-5) var(--space-4);
  border-inline-start: 1px solid var(--color-border);
}
.team-values__item:first-child { border-inline-start: none; padding-inline-start: 0; }
.team-values__icon { color: var(--color-accent); }
.team-values__title {
  display: block;
  margin-top: var(--space-4);
  font-size: 1rem;
  font-weight: 700;
}
.team-values__text {
  margin-top: var(--space-2);
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

/* ---------- Divider before the team section ---------- */
.team-main-section {
  margin-top: var(--space-9);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-7);
}

/* ---------- Founder card + team grid ---------- */
.team-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.founder-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 550ms var(--ease-entrance) 80ms, transform 550ms var(--ease-entrance) 80ms;
}
.team-page--visible .founder-card { opacity: 1; transform: translateY(0); }
.founder-card__media { flex-shrink: 0; }
.founder-card__media img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%) contrast(1.05);
}
.founder-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: var(--space-6) var(--space-5);
}
.founder-card__badge {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: var(--radius-icon-button);
  /* Was --color-accent-soft — measured 2.87:1 for white text at this size,
     well under the 4.5:1 WCAG AA minimum. --color-accent itself is 4.73:1
     on white, a real pass, not just a smaller number. */
  background: var(--color-accent-action, var(--color-accent));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: var(--space-1);
}
.founder-card__name { font-size: 1.5rem; font-weight: 900; }
.founder-card__role { font-size: 0.9375rem; color: var(--color-text-secondary); }
.founder-card__tags {
  margin-top: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.founder-card__tags span {
  padding: 6px 14px;
  border-radius: var(--radius-icon-button);
  border: 1px solid var(--color-border);
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}
.founder-card__contact {
  margin-top: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-primary);
  font-size: 0.875rem;
  font-weight: 400;
  padding: 8px 14px;
  border-radius: var(--radius-icon-button);
  border: 1.5px solid var(--color-border);
  transition: border-color 180ms ease, color 180ms ease;
}
.founder-card__contact:hover { border-color: var(--color-accent); color: var(--color-accent-text, var(--color-accent)); }

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms var(--ease-entrance), transform 500ms var(--ease-entrance), box-shadow 220ms ease, transform 220ms ease;
}
.team-page--visible .team-card { opacity: 1; transform: translateY(0); }
.team-page--visible .team-card:hover { transform: translateY(-4px); box-shadow: 0 22px 54px rgba(20, 16, 12, 0.12); }
.team-grid .team-card:nth-child(1) { transition-delay: 60ms; }
.team-grid .team-card:nth-child(2) { transition-delay: 100ms; }
.team-grid .team-card:nth-child(3) { transition-delay: 140ms; }
.team-grid .team-card:nth-child(4) { transition-delay: 60ms; }
.team-grid .team-card:nth-child(5) { transition-delay: 100ms; }
.team-grid .team-card:nth-child(6) { transition-delay: 140ms; }

.team-card__media { aspect-ratio: 4 / 2.7; overflow: hidden; background: var(--color-page-bg); flex-shrink: 0; }
.team-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  transition: transform 400ms var(--ease-entrance);
}
.team-card:hover .team-card__media img { transform: scale(1.04); }
.team-card__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px 16px;
}
.team-card__name { font-size: 1.0625rem; font-weight: 700; }
.team-card__role { font-size: 0.8125rem; line-height: 1.5; color: var(--color-text-secondary); }
.team-card__mail {
  position: absolute;
  top: var(--space-3);
  inset-inline-end: var(--space-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-icon-button);
  background: rgba(253, 249, 247, 0.92);
  color: var(--color-text-primary);
  border: 1.5px solid var(--color-border);
  transition: opacity 200ms ease, transform 200ms ease, border-color 180ms ease, color 180ms ease;
}
.team-card__mail:hover { border-color: var(--color-accent); color: var(--color-accent-text, var(--color-accent)); }

/* ---------- Tablet, >=768px ---------- */
@media (min-width: 768px) {
  .team-page { padding-block: var(--space-7) var(--space-12); }
  .team-page-container { width: min(1440px, calc(100% - 64px)); }

  .team-hero__paragraph { font-size: 1.0625rem; }
  .team-values { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }

  .team-main-section { margin-top: var(--space-11); padding-top: var(--space-8); }

  .founder-card { flex-direction: row; }
  .founder-card__media { width: 42%; }
  .founder-card__media img { height: 100%; min-height: 360px; }
  .founder-card__content { padding: var(--space-7); }
  .founder-card__name { font-size: 1.75rem; }
  .founder-card__role { font-size: 1rem; }

  .team-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }}

/* ---------- 600px: team grid allowed 2 columns even below tablet ---------- */
@media (min-width: 600px) and (max-width: 767px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Desktop, >=1200px ---------- */
@media (min-width: 1200px) {
  .team-page { padding-top: 90px; padding-bottom: 70px; }
  .team-page-container { width: min(1440px, calc(100% - 80px)); }

  .team-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(60px, 6vw, 110px);
    align-items: center;
  }
  .team-values {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .team-values__item { min-height: 150px; padding-inline: var(--space-5); }
  .team-values__item:first-child { padding-inline-start: 0; }

  .team-main-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 32px;
    align-items: stretch;
    direction: ltr;
  }
  .founder-card,
  .team-grid { height: 100%; }
  .founder-card { flex-direction: row; direction: ltr; min-height: 520px; }
  .founder-card__media { width: 52%; }
  .founder-card__media img { min-height: 520px; }
  .founder-card__content {
    direction: rtl;
    text-align: right;
    padding: 48px 40px;
    justify-content: center;
  }
  .founder-card__name { font-size: 2rem; }
  .founder-card__role { font-size: 1rem; }
  .founder-card__contact { font-size: 0.9375rem; }

  .team-grid {
    direction: rtl;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, 1fr);
    gap: 18px;
  }
  .team-card__media { aspect-ratio: 4 / 2.7; }}


/* ==========================================================================
   Header > "אודות" Mega Menu — desktop floating panel (>=1200px only,
   matching .site-nav's own visibility breakpoint) + mobile accordion
   (<1200px, inside the existing .site-nav-mobile panel). Scoped entirely
   under .about-mega-menu / .about-mobile / .press-link / .about-mega-link —
   no shared selectors modified. Added 2026-08-16.
   ========================================================================== */

/* ---------- Trigger state (the existing "אודות" nav link, both nav bars) ---------- */
.about-trigger {
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.about-trigger.is-open { color: var(--color-accent-text, var(--color-accent)); }
.about-trigger.is-open::after {
  content: "";
  position: absolute;
  inset-inline: 25%;
  bottom: -14px;
  height: 2px;
  background: var(--color-accent);
}

/* Desktop-only visual cue that this is a mega-menu trigger, not a plain
   link (Naor, 2026-09-23): a small category-grid icon before the label
   and a chevron after it, the chevron flipping + turning accent-colored
   once .is-open is toggled by the JS above. Mobile accordion keeps its
   own existing chevron (.about-mobile-toggle__chevron), untouched. */
.about-trigger__icon { display: none; } /* Naor 2026-10-08: no grid icon in the header menu (desktop and mobile) */
.about-trigger__chevron {
  display: inline-flex;
  color: var(--color-text-secondary);
  flex-shrink: 0;
  transition: transform 200ms ease, color 200ms ease;
}
.about-trigger.is-open .about-trigger__chevron { transform: rotate(180deg); color: var(--color-accent); }

/* ---------- Desktop floating panel ---------- */
.about-mega-menu {
  display: none;
  position: absolute;
  inset-inline: 0;
  top: 100%;
  z-index: 1000;
  pointer-events: none;
}
.about-mega-menu::before {
  content: "";
  position: absolute;
  top: 5px;
  left: var(--caret-left, 50%);
  width: 14px;
  height: 14px;
  background: var(--color-surface);
  box-shadow: -2px -2px 6px rgba(20, 16, 12, 0.06);
  transform: translateX(-50%) rotate(45deg);
  opacity: 0;
  transition: opacity 180ms ease;
}

.about-mega-menu__panel {
  /* Same reasoning as .services-mega__panel's --services-mega-divider
     (2026-09-23): a genuinely neutral hairline for this panel's own
     dividers, independent of --color-border, which is sitewide and can
     be set to a saturated color via the Customizer's color-switcher —
     it currently renders green on this Dev environment. Naor asked for
     this menu to match the שירותים menu's graphic language exactly. */
  --about-mega-divider: color-mix(in srgb, var(--color-text-primary) 14%, transparent);
  position: relative;
  top: 12px;
  width: min(1280px, calc(100vw - 56px));
  margin-inline: auto;
  background: var(--color-surface);
  border-radius: var(--radius-card);
  box-shadow: 0 20px 60px rgba(17, 17, 17, 0.1);
  overflow: hidden;
  max-height: calc(100vh - var(--header-h-desktop) - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 180ms var(--ease-entrance), transform 180ms var(--ease-entrance);
}

.about-mega-menu.is-open {
  display: block;
  pointer-events: auto;
}
.about-mega-menu.is-open::before { opacity: 1; }
.about-mega-menu.is-open .about-mega-menu__panel {
  opacity: 1;
  transform: translateY(0);
  transition-duration: 220ms;
}

.about-mega-menu__grid {
  direction: ltr;
  display: grid;
  grid-template-columns: minmax(440px, 1.35fr) minmax(300px, 1fr) minmax(220px, 0.68fr);
  grid-template-areas: "about press navigation";
  min-height: 420px;
}
.about-mega-menu__about,
.about-mega-menu__press,
.about-mega-menu__navigation {
  direction: rtl;
  text-align: right;
  padding: clamp(28px, 3vw, 44px) clamp(24px, 2.5vw, 36px);
}
.about-mega-menu__about { grid-area: about; }
.about-mega-menu__press { grid-area: press; border-inline-start: 1px solid var(--about-mega-divider); }
.about-mega-menu__navigation { grid-area: navigation; border-inline-start: 1px solid var(--about-mega-divider); }

/* ---------- "עלינו" column ---------- */
.about-mega-menu__eyebrow {
  display: block;
  color: var(--color-accent-text, var(--color-accent));
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.about-mega-menu__title {
  margin: var(--space-2) 0 0;
  font-size: clamp(1.3125rem, 1.9vw, 1.6875rem);
  font-weight: 900;
  line-height: 1.15;
}
.about-mega-menu__dot { color: var(--color-accent); }

.about-mega-menu__about-body {
  margin-top: var(--space-5);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}
.about-mega-menu__photo {
  flex-shrink: 0;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%) contrast(1.05);
}
.about-mega-menu__paragraph {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.8438rem;
  line-height: 1.6;
}

.about-mega-menu__stats {
  margin: var(--space-5) 0 0;
  display: flex;
  align-items: center;
}
.about-mega-menu__stat {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-inline-end: var(--space-5);
}
.about-mega-menu__stat:not(:first-child) {
  padding-inline-start: var(--space-5);
}
.about-mega-menu__stat:not(:first-child)::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: var(--color-border);
}
.about-mega-menu__stat svg { color: var(--color-accent-soft); }
.about-mega-menu__stat dt {
  margin: var(--space-1) 0 0;
  font-size: 1.125rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.about-mega-menu__stat dd { margin: 0; font-size: 0.7188rem; color: var(--color-text-secondary); }

.about-mega-menu__bottom {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}
.about-mega-menu__video {
  position: relative;
  flex-shrink: 0;
  display: block;
  width: 200px;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
}
.about-mega-menu__video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms var(--ease-entrance);
}
.about-mega-menu__video:hover img { transform: scale(1.04); }
.about-mega-menu__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(17, 17, 17, 0.18);
  transition: background-color 180ms ease;
}
.about-mega-menu__play svg { filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.about-mega-menu__video:hover .about-mega-menu__play { background: rgba(17, 17, 17, 0.28); }

.about-mega-menu__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}
.about-mega-menu__cta { height: 44px; padding-inline: 20px; font-size: 0.9375rem; }

/* ---------- Column headings shared by press + navigation ---------- */
.about-mega-menu__col-title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.9062rem;
  font-weight: 700;
}
.about-mega-menu__col-title svg { color: var(--color-accent); flex-shrink: 0; }
.about-mega-menu__col-line {
  display: block;
  margin: var(--space-2) 0 var(--space-4);
  width: 28px;
  height: 2px;
  background: var(--color-accent);
}

/* ---------- Press column rows ---------- */
.about-mega-menu__press-list { display: flex; flex-direction: column; }
.press-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 80px;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--about-mega-divider);
  cursor: pointer;
}
.about-mega-menu__press-list li:last-child .press-link { border-bottom: none; }
.press-link__main { display: flex; align-items: center; gap: var(--space-3); min-width: 0; }
.press-link__logo { flex-shrink: 0; width: 60px; height: 42px; display: flex; align-items: center; justify-content: center; }
.press-link__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.press-link__text { font-size: 0.9375rem; line-height: 1.5; color: var(--color-text-primary); }
/* Points inward at its own row and stays a muted gray at rest, matching
   the שירותים menu's per-link arrow language (Naor, 2026-09-23). */
.press-link__arrow {
  flex-shrink: 0;
  color: var(--color-text-secondary);
  transform: scaleX(-1);
  transition: color 180ms ease;
}
.press-link:hover .press-link__arrow,
.press-link:focus-visible .press-link__arrow { color: var(--color-accent); }

/* ---------- "אודות" navigation column rows ---------- */
.about-mega-menu__links { display: flex; flex-direction: column; }
.about-mega-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 66px;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--about-mega-divider);
  cursor: pointer;
  transition:
    background-color 180ms ease,
    padding-inline 180ms ease,
    color 180ms ease;
}
.about-mega-menu__links li:last-child .about-mega-link { border-bottom: none; }
.about-mega-link svg { color: var(--color-accent); flex-shrink: 0; }
.about-mega-link span { font-size: 0.8438rem; font-weight: 700; color: var(--color-text-primary); }
.about-mega-link:hover {
  background: rgba(232, 95, 69, 0.035);
  padding-inline-start: var(--space-2);
}

@media (min-width: 1200px) {
  .about-mega-menu { display: none; }
  .about-mega-menu.is-open { display: block; }
}

/* ---------- Mobile / tablet accordion (<1200px, inside .site-nav-mobile) ---------- */
.about-mobile-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  color: inherit;
  cursor: pointer;
}
.about-mobile-toggle__label { display: inline-flex; align-items: center; gap: 7px; }
.about-mobile-toggle__chevron { transition: transform 220ms ease; color: var(--color-text-secondary); }
.about-mobile-toggle[aria-expanded="true"] .about-mobile-toggle__chevron { transform: rotate(90deg); color: var(--color-accent); }

.about-mobile {
  overflow: hidden;
  max-height: 0;
  transition: max-height 280ms var(--ease-entrance);
}
.about-mobile.is-open { max-height: 2400px; }

.about-mobile__links {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
}
.about-mobile__links a,
.about-mobile__press a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 64px;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9375rem;
  font-weight: 400;
}
.about-mobile__links a svg { color: var(--color-accent); flex-shrink: 0; }

.about-mobile__press { margin-top: var(--space-6); }
.about-mobile__press .about-mobile__press-title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.9375rem;
  font-weight: 700;
}
.about-mobile__press .about-mobile__press-title svg { color: var(--color-accent); }
.about-mobile__press ul { margin-top: var(--space-3); display: flex; flex-direction: column; }
.about-mobile__press .press-link__text { font-size: 0.975rem; line-height: 1.5; }
.about-mobile__press a { min-height: 64px; }
.about-mobile__press a:last-child { border-bottom: none; }

.about-mobile__about {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.about-mobile__photo { width: 96px; height: 96px; margin-top: var(--space-4); }
.about-mobile__about .about-mega-menu__title { margin-top: var(--space-4); font-size: 1.625rem; }
.about-mobile__about .about-mega-menu__paragraph { margin-top: var(--space-3); }
.about-mobile__about .about-mega-menu__stats { margin-top: var(--space-6); width: 100%; }
.about-mobile__about .about-mega-menu__video { margin-top: var(--space-6); width: 100%; max-width: 255px; }
.about-mobile__about .about-mega-menu__ctas { margin-top: var(--space-5); width: 100%; flex-direction: column; align-items: stretch; }
.about-mobile__about .about-mega-menu__ctas .btn { width: 100%; }

/* ==========================================================================
   Header > "שירותים" Mega Menu — rebuilt 2026-09-17 from the Figma
   "Mega Menu • Design & Handoff" file: four clean service groups (right to
   left: קידום, פיתוח, שיווק, עיצוב), readable link lists and a subtle
   contact strip, no marketing panel. Desktop floating panel >=1200px
   (matching .site-nav's own visibility breakpoint); <1200px an accordion
   inside the existing .site-nav-mobile panel, one group open at a time.
   Figma values were adapted to the site's own tokens (Duvshanit via
   --font-primary, --subheading-marketing / --text-ui / --text-md roles,
   --radius-button, --color-* tokens) — nothing from the Figma preview
   palette or Heebo is used. Every accent-coloured element reads
   var(--color-accent) so the Customizer colour switcher keeps working.
   Scoped entirely under .services-mega* / .services-mobile* /
   .services-trigger — no shared selector is modified.
   ========================================================================== */

/* ---------- Trigger state (the existing "שירותים" nav link, both nav bars) ---------- */
.services-trigger {
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.services-trigger.is-open { color: var(--color-accent-text, var(--color-accent)); }
.services-trigger.is-open::after {
  content: "";
  position: absolute;
  inset-inline: 25%;
  bottom: -14px;
  height: 2px;
  background: var(--color-accent);
}

/* Desktop-only visual cue that this is a mega-menu trigger, not a plain
   link (Naor, 2026-09-23) — see the matching "אודות" trigger above for
   the full rationale. Mobile accordion keeps its own existing chevron
   (.services-mobile-toggle-top__chevron), untouched. */
.services-trigger__icon { display: none; } /* Naor 2026-10-08: no grid icon in the header menu (desktop and mobile) */
.services-trigger__chevron {
  display: inline-flex;
  color: var(--color-text-secondary);
  flex-shrink: 0;
  transition: transform 200ms ease, color 200ms ease;
}
.services-trigger.is-open .services-trigger__chevron { transform: rotate(180deg); color: var(--color-accent); }

/* ---------- Desktop floating panel ---------- */
.services-mega {
  display: none;
  position: absolute;
  inset-inline: 0;
  top: 100%;
  z-index: 1000;
  pointer-events: none;
}
.services-mega::before {
  content: "";
  position: absolute;
  top: 5px;
  left: var(--caret-left, 50%);
  width: 14px;
  height: 14px;
  background: var(--color-surface);
  box-shadow: -2px -2px 6px rgba(20, 16, 12, 0.06);
  transform: translateX(-50%) rotate(45deg);
  opacity: 0;
  transition: opacity 180ms ease;
}

.services-mega__panel {
  /* A genuinely neutral hairline for this panel's own dividers, independent
     of --color-border — that token is sitewide (buttons, cards, footer…)
     and can be set to a saturated color via the Customizer's color-switcher
     (it currently renders green on this Dev environment from an earlier
     test), which read as an unwanted "green stripe" here. Mixed from
     --color-text-primary instead, so it stays a plain gray hairline
     regardless of what the accent/border controls are set to. */
  --services-mega-divider: color-mix(in srgb, var(--color-text-primary) 14%, transparent);
  position: relative;
  top: 12px;
  width: min(1600px, calc(100vw - 56px));
  margin-inline: auto;
  background: var(--color-surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  max-height: calc(100vh - var(--header-h-desktop) - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 200ms var(--ease-entrance), transform 200ms var(--ease-entrance);
}

.services-mega.is-open {
  display: block;
  pointer-events: auto;
}
.services-mega.is-open::before { opacity: 1; }
.services-mega.is-open .services-mega__panel {
  opacity: 1;
  transform: translateY(0);
  transition-duration: 240ms;
}

/* Four groups, right to left in the document's own RTL flow; the height is
   whatever the longest list needs (no fixed height, no filler panel).
   Restyled 2026-09-23 from Naor's mockup (white surface, no panel border,
   thin neutral column dividers, stacked icon-over-heading, a short accent
   line under each heading, and a trailing arrow per link) — colors, font
   and spacing tokens are all existing ones, no new palette introduced.
   Note: --color-border currently renders green on this Dev environment
   because of a Customizer color-switcher test (see CHANGELOG 2026-09-23);
   these dividers use that same token on purpose, per the sitewide
   color-switcher rule, so they'll read as neutral gray again once that
   control is reset. */
.services-mega__groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
  padding: var(--space-7) var(--space-8) var(--space-6);
  text-align: right;
}
.services-mega-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.services-mega-group:not(:first-child) {
  border-inline-start: 1px solid var(--services-mega-divider);
  padding-inline-start: var(--space-6);
}
.services-mega-group__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  min-height: 32px;
}
.services-mega-group__icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--color-accent);
}
.services-mega-group__icon svg { width: 24px; height: 24px; }
.services-mega-group__title {
  font-size: var(--subheading-marketing);
  font-weight: var(--font-bold);
  line-height: var(--leading-subheading-marketing);
  color: var(--color-text-primary);
}
.services-mega-group__title-line {
  display: block;
  margin-top: var(--space-2);
  width: 28px;
  height: 2px;
  background: var(--color-accent);
}

.services-mega-group__list {
  margin-top: var(--space-3);
  display: flex;
  flex-direction: column;
}
.services-mega-group__list li { border-bottom: 1px solid var(--services-mega-divider); }
.services-mega-group__list li:last-child { border-bottom: none; }
.services-mega-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: 44px;
  padding-inline: var(--space-3);
  margin-inline: calc(-1 * var(--space-3));
  border-radius: var(--radius-button);
  font-size: var(--text-ui);
  font-weight: var(--font-regular);
  line-height: var(--leading-ui);
  color: var(--color-text-primary);
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}
/* Points inward at its own label (mirrored via scaleX, not a second SVG)
   and stays a muted gray at rest — Naor, 2026-09-23: this is a quiet
   row marker, not a "go forward" affordance like the view-all/contact
   arrows, so it neither matches their direction nor their accent color
   until the row is actually hovered/focused. */
.services-mega-link__arrow {
  flex-shrink: 0;
  color: var(--color-text-secondary);
  transform: scaleX(-1);
  transition: color 180ms ease;
}
.services-mega-link:hover,
.services-mega-link:focus-visible {
  background: color-mix(in srgb, var(--color-accent) 6%, transparent);
  color: var(--color-accent-text, var(--color-accent));
}
.services-mega-link:hover .services-mega-link__arrow,
.services-mega-link:focus-visible .services-mega-link__arrow {
  color: var(--color-accent);
}

.services-mega-viewall {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  align-self: flex-start;
  margin-top: var(--space-4);
  min-height: 32px;
  font-size: var(--text-md);
  font-weight: var(--font-bold);
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color 180ms ease;
}
.services-mega-viewall__arrow { display: inline-flex; color: var(--color-accent); transition: transform 180ms ease; }
.services-mega-viewall:hover { color: var(--color-accent-text, var(--color-accent)); }
.services-mega-viewall:hover .services-mega-viewall__arrow,
.services-mega-viewall:focus-visible .services-mega-viewall__arrow { transform: translateX(-4px); }

/* ---------- Contact strip ---------- */
.services-mega__contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  padding: var(--space-4) var(--space-8);
  border-top: 1px solid var(--services-mega-divider);
  background: color-mix(in srgb, var(--color-accent) 4%, var(--color-surface));
  text-align: right;
}
.services-mega__contact-text {
  font-size: var(--text-ui);
  font-weight: var(--font-regular);
  line-height: var(--leading-ui);
  color: var(--color-text-primary);
}
.services-mega__contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 40px;
  padding-inline: var(--space-5);
  border-radius: var(--radius-button);
  background: color-mix(in srgb, var(--color-accent) 10%, transparent);
  font-size: var(--text-ui);
  font-weight: var(--font-bold);
  color: var(--color-accent-text, var(--color-accent));
  text-decoration: none;
  transition: background-color 180ms ease;
}
.services-mega__contact-arrow { display: inline-flex; color: var(--color-accent-text, var(--color-accent)); transition: transform 180ms ease; }
.services-mega__contact-link:hover { background: color-mix(in srgb, var(--color-accent) 16%, transparent); }
.services-mega__contact-link:hover .services-mega__contact-arrow,
.services-mega__contact-link:focus-visible .services-mega__contact-arrow { transform: translateX(-4px); }

@media (min-width: 1200px) {
  .services-mega { display: none; }
  .services-mega.is-open { display: block; }
}

/* Narrower desktop widths (1200-1439px, e.g. a laptop screen): tighten
   spacing first so all 4 columns keep their own line of readable text,
   rather than letting the grid wrap or squeeze link labels. */
@media (min-width: 1200px) and (max-width: 1439px) {
  .services-mega__groups {
    gap: var(--space-5);
    padding: var(--space-6) var(--space-6) var(--space-5);
  }
  .services-mega-group:not(:first-child) { padding-inline-start: var(--space-5); }
  .services-mega__contact { padding: var(--space-3) var(--space-6); }
}

/* ---------- Mobile / tablet accordion (<1200px, inside .site-nav-mobile) ---------- */
/* Top-level "שירותים" toggle (the trigger li itself) */
.services-mobile-toggle-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  color: inherit;
  cursor: pointer;
}
.services-mobile-toggle-top__label { display: inline-flex; align-items: center; gap: 7px; }
.services-mobile-toggle-top__chevron { transition: transform 220ms ease; color: var(--color-text-secondary); }
.services-mobile-toggle-top[aria-expanded="true"] .services-mobile-toggle-top__chevron { transform: rotate(90deg); color: var(--color-accent); }

.services-mobile {
  overflow: hidden;
  max-height: 0;
  transition: max-height 280ms var(--ease-entrance);
}
.services-mobile.is-open { max-height: 4000px; }

.services-mobile__group {
  margin-top: var(--space-3);
  border-top: 1px solid var(--color-border);
}
.services-mobile-toggle {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  background: none;
  border: none;
  padding: var(--space-1) 0;
  font: inherit;
  font-size: var(--text-ui);
  font-weight: var(--font-bold);
  line-height: var(--leading-ui);
  color: inherit;
  text-align: right;
  cursor: pointer;
}
.services-mobile-toggle__label { display: flex; align-items: center; gap: var(--space-3); min-width: 0; }
.services-mobile-toggle__icon { display: inline-flex; flex-shrink: 0; color: var(--color-accent); }
.services-mobile-toggle__icon svg { width: 22px; height: 22px; }
.services-mobile-toggle__chevron { flex-shrink: 0; display: inline-flex; transition: transform 220ms ease; color: var(--color-text-secondary); }
.services-mobile-toggle[aria-expanded="true"] .services-mobile-toggle__chevron { transform: rotate(90deg); color: var(--color-accent); }

.services-mobile-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 260ms var(--ease-entrance);
}
.services-mobile-panel.is-open { max-height: 1400px; }
.services-mobile-panel__list {
  display: flex;
  flex-direction: column;
  padding-inline-start: calc(22px + var(--space-3));
}
.services-mobile-panel__list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--text-ui);
  font-weight: var(--font-regular);
  line-height: var(--leading-ui);
  color: var(--color-text-primary);
}
.services-mobile-panel__list a:hover,
.services-mobile-panel__list a:focus-visible { color: var(--color-accent-text, var(--color-accent)); }
.services-mobile-viewall {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  margin: var(--space-1) 0 var(--space-3);
  padding-inline-start: calc(22px + var(--space-3));
  font-size: var(--text-md);
  font-weight: var(--font-bold);
  color: var(--color-text-primary);
}
.services-mobile-viewall__arrow { display: inline-flex; color: var(--color-accent); }
.services-mobile-viewall:hover { color: var(--color-accent-text, var(--color-accent)); }

.services-mobile__contact {
  margin-top: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}
.services-mobile__contact-text {
  font-size: var(--text-ui);
  font-weight: var(--font-regular);
  line-height: var(--leading-ui);
}
.services-mobile__contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  font-size: var(--text-ui);
  font-weight: var(--font-bold);
  color: var(--color-text-primary);
}
.services-mobile__contact-arrow { display: inline-flex; color: var(--color-accent-text, var(--color-accent)); }
.services-mobile__contact-link:hover { color: var(--color-accent-text, var(--color-accent)); }

/* ==========================================================================
   Header > "תיק עבודות" mega menu (2026-10-04, replaces the 2026-09-25
   category dropdown and its mobile accordion). One markup block
   (#portfolio-mega-menu, rendered by inc/portfolio-menu.php): a full-width
   drawer under the header on mobile and tablet (<1200px) and a floating
   panel under the desktop nav (>=1200px), driven by main.js. Mobile First.
   Every color, radius, shadow, spacing and type size is an existing token;
   the two local custom properties derive from them the same way the
   אודות/שירותים panels do. Scoped under .pf-menu / .portfolio-trigger /
   .portfolio-mobile-toggle — no shared selector is modified.
   ========================================================================== */

/* ---------- Trigger state (the existing "תיק עבודות" nav link, both nav bars) ---------- */
.portfolio-trigger {
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.portfolio-trigger.is-open { color: var(--color-accent-text, var(--color-accent)); }
.portfolio-trigger.is-open::after {
  content: "";
  position: absolute;
  inset-inline: 25%;
  bottom: -14px;
  height: 2px;
  background: var(--color-accent);
}
.portfolio-trigger__icon { display: none; } /* Naor 2026-10-08: no grid icon in the header menu (desktop and mobile) */
.portfolio-trigger__chevron {
  display: inline-flex;
  color: var(--color-text-secondary);
  flex-shrink: 0;
  transition: transform 200ms ease, color 200ms ease;
}
.portfolio-trigger.is-open .portfolio-trigger__chevron { transform: rotate(180deg); color: var(--color-accent); }

/* The nav item inside the hamburger menu: same row as the other top-level
   toggles there, but it opens the drawer, so its chevron points inward
   (left, in RTL) instead of rotating like an accordion. */
.portfolio-mobile-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  color: inherit;
  cursor: pointer;
}
.portfolio-mobile-toggle.is-open::after { content: none; }
.portfolio-mobile-toggle__label { display: inline-flex; align-items: center; gap: 7px; }
.portfolio-mobile-toggle__chevron {
  display: inline-flex;
  color: var(--color-text-secondary);
  transition: transform 220ms ease, color 220ms ease;
}
.portfolio-mobile-toggle[aria-expanded="true"] .portfolio-mobile-toggle__chevron { color: var(--color-accent); transform: translateX(-3px); }

/* ---------- Drawer: mobile base (<768px) ---------- */
.pf-menu {
  --pf-divider: color-mix(in srgb, var(--color-text-primary) 10%, transparent);
  --pf-tint: color-mix(in srgb, var(--color-accent) 10%, transparent);
  display: none;
  position: fixed;
  inset-inline: 0;
  top: var(--pf-top, var(--header-h-mobile));
  bottom: 0;
  z-index: 1000;
  background: var(--color-surface);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.pf-menu.is-open { display: block; }
html.pf-menu-locked,
html.pf-menu-locked body { overflow: hidden; }

.pf-menu__panel { padding: var(--space-3) var(--space-4) calc(var(--space-8) + env(safe-area-inset-bottom, 0px)); }
.pf-menu__bar { display: flex; margin-bottom: var(--space-2); }
.pf-menu__back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-height: 44px;
  padding: 0 var(--space-2);
  margin-inline-start: calc(-1 * var(--space-2));
  background: none;
  border: 0;
  border-radius: var(--radius-button);
  color: var(--color-text-secondary);
  font-size: var(--text-md);
  font-weight: var(--font-bold);
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease;
}
.pf-menu__back:hover { color: var(--color-accent-text, var(--color-accent)); background: var(--pf-tint); }
.pf-menu__back svg { transform: scaleX(-1); }
.pf-menu__head {
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--pf-divider);
  margin-bottom: var(--space-2);
}
.pf-menu__title {
  font-size: var(--heading-content);
  line-height: var(--leading-heading);
  font-weight: var(--font-bold);
  color: var(--color-text-primary);
}
.pf-menu__subtitle { margin-top: var(--space-1); font-size: var(--text-sm); color: var(--color-text-secondary); }
.pf-menu__cats { display: flex; flex-direction: column; gap: 2px; }

.pf-cat__btn {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  min-height: 64px;
  padding: var(--space-3);
  background: transparent;
  border: 0;
  border-radius: var(--radius-button);
  color: var(--color-text-primary);
  font: inherit;
  font-size: var(--text-ui);
  font-weight: var(--font-bold);
  text-align: start;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}
.pf-cat__btn:hover { background: var(--pf-tint); }
.pf-cat.is-active > .pf-cat__btn { background: var(--pf-tint); color: var(--color-accent-text, var(--color-accent)); }
.pf-cat__thumb {
  width: 52px;
  height: 40px;
  flex-shrink: 0;
  border-radius: calc(var(--radius-button) - 2px);
  overflow: hidden;
  background: var(--color-page-bg);
}
.pf-cat__img { width: 100%; height: 100%; object-fit: cover; }
.pf-cat__name { flex: 1 1 auto; min-width: 0; }
.pf-cat__chevron {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--color-text-secondary);
  transition: transform 200ms ease, color 200ms ease;
}
.pf-cat.is-active .pf-cat__chevron { transform: rotate(180deg); color: var(--color-accent); }

.pf-panel { display: none; padding: var(--space-2) 0 var(--space-4); }
.pf-panel.is-active { display: block; }
.pf-panel__head { padding: 0 var(--space-3) var(--space-3); }
.pf-panel__eyebrow,
.pf-panel__title { display: none; }
.pf-panel__desc { font-size: var(--text-ui); line-height: var(--leading-ui); color: var(--color-text-secondary); }
.pf-panel__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.pf-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-surface);
  border: 1px solid var(--pf-divider);
  border-radius: var(--radius-stat);
  overflow: hidden;
  color: var(--color-text-primary);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.pf-card:hover,
.pf-card:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-card); border-color: transparent; }
.pf-card__media { display: block; aspect-ratio: 3 / 2; background: var(--color-page-bg); overflow: hidden; }
.pf-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 320ms var(--ease-entrance); }
.pf-card:hover .pf-card__img { transform: scale(1.03); }
.pf-card__body { display: flex; flex-direction: column; gap: 2px; padding: var(--space-2) var(--space-3) var(--space-3); }
.pf-card__name { font-size: var(--text-ui); font-weight: var(--font-bold); line-height: 1.3; overflow-wrap: anywhere; }
.pf-card__caption { font-size: var(--text-xs); color: var(--color-text-secondary); }
.pf-panel__empty { padding: var(--space-3); font-size: var(--text-md); color: var(--color-text-secondary); }
.pf-panel__archive,
.pf-menu__all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 48px;
  padding: var(--space-3);
  border-radius: var(--radius-button);
  color: var(--color-accent-text, var(--color-accent));
  font-size: var(--text-ui);
  font-weight: var(--font-bold);
  transition: background-color 180ms ease;
}
.pf-panel__archive:hover,
.pf-menu__all:hover { background: var(--pf-tint); }
.pf-arrow { display: inline-flex; flex-shrink: 0; transition: transform 180ms ease; }
.pf-panel__archive:hover .pf-arrow,
.pf-menu__all:hover .pf-arrow,
.pf-panel__archive:focus-visible .pf-arrow,
.pf-menu__all:focus-visible .pf-arrow { transform: translateX(-4px); }
.pf-panel__archive { margin-top: var(--space-3); }
.pf-menu__all {
  margin-top: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--pf-divider);
  border-radius: 0 0 var(--radius-button) var(--radius-button);
}
.pf-menu__preview { display: none; }

@media (max-width: 359px) {
  .pf-panel__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Tablet, >=768px: still the drawer, with the compact two-column
   panel inside it (category rail on the right, preview on the left) ---------- */
@media (min-width: 768px) {
  .pf-menu { background: var(--color-page-bg); }
  .pf-menu__panel {
    width: min(1280px, calc(100% - 48px));
    margin: var(--space-4) auto var(--space-8);
    padding: var(--space-5) var(--space-6) var(--space-6);
    background: var(--color-surface);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
  }
  .pf-menu__grid {
    display: grid;
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
    gap: var(--space-7);
    align-items: start;
  }
  .pf-menu__rail { grid-column: 1; }
  .pf-menu__preview { display: block; grid-column: 2; min-width: 0; }
  .pf-menu__title { font-size: var(--card-title-compact); }
  .pf-cat__btn { min-height: 56px; }
  .pf-panel { padding: 0; }
  .pf-panel__head { padding: 0 0 var(--space-4); }
  .pf-panel__eyebrow { display: block; font-size: var(--text-xs); font-weight: var(--font-bold); color: var(--color-accent-text, var(--color-accent)); }
  .pf-panel__title {
    display: block;
    margin-top: 2px;
    font-size: var(--heading-content);
    line-height: var(--leading-heading);
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
  }
  .pf-panel__desc { margin-top: var(--space-1); }
  .pf-panel__grid { gap: var(--space-4); }
  .pf-panel__archive { margin-top: var(--space-4); }
}

/* ---------- Desktop, >=1200px: floating panel under the nav, the same
   mechanics (caret, entrance, capped height) as the אודות/שירותים panels ---------- */
@media (min-width: 1200px) {
  .pf-menu {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    bottom: auto;
    background: transparent;
    overflow: visible;
    pointer-events: none;
  }
  .pf-menu::before {
    content: "";
    position: absolute;
    top: 5px;
    left: var(--caret-left, 50%);
    width: 14px;
    height: 14px;
    background: var(--color-surface);
    box-shadow: -2px -2px 6px rgba(20, 16, 12, 0.06);
    transform: translateX(-50%) rotate(45deg);
    opacity: 0;
    transition: opacity 180ms ease;
  }
  .pf-menu.is-open { pointer-events: auto; }
  .pf-menu.is-open::before { opacity: 1; }
  .pf-menu__panel {
    position: relative;
    top: 12px;
    width: min(1280px, calc(100vw - 56px));
    margin: 0 auto;
    padding: var(--space-7);
    max-height: calc(100vh - var(--header-h-desktop) - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 200ms var(--ease-entrance), transform 200ms var(--ease-entrance);
  }
  .pf-menu.is-open .pf-menu__panel {
    opacity: 1;
    transform: translateY(0);
    transition-duration: 240ms;
  }
  .pf-menu__bar { display: none; }
  .pf-menu__grid { grid-template-columns: 280px minmax(0, 1fr); gap: var(--space-8); }
  .pf-card__media { aspect-ratio: 5 / 2; }
}
/* Shorter desktop screens: tighter rows and flatter images so the whole
   menu stays inside the viewport before the panel has to scroll. */
@media (min-width: 1200px) and (max-height: 760px) {
  .pf-menu__panel { padding: var(--space-5) var(--space-6); }
  .pf-cat__btn { min-height: 48px; padding-block: var(--space-2); }
  .pf-card__media { aspect-ratio: 3 / 1; }
  .pf-panel__grid { gap: var(--space-3); }
}

/* ==========================================================================
   /about/ page — implemented from Naor's approved visual mockup, 2026-08-16.
   Mobile First: base rules below are the mobile layout; min-width
   breakpoints progressively enhance to tablet (768px) then desktop
   (1200px), matching this project's established convention. Header,
   footer, other pages, and template-level tokens are untouched — every
   selector here is scoped under .about-page.
   ========================================================================== */
.about-page { padding-block: var(--space-6) var(--space-12); }
.about-page-container {
  width: min(1440px, calc(100% - 32px));
  margin-inline: auto;
}

.about-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-secondary);
  font-size: 0.8125rem;
}
.about-breadcrumb a { color: var(--color-text-secondary); transition: color 180ms ease; }
.about-breadcrumb a:hover { color: var(--color-accent-text, var(--color-accent)); }
.about-breadcrumb span[aria-hidden] { font-size: 0.6875rem; }

/* ---------- Hero ---------- */
.about-hero {
  margin-top: var(--space-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
}
.about-hero__media-wrap {
  position: relative;
  justify-self: center;
  width: clamp(220px, 60vw, 320px);
}
.about-hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
}
.about-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* Real team photos crossfade through this circle instead of one static
   founder photo (main.js toggles .is-active every 1s) — all images stacked
   on top of each other, only the active one's opacity is raised, so the
   swap reads as a clean dissolve rather than a hard cut. */
.about-hero__crossfade-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  filter: grayscale(100%) contrast(1.05);
  transition: opacity 700ms ease;
}
.about-hero__crossfade-img.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .about-hero__crossfade-img { transition: none; }
}

/* Decorative orbit ring + traveling dot around the founder photo — same
   technique already used for the portfolio hero's orbit (a centered-anchor
   dot animated via offset-path, which keeps it correctly positioned on the
   ring regardless of the photo's own responsive size). The ring sits on a
   sibling wrapper, not inside .about-hero__media itself, since that element
   needs its own overflow:hidden to crop the photo into a circle. */
.about-hero__orbit {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  pointer-events: none;
}
.about-hero__orbit-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  margin: -7px;
  border-radius: 50%;
  background: var(--color-accent);
  offset-path: circle(50%);
  offset-distance: 0%;
  animation: about-hero-orbit 9s linear infinite;
}
@keyframes about-hero-orbit { to { offset-distance: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .about-hero__orbit-dot { animation: none; offset-distance: 8%; }
}

.about-hero__eyebrow {
  display: block;
  color: var(--color-accent-text, var(--color-accent));
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.about-hero__title {
  margin-top: var(--space-3);
  font-size: clamp(2.125rem, 8vw, 4.625rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.about-hero__title span { display: block; }
.about-hero__title .hero-title-dot { color: var(--color-accent); }
.about-hero__paragraph {
  margin-top: var(--space-4);
  max-width: 640px;
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}
.about-hero__paragraph + .about-hero__paragraph { margin-top: var(--space-3); }

/* ---------- Values row ---------- */
.about-values {
  margin-top: var(--space-9);
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--color-border);
  direction: ltr;
}
.about-value { direction: rtl; }
.about-value {
  padding: var(--space-6) var(--space-4);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}
.about-value__icon { color: var(--color-accent); }
.about-value__title {
  display: block;
  margin-top: var(--space-3);
  font-size: 1.0625rem;
  font-weight: 700;
}
.about-value__text {
  margin-top: var(--space-2);
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ---------- Story / Mission card ---------- */
.about-story-card {
  margin-top: var(--space-9);
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.about-story-card__media {
  position: relative;
  display: block;
  min-height: 220px;
  background: #111;
}
.about-story-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .82; }
.about-story-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.about-story-card__play svg { filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); }
.about-story-card__content { padding: var(--space-7) var(--space-6); }
.about-story-card__title {
  margin: var(--space-3) 0 0;
  font-size: clamp(1.75rem, 5vw, 3.25rem);
  line-height: 1.05;
  font-weight: 900;
}
.about-story-card__paragraph {
  margin-top: var(--space-4);
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.8;
}
.about-story-card__paragraph + .about-story-card__paragraph { margin-top: var(--space-3); }

/* ---------- Stats strip ---------- */
.about-stats-strip {
  margin: var(--space-7) 0 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  display: grid;
  grid-template-columns: 1fr;
  direction: ltr;
}
.about-stats-strip__item {
  direction: rtl;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-1);
  padding: var(--space-6) var(--space-3);
}
.about-stats-strip__item + .about-stats-strip__item { border-block-start: 1px solid var(--color-border); }
.about-stats-strip__item svg { color: var(--color-accent-soft); }
.about-stats-strip__item dt {
  margin: var(--space-2) 0 0;
  font-size: 1.75rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.about-stats-strip__item dd { margin: 0; font-size: 0.8125rem; color: var(--color-text-secondary); }

/* ---------- On-site video lightbox (sitewide) ----------
   Added 2026-09-17: Naor wants a video "trigger" (originally
   .about-story-card__media, a link out to YouTube) to play on-site instead.
   Generic and reused wherever a video needs this — first on the homepage
   "About" teaser, then here on /about/'s own story card — behaviour in
   main.js. A trigger is any <button class="video-lightbox-trigger"
   data-video-id="…" data-lightbox-target="some-id">, where "some-id"
   matches the `id` of its target `.video-lightbox`, so a page can host more
   than one independent trigger/lightbox pair if it ever needs to. */
.video-lightbox-trigger {
  width: 100%;
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  background: rgba(17, 17, 17, 0.86);
}
.video-lightbox[hidden] { display: none; }
body.has-video-lightbox { overflow: hidden; }

.video-lightbox__dialog {
  position: relative;
  width: min(960px, 100%);
}
.video-lightbox__close {
  position: absolute;
  top: -48px;
  left: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.video-lightbox__close:hover { background: rgba(255, 255, 255, 0.12); }

.video-lightbox__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}
.video-lightbox__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 599px) {
  .video-lightbox__close { top: -44px; left: auto; right: 0; }
}

/* ---------- Team / Founder section ---------- */
.about-team-section { margin-top: var(--space-8); }
.about-team-section-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.about-founder-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.about-founder-card__media { flex-shrink: 0; }
.about-founder-card__media img { display: block; width: 100%; height: 260px; object-fit: cover; object-position: center top; }
.about-founder-card__content { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: var(--space-6) var(--space-5); }
.about-founder-card__badge {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: var(--radius-icon-button);
  /* Was --color-accent-soft — see .founder-card__badge above for the
     contrast measurement that applies to every instance of this fix. */
  background: var(--color-accent-action, var(--color-accent));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: var(--space-1);
}
.about-founder-card__name { font-size: 1.5rem; font-weight: 900; }
.about-founder-card__role { font-size: 0.9375rem; color: var(--color-text-secondary); }
.about-founder-card__tags { margin-top: var(--space-3); display: flex; flex-wrap: wrap; gap: 10px; }
.about-founder-card__tags span {
  padding: 6px 14px;
  border-radius: var(--radius-icon-button);
  border: 1px solid var(--color-border);
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}
.about-founder-card__contacts { margin-top: var(--space-4); display: flex; gap: var(--space-2); }
.about-founder-card__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-icon-button);
  border: 1.5px solid var(--color-border);
  color: var(--color-text-primary);
  transition: border-color 180ms ease, color 180ms ease;
}
.about-founder-card__contact:hover { border-color: var(--color-accent); color: var(--color-accent-text, var(--color-accent)); }

.about-team-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
.about-team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
}
.about-team-card__media { aspect-ratio: 4 / 2.9; overflow: hidden; background: var(--color-page-bg); }
.about-team-card__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.05); transition: transform 400ms var(--ease-entrance); }
.about-team-card:hover .about-team-card__media img { transform: scale(1.04); }
.about-team-card__copy { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 16px; }
.about-team-card__name { font-size: 1rem; font-weight: 700; }
.about-team-card__role { font-size: 0.8125rem; line-height: 1.5; color: var(--color-text-secondary); }
.about-team-card__mail {
  position: absolute;
  top: var(--space-3);
  inset-inline-end: var(--space-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-icon-button);
  background: rgba(253, 249, 247, 0.92);
  color: var(--color-text-primary);
  border: 1.5px solid var(--color-border);
  transition: border-color 180ms ease, color 180ms ease;
}
.about-team-card__mail:hover { border-color: var(--color-accent); color: var(--color-accent-text, var(--color-accent)); }

/* ---------- Tablet, >=768px ---------- */
@media (min-width: 768px) {
  .about-page { padding-block: var(--space-7) var(--space-12); }
  .about-page-container { width: min(1440px, calc(100% - 64px)); }

  .about-hero__media-wrap { width: clamp(240px, 34vw, 320px); }

  .about-values { grid-template-columns: repeat(2, 1fr); }
  .about-value:nth-child(odd) { border-inline-start: none; }
  .about-value:nth-child(even) { border-inline-start: 1px solid var(--color-border); }

  .about-story-card__media { min-height: 300px; }

  .about-stats-strip { grid-template-columns: repeat(3, 1fr); }
  .about-stats-strip__item + .about-stats-strip__item { border-block-start: 0; border-left: 1px solid var(--color-border); }

  .about-founder-card { flex-direction: row; }
  .about-founder-card__media { width: 42%; }
  .about-founder-card__media img { height: 100%; min-height: 360px; }
  .about-founder-card__content { padding: var(--space-7); justify-content: center; }

  .about-team-grid { grid-template-columns: repeat(2, 1fr); }}

/* ---------- Desktop, >=1200px ---------- */
@media (min-width: 1200px) {
  .about-page-container { width: min(1440px, calc(100% - 80px)); max-width: 1480px; }

  .about-hero {
    grid-template-columns: minmax(420px, 0.9fr) minmax(620px, 1.1fr);
    gap: clamp(60px, 6vw, 110px);
    align-items: center;
    direction: ltr;
    padding-top: 24px;
    padding-bottom: 16px;
  }
  .about-hero__media-wrap { justify-self: start; width: clamp(320px, 28vw, 470px); }
  .about-hero__content { direction: rtl; text-align: right; }

  .about-values { grid-template-columns: repeat(4, 1fr); margin-top: var(--space-10); }
  .about-value { min-height: 180px; padding: 34px 26px 24px; border-bottom: none; border-inline-start: 1px solid var(--color-border); }
  .about-value:first-child { border-inline-start: none; }

  .about-story-card {
    grid-template-columns: minmax(420px, 1fr) minmax(420px, 1fr);
    gap: 0;
    direction: ltr;
  }
  .about-story-card__media { min-height: 100%; }
  .about-story-card__content { direction: rtl; text-align: right; padding: 48px 44px; align-self: center; }

  .about-stats-strip { grid-template-columns: repeat(3, 1fr); }
  .about-stats-strip__item { min-height: 160px; }
  .about-stats-strip__item:first-child { border-left: 0; }
  .about-stats-strip__item dt { font-size: 2.625rem; }

  .about-team-section-inner {
    grid-template-columns: minmax(520px, 0.95fr) minmax(640px, 1.05fr);
    gap: 22px;
    align-items: stretch;
    direction: ltr;
  }
  .about-founder-card { height: 100%; min-height: 520px; direction: ltr; }
  .about-founder-card__media { width: 48%; }
  .about-founder-card__media img { height: 100%; min-height: 520px; }
  .about-founder-card__content { direction: rtl; text-align: right; justify-content: center; padding: 42px 36px; }

  .about-team-grid { direction: rtl; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, 1fr); gap: 18px; }
  .about-team-card { min-height: 252px; }}

/* ==========================================================================
   Customers page (/customers/) - 2026-08-16.
   Mobile First throughout. Header/Footer untouched. No hardcoded accent/
   background colors anywhere here — everything reads var(--color-accent*)
   / var(--color-page-bg) / var(--color-surface) etc., so the Customizer
   color switcher affects this page automatically.
   ========================================================================== */
.customers-page { padding-block: var(--space-9) var(--space-11); }
.customers-page-container {
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: var(--space-4);
}
.customers-page-container + .customers-page-container { margin-top: var(--space-10); }

/* ---------- Hero ---------- */
.customers-hero {
  max-width: 62ch;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 550ms var(--ease-entrance), transform 550ms var(--ease-entrance);
}
.customers-page--visible .customers-hero { opacity: 1; transform: translateY(0); }
.customers-hero__title {
  margin-top: var(--space-4);
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.customers-hero__paragraph {
  margin-top: var(--space-5);
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

.customers-section-title {
  font-size: 1.375rem;
  font-weight: 900;
  text-align: center;
}

/* ---------- Logos ---------- */
.customers-logos {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 550ms var(--ease-entrance) 60ms, transform 550ms var(--ease-entrance) 60ms;
}
.customers-page--visible .customers-logos { opacity: 1; transform: translateY(0); }
.customers-logos__grid {
  margin-top: var(--space-7);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.customers-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.customers-logo-card.is-extra { display: none; }
.customers-logos__grid.is-expanded .customers-logo-card.is-extra { display: flex; }
.customers-logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transform: scale(0.85);
  transition: filter 220ms ease;
}
.customers-logo-card:hover img,
.customers-logo-card:focus-within img { filter: grayscale(0%); }

.customers-logos__more-btn {
  margin: var(--space-6) auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 22px;
  border-radius: var(--radius-icon-button);
  border: 1.5px solid var(--color-border);
  background: transparent;
  color: var(--color-text-primary);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease;
}
.customers-logos__more-btn:hover { border-color: var(--color-accent); color: var(--color-accent-text, var(--color-accent)); }
.customers-logos__more-btn svg { transition: transform 220ms ease; }
.customers-logos__more-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ---------- Testimonial ---------- */
.customers-testimonial {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-5);
  padding: var(--space-8) var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 550ms var(--ease-entrance) 120ms, transform 550ms var(--ease-entrance) 120ms;
}
.customers-page--visible .customers-testimonial { opacity: 1; transform: translateY(0); }
.customers-testimonial__quote-icon { color: var(--color-accent-soft); }
.customers-testimonial__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  transition: opacity 220ms ease;
}
.customers-testimonial__body.is-swapping { opacity: 0; }
.customers-testimonial__video-link { position: relative; display: inline-flex; border-radius: 50%; }
.customers-testimonial__photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-accent);
}
.customers-testimonial__play {
  position: absolute;
  inset-inline-end: -2px;
  bottom: -2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-accent-action, var(--color-accent));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-surface);
}
.customers-testimonial__play svg { margin-inline-start: 2px; }
.customers-testimonial__name { font-size: 1.0625rem; font-weight: 700; }
.customers-testimonial__hint { font-size: 0.8125rem; color: var(--color-text-secondary); }
.customers-testimonial__dots {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.customers-testimonial__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  padding: 0;
  border: none;
  background: var(--color-border);
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}
.customers-testimonial__dot.is-active { background: var(--color-accent); transform: scale(1.2); }

/* ---------- Stats ---------- */
.customers-stats {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 550ms var(--ease-entrance) 60ms, transform 550ms var(--ease-entrance) 60ms;
}
.customers-page--visible .customers-stats { opacity: 1; transform: translateY(0); }
.customers-stats__grid {
  margin-top: var(--space-7);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.customers-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
  padding: var(--space-6) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}
.customers-stat__icon { color: var(--color-accent-soft); }
.customers-stat dt { font-size: 1.875rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.customers-stat dd { font-size: 0.8125rem; color: var(--color-text-secondary); }

/* ---------- Tablet, >=768px ---------- */
@media (min-width: 768px) {
  .customers-page { padding-block: var(--space-11) var(--space-12); }
  .customers-page-container { padding-inline: var(--space-8); }
  .customers-page-container + .customers-page-container { margin-top: var(--space-11); }

  .customers-section-title { font-size: 1.625rem; }
  .customers-logos__grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
  .customers-stats__grid { grid-template-columns: repeat(3, 1fr); }
  .customers-logo-card { height: 110px; }}

/* ---------- Desktop, >=1200px ---------- */
@media (min-width: 1200px) {
  .customers-page { padding-top: 90px; padding-bottom: 100px; }
  .customers-page-container { width: min(1440px, calc(100% - 80px)); }

  .customers-hero__title { font-size: clamp(2.75rem, 4.5vw, 3.5rem); }

  .customers-logos__grid { grid-template-columns: repeat(5, 1fr); gap: var(--space-6); }
  .customers-logo-card { height: 120px; }

  .customers-testimonial { padding: var(--space-9) var(--space-8); }

  .customers-stats__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   /testimonials/ page — implemented from Naor's approved visual reference,
   2026-08-16. Mobile First: base rules below are the mobile layout;
   min-width breakpoints progressively enhance to tablet (768px) then
   desktop (1200px). All colors derive from existing tokens (--color-accent
   etc.) — no hardcoded brand hex. Header, footer, other pages untouched;
   every selector here is scoped under .testimonials-page / .testi-*.
   ========================================================================== */
.testimonials-page { padding-block: var(--space-6) var(--space-12); overflow: hidden; }
.testimonials-page-container {
  width: min(1440px, calc(100% - 32px));
  margin-inline: auto;
}

.testi-eyebrow {
  display: inline-flex;
  padding: 6px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-icon-button);
  color: var(--color-accent-text, var(--color-accent));
  font-size: 0.8125rem;
  font-weight: 700;
}

/* ---------- Hero ---------- */
.testi-hero { position: relative; }
.testi-hero__deco { display: none; }
.testi-hero__content { position: relative; z-index: 1; }

/* Hint paragraph for the "catch the dot" game below — shown at every width
   (class name predates the desktop rollout, kept as-is to avoid churn).
   Text styling lives here, shared; each breakpoint below only sets its own
   display/layout. */
.testi-hero__mobile-hint { display: none; }
.testi-hero__mobile-hint p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

/* Decorative traveling dot around the hero ring — same offset-path technique
   as .about-hero__orbit-dot. .testi-hero__deco is a fixed 260x260px box whose
   SVG ring is drawn at r=110 centered on (130,130), so the dot's own circular
   path is pinned to those same px values (not a %-based circle()) to land
   exactly on the visible ring rather than the box's own edge.
   The animated element is a 24x24px invisible hit area (WCAG 2.5.8 minimum
   target size — a forgiving-but-not-huge click target for the "catch the
   dot" easter egg below), with the 10px visible dot centered inside it. */
.testi-hero__orbit-hit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  margin: -12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  offset-path: circle(110px at 50% 50%);
  offset-distance: 0%;
  animation: testi-hero-orbit 9s linear infinite;
}
.testi-hero__orbit-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  transition: transform 200ms ease;
}
.testi-hero__orbit-hit.is-caught .testi-hero__orbit-dot { animation: testi-hero-dot-pulse 500ms ease-out; }
@keyframes testi-hero-orbit { to { offset-distance: 100%; } }
@keyframes testi-hero-dot-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.9); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .testi-hero__orbit-hit { animation: none; offset-distance: 75%; }
  .testi-hero__orbit-hit.is-caught .testi-hero__orbit-dot { animation: none; }
}

/* Mobile + tablet (<1200px): a scaled-down version of the desktop ring+dot
   game above (r=110 in a 260px box on desktop -> r=55 in a 130px box here,
   same ratio), plus the hint paragraph telling the visitor what it's for —
   shown at every width, not mobile-only, per Naor's explicit follow-up.
   This block must come after the base .testi-hero__orbit-hit rule above so
   its overrides actually win the cascade below 1200px. */
@media (max-width: 1199px) {
  .testi-hero__deco {
    display: block;
    position: relative;
    width: 130px;
    height: 130px;
    margin: 20px auto 0;
  }
  .testi-hero__deco svg { width: 100%; height: 100%; }
  .testi-hero__dots { display: none; }
  .testi-hero__orbit-hit {
    width: 32px;
    height: 32px;
    margin: -16px;
    offset-path: circle(55px at 50% 50%);
  }
  .testi-hero__mobile-hint {
    display: block;
    margin-top: 18px;
    text-align: center;
  }
}

/* "Catch the dot" easter egg — sparkle burst + label, spawned by main.js at
   the hit area's position when clicked. Appended as a child of
   .testi-hero__deco, so px coordinates set inline by JS are relative to that
   same 260x260 box the orbit path itself is defined against. */
.testi-hero__catch-burst {
  position: absolute;
  width: 0;
  height: 0;
  z-index: 2;
  pointer-events: none;
}
.testi-hero__spark {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 4px;
  margin: -2px;
  border-radius: 50%;
  background: var(--color-accent);
  transform: rotate(var(--angle)) translateX(0);
  opacity: 1;
  animation: testi-hero-spark 650ms ease-out forwards;
}
@keyframes testi-hero-spark {
  to { transform: rotate(var(--angle)) translateX(32px); opacity: 0; }
}
.testi-hero__catch-label {
  position: absolute;
  bottom: 16px;
  left: 50%;
  white-space: nowrap;
  background: var(--color-accent-action, var(--color-accent));
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 5px 14px;
  border-radius: 999px;
  opacity: 0;
  animation: testi-hero-label-pop 1300ms ease-out forwards;
}
@keyframes testi-hero-label-pop {
  0% { opacity: 0; transform: translate(-50%, 6px) scale(0.7); }
  15% { opacity: 1; transform: translate(-50%, -8px) scale(1.05); }
  25% { transform: translate(-50%, -10px) scale(1); }
  78% { opacity: 1; transform: translate(-50%, -10px) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -20px) scale(0.96); }
}
@media (prefers-reduced-motion: reduce) {
  .testi-hero__spark { animation: none; opacity: 0; }
  .testi-hero__catch-label { animation: none; opacity: 1; transform: translate(-50%, -10px) scale(1); }
}

/* Special longer message on the 3rd successful catch (main.js) — sits below
   the ring instead of over it, since the sentence is far too wide for the
   short toast style above, especially inside the mobile 130px ring. */
.testi-hero__catch-label--final {
  bottom: auto;
  top: 100%;
  margin-top: 14px;
  width: min(220px, 78vw);
  white-space: normal;
  text-align: center;
  border-radius: 18px;
  padding: 14px 18px;
  font-size: 0.95rem;
  line-height: 1.45;
  animation: testi-hero-label-pop-final 2000ms ease-out forwards;
}
@keyframes testi-hero-label-pop-final {
  0% { opacity: 0; transform: translate(-50%, -6px) scale(0.7); }
  15% { opacity: 1; transform: translate(-50%, 4px) scale(1.03); }
  25% { transform: translate(-50%, 0) scale(1); }
  85% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -6px) scale(0.97); }
}
@media (prefers-reduced-motion: reduce) {
  .testi-hero__catch-label--final { animation: none; opacity: 1; transform: translate(-50%, 0) scale(1); }
}
.testi-hero__title {
  margin-top: var(--space-4);
  font-size: clamp(2.125rem, 8vw, 3.75rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.testi-hero__title span { display: block; }
.testi-hero__paragraph {
  margin-top: var(--space-4);
  max-width: 46ch;
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}
.testi-hero__ctas {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ---------- Filters ---------- */
.testi-filters {
  margin-top: var(--space-9);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.testi-filter {
  height: 42px;
  padding: 0 20px;
  border-radius: var(--radius-icon-button);
  border: 1.5px solid var(--color-border);
  background: transparent;
  color: var(--color-text-primary);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.testi-filter:hover { border-color: var(--color-accent); }
.testi-filter.is-active {
  background: var(--color-accent-action, var(--color-accent));
  border-color: var(--color-accent);
  color: #fff;
}

/* ---------- Shared section heading ---------- */
.testi-section { margin-top: var(--space-9); }
.testi-section.is-hidden { display: none; }
.testi-section__title { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; }
.testi-section__title--center { text-align: center; }
.testi-section__subtitle { margin: var(--space-2) 0 0; color: var(--color-text-secondary); font-size: 0.9375rem; }

/* ---------- Text testimonials grid ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: start;
}
.testi-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-7) var(--space-6);
}
.testi-card__quote-icon { display: block; color: var(--color-accent-soft); }
.testi-card__text {
  margin: var(--space-4) 0 0;
  color: var(--color-text-primary);
  font-size: 1rem;
  line-height: 1.75;
}
.testi-card__divider {
  display: block;
  margin: var(--space-5) 0;
  width: 32px;
  height: 2px;
  background: var(--color-accent);
}
.testi-card__person { display: flex; flex-direction: column; gap: 2px; }
.testi-card__name { font-size: 0.9375rem; font-weight: 700; }
.testi-card__role { font-size: 0.8125rem; color: var(--color-text-secondary); }

/* ---------- Video testimonials ---------- */
.testi-video-grid {
  margin-top: var(--space-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
.testi-video-card { display: flex; flex-direction: column; }
.testi-video-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--color-border);
}
.testi-video-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms var(--ease-entrance); }
.testi-video-card__media:hover img { transform: scale(1.04); }
.testi-video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.testi-video-card__play svg {
  width: 56px;
  height: 56px;
  padding: 16px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.45);
  backdrop-filter: blur(2px);
  transition: background-color 180ms ease, transform 180ms ease;
}
.testi-video-card__media:hover .testi-video-card__play svg { background: var(--color-accent-action, var(--color-accent)); transform: scale(1.06); }
.testi-video-card__iframe { width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; border: none; }
.testi-video-card__copy { margin-top: var(--space-3); display: flex; flex-direction: column; gap: 2px; }
.testi-video-card__name { font-size: 0.9375rem; font-weight: 700; }
.testi-video-card__role { font-size: 0.8125rem; color: var(--color-text-secondary); }

/* ---------- Client logos ---------- */
.testi-logos { margin-top: var(--space-9); text-align: center; }
.testi-logos__row {
  margin-top: var(--space-7);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-7) var(--space-8);
}
.testi-logos__item {
  height: 34px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .65;
  transition: filter 180ms ease, opacity 180ms ease;
}
.testi-logos__item:hover { filter: none; opacity: 1; }

/* ---------- Tablet, >=768px ---------- */
@media (min-width: 768px) {
  .testimonials-page { padding-block: var(--space-7) var(--space-12); }
  .testimonials-page-container { width: min(1440px, calc(100% - 64px)); }

  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-video-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-logos__row { gap: var(--space-8) var(--space-10); }
  .testi-logos__item { height: 40px; max-width: 140px; }}

/* ---------- Desktop, >=1200px ---------- */
@media (min-width: 1200px) {
  .testimonials-page-container { width: min(1440px, calc(100% - 80px)); }

  .testi-hero { display: flex; align-items: center; min-height: 380px; }
  .testi-hero__deco {
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 260px;
    height: 260px;
    pointer-events: none;
    z-index: 0;
  }
  .testi-hero__deco svg { width: 100%; height: 100%; }
  .testi-hero__dots {
    position: absolute;
    left: 8px;
    bottom: 10px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
  }
  .testi-hero__dots span { width: 4px; height: 4px; border-radius: 50%; background: var(--color-border); }
  .testi-hero__mobile-hint {
    display: block;
    position: absolute;
    left: 0;
    top: calc(50% + 145px);
    width: 260px;
    text-align: center;
    pointer-events: none;
  }
  .testi-hero__content { width: min(720px, 60%); }

  .testi-grid { grid-template-columns: repeat(3, 1fr); }
  .testi-video-grid { grid-template-columns: repeat(4, 1fr); }}

/* ==========================================================================
   Site footer (new 2026-08-19 — the theme previously shipped no <footer>
   at all). Real content copied from the live production footer, restyled
   with this theme's own tokens. Mobile-first; the CTA band reuses the
   same dark-card pattern as .mag-cta, the social icons reuse the same
   circular-button shape as .header-icon-btn, for one consistent visual
   language instead of a third pattern.
   ========================================================================== */
/* ==========================================================================
   Global footer — rebuilt 2026-08-20 per GALYAM_FOOTER_UI_UX_IMPLEMENTATION_PACKAGE.
   Reuses the exact global container the header/hero already use (1600px +
   the same padding-inline tokens: .site-header__inner, .hero__inner) instead
   of a footer-only width, per spec §3. Mobile First throughout, matching the
   rest of this theme. Semantic colors only (--color-*), no literal hex —
   stays compatible with the sitewide Customizer accent/background switcher.
   ========================================================================== */
.site-footer {
  margin-top: var(--space-12);
  border-top: 1px solid var(--color-border);
  background: var(--color-page-bg);
}
.site-footer__container {
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.site-footer__grid {
  padding-block-start: 2.5rem;
  padding-block-end: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 2rem;
}

.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer__logo-img { height: 26px; width: auto; filter: grayscale(100%); }
.site-footer__tagline {
  margin: 0.875rem 0 0;
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 19rem;
}

.site-footer__contact-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.site-footer__contact-list li { display: flex; align-items: baseline; gap: 0.625rem; font-size: 1rem; color: var(--color-text-secondary); }
.site-footer__contact-list svg { flex-shrink: 0; align-self: center; }
.site-footer__contact-list a { display: inline-flex; align-items: baseline; gap: 0.625rem; color: inherit; text-decoration: none; }
.site-footer__contact-list a:hover,
.site-footer__contact-list a:focus-visible { color: var(--color-accent-text, var(--color-accent)); }

.site-footer__social-block { margin-top: 1.25rem; }
.site-footer__social-heading { display: block; margin-bottom: 0.75rem; font-size: 1rem; font-weight: var(--font-bold); color: var(--color-text-primary); }
.site-footer__socials { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.site-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-icon-button);
  border: 1px solid var(--color-border);
  color: var(--color-icon);
  flex-shrink: 0;
  transition: border-color 160ms ease-out, color 160ms ease-out, background-color 160ms ease-out, transform 160ms ease-out;
}
.site-footer__social:hover,
.site-footer__social:focus-visible {
  border-color: var(--color-accent);
  /* Was color: var(--color-accent); background: var(--color-accent-soft) —
     under the site's live blue color scheme both resolve to similarly dark,
     similarly saturated blues (bg rgb(47,85,204) vs icon rgb(30,59,150)),
     measured 1.55:1, far under the 3:1 WCAG AA minimum for icons. Solid
     --color-accent with #fff is 9.90:1 on this bg, the site's own
     established badge-icon fix. */
  color: #fff;
  background: var(--color-accent-action, var(--color-accent));
  transform: translateY(-1px);
}

.site-footer__col-title { margin: 0 0 1.5rem; font-size: 1.125rem; font-weight: var(--font-bold); line-height: 1.3; color: var(--color-text-primary); }
.site-footer__col-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.site-footer__col-list a {
  display: inline-block;
  color: var(--color-text-secondary);
  font-size: 1rem;
  font-weight: var(--font-regular);
  line-height: 1.55;
  text-decoration: none;
}
.site-footer__col-list a:hover,
.site-footer__col-list a:focus-visible { color: var(--color-accent-text, var(--color-accent)); }

.site-footer__legal {
  padding-block: 1.25rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: 0.875rem;
  font-weight: var(--font-regular);
  line-height: 1.5;
  color: var(--color-text-secondary);
}
.site-footer__copyright { margin: 0; }
.site-footer__legal-links { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.site-footer__legal-links a,
.site-footer__legal-links .footer-legal__cookie-trigger { color: var(--color-text-secondary); text-decoration: underline; text-underline-offset: 2px; font: inherit; }
.site-footer__legal-links a:hover,
.site-footer__legal-links a:focus-visible,
.site-footer__legal-links .footer-legal__cookie-trigger:hover,
.site-footer__legal-links .footer-legal__cookie-trigger:focus-visible { color: var(--color-accent-text, var(--color-accent)); }

@media (prefers-reduced-motion: reduce) {
  .site-footer__social { transition: none; }
  .site-footer__social:hover,
  .site-footer__social:focus-visible { transform: none; }
}

@media (min-width: 640px) {
  .site-footer__legal { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 768px) {
  .site-footer__container { padding-inline: var(--space-8); }
  .site-footer__grid {
    padding-block-start: 3rem;
    padding-block-end: 2.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2.5rem;
    row-gap: 2.75rem;
  }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (min-width: 1200px) {
  .site-footer__grid {
    padding-block-start: 3.5rem;
    padding-block-end: 2.75rem;
    /* Narrow nav-column tracks first (physically right in RTL), wide brand
       track last (physically left) — paired with .site-footer__brand's
       `order: 1` below, which is what actually moves the brand block to
       the last/left track instead of the first/right one. Track widths
       and item order must change together: `order` alone would drop the
       brand block into a narrow 1fr track sized for a short nav column,
       not the wide one its logo/tagline/contact list/socials need. */
    grid-template-columns: repeat(4, minmax(8rem, 1fr)) minmax(16rem, 1.35fr);
    column-gap: clamp(1.5rem, 3vw, 3.5rem);
    row-gap: 0;
    align-items: start;
  }
  .site-footer__brand { grid-column: auto; order: 1; }
}

/* ==========================================================================
   Ambient ring/glow/dot decoration primitives — shared, reusable visual
   language for soft, animated "system UI" background packaging. Used by the
   Global Closing CTA Strip below and by the Privacy Policy / Accessibility
   Statement page headers (assets/css/legal-page.css). Pure CSS, GPU-friendly
   (transform + opacity only), fully inert under prefers-reduced-motion. Uses
   var(--color-accent) only (via color-mix), never a hardcoded hex, so the
   sitewide Customizer accent-color switcher keeps working here too.
   ========================================================================== */
.gs-ambient {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}
.gs-ambient__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    50% 60% at 35% 45%,
    color-mix(in srgb, var(--color-accent) 16%, transparent) 0%,
    color-mix(in srgb, var(--color-accent) 6%, transparent) 45%,
    transparent 75%
  );
  animation: gs-ambient-breathe 14s ease-in-out infinite alternate;
}
.gs-ambient__ring {
  position: absolute;
  top: 48%;
  left: 34%;
  border: 1px solid color-mix(in srgb, var(--color-accent) 20%, transparent);
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%) scale(1);
  animation: gs-ambient-ring 16s ease-in-out infinite alternate;
}
.gs-ambient__ring--1 { width: 180px; }
.gs-ambient__ring--2 { width: 280px; border-color: color-mix(in srgb, var(--color-accent) 13%, transparent); animation-delay: -6s; }
.gs-ambient__dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-accent) 55%, transparent);
  animation: gs-ambient-drift 11s ease-in-out infinite alternate;
}
.gs-ambient__dot--1 { top: 22%; left: 18%; animation-delay: -1s; }
.gs-ambient__dot--2 { top: 68%; left: 40%; width: 4px; height: 4px; animation-delay: -4s; }
.gs-ambient__dot--3 { top: 38%; left: 60%; width: 5px; height: 5px; animation-delay: -8s; }

@keyframes gs-ambient-breathe {
  0%   { opacity: .65; transform: scale(0.97); }
  100% { opacity: 1;   transform: scale(1.04); }
}
@keyframes gs-ambient-ring {
  0%   { transform: translate(-50%, -50%) scale(0.97); opacity: .75; }
  100% { transform: translate(-50%, -50%) scale(1.06); opacity: 1; }
}
@keyframes gs-ambient-drift {
  0%   { transform: translate(0, 0); opacity: .45; }
  100% { transform: translate(6px, -8px); opacity: .9; }
}

@media (prefers-reduced-motion: reduce) {
  .gs-ambient__glow,
  .gs-ambient__ring,
  .gs-ambient__dot {
    animation: none;
  }
}

/* ==========================================================================
   Global Closing CTA Strip. Appears once per page, rendered from footer.php
   right before <footer> via galyamstudio_the_cta_strip() — replaces every
   previous per-template closing CTA (mag-cta / portfolio-cta / glossary-cta
   / glossary-term-cta / team-bottom-strip / about-bottom-cta / customers-cta
   / testi-cta / site-footer__cta). Light Premium UI: no dark card, no navy,
   no neon — soft light surface, thin border, ambient ring/glow/dot layer,
   avatar magnifying-glass hover. Reuses .btn/.btn--primary as-is (never
   redefined — matches this theme's own established convention, see
   seo-geo.css's own comment on the same rule) so the sitewide Customizer
   accent-color switcher keeps working automatically.
   ========================================================================== */
.cta-strip {
  padding-block: var(--space-9) var(--space-7);
}
.cta-strip__container {
  width: min(1440px, calc(100% - 32px));
  margin-inline: auto;
}
@media (min-width: 768px)  { .cta-strip__container { width: min(1440px, calc(100% - 64px)); } }
@media (min-width: 1200px) { .cta-strip__container { width: min(1440px, calc(100% - 80px)); } }

.cta-strip__surface {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  padding: var(--space-7) var(--space-5);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--color-surface) 92%, var(--color-accent) 8%) 0%, var(--color-surface) 55%),
    var(--color-surface);
  border: 1px solid var(--color-border);
  /* Soft ambient depth instead of a heavy drop shadow: a large, very low
     opacity shadow plus a faint inset highlight along the top edge — reads
     as a "surface catching light" rather than a Bootstrap-style card. */
  box-shadow:
    0 24px 60px rgba(20, 16, 12, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.cta-strip__content { text-align: center; }
.cta-strip__title {
  margin: 0;
  color: var(--color-text-primary);
  font-size: var(--h2);
  font-weight: var(--font-black);
  line-height: var(--leading-h2);
}
.cta-strip__subtitle {
  margin: var(--space-3) 0 0;
  color: var(--color-text-secondary);
  font-size: var(--text-body);
  line-height: var(--leading-body);
}
.cta-strip__benefits {
  list-style: none;
  margin: var(--space-5) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}
.cta-strip__benefit {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-primary);
  font-size: var(--text-md);
  font-weight: var(--font-bold);
}
.cta-strip__benefit-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--color-accent-text, var(--color-accent));
}

.cta-strip__divider {
  height: 1px;
  background: var(--color-border);
}

.cta-strip__interactive {
  position: relative;
  display: flex;
  justify-content: center;
}
.cta-strip__interactive-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  padding-block: var(--space-4);
}

.cta-strip__avatars {
  display: flex;
  align-items: center;
}
.cta-strip__avatar {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--color-surface);
  box-shadow: 0 4px 14px rgba(20, 16, 12, 0.1);
  overflow: hidden;
  background: var(--color-page-bg);
  transform: scale(1);
  transition: transform 300ms var(--ease-entrance), box-shadow 300ms var(--ease-entrance), opacity 300ms var(--ease-entrance);
}
.cta-strip__avatar:not(:first-child) { margin-inline-start: -16px; }
.cta-strip__avatar img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* Magnifying-glass hover — desktop, fine-pointer devices only (never
   fires on touch). Pure CSS via :has(): hovering one avatar scales it up
   and lifts it above its neighbors, while the neighbors shrink slightly
   and soften, without any Layout Shift (transform/opacity only). Browsers
   without :has() support simply keep every avatar at its resting size —
   never broken, just less rich (progressive enhancement, per spec). */
@media (hover: hover) and (pointer: fine) {
  .cta-strip__avatar:hover {
    transform: scale(1.32);
    z-index: 3;
    box-shadow: 0 0 0 3px var(--color-surface), 0 0 0 5px var(--color-accent), 0 10px 24px rgba(20, 16, 12, 0.16);
  }
  .cta-strip__avatars:has(.cta-strip__avatar:hover) .cta-strip__avatar:not(:hover) {
    transform: scale(0.95);
    opacity: 0.82;
  }
}

.cta-strip__button {
  position: relative;
  z-index: 2;
}
.cta-strip__button-arrow {
  transition: transform 200ms ease;
}
.cta-strip__button:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--color-accent) 30%, transparent);
}
.cta-strip__button:hover .cta-strip__button-arrow {
  transform: translateX(-3px);
}
/* At very small viewports combined with large browser text zoom (e.g. 320px +
   200% zoom), the button's inherited .btn white-space:nowrap forces it wider
   than the available space, causing ~25px of horizontal overflow. Scoped to
   this one button (not the shared .btn class, used sitewide) so it wraps and
   shrinks to fit instead. Found 2026-09-14, fixed 2026-09-15. */
@media (max-width: 400px) {
  .cta-strip__interactive-content .btn {
    white-space: normal;
    min-width: 0;
    max-width: 100%;
    height: auto;
    padding-block: var(--space-3);
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cta-strip__avatar,
  .cta-strip__button,
  .cta-strip__button-arrow {
    transition: none;
  }
  .cta-strip__button:hover { transform: none; }
}

/* ---------- Tablet, >=768px ---------- */
@media (min-width: 768px) {
  .cta-strip__surface { padding: var(--space-8) var(--space-7); }
  .cta-strip__benefits { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: var(--space-6); }
}

/* ---------- Desktop, >=1024px : horizontal Content|Interactive layout ---------- */
@media (min-width: 1024px) {
  .cta-strip__surface {
    flex-direction: row;
    align-items: center;
    gap: var(--space-8);
    padding: var(--space-8) var(--space-9);
  }
  .cta-strip__content { flex: 1 1 auto; text-align: start; }
  .cta-strip__benefits { justify-content: flex-start; }
  .cta-strip__divider { width: 1px; height: 88px; align-self: center; }
  .cta-strip__interactive { flex: 0 0 auto; }
  /* RTL default: flex-direction:row places the first DOM child (avatars)
     at the visual right edge and the second (button) to its left —
     matching the approved reference composition without an explicit
     row-reverse. */
  .cta-strip__interactive-content { flex-direction: row; gap: var(--space-6); padding-block: 0; }
  .cta-strip__avatar { width: 64px; height: 64px; }
}

/* ---------- Large Desktop, >=1440px ---------- */
@media (min-width: 1440px) {
  .cta-strip__surface { padding: var(--space-9) var(--space-11); }
  .cta-strip__avatar { width: 72px; height: 72px; }
  .cta-strip__avatar:not(:first-child) { margin-inline-start: -20px; }
}


/* Accessibility pass 2026-10-07: wide tables scroll inside their own box on phones, and the privacy link in the contact form is not distinguished by colour alone. */
.table_wrap { overflow-x: auto; max-width: 100%; }
.contact-form__privacy a { text-decoration: underline; }
/* 2026-11-12 policy page tables (cookie policy): visible row dividers and a light tint. Scoped to the text page template. */
.fallback-content .table_wrap table { border-collapse: collapse; }
.fallback-content .table_wrap th,
.fallback-content .table_wrap td { border-bottom: 1px solid #d3cbbd; }
.fallback-content .table_wrap tbody tr:nth-child(even) td { background: rgba(24, 24, 24, 0.045); }
