/* ==========================================================================
   scalewithmay.com - "The Private Bank Letter"
   A letter on deep graphite: warm ivory ink, one champagne-bronze accent for
   rules, numerals and the single primary action. Source Serif 4 for headlines,
   Source Sans 3 for reading, Frank Ruhl Libre + Noto Sans Hebrew for Hebrew.
   Hairline rules, wide margins, numbered clauses, no fills, no cards.
   Logical properties throughout so the Hebrew pages mirror without overrides.
   ========================================================================== */

:root {
  color-scheme: dark;
  --sheet: #16181B;
  --paper: #1D2024;
  --ink: #F3EEE3;
  --ink-2: #D8D2C4;
  --graphite: #A39E92;
  --dim: #6F6A60;
  --rule: #2E3136;
  --rule-strong: #5C574F;
  --red: #C8A96A;          /* the accent: champagne bronze (token name kept for the pages) */
  --red-ink: #DCC08A;      /* the accent on small text and hover */
  --on-red: #16181B;
  /* notes and the closing block: a raised passage, not a filled band */
  --band: #1D2024;
  --band-ink: #F3EEE3;
  --band-mute: #A39E92;

  --f-serif: "Source Serif 4", "Frank Ruhl Libre", Georgia, serif;
  --f-sans: "Source Sans 3", "Noto Sans Hebrew", system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 56px);
  --maxw: 1120px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--sheet);
  color: var(--ink);
  font: 400 17px/1.65 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-block-end: 72px;
}
@media (min-width: 992px) { body { padding-block-end: 0; } }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--red); color: var(--on-red); }
:focus-visible { outline: 1px solid var(--red); outline-offset: 4px; }
html { scrollbar-color: var(--rule-strong) var(--sheet); }

h1, h2, h3, h4 { margin: 0; font-family: var(--f-serif); font-weight: 500; letter-spacing: 0; text-wrap: balance; color: var(--ink); }
:lang(he) h1, :lang(he) h2, :lang(he) h3, :lang(he) .h-display, :lang(he) .h-sheet, :lang(he) .h-item { font-family: "Frank Ruhl Libre", "Source Serif 4", serif; font-weight: 500; }
p { margin: 0; text-wrap: pretty; }

/* ---------- type roles ---------- */
.lbl {
  font-family: var(--f-sans); font-size: 12px; font-weight: 600; line-height: 1.4;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite);
}
.h-display {
  font-family: var(--f-serif); font-size: clamp(34px, 3.8vw, 52px); line-height: 1.1; font-weight: 500;
  letter-spacing: -0.005em; font-variation-settings: "opsz" 60;
}
.h-display .mk { color: var(--red); font-style: normal; }
.hero .h-display { font-size: clamp(34px, 3.6vw, 50px); }
.h-sheet {
  font-family: var(--f-serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.18; font-weight: 500;
  font-variation-settings: "opsz" 48; max-width: 24ch;
}
.h-sheet .mk { color: var(--red); font-style: normal; }
.h-item { font-family: var(--f-serif); font-size: 23px; line-height: 1.3; font-weight: 500; }
.lede { font-size: clamp(17px, 1.25vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.lede b, .body b { color: var(--ink); font-weight: 600; }
.body { font-size: 16.5px; line-height: 1.6; color: var(--ink-2); max-width: 64ch; }
.small { font-size: 14px; line-height: 1.55; color: var(--graphite); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); }

/* A section of the letter: a hairline above, a running head at the corner */
.sheet { position: relative; border-block-start: 1px solid var(--rule); padding-block: clamp(32px, 4vw, 48px) clamp(28px, 3.5vw, 44px); }
.sheet.alt { background: var(--sheet); }
.sheet-tag {
  position: absolute; inset-block-start: 14px; inset-inline-end: var(--gutter);
  display: flex; gap: 12px; align-items: baseline;
}
.sheet-tag span { font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--graphite); }
.sheet-tag { display: none; }  /* running heads and sheet numbers retired with the drawing-set world */
.sheet-head { display: grid; gap: 12px; margin-block-end: clamp(16px, 2.5vw, 26px); }
/* on wide screens the section title sits beside its content: one fold, not two */
@media (min-width: 992px) {
  .sheet-head:has(+ .schedule), .sheet-head:has(+ .seq), .sheet-head:has(+ .compare), .sheet-head:has(+ .index), .sheet-head:has(+ .tb-cells) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 5vw, 72px); align-items: end; }
  .sheet-head .h-sheet { max-width: 22ch; }
  .sheet-head:has(+ .schedule) { grid-template-columns: minmax(0, 1fr); }
  .sheet-head:has(+ .schedule) .h-sheet { max-width: 34ch; }
}

/* ---------- nav: the letterhead ---------- */
.strip {
  position: sticky; inset-block-start: 0; z-index: 50;
  background: var(--sheet);
  border-block-end: 1px solid var(--rule);
}
.strip-in { display: flex; align-items: stretch; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; padding-inline-end: 24px; }
.brand svg { width: 30px; height: 30px; }
.brand svg rect { stroke: var(--red); stroke-width: 3; }
.brand svg path { stroke: var(--ink); }
.brand b { display: block; font-family: var(--f-serif); font-size: 19px; font-weight: 600; letter-spacing: 0.08em; line-height: 1.1; white-space: nowrap; }
.brand small { display: block; font-size: 11px; color: var(--graphite); letter-spacing: 0.18em; text-transform: uppercase; margin-block-start: 2px; }
.nav-links { display: flex; list-style: none; margin: 0; padding: 0; margin-inline-start: auto; gap: 4px; }
.nav-links li { display: flex; }
.nav-link {
  display: flex; align-items: center; padding-inline: 14px; text-decoration: none;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
  color: var(--graphite); position: relative; transition: color .2s;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); }
