/* =====================================================
   משפחה כלכלית — Editorial Financial Almanac
   Light cream parchment · Hebrew RTL · Frank Ruhl Libre
   ===================================================== */

/* ============================================
   1. DESIGN TOKENS
   ============================================ */
:root {
  /* Surfaces */
  --paper:        #FBF6E9;   /* cream parchment — body bg */
  --paper-2:      #F4EDD9;   /* deeper cream — striped bands */
  --paper-3:      #EFE6CD;   /* deepest cream — borders/notes */
  --white:        #FFFFFF;
  --card:         #FFFFFF;

  /* Ink */
  --ink:          #181B2C;   /* deep navy-black, slightly warm */
  --ink-soft:     #4A4F6B;   /* body copy */
  --ink-mute:     #767B92;   /* meta/labels */

  /* Brand accents */
  --gold:         #B58A2D;   /* brushed brass */
  --gold-soft:    #D9B669;
  --gold-pale:    #F1DFA7;
  --olive:        #4F6437;   /* secondary — editorial richness */
  --plus:         #2F7A33;   /* the positive green */
  --plus-soft:    #BFE0BB;
  --minus:        #C8542A;   /* warm rust — never alarming red */
  --minus-soft:   #F2C5AB;

  /* Lines */
  --rule:         #E2D6B5;
  --rule-strong:  #C4B488;
  --rule-faint:   rgba(24, 27, 44, 0.08);

  /* Shadow */
  --shadow-1:     0 1px 0 rgba(24, 27, 44, .04);
  --shadow-2:     0 6px 24px -12px rgba(24, 27, 44, .18);
  --shadow-3:     0 24px 60px -28px rgba(24, 27, 44, .35);

  /* Type */
  --serif:        'Frank Ruhl Libre', 'David Libre', Georgia, 'Times New Roman', serif;
  --sans:         'Heebo', 'Assistant', 'Arial', system-ui, sans-serif;
  --mono:         ui-monospace, 'SF Mono', 'Cascadia Code', Consolas, monospace;

  /* Layout */
  --container:    1180px;
  --container-narrow: 880px;
  --radius-sm:    4px;
  --radius:       8px;
  --radius-lg:    14px;

  /* Header heights */
  --utility-h:    36px;
  --header-h:     86px;
}

/* ============================================
   2. RESET / BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--utility-h) + var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Subtle paper grain */
  background-image:
    radial-gradient(circle at 25% 25%, rgba(181, 138, 45, 0.025) 0px, transparent 60%),
    radial-gradient(circle at 75% 75%, rgba(79, 100, 55, 0.022) 0px, transparent 65%);
  background-attachment: fixed;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color .18s ease;
}
a:hover { color: var(--gold); }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .55em;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.005em;
}

p { margin: 0 0 1em; }

ul, ol { padding-inline-start: 1.5em; margin: 0 0 1em; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}
button { cursor: pointer; border: 0; background: none; padding: 0; }

em, i { font-style: italic; }
u { text-decoration: none; border-bottom: 2px solid var(--gold-soft); padding-bottom: 1px; }

/* Selection */
::selection { background: var(--gold-pale); color: var(--ink); }

/* Sr-only / Skip link */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  inset-inline-end: 1rem; top: 1rem;
  padding: .75rem 1.25rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  transform: translateY(-200%);
  transition: transform .2s;
  z-index: 1000;
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); color: var(--gold-soft); }

/* Generic icon */
.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; fill: none; stroke: currentColor; stroke-width: 1.8; flex-shrink: 0; }

/* ============================================
   3. TYPOGRAPHY UTILITIES
   ============================================ */
.display,
.display-xl {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.012em;
  margin: 0 0 .35em;
}
.display    { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.display-xl { font-size: clamp(3rem, 8vw, 6.5rem); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--ink-mute);
  text-transform: none;
  margin-bottom: 1.25rem;
}
.kicker--gold { color: var(--gold); }
.kicker__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  background: var(--gold);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  border-radius: 50%;
  font-style: normal;
}

.section-head {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 760px;
  margin-inline: auto;
}
.section-head .kicker { justify-content: center; }
.section-head__lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-top: .5rem;
}

.section-head--two,
.section-head--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  text-align: start;
  max-width: 100%;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}
.section-head--two .kicker,
.section-head--split .kicker { justify-content: flex-start; }
.section-head__aside {
  max-width: 380px;
  font-size: .98rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.7;
}
.section-head__aside em { color: var(--ink); font-style: italic; }

