/* ==========================================================================
   Hebrew World, the design system. One file, no Tailwind on the homepage.
   Chat 2 of the makeover, 18 Sep 2026. Fonts are in /fonts/fonts.css (self-hosted).

   RULES THAT BITE (kept from hw.css, read before editing)
   - The sticky header is FULLY OPAQUE. Never add backdrop-filter: on mobile GPUs a
     sticky element with a blur painted NOTHING below it (3 Sep 2026, his own phone).
   - The honeypot (.hw-hp) is hidden by CLIPPING, never by left:-9999px: on the RTL
     page a negative offset is INSIDE the scroll area and added 9,999px of width.
   - Logical properties only (inline-start/end, padding-inline, text-align: start),
     so the Hebrew page mirrors by `dir` alone. No left/right in this file.
   - Colour on text is always AA (computed 18 Sep 2026, see the plan's Part A notes):
     ink 12.4:1, muted 5.2:1, blue-deep 4.6:1 on the ground; white on blue-deep 4.9:1,
     white on navy 14:1. The lighter blue (#2596be) is for rules and surfaces only.
   ========================================================================== */

:root {
  --navy:       #1a2e3b;
  --navy-deep:  #12212b;
  --blue:       #2596be;   /* rules, surfaces, focus rings; never text */
  --blue-deep:  #1d7a9c;   /* blue that carries text or a white label */
  --ground:     #faf9f7;
  --white:      #ffffff;
  --ink:        #1f3340;
  --ink-2:      #33454f;
  --muted:      #5b6b76;
  --line:       #e2ded7;
  --line-2:     #cfc9c0;
  --pale:       #cfe8f2;   /* light text on navy */
  --amber:      #f3d9a4;   /* the "Most people take this one" tag */
  --amber-deep: #c47f0e;   /* stars */
  --error:      #9b2c2c;

  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem;   --s-7: 3rem;  --s-8: 4rem;   --s-9: 6rem;

  --r-sm: .7rem; --r: .85rem; --r-lg: 1.25rem; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(26, 46, 59, .06);
  --shadow-2: 0 16px 40px rgba(26, 46, 59, .13);
  --wrap: 1120px;

  --font-body: "Assistant", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans Hebrew", sans-serif;
  --font-display: "Frank Ruhl Libre", Georgia, "Times New Roman", "Noto Serif Hebrew", serif;
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
[dir="rtl"] body { font-size: 18px; }
@media (max-width: 640px) { body { font-size: 16px; } [dir="rtl"] body { font-size: 17px; } }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
summary { cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
::selection { background: var(--pale); color: var(--navy); }

/* ------------------------------------------------------------------- type */
h1, h2, h3, h4, .display { font-family: var(--font-display); font-weight: 700; color: var(--navy); line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.25; }
h4 { font-size: 1.15rem; line-height: 1.3; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.prose { max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.strong { font-weight: 700; }
.promise { font-weight: 700; color: var(--navy); font-size: 1.15rem; }
p + p { margin-top: var(--s-4); }
h2 + p, h3 + p { margin-top: var(--s-3); }
/* A short blue rule under a section title gives the page landmarks. */
.title::after { content: ""; display: block; margin-top: .9rem; height: 3px; width: 3.25rem; border-radius: 3px; background: var(--blue); }
.band--navy .title::after { background: var(--white); opacity: .85; }
a.link { color: var(--blue-deep); text-decoration: underline; text-underline-offset: .15em; }
a.link:hover { color: var(--navy); }
.band--navy a.link { color: var(--pale); }
.band--navy .muted { color: var(--pale); }

/* ----------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--s-4); }
@media (min-width: 640px) { .wrap { padding-inline: var(--s-5); } }
@media (min-width: 960px) { .wrap { padding-inline: var(--s-6); } }
.band { padding-block: clamp(2.75rem, 7vw, 5rem); }
.band--white { background: var(--white); border-block: 1px solid var(--line); }
.band--navy { background: var(--navy); color: var(--white); }
.band--navy h2, .band--navy h3 { color: var(--white); }
.band--slim { padding-block: var(--s-6); }
.grid { display: grid; gap: var(--s-6); }
@media (min-width: 960px) {
  .grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-7); align-items: start; }
  .col-4 { grid-column: span 4; } .col-5 { grid-column: span 5; } .col-6 { grid-column: span 6; }
  .col-7 { grid-column: span 7; } .col-8 { grid-column: span 8; }
}
.stack > * + * { margin-top: var(--s-4); }
.mt-2 { margin-top: var(--s-2); } .mt-3 { margin-top: var(--s-3); } .mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); }
.mt-8 { margin-top: var(--s-8); }
.row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.between { justify-content: space-between; }
.center { text-align: center; }

/* ------------------------------------------------------------------ icons */
.ic { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic--fill { fill: currentColor; stroke: none; }
.ic--blue { color: var(--blue-deep); }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); padding: .8rem 1.35rem; border-radius: var(--r); font-weight: 700; line-height: 1.25; text-decoration: none; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s; text-align: center; }
.btn--primary { background: var(--navy); color: var(--white); box-shadow: var(--shadow-1); }
.btn--primary:hover { background: var(--navy-deep); }
.btn--secondary { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--secondary:hover { background: var(--white); }
.btn--blue { background: var(--blue-deep); color: var(--white); box-shadow: var(--shadow-1); }
.btn--blue:hover { background: #17667f; }
.btn--quiet { border-color: var(--line-2); background: var(--white); color: var(--ink); }
.btn--quiet:hover { border-color: var(--navy); }
.btn--sm { padding: .5rem .95rem; font-size: .95rem; border-radius: var(--r-pill); }
.btn--block { width: 100%; }
.band--navy .btn--secondary { border-color: var(--white); color: var(--white); }
@media (min-width: 641px) { .btn { white-space: nowrap; } }
.textbtn { font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: .15em; }

/* ------------------------------------------------------------------ cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--shadow-1); }
@media (min-width: 640px) { .card { padding: var(--s-6); } }
.card--tight { padding: var(--s-4); }

/* ---------------------------------------------------------- numbered steps */
.steps { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .steps--2 { grid-template-columns: 1fr 1fr; column-gap: var(--s-6); } }
.step { display: flex; gap: var(--s-4); align-items: flex-start; }
.step__n { flex: none; display: inline-flex; width: 2rem; height: 2rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--blue-deep); color: var(--white); font-weight: 700; font-size: .95rem; }
.band--navy .step__n { background: var(--white); color: var(--navy); }
.step__t { font-weight: 700; color: var(--navy); display: block; }
.step__d { color: var(--ink-2); }

/* -------------------------------------------------------------- the hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.hero__grid { display: grid; gap: var(--s-5); }
.hero__left, .hero__right { display: contents; }
.hero__copy { order: 1; } .hero__media { order: 2; } .hero__actions { order: 3; } .hero__video { order: 4; }
.hero__copy p { margin-top: var(--s-4); }
.hero__actions .btn { width: 100%; }
.hero__actions { display: grid; gap: var(--s-3); }
.portrait { aspect-ratio: 3 / 4; width: 100%; max-width: 24rem; margin-inline: auto; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); background: var(--line); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.trust { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: .95rem; color: var(--ink-2); }
.trust > * { display: inline-flex; align-items: center; gap: .4rem; }
.trust a { text-decoration: underline; text-underline-offset: .15em; }
.facade { position: relative; display: block; width: 100%; max-width: 24rem; margin-inline: auto; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-1); background: var(--navy-deep); color: var(--ink); text-align: start; }
.facade img { width: 100%; height: 100%; object-fit: cover; }
.facade__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.facade__label { display: inline-flex; align-items: center; gap: var(--s-2); padding: .55rem 1rem; border-radius: var(--r-pill); background: rgba(255,255,255,.95); color: var(--navy); font-weight: 700; font-size: .95rem; box-shadow: var(--shadow-2); }
.facade:hover .facade__label { background: var(--white); }
.video-wrap { width: 100%; max-width: 24rem; margin-inline: auto; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; }
.video-wrap iframe { width: 100%; height: 100%; border: 0; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 7fr 5fr; gap: var(--s-8); align-items: center; }
  .hero__left, .hero__right { display: block; }
  .hero__actions { display: flex; flex-wrap: wrap; margin-top: var(--s-6); }
  .hero__actions .btn { width: auto; }
  .hero__video { margin-top: 0; }
  .hero__right:not(:has(.hero__media)) .facade { max-width: 100%; }
}

/* ----------------------------------------------------------- the navy band */
.tiles { display: grid; gap: var(--s-4); }
@media (min-width: 768px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); } }
.tile { background: var(--navy-deep); border-radius: var(--r-lg); padding: var(--s-5); }
.tile p { margin-top: var(--s-3); font-size: 1.1rem; line-height: 1.5; }

/* ------------------------------------------------------------- app shots */
.shots { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 480px) { .shots { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); } }
.shot__frame { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); padding: var(--s-2); box-shadow: var(--shadow-1); }
.shot__frame img { border-radius: calc(var(--r-sm) - .25rem); width: 100%; }
.shot figcaption { margin-top: var(--s-2); font-size: .92rem; color: var(--muted); }

