/* ==========================================================
   Gal & Co. Law Firm — v2 "modern"
   One variable family (Noto Sans Hebrew): condensed + heavy for
   display, regular width for text. Rounded stages, soft surfaces,
   graphite + copper.
   ========================================================== */
:root {
  --bg: #F3F2EF;
  --surface: #FFFFFF;
  --tint: #E5EAED;
  --sand: #F3E4D6;
  --ink: #111315;
  --panel: #1B1F23;
  --navy: #2F3840;
  --blue: #A84E24;
  --accent: #EC9A62;
  --accent-2: #F7BE94;
  --text: #1A1D20;
  --muted: #5F666C;
  --ink-rgb: 17, 19, 21;
  --accent-rgb: 236, 154, 98;
  --blue-rgb: 168, 78, 36;
  --ink-2: #30363B;
  --panel-2: #262C32;
  --stage-a: #394149;
  --stage-b: #262D33;
  --stage-glow: rgba(236, 154, 98, .2);
  --text-2: #3A4046;
  --text-3: #454B51;
  --line: rgba(var(--ink-rgb), .1);
  --line-l: rgba(255, 255, 255, .14);
  --r-xl: 40px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 12px;
  --shadow: 0 30px 70px -36px rgba(var(--ink-rgb), .38);
  --font: "Noto Sans Hebrew", "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1240px;
  --edge: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; font-weight: 400;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-2); color: var(--ink); }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; inset-inline-start: 12px; top: -70px; z-index: 300; background: var(--accent); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2 { font-weight: 800; font-stretch: 84%; letter-spacing: -.028em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 6.9vw, 5.9rem); }
h2 { font-size: clamp(2.2rem, 4.7vw, 3.9rem); }
h3 { font-weight: 700; font-stretch: 90%; letter-spacing: -.012em; font-size: 1.4rem; line-height: 1.2; }
h4 { font-weight: 700; font-size: 1rem; }
/* emphasis: marker highlight on light, amber on dark */
h1 em, h2 em {
  font-style: normal;
  background: linear-gradient(transparent 64%, var(--accent-2) 64%, var(--accent-2) 94%, transparent 94%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-inline: .06em;
}
.stage h1 em, .stage h2 em, .spotlight h2 em, .voices h2 em { background: none; padding: 0; color: var(--accent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 13px; border-radius: 999px;
  font-size: .82rem; font-weight: 600; letter-spacing: .01em;
  color: rgba(255, 255, 255, .9); border: 1px solid var(--line-l); background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .22); flex: none; }
.eyebrow.dark { color: var(--text); border-color: var(--line); background: var(--surface); }
.section-lead { font-size: 1.14rem; color: var(--muted); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 12px 18px; font-size: .9rem; }
.btn-gold { background: var(--accent); color: var(--ink); }
.btn-gold:hover { background: var(--accent-2); box-shadow: 0 14px 34px -14px rgba(var(--accent-rgb), .9); }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .05); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .6); }
.btn-navy { background: var(--ink); color: #fff; }
.btn-navy:hover { background: var(--navy); }
.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); }
.arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; flex: none; }
[dir="rtl"] .arrow { transform: scaleX(-1); }
a:hover > .arrow, .btn:hover .arrow { transform: translateX(4px); }
[dir="rtl"] a:hover > .arrow, [dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }

/* ---------- Header: floating capsule ---------- */
.site-header { position: fixed; top: 24px; inset-inline: 0; z-index: 100; pointer-events: none; transition: top .3s ease; }
.site-header.scrolled { top: 12px; }
.header-row {
  pointer-events: auto; position: relative; width: min(1320px, 100% - 48px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 8px 8px 8px 8px; padding-inline-start: 18px; border-radius: 999px; color: #fff;
  background: rgba(var(--ink-rgb), .62); border: 1px solid var(--line-l);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled .header-row, .site-header.menu-open .header-row { background: rgba(var(--ink-rgb), .88); box-shadow: 0 18px 40px -22px rgba(var(--ink-rgb), .7); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 38px; height: 38px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; white-space: nowrap; }
.brand-text strong { font-size: 1.12rem; font-weight: 800; font-stretch: 88%; letter-spacing: -.01em; }
.brand-text small { font-size: .68rem; font-weight: 500; color: rgba(255, 255, 255, .6); }
.nav { display: flex; gap: 0; font-size: .92rem; font-weight: 500; }
.nav a { padding: 9px 11px; white-space: nowrap; border-radius: 999px; color: rgba(255, 255, 255, .82); transition: background .2s, color .2s; }
.nav a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 7px; font-size: .92rem; font-weight: 600; padding-inline: 6px; white-space: nowrap; }
.header-phone svg { width: 15px; height: 15px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.lang { background: rgba(255, 255, 255, .08); border: 0; border-radius: 999px; padding: 9px 12px; font-size: .78rem; font-weight: 700; cursor: pointer; color: rgba(255, 255, 255, .5); display: inline-flex; gap: 5px; transition: background .2s; }
.lang:hover { background: rgba(255, 255, 255, .16); }
html[lang="he"] .lang-he, html[lang="en"] .lang-en { color: #fff; }
.burger { display: none; width: 42px; height: 42px; background: rgba(255, 255, 255, .08); border: 0; border-radius: 50%; cursor: pointer; padding: 0 11px; }
.burger span { display: block; height: 2px; background: #fff; margin: 4px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Stage: the rounded dark hero panel ---------- */
.hero { padding: var(--edge) var(--edge) 0; }
.stage {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); color: #fff;
  min-height: min(860px, calc(100vh - 2 * var(--edge)));
  display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(28px, 4vw, 52px);
  padding: 132px clamp(22px, 5vw, 76px) clamp(26px, 4vw, 56px);
  background:
    radial-gradient(900px 620px at 12% 0%, var(--stage-glow), transparent 62%),
    linear-gradient(165deg, var(--stage-a) 0%, var(--stage-b) 78%);
}
/* the photograph sits bright on one side; only its inner edge blends into the panel */
.stage-art { position: absolute; inset-block: 0; inset-inline-end: 0; width: 56%; height: 100%; object-fit: cover; z-index: -2; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.stage::before { background: linear-gradient(to top, color-mix(in srgb, var(--stage-b) 80%, transparent) 0%, color-mix(in srgb, var(--stage-b) 0%, transparent) 26%); }
[dir="rtl"] .stage-art { -webkit-mask-image: linear-gradient(to right, #000 62%, transparent); mask-image: linear-gradient(to right, #000 62%, transparent); }
[dir="ltr"] .stage-art { -webkit-mask-image: linear-gradient(to left, #000 62%, transparent); mask-image: linear-gradient(to left, #000 62%, transparent); }
/* homepage: the text on the start side, portraits of the three lawyers beside it, founder in the middle */
.hero:not(.page-hero) .stage {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: "text trio";
  align-content: center; align-items: center; column-gap: clamp(28px, 4vw, 64px);
}
.hero:not(.page-hero) .stage-inner { grid-area: text; }
.hero:not(.page-hero) h1 { font-size: clamp(2.7rem, 5.4vw, 4.7rem); }
.hero-trio { grid-area: trio; display: flex; align-items: center; gap: 12px; }
.hero-face {
  position: relative; flex: 1 1 0; min-width: 0; margin: 0; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: var(--r-lg); background: var(--stage-a); box-shadow: 0 26px 50px -26px rgba(3, 14, 24, .75);
}
.hero-face--lead { flex-grow: 1.24; }
.hero-face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: scale(1.16); transform-origin: 50% 55%; }
.hero-face:nth-child(3) img { object-position: 0 0; }
.hero-face figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 40px 14px 13px;
  background: linear-gradient(to top, rgba(var(--ink-rgb), .86), rgba(var(--ink-rgb), 0));
  font-weight: 700; font-size: .95rem; line-height: 1.25; color: #fff;
}
.stage-inner { max-width: 620px; }
.stage-inner h1 { margin: 22px 0 22px; }
.hero-lead { font-size: clamp(1.06rem, 1.45vw, 1.24rem); color: rgba(255, 255, 255, .78); max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.stage-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding-top: 24px; border-top: 1px solid var(--line-l); }
.chips-label { font-size: .9rem; font-weight: 700; color: rgba(255, 255, 255, .7); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a {
  display: inline-flex; padding: 10px 16px; border-radius: 999px; font-size: .92rem; font-weight: 500;
  background: rgba(255, 255, 255, .09); border: 1px solid var(--line-l);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .2s, color .2s, transform .2s;
}
.chips a:hover { background: var(--accent); color: var(--ink); border-color: transparent; transform: translateY(-2px); }

/* facts and accreditations share one band, as wide as the stage above it */
.trust { margin-top: 14px; border-radius: var(--r-lg); background: var(--surface); padding: 0 clamp(22px, 5vw, 76px); }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-facts > div { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 30px 24px; }
.hero-facts > div + div { border-inline-start: 1px solid var(--line); }
.hero-facts b { font-weight: 800; font-stretch: 78%; font-size: 3.6rem; line-height: 1; letter-spacing: -.03em; color: var(--blue); }
.hero-facts span { font-size: 1.02rem; font-weight: 600; color: var(--text); line-height: 1.35; max-width: 19ch; }

.accred { display: flex; align-items: center; gap: clamp(24px, 4vw, 64px); padding: 26px 0 28px; border-top: 1px solid var(--line); }
.accred-title { flex: 0 1 250px; font-size: .92rem; font-weight: 500; line-height: 1.5; color: var(--muted); }
.accred-row { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px clamp(20px, 3vw, 48px); }
.accred-row li { display: grid; place-items: center; }
.accred-row img { height: 66px; width: auto; max-width: 190px; object-fit: contain; border-radius: 6px; filter: grayscale(1); opacity: .86; transition: filter .3s, opacity .3s; }
.accred-row li:hover img { filter: none; opacity: 1; }

/* ---------- Sections ---------- */
.section { padding: clamp(76px, 9.5vw, 140px) 0; }
.section-head { max-width: 860px; margin-bottom: clamp(34px, 5vw, 60px); }
.section-head h2 { margin: 20px 0 18px; }

/* ---------- Practice bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.card {
  grid-column: span 4; position: relative; display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--r-lg); padding: 12px 12px 26px; overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-lg { grid-column: span 7; }
.card-md { grid-column: span 5; }
.card-media { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 10; background: var(--tint); }
.card-lg .card-media { aspect-ratio: 16 / 8.2; }
.card-md .card-media { aspect-ratio: 16 / 11.5; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-media img { transform: scale(1.06); }
.card-num {
  position: absolute; top: 24px; inset-inline-start: 24px; padding: 5px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: #fff;
  background: rgba(var(--ink-rgb), .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.card-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 22px 16px 0; }
.card h3 { font-size: 1.55rem; }
.card-lg h3, .card-md h3 { font-size: 1.9rem; }
.card p { color: var(--muted); font-size: 1rem; }
.card.card-dark { background: var(--panel); color: #fff; }
.card.card-dark p { color: rgba(255, 255, 255, .74); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tags li { font-size: .84rem; font-weight: 500; padding: 6px 13px; border-radius: 999px; background: var(--bg); }
.card-dark .tags li { background: rgba(255, 255, 255, .09); }
.card-link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .96rem; align-self: flex-start; }
.card-link .arrow { width: 38px; height: 38px; padding: 10px; border-radius: 50%; background: var(--ink); color: #fff; transition: background .25s, color .25s, transform .25s; }
.card:hover .card-link .arrow { background: var(--accent); color: var(--ink); }
.card-dark .card-link .arrow { background: var(--accent); color: var(--ink); }

/* ---------- Dark rounded sections ---------- */
.spotlight, .voices {
  margin-inline: var(--edge); border-radius: var(--r-xl); color: #fff; position: relative; overflow: hidden;
  background:
    radial-gradient(760px 520px at 88% 0%, rgba(var(--blue-rgb), .5), transparent 62%),
    radial-gradient(600px 420px at 0% 100%, rgba(var(--accent-rgb), .13), transparent 60%),
    linear-gradient(170deg, var(--panel-2), var(--ink) 75%);
}
.spotlight-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.spotlight h2 { margin: 20px 0 20px; }
.spotlight .section-lead { color: rgba(255, 255, 255, .76); }
.checks { margin: 30px 0 34px; display: grid; gap: 14px; }
.checks li { position: relative; padding-inline-start: 40px; }
.checks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308131C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/15px no-repeat;
}
.checks b { display: block; font-weight: 700; }
.checks span { color: rgba(255, 255, 255, .7); font-size: .98rem; }
.figures { display: grid; gap: 14px; }
.figure { border: 1px solid var(--line-l); border-radius: var(--r-lg); padding: 28px 32px; background: rgba(255, 255, 255, .06); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.figure-num { display: flex; align-items: baseline; gap: 12px; color: var(--accent); line-height: .95; font-weight: 800; font-stretch: 74%; letter-spacing: -.04em; }
.figure-num span { font-size: clamp(4.6rem, 9vw, 7.6rem); }
.figure-num small { font-size: 1.6rem; letter-spacing: -.01em; font-stretch: 86%; }
.figure-label { margin-top: 12px; color: rgba(255, 255, 255, .82); font-weight: 500; }
.figure-note { font-size: .82rem; color: rgba(255, 255, 255, .5); line-height: 1.5; }

/* ---------- Europe desk ---------- */
.countries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.country { background: var(--surface); border-radius: var(--r-lg); padding: 26px 26px 28px; transition: transform .3s, box-shadow .3s; }
.country:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.country h3 { margin: 20px 0 10px; font-size: 1.32rem; }
.country p { color: var(--muted); font-size: .97rem; }
.flag { display: block; width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 5px var(--bg); }
.flag-at { background: linear-gradient(#C8102E 33.3%, #fff 33.3% 66.6%, #C8102E 66.6%); }
.flag-pt { background: linear-gradient(90deg, #046A38 40%, #DA291C 40%); }
.flag-it { background: linear-gradient(90deg, #008C45 33.3%, #fff 33.3% 66.6%, #CD212A 66.6%); }
.flag-pl { background: linear-gradient(#fff 50%, #DC143C 50%); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 14px 0 44px; }
.steps li { padding: 26px 26px 28px; border-radius: var(--r-lg); background: var(--tint); }
.steps li:nth-child(even) { background: var(--sand); }
.step-n { display: block; font-weight: 800; font-stretch: 76%; font-size: 3.2rem; line-height: 1; letter-spacing: -.03em; color: var(--tint); -webkit-text-stroke: 2.8px var(--ink); paint-order: stroke fill; margin-bottom: 18px; }
.steps li:nth-child(even) .step-n { color: var(--sand); }
.steps h3 { font-size: 1.2rem; margin-bottom: 8px; }
.steps p { color: var(--text-3); font-size: .96rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(260px, .78fr) 1.4fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.portrait { text-align: start; }
.portrait-frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 4.8;
  background: radial-gradient(120% 90% at 50% 0%, #fff 0%, var(--sand) 100%);
  display: flex; align-items: flex-end; justify-content: center;
}
.portrait-frame img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.portrait figcaption { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.portrait figcaption strong { font-size: 1.15rem; font-weight: 700; }
.portrait figcaption span { font-size: .84rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--surface); }
.letter h2 { margin: 20px 0 26px; }
.letter p { margin-bottom: 16px; max-width: 62ch; color: var(--text-2); font-size: 1.06rem; }
.letter-close { font-weight: 700; font-size: 1.3rem !important; color: var(--ink) !important; }
.signature { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.signature img { width: 120px; height: auto; opacity: .85; }
.signature span { font-size: .95rem; color: var(--muted); }

/* ---------- Team ---------- */
.team { padding-top: 0; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.member { background: var(--surface); border-radius: var(--r-lg); padding: 30px 30px 28px; display: flex; flex-direction: column; gap: 8px; transition: transform .3s, box-shadow .3s; }
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.monogram {
  width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; margin-bottom: 14px;
  font-weight: 800; font-stretch: 80%; font-size: 2rem; color: var(--ink); background: var(--accent-2);
}
.member:nth-child(2) .monogram { background: var(--tint); }
.member-photo, .member .monogram { width: 116px; height: 116px; border-radius: 30px; margin-bottom: 16px; }
.member-photo { object-fit: cover; background: var(--tint); }
.member .monogram { font-size: 2.9rem; }
.member:nth-child(3) .monogram { background: var(--sand); }
.member h3 { font-size: 1.45rem; }
.member-role { font-size: .84rem; font-weight: 600; align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--bg); }
.member p:not(.member-role) { color: var(--muted); font-size: .98rem; margin-top: 4px; }
.member a { margin-top: auto; padding-top: 14px; font-weight: 700; align-self: flex-start; }
.member a:hover { color: var(--blue); }

/* ---------- Testimonials ---------- */
.voices-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.voice {
  position: relative; border: 1px solid var(--line-l); border-radius: var(--r-lg);
  padding: 70px 26px 26px; background: rgba(255, 255, 255, .06); display: flex; flex-direction: column; gap: 22px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.voice::before { content: "”"; position: absolute; top: 10px; inset-inline-start: 24px; font-weight: 800; font-size: 5.4rem; line-height: 1; color: var(--accent); }
.voice p { font-size: 1.04rem; color: rgba(255, 255, 255, .88); }
.voice footer { margin-top: auto; font-weight: 700; font-size: .95rem; display: flex; align-items: center; gap: 10px; }
.voice footer::before { content: ""; width: 22px; height: 2px; background: var(--accent); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact h2 { margin: 20px 0 18px; }
.contact-list { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-list li { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: var(--r-md); background: var(--surface); }
.contact-list svg { width: 42px; height: 42px; padding: 11px; border-radius: 14px; background: var(--ink); fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.contact-list small { display: block; font-size: .8rem; font-weight: 500; color: var(--muted); }
.contact-list a { font-size: 1.06rem; font-weight: 700; color: var(--ink); word-break: break-word; }
.contact-list a:hover { color: var(--blue); }
[dir="rtl"] .contact-list a[dir="ltr"] { display: inline-flex; }

.form { background: var(--surface); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); display: grid; gap: 16px; }
.form h3 { font-size: 1.8rem; font-weight: 800; font-stretch: 84%; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: .86rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 16px; border: 1.5px solid transparent; border-radius: 16px; background: var(--bg);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--surface); }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--ink); flex: none; }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-actions .btn { flex: 1 1 200px; }
.form-error { color: #B3261E; font-size: .92rem; font-weight: 600; }
.form-note { font-size: .8rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { margin: 0 var(--edge) var(--edge); border-radius: var(--r-xl); background: var(--ink); color: rgba(255, 255, 255, .68); padding: 72px 0 30px; font-size: .95rem; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.footer-brand p { max-width: 36ch; line-height: 1.8; }
.site-footer h4 { color: #fff; margin-bottom: 14px; font-size: .86rem; font-weight: 600; color: rgba(255, 255, 255, .5); }
.footer-grid nav a, .footer-grid > div:last-child a, .footer-grid > div:last-child span { display: block; padding: 5px 0; color: rgba(255, 255, 255, .86); transition: color .2s; }
[dir="rtl"] .footer-grid a[dir="ltr"] { text-align: right; }
.footer-grid a:hover { color: var(--accent); }
.footer-social { display: inline-grid !important; place-items: center; width: 42px; height: 42px; background: rgba(255, 255, 255, .08); border-radius: 50%; margin-top: 18px; }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-word {
  margin: 48px 0 14px; text-align: center; white-space: nowrap; user-select: none;
  font-weight: 900; font-stretch: 70%; font-size: clamp(4.4rem, 19.5vw, 19rem); line-height: .86; letter-spacing: -.035em;
  color: var(--ink); -webkit-text-stroke: 3px var(--ink-2); paint-order: stroke fill;
}
.footer-bottom { padding-top: 26px; border-top: 1px solid var(--line-l); display: grid; gap: 14px; }
.disclaimer { font-size: .8rem; line-height: 1.7; color: rgba(255, 255, 255, .45); max-width: 110ch; }
.copy { font-size: .84rem; color: rgba(255, 255, 255, .6); }

/* ---------- Floating WhatsApp ---------- */
.fab { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #1FA855; color: #fff; box-shadow: 0 14px 30px -10px rgba(31, 168, 85, .7); transition: transform .25s ease, opacity .3s ease, visibility .3s; }
.fab:hover { transform: scale(1.08); }
/* stays out of the hero's way until the visitor scrolls */
.js .fab { opacity: 0; visibility: hidden; transform: translateY(12px); }
.js .past-hero .fab { opacity: 1; visibility: visible; transform: none; }
.js .past-hero .fab:hover { transform: scale(1.08); }
.fab svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Tap targets: every control is at least 44px tall ---------- */
.brand, .header-phone, .nav a, .lang, .btn-sm, .card-link, .chips a, .member a, .contact-list a, .crumbs a { min-height: 44px; }
.header-phone, .nav a, .lang, .member a, .contact-list a, .crumbs a { display: inline-flex; align-items: center; }
.burger, .footer-social { width: 44px; height: 44px; }
.member a { padding-top: 0; }
.crumbs { align-items: center; margin-bottom: 12px; }
.footer-grid nav a, .footer-grid > div:last-child a { padding-block: 11px; }
.footer-grid > div:last-child span { padding-block: 11px; }
/* the whole consent row is the tap area; the box itself is enlarged too */
.consent { min-height: 44px; align-items: center; cursor: pointer; }
.consent input { width: 24px; height: 24px; margin-top: 0; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================
   Inner (practice-area) pages
   ========================================================== */
.page-hero .stage { min-height: 0; padding-top: 150px; padding-bottom: clamp(36px, 5vw, 64px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; font-weight: 500; color: rgba(255, 255, 255, .6); margin-bottom: 26px; }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; opacity: .5; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: #fff; }
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); max-width: 16ch; margin: 20px 0 20px; }
.page-hero .hero-lead { max-width: 56ch; }

.page-body { padding: clamp(52px, 7vw, 96px) 0 0; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: clamp(32px, 5vw, 72px); align-items: start; }

.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-top: 68px; }
.prose > h2:first-child { margin-top: 0; }
.prose h2 + * { margin-top: 22px; }
.prose p { color: var(--text-2); max-width: 68ch; font-size: 1.06rem; }
.prose .intro { font-size: 1.28rem; font-weight: 500; color: var(--ink); line-height: 1.5; }
.prose .note { font-size: .84rem; color: var(--muted); }
.prose-cta { margin-top: 36px !important; }

.pull { background: var(--tint); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 40px); position: relative; }
.pull p { font-weight: 700; font-stretch: 90%; font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.32; letter-spacing: -.015em; color: var(--ink); max-width: none; }
.pull cite { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-style: normal; font-size: .92rem; font-weight: 600; color: var(--navy); }
.pull cite::before { content: ""; width: 24px; height: 2px; background: var(--accent); }
.prose .pull + .pull { background: var(--sand); }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px !important; }
.feature { background: var(--surface); border-radius: var(--r-md); padding: 24px 24px 24px; transition: transform .3s, box-shadow .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-grid .feature:last-child:nth-child(odd) { grid-column: 1 / -1; }
.feature-n { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; padding: 4px 11px; border-radius: 999px; background: var(--accent-2); color: var(--ink); }
.feature h3 { font-size: 1.22rem; margin: 14px 0 8px; }
.feature p { font-size: .97rem; color: var(--muted); }

.vsteps { counter-reset: vs; margin-top: 28px !important; }
.vsteps li { position: relative; counter-increment: vs; padding-inline-start: 72px; padding-bottom: 28px; }
.vsteps li::before {
  content: counter(vs, decimal-leading-zero); position: absolute; inset-inline-start: 0; top: 0;
  width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center;
  font-weight: 800; font-stretch: 80%; font-size: 1.1rem; color: var(--accent); background: var(--ink);
}
.vsteps li::after { content: ""; position: absolute; inset-inline-start: 24.5px; top: 58px; bottom: 6px; width: 1px; background: var(--line); }
.vsteps li:last-child { padding-bottom: 0; }
.vsteps li:last-child::after { display: none; }
.vsteps h3 { font-size: 1.22rem; padding-top: 10px; margin-bottom: 6px; }
.vsteps p { color: var(--muted); font-size: .99rem; }

.prose .checks { margin: 26px 0 0; }
.prose .checks span { color: var(--muted); }

.prose .figures { grid-template-columns: 1fr 1fr; margin-top: 26px; }
.prose .figure { background: linear-gradient(160deg, var(--panel-2), var(--ink)); border: 0; }
.prose .figure-num { color: var(--accent); }
.prose .figure-num span { font-size: clamp(4rem, 7vw, 6rem); }
.prose .figure-label { color: rgba(255, 255, 255, .82); }
.prose .figure-note { grid-column: 1 / -1; color: var(--muted); }

.prose .countries { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.prose .country p { color: var(--muted); font-size: .97rem; }
.country .card-link { margin-top: 18px; padding-top: 0; }

.faq { margin-top: 24px !important; display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: var(--r-md); padding: 0 24px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); font-weight: 400; font-size: 1.4rem; line-height: 1; transition: transform .25s, background .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); }
.faq details p { padding-bottom: 22px; color: var(--muted); }

.side { position: sticky; top: 100px; display: grid; gap: 12px; }
.side-card { color: #fff; border-radius: var(--r-lg); padding: 30px 28px; background: radial-gradient(420px 280px at 100% 0%, rgba(var(--blue-rgb), .7), transparent 70%), linear-gradient(165deg, var(--panel-2), var(--ink)); display: grid; gap: 14px; }
.side-card h3 { font-size: 1.6rem; font-weight: 800; font-stretch: 84%; }
.side-card p { color: rgba(255, 255, 255, .76); font-size: .97rem; }
.side-card .btn { width: 100%; margin-top: 4px; }
.side-links { display: grid; margin-top: 6px; }
.side-links a { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-l); font-weight: 600; }
.side-links a:hover { color: var(--accent); }
.side-links svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.side-nav { background: var(--surface); border-radius: var(--r-lg); padding: 24px 26px 12px; }
.side-nav h4 { font-size: .84rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.side-nav a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-weight: 600; transition: color .2s, padding .25s; }
.side-nav a:hover { color: var(--blue); padding-inline-start: 6px; }
.side-nav .arrow { opacity: .5; }

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
  .header-phone { display: none; }
}
@media (max-width: 1240px) {
  .burger { display: block; }
  .nav {
    position: absolute; top: calc(100% + 8px); inset-inline: auto 0; width: min(100%, 380px); flex-direction: column; gap: 0;
    background: rgba(var(--ink-rgb), .96); border: 1px solid var(--line-l); border-radius: 26px; padding: 10px 12px; font-size: 1.1rem;
    transform: translateY(-10px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 16px; }
}
@media (max-width: 1120px) {
  .countries, .voices-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* portraits move above the text once the two columns get too narrow */
  .hero:not(.page-hero) .stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "trio" "text"; min-height: 0; }
  .hero-trio { max-width: 600px; }
}
@media (max-width: 980px) {
  .page-grid { grid-template-columns: 1fr; }
  .side { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 900px) {
  :root { --r-xl: 30px; --r-lg: 24px; --edge: 8px; }
  .site-header { top: 16px; }
  .header-row { width: calc(100% - 32px); }
  .nav { inset-inline: 0; width: auto; }
  .header-actions .btn { display: none; }
  .stage { padding-top: 270px; min-height: 0; }
  .page-hero .stage { padding-top: 250px; }
  .stage-art { width: 100%; height: 320px; inset-block: 0 auto; }
  .stage::before { display: none; }
  [dir="rtl"] .stage-art, [dir="ltr"] .stage-art { -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent); mask-image: linear-gradient(to bottom, #000 50%, transparent); }
  .stage-inner { max-width: none; }
  .hero:not(.page-hero) .stage { padding-top: 100px; }
  .spotlight-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .card, .card-lg, .card-md { grid-column: span 6; }
  .card-lg { grid-column: span 12; }
  .accred { flex-direction: column; align-items: stretch; gap: 18px; }
  .accred-title { flex: none; text-align: center; }
  .accred-row { flex-wrap: wrap; justify-content: center; }
  .accred-row img { height: 56px; }
  .team-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 380px; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .card, .card-lg, .card-md { grid-column: span 12; }
  .countries, .voices-grid, .steps, .field-row, .footer-grid, .hero-facts, .contact-list,
  .feature-grid, .prose .figures, .prose .countries, .side { grid-template-columns: 1fr; }
  .hero-facts > div { justify-content: flex-start; padding: 18px 4px; }
  .hero-facts > div + div { border-inline-start: 0; border-top: 1px solid var(--line); }
  .hero-facts b { font-size: 3rem; min-width: 1.1ch; }
  .accred-row img { height: 48px; max-width: 130px; }
  .hero-facts span { max-width: none; }
  .hero-cta .btn { flex: 1 1 100%; }
  .brand-text small { display: none; }
  .stage-foot { flex-direction: column; align-items: flex-start; }
  .vsteps li { padding-inline-start: 64px; }
  .contact-list li { flex-direction: row; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Services showcase: a list that drives one large photograph ---------- */
.showcase {
  margin: 14px var(--edge) 0; border-radius: var(--r-xl); color: #fff;
  background: radial-gradient(760px 520px at 88% 0%, rgba(var(--accent-rgb), .14), transparent 62%), linear-gradient(170deg, var(--stage-a), var(--stage-b) 78%);
}
.showcase .section-lead { color: rgba(255, 255, 255, .78); }
.showcase h2 em { background: none; padding: 0; color: var(--accent); }
.showcase-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(28px, 5vw, 84px); }
.showcase-item { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 22px; padding: 24px 0; border-top: 1px solid var(--line-l); }
.showcase-item:last-child { border-bottom: 1px solid var(--line-l); }
.showcase-n { font-weight: 700; font-size: .9rem; letter-spacing: .06em; color: var(--accent); padding-top: .7em; }
.showcase-item h3 { font-weight: 800; font-stretch: 84%; letter-spacing: -.025em; font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.08; color: rgba(255, 255, 255, .56); transition: color .35s; }
.showcase-item h3 a { display: block; }
.showcase-item.is-active h3 { color: #fff; }
.showcase-more { grid-column: 2; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.2, .7, .2, 1); }
.showcase-more > div { overflow: hidden; }
.showcase-item.is-active .showcase-more { grid-template-rows: 1fr; }
.showcase-more p { color: rgba(255, 255, 255, .8); font-size: 1.06rem; max-width: 48ch; padding-top: 12px; }
.showcase-more .card-link { margin-top: 14px; color: #fff; }
.showcase-more .card-link .arrow { background: var(--accent); color: var(--ink); }
.showcase-inline { display: none; }
.showcase-frame {
  position: sticky; top: 108px; aspect-ratio: 4 / 5; max-height: calc(100vh - 140px); width: 100%;
  border-radius: var(--r-xl); overflow: hidden; background: var(--panel-2);
}
.showcase-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .7s, transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.showcase-frame img.is-active { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero-trio { gap: 8px; }
  .hero-face { border-radius: 18px; }
  .hero-face--lead { flex-grow: 1.14; }
  .hero-face figcaption { padding: 28px 4px 9px; font-size: .76rem; font-stretch: 80%; text-align: center; white-space: nowrap; }
  .showcase-grid { grid-template-columns: minmax(0, 1fr); }
  .showcase-frame { display: none; }
  .showcase-item { padding: 26px 0; }
  .showcase-inline { display: block; grid-column: 1 / -1; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 18px; background: var(--panel-2); }
  .showcase-item h3 { color: #fff; }
  .showcase-item h3 a { display: flex; align-items: center; min-height: 44px; }
  .showcase-n { padding-top: 15px; }
  .showcase-more { grid-template-rows: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-frame img, .showcase-more { transition: none; }
}
@media (max-width: 360px) {
  .hero-face figcaption { padding-inline: 2px; font-size: .68rem; }
}

/* ==========================================================
   Accessibility toolbar (markup is injected by js/a11y.js)
   ========================================================== */
.a11y-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.a11y { position: fixed; bottom: 24px; inset-inline-start: 24px; z-index: 210; font-family: var(--font); }
.a11y-open { display: grid; place-items: center; width: 56px; height: 56px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: #111315; color: #fff; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .7); transition: transform .2s ease; }
.a11y-open:hover { transform: scale(1.06); }
.a11y-open svg { width: 30px; height: 30px; fill: currentColor; }
.a11y-panel { position: absolute; bottom: calc(100% + 12px); inset-inline-start: 0; display: flex; flex-direction: column; width: min(372px, calc(100vw - 48px)); max-height: calc(100vh - 124px); max-height: calc(100dvh - 124px); background: #fff; color: #111315; border: 2px solid #111315; border-radius: 22px; box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .55); overflow: hidden; text-align: start; line-height: 1.4; }
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 18px; padding-inline: 18px 12px; background: #111315; color: #fff; }
.a11y-head h2 { font-size: 1.15rem; font-weight: 800; letter-spacing: 0; }
.a11y-head h2:focus-visible { outline-offset: 6px; }
.a11y-close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.a11y-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.a11y-body { padding: 6px 16px 16px; overflow-y: auto; }
.a11y-body h3 { margin: 14px 0 8px; font-size: .86rem; font-weight: 700; color: #4A5056; letter-spacing: 0; }
.a11y-size { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; gap: 8px; }
.a11y-size button { height: 48px; padding: 0; border: 2px solid #111315; border-radius: 14px; background: #fff; color: #111315; font-size: 1.6rem; font-weight: 700; line-height: 1; cursor: pointer; }
.a11y-size button:disabled { border-color: #C3C8CC; color: #8A9096; cursor: default; }
.a11y-size output { text-align: center; font-size: 1.1rem; font-weight: 800; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-tile { display: flex; align-items: center; gap: 9px; min-height: 52px; padding: 8px 12px; border: 2px solid #C3C8CC; border-radius: 14px; background: #F4F5F6; color: #111315; font-size: .95rem; font-weight: 600; line-height: 1.25; text-align: start; cursor: pointer; }
.a11y-grid--3 { grid-template-columns: 1fr; }
.a11y-tile:hover { border-color: #111315; }
.a11y-tile[aria-pressed="true"] { border-color: #111315; background: #111315; color: #fff; }
.a11y-check { position: relative; flex: none; width: 20px; height: 20px; border: 2px solid currentColor; border-radius: 50%; }
.a11y-tile[aria-pressed="true"] .a11y-check { background: #fff; border-color: #fff; }
.a11y-tile[aria-pressed="true"] .a11y-check::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #111315; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.a11y-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid #D5D9DC; background: #F4F5F6; }
.a11y-reset { min-height: 44px; padding: 8px 16px; border: 2px solid #111315; border-radius: 999px; background: #fff; color: #111315; font-size: .92rem; font-weight: 700; cursor: pointer; }
.a11y-statement { display: inline-flex; align-items: center; min-height: 44px; font-size: .92rem; font-weight: 700; color: #111315; text-decoration: underline; text-underline-offset: 3px; }
.a11y :focus-visible { outline: 3px solid #1A5FD0; outline-offset: 2px; }
.a11y-head :focus-visible { outline-color: #fff; }
@media (max-width: 620px) {
  .a11y { bottom: 16px; inset-inline-start: 16px; }
  .a11y-panel { width: calc(100vw - 32px); max-height: calc(100vh - 104px); max-height: calc(100dvh - 104px); }
}
@media print { .a11y, .fab { display: none !important; } }

/* --- Text size: everything is sized in rem, so the root size scales the page --- */
html.a11y-zoom { font-size: calc(100% * var(--a11y-scale, 1)); }
@media (min-width: 1241px) {
  /* enlarged or spaced-out text does not fit the one-line menu: use the folded menu at every width */
  html.a11y-compact .header-phone { display: none; }
  html.a11y-compact .burger { display: block; }
  html.a11y-compact .nav {
    position: absolute; top: calc(100% + 8px); inset-inline: auto 0; width: min(100%, 380px); flex-direction: column; gap: 0;
    background: rgba(var(--ink-rgb), .96); border: 1px solid var(--line-l); border-radius: 26px; padding: 10px 12px; font-size: 1.1rem;
    transform: translateY(-10px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
  }
  html.a11y-compact .nav.open { transform: none; opacity: 1; visibility: visible; }
  html.a11y-compact .nav a { padding: 14px 16px; }
}

/* --- Colour modes (one at a time). Filters go on the top-level blocks, not on
       <body>, so the fixed header and floating buttons stay fixed. --- */
html.a11y-gray body > * { filter: grayscale(1); }
html.a11y-invert body { background: #0C0D10; }
html.a11y-invert body > * { filter: invert(1) hue-rotate(180deg); }
html.a11y-invert body img:not(.brand-mark) { filter: invert(1) hue-rotate(180deg); }

html.a11y-contrast {
  --accent: #FFE600; --accent-2: #FFE600; --blue: #FFE600; --accent-rgb: 255, 230, 0; --blue-rgb: 255, 230, 0;
  --text: #fff; --text-2: #fff; --text-3: #fff; --muted: #fff; --line: #fff; --line-l: #fff;
}
html.a11y-contrast body,
html.a11y-contrast body *:not(img):not(svg):not(svg *):not(.a11y):not(.a11y *) {
  background-color: #000 !important; background-image: none !important; color: #fff !important;
  border-color: #fff !important; box-shadow: none !important; text-shadow: none !important;
}
html.a11y-contrast body *:not(.a11y *)::before,
html.a11y-contrast body *:not(.a11y *)::after { background: none !important; box-shadow: none !important; }
html.a11y-contrast.a11y-contrast.a11y-contrast body a:not(.a11y *), html.a11y-contrast.a11y-contrast.a11y-contrast body a:not(.a11y *) *:not(svg):not(svg *),
html.a11y-contrast.a11y-contrast.a11y-contrast body button:not(.a11y *), html.a11y-contrast.a11y-contrast.a11y-contrast body button:not(.a11y *) *:not(svg):not(svg *) { color: #FFE600 !important; }
html.a11y-contrast.a11y-contrast.a11y-contrast body .btn, html.a11y-contrast.a11y-contrast.a11y-contrast body .lang, html.a11y-contrast.a11y-contrast.a11y-contrast body .fab,
html.a11y-contrast.a11y-contrast.a11y-contrast body input, html.a11y-contrast.a11y-contrast.a11y-contrast body select, html.a11y-contrast.a11y-contrast.a11y-contrast body textarea { border: 2px solid #fff !important; }
html.a11y-contrast.a11y-contrast.a11y-contrast body .burger span { background-color: #fff !important; }
html.a11y-contrast.a11y-contrast.a11y-contrast body img { opacity: 1 !important; filter: none !important; }
html.a11y-contrast.a11y-contrast.a11y-contrast body .showcase-frame img:not(.is-active) { opacity: 0 !important; }
html.a11y-contrast.a11y-contrast.a11y-contrast body .signature img { filter: invert(1) !important; }

/* --- Reading aids --- */
html.a11y-links body a:not(.a11y *) { text-decoration: underline !important; text-decoration-thickness: .1em !important; text-underline-offset: .22em !important; outline: 2px solid currentColor; outline-offset: 2px; }
html.a11y-links body a:not(.a11y *):focus-visible { outline: 4px solid var(--accent); outline-offset: 4px; }
html.a11y-headings body :is(h1, h2, h3, h4):not(.a11y *) { outline: 3px solid currentColor; outline-offset: 5px; border-radius: 4px; }
html.a11y-font body, html.a11y-font body * { font-family: Arial, "Arial Hebrew", Helvetica, sans-serif !important; font-stretch: 100% !important; letter-spacing: 0 !important; }
html.a11y-spacing body *:not(.a11y):not(.a11y *) { letter-spacing: .12em !important; word-spacing: .16em !important; }
html.a11y-spacing body :is(p, li, dd, dt, blockquote, label, small, figcaption, input, textarea, select):not(.a11y *) { line-height: 2 !important; }
html.a11y-spacing body :is(h1, h2, h3, h4):not(.a11y *) { line-height: 1.5 !important; }
html.a11y-spacing body p:not(.a11y *) + p { margin-top: 2em !important; }
html.a11y-motion { scroll-behavior: auto; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; }
html.a11y-motion.js .reveal { opacity: 1; transform: none; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M5 2l14 11h-7l4 8-3 1.5-4-8.500-4 5z' fill='%23000' stroke='%23fff' stroke-width='1.500' stroke-linejoin='round'/%3E%3C/svg%3E") 10 4, auto !important; }

/* ---------- Accessibility statement page ---------- */
.page-hero.page-hero--plain .stage { padding-top: 150px; }
.statement { max-width: 820px; }
.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-2); font-size: 1.06rem; }
.ticks svg { flex: none; width: 22px; height: 22px; margin-top: .25em; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.statement-contact { display: grid; gap: 4px; font-size: 1.06rem; color: var(--text-2); }
.statement-contact li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 44px; }
.statement-contact li > span:first-child { font-weight: 700; color: var(--ink); }
.statement-contact a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .page-hero.page-hero--plain .stage { padding-top: 120px; } }

/* ---------- Legal page (terms, privacy, accessibility) ---------- */
.page-hero--plain h1 { max-width: 24ch; }
.legal { max-width: 860px; }
.legal h3 { font-size: 1.3rem; margin-top: 40px; }
.legal h3 + * { margin-top: 12px; }
.legal ol, .legal ul { display: grid; gap: 10px; padding-inline-start: 1.6em; color: var(--text-2); font-size: 1.06rem; }
.legal ol { list-style: decimal; }
.legal ul { list-style: disc; }
.legal li > ol, .legal li > ul { margin-top: 10px; font-size: 1em; }
.legal li::marker { color: var(--muted); font-weight: 600; }
.legal a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.legal-toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: .95rem; font-weight: 600; transition: border-color .2s, color .2s; }
.legal-toc a:hover { border-color: var(--blue); color: var(--blue); }
.legal-note { max-width: 860px; margin-bottom: 28px; padding: 14px 18px; border-radius: var(--r-sm); background: var(--sand); color: var(--ink); font-size: .98rem; }
html[lang="he"] .only-en { display: none; }