@media (max-width: 720px) {
  .section-head--two,
  .section-head--split { flex-direction: column; align-items: stretch; }
}

/* ============================================
   4. LAYOUT HELPERS
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.section {
  padding: clamp(3rem, 7vw, 6rem) 0;
}
.section--gray { background: var(--paper-2); }

/* ============================================
   5. BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .85em 1.6em;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  line-height: 1.1;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  cursor: pointer;
  border: 0;
  white-space: nowrap;
}

.btn--primary,
.btn--success {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 1px 0 rgba(0,0,0,.15);
}
.btn--primary:hover,
.btn--success:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}

.btn--gold {
  background: var(--gold);
  color: var(--ink);
}
.btn--gold:hover {
  background: var(--ink);
  color: var(--gold-soft);
  transform: translateY(-1px);
}

.btn--dark {
  background: var(--ink);
  color: var(--paper);
}
.btn--dark:hover {
  background: var(--gold);
  color: var(--ink);
}

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.btn--outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--lg {
  padding: 1.05em 2em;
  font-size: 1.05rem;
}

.btn-arrow { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .btn-arrow { transform: translateX(4px); } /* RTL: arrow points left, slides left */

/* ============================================
   6. LINKS & SMALL ELEMENTS
   ============================================ */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  color: var(--gold);
  font-weight: 600;
  font-size: .98rem;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.link-arrow:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.link-arrow .ic { width: 16px; height: 16px; transition: transform .18s ease; }
.link-arrow:hover .ic { transform: translateX(-3px); }
.link-arrow--lg { font-size: 1.05rem; }

/* The plus glyph used inside hero title and elsewhere */
.plus-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: .9em; height: .9em;
  margin: 0 .04em;
  background: var(--gold);
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 900;
  font-style: normal;
  border-radius: 50%;
  vertical-align: 0.06em;
  font-size: .7em;
  line-height: 1;
  box-shadow: 0 4px 14px -4px rgba(181, 138, 45, .55);
}

/* ============================================
   7. UTILITY STRIPE (top)
   ============================================ */
.utility-stripe {
  background: var(--ink);
  color: var(--paper);
  font-size: .82rem;
  height: var(--utility-h);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 50;
}
.utility-stripe__inner {
  display: flex;
  align-items: center;
  gap: .9rem;
  width: 100%;
  font-weight: 500;
}
.utility-stripe a { color: var(--paper); }
.utility-stripe a:hover { color: var(--gold-soft); }

.utility-stripe__item {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  white-space: nowrap;
}
.utility-stripe__item .ic { width: 14px; height: 14px; opacity: .85; }

.utility-tag {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  background: var(--gold);
  color: var(--ink);
  padding: .2em .65em;
  border-radius: 999px;
  font-weight: 700;
  font-size: .78rem;
  white-space: nowrap;
}
.utility-tag .ic { width: 12px; height: 12px; stroke-width: 2.4; }

.utility-stripe__sep { opacity: .35; }
.utility-stripe__spacer { flex: 1; }

@media (max-width: 760px) {
  .utility-stripe { height: auto; padding: .35rem 0; }
  .utility-stripe__inner { flex-wrap: wrap; gap: .35rem .7rem; font-size: .75rem; }
  .utility-stripe__hours { display: none; }
  .utility-stripe__email { display: none; }
}

/* ============================================
   8. MASTHEAD (HEADER)
   ============================================ */
.site-header,
.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
}
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -3px 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-soft) 30%, var(--gold) 50%, var(--gold-soft) 70%, transparent);
  opacity: .65;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.site-logo,
.masthead__brand {
  display: block;
  flex-shrink: 0;
}
.site-logo img,
.masthead__brand img {
  height: 56px;
  width: auto;
}

.main-nav,
.masthead__nav { display: flex; align-items: center; }

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: .15rem;
  align-items: center;
}

.nav-list > li { position: relative; }

.nav-list > li > a,
.nav-list > li > button {
  display: inline-flex;
  align-items: center;
  padding: .65rem .9rem;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  font-size: .95rem;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: color .2s;
  position: relative;
}