.nav-link.active::after { content: ""; position: absolute; inset-inline: 14px; inset-block-end: 22px; height: 1px; background: var(--red); }
.nav-cta {
  display: flex; align-items: center; gap: 10px; padding-inline: 22px; margin-inline-start: 12px;
  border-inline-start: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 11.5px;
  letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; transition: color .2s var(--ease);
}
.nav-cta:hover { color: var(--red-ink); }
.nav-cta i { font-size: 11px; }
.lang-toggle { display: flex; align-items: center; padding-inline: 14px; text-decoration: none; font-weight: 600; font-size: 12.5px; letter-spacing: 0.1em; color: var(--graphite); }
.lang-toggle:hover { color: var(--ink); }
.mobile-toggle { display: none; }

@media (max-width: 1180px) {
  .nav-link { padding-inline: 9px; font-size: 11px; letter-spacing: 0.06em; }
  .nav-cta { padding-inline: 14px; }
}
@media (max-width: 991px) {
  .strip-in { min-height: 62px; }
  .nav-cta { display: none; }
  .mobile-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 52px; border: 0; background: none; padding: 0 12px 0 20px; cursor: pointer;
  }
  .mobile-toggle span { display: block; height: 1px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
  .mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-toggle.active span:nth-child(2) { opacity: 0; }
  .mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links {
    position: fixed; inset: 62px 0 auto 0; flex-direction: column; gap: 0; background: var(--sheet);
    border-block-end: 1px solid var(--rule); margin: 0;
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .4s var(--ease), visibility 0s .4s;
  }
  .nav-links.active { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .4s var(--ease); }
  .nav-link { border-block-start: 1px solid var(--rule); padding: 16px var(--gutter); font-size: 13px; min-height: 54px; }
  .nav-link.active::after { inset-inline: var(--gutter) auto; width: 28px; inset-block-end: 14px; }
  .lang-toggle { margin-inline-start: auto; }
}

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px;
  padding: 0 28px; font: 600 12.5px/1 var(--f-sans); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--rule-strong); color: var(--ink); background: transparent; cursor: pointer;
  transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
}
.btn:hover { border-color: var(--red); color: var(--red-ink); }
.btn-red { background: var(--red); border-color: var(--red); color: var(--on-red); }
.btn-red:hover { background: var(--red-ink); border-color: var(--red-ink); color: var(--on-red); }
.btn i { font-size: 11px; transition: transform .3s var(--ease); }
.btn i.fa-calendar-check, .btn i.fa-arrow-down, .btn i.fa-envelope, .btn i.fa-linkedin-in { display: none; }
.btn:hover i.fa-arrow-right { transform: translateX(3px); }
[dir="rtl"] .btn i.fa-arrow-right { transform: scaleX(-1); }
[dir="rtl"] .btn:hover i.fa-arrow-right { transform: scaleX(-1) translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-block-end: 1px solid var(--rule-strong); padding-block-end: 6px; transition: border-color .2s, color .2s; }
.link-arrow:hover { color: var(--red-ink); border-color: var(--red); }
.link-arrow i { font-size: 11px; }
[dir="rtl"] .link-arrow i.fa-arrow-right { transform: scaleX(-1); }