/* ---------------------------------------------------------------- reviews */
.stars { display: inline-flex; gap: 2px; color: var(--amber-deep); }
.stars .ic { width: 1rem; height: 1rem; }
.review { display: flex; flex-direction: column; }
.review blockquote { margin-top: var(--s-3); color: var(--ink-2); flex: 1; }
.review--featured blockquote { font-size: 1.12rem; }
.review__who { margin-top: var(--s-4); display: flex; align-items: center; gap: var(--s-3); font-size: .95rem; }
.review__name { font-weight: 700; color: var(--ink-2); }
.review__from { color: var(--muted); font-weight: 400; display: block; }
.avatar { flex: none; display: inline-flex; width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--blue-deep); color: var(--white); font-weight: 700; }
.reviews-grid { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.card--outline { border: 2px solid var(--navy); box-shadow: none; justify-content: center; }
.videos { display: grid; gap: var(--s-5); }
@media (min-width: 768px) { .videos { grid-template-columns: 1fr 1fr; } }
.videos video { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r); background: #000; }
.videos p { margin-top: var(--s-3); text-align: center; font-weight: 600; }
.gbtn svg { width: 1.2rem; height: 1.2rem; }

/* ------------------------------------------------------------------ about */
.about__portrait { max-width: 17.5rem; }
.about__photo { max-width: 17.5rem; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.about__photo img { width: 100%; height: auto; }
.about .textbtn { margin-top: var(--s-2); }

/* ----------------------------------------------------------------- prices */
.checks { display: grid; gap: var(--s-2) var(--s-5); margin-top: var(--s-5); max-width: 56rem; }
@media (min-width: 640px) { .checks { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .checks { grid-template-columns: repeat(4, 1fr); } }
.checks li { display: flex; gap: var(--s-2); align-items: flex-start; color: var(--ink-2); }
.checks .ic { margin-top: .3em; }
.prices { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
@media (min-width: 640px) { .prices { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); align-items: stretch; } }
.price { display: flex; flex-direction: column; border: 2px solid var(--line); }
.price--featured { border-color: var(--navy); box-shadow: 0 6px 24px rgba(26, 46, 59, .10); }
@media (min-width: 640px) { .price--featured { transform: translateY(-8px); } }
.price__tier { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue-deep); }
[dir="rtl"] .price__tier { letter-spacing: 0; }
.price__amount { margin-top: var(--s-2); font-size: 2.1rem; font-weight: 700; color: var(--navy); font-family: var(--font-display); line-height: 1; }
.price__n { margin-top: var(--s-2); color: var(--ink-2); }
.price__fill { flex: 1; }
.price .btn { margin-top: var(--s-5); }
.tag { display: inline-block; margin-top: var(--s-3); padding: .2rem .7rem; border-radius: var(--r-pill); background: var(--amber); color: var(--navy); font-weight: 700; font-size: .85rem; }
.capacity { margin-top: var(--s-5); font-weight: 700; }

/* ------------------------------------------------------------------ apply */
.apply { margin-top: var(--s-8); }
.apply .steps { margin-top: var(--s-5); }
.single { margin-top: var(--s-7); }
@media (min-width: 768px) { .single { display: grid; grid-template-columns: 2fr 1fr; gap: var(--s-6); align-items: center; } }
.single .btn { margin-top: var(--s-4); width: 100%; }
@media (min-width: 768px) { .single .btn { margin-top: 0; } }
.package { margin-top: var(--s-3); border: 1px solid var(--line); border-radius: var(--r); background: var(--ground); padding: var(--s-4); }
.package ol { list-style: decimal; padding-inline-start: 1.25rem; margin-top: var(--s-3); }
.package li + li { margin-top: var(--s-1); }

/* ------------------------------------------------------------------- forms */
.hw-label { display: block; margin: .9rem 0 .3rem; font-size: .85rem; font-weight: 700; color: var(--navy); letter-spacing: .01em; }
.hw-input { width: 100%; padding: .7rem .85rem; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--white); color: var(--ink); font-size: 1rem; line-height: 1.4; }
select.hw-input { appearance: none; background-image: none; }
textarea.hw-input { resize: vertical; min-height: 6rem; }
.hw-input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.hw-form-note { margin-top: .7rem; font-size: .85rem; line-height: 1.5; color: var(--muted); }
.hw-form-note a { text-decoration: underline; }
.hw-form-err { margin-top: var(--s-3); font-size: .95rem; color: var(--error); }
.hw-form-ok h4 { color: var(--navy); }
.hw-form-ok p { margin-top: var(--s-2); color: var(--ink-2); }
form .btn { margin-top: var(--s-5); }
/* Honeypot: clipped, not offset (see the rules at the top). */
.hw-hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* -------------------------------------------------------------------- faq */
.faq { display: grid; gap: var(--s-2); margin-top: var(--s-5); }
@media (min-width: 768px) { .faq { grid-template-columns: 1fr 1fr; gap: var(--s-2) var(--s-6); align-items: start; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-3) 0; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .15s; color: var(--blue-deep); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details > p { padding: 0 0 var(--s-4); color: var(--ink-2); }

/* ---------------------------------------------------------------- header */
.header { position: sticky; top: 0; z-index: 50; background: var(--ground); border-bottom: 1px solid var(--line); }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding-block: var(--s-3); }
.wordmark { display: inline-flex; align-items: center; gap: var(--s-2); font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.015em; color: var(--navy); text-decoration: none; }
.wordmark img { width: 2.5rem; height: 2.5rem; border-radius: var(--r-sm); }
.nav { display: none; gap: var(--s-5); }
.nav a { color: var(--muted); font-weight: 600; font-size: .95rem; text-decoration: none; }
.nav a:hover { color: var(--navy); }
.header__cta { display: none; align-items: center; gap: var(--s-3); }
.header__phone { display: flex; align-items: center; gap: var(--s-2); }
.burger { display: inline-flex; flex-direction: column; gap: 5px; padding: .5rem; }
.burger span { display: block; width: 1.5rem; height: 2px; background: var(--ink); border-radius: 2px; }
@media (min-width: 900px) {
  .nav { display: flex; } .header__cta { display: flex; }
  .header__phone .btn, .burger { display: none; }
}
/* The language menu: a native <details>, so it is keyboard-reachable with no JS. */
.lang { position: relative; }
.lang summary { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .5rem; border-radius: var(--r-sm); border: 1px solid transparent; list-style: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { border-color: var(--line); background: var(--white); }
.lang summary img { width: 1.5rem; height: 1rem; object-fit: cover; border-radius: 2px; box-shadow: var(--shadow-1); }
.lang summary .ic { width: .8rem; height: .8rem; color: var(--muted); }
.lang__menu { position: absolute; inset-inline-end: 0; top: calc(100% + .4rem); min-width: 11rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow-2); padding: var(--s-1) 0; z-index: 60; }
.lang__menu a { display: flex; align-items: center; gap: var(--s-3); padding: .55rem .85rem; font-size: .95rem; text-decoration: none; }
.lang__menu a:hover, .lang__menu a[aria-current="page"] { background: var(--ground); }
.lang__menu a[aria-current="page"] { font-weight: 700; }
.lang__menu img { width: 1.25rem; height: .85rem; object-fit: cover; border-radius: 2px; }
/* The phone drawer, in flow under the header row. */
.drawer { border-top: 1px solid var(--line); padding-block: var(--s-4); }
.drawer__links { display: grid; gap: var(--s-3); }
.drawer__links a { font-weight: 600; text-decoration: none; color: var(--ink); }
.drawer__langs { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
.drawer__langs a { display: inline-flex; align-items: center; gap: var(--s-2); padding: .35rem .7rem; border: 1px solid var(--line); background: var(--white); border-radius: var(--r-sm); font-size: .92rem; text-decoration: none; }
.drawer__langs img { width: 1.25rem; height: .85rem; object-fit: cover; border-radius: 2px; }
.drawer .btn { margin-top: var(--s-4); }
@media (min-width: 900px) { .drawer { display: none !important; } }
/* The first-visit language strip: in flow, under the header, one link. */
.strip { background: var(--white); border-bottom: 1px solid var(--line); }
.strip__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-3); padding-block: var(--s-2); font-size: .95rem; }
.strip__row a { display: inline-flex; align-items: center; gap: var(--s-2); padding: .3rem .7rem; border: 1px solid var(--line); background: var(--white); border-radius: var(--r-sm); font-weight: 600; text-decoration: none; }
.strip__row img { width: 1.25rem; height: .85rem; object-fit: cover; border-radius: 2px; }
.strip__close { display: inline-flex; padding: .3rem; border-radius: var(--r-sm); color: var(--muted); }
.strip__close:hover { background: var(--ground); }
.skip { position: absolute; inset-inline-start: 0; top: 0; padding: .6rem 1rem; background: var(--navy); color: var(--white); font-weight: 700; z-index: 100; transform: translateY(-120%); text-decoration: none; }
.skip:focus { transform: none; }