.nav-list > li > a::after {
  content: "";
  position: absolute;
  bottom: .35rem;
  inset-inline-start: .9rem;
  inset-inline-end: .9rem;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.nav-list > li > a:hover::after { transform: scaleX(1); }
.nav-list > li > a:hover,
.nav-list > li > button:hover { color: var(--gold); }

.nav-list > li > button::after {
  content: "▾";
  margin-inline-start: .4em;
  font-size: .7em;
  opacity: .6;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  min-width: 270px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-3);
  padding: .5rem 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 200;
}
.nav-list > li.has-dropdown.is-open .nav-dropdown,
.nav-list > li.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: .65rem 1.1rem;
  font-size: .95rem;
  color: var(--ink);
  border-inline-end: 2px solid transparent;
}
.nav-dropdown a:hover {
  background: var(--paper);
  color: var(--gold);
  border-inline-end-color: var(--gold);
}

.masthead__nav-cta-li { margin-inline-start: .4rem; }
.masthead__nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--ink) !important;
  color: var(--paper) !important;
  padding: .55rem 1.1rem !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: .92rem;
  transition: background .2s, color .2s, transform .15s;
}
.masthead__nav-cta::after { display: none !important; }
.masthead__nav-cta:hover {
  background: var(--gold) !important;
  color: var(--ink) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  border-radius: 2px;
  transition: .25s;
}

/* Mobile nav */
@media (max-width: 1024px) {
  .nav-toggle { display: block; }

  .main-nav,
  .masthead__nav {
    position: fixed;
    top: 0;
    inset-inline-end: -100%;
    width: min(340px, 88vw);
    height: 100vh;
    background: var(--paper);
    box-shadow: -4px 0 30px rgba(0,0,0,.18);
    padding: 5rem 1rem 2rem;
    overflow-y: auto;
    transition: inset-inline-end .3s ease;
    z-index: 99;
    border-inline-start: 4px solid var(--gold);
  }
  .main-nav.is-open,
  .masthead__nav.is-open { inset-inline-end: 0; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .nav-list > li > a,
  .nav-list > li > button {
    padding: 1rem .75rem;
    border-bottom: 1px solid var(--rule);
    width: 100%;
    text-align: start;
    font-size: 1.02rem;
  }
  .nav-list > li > a::after { display: none; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    background: var(--paper-2);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    margin: 0;
  }
  .nav-list > li.has-dropdown.is-open .nav-dropdown { max-height: 800px; }
  .nav-dropdown a { padding: .8rem 1.5rem; border-bottom: 1px solid var(--rule); }

  .masthead__nav-cta-li { margin-top: 1rem; }
  .masthead__nav-cta { width: 100%; justify-content: center; }

  body.menu-open { overflow: hidden; }
  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(24,27,44,.55);
    z-index: 98;
  }
}

/* ============================================
   9. HERO SPREAD
   ============================================ */
.hero-spread {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0 0;
  overflow: hidden;
}
.hero-spread::before {
  content: "";
  position: absolute;
  top: -10%;
  inset-inline-end: -8%;
  width: 460px; height: 460px;
  background: radial-gradient(circle, var(--gold-pale) 0%, transparent 65%);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}
.hero-spread::after {
  content: "+";
  position: absolute;
  top: 12%;
  inset-inline-start: 6%;
  font-family: var(--serif);
  font-size: 22rem;
  line-height: 1;
  color: var(--gold);
  opacity: .045;
  font-weight: 900;
  pointer-events: none;
  z-index: 0;
}

.hero-spread__grid {
  display: grid;
  grid-template-columns: 1.15fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  position: relative;
  z-index: 1;
}

@media (max-width: 920px) {
  .hero-spread__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-spread::after { font-size: 14rem; opacity: .03; }
}

.hero-spread__lead { padding-top: clamp(1rem, 3vw, 2rem); }

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 1.4rem;
  font-weight: 700;
}
.hero-title__plus {
  display: inline-block;
  color: var(--ink);
  font-style: italic;
  font-weight: 900;
  position: relative;
}
.hero-title__plus .plus-glyph { font-size: .65em; vertical-align: 0.12em; margin: 0 .02em; }
.hero-title__sub {
  display: block;
  margin-top: 1.2rem;
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 400;
  font-style: normal;
  color: var(--ink-soft);
  line-height: 1.5;
  letter-spacing: -0.005em;
  max-width: 32ch;
}