/* ---------- hero: the opening of the letter ---------- */
.hero { padding-block: clamp(20px, 3vw, 40px) clamp(28px, 4vw, 48px); border-block-start: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-block-start: 1px solid var(--red); border-block-end: 1px solid var(--rule); }
.hero-draw { display: none; }
.hero-tb { display: flex; flex-direction: column; }
.hero-tb .tb-main { padding: clamp(24px, 3.5vw, 44px) 0 clamp(20px, 3vw, 32px); display: grid; gap: 18px; align-content: start; }
@media (min-width: 992px) {
  .hero-tb .tb-main { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(40px, 6vw, 96px); align-items: end; }
  .hero-tb .tb-main > .h-display { grid-row: 1 / span 3; align-self: start; }
  .hero-tb .tb-main > .lede, .hero-tb .tb-main > .trust, .hero-tb .tb-main > .note-10x { grid-column: 2; }
  .hero-grid.has-plate .hero-tb .tb-main { grid-template-columns: minmax(0, 1fr); }
  .hero-grid.has-plate .hero-tb .tb-main > .h-display { grid-row: auto; }
  .hero-grid.has-plate .hero-tb .tb-main > * { grid-column: 1; }
}
.hero-tb .lede { font-size: clamp(17px, 1.3vw, 19px); max-width: 60ch; }
.hero-tb .trust { font-size: 14px; line-height: 1.7; color: var(--graphite); letter-spacing: 0.01em; }
.hero-tb .trust .sep { color: var(--red); margin-inline: 10px; }
.hero-tb .trust { display: flex; flex-wrap: wrap; column-gap: 12px; row-gap: 2px; }
.hero-tb .trust .ti { white-space: normal; }
.hero-tb .trust .ti:last-child .sep { display: none; }
/* a portrait plate beside the opening (About) */
.hero-grid.has-plate { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 5vw, 72px); }
.hero-draw.plate { display: block; margin: 0; padding-block: clamp(32px, 5vw, 64px) 0; }
.hero-draw.plate img { width: 100%; height: auto; max-height: 560px; object-fit: cover; object-position: 50% 12%; filter: grayscale(1) contrast(1.02) brightness(.94); border: 1px solid var(--rule-strong); }
.hero-draw.plate .cap { display: flex; justify-content: space-between; padding: 12px 0 0; }
.hero-draw.plate .cap .lbl:last-child { display: none; }
@media (max-width: 991px) {
  .hero-grid.has-plate { grid-template-columns: minmax(0, 1fr); }
  .hero-draw.plate { order: 2; padding-block: 0 32px; max-width: 320px; }
}
.doors { display: grid; grid-template-columns: 1fr 1fr; border-block-start: 1px solid var(--rule); counter-reset: door; }
.door {
  position: relative; display: grid; gap: 10px; align-content: start; justify-items: start;
  padding: 18px 0 20px; padding-inline-end: clamp(20px, 4vw, 56px);
  text-decoration: none; color: var(--ink); counter-increment: door;
}
.door + .door { border-inline-start: 1px solid var(--rule); padding-inline-start: clamp(20px, 4vw, 56px); padding-inline-end: 0; }
.door::before { content: counter(door, upper-roman) "."; font-family: var(--f-serif); font-size: 18px; color: var(--red); line-height: 1; }
.door .go { font-family: var(--f-serif); font-size: clamp(19px, 1.5vw, 22px); font-weight: 500; line-height: 1.25; }
.door .go i { font-size: 12px; margin-inline-start: 10px; color: var(--graphite); transition: transform .3s var(--ease); }
[dir="rtl"] .door .go i { transform: scaleX(-1); }
.door .door-tag { display: inline-flex; gap: 8px; }
.door .door-tag span:first-child { display: none; }
.door .door-tag span + span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite); }
.door::after { content: ""; position: absolute; inset-inline-start: 0; inset-block-end: -1px; width: 64px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
[dir="rtl"] .door::after { transform-origin: right; }
.door + .door::after { inset-inline-start: clamp(20px, 4vw, 56px); }
.door:hover::after, .door:focus-visible::after { transform: scaleX(1); }
.door:hover .go i { transform: translateX(4px); }
[dir="rtl"] .door:hover .go i { transform: scaleX(-1) translateX(4px); }
.hero-call { display: flex; gap: 14px; flex-wrap: wrap; padding-block: 20px 0; border-block-start: 1px solid var(--rule); }
.hero-call .btn { min-height: 54px; max-width: 100%; min-width: 0; text-align: center; }

@media (max-width: 560px) {
  .hero { padding-block-start: 16px; }
  .hero-tb .tb-main { gap: 14px; padding-block: 20px 16px; }
  .h-display, .hero .h-display { font-size: 34px; }
  .hero-tb .lede { font-size: 16.5px; }
  .sheet { padding-block: 32px 28px; }
  .h-sheet { font-size: 24px; }
  .doors { grid-template-columns: minmax(0, 1fr); }
  .door { padding: 20px 0 22px; padding-inline-end: 0; }
  .door + .door { border-inline-start: 0; border-block-start: 1px solid var(--rule); padding-inline-start: 0; }
  .door + .door::after { inset-inline-start: 0; }
  .door .go { font-size: 22px; }
  .hero-call .btn { flex: 1 1 100% !important; width: 100%; border-inline-start: 1px solid var(--rule-strong) !important; }
  /* the primary action stays inside the first fold: the reply line sits above the two clauses */
  .hero-tb .hero-call { order: 1; border-block-start: 0; padding-block: 8px 24px; }
  .hero-tb .doors { order: 2; }
}

/* drawings from the retired world stay hidden wherever a page still carries one */
.dw { display: none; }
/* page-level hero grids from the retired world collapse to the letter column */
.hero-grid.tod-hero, .dd-hero .hero-grid, .hero-grid.about-grid { grid-template-columns: minmax(0, 1fr) !important; }
.dd-hero .hero-row { border-block-end: 1px solid var(--rule); padding: 14px 0; }
.dd-status { grid-template-columns: minmax(0, 1fr); }
.dd-status .lbl { display: block !important; font-family: var(--f-serif); font-size: 21px; text-transform: none; letter-spacing: 0; color: var(--ink); padding-block: 0 8px; }
.dd-status .body { max-width: 68ch; }
.hero-row .issue { display: none; }

/* ---------- schedule: a table of terms ---------- */
.schedule { width: 100%; border-collapse: collapse; border-block-start: 1px solid var(--red); }
.schedule caption { caption-side: top; text-align: start; padding-block-end: 10px; }
.schedule th { text-align: start; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--graphite); padding: 14px 20px 14px 0; border-block-end: 1px solid var(--rule); }
.schedule td { padding: 16px 20px 16px 0; border-block-end: 1px solid var(--rule); vertical-align: top; }
.schedule tr:last-child td { border-block-end: 1px solid var(--rule); }
@media (min-width: 900px) { .schedule.cols tr:last-child td { border-block-end: 0; } }
.schedule .fig { font-family: var(--f-serif); font-size: clamp(32px, 3vw, 42px); font-weight: 500; line-height: 1; color: var(--red); white-space: nowrap; font-variation-settings: "opsz" 60; }
.schedule .what { font-family: var(--f-serif); font-size: 18px; font-weight: 500; line-height: 1.35; color: var(--ink); max-width: 30ch; }
.schedule .ctx { font-size: 15.5px; line-height: 1.55; color: var(--graphite); max-width: 36ch; }
.schedule .src { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite); white-space: nowrap; }
@media (max-width: 760px) {
  .schedule thead { display: none; }
  .schedule, .schedule tbody, .schedule tr, .schedule td { display: block; }
  .schedule tr { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 8px; padding: 22px 0; border-block-end: 1px solid var(--rule); }
  .schedule td { padding: 0; border: 0; }
  .schedule td.fig { font-size: 44px; white-space: normal; }
  .schedule td.ctx { font-size: 15px; }
}
/* short strips: a schedule or index laid as columns instead of rows */
@media (min-width: 900px) {
  .schedule.cols { display: block; border-block-start: 1px solid var(--red); }
  .schedule.cols thead { display: none; }
  .schedule.cols tbody { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 40px); }
  .schedule.cols.cols4 tbody { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .schedule.cols tr { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; row-gap: 6px; padding-block: 18px 12px; }
  .schedule.cols td { padding: 0; border: 0; }
  .schedule.cols .what { max-width: none; }
  .schedule.cols .ctx { max-width: none; margin-block-start: 4px; }
  .schedule.cols .src { margin-block-start: 8px; }
  .index.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 40px); }
  .index.cols li { display: contents; }
  .index.cols a { grid-template-columns: minmax(0, 1fr) 24px; grid-template-rows: auto auto; padding: 16px 0 18px; align-content: start; }
  .index.cols .ic { display: none; }
  .index.cols .d { grid-column: 1; grid-row: 2; }
  .index.cols .ar { grid-column: 2; grid-row: 1; }
  .pair2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 72px); align-items: start; }
  .pair2 > div > .sheet-head { grid-template-columns: minmax(0, 1fr); }
}
.note-close { position: relative; margin-block-start: 24px; font-family: var(--f-serif); font-size: clamp(18px, 1.4vw, 21px); line-height: 1.45; color: var(--ink); max-width: 52ch; padding-inline-start: 28px; border-inline-start: 1px solid var(--red); }
.note-close::before, .delta::before { content: none; }
.delta { position: relative; padding-inline-start: 0; }

