@font-face{font-family:"Assistant";font-style:normal;font-weight:200 800;font-display:swap;src:url(/fonts/assistant-hebrew.2df1e525.woff2) format("woff2");unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"Assistant";font-style:normal;font-weight:200 800;font-display:swap;src:url(/fonts/assistant-latin.c387c378.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Heebo";font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/heebo-hebrew.26d34c3f.woff2) format("woff2");unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"Heebo";font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/heebo-basic.3c5ebe00.woff2) format("woff2");unicode-range:U+0020-0023,U+0025-0040,U+005B,U+005D,U+005F,U+007C,U+007E,U+00A0,U+00AB,U+00B7,U+00BB,U+2013-2014,U+2018-2019,U+201C-201D,U+2022,U+2026,U+2212}
/* דקל לפרישה - site styles, version 3. Mobile first, RTL, readers aged 55+.

   1. tokens          4. header, footer, mobile bar     7. motion: reveal, page transitions,
   2. base            5. shared blocks (lead, reviews)     reduced motion, print
   3. components      6. pages                          8. accessibility menu and its modes,
                                                           forced colours

   Palette: one scale of the brand's blues, from the logo's mid blue (--blue-500) down to a deep blue
   for text. Large blue surfaces run from --blue-700 to --blue-550, so white text keeps at least 5.5:1
   on every stop; the logo's light blue (--sky) is an accent, never a background for white text. Gold is
   the thin accent (rules, numerals, outlines): --gold on white, --gold-light on blue.
   Headings are set in Heebo, text in Assistant. The outline of the shield from the logo
   frames photos and repeats as a contour motif.
   Motion: 150-450ms, ease-out, transform/opacity only; nothing moves for more than five seconds;
   everything is visible without JavaScript, and still with prefers-reduced-motion or "עצירת אנימציות". */

/* ------------------------------------------------------------------ 1. tokens */
:root {
  --blue-900: #0B2F5E;
  --blue-800: #0F3F7D;
  --blue-700: #124F99;
  --blue-600: #155CAD;
  --blue-550: #1968BD;
  --blue-500: #1A6FC4;
  --sky: #009FE3;
  --sky-soft: #D9F0FD;
  --gold: #AE9A64;
  --gold-ink: #75612F;
  --gold-soft: #E9DFC6;
  --gold-light: #F3E3B3;
  --ink: #16233F;
  --muted: #46546E;
  --paper: #FFFFFF;
  --mist: #F2F6FB;
  --sand: #F8F4EA;
  --line: #D3DDEA;
  --line-strong: #B9C8DC;
  --field-line: #5B6B86;
  --error: #B3261E;
  --ok: #1B7A49;
  --wa: #25D366;
  --on-dark-muted: #EEF4FB;

  /* the blue surfaces: hero, title bands, the process, result cards, footer */
  --surface-blue: linear-gradient(160deg, var(--blue-700) 0%, var(--blue-600) 52%, var(--blue-550) 100%);
  --surface-blue-glow: radial-gradient(120% 140% at 0% 0%, var(--blue-550) 0%, var(--blue-600) 46%, var(--blue-700) 100%);
  --surface-blue-deep: linear-gradient(180deg, var(--blue-700) 0%, var(--blue-800) 100%);
  --contour: rgba(217, 240, 253, 0.26);
  --shade: 15, 51, 102;
  --focus: var(--blue-800);

  --font-body: "Assistant", system-ui, -apple-system, "Segoe UI", "Arial Hebrew", Arial, sans-serif;
  --font-display: "Heebo", "Assistant", system-ui, -apple-system, "Segoe UI", "Arial Hebrew", Arial, sans-serif;

  --ease-out: cubic-bezier(0.22, 0.8, 0.26, 1);
  --ease-spring: cubic-bezier(0.3, 1.4, 0.45, 1);
  --t-fast: 160ms;
  --t: 260ms;
  --t-slow: 420ms;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow-1: 0 1px 2px rgba(var(--shade), 0.06), 0 4px 14px -6px rgba(var(--shade), 0.14);
  --shadow-2: 0 2px 4px rgba(var(--shade), 0.06), 0 14px 34px -12px rgba(var(--shade), 0.22);
  --shadow-3: 0 4px 8px rgba(var(--shade), 0.08), 0 28px 56px -18px rgba(var(--shade), 0.32);

  --wrap: 1200px;
  --gutter: 20px;
  --bar-h: 68px;
  --header-top: 68px;
  --header-nav: 0px;
  --header-h: calc(var(--header-top) + var(--header-nav));
  --section: 56px;

  --shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 118' preserveAspectRatio='none'%3E%3Cpath d='M8 0h84c4.4 0 8 3.6 8 8v58c0 24-20 40-50 52C20 106 0 90 0 66V8c0-4.4 3.6-8 8-8z'/%3E%3C/svg%3E");
  --shield-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 102 120' preserveAspectRatio='none'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.1' vector-effect='non-scaling-stroke' d='M8 0h84c4.4 0 8 3.6 8 8v58c0 24-20 40-50 52C20 106 0 90 0 66V8c0-4.4 3.6-8 8-8z'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ 2. base */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* a focused or targeted element is never left under the sticky header or the fixed bar at the bottom */
  scroll-padding-top: calc(var(--header-top) + 20px);
  scroll-padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
}

img, svg { max-width: 100%; }
a, button, summary, label, input, select { touch-action: manipulation; }
img { height: auto; display: block; }
h1, h2, h3, h4 { color: var(--blue-800); margin: 0 0 0.6em; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 700; line-height: 1.16; letter-spacing: -0.005em; }
h1 { font-size: clamp(2rem, 7.4vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 5.6vw, 2.5rem); }
h3 { font-size: 1.3125rem; font-weight: 800; line-height: 1.3; }
h4 { font-size: 1.125rem; font-weight: 800; line-height: 1.35; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-inline-start: 1.3em; }
a { color: var(--blue-600); text-underline-offset: 0.2em; text-decoration-thickness: 0.08em; }
a:hover { color: var(--blue-800); }
.on-dark { color: #fff; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }

/* focus: a 3px ring, deep blue on light surfaces and white on blue ones (at least 5.5:1 against what is behind it) */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .mobile-bar :focus-visible { outline-color: #fff; }
.mobile-bar :focus-visible { outline-offset: -6px; }
.mobile-bar__btn--wa:focus-visible { outline-color: var(--blue-900); }
main:focus { outline: none; }
main, .site-footer { overflow-x: clip; }
::selection { background: var(--blue-800); color: #fff; }
[lang="en"] { unicode-bidi: normal; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* off the screen by its own height (whatever the text size makes it), and back when it has the focus */
.skip-link {
  position: absolute; inset-inline-start: 12px; top: 12px; z-index: 100; max-width: calc(100vw - 24px); transform: translateY(calc(-100% - 40px));
  background: var(--blue-800); color: #fff; padding: 18px 26px; border-radius: 12px; font-weight: 700;
  border: 3px solid #fff; box-shadow: 0 0 0 3px var(--blue-800), 0 10px 30px rgba(var(--shade), 0.4);
}
.skip-link:focus { transform: none; color: #fff; outline: 3px solid #fff; outline-offset: -9px; }

/* a photograph behind a block: decorative, toned at build time, under a veil of the block's colour */
.bg-photo { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-photo picture { display: contents; }
.bg-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--bg-pos, center); }
.bg-photo::after { content: ""; position: absolute; inset: 0; background: var(--bg-veil, none); }

section { scroll-margin-top: 12px; }

/* ------------------------------------------------------------------ 3. components */

/* --- button: one anatomy, three variants. Motion signature: a fill sweeps across in the reading
       direction and the puck with the arrow slides the same way; a press sinks the button a little. */
.btn {
  --btn-bg: var(--blue-500); --btn-fg: #fff; --btn-sweep: var(--blue-800); --btn-fg-hover: #fff; --btn-line: transparent;
  --puck-bg: rgba(255, 255, 255, 0.18); --puck-fg: #fff; --puck-bg-hover: var(--gold-light); --puck-fg-hover: var(--blue-900);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 58px; padding: 9px 26px; padding-inline-end: 10px;
  border: 2px solid var(--btn-line); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: inherit; font-weight: 700; font-size: 1.125rem; line-height: 1.25; text-align: center; text-decoration: none;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t) var(--ease-out), color var(--t) var(--ease-out), border-color var(--t) var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; background: var(--btn-sweep);
  transform: translateX(102%); transition: transform 380ms var(--ease-out);
}
.btn:hover, .btn:focus-visible { color: var(--btn-fg-hover); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover { box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(1px) scale(0.985); box-shadow: none; }
.btn__label { flex: 0 1 auto; }
.btn__puck, .btn__lead { flex: none; display: grid; place-items: center; }
.btn__puck {
  width: 38px; height: 38px; border-radius: 50%; background: var(--puck-bg); color: var(--puck-fg);
  transition: transform var(--t) var(--ease-out), background-color var(--t) var(--ease-out), color var(--t) var(--ease-out);
}
.btn__puck svg { width: 20px; height: 20px; }
.btn:hover .btn__puck, .btn:focus-visible .btn__puck { transform: translateX(-4px); background: var(--puck-bg-hover); color: var(--puck-fg-hover); }
.btn__lead svg { width: 22px; height: 22px; }
.btn:not(:has(.btn__puck)) { padding-inline-end: 26px; }
.btn:has(.btn__lead) { padding-inline-start: 20px; gap: 10px; }

.btn--secondary { --btn-bg: #fff; --btn-fg: var(--blue-800); --btn-line: var(--blue-800); --btn-sweep: var(--blue-800); --puck-bg: var(--mist); --puck-fg: var(--blue-800); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--blue-800); --btn-line: var(--field-line); --btn-sweep: var(--mist); --btn-fg-hover: var(--blue-800); --puck-bg: var(--mist); --puck-fg: var(--blue-800); --puck-bg-hover: var(--blue-800); --puck-fg-hover: #fff; }
.btn--ghost:hover { box-shadow: none; }
.btn--sm { min-height: 48px; padding-block: 5px; padding-inline-start: 20px; padding-inline-end: 6px; font-size: 1.0625rem; gap: 10px; }
.btn--sm .btn__puck { width: 34px; height: 34px; }
.btn--sm:not(:has(.btn__puck)) { padding-inline-end: 20px; }
.btn--sm:has(.btn__lead) { padding-inline-start: 16px; }

/* on a dark surface the same variants change palette */
.on-dark .btn--primary { --btn-bg: #fff; --btn-fg: var(--blue-800); --btn-sweep: var(--sky-soft); --btn-fg-hover: var(--blue-900); --puck-bg: var(--blue-500); --puck-fg: #fff; --puck-bg-hover: var(--blue-800); --puck-fg-hover: #fff; }
.on-dark .btn--secondary { --btn-bg: transparent; --btn-fg: #fff; --btn-line: #fff; --btn-sweep: #fff; --btn-fg-hover: var(--blue-800); --puck-bg: rgba(255, 255, 255, 0.16); --puck-fg: #fff; --puck-bg-hover: var(--blue-800); --puck-fg-hover: #fff; }
.on-dark .btn--ghost { --btn-fg: #fff; --btn-line: rgba(255, 255, 255, 0.6); --btn-sweep: rgba(255, 255, 255, 0.14); --btn-fg-hover: #fff; --puck-bg: rgba(255, 255, 255, 0.16); --puck-fg: #fff; --puck-bg-hover: var(--gold-light); --puck-fg-hover: var(--blue-900); }

/* states: loading (form submit) and success */
.btn[disabled], .btn[aria-disabled="true"] { cursor: default; }
.btn.is-loading, .btn.is-success { pointer-events: none; }
.btn.is-loading::before, .btn.is-success::before { transform: none; }
.btn.is-loading { color: var(--btn-fg-hover); }
.btn.is-loading .btn__puck svg, .btn.is-success .btn__puck svg { opacity: 0; }
.btn.is-loading .btn__puck { background: transparent; }
.btn.is-loading .btn__puck::after {
  content: ""; position: absolute; width: 24px; height: 24px; border-radius: 50%;
  border: 3px solid currentColor; border-inline-start-color: transparent; animation: spin 0.7s linear infinite;
}
.btn.is-success { --btn-sweep: var(--ok); color: #fff; }
.btn.is-success .btn__puck { background: #fff; transform: none; }
.btn.is-success .btn__puck::after {
  content: ""; position: absolute; width: 16px; height: 9px; border-left: 3px solid var(--ok); border-bottom: 3px solid var(--ok);
  transform: translateY(-2px) rotate(-45deg); animation: tick 0.3s var(--ease-spring) both;
}
.btn__puck { position: relative; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes tick { from { opacity: 0; transform: translateY(-2px) rotate(-45deg) scale(0.4); } }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5em 0 0; }
.btn-row--center { justify-content: center; }

/* --- round icon button */
.icon-btn {
  position: relative; display: inline-grid; place-items: center; flex: none; width: 52px; height: 52px; padding: 0;
  border-radius: 50%; border: 2px solid var(--blue-800); background: #fff; color: var(--blue-800); cursor: pointer; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t) var(--ease-out), color var(--t) var(--ease-out), border-color var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out);
}
.icon-btn svg { transition: transform var(--t) var(--ease-out); }
.icon-btn:hover, .icon-btn:focus-visible { background: var(--blue-800); color: #fff; box-shadow: var(--shadow-1); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn[disabled] { opacity: 0.45; cursor: default; pointer-events: none; }
[data-carousel-next]:hover svg { transform: translateX(-3px); }
[data-carousel-prev]:hover svg { transform: translateX(3px); }
.on-dark .icon-btn, .icon-btn--line { background: transparent; }
.on-dark .icon-btn { border-color: #fff; color: #fff; }
.on-dark .icon-btn:hover, .on-dark .icon-btn:focus-visible { background: #fff; border-color: #fff; color: var(--blue-800); }

/* --- text link: the underline is drawn from the start of the line */
.link, .prose a:not(.btn), .footer-link, .contact-link {
  --link-line: currentColor;
  text-decoration: none; background: linear-gradient(var(--link-line), var(--link-line)) no-repeat 100% 100% / 100% 0.08em;
  transition: background-size var(--t) var(--ease-out), color var(--t-fast) var(--ease-out);
  padding-bottom: 0.1em;
}
.link:hover, .prose a:not(.btn):hover { background-size: 100% 0.16em; }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-weight: 700; background: none; padding: 0; }
.link .link__label { background: linear-gradient(currentColor, currentColor) no-repeat 100% 100% / 100% 0.08em; padding-bottom: 0.12em; transition: background-size var(--t) var(--ease-out); }
.link:hover .link__label { background-size: 100% 0.16em; }
.link svg { width: 20px; height: 20px; flex: none; transition: transform var(--t) var(--ease-out); }
.link--arrow:hover svg { transform: translateX(-4px); }
.link--back:hover svg { transform: translateX(4px); }
.on-dark .link { color: #fff; }

/* --- chip */
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 14px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); color: var(--blue-800); font-weight: 600; font-size: 1rem; }

/* --- card: a surface with depth; a card that is a link lifts on hover and sinks on press */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-1); }
.card--link {
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out), border-color var(--t) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.card--link:hover, .card--link:focus-within { transform: translateY(-5px); box-shadow: var(--shadow-3); border-color: var(--line-strong); }
.card--link:active { transform: translateY(-1px) scale(0.992); box-shadow: var(--shadow-1); }
.card__go {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--mist); color: var(--blue-800);
  transition: transform var(--t) var(--ease-out), background-color var(--t) var(--ease-out), color var(--t) var(--ease-out);
}
.card__go svg { width: 20px; height: 20px; }
.card--link:hover .card__go, .card--link:focus-within .card__go { background: var(--blue-800); color: #fff; transform: translateX(-4px); }

/* --- heading with the gold rule that draws in */
.title-rule { position: relative; padding-bottom: 0.5em; margin-bottom: 0.7em; }
.title-rule::after {
  content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 72px; height: 4px; border-radius: 2px; background: var(--gold);
  transform-origin: 100% 50%; transition: transform var(--t-slow) var(--ease-out) 140ms;
}
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 30px; }
.section-head .title-rule { margin-bottom: 0; }
.section-head__sub { margin: 14px 0 0; color: var(--muted); font-weight: 600; }
.on-dark .title-rule::after { background: var(--gold-light); }
.on-dark .section-head__sub { color: var(--on-dark-muted); }
.section-head--center { justify-content: center; text-align: center; }
.section-head--center .title-rule::after { inset-inline-start: calc(50% - 36px); transform-origin: 50% 50%; }

/* --- shield photo frame + the gold outline set off behind a portrait */
.shield {
  display: block; aspect-ratio: 100 / 118; overflow: hidden; background: var(--mist);
  -webkit-mask: var(--shield) center / 100% 100% no-repeat; mask: var(--shield) center / 100% 100% no-repeat;
}
.shield img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.shield--tint { background: linear-gradient(180deg, #D9E8F8 0%, var(--mist) 100%); }
.shield--tint img { object-position: center top; }
.portrait { position: relative; }
.portrait::before {
  content: ""; position: absolute; inset: 0; background: var(--gold); pointer-events: none;
  -webkit-mask: var(--shield-line) center / 100% 100% no-repeat; mask: var(--shield-line) center / 100% 100% no-repeat;
  transform: translate(-14px, 14px); transition: transform var(--t-slow) var(--ease-out) 200ms;
}

/* --- decorative shield contours */
.contours { position: absolute; pointer-events: none; overflow: visible; }
.contours__line { stroke: currentColor; stroke-width: 0.45; stroke-dasharray: 1; stroke-dashoffset: 0; }

.ticks { list-style: none; padding: 0; margin: 0 0 1.1em; }
.ticks li { position: relative; padding-inline-start: 38px; margin-bottom: 12px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.2em; width: 26px; height: 26px; border-radius: 50%; background: var(--mist); }
.ticks li::after {
  content: ""; position: absolute; inset-inline-start: 7px; top: calc(0.2em + 8px); width: 12px; height: 7px;
  border-left: 2.5px solid var(--blue-500); border-bottom: 2.5px solid var(--blue-500); transform: rotate(-45deg);
}

/* --- form fields */
.form { --form-gap: 18px; display: grid; gap: var(--form-gap); }
.form__note { margin: 0; font-size: 1rem; color: var(--muted); }
.req { color: var(--error); font-weight: 800; }
.field { display: grid; }
.field__label { margin-bottom: 7px; font-weight: 700; color: var(--blue-800); transition: color var(--t-fast) var(--ease-out); }
.field:focus-within .field__label { color: var(--blue-600); }
.field__control { position: relative; }
.field__control::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--gold);
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform var(--t) var(--ease-out);
}
.field__control:focus-within::after { transform: none; }
.field__input {
  width: 100%; min-height: 58px; padding: 10px 16px; border: 2px solid var(--field-line); border-radius: 14px;
  background: #fff; color: var(--ink); font: inherit; font-size: 1.125rem;
  transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t) var(--ease-out), background-color var(--t) var(--ease-out);
}
.field__input[dir="ltr"] { text-align: right; }
.field__input:hover { border-color: var(--blue-800); }
.field__input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--blue-800); border-radius: 14px; }
.field__input[aria-invalid="true"] { border-color: var(--error); border-width: 3px; background: #FFF8F7; }
.field__ok {
  position: absolute; inset-inline-end: 14px; top: 50%; display: grid; place-items: center; width: 26px; height: 26px; margin-top: -13px;
  border-radius: 50%; background: var(--ok); color: #fff; opacity: 0; transform: scale(0.4); pointer-events: none;
  transition: opacity var(--t-fast) var(--ease-out), transform var(--t) var(--ease-spring);
}
.field__ok svg { width: 16px; height: 16px; stroke-width: 3; }
.field.is-valid .field__ok { opacity: 1; transform: none; }
.field.is-valid .field__input { padding-inline-end: 50px; }
/* the message is a live region that is always in the page; empty, it takes no room */
.field__err { margin: 7px 0 0; padding-inline-start: 26px; color: var(--error); font-weight: 700; font-size: 1rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B3261E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7.5v5.5M12 16.4v.2'/%3E%3C/svg%3E") no-repeat right 0.22em / 20px 20px; }
.field__err:empty { margin: 0; padding: 0; background: none; }
.field__err:not(:empty) { animation: err-in var(--t) var(--ease-out) both; }
@keyframes err-in { from { opacity: 0; transform: translateY(-4px); } }
.field--hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { width: 100%; margin-top: 4px; }
.form__status { margin: 0; font-weight: 700; color: var(--error); }
.form__status:empty { height: 0; margin-top: calc(var(--form-gap) * -1); }

/* --- accordion (FAQ). Without JavaScript every panel is open. */
.accordion { display: grid; gap: 14px; }
.accordion__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-1); overflow: hidden; transition: border-color var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out); }
.accordion__item.is-open { border-color: var(--line-strong); box-shadow: var(--shadow-2); }
.accordion__heading { margin: 0; font-family: var(--font-body); font-size: 1.25rem; letter-spacing: 0; }
.accordion__trigger {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 68px; padding: 16px 20px;
  border: 0; background: none; color: var(--blue-800); font: inherit; font-weight: 800; line-height: 1.35; text-align: start; cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: background-color var(--t) var(--ease-out);
}
.accordion__trigger::before {
  content: ""; position: absolute; inset-block: 14px; inset-inline-start: 0; width: 4px; border-radius: 0 4px 4px 0; background: var(--gold);
  transform: scaleY(0); transition: transform var(--t) var(--ease-out);
}
[dir="rtl"] .accordion__trigger::before { border-radius: 4px 0 0 4px; }
.accordion__trigger[aria-expanded="true"]::before { transform: none; }
.accordion__trigger:hover { background: var(--mist); }
.accordion__trigger:focus-visible { outline-offset: -5px; border-radius: var(--radius); }
.accordion__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--mist); color: var(--blue-800); transition: transform var(--t) var(--ease-out), background-color var(--t) var(--ease-out), color var(--t) var(--ease-out); }
.accordion__trigger[aria-expanded="true"] .accordion__icon { transform: rotate(180deg); background: var(--blue-800); color: #fff; }
.accordion__panel { display: grid; grid-template-rows: 1fr; }
.accordion__inner { min-height: 0; overflow: hidden; }
.accordion__inner p { margin: 0; padding: 2px 20px 22px; max-width: 46rem; }
.js .accordion__panel { transition: grid-template-rows 340ms var(--ease-out), visibility 340ms; }
.js .accordion__trigger[aria-expanded="false"] + .accordion__panel, .js .accordion__heading:has([aria-expanded="false"]) + .accordion__panel { grid-template-rows: 0fr; visibility: hidden; }

/* --- carousel (testimonials): swipe, arrows, no autoplay. Without JavaScript it simply scrolls sideways. */
.carousel { position: relative; margin-inline: calc(var(--gutter) * -1); }
.carousel__track {
  list-style: none; margin: 0; display: flex; gap: 16px; padding: 10px var(--gutter) 26px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline-offset: -4px; border-radius: var(--radius-l); }
.carousel__slide { flex: 0 0 86%; scroll-snap-align: start; }
.carousel__controls { display: none; align-items: center; gap: 12px; }
.js .carousel__controls { display: flex; }
.carousel__status { margin: 0; min-width: 62px; text-align: center; font-weight: 800; color: var(--blue-800); font-variant-numeric: tabular-nums; }

/* --- pager */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 44px; }
.pager ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; }
.pager__num {
  display: inline-grid; place-items: center; min-width: 50px; min-height: 50px; padding: 6px 12px; border-radius: 14px;
  border: 2px solid var(--field-line); color: var(--blue-800); font-weight: 800; text-decoration: none; background: #fff; font-variant-numeric: tabular-nums;
  transition: transform var(--t-fast) var(--ease-out), border-color var(--t) var(--ease-out), background-color var(--t) var(--ease-out), color var(--t) var(--ease-out);
}
a.pager__num:hover { border-color: var(--blue-800); color: var(--blue-800); transform: translateY(-2px); }
a.pager__num:active { transform: scale(0.95); }
.pager__num[aria-current="page"] { background: var(--blue-800); border-color: var(--blue-800); color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ------------------------------------------------------------------ 4. header, footer, mobile bar */
/* Without JavaScript the header is an ordinary block (the menu is a list under it). With it, the header
   stays at the top of the screen; its box keeps a fixed height, so condensing never moves the page. */
.site-header { position: relative; z-index: 40; view-transition-name: site-header; }
.js .site-header { position: sticky; top: 0; height: var(--header-h); pointer-events: none; }
.site-header__inner { pointer-events: auto; transition: transform var(--t-slow) var(--ease-out); }
.site-header__top { position: relative; z-index: 2; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow var(--t) var(--ease-out); }
/* In the page the accessibility control comes first (right after the skip link); on the screen the logo
   opens the row and the two tools - accessibility, menu - close it. */
.site-header__row { display: flex; align-items: center; gap: 8px; height: var(--header-top); }
.site-logo { order: 0; display: flex; align-items: center; min-height: 48px; min-width: 0; flex: 0 1 auto; margin-inline-end: auto; border-radius: 8px; }
.site-logo img { width: 178px; max-width: 100%; transform-origin: 100% 50%; transition: transform var(--t-slow) var(--ease-out); }
.a11y-open { order: 1; }
.site-header__actions { order: 2; display: flex; align-items: center; gap: 8px; }
.header-phone, .header-wa { display: none; }
.site-header.is-condensed .site-header__top { box-shadow: 0 10px 30px -14px rgba(var(--shade), 0.4); }
.site-header.is-condensed .site-logo img { transform: scale(0.88); }

/* header tools: icon over a word on a phone, a pill with both on a desktop. The label is capped so that
   the enlarged-text modes never push the header out of its row. */
.header-tool {
  flex: none; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  min-width: 58px; min-height: 52px; padding: 4px 8px; border: 2px solid var(--blue-800); border-radius: 14px;
  background: #fff; color: var(--blue-800); font: inherit; font-weight: 700; font-size: min(0.875rem, 17px); line-height: 1.15; text-decoration: none;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color var(--t) var(--ease-out), color var(--t) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.header-tool svg { width: 24px; height: 24px; flex: none; }
.header-tool:hover { background: var(--blue-800); color: #fff; }
.header-tool:active { transform: scale(0.96); }
.menu-toggle { display: none; }
.js .menu-toggle { display: inline-flex; }
.menu-toggle[aria-expanded="true"] { background: var(--blue-800); color: #fff; }
.menu-toggle__icon { display: grid; }
.menu-toggle__icon svg { grid-area: 1 / 1; transition: opacity var(--t-fast) var(--ease-out), transform var(--t) var(--ease-out); }
.menu-toggle__icon svg:last-child { opacity: 0; transform: rotate(-45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon svg:first-child { opacity: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon svg:last-child { opacity: 1; transform: none; }

/* the menu: a list under the header without JavaScript; with it, a panel that drops in. On a wide
   screen it becomes the navigation row (below) - unless the visitor enlarged the text, in which case
   the panel is kept at every width (html.nav-compact, set together with the text size). */
.site-nav { background: #fff; border-bottom: 1px solid var(--line); pointer-events: auto; }
.site-nav__row { display: block; }
.site-nav__list { list-style: none; margin: 0; padding: 8px 0 14px; }
.site-nav__home, .site-nav__phone { display: none; }
.nav-link {
  position: relative; display: flex; align-items: center; min-height: 56px; padding: 8px 4px; border-bottom: 1px solid var(--mist);
  color: var(--blue-800); font-weight: 700; font-size: 1.25rem; text-decoration: none; -webkit-tap-highlight-color: transparent;
  transition: color var(--t-fast) var(--ease-out), padding var(--t) var(--ease-out);
}
.site-nav__list li:last-child .nav-link { border-bottom: 0; }
.nav-link__label { position: relative; }
.nav-link__mark { display: none; }
.nav-link:hover { color: var(--blue-500); }
.nav-link:focus-visible { outline-offset: -3px; }
.nav-link[aria-current="page"] { color: var(--blue-600); padding-inline-start: 18px; }
.nav-link[aria-current="page"]::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 6px; height: 28px; margin-top: -14px; border-radius: 3px; background: var(--gold); }

.js .site-nav {
  position: absolute; inset-inline: 0; top: var(--header-top); z-index: 1; height: calc(100vh - var(--header-top) - var(--bar-h)); height: calc(100dvh - var(--header-top) - var(--bar-h));
  overflow-y: auto; overscroll-behavior: contain; border-bottom: 0;
  background: linear-gradient(180deg, #fff 0%, var(--mist) 100%);
  visibility: hidden; opacity: 0; transform: translateY(-12px);
  transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-out), visibility 0s linear var(--t);
}
.js .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.js .site-nav .site-nav__list { padding-block: 14px 28px; }
.js .site-nav li { opacity: 0; transform: translateY(10px); transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-out); }
.js .site-nav.is-open li { opacity: 1; transform: none; transition-delay: calc(60ms + var(--i, 0) * 32ms); }
html.menu-open { overflow: hidden; }

/* reading progress (posts): a thin gold line on the header's lower edge */
.read-progress { position: absolute; inset-inline: 0; top: var(--header-top); height: 4px; pointer-events: none; overflow: hidden; }
.read-progress__bar { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: 100% 50%; }

/* mobile action bar (the only fixed element on mobile) */
.mobile-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr;
  padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--blue-800); box-shadow: 0 -6px 20px rgba(var(--shade), 0.28);
}
.mobile-bar__btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--bar-h);
  font-weight: 800; font-size: min(1.25rem, 26px); text-decoration: none; -webkit-tap-highlight-color: transparent;
  transition: filter var(--t-fast) var(--ease-out);
}
.mobile-bar__btn svg { transition: transform var(--t) var(--ease-spring); }
.mobile-bar__btn:active { filter: brightness(0.9); }
.mobile-bar__btn:active svg { transform: scale(0.86); }
.mobile-bar__btn--phone { background: var(--blue-800); color: #fff; }
.mobile-bar__btn--wa { background: var(--wa); color: var(--blue-900); }
.mobile-bar__btn--phone:hover { color: #fff; }
.mobile-bar__btn--wa:hover { color: var(--blue-900); }

/* footer */
.site-footer { position: relative; isolation: isolate; background: var(--surface-blue-deep); color: #fff; overflow: hidden; border-top: 4px solid var(--gold); }
.site-footer__contours { z-index: -1; color: rgba(217, 240, 253, 0.12); width: 560px; left: -180px; bottom: -300px; }
.site-footer__grid { display: grid; gap: 34px; padding-block: 48px 30px; }
.site-footer h2 { font-size: 1.875rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.site-footer__grid > *, .contact-link > span:last-child { min-width: 0; }
.contact-link > span:last-child, .contact-link > span:last-child > span { overflow-wrap: anywhere; }
.contact-link { display: inline-flex; align-items: center; gap: 14px; max-width: 100%; min-height: 52px; color: #fff; font-size: 1.25rem; font-weight: 700; overflow-wrap: anywhere; background: none; padding: 0; }
.contact-link:hover { color: var(--sky-soft); }
.contact-link__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; transition: background-color var(--t) var(--ease-out), color var(--t) var(--ease-out), transform var(--t) var(--ease-out); }
.contact-link__icon svg { width: 20px; height: 20px; }
.contact-link:hover .contact-link__icon { background: var(--gold-light); color: var(--blue-900); transform: scale(1.06); }
.social-list { list-style: none; display: flex; gap: 12px; padding: 0; margin: 0; }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.footer-link { display: inline-flex; align-items: center; min-height: 48px; min-width: 48px; color: #fff; font-weight: 600; background: none; padding: 0; }
.footer-link .link__label { background: linear-gradient(var(--gold-light), var(--gold-light)) no-repeat 100% 100% / 0 2px; padding-bottom: 3px; transition: background-size var(--t) var(--ease-out); }
.footer-link:hover { color: #fff; }
.footer-link:hover .link__label { background-size: 100% 2px; }
.site-footer__brand { display: grid; gap: 12px; justify-items: start; align-content: start; }
/* the guides: a row of their own under the three columns */
.site-footer__guides { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.site-footer__sub { margin: 0 0 4px; font-family: var(--font-body); font-size: 1.125rem; font-weight: 800; letter-spacing: 0; color: #fff; }
.site-footer__guides ul { display: flex; flex-wrap: wrap; gap: 0 30px; }
.site-footer__logo { display: block; background: #fff; border-radius: 16px; padding: 14px 18px; transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out); }
.site-footer__logo:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -16px rgba(0, 0, 0, 0.6); }
.site-footer__logo img { width: 210px; }
.site-footer__legal { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 20px; border-top: 1px solid rgba(255, 255, 255, 0.3); padding-block: 14px 24px; }
.site-footer__legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 26px; padding: 0; margin: 0; grid-column: 1; }
.site-footer__legal p { margin: 0; color: var(--on-dark-muted); font-size: 1rem; grid-column: 1; }
.site-footer__top { grid-column: 2; grid-row: 1 / span 2; }
.site-footer__top:hover svg { transform: translateY(-3px); }

/* webinar popup: enters with a soft spring, leaves quickly */
.popup {
  border: 0; padding: 0; border-radius: var(--radius-l); background: #fff; color: var(--ink);
  width: min(92vw, 860px); max-width: 92vw; max-height: calc(100vh - 28px); max-height: calc(100dvh - 28px);
  overflow: hidden; box-shadow: 0 30px 80px rgba(6, 26, 56, 0.5);
}
.popup::backdrop { background: rgba(11, 47, 94, 0.78); }
.popup[open] { display: flex; flex-direction: column; animation: popup-in 440ms var(--ease-spring) both; }
.popup[open]::backdrop { animation: fade-in var(--t) var(--ease-out) both; }
.popup.is-closing { animation: popup-out 180ms ease-in both; }
.popup.is-closing::backdrop { animation: fade-out 180ms ease-in both; }
@keyframes popup-in { from { opacity: 0; transform: translateY(26px) scale(0.94); } }
@keyframes popup-out { to { opacity: 0; transform: translateY(12px) scale(0.97); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
.popup__scroll { overflow-y: auto; -webkit-overflow-scrolling: touch; min-height: 0; flex: 1 1 auto; }
.popup__close { position: absolute; top: 8px; inset-inline-end: 10px; z-index: 2; box-shadow: 0 3px 12px rgba(6, 26, 56, 0.35); }
/* The head of the invitation: a photograph, and over its lower part (darkened to the site's blue) the
   question the panel answers. The close button sits on the sky in the corner, never on a face. */
.popup__media { position: relative; display: grid; align-items: end; overflow: hidden; background: var(--blue-900); padding-top: 104px; }
.popup__media img { position: absolute; inset: 0 0 auto 0; width: 100%; height: 148px; object-fit: cover; object-position: 40% 15%; }
.popup__media::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 149px; background: linear-gradient(180deg, rgba(11, 47, 94, 0) 52%, rgba(11, 47, 94, 0.7) 82%, var(--blue-900) 100%); }
.popup[open] .popup__media img { animation: popup-photo 1100ms var(--ease-out) both; }
@keyframes popup-photo { from { transform: scale(1.07); } }
.popup__pitch { position: relative; z-index: 1; padding: 10px 18px 12px; }
.popup__live { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 6px; padding: 2px 12px 2px 10px; border-radius: 999px; background: rgba(11, 47, 94, 0.82); color: #fff; font-size: 0.9375rem; font-weight: 700; line-height: 1.6; }
.popup__dot { width: 9px; height: 9px; border-radius: 50%; background: #FF6B6B; animation: live-pulse 1.5s ease-out 3; }
@keyframes live-pulse { from { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7); } to { box-shadow: 0 0 0 10px rgba(255, 107, 107, 0); } }
.popup__headline { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; line-height: 1.12; color: #fff; }
/* on a phone the question and the subjects speak for themselves; the sentence between them joins on wide screens */
.popup__lead { display: none; margin: 4px 0 0; font-size: 1rem; font-weight: 600; line-height: 1.4; color: #fff; }
/* the subjects: tags that wrap on a phone, a honeycomb on a wide screen (below) */
.popup__topics { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.popup__topics li { padding: 0 9px; border-radius: 999px; background: #fff; color: var(--blue-800); font-size: 0.8125rem; font-weight: 700; line-height: 1.7; }
.popup__topics li:nth-child(3n + 2) { background: var(--sky-soft); }
.popup__perk { margin: 0 0 8px; padding: 5px 12px; border-radius: 10px; background: var(--gold-light); color: var(--ink); font-size: 1rem; font-weight: 700; line-height: 1.4; text-align: center; }
.popup__body { padding: 12px 20px 18px; }
.popup__title { font-size: 1.1875rem; line-height: 1.25; text-align: center; margin: 0 0 2px; color: var(--blue-800); }
.popup__when { font-size: 1.125rem; font-weight: 700; color: var(--ink); text-align: center; margin: 0 0 8px; line-height: 1.4; }
.popup__note { display: block; font-size: 1rem; font-weight: 600; color: var(--muted); }
.popup .form__note { font-size: 0.9375rem; }
.popup .form { --form-gap: 10px; }
.popup .field__label { margin-bottom: 4px; }
.popup .field__input { min-height: 48px; }
html.modal-open { overflow: hidden; }

/* ------------------------------------------------------------------ 5. shared blocks */

/* lead block: the form on a raised card */
.lead { position: relative; isolation: isolate; background: var(--mist); padding-block: var(--section); overflow: hidden; }
/* the couple behind the form: wide screens only (below that the picture is not even downloaded) */
.lead__bg { display: none; --bg-pos: 100% 18%; --bg-veil: linear-gradient(90deg, rgba(242, 246, 251, 0.96) 0%, rgba(242, 246, 251, 0.9) 34%, rgba(242, 246, 251, 0) 62%); }
.lead__grid { display: grid; gap: 26px; }
.lead__frame { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-2); }
.lead__frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.lead__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-2); padding: 26px 20px 24px; max-width: 600px; width: 100%; }
.lead__text { font-size: 1.1875rem; color: var(--muted); }

/* reviews */
.reviews { background: var(--sand); padding-block: var(--section); overflow: hidden; }
.review {
  position: relative; margin: 0; height: 100%; padding: 26px 24px 22px; border: 1px solid #E6DCC4; border-radius: var(--radius-l); background: #fff;
  box-shadow: var(--shadow-1); display: flex; flex-direction: column;
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.review:active { transform: translateY(-1px); }
.review__mark { position: absolute; top: 18px; inset-inline-end: 20px; color: var(--gold-soft); transition: transform var(--t) var(--ease-out), color var(--t) var(--ease-out); }
.review__mark svg { width: 44px; height: 44px; }
.review:hover .review__mark { color: var(--gold); transform: translateY(-2px) rotate(-6deg); }
.review__stars { color: var(--gold-ink); font-size: 1.25rem; letter-spacing: 4px; margin: 0 0 10px; }
.review blockquote::before, .review blockquote::after { content: none; }
.review blockquote { margin: 0 0 18px; flex: 1; }
.review blockquote p { margin: 0; }
.review figcaption { display: grid; padding-top: 14px; border-top: 1px solid var(--gold-soft); }
.review__author { font-weight: 800; color: var(--blue-800); }
.review__role { color: var(--muted); font-size: 1rem; }

/* inner-page title band: blue, with the shield contours; where the page has one, a photograph of the
   firm's behind it. The photograph is already blue (toned at build time, never lighter than --blue-550),
   and the veil deepens it on the side where the title stands. */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--surface-blue-glow); padding-block: 36px 40px; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.page-hero__contours { color: var(--contour); width: 300px; inset-inline-end: -70px; top: -70px; }
.page-hero__photo { --bg-veil: linear-gradient(180deg, rgba(18, 79, 153, 0.82) 0%, rgba(18, 79, 153, 0.56) 100%); }
.page-hero--photo { padding-block: 44px 52px; }
.page-hero--photo .page-hero__contours { display: none; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 20px; }
.page-hero h1 { margin: 0; }
.page-hero__lead { margin: 16px 0 0; max-width: 40rem; color: var(--on-dark-muted); font-size: 1.1875rem; }

/* ------------------------------------------------------------------ 6. pages */

/* --- home: hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--surface-blue); }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__glow { position: absolute; border-radius: 50%; will-change: transform; }
/* two soft lights that settle once, in under five seconds, and then stay still */
.hero__glow--a { width: 120vmax; height: 120vmax; max-width: 1300px; max-height: 1300px; top: -48%; left: -34%; background: radial-gradient(closest-side, rgba(0, 159, 227, 0.2), rgba(0, 159, 227, 0) 70%); animation: drift-a 4.4s var(--ease-out) 1 both; }
.hero__glow--b { width: 90vmax; height: 90vmax; max-width: 1000px; max-height: 1000px; bottom: -58%; right: -20%; background: radial-gradient(closest-side, rgba(11, 47, 94, 0.36), rgba(11, 47, 94, 0) 70%); animation: drift-b 4.4s var(--ease-out) 1 both; }
@keyframes drift-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(9%, 7%, 0) scale(1.12); } }
@keyframes drift-b { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-8%, -6%, 0) scale(1.1); } }
.hero__grid { display: grid; gap: 30px; padding-block: 30px 0; }
.hero h1 { margin: 0 0 16px; font-size: clamp(2.375rem, 11vw, 4.25rem); line-height: 1.08; }
.hero__ask { display: block; margin-bottom: 0.3em; font-size: 0.56em; font-weight: 500; line-height: 1.2; color: var(--sky-soft); }
.hero__promise { display: block; }
.hero__sub { margin: 0 0 24px; font-size: 1.1875rem; line-height: 1.55; color: var(--on-dark-muted); font-weight: 600; }
.hero__sep { color: var(--gold-light); padding-inline: 0.1em; font-weight: 400; }
.hero__item { white-space: nowrap; }
.hero__cta { width: 100%; }
/* the rating on Google under the call to action: one quiet line, a link to the reviews */
.hero__rating { margin: 16px 0 0; font-size: 1.0625rem; font-weight: 600; animation: rise var(--t-slow) var(--ease-out) both; animation-delay: 140ms; }
.hero__rating a { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 44px; color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.45); text-underline-offset: 4px; }
.hero__rating a:hover { text-decoration-color: #fff; }
.hero__stars { color: var(--gold-light); letter-spacing: 2px; font-size: 1.125rem; }
.hero__media { position: relative; justify-self: center; width: min(100%, 420px); margin-bottom: -1px; }
.hero__contours { z-index: -1; color: var(--contour); inset: -24% -30%; width: 160%; }
.hero__contours .contours__line:first-child { color: var(--gold-light); stroke-width: 0.55; }
.hero__photo { aspect-ratio: 100 / 84; background: var(--blue-700); }
.hero__photo img { object-position: 38% 30%; }

/* --- home: sections */
.intro, .services, .more-posts { padding-block: var(--section); }
.intro__grid { display: grid; gap: 34px; }
.intro__media { max-width: 290px; margin-inline: auto; width: 76%; }
.intro__body > p { max-width: 44rem; }

.services { background: #fff; }
.services__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.services__grid li { display: grid; }
.service-card { display: grid; grid-template-rows: auto 1fr; gap: 14px; padding: 14px 14px 16px; text-decoration: none; color: var(--blue-800); }
.service-card .shield img { object-position: center; transition: transform 450ms var(--ease-out); }
.service-card:hover .shield img { transform: scale(1.06); }
.service-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.service-card__label { font-weight: 800; font-size: 1.125rem; line-height: 1.3; }
.service-card .card__go { display: none; width: 36px; height: 36px; }

/* --- home: the process, a connected sequence */
.process { position: relative; isolation: isolate; overflow: hidden; background: var(--surface-blue); padding-block: var(--section); }
/* the stair of coins, with the two figures at its top, closes the section: a band along the bottom edge
   that fades up into the blue. Nothing is written on it. */
.process { padding-bottom: calc(var(--section) + 190px); }
.process__photo { inset: auto 0 0 0; height: 270px; --bg-pos: 50% 40%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 62%); mask-image: linear-gradient(180deg, transparent 0%, #000 62%); }
.steps { position: relative; list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 0; max-width: 460px; }
.steps::before { content: ""; position: absolute; inset-inline-start: 27px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(180deg, var(--gold-light), rgba(243, 227, 179, 0.4)); transform-origin: 50% 0; }
.step { position: relative; display: flex; align-items: center; gap: 18px; min-height: 92px; padding-block: 10px; }
.step__num {
  position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: max(56px, 2.2em); height: max(56px, 2.2em); border-radius: 50%;
  background: var(--blue-800); border: 2px solid var(--gold-light); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.625rem; line-height: 1;
  box-shadow: 0 0 0 6px rgba(18, 79, 153, 0.9);
}
.step__text { font-size: 1.3125rem; font-weight: 800; line-height: 1.3; }
.step__text span { display: block; }
.step__text span + span { font-weight: 500; font-size: 1.125rem; color: var(--on-dark-muted); }
.process__plus { display: inline-flex; align-items: center; gap: 14px; margin: 0; padding: 8px 8px 8px 24px; border-radius: 999px; border: 1px dashed var(--gold-light); background: rgba(15, 63, 125, 0.55); color: #fff; font-size: 1.25rem; }
.process__plus-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold-light); color: var(--blue-900); }
.process__plus-mark svg { stroke-width: 2.6; }

/* --- about / expertise: alternating rows */
.people, .services-detail { padding-block: 44px 28px; display: grid; gap: 52px; }
.person, .service { display: grid; gap: 26px; }
.service { scroll-margin-top: calc(var(--header-top) + 24px); }
.person__media, .service__media { width: 62%; max-width: 270px; margin-inline: auto; }
.person__lead { font-family: var(--font-body); font-size: 1.4375rem; font-weight: 800; line-height: 1.35; letter-spacing: 0; }
.person__body, .service__body { max-width: 46rem; }
.service__for { font-family: var(--font-body); font-size: 0.6em; font-weight: 700; color: var(--blue-600); letter-spacing: 0; }
.about-closing { position: relative; text-align: center; font-family: var(--font-display); font-size: 1.625rem; font-weight: 700; line-height: 1.3; color: var(--blue-800); padding: 34px 20px; background: var(--sand); border-radius: var(--radius-l); max-width: 52rem; margin-inline: auto; width: 100%; }
.about-closing p { margin: 0; }

/* --- media */
.media { padding-block: 44px var(--section); }
.videos { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 26px; }
.video { overflow: hidden; display: flex; flex-direction: column; transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out); }
.video h2 { order: 2; z-index: 1; }
.video:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
/* until the video plays, its title is the poster's caption; once it plays, the title sits under the player */
.video h2 { margin: 0; padding: 16px 20px 20px; font-family: var(--font-body); font-size: 1.25rem; font-weight: 800; line-height: 1.3; letter-spacing: 0; color: var(--blue-800); }
.video__frame { position: relative; aspect-ratio: 16 / 9; background: var(--blue-700); overflow: hidden; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__poster { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; background: var(--surface-blue-glow); color: #fff; }
.video__contours { color: var(--contour); width: 62%; top: -18%; inset-inline-start: 19%; }
.video__play { position: relative; top: -8%; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #fff; color: var(--blue-800); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); transition: transform var(--t) var(--ease-spring), background-color var(--t) var(--ease-out); }
.video__play svg { width: 36px; height: 36px; transform: translateX(2px); }
.video__poster:hover .video__play, .video__poster:focus-visible .video__play { transform: scale(1.1); background: var(--gold-light); }
.video__poster:active .video__play { transform: scale(0.96); }
.video__poster:focus-visible { outline-offset: -6px; outline-color: #fff; }
.media__more { text-align: center; font-size: 1.25rem; }
.media__more p { margin: 0; }

/* --- FAQ */
.faq { padding-block: 40px var(--section); }
.faq .accordion { max-width: 900px; }

/* --- long text: posts and the legal / service pages */
.text-page { padding-block: 40px var(--section); display: grid; gap: 40px; align-items: start; }
/* a grid item is as wide as its widest content unless told otherwise: a table in the text must scroll inside its own frame */
.text-page > * { min-width: 0; }
.aside-card { position: relative; overflow: hidden; isolation: isolate; padding: 28px 24px; border-radius: var(--radius-l); background: var(--surface-blue-glow); box-shadow: var(--shadow-2); }
.aside-card h2 { font-size: 1.75rem; }
.aside-card p { color: var(--on-dark-muted); }
.aside-card__actions { display: grid; gap: 12px; margin-top: 20px; }
.aside-card__actions .btn { width: 100%; }
.aside-card__contours { z-index: -1; color: rgba(217, 240, 253, 0.18); width: 300px; top: -110px; left: -90px; }
.prose { max-width: 44rem; font-size: 1.1875rem; line-height: 1.8; }
.prose h2 { font-size: clamp(1.5rem, 4.6vw, 2rem); margin-top: 1.9em; padding-inline-start: 18px; border-inline-start: 4px solid var(--gold); }
.prose h3 { margin-top: 1.6em; font-size: 1.375rem; }
.prose h4 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose img { border-radius: var(--radius); margin-block: 1.4em 0.6em; box-shadow: var(--shadow-1); }
.prose p:has(> img) + p > em:only-child { display: block; color: var(--muted); font-size: 1rem; margin-top: -0.4em; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose li { margin-bottom: 0.5em; padding-inline-start: 0.2em; }
.prose ul > li::marker { color: var(--gold); font-size: 1.15em; }
.prose ol > li::marker { color: var(--blue-600); font-weight: 800; }
.prose strong { color: var(--blue-800); }
.prose blockquote { position: relative; margin: 1.6em 0; padding: 20px 22px 20px 22px; border-radius: var(--radius); background: var(--sand); border-inline-start: 5px solid var(--gold); font-size: 1.25rem; line-height: 1.7; color: var(--blue-800); }
.prose blockquote > :last-child { margin-bottom: 0; }
.prose hr { border: 0; height: 2px; margin: 2.4em auto; width: 96px; background: var(--gold-soft); border-radius: 2px; }
.prose a:not(.btn) { overflow-wrap: anywhere; color: var(--blue-600); font-weight: 600; }
.prose .btn { margin-block: 0.4em; }
.table-wrap { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 1.0625rem; line-height: 1.5; }
.table-wrap table:has(tr > :nth-child(5)) { min-width: 680px; } /* five columns or more: the frame scrolls further, the cells stay readable */
.table-wrap th, .table-wrap td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.table-wrap thead th { background: var(--blue-800); color: #fff; font-weight: 700; }
/* a header of two rows: the title of a group of columns sits above them, centred; the corner above the other columns is empty */
.table-wrap thead td { background: var(--blue-800); }
.table-wrap thead th[colspan] { text-align: center; border-inline-start: 1px solid rgb(255 255 255 / 0.35); }
.table-wrap tbody th { font-weight: 700; color: var(--blue-800); background: none; }
.table-wrap:focus-visible { outline-offset: 2px; }
.table-wrap tbody tr:nth-child(even) { background: var(--mist); }
.table-wrap tbody tr:last-child :is(td, th) { border-bottom: 0; }
/* a range of dates or a number with a sign, kept in the order it is written and on one line */
.table-wrap span[dir="ltr"] { display: inline-block; white-space: nowrap; }
.video-link { text-decoration: none; }

/* --- thank-you / 404 */
.notice { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(120% 120% at 50% 0%, var(--blue-550) 0%, var(--blue-600) 50%, var(--blue-700) 100%); padding-block: 64px 76px; text-align: center; }
.notice__contours { z-index: -1; color: rgba(217, 240, 253, 0.18); width: 520px; max-width: 120%; top: -40px; left: 50%; margin-left: -260px; }
.notice__body { max-width: 720px; }
.notice h1 { margin-bottom: 0.6em; }
.notice .title-rule::after { inset-inline-start: calc(50% - 36px); transform-origin: 50% 50%; }
.notice p { font-size: 1.25rem; color: var(--on-dark-muted); }
.notice__badge { display: inline-grid; place-items: center; width: 84px; height: 84px; margin-bottom: 22px; border-radius: 50%; background: var(--gold-light); color: var(--blue-900); animation: badge-in 420ms var(--ease-spring) 120ms both; }
.notice__badge svg { width: 44px; height: 44px; stroke-width: 2.6; stroke-dasharray: 24; animation: draw 380ms var(--ease-out) 420ms both; }
@keyframes badge-in { from { opacity: 0; transform: scale(0.5); } }
@keyframes draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
.notice__code { margin: 0 0 6px; font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 26vw, 9rem); line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--gold-light); letter-spacing: 0.04em; }
.notice p.notice__code { color: transparent; font-size: clamp(5rem, 26vw, 9rem); }

/* --- blog */
.blog { padding-block: 40px var(--section); }
.post-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.post-grid > li { display: grid; }
.post-card { height: 100%; display: flex; flex-direction: column; overflow: hidden; }
/* the title link covers the whole card, so the card is one large tap target */
.post-card h2 a::after, .post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card:has(h2 a:focus-visible, h3 a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
@supports selector(:has(*)) { .post-card h2 a:focus-visible, .post-card h3 a:focus-visible { outline: none; } }
.post-card__media { display: block; overflow: hidden; background: var(--mist); }
.post-card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 450ms var(--ease-out); }
.post-card:hover .post-card__media img, .post-card:focus-within .post-card__media img { transform: scale(1.06); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.post-card h2, .post-card h3 { font-family: var(--font-body); font-size: 1.3125rem; line-height: 1.3; margin: 0 0 10px; font-weight: 800; letter-spacing: 0; }
.post-card h2 a, .post-card h3 a { color: var(--blue-800); text-decoration: none; display: block; padding-block: 2px; transition: color var(--t-fast) var(--ease-out); }
.post-card:hover h2 a, .post-card:hover h3 a { color: var(--blue-600); }
.post-card__date { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 1rem; margin: 0 0 8px; font-weight: 600; }
.post-card__date svg { width: 18px; height: 18px; color: var(--gold-ink); }
.post-card__excerpt { margin: 0 0 16px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; overflow-wrap: anywhere; font-size: 1.0625rem; line-height: 1.6; color: var(--ink); }
.post-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--blue-600); font-weight: 800; }
.post-card__more svg { width: 20px; height: 20px; transition: transform var(--t) var(--ease-out); }
.post-card:hover .post-card__more svg, .post-card:focus-within .post-card__more svg { transform: translateX(-5px); }

.post__header { position: relative; isolation: isolate; background: var(--surface-blue-glow); padding-block: 22px 34px; }
.post--cover .post__header { padding-bottom: 86px; }
.post__header h1 { font-size: clamp(1.75rem, 6.6vw, 2.875rem); line-height: 1.18; margin: 0 0 16px; }
.post__back { margin: 0 0 6px; }
.post__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; color: var(--on-dark-muted); font-weight: 600; font-size: 1.0625rem; }
.post__meta-item { display: inline-flex; align-items: center; gap: 8px; }
.post__meta-item svg { width: 20px; height: 20px; color: var(--gold-light); }
.post__cover { margin-top: -58px; position: relative; }
.post__cover img { width: 100%; border-radius: var(--radius-l); box-shadow: var(--shadow-3); }
.post .prose { padding-block: 34px 34px; }
.post__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 24px; }
.post__end { margin: 0 0 44px; padding-top: 18px; border-top: 1px solid var(--line); }
.more-posts { background: #fff; }

/* --- guides (content/topics/): a page per subject, the text added under the fixing-of-rights page, and
   the box of guides and calculators at the end of a post. The cards are the calculators' cards. */
.guide { padding-block: 40px var(--section); display: grid; gap: 52px; }
.guide > * { min-width: 0; }
.guide--extra { padding-top: 0; }
.text-page:has(+ .guide--extra) { padding-bottom: 52px; }
.guide-faq .accordion { max-width: 900px; }
.guide-sources { max-width: 44rem; }
.guide-sources h2 { margin-top: 0; }
.guide-others { background: #fff; padding-block: var(--section); }
.guide-cards--rows { grid-template-columns: minmax(0, 1fr) !important; gap: 14px; }
.guide .prose { max-width: none; }
.post-guides { margin: 48px 0 36px; }
.post-guides h2 { margin: 0 0 20px; font-size: clamp(1.5rem, 4.6vw, 1.875rem); }

/* --- calculators: the hub and the cards that lead to each calculator (the calculators themselves: calc.css) */
.page-hero__back { margin: 0 0 6px; }
.page-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.page-hero__aside { color: var(--on-dark-muted); font-weight: 600; }
.calc-hub { padding-block: 44px var(--section); display: grid; gap: 52px; }
.calc-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.calc-grid > li { display: grid; }
.calc-card { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: 6px 16px; align-content: start; padding: 22px 20px; height: 100%; }
.calc-card__icon { grid-row: 1 / span 3; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--mist); color: var(--blue-600); transition: background-color var(--t) var(--ease-out), color var(--t) var(--ease-out), transform var(--t) var(--ease-spring); }
.calc-card__icon svg { width: 28px; height: 28px; }
.calc-card:hover .calc-card__icon, .calc-card:focus-within .calc-card__icon { background: var(--blue-800); color: #fff; transform: rotate(-6deg) scale(1.05); }
.calc-card__title { margin: 0; font-family: var(--font-body); font-size: 1.375rem; font-weight: 800; line-height: 1.3; letter-spacing: 0; }
.calc-card__title a { color: var(--blue-800); text-decoration: none; }
.calc-card__title a::after { content: ""; position: absolute; inset: 0; }
.calc-card:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
@supports selector(:has(*)) { .calc-card__title a:focus-visible { outline: none; } }
.calc-card__text { margin: 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.6; }
.calc-card__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; align-self: end; color: var(--blue-600); font-weight: 800; }
.calc-card__go svg { width: 20px; height: 20px; transition: transform var(--t) var(--ease-out); }
.calc-card:hover .calc-card__go svg, .calc-card:focus-within .calc-card__go svg { transform: translateX(-5px); }
.calc-about { padding: 28px 22px; border-radius: var(--radius-l); background: var(--sand); border: 1px solid #E6DCC4; }
.calc-about p { max-width: 50rem; }
.calc-about p:last-child { margin-bottom: 0; }
.calc-disclaimer { margin: -20px 0 0; padding-inline-start: 18px; border-inline-start: 4px solid var(--blue-500); color: var(--muted); font-size: 1.0625rem; max-width: 56rem; }
.more-calcs { padding-block: var(--section); background: #fff; }
.calc-grid--compact .calc-card { grid-template-rows: auto 1fr; padding: 18px 18px; }
.calc-grid--compact .calc-card__icon { grid-row: 1 / span 2; width: 46px; height: 46px; border-radius: 14px; }
.calc-grid--compact .calc-card__title { font-size: 1.1875rem; }
.calc-grid--compact .calc-card__text { display: none; }
.calc-grid--compact .calc-card__go { margin-top: 2px; font-size: 1.0625rem; }

/* ------------------------------------------------------------------ larger screens */
@media (min-width: 640px) {
  :root { --gutter: 28px; --section: 72px; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .videos { grid-template-columns: 1fr 1fr; }
  .hero__cta, .form__submit { width: auto; min-width: 280px; }
  .lead .form__submit { justify-self: start; }
  .lead__card { padding: 34px 34px 32px; }
  .services__grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .carousel__slide { flex-basis: calc((100% - 16px) / 2); }
  .site-footer__grid { grid-template-columns: 1.2fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .calc-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .calc-about { padding: 40px 44px; }
  .page-hero--photo { padding-block: 60px 68px; }
}

@media (min-width: 900px) {
  :root { --section: 96px; }
  /* where there is room (two columns of narrow cards, from 640px, do not have it: a long title in the
     heading face is taller than the frame there), the title of a video lies over the lower part of its poster until it plays
     (not with enlarged text or added spacing: then it stays under the frame, where it can grow) */
  html:not([data-a11y-size], .a11y-spacing) .video:not(.is-playing) h2 {
    position: absolute; inset-inline: 0; bottom: 0; padding: 48px 22px 20px; pointer-events: none;
    font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; color: #fff;
    background: linear-gradient(180deg, rgba(11, 47, 94, 0) 0%, rgba(11, 47, 94, 0.86) 36%, rgba(11, 47, 94, 0.94) 100%);
  }
  body { font-size: 1.25rem; }
  h3 { font-size: 1.5rem; }
  .btn { font-size: 1.1875rem; }

  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: 56px; padding-block: 72px 0; }
  .hero__text { padding-bottom: 72px; }
  .hero h1 { margin-bottom: 22px; font-size: clamp(3rem, 5.2vw, 4.5rem); }
  .hero__sub { font-size: 1.3125rem; margin-bottom: 34px; }
  .hero__media { width: 100%; max-width: 440px; justify-self: start; align-self: end; margin-bottom: -64px; z-index: 2; }
  .hero__photo { aspect-ratio: 100 / 118; box-shadow: none; }
  .hero__photo img { object-position: 36% 30%; }
  .hero { overflow: visible; }
  .hero__bg { overflow: hidden; }
  .intro { padding-top: calc(var(--section) + 40px); }

  .intro__grid { grid-template-columns: 340px minmax(0, 1fr); gap: 72px; align-items: center; }
  .intro__media { width: 100%; max-width: none; }

  .lead--image .lead__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 0; align-items: center; }
  .lead--image .lead__frame img { aspect-ratio: 4 / 4.4; }
  .lead--image .lead__card { margin-inline-start: -56px; position: relative; z-index: 1; padding: 44px 44px 40px; }
  .lead:not(.lead--image) .lead__card { margin-inline: auto; }

  .services__grid { gap: 24px; }
  .service-card { padding: 18px 18px 20px; }
  .service-card .card__go { display: grid; }
  .service-card__label { font-size: 1.25rem; }

  .steps { max-width: none; grid-template-columns: repeat(4, 1fr); margin-bottom: 48px; }
  .steps::before { inset-inline: 12.5%; top: 27px; bottom: auto; width: auto; height: 2px; background: linear-gradient(270deg, var(--gold-light), rgba(243, 227, 179, 0.4)); transform-origin: 100% 50%; }
  .step { flex-direction: column; align-items: center; text-align: center; padding: 0 14px; gap: 20px; min-height: 0; }

  .carousel__slide { flex-basis: calc((100% - 32px) / 3); }
  .post-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  /* first page of the blog: the newest post is the lead story, the next two stand beside it */
  .post-grid__featured { grid-column: span 2; grid-row: span 2; }
  .post-card--featured .post-card__body { padding: 28px 32px 30px; }
  .post-card--featured h2 { font-family: var(--font-display); font-size: 2.125rem; font-weight: 700; line-height: 1.2; margin-bottom: 14px; }
  .post-card--featured .post-card__excerpt { -webkit-line-clamp: 4; line-clamp: 4; font-size: 1.1875rem; }

  .page-hero { padding-block: 64px 68px; }
  .page-hero--photo { padding-block: 84px 92px; }
  /* the title stands at the start of the line (the right); the photograph opens up toward the far end */
  .page-hero__photo { --bg-veil: linear-gradient(to left, rgba(18, 79, 153, 0.92) 0%, rgba(18, 79, 153, 0.76) 36%, rgba(21, 92, 173, 0.16) 100%); }
  .page-hero__contours { width: 460px; top: -150px; inset-inline-end: -40px; }
  .process { padding-bottom: calc(var(--section) + 150px); }
  .process__photo { height: clamp(300px, 30vw, 440px); --bg-pos: 50% 34%; }
  .text-page, .faq, .blog, .media { padding-top: 64px; }
  .text-page--aside { grid-template-columns: minmax(0, 44rem) minmax(300px, 380px); justify-content: space-between; gap: 64px; }
  .text-page--aside .aside-card { position: sticky; top: calc(var(--header-nav) + 28px); }
  .prose { font-size: 1.25rem; }
  .person, .service { grid-template-columns: 290px minmax(0, 1fr); gap: 64px; align-items: center; }
  .person__media, .service__media { width: 100%; max-width: none; }
  .person:nth-of-type(even), .service:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) 290px; }
  .person:nth-of-type(even) .person__media, .service:nth-of-type(even) .service__media { order: 2; }
  .person:nth-of-type(even) .portrait::before, .service:nth-of-type(even) .portrait::before { transform: translate(14px, 14px); }
  .people, .services-detail { padding-block: 84px 40px; gap: 88px; }
  .about-closing { font-size: 2rem; padding: 48px 40px; }

  .calc-grid--compact { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  /* three across; a row of two (five calculators in a group) shares the full width */
  .calc-grid--n3, .calc-grid--n5 { grid-template-columns: repeat(6, 1fr); }
  .calc-grid--n3 > li, .calc-grid--n5 > li { grid-column: span 2; }
  .calc-grid--n5 > li:nth-child(n + 4) { grid-column: span 3; }
  .calc-hub { padding-top: 72px; gap: 72px; }
  .post__header { padding-block: 34px 48px; }
  .post--cover .post__header { padding-bottom: 130px; }
  .post__cover { margin-top: -96px; }
  .notice { padding-block: 96px 110px; }

  .site-footer__grid { grid-template-columns: 1.2fr 1fr auto; padding-block: 72px 44px; gap: 48px; }
  .site-footer__brand { grid-column: auto; }

  .popup__scroll { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .popup__media { min-height: 620px; padding-top: 0; }
  .popup__media img { inset: 0; height: 100%; object-position: 46% 0%; }
  .popup__media::after { inset: 0; height: auto; background: linear-gradient(180deg, rgba(11, 47, 94, 0) 30%, rgba(11, 47, 94, 0.8) 46%, var(--blue-900) 58%); }
  .popup__pitch { padding: 22px 24px 26px; }
  .popup__live { font-size: 1rem; margin-bottom: 8px; }
  .popup__headline { font-size: 2.125rem; }
  .popup__lead { display: block; font-size: 1.0625rem; margin-top: 6px; }
  /* the honeycomb: rows of 4, 5 and 4 cells that lock into each other (not when the visitor enlarged the text) */
  html:not([data-a11y-size], .a11y-spacing) .popup__topics { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 0; margin-top: 14px; }
  html:not([data-a11y-size], .a11y-spacing) .popup__topics li {
    grid-column: span 2; display: grid; place-items: center; height: 66px; margin: 0 1.5px; padding: 0 7px; border-radius: 0;
    clip-path: polygon(50% 0, 100% 21%, 100% 79%, 50% 100%, 0 79%, 0 21%); text-align: center; font-size: 0.8125rem; line-height: 1.15;
  }
  html:not([data-a11y-size], .a11y-spacing) .popup__topics li:nth-child(1), html:not([data-a11y-size], .a11y-spacing) .popup__topics li:nth-child(10) { grid-column: 2 / span 2; }
  html:not([data-a11y-size], .a11y-spacing) .popup__topics li:nth-child(n + 5) { margin-top: -11px; }
  .popup__body { padding: 64px 30px 30px; align-self: center; }
  .popup__title { font-size: 1.375rem; margin-bottom: 4px; }
  .popup__when { font-size: 1.25rem; margin-bottom: 12px; }
}

/* desktop header: brand row + navigation row; on scroll the brand row slides away and the
   navigation row stays, with the mark and the phone number in it. Only transforms: no layout shift.
   With enlarged text (html.nav-compact) the navigation stays a panel behind the menu button. */
@media (min-width: 1100px) {
  :root { --header-top: 84px; }
  :root:not(.nav-compact) { --header-nav: 58px; }
  /* near the top of the page the whole header is showing; further down only the navigation row is */
  html { scroll-padding-top: calc(var(--header-h) + 20px); scroll-padding-bottom: 24px; }
  html:not(.nav-compact):has(.site-header.is-condensed) { scroll-padding-top: calc(var(--header-nav) + 28px); }
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .js .site-nav { height: calc(100vh - var(--header-top)); height: calc(100dvh - var(--header-top)); }
  .site-logo img { width: 232px; }
  .site-header.is-condensed .site-logo img { transform: none; }
  .header-phone, .header-wa { display: inline-flex; }
  .header-tool { flex-direction: row; gap: 8px; min-height: 48px; padding: 5px 16px; border-radius: 999px; font-size: min(1.0625rem, 20px); }
  .header-tool svg { width: 22px; height: 22px; }
  .site-header__actions { gap: 10px; }
  .site-header__row { gap: 10px; }
  .site-header__top { border-bottom-color: var(--mist); }
  .site-header.is-condensed .site-header__top { box-shadow: none; }

  html:not(.nav-compact) .menu-toggle { display: none; }
  html:not(.nav-compact) .site-nav {
    position: relative; inset: auto; z-index: 1; height: auto; overflow: visible; background: #fff; border-bottom: 1px solid var(--line);
    visibility: visible; opacity: 1; transform: none; transition: box-shadow var(--t) var(--ease-out);
  }
  html:not(.nav-compact) .site-nav li { opacity: 1; transform: none; transition: none; }
  html:not(.nav-compact) .site-nav__row { display: flex; align-items: center; height: var(--header-nav); gap: 6px; }
  html:not(.nav-compact) .site-nav .site-nav__list { flex: 1; display: flex; justify-content: space-between; gap: 2px; padding: 0; transition: transform var(--t-slow) var(--ease-out); }
  html:not(.nav-compact) .nav-link { min-height: var(--header-nav); padding: 0 10px; border-bottom: 0; font-size: 1.125rem; white-space: nowrap; }
  html:not(.nav-compact) .nav-link[aria-current="page"] { padding-inline-start: 10px; color: var(--blue-800); }
  html:not(.nav-compact) .nav-link[aria-current="page"]::before { display: none; }
  html:not(.nav-compact) .nav-link__mark { display: block; }
  html:not(.nav-compact) .nav-link__label::after {
    content: ""; position: absolute; inset-inline: 0; bottom: -8px; height: 3px; border-radius: 2px; background: var(--blue-500);
    transform: scaleX(0); transform-origin: 100% 50%; transition: transform var(--t) var(--ease-out);
  }
  html:not(.nav-compact) .nav-link:hover .nav-link__label::after, html:not(.nav-compact) .nav-link:focus-visible .nav-link__label::after { transform: none; }
  html:not(.nav-compact) .nav-link[aria-current="page"] .nav-link__label::after { display: none; }
  /* the mark under the current page: between pages it glides from the old item to the new one */
  html:not(.nav-compact) .nav-link__mark { position: absolute; inset-inline: 0; bottom: -8px; height: 3px; border-radius: 2px; background: var(--gold); view-transition-name: nav-mark; }

  html:not(.nav-compact) :is(.site-nav__home, .site-nav__phone) {
    display: inline-flex; align-items: center; flex: none; height: 44px; border-radius: 999px; text-decoration: none;
    opacity: 0; visibility: hidden; position: absolute; top: 7px;
    transition: opacity var(--t) var(--ease-out), transform var(--t-slow) var(--ease-out), visibility 0s linear var(--t), background-color var(--t) var(--ease-out);
  }
  html:not(.nav-compact) .site-nav__home { inset-inline-start: var(--gutter); width: 44px; justify-content: center; transform: translateX(12px); }
  .site-nav__home img { width: 34px; height: 34px; object-fit: contain; }
  html:not(.nav-compact) .site-nav__phone { inset-inline-end: var(--gutter); gap: 8px; padding: 0 16px; background: var(--blue-800); color: #fff; font-weight: 800; font-size: 1.0625rem; transform: translateX(-12px); }
  .site-nav__phone svg { width: 18px; height: 18px; }
  html:not(.nav-compact) .site-nav__phone:hover { background: var(--blue-500); color: #fff; }

  html:not(.nav-compact) .site-header.is-condensed .site-header__inner { transform: translateY(calc(var(--header-top) * -1)); }
  html:not(.nav-compact) .site-header.is-condensed .site-nav { box-shadow: 0 10px 30px -14px rgba(var(--shade), 0.45); }
  html:not(.nav-compact) .site-header.is-condensed :is(.site-nav__home, .site-nav__phone) { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  html:not(.nav-compact) .site-header.is-condensed .site-nav__list { transform: none; margin-inline: 56px 190px; }
  .read-progress { top: var(--header-h); transition: transform var(--t-slow) var(--ease-out); }
  html:not(.nav-compact) .site-header.is-condensed .read-progress { transform: translateY(calc(var(--header-top) * -1)); }
  .nav-compact .site-header.is-condensed .site-header__top { box-shadow: 0 10px 30px -14px rgba(var(--shade), 0.4); }

  .site-footer__nav ul { gap: 0 36px; }
  .calc-grid--compact { grid-template-columns: repeat(4, 1fr); }
  .carousel { margin-inline: -12px; }
  .carousel__track { padding-inline: 12px; scroll-padding-inline: 12px; gap: 16px; }
}
@media (min-width: 1100px) and (max-width: 1279.98px) {
  html:not(.nav-compact) .nav-link { font-size: 1.0625rem; padding: 0 6px; }
  html:not(.nav-compact) .site-nav__phone > span { display: none; }
  html:not(.nav-compact) .site-nav__phone { width: 44px; padding: 0; justify-content: center; }
  html:not(.nav-compact) .site-header.is-condensed .site-nav__list { margin-inline: 56px 56px; }
}
/* the couple behind the form (see .lead__bg): the photograph keeps its own proportions at the start
   edge, and the card stands where the white curtain is, just clear of the two of them */
@media (min-width: 1200px) {
  .lead { padding-block: var(--section); }
  .lead__bg {
    display: block; inset: auto; bottom: 0; right: 0; height: 640px; aspect-ratio: 3000 / 1932;
    --bg-pos: center;
    --bg-veil: linear-gradient(90deg, var(--mist) 0%, rgba(242, 246, 251, 0.6) 14%, rgba(242, 246, 251, 0) 32%), linear-gradient(180deg, var(--mist) 0%, rgba(242, 246, 251, 0) 14%);
  }
  .lead .lead__grid { display: block; }
  .lead .lead__media { display: none; }
  .lead .lead__card, .lead--image .lead__card, .lead:not(.lead--image) .lead__card { max-width: 500px; margin: 0; margin-right: calc(630px - max((100vw - var(--wrap)) / 2, 0px) - var(--gutter)); padding: 40px 40px 36px; }
}

/* ------------------------------------------------------------------ 7. motion */

/* reveal on scroll. Only when the script is running ("js" on <html>); "reveal-all" is the safety net. */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); transition-delay: calc(var(--i, 0) * 50ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="image"] { opacity: 1; transform: none; }
.js [data-reveal="image"] img { opacity: 0; transform: scale(1.08); transition: opacity var(--t-slow) var(--ease-out), transform 450ms var(--ease-out); }
.js [data-reveal="image"].is-in img { opacity: 1; transform: none; }
.js [data-reveal="image"]:not(.is-in) .portrait::before, .js [data-reveal="image"]:not(.is-in).portrait::before { transform: translate(0, 0); opacity: 0; }
.js .portrait::before { transition: transform var(--t-slow) var(--ease-out) 220ms, opacity var(--t) var(--ease-out) 220ms; }
.js [data-reveal] .title-rule::after, .js .title-rule[data-rule]::after { transform: scaleX(0); }
.js [data-reveal].is-in .title-rule::after, .js .title-rule[data-rule].is-in::after { transform: none; }
/* the process: the line is drawn, then the numbers arrive one after the other */
.js [data-reveal="steps"] { opacity: 1; transform: none; }
.js [data-reveal="steps"]::before { transform: scale(0); transition: transform 450ms var(--ease-out); }
.js [data-reveal="steps"].is-in::before { transform: none; }
.js [data-reveal="steps"] .step__num { opacity: 0; transform: scale(0.5); transition: opacity var(--t) var(--ease-out), transform var(--t-slow) var(--ease-spring); transition-delay: calc(120ms + var(--i, 0) * 110ms); }
.js [data-reveal="steps"] .step__text { opacity: 0; transform: translateY(10px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); transition-delay: calc(200ms + var(--i, 0) * 110ms); }
.js [data-reveal="steps"].is-in .step__num, .js [data-reveal="steps"].is-in .step__text { opacity: 1; transform: none; }

.reveal-all [data-reveal], .reveal-all [data-reveal] img, .reveal-all [data-reveal="steps"] .step__num, .reveal-all [data-reveal="steps"] .step__text { opacity: 1 !important; transform: none !important; }
.reveal-all [data-reveal="steps"]::before, .reveal-all .title-rule::after { transform: none !important; }

/* the one orchestrated moment: on the home page the shield contours draw themselves around the photo */
.hero__contours .contours__line { animation: contour-in 450ms var(--ease-out) both; }
.hero__contours .contours__line:nth-child(1) { animation-delay: 150ms; }
.hero__contours .contours__line:nth-child(2) { animation-delay: 330ms; }
.hero__contours .contours__line:nth-child(3) { animation-delay: 510ms; }
@keyframes contour-in { from { stroke-dashoffset: 1; opacity: 0; } to { stroke-dashoffset: 0; opacity: 1; } }
.hero__sub, .hero__actions { animation: rise var(--t-slow) var(--ease-out) both; }
.hero__sub { animation-delay: 80ms; }
.hero__actions { animation-delay: 160ms; }
.hero__photo img { animation: settle 450ms var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes settle { from { transform: scale(1.07); } }

/* page-to-page transitions (browsers that support cross-document view transitions) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 160ms ease-in both; }
::view-transition-new(root) { animation: vt-in 320ms var(--ease-out) both; }
::view-transition-group(site-header) { z-index: 10; }
::view-transition-old(site-header), ::view-transition-new(site-header) { animation: none; mix-blend-mode: normal; }
::view-transition-old(site-header) { display: none; }
::view-transition-group(nav-mark) { z-index: 11; animation-duration: 320ms; animation-timing-function: var(--ease-out); }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

/* No motion at all: when the system asks for it, and when the visitor chose "עצירת אנימציות" in the
   accessibility menu (html.a11y-motion). The same rules, twice. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js [data-reveal] img, .js [data-reveal="steps"] .step__num, .js [data-reveal="steps"] .step__text { opacity: 1 !important; transform: none !important; }
  .js [data-reveal="steps"]::before, .js .title-rule::after, .js [data-reveal] .title-rule::after { transform: none !important; }
  .js [data-reveal="image"]:not(.is-in) .portrait::before { opacity: 1; transform: translate(-14px, 14px); }
  @view-transition { navigation: none; }
}
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 [data-reveal], html.a11y-motion [data-reveal] img, html.a11y-motion [data-reveal="steps"] .step__num, html.a11y-motion [data-reveal="steps"] .step__text { opacity: 1 !important; transform: none !important; }
html.a11y-motion [data-reveal="steps"]::before, html.a11y-motion .title-rule::after { transform: none !important; }
html.a11y-motion [data-reveal="image"]:not(.is-in) .portrait::before { opacity: 1; transform: translate(-14px, 14px); }
html.a11y-motion::view-transition-group(*), html.a11y-motion::view-transition-old(*), html.a11y-motion::view-transition-new(*) { animation: none !important; }

@media print {
  .site-header, .site-nav, .mobile-bar, .popup, .a11y-panel, .menu-toggle, .lead, .more-posts, .carousel__controls, .post__end, .bg-photo { display: none !important; }
  body { padding-bottom: 0; }
  .js [data-reveal], .js [data-reveal] img { opacity: 1 !important; transform: none !important; }
}

/* ------------------------------------------------------------------ 8. accessibility menu and its modes */

/* --- the panel: a dialog at the far end of the screen on a desktop, the whole screen on a phone */
.a11y-panel {
  position: fixed; inset: 0 auto 0 0; margin: 0; width: min(100vw, 440px); max-width: 100vw; height: 100%; max-height: 100%;
  padding: 0; border: 0; border-inline-start: 4px solid var(--gold); background: #fff; color: var(--ink); overflow: hidden;
  box-shadow: 0 0 60px rgba(6, 26, 56, 0.4);
}
.a11y-panel[open] { display: flex; flex-direction: column; animation: a11y-in var(--t) var(--ease-out) both; }
.a11y-panel::backdrop { background: rgba(11, 47, 94, 0.55); }
@keyframes a11y-in { from { opacity: 0; transform: translateX(-24px); } }
.a11y-panel__head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--blue-800); color: #fff; }
.a11y-panel__head h2 { display: flex; align-items: center; gap: 10px; margin: 0; color: #fff; font-family: var(--font-body); font-size: 1.375rem; font-weight: 800; letter-spacing: 0; }
.a11y-panel__head h2 svg { width: 28px; height: 28px; flex: none; }
.a11y-panel__close {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 16px; border: 2px solid #fff; border-radius: 999px;
  background: transparent; color: #fff; font: inherit; font-weight: 700; font-size: 1.0625rem; cursor: pointer;
}
.a11y-panel__close svg { width: 20px; height: 20px; }
.a11y-panel__close:hover { background: #fff; color: var(--blue-800); }
.a11y-panel__close:focus-visible { outline-color: #fff; }
.a11y-panel__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 18px 28px; display: grid; gap: 18px; align-content: start; }
.a11y-panel__intro { margin: 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.55; }
.a11y-size { padding: 14px 16px 16px; border: 2px solid var(--field-line); border-radius: var(--radius); background: var(--mist); }
.a11y-size__label { margin: 0 0 10px; font-weight: 800; color: var(--blue-800); }
.a11y-size__row { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 10px; }
.a11y-size__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 6px 12px; border: 2px solid var(--blue-800); border-radius: 14px;
  background: #fff; color: var(--blue-800); font: inherit; font-weight: 700; font-size: 1.0625rem; cursor: pointer;
}
.a11y-size__btn svg { width: 20px; height: 20px; flex: none; }
.a11y-size__btn:hover { background: var(--blue-800); color: #fff; }
.a11y-size__btn[aria-disabled="true"] { border-style: dashed; border-color: var(--field-line); color: var(--muted); background: var(--mist); cursor: default; }
.a11y-size__value { grid-column: 1 / -1; order: -1; margin: 0; text-align: center; font-weight: 800; font-size: 1.25rem; color: var(--blue-800); font-variant-numeric: tabular-nums; }
.a11y-size__btn, .a11y-option, .a11y-reset, .a11y-panel__close { min-width: 0; overflow-wrap: anywhere; }
.a11y-options { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.a11y-option {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 8px 14px; border: 2px solid var(--field-line); border-radius: var(--radius);
  background: #fff; color: var(--blue-800); font: inherit; font-weight: 700; font-size: 1.125rem; text-align: start; cursor: pointer;
  transition: border-color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}
.a11y-option:hover { border-color: var(--blue-800); }
.a11y-option__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--mist); }
.a11y-option__label { flex: 1 1 auto; }
/* on / off is written out and ticked: never by colour alone */
.a11y-option__state { flex: none; display: inline-flex; align-items: center; gap: 6px; min-width: 4.6em; justify-content: flex-end; font-size: 1rem; font-weight: 700; color: var(--muted); }
.a11y-option__check { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--field-line); }
.a11y-option__check svg { width: 14px; height: 14px; stroke-width: 3.2; opacity: 0; }
.a11y-option[aria-pressed="true"] { border-color: var(--blue-800); background: var(--mist); box-shadow: inset 0 0 0 2px var(--blue-800); }
.a11y-option[aria-pressed="true"] .a11y-option__icon { background: var(--blue-800); color: #fff; }
.a11y-option[aria-pressed="true"] .a11y-option__state { color: var(--blue-800); }
.a11y-option[aria-pressed="true"] .a11y-option__check { border-color: var(--ok); background: var(--ok); color: #fff; }
.a11y-option[aria-pressed="true"] .a11y-option__check svg { opacity: 1; }
.a11y-panel__foot { display: grid; gap: 6px; justify-items: start; padding-top: 4px; }
.a11y-reset {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 20px; border: 2px solid var(--blue-800); border-radius: 999px;
  background: #fff; color: var(--blue-800); font: inherit; font-weight: 700; font-size: 1.0625rem; cursor: pointer;
}
.a11y-reset svg { width: 20px; height: 20px; }
.a11y-reset:hover { background: var(--blue-800); color: #fff; }
@media (max-width: 520px) {
  .a11y-panel { width: 100vw; border-inline-start: 0; }
}

/* --- text size: the root size grows, and everything set in rem grows with it (up to 200%). The
       navigation becomes the menu panel at every width (html.nav-compact), and at the larger sizes
       the multi-column layouts fold (html.a11y-large). */
html[data-a11y-size="1"] { font-size: 115%; }
html[data-a11y-size="2"] { font-size: 130%; }
html[data-a11y-size="3"] { font-size: 150%; }
html[data-a11y-size="4"] { font-size: 175%; }
html[data-a11y-size="5"] { font-size: 200%; }
html[data-a11y-size] :is(h1, h2, h3, h4, p, li, a, span, label, button, dd, dt, td, th) { overflow-wrap: break-word; }
html[data-a11y-size] .hero__item, html[data-a11y-size] .nav-link { white-space: normal; }
/* The headline of the home page is sized by the width of the screen; with a chosen text size it follows
   the text instead (a step up is always a step up), up to what the screen can hold. Every other
   heading is set in rem and grows by itself. */
html[data-a11y-size] .hero h1 { font-size: min(2.6rem, 17vw); }
@media (min-width: 900px) {
  html[data-a11y-size] .hero h1 { font-size: min(4.16rem, 8.5vw); }
}
html.a11y-large :is(.post-grid, .calc-grid, .videos, .steps, .hero__grid, .intro__grid, .person, .service, .site-footer__grid, .text-page--aside, .popup__scroll) { grid-template-columns: minmax(0, 1fr) !important; }
html.a11y-large :is(.post-grid__featured, .calc-grid > li, .site-footer__brand) { grid-column: auto !important; grid-row: auto !important; }
html.a11y-large .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html.a11y-large .carousel__slide { flex-basis: 86%; }
html.a11y-large .steps::before { display: none; }
html.a11y-large .step { flex-direction: row; text-align: start; align-items: center; padding: 10px 0; }
html.a11y-large :is(.person__media, .service__media, .intro__media) { order: 0 !important; max-width: 270px; margin-inline: auto; }
html.a11y-large .hero__media { max-width: 360px; margin-inline: auto; margin-bottom: 0; }
html.a11y-large .hero__text { padding-bottom: 0; }
html.a11y-large .text-page--aside .aside-card { position: static; }
html.a11y-large .site-footer__nav ul { grid-template-columns: minmax(0, 1fr); }
html.a11y-large .lead__bg { display: none; }
html.a11y-large .lead .lead__card { margin-inline: auto; max-width: 600px; }
html.a11y-large .post-card__excerpt { -webkit-line-clamp: unset; line-clamp: unset; display: block; }
html.a11y-large .a11y-option__state { min-width: 0; }
html.a11y-large .a11y-size__row { grid-template-columns: minmax(0, 1fr); }
html.a11y-large .a11y-option { flex-wrap: wrap; }
html.a11y-large .a11y-option__icon { display: none; }
html.a11y-large .a11y-panel__head { flex-wrap: wrap; }
html.a11y-large .a11y-panel__head h2 svg { display: none; }

/* --- high contrast: white on black, yellow for everything that can be pressed. Decoration goes;
       photographs of people and the charts stay as they are. */
html.a11y-contrast { --focus: #fff; --hc-key: #FFE94D; background: #000; }
html.a11y-contrast :where(body, body *):where(:not(img, picture, video, iframe, svg, svg *, .chart-wrap, .chart-wrap *, .chart-svg-wrap, .chart-svg-wrap *, .chart-svg-holder, .chart-svg-holder *, .legend, .legend *, .chart-legend, .chart-legend *)) {
  background-color: #000 !important; background-image: none !important; color: #fff !important; border-color: #fff !important;
  box-shadow: none !important; text-shadow: none !important; -webkit-text-stroke: 0 !important;
}
html.a11y-contrast :where(body *)::before, html.a11y-contrast :where(body *)::after { background-color: transparent !important; background-image: none !important; border-color: currentColor !important; box-shadow: none !important; }
html.a11y-contrast :is(.bg-photo, .contours, .hero__bg, .page-hero__bg, .review__mark, .portrait::before) { display: none !important; }
html.a11y-contrast .portrait::before { display: none !important; }
html.a11y-contrast .process { padding-bottom: var(--section); }
html.a11y-contrast :is(a, a *, summary, .link) { color: var(--hc-key) !important; }
html.a11y-contrast a:not(.btn, .header-tool, .icon-btn, .mobile-bar__btn, .site-logo, .site-footer__logo, .site-nav__home, .video__poster, .pager__num) { text-decoration: underline !important; text-decoration-thickness: 0.1em !important; text-underline-offset: 0.2em; }
html.a11y-contrast :is(button, .btn, .header-tool, .icon-btn, .pager__num, .mobile-bar__btn, .calc-step, select, summary), html.a11y-contrast :is(button, .btn, .header-tool, .icon-btn, .mobile-bar__btn) * { color: var(--hc-key) !important; }
html.a11y-contrast :is(button, .btn, .header-tool, .icon-btn, .pager__num, .mobile-bar__btn, .card, .lead__card, .review, .accordion__item, .a11y-size, .popup, .a11y-panel) { border: 2px solid currentColor !important; }
html.a11y-contrast :is(input, select, textarea, .calc-ctl) { border: 2px solid #fff !important; }
html.a11y-contrast .calc-ctl > input { border: 0 !important; }
html.a11y-contrast :is(.btn:hover, .header-tool:hover, .icon-btn:hover, .a11y-option:hover, .a11y-size__btn:hover, .a11y-reset:hover, .a11y-panel__close:hover) { outline: 2px solid var(--hc-key); outline-offset: 2px; }
/* what is chosen, pressed or current: yellow ground, black text */
html.a11y-contrast :is([aria-pressed="true"], [aria-selected="true"], [aria-current="page"], .menu-toggle[aria-expanded="true"], .tab-btn.active, .toggle-btn.active, .mode-toggle .active),
html.a11y-contrast :is([aria-pressed="true"], [aria-selected="true"], [aria-current="page"], .menu-toggle[aria-expanded="true"], .tab-btn.active, .toggle-btn.active, .mode-toggle .active) :where(*:not(svg, svg *)) { background-color: var(--hc-key) !important; color: #000 !important; }
html.a11y-contrast :is(.site-logo, .site-footer__logo, .site-nav__home) { background-color: #fff !important; border-radius: 10px; padding: 4px 8px; }
html.a11y-contrast .site-header__top, html.a11y-contrast .site-nav { border-bottom: 2px solid #fff !important; }
html.a11y-contrast .mobile-bar { border-top: 2px solid #fff; }
html.a11y-contrast :is(.field__err, .form__status, .req, .calc .err, .calc .field-error, .calc .error-text) { color: #FFB4AB !important; }
html.a11y-contrast .field__err { background-image: none !important; padding-inline-start: 0; }
html.a11y-contrast .field__err:not(:empty)::before { content: "! "; font-weight: 800; }
html.a11y-contrast .read-progress__bar { background-color: var(--hc-key) !important; }
html.a11y-contrast .title-rule::after, html.a11y-contrast .steps::before { background-color: #fff !important; }
html.a11y-contrast .notice__code { color: #fff !important; }
html.a11y-contrast .a11y-option__check svg { color: #000; }
html.a11y-contrast :focus-visible { outline: 3px solid #fff !important; outline-offset: 3px !important; }
html.a11y-contrast .skip-link:focus { outline-offset: -9px !important; }
html.a11y-contrast ::selection { background: var(--hc-key); color: #000; }
html.a11y-contrast :is(.chart-wrap, .chart-svg-wrap, .legend, .chart-legend) { background: #fff; color: var(--ink); border: 2px solid #fff; border-radius: var(--radius); padding: 8px 12px; }
html.a11y-contrast dialog::backdrop { background: rgba(0, 0, 0, 0.8); }

/* --- links stand out: underlined, on a yellow ground, wherever they are */
html.a11y-links a:not(.site-logo, .site-footer__logo, .site-nav__home, .video__poster), html.a11y-links a:not(.site-logo, .site-footer__logo, .site-nav__home, .video__poster) :where(span, strong, em) {
  background: #FFEB3B !important; color: #000 !important; text-decoration: underline !important; text-decoration-thickness: 0.12em !important; text-underline-offset: 0.18em;
}
html.a11y-links a:not(.site-logo, .site-footer__logo, .site-nav__home, .video__poster) { outline: 2px solid #000; outline-offset: 1px; }
html.a11y-links a svg { color: #000 !important; }
html.a11y-links a.btn::before { display: none; }
html.a11y-links .btn__puck, html.a11y-links .contact-link__icon { background: transparent !important; }

/* --- a plain, familiar typeface everywhere */
html.a11y-font body, html.a11y-font body :where(*) { font-family: Arial, "Arial Hebrew", "Noto Sans Hebrew", "Helvetica Neue", Helvetica, sans-serif !important; letter-spacing: 0; }

/* --- more air: the spacing values of WCAG 1.4.12, and a little more between lines */
html.a11y-spacing body :where(p, li, dd, dt, td, th, label, blockquote, figcaption, a, span, button, input, select, summary, div) { line-height: 1.9 !important; letter-spacing: 0.12em !important; word-spacing: 0.16em !important; }
html.a11y-spacing body :where(h1, h2, h3, h4, h5, h6), html.a11y-spacing body :where(h1, h2, h3, h4, h5, h6) * { line-height: 1.5 !important; letter-spacing: 0.06em !important; word-spacing: 0.16em !important; }
html.a11y-spacing body :where(p) { margin-bottom: 2em; }
html.a11y-spacing :is(.header-tool, .header-tool span, .step__num, .calc-step, .notice__code, .a11y-size__value, .field__ok) { line-height: 1.15 !important; letter-spacing: 0 !important; }
html.a11y-spacing .post-card__excerpt { -webkit-line-clamp: unset; line-clamp: unset; display: block; }
html.a11y-spacing :is(.hero__item, .nav-link) { white-space: normal; }

/* --- a large pointer */
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 48 48'%3E%3Cpath d='M8 4l30 22-14 2.4 8 15-6 3-8-15.4L8 42z' fill='%23000' stroke='%23fff' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") 8 4, auto !important; }
html.a11y-cursor :is(a, button, summary, label, select, [role="button"], input:is([type="range"], [type="checkbox"], [type="radio"], [type="submit"])), html.a11y-cursor :is(a, button, summary, label) * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M19 4a3.6 3.6 0 0 1 3.6 3.6V20l12.2 2.4a5 5 0 0 1 4 5.6L37 40a5 5 0 0 1-5 4H21a6 6 0 0 1-4.8-2.4L7.6 30a3.4 3.4 0 0 1 5.2-4.4l2.6 2.6V7.6A3.6 3.6 0 0 1 19 4z' fill='%23fff' stroke='%23000' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") 18 4, pointer !important;
}

/* ------------------------------------------------------------------ forced colours (Windows contrast themes)
   The system paints text, backgrounds and borders itself. What is left to do here: give back what was
   drawn with a background colour or a shadow (rules, focus rings, states), and take away what would
   only get in the way. */
@media (forced-colors: active) {
  .bg-photo, .contours, .hero__bg, .page-hero__bg, .review__mark, .portrait::before { display: none !important; }
  .process { padding-bottom: var(--section); }
  .btn::before { display: none; }
  .btn, .header-tool, .icon-btn, .card, .lead__card, .review, .popup, .a11y-panel, .accordion__item, .mobile-bar__btn, .calc-step, .step__num, .video__play { border: 2px solid ButtonBorder; }
  .mobile-bar { border-top: 2px solid CanvasText; }
  .link__label, .prose a:not(.btn), .footer-link .link__label, .contact-link, .nav-link { background: none; text-decoration: underline; }
  .title-rule::after, .steps::before, .read-progress__bar, .nav-link__mark, .nav-link[aria-current="page"]::before, .accordion__trigger::before { background: CanvasText; forced-color-adjust: none; }
  :focus-visible, .field__input:focus-visible { outline: 3px solid Highlight; outline-offset: 3px; }
  .post-card:has(a:focus-visible), .calc-card:has(a:focus-visible) { outline: 3px solid Highlight; }
  [aria-pressed="true"], [aria-current="page"], .menu-toggle[aria-expanded="true"] { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; }
  [aria-pressed="true"] *, [aria-current="page"] * { forced-color-adjust: none; background: transparent; color: HighlightText; border-color: HighlightText; }
  .field__input[aria-invalid="true"] { border-style: dashed; }
  .field__err { background-image: none; padding-inline-start: 0; }
  .field__err:not(:empty)::before { content: "! "; font-weight: 800; }
  .field__ok { forced-color-adjust: none; background: Canvas; color: CanvasText; border: 2px solid CanvasText; }
  .review__stars, .notice__code { color: CanvasText; -webkit-text-stroke: 0; }
  .shield { background: Canvas; }
  .a11y-option__check svg { forced-color-adjust: none; color: HighlightText; }
}