.hero-deck {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 48ch;
  margin: 0 0 2rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-trust {
  list-style: none;
  padding: 1.25rem 0 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.5rem;
  border-top: 1px dashed var(--rule);
  font-size: .9rem;
  color: var(--ink-soft);
}
.hero-trust li { display: inline-flex; align-items: center; gap: .4em; }
.hero-trust .ic { width: 16px; height: 16px; color: var(--plus); stroke-width: 2.6; }

/* Ledger card — the hero centerpiece */
.hero-ledger {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 1rem;
}
.ledger {
  position: relative;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.5rem;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-3);
  transform: rotate(-1.2deg);
  transition: transform .3s ease;
}
.ledger:hover { transform: rotate(0deg) translateY(-4px); }
.ledger::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px dashed var(--rule);
  border-radius: calc(var(--radius-lg) + 6px);
  pointer-events: none;
  opacity: .7;
}

.ledger__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: .75rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--ink-mute);
  text-transform: none;
}
.ledger__seal {
  background: var(--ink);
  color: var(--paper);
  padding: .25em .65em;
  border-radius: 4px;
  font-weight: 700;
}
.ledger__name { font-weight: 600; }

.ledger__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: .6rem;
  font-family: var(--serif);
  margin-top: .5rem;
}
.ledger__label {
  font-size: 1.05rem;
  color: var(--ink-mute);
  font-weight: 500;
}
.ledger__leader {
  border-bottom: 2px dotted var(--rule-strong);
  margin-bottom: .45em;
  height: 0;
}
.ledger__value {
  font-size: clamp(1.7rem, 3.6vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  font-feature-settings: 'lnum';
  direction: ltr;
}
.ledger__row--bad .ledger__value { color: var(--minus); }
.ledger__row--good .ledger__value { color: var(--plus); }

.ledger__note {
  font-size: .85rem;
  margin-top: .15rem;
  padding-inline-end: .25rem;
  font-family: var(--sans);
  font-weight: 500;
}
.ledger__note--bad  { color: var(--minus); }
.ledger__note--good { color: var(--plus); }

.ledger__divider {
  position: relative;
  text-align: center;
  margin: 1.2rem 0 .8rem;
}
.ledger__divider::before,
.ledger__divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 5.5rem);
  height: 1px;
  background: var(--rule);
}
.ledger__divider::before { inset-inline-end: 0; }
.ledger__divider::after  { inset-inline-start: 0; }
.ledger__divider span {
  display: inline-block;
  padding: .25em .7em;
  background: var(--paper-2);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: .75rem;
  letter-spacing: .08em;
  color: var(--ink-mute);
  font-weight: 600;
  position: relative;
}

.ledger__quote {
  margin: 1.4rem -.4rem -.5rem;
  padding: 1rem 1.1rem;
  background: var(--paper);
  border-radius: var(--radius);
  position: relative;
  display: flex;
  gap: .65rem;
  align-items: start;
}
.ledger__quote .quote-mark {
  width: 22px; height: 22px;
  color: var(--gold-soft);
  flex-shrink: 0;
  margin-top: .15rem;
}
.ledger__quote p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.45;
}
.ledger__quote strong { font-weight: 900; font-style: normal; }

.ledger-ribbon {
  position: absolute;
  top: -12px;
  inset-inline-start: -12px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: .35em .85em;
  border-radius: var(--radius-sm);
  transform: rotate(-4deg);
  box-shadow: 0 4px 14px -4px rgba(181, 138, 45, .55);
  white-space: nowrap;
}

/* Hero marquee */
.hero-marquee {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  padding: 1.1rem 0;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  display: flex;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-marquee span { flex-shrink: 0; }
.hero-marquee .dot { color: var(--gold); font-weight: 900; }

/* ============================================
   10. QUESTION BAND
   ============================================ */
.question {
  background: var(--paper-2);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  position: relative;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.question__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  position: relative;
}
.question__grid::before {
  content: "";
  position: absolute;
  top: 1rem; bottom: 1rem;
  inset-inline-start: calc(0.85fr - 2.5vw);
  /* This won't actually work — use a simple separator line via background */
  display: none;
}

@media (max-width: 820px) {
  .question__grid { grid-template-columns: 1fr; gap: 2rem; }
}

.question__lead .display-xl {
  font-style: italic;
  letter-spacing: -0.04em;
  color: var(--ink);
  position: relative;
}
.question__lead .display-xl::before {
  content: "+";
  position: absolute;
  top: -1rem;
  inset-inline-start: -.3em;
  font-style: normal;
  font-size: .25em;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0;
}

.question__answer {
  border-inline-end: 2px solid var(--rule);
  padding-inline-end: clamp(1.5rem, 3vw, 2.5rem);
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
@media (max-width: 820px) {
  .question__answer { border-inline-end: 0; border-top: 2px solid var(--rule); padding-inline-end: 0; padding-top: 1.25rem; }
}
.question__pull {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.question__answer em { color: var(--ink); font-style: italic; font-weight: 500; }

/* ============================================
   11. CHAPTERS (services)
   ============================================ */
.chapters {
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.chapters__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 720px) {
  .chapters__grid { grid-template-columns: 1fr; }
}

.chapter {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  overflow: hidden;
}
.chapter::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s ease;
}
.chapter:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--rule-strong);
}
.chapter:hover::before { transform: scaleX(1); }

.chapter__num {
  display: inline-flex;
  align-items: baseline;
  gap: .35em;
  font-family: var(--serif);
  font-size: .85rem;
  letter-spacing: .04em;
  color: var(--ink-mute);
  font-weight: 500;
}
.chapter__num span { font-style: italic; }
.chapter__num strong {
  font-size: 2.4rem;
  color: var(--gold);
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.03em;
}

.chapter__title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  margin: .35rem 0 .25rem;
  letter-spacing: -0.01em;
}
.chapter__body {
  margin: 0 0 .75rem;
  color: var(--ink-soft);
  line-height: 1.7;
  flex: 1;
}
.chapter__link {
  color: var(--ink);
  font-weight: 700;
  font-size: .98rem;
  display: inline-flex;
  align-items: center;
  gap: .35em;
  align-self: start;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s, gap .2s;
}
.chapter__link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
  gap: .55em;
}
.chapter__link .ic { width: 14px; height: 14px; }

/* ============================================
   12. TOOLBOX
   ============================================ */
.toolbox {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.toolbox__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
@media (max-width: 880px) { .toolbox__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .toolbox__grid { grid-template-columns: 1fr; } }

.tool-tile {
  background: var(--white);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  position: relative;
  transition: background .2s, transform .2s;
  text-decoration: none;
  color: inherit;
  min-height: 220px;
}
.tool-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(181, 138, 45, .06));
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.tool-tile:hover {
  background: var(--paper);
  z-index: 2;
}
.tool-tile:hover::after { opacity: 1; }

.tool-tile__num {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 900;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.04em;
  position: absolute;
  top: 1.25rem;
  inset-inline-end: 1.5rem;
  opacity: .85;
}

.tool-tile__ic {
  width: 36px;
  height: 36px;
  color: var(--ink);
  margin-bottom: .5rem;
}

.tool-tile__title {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin: 0 0 .15rem;
  color: var(--ink);
  letter-spacing: -0.005em;
  padding-inline-end: 3rem; /* leave room for the number */
}

.tool-tile p {
  margin: 0 0 1rem;
  font-size: .95rem;
  color: var(--ink-soft);
  line-height: 1.55;
  flex: 1;
}

.tool-tile__go {
  font-weight: 700;
  font-size: .92rem;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: .35em;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
  align-self: start;
  transition: border-color .2s, color .2s, gap .2s;
}
.tool-tile:hover .tool-tile__go {
  color: var(--ink);
  border-bottom-color: var(--ink);
  gap: .55em;
}
.tool-tile__go .ic { width: 14px; height: 14px; }

/* ============================================
   13. NUMBERS BAND
   ============================================ */
.numbers-band {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.numbers-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(181, 138, 45, .18), transparent 55%),
    radial-gradient(circle at 20% 50%, rgba(79, 100, 55, .12), transparent 50%);
  pointer-events: none;
}

.numbers-band__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
@media (max-width: 880px) { .numbers-band__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .numbers-band__grid { grid-template-columns: 1fr; } }

.numbers-band__cell {
  text-align: center;
  padding: 1.25rem;
  border-inline-end: 1px dashed rgba(255,255,255,.18);
}
.numbers-band__cell:last-child { border-inline-end: 0; }
@media (max-width: 880px) {
  .numbers-band__cell:nth-child(2) { border-inline-end: 0; }
  .numbers-band__cell:nth-child(1),
  .numbers-band__cell:nth-child(2) { border-bottom: 1px dashed rgba(255,255,255,.18); padding-bottom: 1.5rem; margin-bottom: .5rem; }
}