/* ---------- sequence: numbered clauses ---------- */
.seq { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 40px); border-block-start: 1px solid var(--red); padding-block-start: 20px; }
.seq-c { position: relative; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.seq-c + .seq-c { border: 0; }
.bub { font-family: var(--f-serif); font-size: 26px; line-height: 1; color: var(--red); width: auto; height: auto; border: 0; border-radius: 0; display: block; }
.seq-c p { font-size: 15.5px; line-height: 1.6; color: var(--graphite); }
.seq-c p a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: 4px; }
.seq-c .when { margin-block-start: auto; padding-block-start: 14px; border-block-start: 1px solid var(--rule); font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite); }
.gen-note { display: grid; grid-template-columns: minmax(0, 1fr); margin-block-start: 24px; border-inline-start: 1px solid var(--red); padding-inline-start: 26px; background: transparent; color: var(--ink); }
.gen-note .lbl { display: none; }
.gen-note p { padding: 4px 0; font-family: var(--f-serif); font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.gen-note p b { color: var(--ink); font-weight: 500; }
@media (max-width: 900px) {
  .seq { grid-template-columns: 1fr 1fr; row-gap: 32px; }
}
@media (max-width: 560px) {
  .seq { grid-template-columns: 1fr; row-gap: 28px; }
  .gen-note { grid-template-columns: 1fr; }
  .gen-note .lbl { border-inline-end: 0; border-block-end: 1px solid var(--rule); padding: 14px 0; }
  .gen-note p { padding: 16px 0 20px; }
}

/* ---------- compare: two columns of a letter ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 72px); border-block-start: 1px solid var(--red); }
.compare > div { padding: 18px 0 4px; }
/* a comparison read row by row shares its rows across both columns */
@supports (grid-template-rows: subgrid) {
  .compare.rows { grid-template-rows: auto auto auto auto; }
  .compare.rows > div { display: grid; grid-template-rows: subgrid; grid-row: span 4; }
}
.compare > div + div { border: 0; }
.compare .hot { outline: 0; }
.compare .lbl { margin-block-end: 6px; display: block; }
.compare .hot .lbl { color: var(--ink); padding-inline-start: 0; }
.compare .hot .lbl::before { content: none; }
.compare .row { padding-block: 12px; border-block-start: 1px solid var(--rule); font-family: var(--f-serif); font-size: 19px; line-height: 1.35; color: var(--ink-2); }
.compare .hot .row { color: var(--ink); }
@media (max-width: 640px) {
  .compare { grid-template-columns: 1fr; }
  .compare > div + div { border-block-start: 1px solid var(--rule); }
  .compare .row { font-size: 19px; }
}

/* ---------- terms row ---------- */
.tb-cells { display: grid; grid-template-columns: minmax(0, 1fr); border-block-start: 1px solid var(--red); }
.tb-cell { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 3fr) minmax(0, 6fr); column-gap: 24px; align-items: baseline; padding: 14px 0; border-block-end: 1px solid var(--rule); }
.tb-cell .lbl { color: var(--graphite); }
.tb-cell .v { font-family: var(--f-serif); font-size: 22px; line-height: 1.2; color: var(--ink); }
.tb-cell .d { font-size: 15.5px; line-height: 1.55; color: var(--graphite); }
@media (max-width: 760px) { .tb-cell { grid-template-columns: minmax(0, 1fr); row-gap: 4px; } }
.scope-note { display: flex; gap: 16px; align-items: flex-start; margin-block-start: 24px; padding-block-start: 18px; border-block-start: 1px solid var(--rule); font-size: 14px; line-height: 1.6; color: var(--graphite); max-width: 90ch; }
.scope-note .lbl { display: none; }
@media (max-width: 760px) {
  .scope-note { flex-direction: column; gap: 6px; }
}

