/* ============================================================================
   tokens.css - the whole design system in one file.
   Copy into the project, then fill the four blocks marked FROM DIRECTION
   with the values from the chosen directions/*.md file. Change nothing else.
   ============================================================================ */

:root {
  /* ---- FROM DIRECTION: colour -------------------------------------------
     Every colour on the site comes from here. If a hex appears anywhere else
     in the project, the system has already broken. */
  --bg:            #fbfaf8;
  --surface:       #f2efea;
  --surface-2:     #e4dfd7;
  --ink:           #16150f;
  --ink-soft:      #5a564c;
  --accent:        #16150f;
  --accent-ink:    #fbfaf8;
  --accent-soft:   #eae5dc;

  /* ---- FROM DIRECTION: type --------------------------------------------- */
  --font-display:  "Frank Ruhl Libre", "David Libre", Georgia, serif;
  --font-body:     "Assistant", "Heebo", system-ui, sans-serif;
  --tracking-display: -0.025em;
  --weight-display: 600;

  /* ---- FROM DIRECTION: shape -------------------------------------------- */
  --radius-sm:     5px;
  --radius-md:     8px;
  --radius-lg:     14px;
  --border:        1px solid color-mix(in oklab, var(--ink) 12%, transparent);

  /* ---- FROM DIRECTION: motion ------------------------------------------- */
  --ease:          cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast:      160ms;
  --dur:           280ms;
  --dur-slow:      600ms;

  /* ---- FIXED: do not edit per project ----------------------------------- */

  /* Type scale. Fluid, so there is no tablet dead zone and no mobile
     overflow. min is the 390px value, max is the 1440px value. */
  --step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.89rem);
  --step-0:  clamp(1.00rem, 0.95rem + 0.25vw, 1.13rem);
  --step-1:  clamp(1.20rem, 1.10rem + 0.50vw, 1.50rem);
  --step-2:  clamp(1.44rem, 1.25rem + 0.95vw, 2.00rem);
  --step-3:  clamp(1.73rem, 1.40rem + 1.65vw, 2.66rem);
  --step-4:  clamp(2.07rem, 1.55rem + 2.60vw, 3.55rem);
  --step-5:  clamp(2.49rem, 1.65rem + 4.20vw, 4.74rem);

  /* Spacing. One scale, used everywhere. */
  --space-1: 0.25rem;  --space-2: 0.5rem;   --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.5rem;   --space-6: 2rem;
  --space-7: 3rem;     --space-8: 4rem;     --space-9: 6rem;
  --space-10: 8rem;

  /* Section rhythm. Deliberately two values, not one: alternating them is
     what stops every section feeling identically tall. */
  --section-y:       clamp(var(--space-8), 10vw, var(--space-10));
  --section-y-tight: clamp(var(--space-7), 6vw, var(--space-8));

  --measure: 65ch;            /* readable line length */
  --container: 1200px;
  --gutter: clamp(1rem, 5vw, 4rem);

  /* Seam system - see blocks/seams.css */
  --seam-h: 100px;
  --seam-h-sm: 44px;
  --panel-bleed: 6vw;

  /* Elevation. Tinted with the ink colour, never pure black, or panels look
     like they are floating on a different site. */
  --shadow-1: 0 1px 2px color-mix(in oklab, var(--ink) 8%, transparent);
  --shadow-2: 0 4px 16px color-mix(in oklab, var(--ink) 10%, transparent);
  --shadow-3: 0 18px 48px color-mix(in oklab, var(--ink) 14%, transparent);

  --z-header: 100;
  --z-seam: 2;
  --z-overlap: 4;
  --z-float: 200;
  --z-menu: 300;   /* full-screen mobile menu sits above floats */
}

/* Dark direction? Set these on :root instead of the light values above.
   Do not define a colour only inside a media query - a viewer with no
   preference then gets an undefined token. */

/* ============================================================================
   base.css - the foundation. Copy in as-is. Requires tokens.css first.

   Everything here exists because it is a bug that ships otherwise:
   RTL correctness, focus visibility, touch targets, reduced motion,
   horizontal-overflow prevention, and text that stays readable over images.
   Do not "clean up" rules here without knowing which bug each one prevents.
   ============================================================================ */

*, *::before, *::after { box-sizing: border-box; }

html {
  /* clip not hidden: hidden silently kills position:sticky anywhere on the
     page. This single line prevents the most common mobile defect. */
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  letter-spacing: var(--tracking-display);
  line-height: 1.1;
  margin: 0 0 var(--space-4);
  /* Stops a two-word heading dropping one word alone on the last line. */
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 var(--space-4); max-width: var(--measure); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

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

/* ---- Layout primitives ---------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: var(--section-y-tight); }

/* Split layout. Logical properties throughout, so RTL mirrors automatically:
   .split__content lands on the right in RTL and the left in LTR with no
   extra CSS. This is the fix for the most common RTL bug there is. */
.split {
  display: grid;
  gap: var(--space-7);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  /* Content first in source order = inline-start = right in RTL. Correct by
     construction. To flip a specific instance, use .split--media-first. */
  .split--media-first .split__content { order: 2; }
  .split--media-first .split__media   { order: 1; }
}

.stack > * + * { margin-block-start: var(--flow, var(--space-4)); }

/* ---- Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  /* 44px minimum touch target, enforced by min-height not by padding luck. */
  min-height: 44px;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: color-mix(in oklab, var(--accent) 85%, var(--ink)); }
.btn--secondary { background: transparent; color: var(--ink); border-color: color-mix(in oklab, var(--ink) 25%, transparent); }
.btn--secondary:hover { border-color: var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }

/* Directional icons inside buttons flip in RTL; meaning-fixed icons
   (phone, search, play, social logos) must carry .icon--fixed and never flip. */
[dir="rtl"] .btn .icon--dir { transform: scaleX(-1); }
.icon--fixed { transform: none !important; }

/* ---- Focus ---------------------------------------------------------------- */

/* :focus-visible only, so a mouse click does not leave a ring, but every
   keyboard user always sees one. Never remove this without a replacement. */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  inset-inline-start: var(--space-4);
  top: -100%;
  z-index: 999;
  padding: var(--space-3) var(--space-4);
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--space-4); }

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

/* ---- Text over imagery ---------------------------------------------------- */

/* A hero headline over a photo fails contrast at some breakpoint unless the
   scrim is part of the component. This is that scrim - keep it. */
.media-scrim { position: relative; isolation: isolate; }
.media-scrim > img,
.media-scrim > video,
.media-scrim > picture { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
/* <picture> is an inline wrapper - the img inside it needs the cover, too. */
.media-scrim > img,
.media-scrim > video,
.media-scrim > picture > img { object-fit: cover; width: 100%; height: 100%; }
.media-scrim::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(
    to top,
    color-mix(in oklab, var(--ink) 78%, transparent) 0%,
    color-mix(in oklab, var(--ink) 45%, transparent) 45%,
    color-mix(in oklab, var(--ink) 20%, transparent) 100%
  );
}
.media-scrim, .media-scrim :is(h1,h2,h3,p) { color: #fff; }

/* ---- Numbers and Latin inside RTL ---------------------------------------- */

/* Phone numbers, prices and Latin brand names stay LTR inside Hebrew text.
   Without this a phone number renders with its parts reordered. */
.ltr-isolate { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ---- Motion --------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* One global switch. Any animation added later is already covered. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---- Header --------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-block-end: var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: 68px;
}
.site-header__logo img, .site-header__logo svg { height: 40px; width: auto; }

/* ---- Mobile menu: full screen, always ------------------------------------- */

/* The partial dropdown is the single most common mobile defect: a panel that
   covers 60% of the screen while the page and any sticky bar stay visible
   around it. inset:0 + 100dvh makes that impossible. */
.nav-toggle { display: none; }
.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  z-index: var(--z-menu);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--gutter);
  /* Respect the notch and the home indicator. */
  padding-block: max(var(--gutter), env(safe-area-inset-top))
                 max(var(--gutter), env(safe-area-inset-bottom));
  overflow-y: auto;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform var(--dur) var(--ease), visibility var(--dur);
}
.mobile-menu[data-open="true"] { transform: none; visibility: visible; }
.mobile-menu a { font-size: var(--step-2); text-decoration: none; color: var(--ink); padding-block: var(--space-3); }
.mobile-menu a.btn--primary { color: var(--accent-ink); }

/* While the menu is open: lock scroll, and hide every floating element so
   nothing can sit on top of the menu. */
body[data-menu-open="true"] { overflow: hidden; }
body[data-menu-open="true"] :is(.sticky-bar, .a11y-fab) { visibility: hidden; }

@media (min-width: 900px) { .mobile-menu { display: none; } }
@media (max-width: 899px) { .nav-toggle { display: inline-flex; } .site-nav { display: none; } }

/* ---- Sticky mobile conversion bar ----------------------------------------- */

.sticky-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: var(--z-float);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  background: var(--accent);
  padding-block-end: env(safe-area-inset-bottom);
}
.sticky-bar a {
  min-height: 52px;
  display: flex; align-items: center; justify-content: center; gap: var(--space-2);
  color: var(--accent-ink); text-decoration: none; font-weight: 600;
}
@media (min-width: 900px) { .sticky-bar { display: none; } }
/* Stops the bar covering the last section's content. */
@media (max-width: 899px) { body:has(.sticky-bar) { padding-block-end: 52px; } }

/* ---- Forms ---------------------------------------------------------------- */

.field { display: grid; gap: var(--space-2); margin-block-end: var(--space-4); }
.field label { font-weight: 600; font-size: var(--step--1); }
.field input, .field textarea, .field select {
  font: inherit;
  /* 16px minimum on mobile or iOS zooms the page on focus. */
  font-size: max(16px, var(--step-0));
  padding: var(--space-3);
  min-height: 44px;
  border: 1px solid color-mix(in oklab, var(--ink) 22%, transparent);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  width: 100%;
}
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--accent); }
/* Errors carry an icon or text, never colour alone. */
.field[data-invalid="true"] input { border-color: #b91c1c; }
.field__error { color: #b91c1c; font-size: var(--step--1); }
.field__error::before { content: "! "; font-weight: 700; }

/* ---- Accessibility ---------------------------------------------------------

   The floating trigger and its panel live entirely in the a11y kit
   (a11y/a11y.css + a11y/a11y.js), which mounts itself. Nothing here styles
   them, so the icon is identical on every site and cannot drift. The only
   thing a project changes is colour, via the tokens the kit already reads
   (--accent / --accent-ink / --bg / --ink).

   The one rule kept here: hide the trigger while the mobile menu is open,
   because that is this shell's concern, not the kit's. See the rule above.
   --------------------------------------------------------------------------- */


/* ---------------------------------------------------------------------------
   .cards - card rows that never leave a hole.
   A 3-column grid with 5 services renders an empty fourth tile; that shipped.
   Flex-wrap with a centred last row means any count looks deliberate.
   --------------------------------------------------------------------------- */
.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-5); }
.cards > * { flex: 1 1 260px; max-width: 420px; }
/* Full-width rows stay left-aligned when the count divides evenly anyway. */
.cards--start { justify-content: flex-start; }