.num-big {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--gold-soft);
  line-height: 1;
  margin-bottom: .5rem;
  font-feature-settings: 'lnum';
}
.num-big sup {
  font-size: .55em;
  color: var(--gold);
  vertical-align: super;
  margin-inline-start: .05em;
}
.num-big small {
  display: inline-block;
  font-size: .35em;
  font-weight: 500;
  font-family: var(--sans);
  color: rgba(255,255,255,.6);
  margin-inline-start: .35em;
  letter-spacing: 0;
}
.num-cap {
  display: block;
  font-family: var(--sans);
  font-size: .92rem;
  color: rgba(255,255,255,.78);
  line-height: 1.45;
  max-width: 22ch;
  margin: 0 auto;
}

/* ============================================
   14. VOICES (testimonials)
   ============================================ */
.voices {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.voices__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 960px) { .voices__grid { grid-template-columns: 1fr 1fr; } .voice--hero { grid-column: 1 / -1; } }
@media (max-width: 600px) { .voices__grid { grid-template-columns: 1fr; } }

.voice {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 2rem 1.85rem;
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--serif);
}
.voice::before {
  content: "“";
  position: absolute;
  top: -.65rem;
  inset-inline-end: 1.25rem;
  font-size: 4rem;
  font-family: var(--serif);
  color: var(--gold);
  background: var(--paper);
  padding: 0 .25rem;
  line-height: 1;
  font-style: italic;
}
.voice p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
}
.voice strong { font-weight: 900; }
.voice em { color: var(--gold); font-style: italic; font-weight: 700; }
.voice footer {
  font-family: var(--sans);
  font-size: .82rem;
  color: var(--ink-mute);
  letter-spacing: .02em;
}
.voice footer cite { font-style: normal; }

.voice--hero {
  grid-row: span 2;
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.voice--hero::before { background: var(--ink); color: var(--gold-soft); }
.voice--hero p {
  color: var(--paper);
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  line-height: 1.25;
  font-weight: 500;
}
.voice--hero p em {
  color: var(--gold-soft);
  font-style: italic;
}
.voice--hero p strong { color: var(--paper); }
.voice--hero footer { color: rgba(251, 246, 233, .6); }

@media (max-width: 960px) { .voice--hero { grid-row: auto; } }

.voice--short p { font-size: 1.4rem; }

/* ============================================
   15. APPLICATION (lead form)
   ============================================ */
.application {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.application::before {
  content: "+";
  position: absolute;
  bottom: -4rem;
  inset-inline-end: -2rem;
  font-family: var(--serif);
  font-size: 24rem;
  line-height: 1;
  color: var(--gold);
  opacity: .04;
  font-weight: 900;
  pointer-events: none;
}

.application__frame {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  position: relative;
  box-shadow: var(--shadow-3);
}
.application__frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed var(--rule);
  border-radius: calc(var(--radius-lg) - 4px);
  pointer-events: none;
}

@media (max-width: 880px) {
  .application__frame { grid-template-columns: 1fr; }
}

.application__intro { padding: clamp(.5rem, 2vw, 1rem); }
.application__intro .display { margin-bottom: 1rem; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.15; }
.application__what {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.application__guarantees {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  font-size: .95rem;
  color: var(--ink);
}
.application__guarantees li {
  display: flex;
  align-items: start;
  gap: .55em;
}
.application__guarantees .ic {
  width: 18px; height: 18px;
  color: var(--plus);
  margin-top: .2em;
  stroke-width: 2.4;
  flex-shrink: 0;
}
.application__guarantees strong { font-weight: 700; }

.application__form { padding: clamp(.5rem, 2vw, 1rem); position: relative; }

/* ============================================
   16. FORMS (shared by application + contact page)
   ============================================ */
.lead-form {
  background: transparent;
  color: var(--ink);
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}
.lead-form h3 {
  margin: 0 0 1rem;
  color: var(--ink);
  text-align: start;
  font-family: var(--serif);
}

.form-field {
  margin-bottom: 1.1rem;
  position: relative;
}
.form-field label {
  display: block;
  font-size: .85rem;
  margin-bottom: .35rem;
  color: var(--ink-mute);
  font-weight: 600;
  letter-spacing: .02em;
}
.form-field .optional { color: var(--ink-mute); font-weight: 400; font-size: .85em; }

.form-field input[type=text],
.form-field input[type=tel],
.form-field input[type=email],
.form-field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-field textarea { resize: vertical; min-height: 80px; }

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--paper);
  box-shadow: 0 0 0 4px var(--gold-pale);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--ink-mute); opacity: .55; }

.form-field--required label::after,
.form-field.required label::after {
  content: " *";
  color: var(--minus);
  font-weight: 700;
}