/* ---------- split: text and keyed notes ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.keyed { list-style: none; margin: 0; padding: 0; border-block-start: 1px solid var(--red); }
.keyed li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding-block: 10px; border-block-end: 1px solid var(--rule); font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.keyed li b { color: var(--ink); font-weight: 600; }
.keyed .tag { width: 14px; height: 1px; margin-block-start: 0.8em; background: var(--red); border: 0; transform: none; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- spec lines (credentials) ---------- */
.spec { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: 32px; border-block: 1px solid var(--rule); }
.spec > * { padding-block: 16px; }
.spec .lbl { display: none; }
.spec { grid-template-columns: minmax(0, 1fr); }
.spec .certs { grid-column: 1; }
.spec ul { list-style: none; margin: 0; padding-inline: 0; display: flex; flex-wrap: wrap; gap: 6px 0; }
.spec li { font-size: 16px; color: var(--ink-2); }
.spec li b { font-weight: 600; color: var(--ink); }
.spec li + li::before { content: "\00B7"; color: var(--red); margin-inline: 14px; }
.spec .certs { grid-column: 1; padding-block-start: 0; font-size: 14.5px; line-height: 1.75; color: var(--graphite); }
@media (max-width: 760px) {
  .spec { grid-template-columns: 1fr; }
  .spec .lbl { padding-block-end: 0; }
  .spec .certs { grid-column: 1; }
}

/* ---------- index: a contents list ---------- */
.index { list-style: none; margin: 0; padding: 0; border-block-start: 1px solid var(--red); counter-reset: idx; }
.index a { display: grid; grid-template-columns: 52px minmax(0, 4fr) minmax(0, 6fr) 32px; gap: 20px; align-items: center; padding: 14px 0; text-decoration: none; border-block-end: 1px solid var(--rule); transition: color .2s var(--ease); }
.index a:hover .t { color: var(--red-ink); }
.index .ar i { transition: transform .3s var(--ease); }
.index a:hover .ar i.fa-arrow-right { transform: translateX(4px); }
[dir="rtl"] .index a:hover .ar i.fa-arrow-right { transform: scaleX(-1) translateX(4px); }
.index .ic { font-size: 15px; color: var(--graphite); }
.index .ic i.fas, .index .ic i.fab { display: none; }  /* icons retired; numerals stay */
.index .ic .bub { font-size: 20px; }
.index .t { display: flex; flex-direction: column-reverse; gap: 4px; font-family: var(--f-serif); font-size: 21px; line-height: 1.2; color: var(--ink); transition: color .2s; }
.index .t small { display: block; }
.index .d { font-size: 15.5px; color: var(--graphite); line-height: 1.55; }
.index .ar { color: var(--graphite); justify-self: end; font-size: 12px; }
.index a:hover .ar { color: var(--red-ink); }
[dir="rtl"] .index .ar i.fa-arrow-right { transform: scaleX(-1); }
@media (max-width: 700px) {
  .index a { grid-template-columns: 36px 1fr 24px; row-gap: 8px; }
  .index .d { grid-column: 2; grid-row: 2; }
  .index .ar { grid-row: 1; grid-column: 3; }
  .index .t { font-size: 21px; }
}