/* Editorial Restraint: warm paper, ink, rules, and one quiet olive accent. */
:root { --olive: #66705d; --olive-soft:#e5e8df; --paper-deep:#ebe5dc; }
body { background: var(--bg); }
a { color: inherit; text-underline-offset: .18em; }
.site-header { border-color: rgba(22,21,15,.13); }
.site-header__logo img { height: 42px; width: auto; object-fit: contain; }
.site-nav a { font-size: .94rem; text-decoration: none; color: var(--ink-soft); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.header-actions { display:flex; align-items:center; gap: .7rem; }
.header-actions .btn { min-height: 40px; padding-inline: 1rem; }
.hero { position: relative; min-height: min(760px, 78vh); display:grid; align-items:end; overflow:hidden; isolation:isolate; background:var(--ink); }
.hero > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; }
.hero::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg, rgba(22,21,15,.22), rgba(22,21,15,.06) 46%, rgba(22,21,15,.08)); }
.hero__content { padding-block: clamp(6rem, 14vw, 11rem) clamp(3.5rem, 7vw, 6rem); max-width: 720px; margin-inline-end:auto; margin-inline-start:0; }
.hero h1, .hero p, .hero .eyebrow { color:#fff; }
.hero h1 { font-size:clamp(2.7rem, 5.5vw, 5.6rem); max-width: 13ch; }
.hero p { color: rgba(255,255,255,.86); max-width: 50ch; font-size: var(--step-1); }
.eyebrow { display:inline-flex; gap:.55rem; align-items:center; margin-bottom:1rem; font-size:.82rem; font-weight:700; letter-spacing:.08em; }
.eyebrow::before { content:""; display:block; width:34px; height:1px; background:currentColor; }
.hero__actions, .actions { display:flex; flex-wrap:wrap; gap:.75rem; align-items:center; margin-top:1.8rem; }
.hero__actions .btn--secondary { border-color:rgba(255,255,255,.55); color:#fff; }
.micro-trust { display:flex; flex-wrap:wrap; gap:.8rem 1.3rem; margin-top:1.5rem; font-size:.92rem; color:rgba(255,255,255,.82); }
.section--paper { background:var(--surface); }
.section--ink { background:var(--ink); color:#fff; }
.section--ink p, .section--ink .muted { color:rgba(255,255,255,.72); }
.section-head { display:grid; grid-template-columns:minmax(0, .85fr) minmax(0, 1.15fr); gap:clamp(2rem, 8vw, 9rem); align-items:end; margin-bottom: clamp(2rem, 5vw, 4rem); }
.section-head h2 { max-width: 12ch; }
.section-head p { color:var(--ink-soft); }
.rule { border-block-start:1px solid rgba(22,21,15,.18); }
.stat-row { display:grid; grid-template-columns:repeat(4,1fr); border-block:1px solid rgba(22,21,15,.18); }
.stat { padding:1.2rem 1rem 1.2rem 0; border-inline-start:1px solid rgba(22,21,15,.15); }
.stat:first-child { border-inline-start:0; }
.stat strong { display:block; font: var(--weight-display) var(--step-2)/1.1 var(--font-display); }
.stat span { display:block; color:var(--ink-soft); font-size:.93rem; margin-top:.25rem; }
.split-feature { display:grid; grid-template-columns: minmax(0, .95fr) minmax(0,1.05fr); gap:clamp(2rem,8vw,7rem); align-items:center; }
.split-feature--reverse .feature-copy { order:2; }
.feature-media { overflow:hidden; min-height:360px; background:var(--surface-2); }
.feature-media img { width:100%; height:100%; min-height:360px; object-fit:cover; }
.feature-copy h2 { max-width: 12ch; }
.feature-copy p { color:var(--ink-soft); }
.service-list { border-block:1px solid rgba(22,21,15,.16); }
.service-row { display:grid; grid-template-columns: 1.1fr 2fr auto; gap:2rem; align-items:center; padding:1.35rem 0; border-block-end:1px solid rgba(22,21,15,.13); }
.service-row:last-child { border-block-end:0; }
.service-row h3 { margin:0; font-size:var(--step-1); }
.service-row p { margin:0; color:var(--ink-soft); max-width:46ch; font-size:.95rem; }
.service-row a { white-space:nowrap; font-size:.9rem; font-weight:700; text-decoration:underline; }
.numbered-list { list-style:none; padding:0; margin:0; border-block:1px solid rgba(22,21,15,.16); }
.numbered-list li { display:grid; grid-template-columns: 70px 1fr; gap:1rem; padding:1.15rem 0; border-block-end:1px solid rgba(22,21,15,.13); }
.numbered-list li:last-child { border-block-end:0; }
.numbered-list .num { color:var(--olive); font-variant-numeric:tabular-nums; font-weight:700; }
.numbered-list h3 { font-family:var(--font-body); font-size:var(--step-1); margin:0 0 .2rem; font-weight:700; }
.numbered-list p { color:var(--ink-soft); margin:0; }
.image-band { position:relative; min-height:380px; overflow:hidden; display:grid; align-items:end; }
.image-band img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; }
.image-band::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(0deg, rgba(22,21,15,.8), rgba(22,21,15,.05)); }
.image-band__copy { padding-block:4rem 3rem; color:#fff; max-width:680px; }
.image-band__copy p { color:rgba(255,255,255,.8); }
.faq-list { border-block:1px solid rgba(22,21,15,.16); }
.faq-list details { border-block-end:1px solid rgba(22,21,15,.13); padding:1.15rem 0; }
.faq-list details:last-child { border-block-end:0; }
.faq-list summary { cursor:pointer; font-weight:700; font-size:1.05rem; list-style:none; display:flex; justify-content:space-between; gap:1rem; }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary::after { content:"+"; color:var(--olive); font-size:1.4rem; line-height:1; }
.faq-list details[open] summary::after { content:"−"; }
.faq-list details p { color:var(--ink-soft); margin-top:.65rem; max-width:68ch; }
.review-panel { display:grid; grid-template-columns:.75fr 1.25fr; gap:clamp(2rem,7vw,8rem); align-items:center; }
.review-number { font:600 clamp(4rem,10vw,8rem)/.9 var(--font-display); }
.review-copy { font-size:var(--step-2); max-width:20ch; }
.form-shell { display:grid; grid-template-columns:.85fr 1.15fr; gap:clamp(2rem,7vw,8rem); align-items:start; }
.lead-form { background:var(--surface); padding:clamp(1.4rem,3vw,2.5rem); border-block:1px solid rgba(22,21,15,.14); }
.lead-form .btn { width:100%; }
.form-note { font-size:.82rem; color:var(--ink-soft); margin-top:1rem; }
.contact-list { list-style:none; padding:0; margin:0; border-block:1px solid rgba(22,21,15,.16); }
.contact-list li { padding:1rem 0; border-block-end:1px solid rgba(22,21,15,.13); display:flex; justify-content:space-between; gap:1rem; }
.contact-list li:last-child { border-block-end:0; }
.contact-list span { color:var(--ink-soft); }
.map-wrap { min-height:380px; background:var(--surface-2); }
.map-wrap iframe { width:100%; height:100%; min-height:380px; border:0; filter:grayscale(.85) contrast(.96); }
.page-hero { padding-block:clamp(4rem, 8vw, 7rem); background:var(--surface); border-block-end:1px solid rgba(22,21,15,.15); }
.page-hero__inner { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr); gap:clamp(2rem,7vw,7rem); align-items:center; }
.page-hero__media { min-height:320px; overflow:hidden; background:var(--surface-2); }
.page-hero__media img { width:100%; height:100%; min-height:320px; object-fit:cover; }
.page-hero h1 { max-width:14ch; font-size:clamp(2.9rem,6vw,5.8rem); }
.page-hero p { font-size:var(--step-1); color:var(--ink-soft); max-width:50ch; }
.breadcrumbs { font-size:.85rem; color:var(--ink-soft); margin-bottom:1.5rem; }
.breadcrumbs a { text-decoration:none; }
.article-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:rgba(22,21,15,.15); border-block:1px solid rgba(22,21,15,.15); }
.article-card { background:var(--bg); padding:1.7rem; min-height:230px; display:flex; flex-direction:column; justify-content:space-between; }
.article-card img { width:100%; height:150px; object-fit:cover; margin:-1.7rem -1.7rem 1.5rem; width:calc(100% + 3.4rem); }
.article-card h2, .article-card h3 { font-size:var(--step-1); }
.article-card p { color:var(--ink-soft); font-size:.95rem; }
.article-card a { font-weight:700; text-decoration:underline; }
.article-body { max-width:760px; margin-inline:auto; }
.article-body h2 { font-size:var(--step-3); margin-top:3rem; }
.article-body h3 { font-family:var(--font-body); font-weight:700; font-size:var(--step-1); margin-top:2rem; }
.article-body p, .article-body li { color:var(--ink-soft); }
.article-body ul { padding-inline-start:1.3rem; }
.toc { background:var(--surface); padding:1.4rem; border-block:1px solid rgba(22,21,15,.14); margin-block:2rem 3rem; }
.toc strong { display:block; margin-bottom:.5rem; }
.toc a { display:block; margin:.25rem 0; color:var(--ink-soft); }
.legal-copy { max-width:780px; }
.legal-copy h2 { font-size:var(--step-2); margin-top:2.5rem; }
.site-footer { background:var(--ink); color:#fff; padding-block:4rem 2rem; }
.site-footer a { color:#fff; }
.footer-grid { display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:3rem; }
.footer-grid p, .footer-grid li { color:rgba(255,255,255,.66); font-size:.9rem; }
.footer-grid ul { list-style:none; padding:0; margin:0; display:grid; gap:.55rem; }
.footer-grid h2, .footer-grid h3 { font-family:var(--font-body); font-size:.8rem; text-transform:uppercase; letter-spacing:.08em; color:rgba(255,255,255,.68); }
.footer-meta { display:flex; justify-content:space-between; gap:1rem; padding-top:2rem; margin-top:3rem; border-block-start:1px solid rgba(255,255,255,.18); color:rgba(255,255,255,.55); font-size:.8rem; }
.site-footer .footer-logo { filter: invert(1) brightness(4); height:48px; width:auto; margin-bottom:1rem; }
.source-note { color:var(--ink-soft); font-size:.8rem; }
.m-reveal { opacity:0; transform:translateY(16px); }
.js .m-reveal { transition:opacity .7s var(--ease), transform .7s var(--ease); }
.m-reveal.is-visible { opacity:1; transform:none; }
.m-stagger > * { opacity:0; transform:translateY(12px); }
.m-stagger.is-visible > * { opacity:1; transform:none; transition:opacity .6s var(--ease), transform .6s var(--ease); }
.m-stagger.is-visible > *:nth-child(2){transition-delay:.06s}.m-stagger.is-visible > *:nth-child(3){transition-delay:.12s}.m-stagger.is-visible > *:nth-child(4){transition-delay:.18s}.m-stagger.is-visible > *:nth-child(5){transition-delay:.24s}.m-stagger.is-visible > *:nth-child(6){transition-delay:.3s}
@media (max-width:899px){
  .site-header__inner { min-height:64px; }
  .header-actions > .btn:not(.nav-toggle) { display:none; }
  .header-actions .nav-toggle { display:inline-flex; min-width:44px; padding-inline:0; }
  .site-header__logo img { height:36px; max-width:190px; }
  .hero { min-height:680px; }
  .hero__content { padding-block:7rem 3.5rem; }
  .hero h1 { max-width:11ch; }
  .section-head, .split-feature, .review-panel, .form-shell, .page-hero__inner { grid-template-columns:1fr; gap:1.7rem; }
  .section-head h2, .feature-copy h2 { max-width:16ch; }
  .stat-row { grid-template-columns:repeat(2,1fr); }
  .stat:nth-child(3) { border-inline-start:0; border-block-start:1px solid rgba(22,21,15,.15); }
  .stat:nth-child(4) { border-block-start:1px solid rgba(22,21,15,.15); }
  .service-row { grid-template-columns:1fr auto; gap:.55rem 1rem; }
  .service-row p { grid-column:1 / -1; }
  .article-grid { grid-template-columns:1fr; }
  .page-hero__media, .page-hero__media img { min-height:240px; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-grid > :first-child { grid-column:1/-1; }
}
@media (max-width:560px){
  .footer-grid { grid-template-columns:1fr; }
  .footer-grid > :first-child { grid-column:auto; }
  .hero__actions, .actions { align-items:stretch; flex-direction:column; }
  .hero__actions .btn, .actions .btn { width:100%; }
  .image-band { min-height:330px; }
}