.form-consent {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  font-size: .82rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 1rem 0 1.25rem;
}
.form-consent input { margin-top: .25em; flex-shrink: 0; }
.form-consent a { color: var(--gold); text-decoration: underline; }
.form-consent a:hover { color: var(--ink); }

.form-honeypot {
  position: absolute;
  inset-inline-start: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-submit { width: 100%; }

.form-foot {
  margin: .85rem 0 0;
  font-size: .85rem;
  color: var(--ink-mute);
  text-align: center;
}
.form-foot__phone {
  color: var(--ink);
  font-weight: 700;
  border-bottom: 1.5px solid var(--ink);
  direction: ltr;
  display: inline-block;
}
.form-foot__phone:hover { color: var(--gold); border-bottom-color: var(--gold); }

.form-message {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-weight: 500;
  font-size: .95rem;
}
.form-message--success { background: var(--plus-soft); color: #1a4d1c; border: 1px solid var(--plus); }
.form-message--error   { background: var(--minus-soft); color: #6e2810; border: 1px solid var(--minus); }

/* ============================================
   17. READING ROOM (articles)
   ============================================ */
.reading-room {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.reading-room__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 960px) { .reading-room__grid { grid-template-columns: 1fr 1fr; } .rr-card--feature { grid-column: 1 / -1; } }
@media (max-width: 580px) { .reading-room__grid { grid-template-columns: 1fr; } }

.rr-card,
.article-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.65rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
}
.rr-card:hover,
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--rule-strong);
}

.rr-card__cat {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--gold);
  font-weight: 700;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: .35em;
}
.rr-card__cat::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: var(--gold);
}

.rr-card h3,
.article-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin: .25rem 0 .5rem;
  line-height: 1.3;
}
.rr-card h3 a,
.article-card h3 a { color: var(--ink); }
.rr-card h3 a:hover,
.article-card h3 a:hover { color: var(--gold); }

.rr-card p,
.article-card__excerpt {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.6;
  flex: 1;
}

.rr-card__more,
.article-card__more {
  color: var(--ink);
  font-weight: 700;
  font-size: .92rem;
  display: inline-flex;
  align-items: center;
  gap: .35em;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px;
  align-self: start;
  transition: color .2s, border-color .2s, gap .2s;
}
.rr-card__more:hover,
.article-card__more:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
  gap: .5em;
}
.rr-card__more .ic { width: 14px; height: 14px; }

.rr-card--feature {
  grid-row: span 2;
  background: var(--paper-2);
  border-color: var(--rule-strong);
  padding: 2.25rem 2rem;
}
.rr-card--feature h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  line-height: 1.2;
}
.rr-card--feature p {
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ============================================
   18. COLOPHON (FOOTER)
   ============================================ */
.site-footer,
.colophon {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
  margin-top: 0;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--gold);
  opacity: .9;
}

.colophon__grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 1000px) {
  .colophon__grid { grid-template-columns: repeat(3, 1fr); }
  .colophon__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .colophon__grid { grid-template-columns: repeat(2, 1fr); }
}

.colophon__brand { display: flex; flex-direction: column; gap: .85rem; align-items: start; }
.colophon__logo-link { display: block; }
.colophon__logo {
  height: 70px; width: auto;
  filter: brightness(0) invert(1) sepia(0.18) saturate(180%) hue-rotate(2deg);
  /* Original logo is dark; invert it for the dark footer with a slight warm tint */
}
.colophon__tagline {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: rgba(251, 246, 233, .75);
  line-height: 1.5;
  max-width: 28ch;
}
.colophon__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  color: var(--paper);
  transition: background .2s, color .2s;
  margin-top: .35rem;
}
.colophon__social:hover { background: var(--gold); color: var(--ink); }

.colophon__col h3 {
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 1.05rem;
  margin: 0 0 .85rem;
  font-weight: 700;
  position: relative;
  padding-bottom: .5rem;
}
.colophon__col h3::after {
  content: "";
  position: absolute;
  bottom: 0; inset-inline-end: 0;
  width: 32px; height: 1.5px;
  background: var(--gold);
}
.colophon__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.colophon__col li { margin-bottom: .45rem; }
.colophon__col a {
  color: rgba(251, 246, 233, .82);
  font-size: .92rem;
  transition: color .2s;
}
.colophon__col a:hover { color: var(--gold-soft); }

.colophon__addr,
.colophon__hours {
  margin: 0 0 .35rem;
  font-size: .92rem;
  color: rgba(251, 246, 233, .82);
}
.colophon__phone {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold-soft);
  direction: ltr;
  margin: .25rem 0 .35rem;
  letter-spacing: -0.01em;
}
.colophon__phone:hover { color: var(--gold); }
.colophon__email {
  display: block;
  font-size: .9rem;
  color: rgba(251, 246, 233, .82);
  margin-bottom: .85rem;
  word-break: break-all;
}
.colophon__hours {
  font-size: .82rem;
  color: rgba(251, 246, 233, .55);
  letter-spacing: .04em;
}

.colophon__rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0 1.25rem;
  position: relative;
  justify-content: center;
}
.colophon__rule::before,
.colophon__rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(251, 246, 233, .12);
}
.colophon__rule span {
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.4rem;
  line-height: 1;
}

.colophon__copy,
.site-footer .copy {
  text-align: center;
  font-size: .85rem;
  color: rgba(251, 246, 233, .55);
  padding: 0 0 2rem;
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: .02em;
}

/* ============================================
   19. ARTICLES LIST PAGE COMPATIBILITY
   ============================================ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.article-card__thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--paper-2);
  margin: -1.75rem -1.65rem 1rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.article-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.article-card:hover .article-card__thumb img { transform: scale(1.05); }
.article-card__body { display: flex; flex-direction: column; flex: 1; }

/* ============================================
   20. TOOL CARD (homepage simple — for any other page)
   ============================================ */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 2rem;
}
.tool-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.tool-card .tool-icon { font-size: 2.5rem; margin-bottom: .85rem; color: var(--gold); }
.tool-card h3 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: 1rem; }
.tool-card .tool-link { margin-top: auto; color: var(--gold); font-weight: 700; }

/* ============================================
   21. TESTIMONIALS LEGACY (other pages)
   ============================================ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.testimonial {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  font-family: var(--serif);
  position: relative;
}
.testimonial p { margin: 0; font-size: 1rem; color: var(--ink); line-height: 1.55; }

/* ============================================
   22. MISSION (legacy other pages)
   ============================================ */
.mission {
  background: var(--gold);
  color: var(--ink);
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 1rem;
  font-family: var(--serif);
}
.mission h2 {
  color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  max-width: 800px;
  margin: 0 auto 1rem;
}
.mission p {
  max-width: 820px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
  font-style: italic;
}

/* ============================================
   23. ANIMATIONS — page-load reveal
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .hero-spread__lead > *,
  .hero-ledger,
  .ledger-ribbon,
  .hero-marquee {
    opacity: 0;
    transform: translateY(12px);
    animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards;
  }
  .hero-spread__lead .kicker      { animation-delay: .05s; }
  .hero-spread__lead .hero-title  { animation-delay: .12s; }
  .hero-spread__lead .hero-deck   { animation-delay: .22s; }
  .hero-spread__lead .hero-actions{ animation-delay: .3s;  }
  .hero-spread__lead .hero-trust  { animation-delay: .38s; }
  .hero-ledger                    { animation-delay: .35s; }
  .ledger-ribbon                  { animation-delay: .55s; }
  .hero-marquee                   { animation-delay: .55s; }

  .hero-marquee {
    animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards .55s,
               marquee 38s linear infinite 1.2s;
  }
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}

/* Focus styles (accessibility) */
:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 3px;
  border-radius: 3px;
}
.btn:focus-visible {
  outline-offset: 4px;
}

/* ============================================
   24. UTIL
   ============================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.ltr  { direction: ltr; display: inline-block; unicode-bidi: embed; }

/* ════════════════════════════════════════════════════
   ת״י 5568 — נגישות (WCAG 2.0 AA)
   ════════════════════════════════════════════════════ */

/* sr-only — טקסט נגיש למסך בלבד */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Range inputs — focus גלוי */
input[type="range"]:focus-visible {
  outline: 3px solid var(--clay, #C8623F);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Windows High Contrast Mode — תמיכה */
@media (forced-colors: active) {
  .form-field input:focus,
  .form-field textarea:focus,
  .sg-text-input:focus {
    outline: 2px solid ButtonText !important;
    outline-offset: 1px;
  }
  input[type="range"]:focus {
    outline: 2px solid ButtonText !important;
    outline-offset: 2px;
  }
  .btn { border: 1px solid ButtonText; }
  .skip-link:focus { forced-color-adjust: none; }
}

/* Reduced motion — מבטל אנימציות כשהמשתמש ביקש */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