/* ---------- contact: the plate ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.detail { position: relative; margin: 0; padding: 0; border: 0; background: transparent; }
.detail img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.02) brightness(.94); border: 1px solid var(--rule-strong); }
.detail .cap { display: flex; justify-content: space-between; padding: 12px 0 0; }
.detail .cap .lbl:last-child { display: none; }
.contact-grid .actions { margin-block: 22px 18px; }
.social { display: flex; gap: 10px; align-items: center; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--rule-strong); text-decoration: none; color: var(--ink); font-size: 14px; transition: border-color .2s, color .2s; }
.social a:hover { border-color: var(--red); color: var(--red-ink); }
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
  .detail { max-width: 300px; }
  .contact-grid .actions .btn { flex: 1 1 100%; }
}

/* ---------- footer: the signature block ---------- */
.titleblock { border-block-start: 1px solid var(--red); background: var(--sheet); color: var(--ink); margin-block-start: clamp(24px, 4vw, 48px); }
.tbk { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)) minmax(0, 3fr); column-gap: 24px; padding-block: 28px 22px; }
.tbk > div { padding: 0; border: 0; }
.tbk > div:first-child { padding-inline-end: 24px; }
.tbk > div:nth-child(4) { display: none; }  /* the old "Sheet" column */
.tbk { grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 2fr)) minmax(0, 3fr); }
.tbk .lbl { color: var(--graphite); display: block; margin-block-end: 14px; }
.tbk p { font-size: 14.5px; line-height: 1.65; color: var(--graphite); max-width: 40ch; }
.tbk .bname { font-family: var(--f-serif); font-size: 22px; font-weight: 600; letter-spacing: 0.08em; color: var(--ink); margin-block-end: 12px; }
.tbk ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tbk a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.tbk a:hover { color: var(--red-ink); }
.tbk .soc { display: flex; gap: 10px; margin-block-start: 18px; }
.tbk .soc a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--rule-strong); color: var(--ink); font-size: 13px; }
.tbk .soc a:hover { border-color: var(--red); color: var(--red-ink); }
.tb-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 18px; border-block-start: 1px solid var(--rule); font-size: 12.5px; color: var(--dim); }
.tb-base a { color: var(--dim); text-decoration: none; margin-inline-start: 18px; }
.tb-base a:hover { color: var(--ink); }
@media (max-width: 1000px) {
  .tbk { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .tbk > div:first-child { grid-column: 1 / -1; padding-inline-end: 0; }
}

/* ---------- mobile bottom bar ---------- */
.mobile-bottom-nav { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 60; background: var(--sheet); border-block-start: 1px solid var(--rule); padding-block-end: env(safe-area-inset-bottom); }
.mobile-bottom-nav-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.mobile-nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 60px; text-decoration: none; color: var(--graphite); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.mobile-nav-item + .mobile-nav-item { border-inline-start: 1px solid var(--rule); }
.mobile-nav-item i { font-size: 15px; }
.mobile-nav-item.active { color: var(--ink); box-shadow: inset 0 1px 0 var(--red); }
.mobile-nav-item.cta { color: var(--ink); }
@media (min-width: 992px) { .mobile-bottom-nav { display: none; } }

/* script.js adds a scroll progress bar */
.scroll-progress { position: fixed; inset-block-start: 0; inset-inline-start: 0; height: 1px; background: var(--red); z-index: 70; width: 0; }

/* cookie-consent.js banner, set like the rest of the letter */
html body #cookie-consent-banner { background: var(--paper); color: var(--ink-2); border-block-start: 1px solid var(--rule); font-family: var(--f-sans); font-size: 13.5px; padding: 12px var(--gutter); }
html body #cookie-consent-banner strong { color: var(--ink) !important; font-weight: 600; }
html body #cookie-consent-banner a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
html body #cookie-consent-banner button { font-family: var(--f-sans); border-radius: 0; min-height: 44px; padding: 0 22px; font-weight: 600; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
html body #ccb-decline { background: transparent; color: var(--ink); border: 1px solid var(--rule-strong); }
html body #ccb-decline:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
html body #ccb-accept { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
html body #ccb-accept:hover { border-color: var(--red); color: var(--red-ink); }

/* ---------- Hebrew ---------- */
[dir="rtl"] .nav-cta i.fa-arrow-right { transform: scaleX(-1); }
:lang(he) .lbl, :lang(he) .sheet-tag span, :lang(he) .nav-link, :lang(he) .mobile-nav-item, :lang(he) .btn, :lang(he) .link-arrow,
:lang(he) .schedule th, :lang(he) .schedule .src, :lang(he) .seq-c .when, :lang(he) .brand small, :lang(he) .door .door-tag span + span {
  letter-spacing: 0.02em;
}
:lang(he) .h-display { line-height: 1.15; }
:lang(he) .mk { font-style: normal; }
:lang(he) .h-sheet { line-height: 1.2; }

/* ---------- where the read fits + terms (2026-09-21) ---------- */
.fit { align-items: start; }
@media (min-width: 861px) {
  .split.fit, .split:has(> .jobs) { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 64px); }
  .split.fit .h-sheet { max-width: 14ch; }
}
.fit-cols { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
@media (min-width: 700px) { .fit-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(28px, 4vw, 56px); } }
.fit-col { border-block-start: 1px solid var(--rule-strong); padding-block-start: 16px; }
.fit-col.hot { border-block-start-color: var(--red); }
.fit-col .lbl { display: block; margin-block-end: 12px; color: var(--graphite); }
.fit-col.hot .lbl { color: var(--ink); }
.fit-col .lead { margin: 0 0 8px; font-family: var(--f-serif); font-size: clamp(20px, 1.7vw, 24px); line-height: 1.25; font-weight: 500; color: var(--ink-2); }
.fit-col.hot .lead { color: var(--ink); }
.fit-col p:not(.lead) { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
.terms { display: grid; grid-template-columns: minmax(0, 1fr); margin-block-start: clamp(28px, 3.5vw, 44px); border-block-start: 1px solid var(--rule); }
.term { display: grid; gap: 4px; align-content: start; padding-block: 16px 14px; border-block-end: 1px solid var(--rule); }
.term .lbl { color: var(--graphite); }
.term .v { font-family: var(--f-serif); font-size: 24px; line-height: 1.2; font-weight: 500; color: var(--ink); }
.term .d { font-size: 15.5px; line-height: 1.55; color: var(--graphite); max-width: 40ch; }
@media (min-width: 800px) {
  .terms { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 40px); }
  .term { border-block-end: 0; }
  .terms + .scope-note { margin-block-start: 4px; }
}

/* ---------- four-up credentials (he/about) ---------- */
.tb-cells.four { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 40px); }
.tb-cells.four .tb-cell { grid-template-columns: minmax(0, 1fr); row-gap: 4px; align-content: start; border-block-end: 0; padding-block: 16px 12px; }
.tb-cells.four .tb-cell .t { font-family: var(--f-serif); font-size: 19px; line-height: 1.3; font-weight: 600; color: var(--ink); }
@media (min-width: 800px) { .tb-cells.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tb-cells.four { grid-template-columns: minmax(0, 1fr); } }

/* ---------- the jobs I take + where I worked (2026-09-21) ---------- */
.jobs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: clamp(28px, 4vw, 56px); }
.jobs li { display: grid; gap: 4px; align-content: start; padding-block: 14px 18px; border-block-start: 1px solid var(--rule); }
.jobs li:first-child { border-block-start-color: var(--red); }
.jobs b { font-family: var(--f-serif); font-size: 20px; line-height: 1.25; font-weight: 500; color: var(--ink); }
.jobs span { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
@media (min-width: 640px) {
  .jobs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .jobs li:nth-child(2) { border-block-start-color: var(--red); }
}
.worked { list-style: none; margin: clamp(28px, 3.5vw, 44px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 40px); border-block-start: 1px solid var(--rule); }
.worked li { display: grid; gap: 2px; align-content: start; padding-block: 14px 12px; }
.worked b { font-family: var(--f-serif); font-size: 19px; line-height: 1.25; font-weight: 500; color: var(--ink); }
.worked span { font-size: 14.5px; line-height: 1.5; color: var(--graphite); }
@media (min-width: 800px) { .worked { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.certs-more { border-block: 1px solid var(--rule); }
.certs-more summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; list-style: none; font: 600 12px/1.4 var(--f-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite); }
.certs-more summary::-webkit-details-marker { display: none; }
.certs-more summary::after { content: "+"; margin-inline-start: 12px; font-size: 16px; color: var(--red); }
.certs-more[open] summary::after { content: "-"; }
.certs-more summary:hover { color: var(--ink); }
.certs-more p, .certs-more .certs-list { margin: 0 0 16px; padding: 0; font-size: 14.5px; line-height: 1.75; color: var(--graphite); max-width: 90ch; }
.certs-list { list-style: none; display: grid; gap: 2px; }

/* ---------- Hebrew pages: one sans family, single-column hero (2026-09-21) ---------- */
html[lang="he"] {
  --f-serif: "IBM Plex Sans Hebrew", "Source Sans 3", system-ui, sans-serif;
  --f-sans: "IBM Plex Sans Hebrew", "Source Sans 3", system-ui, sans-serif;
}
html[lang="he"] body { font-size: 17.5px; line-height: 1.7; }
html[lang="he"] h1, html[lang="he"] h2, html[lang="he"] h3, html[lang="he"] h4,
html[lang="he"] .h-display, html[lang="he"] .h-sheet, html[lang="he"] .h-item {
  font-family: var(--f-serif); font-weight: 600; letter-spacing: -0.01em;
}
html[lang="he"] .h-display { line-height: 1.14; }
html[lang="he"] .h-sheet { line-height: 1.22; }
html[lang="he"] .lbl, html[lang="he"] .btn, html[lang="he"] .nav-link, html[lang="he"] .link-arrow,
html[lang="he"] .certs-more summary, html[lang="he"] .schedule .src, html[lang="he"] .seq-c .when {
  letter-spacing: 0; font-size: 13.5px; font-weight: 500;
}
html[lang="he"] .btn { font-size: 15px; font-weight: 600; }
html[lang="he"] .nav-link { font-size: 15px; }
html[lang="he"] .brand b { letter-spacing: 0; font-weight: 700; }
html[lang="he"] .schedule .fig, html[lang="he"] .bub { direction: ltr; unicode-bidi: isolate; text-align: right; font-weight: 500; }
html[lang="he"] .schedule .what, html[lang="he"] .fit-col .lead, html[lang="he"] .jobs b, html[lang="he"] .worked b,
html[lang="he"] .term .v, html[lang="he"] .door .go, html[lang="he"] .index .t, html[lang="he"] .note-close, html[lang="he"] .gen-note p { font-weight: 600; }
html[lang="he"] .note-close, html[lang="he"] .gen-note p { font-weight: 500; }
html[lang="he"] .hero-tb .trust, html[lang="he"] .scope-note, html[lang="he"] .term .d, html[lang="he"] .worked span { font-size: 15.5px; color: var(--ink-2); }
@media (min-width: 992px) {
  html[lang="he"] .hero-tb .tb-main { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: clamp(40px, 6vw, 88px); row-gap: 24px; align-items: start; }
  html[lang="he"] .hero-tb .tb-main > .h-display { grid-column: 1 / -1; grid-row: auto; }
  html[lang="he"] .hero-tb .tb-main > .lede { grid-column: 1; grid-row: auto; }
  html[lang="he"] .hero-tb .tb-main > .trust { grid-column: 2; grid-row: auto; display: grid; row-gap: 0; border-block-start: 1px solid var(--red); }
  html[lang="he"] .hero-tb .trust .ti { padding-block: 10px; border-block-end: 1px solid var(--rule); }
  html[lang="he"] .hero-tb .trust .sep { display: none; }
  html[lang="he"] .hero .h-display { font-size: clamp(40px, 4.4vw, 60px); max-width: 24ch; }
  html[lang="he"] .hero-tb .lede { font-size: 20px; max-width: 58ch; }
  html[lang="he"] .hero-tb { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(28px, 4vw, 56px); align-items: center; border-block-start: 0; }
  html[lang="he"] .hero-tb .tb-main { grid-column: 1 / -1; }
  html[lang="he"] .hero-tb .hero-call { grid-column: 1; grid-row: 2; border-block-start: 0; padding-block: 8px 24px; }
  html[lang="he"] .hero-tb .doors { grid-column: 2; grid-row: 2; border-block-start: 0; }
}

/* ---------- images + readability (2026-09-21) ---------- */
/* small grey text was the hardest thing to read on the page */
body { font-size: 17.5px; }
.sheet { padding-block: clamp(40px, 5vw, 64px) clamp(36px, 4.5vw, 56px); }
.lbl { font-size: 12.5px; }
.seq-c p, .schedule .ctx, .index .d, .term .d, .worked span { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.hero-tb .trust, .scope-note { font-size: 15px; color: var(--ink-2); }
.seq-c .when, .schedule .src { color: var(--ink-2); }

/* hero portrait on the far side of the text */
@media (min-width: 861px) {
  .hero-grid.has-plate.plate-end { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: stretch; }
  .hero-grid.plate-end .hero-draw.plate { padding-block: clamp(24px, 3.5vw, 44px); display: flex; }
  .hero-grid.plate-end .hero-draw.plate img { height: 100%; max-height: 520px; width: 100%; object-fit: cover; object-position: 50% 18%; filter: saturate(.82) contrast(1.02) brightness(.96); }
}
@media (max-width: 860px) {
  .hero-grid.plate-end .hero-draw.plate { max-width: none; padding-block: 0 28px; }
  .hero-grid.plate-end .hero-draw.plate img { width: 100%; max-height: 360px; object-fit: cover; object-position: 50% 15%; filter: saturate(.82); }
}

/* waffle: 100 squares under each number */
.schedule .viz { padding-block: 6px 4px; }
.waffle { display: block; width: 100%; max-width: 217px; height: auto; }
.waffle .on { fill: var(--red); }
.waffle .off { fill: var(--rule-strong); opacity: .55; }
html[dir="rtl"] .waffle { transform: scaleX(-1); }
@media (max-width: 899px) { .schedule td.viz { padding-block: 4px 8px; } }

/* the same problem, at three prices */
.stage-row { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 28px; margin-block-start: clamp(28px, 3.5vw, 44px); }
.stage-row .note-close { margin-block-start: 0; align-self: center; }
@media (min-width: 992px) { .stage-row { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: clamp(32px, 4vw, 56px); } }
.stages { margin: 0; }
.stages ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; }
.stages li { position: relative; display: grid; gap: 4px; align-content: start; padding-block-start: 14px; border-block-start: 1px solid var(--rule-strong); }
.stages li:first-child { border-block-start-color: var(--red); }
.stages li + li::before { content: ""; position: absolute; inset-block-start: -6px; inset-inline-start: -20px; border-block: 5.5px solid transparent; border-inline-start: 8px solid var(--graphite); }
.stages .lbl { color: var(--graphite); }
.stages b { font-family: var(--f-serif); font-size: 19px; line-height: 1.25; font-weight: 500; color: var(--ink); }
.stages .see { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.stages .fix { font-size: 15px; line-height: 1.5; color: var(--ink); font-weight: 600; }
.stages .cost { display: block; height: 8px; margin-block-start: 10px; background: var(--rule); }
.stages .cost i { display: block; height: 100%; background: var(--red); }
.stages .c1 i { width: 12%; } .stages .c2 i { width: 48%; } .stages .c3 i { width: 100%; }
.stages figcaption { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; margin-block-start: 12px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 640px) {
  .stages ol { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
  .stages li + li::before { inset-block-start: -16px; inset-inline-start: 0; border-inline: 5.5px solid transparent; border-block-start: 8px solid var(--graphite); border-block-end: 0; }
}

/* four ways: a timeline, not four loose columns */
@media (min-width: 901px) {
  .seq { position: relative; }
  .seq-c::before { content: ""; position: absolute; inset-block-start: -25px; inset-inline-start: 0; width: 9px; height: 9px; background: var(--red); }
  .seq::after { content: ""; position: absolute; inset-block-start: -6px; inset-inline-end: -1px; border-block: 5.5px solid transparent; border-inline-start: 9px solid var(--red); }
}

html[lang="he"] [lang="en"], html[lang="he"] .seq-c p a, html[lang="he"] .link-arrow { white-space: nowrap; }
html[lang="he"] .stages .see, html[lang="he"] .stages .fix { font-size: 15.5px; }

/* Hebrew hero when it carries the portrait */
@media (min-width: 992px) {
  html[lang="he"] .hero-grid.has-plate .hero-tb .tb-main { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  html[lang="he"] .hero-grid.has-plate .hero-tb .tb-main > * { grid-column: 1; }
  html[lang="he"] .hero-grid.has-plate .hero-tb .tb-main > .trust { display: flex; flex-wrap: wrap; column-gap: 12px; border-block-start: 0; }
  html[lang="he"] .hero-grid.has-plate .hero-tb .trust .ti { padding-block: 0; border-block-end: 0; }
  html[lang="he"] .hero-grid.has-plate .hero-tb .trust .sep { display: inline; }
  html[lang="he"] .hero-grid.has-plate .h-display { font-size: clamp(34px, 3.5vw, 50px); max-width: none; }
  html[lang="he"] .hero-grid.has-plate .hero-tb .lede { font-size: 19px; }
  html[lang="he"] .hero-grid.has-plate .hero-tb { display: flex; flex-direction: column; }
  html[lang="he"] .hero-grid.has-plate .hero-tb .doors { border-block-start: 1px solid var(--rule); }
  html[lang="he"] .hero-grid.has-plate .hero-tb .hero-call { border-block-start: 1px solid var(--rule); padding-block: 20px 0; }
}

/* ---------- the page being set: one entrance, once ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-grid { animation: rule-in 1.1s var(--ease) both; }
  .js .hero-tb .tb-main > * { animation: set-in .9s var(--ease) both; }
  .js .hero-tb .tb-main > :nth-child(2) { animation-delay: .12s; }
  .js .hero-tb .tb-main > :nth-child(3) { animation-delay: .22s; }
  .js .doors, .js .hero-call { animation: set-in .9s var(--ease) .3s both; }
}
@keyframes set-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* questions: a disclosure schedule */
.faq { border-block-start: 1px solid var(--rule-strong); }
.faq details { border-block-end: 1px solid var(--rule); }
.faq summary { display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 16px; align-items: center; min-height: 56px; padding: 16px 8px; cursor: pointer; list-style: none; font-size: 17.5px; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); transition: background .2s var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--paper); }
.faq summary i { justify-self: end; color: var(--red); font-size: 14px; transition: transform .3s var(--ease); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq .a { display: grid; gap: 12px; padding: 0 8px 22px; }
.faq .a p { font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 66ch; }
.faq .a strong { color: var(--ink); font-weight: 650; }

@keyframes rule-in { from { border-block-start-color: transparent; } to { border-block-start-color: var(--red); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