/* --------------------------------------------- the sticky phone action bar */
.bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; display: none; gap: var(--s-2); padding: var(--s-2) var(--s-4); padding-bottom: max(var(--s-2), env(safe-area-inset-bottom)); background: var(--ground); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(26, 46, 59, .08); transform: translateY(110%); transition: transform .2s; }
.bar .btn { flex: 1; padding-inline: .5rem; font-size: .95rem; }
@media (max-width: 899px) {
  .bar { display: flex; }
  body.bar-on .bar { transform: none; }
  body.bar-on { padding-bottom: 4.5rem; }
  body.drawer-open .bar, body.form-focus .bar { transform: translateY(110%); }
}

/* ------------------------------------------------------------------ footer */
.footer { border-top: 1px solid var(--line); padding-block: var(--s-7); font-size: .95rem; }
.footer__grid { display: grid; gap: var(--s-5); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__right { text-align: end; } .footer__right .row { justify-content: flex-end; } }
.footer a { text-decoration: underline; text-underline-offset: .15em; }
.footer .row { gap: var(--s-1) var(--s-4); }
.footer small { display: block; margin-top: var(--s-3); color: var(--muted); }

/* ------------------------------------------------------------- utilities */
.line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); }
.brand-svg { width: 1.1rem; height: 1.1rem; }
.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }
