:root {
  --wood: #e9d3b0;
  --wood-dark: #b98a52;
  --ink: #1f1a14;
  --muted: #6b6257;
  --bg: #fbf7f1;
  --card: #ffffff;
  --accent: #f2b705;
  --green: #3b9b5a;
  --wood-ink: #8b5e34;   /* icon strokes: the darkest wood tone (inline SVG icons) */
  --wood-soft: #f4ece0;  /* icon discs */
  --radius: 18px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 17px/1.6 Inter, system-ui, sans-serif; color: var(--ink); background: var(--bg); }
img, video { max-width: 100%; height: auto; display: block; }
.hero > * { min-width: 0; }
h1, h2 { font-family: Fraunces, Georgia, serif; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; }
/* Two-line h1 (<br> between the lines): each line stays whole and the size shrinks only as far as needed to fit the
   longest line into the hero text column. --h1-em = longest line width / font-size per language, measured in Fraunces
   800 at phone size (its optical-size axis is widest there) +3%;
   re-measure after an h1 copy change (scripts/test_angles.js fails on a 3rd line). The he h1 uses its own .l spans. */
.hero-text { container-type: inline-size; }
h1:has(br) { white-space: nowrap; font-size: min(clamp(2.4rem, 5.5vw, 4.2rem), calc(100cqi / var(--h1-em, 9.9))); }
html[lang="en"] { --h1-em: 9.2; } html[lang="de"] { --h1-em: 9.9; } html[lang="fr"] { --h1-em: 8.5; }
html[lang="es"] { --h1-em: 8.6; } html[lang="it"] { --h1-em: 9.35; } html[lang="pt"] { --h1-em: 9.0; }
html[lang="nl"] { --h1-em: 8.7; } html[lang="pl"] { --h1-em: 7.35; } html[lang="sv"] { --h1-em: 8.2; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; }
a { color: inherit; }
em.fm { font-style: italic; white-space: nowrap; }   /* "Foo Master" inside running text (real italic faces loaded via the Google Fonts ital axis) */
section { padding: 72px 24px; max-width: var(--max); margin: 0 auto; }
@media (max-width: 480px) { section { padding: 56px 16px; } }
h3 { margin: 0; }
/* icons (inline SVG: the Foo Master fm-* set + the Lucide play glyph; decorative: aria-hidden, the visible text is the
   label). One colour. The fm-* set is drawn on a 48 grid with its own 2.75 stroke (it scales with the icon: ~3.4 px on
   the 60 px cards), so the CSS stroke only applies to the Lucide glyph. */
.ico { flex: none; width: 24px; height: 24px; color: var(--wood-ink); }
.ico:not([class*="ico-fm-"]) { stroke-width: 1.75; }
/* fm-* icons paint up to the edge of their 48 grid (round caps reach 1.4 units past a line's end). An <svg> clips its
   paint to its content box (UA overflow:hidden), and that clip follows the INNER border radius: on the round icon
   discs below (border-radius:50% + padding) it was a circle exactly the icon's size, which cut the grid's corners.
   No clip: the disc (16/14/12 px of padding) holds the whole grid. Checked by scripts/icons/clip_check.js. */
.ico[class*="ico-fm-"] { overflow: visible; }

.nav { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px; background: rgba(251, 247, 241, .9); backdrop-filter: blur(8px); border-bottom: 1px solid #eee3d3; }
.brand { font-family: Fraunces, serif; font-weight: 800; font-size: 1.35rem; text-decoration: none; }
.nav nav { display: flex; gap: 22px; align-items: center; }
.nav nav a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 500; }
@media (max-width: 720px) { .nav nav a:not(.btn) { display: none; } }

.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; border: 0; cursor: pointer;
  padding: 14px 26px; border-radius: 999px; font: 600 1rem Inter, sans-serif; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); background: #000; }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-small { padding: 9px 18px; font-size: .9rem; }
.btn-wide { width: 100%; padding: 16px; font-size: 1.05rem; }
.btn:disabled { opacity: .6; cursor: wait; }

.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 48px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--wood-dark); margin: 0 0 12px; }
.hero-pun { font: 600 clamp(1.15rem, 2.2vw, 1.45rem)/1.3 Fraunces, Georgia, serif; color: var(--wood-ink); margin: -.1em 0 .7em; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 34ch; }
/* the lede's first sentence is a paragraph of its own; a shorter break than between blocks keeps the two together */
.lede-intro { margin-bottom: 0; }
.lede-intro + .lede { margin-top: .6em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
/* the CTA row ends the hero text: no trailing margin, so the text block centres on the video (desktop) and the gap to
   the next section is the section padding alone (phones) */
.hero-text > :last-child { margin-bottom: 0; }
.btn .ico { width: 1.25em; height: 1.25em; vertical-align: -.3em; color: currentColor; }
/* hero media slot: the box has the clip's aspect ratio before anything loads (no layout shift); poster first */
.hero-media { width: 100%; border-radius: var(--radius); overflow: hidden; background: #ececec; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; } .hero-media { order: -1; } }

/* easy/safe cards (9): 2 per row on phones with the 9th centred under them, 3 x 3 from 600px.
   how-it-works steps (4): 2 x 2 on phones, 4 in a row from 860px. */
.cards, .steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 599px) { .cards > .card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px); box-sizing: border-box; } }
@media (min-width: 600px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; margin: 0 auto; } }
@media (min-width: 860px) { .cards { gap: 16px; } .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  background: var(--card); border-radius: var(--radius); padding: 18px 12px 20px; box-shadow: 0 4px 18px rgba(0, 0, 0, .04);
  overflow-wrap: break-word; hyphens: auto; hyphenate-limit-chars: 11 5 5; min-width: 0; }
/* card icons: 60 px in a 92 px disc (how-it-works: 64 px in a 92 px disc); phones: 56 px in an 80 px disc */
.card > .ico { width: 60px; height: 60px; padding: 16px; box-sizing: content-box; background: var(--wood-soft); border-radius: 50%; margin-bottom: 6px; }
.steps .card > .ico { width: 64px; height: 64px; padding: 14px; }
@media (max-width: 599px) { .card > .ico, .steps .card > .ico { width: 56px; height: 56px; padding: 12px; } }
.card strong { font-size: 1rem; line-height: 1.3; }
.card > span { font-size: .9rem; line-height: 1.45; color: var(--muted); }
.card > span.fn { font-size: .76rem; opacity: .8; }   /* a footnote to an asterisked claim (easy1: "…1–2 minutes*" / "*May vary…") */

.easysafe { text-align: center; }
.easysafe .sub { margin-bottom: 28px; }   /* the 9 cards follow straight after the intro (no group subtitles) */

.problem { text-align: center; }
.prob-row { list-style: none; padding: 0; margin: 32px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 920px; }
.prob-row li { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 1.15rem; font-weight: 600; line-height: 1.35; }
.prob-row .ico { width: 60px; height: 60px; padding: 16px; box-sizing: content-box; background: var(--wood); border-radius: 50%; }
@media (max-width: 600px) {
  .prob-row { grid-template-columns: 1fr; gap: 14px; max-width: 24rem; }
  .prob-row li { flex-direction: row; text-align: start; font-size: 1.08rem; }
  .prob-row .ico { width: 56px; height: 56px; padding: 12px; }
}

.how { text-align: center; }
.steps p { margin: 0; font-size: .98rem; line-height: 1.45; }
.steps p strong { display: block; }

/* how-it-works clip, above the 4 step cards */
.how-media { max-width: 760px; margin: 0 auto 28px; }
.how-media video { width: 100%; border-radius: var(--radius); }

.design { text-align: center; }
.sub { color: var(--muted); max-width: 60ch; margin: 0 auto 32px; }
/* Design gallery = the 360 spin, then the three angle stills in ONE row under it, both the same width (the video
   block): 640 px max, the video fills it (it floats on the page: transparent video + poster, no card, never cropped).
   The row: 3 equal columns; below 100 px a column it becomes a horizontal scroll-snap row (never a tall stack). */
.gallery { max-width: 640px; margin: 0 auto; }
.gallery figure { margin: 0; min-width: 0; }
.gallery .spin { display: flex; flex-direction: column; align-items: center; }
.gallery .spin video { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: transparent; }
.gallery figcaption { padding: 8px 6px 10px; font-size: .9rem; line-height: 1.3; color: var(--muted); }
.angles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(100px, 1fr); gap: 12px; margin-top: 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.angles::-webkit-scrollbar { display: none; }
.angles figure { background: var(--card); border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; }
.angles img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
/* angle still -> #still-dialog: same hover mask / touch badge as the order photo */
.still-zoom { position: relative; display: block; line-height: 0; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.still-zoom:focus { outline: none; }
.still-zoom:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.still-zoom .zoom-hover { border-radius: 0; font-size: .9rem; }
.still-zoom:hover .zoom-hover, .still-zoom:focus-visible .zoom-hover { opacity: 1; }
.still-cap { margin: 10px 0 0; text-align: center; color: var(--muted); font-size: .95rem; line-height: 1.3; }

.reserve { max-width: 640px; }
.reserve-card { background: var(--card); border-radius: 24px; padding: 40px; box-shadow: 0 24px 60px rgba(60, 40, 10, .12);
  border-top: 8px solid var(--wood); }
.reserve-card .sub { margin: 0 0 16px; text-align: left; }
.price { font-family: Fraunces, serif; font-size: 1.5rem; margin: 0 0 20px; }
.price:empty { display: none; }
.price s { color: var(--muted); font-size: 1rem; margin-left: 8px; }
.price .save { font: 500 .85rem Inter, sans-serif; color: var(--muted); }
form label { display: block; font-weight: 500; font-size: .95rem; margin-bottom: 14px; }
form input:not([type=checkbox]), form select { display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  border: 1.5px solid #ddd2c2; border-radius: 12px; font: inherit; background: #fff; }
form input:focus, form select:focus { outline: none; border-color: var(--wood-dark); }
form .row { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
/* phone: dial-code dropdown + number */
form .field { margin-bottom: 14px; }
form .field .lbl { display: block; font-weight: 500; font-size: .95rem; }
form .phone-row { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 8px; }
form .phone-row select { text-overflow: ellipsis; }
form .phone-row input { direction: ltr; }
[dir="rtl"] form .phone-row input { text-align: right; }
form .field-err { color: #b3261e; font-size: .85rem; margin: 4px 0 0; min-height: 0; }
form input.bad { border-color: #b3261e; }
@media (max-width: 480px) { form .phone-row { grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); } }
/* colour picker: product photo next to the joint-colour select */
form .color-pick { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; margin-bottom: 14px; }
form .color-pick img { width: 112px; height: 112px; object-fit: cover; border-radius: 14px; background: #f7f7f9;
  border: 1.5px solid #ddd2c2; }
form .color-pick label { margin-bottom: 0; }
@media (max-width: 480px) { form .color-pick { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; }
  form .color-pick img { width: 88px; height: 88px; } }
/* order form photo -> enlarge dialog */
.color-zoom { position: relative; display: block; line-height: 0; border-radius: 14px; cursor: zoom-in;
  -webkit-tap-highlight-color: transparent; }
.color-zoom img { display: block; }
.color-zoom:focus { outline: none; }
.color-zoom:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.zoom-hint { position: absolute; pointer-events: none; color: #fff; font-weight: 600; text-align: center; }
.zoom-hover { inset: 0; display: flex; align-items: center; justify-content: center; padding: 8px; border-radius: 14px;
  background: rgba(31, 26, 20, .55); font-size: .78rem; line-height: 1.25; opacity: 0; transition: opacity .15s; }
.color-zoom:hover .zoom-hover, .color-zoom:focus-visible .zoom-hover { opacity: 1; }
.zoom-tap { display: none; inset-inline: 4px; bottom: 5px; padding: 2px 4px; border-radius: 6px;
  background: rgba(31, 26, 20, .72); font-size: .62rem; line-height: 1.25; }
@media (hover: none) {
  .zoom-hover { display: none; }
  .zoom-tap { display: block; }
}
html.zoom-lock, html.zoom-lock body { overflow: hidden; }
.zoom-dlg { padding: 0; border: 0; border-radius: 18px; background: #fff; color: var(--ink); max-width: 96vw; max-height: 96vh;
  overflow: auto; box-shadow: 0 24px 80px rgba(0, 0, 0, .35); }
.zoom-dlg::backdrop { background: rgba(15, 12, 9, .72); }
.zoom-box { position: relative; padding: 14px 14px 16px; }
.zoom-box img { display: block; width: min(calc(90vw - 28px), calc(85vh - 72px)); height: auto; aspect-ratio: 1 / 1;
  object-fit: contain; border-radius: 12px; background: #fff; }
.zoom-x { position: absolute; top: 8px; inset-inline-end: 8px; z-index: 1; width: 40px; height: 40px; border: 0;
  border-radius: 50%; background: rgba(31, 26, 20, .08); color: var(--ink); font: 400 26px/1 system-ui, sans-serif; cursor: pointer; }
.zoom-x:hover { background: rgba(31, 26, 20, .16); }
.zoom-opts { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.zoom-opts button { min-width: 112px; padding: 9px 18px; border: 2px solid var(--ink); border-radius: 999px; background: #fff;
  color: var(--ink); font-family: inherit; font-size: .95rem; font-weight: 600; line-height: 1.2; cursor: pointer; }
.zoom-opts button:hover { background: #f4efe7; }
.zoom-opts button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.zoom-opts button[aria-pressed="true"]::before { content: "✓ "; }
.zoom-x:focus-visible, .zoom-opts button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* hero loop -> film dialog: same hover mask (.zoom-hover) / touch badge (.zoom-tap) as the order photo, sized up */
.film-zoom { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.film-zoom:focus { outline: none; }
.film-zoom:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.film-zoom .zoom-hover { flex-direction: column; gap: 10px; border-radius: 0; padding: 16px; background: rgba(31, 26, 20, .45);
  font-size: clamp(1rem, 1.7vw, 1.3rem); text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.film-zoom:hover .zoom-hover, .film-zoom:focus-visible .zoom-hover { opacity: 1; }
.film-zoom .zoom-hint .ico { color: #fff; }
.film-zoom .watch-ico .ico { width: 64px; height: 64px; stroke-width: 1.5; }
.film-zoom .zoom-tap { display: none; inset-inline: auto 10px; bottom: 10px; align-items: center; gap: 6px; padding: 6px 12px 6px 9px;
  border-radius: 999px; font-size: .85rem; line-height: 1.2; }
.film-zoom .zoom-tap .ico { width: 18px; height: 18px; stroke-width: 2; }
@media (hover: none) { .film-zoom .zoom-tap { display: inline-flex; } }
[dir="rtl"] .film-zoom .zoom-hint .ico { transform: scaleX(-1); }
.film-dlg { background: #000; border-radius: 14px; overflow: hidden; }
.film-box { position: relative; line-height: 0; }
.film-box video { display: block; width: min(90vw, 90vh * 16 / 9); width: min(90vw, 90dvh * 16 / 9); height: auto; max-width: none;
  aspect-ratio: 16 / 9; background: #000; }
.film-dlg .zoom-x { background: rgba(255, 255, 255, .2); color: #fff; }
.film-dlg .zoom-x:hover { background: rgba(255, 255, 255, .35); }
form .check { display: flex; gap: 10px; align-items: center; font-weight: 400; color: var(--muted); }
form input.hp { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: 0 !important;
  border: 0 !important; opacity: 0; overflow: hidden; pointer-events: none; clip-path: inset(50%); inset-inline-start: 0; }
  /* honeypot: must stay 1px; a full-width or off-screen honeypot widens RTL pages */
html, body { overflow-x: clip; }
.form-msg { min-height: 1.5em; margin: 14px 0 0; font-weight: 500; }
.pp-only { display: none; }
body.pp-on .pp-only { display: block; }
body.pp-on .free-only { display: none; }
.order-sum { background: var(--bg); border-radius: 12px; padding: 12px 16px; margin: 6px 0 10px; }
.sum-row { display: flex; justify-content: space-between; padding: 3px 0; }
.sum-pending span:last-child { color: var(--muted); }   /* shipping before a country is chosen */
.sum-total { font-weight: 700; font-size: 1.1rem; border-top: 1px solid #e6dccb; margin-top: 6px; padding-top: 8px; }
.ship-note { font-size: .82rem; color: var(--muted); margin: 0 0 14px; }
#paypal-buttons { min-height: 110px; }
.pp-note { font-size: .85rem; color: var(--muted); margin: 8px 0 0; text-align: center; }
.test-banner { background: #fff3cd; border: 1px solid #f2d06b; color: #6b4e00; border-radius: 10px; padding: 8px 12px;
  font-size: .85rem; font-weight: 600; margin: 0 0 14px; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: #b3261e; }

.faq { max-width: 760px; }
.faq details { background: var(--card); border-radius: 14px; padding: 18px 22px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 10px 0 0; }

.foot { text-align: center; padding: 40px 24px 56px; color: var(--muted); border-top: 1px solid #eee3d3; }
.foot .small { font-size: .85rem; }

/* language bar: all languages in one line, flag above the code */
.langbar { display: flex; justify-content: center; gap: 2px; padding: 6px 8px 4px; background: #f4ece0; border-bottom: 1px solid #eee3d3;
  overflow-x: auto; scrollbar-width: none; }
.langbar::-webkit-scrollbar { display: none; }
.lang-link { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 38px; padding: 3px 6px; border-radius: 8px;
  text-decoration: none; color: var(--muted); font: 600 .72rem/1 Inter, sans-serif; letter-spacing: .03em; flex: 0 0 auto; }
.lang-link img { width: 21px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); display: block; }
.lang-link:hover { background: #fff; color: var(--ink); }
.lang-link.on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(60,40,10,.12); }
@media (max-width: 480px) { .langbar { justify-content: flex-start; } .lang-link { min-width: 34px; padding: 3px 4px; } }
/* old dropdown (removed) */
/* Hebrew (RTL) */
/* Poppins renders Latin letters + digits, Heebo the Hebrew (Poppins ships no Hebrew glyphs: per-glyph fallback).
   Bold, compact headings; running text stays 400/500. Every rule that names Fraunces/Inter is overridden here. */
[dir="rtl"] { --he-font: "Poppins", "Heebo", system-ui, sans-serif; }
[dir="rtl"] body { font-family: var(--he-font); font-weight: 400; letter-spacing: -0.005em; }
[dir="rtl"] input, [dir="rtl"] select, [dir="rtl"] textarea, [dir="rtl"] button, [dir="rtl"] .btn,
[dir="rtl"] .brand, [dir="rtl"] .price, [dir="rtl"] .price .save, [dir="rtl"] .lang-link,
[dir="rtl"] .lang-pick select { font-family: var(--he-font); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] .hero-pun { font-family: var(--he-font); }
[dir="rtl"] .hero-pun { font-weight: 700; }
[dir="rtl"] h1 { font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; font-size: clamp(1.6rem, 9vw, 4.2rem); }
/* Hebrew h1 = 4 fixed lines (<span class="l"> each, a plain space between them so textContent stays one sentence) */
[dir="rtl"] h1 .l { display: block; white-space: nowrap; }
/* longest line ≈ 8.45em wide. 1 column (≤860px): 9vw fits the 24px side padding down to 320px. 2 columns: the text
   column is ≈ (100vw - 88px) × 0.51, so 5.7vw - 5px (max 3.6rem) keeps every line inside it. */
@media (min-width: 861px) { [dir="rtl"] h1 { font-size: min(calc(5.7vw - 5px), 3.6rem); } }
[dir="rtl"] h2 { font-weight: 800; letter-spacing: -0.015em; line-height: 1.15; }
[dir="rtl"] .brand, [dir="rtl"] .price, [dir="rtl"] .num, [dir="rtl"] .sum-total { font-weight: 800; }
[dir="rtl"] .price s { font-weight: 500; }
[dir="rtl"] .eyebrow { font-weight: 700; letter-spacing: .04em; }
[dir="rtl"] .btn, [dir="rtl"] .faq summary, [dir="rtl"] .zoom-hint { font-weight: 700; }
[dir="rtl"] form label, [dir="rtl"] form .field .lbl, [dir="rtl"] .zoom-opts button,
[dir="rtl"] .nav nav a:not(.btn) { font-weight: 600; }
[dir="rtl"] form .check { font-weight: 400; }
[dir="rtl"] .lede, [dir="rtl"] .sub { font-weight: 500; }
[dir="rtl"] .langbar { direction: ltr; }               /* same order of languages on every page */
[dir="rtl"] .price s { margin-left: 0; margin-right: 8px; }
[dir="rtl"] .play-ico .ico { transform: scaleX(-1); }   /* film button: play icon points left in RTL */
/* he film button: the icon sits on the LEFT of the text. An LTR inline flow puts the first child (the icon) at the
   left; the Hebrew label inside still runs right to left. */
[dir="rtl"] #cta-film { direction: ltr; }
[dir="rtl"] .reserve-card .sub { text-align: right; }
[dir="rtl"] form input[type=email] { direction: ltr; text-align: right; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lang-pick select { font: 500 .9rem Inter, sans-serif; color: var(--muted); background: transparent; border: 1px solid #e3d6c3;
  border-radius: 999px; padding: 6px 10px; cursor: pointer; }
.lang-pick select:focus { outline: none; border-color: var(--wood-dark); }
@media (max-width: 720px) { .nav nav { gap: 10px; } .lang-pick select { padding: 6px 6px; font-size: .85rem; max-width: 7.5rem; } }
@media (max-width: 480px) { .nav { padding: 12px 14px; } .brand { font-size: 1.1rem; } .nav nav { gap: 6px; }
  .lang-pick select { max-width: 5.6rem; padding: 5px 4px; font-size: .8rem; } .nav .btn-small { padding: 8px 12px; font-size: .82rem; } }

/* Nav active-section pill. The HTML already ships the final first-paint state: <nav class="spy">, Intro has .on +
   aria-current, and every link carries data-label. Until nav.js runs, the .on link itself paints the black pill
   (same colour, radius and padding as .nav-pill); nav.js places the moving .nav-pill on the same link and adds
   .js-pill in the same frame, which turns the static background off (no flash, no double pill, no shift).
   Every link keeps the same padding so nothing moves when the pill changes link; the ::after copy at the active
   weight reserves the width of the bolder label. Without JS, Intro (or the #hash link) simply stays highlighted. */
.nav nav.spy { position: relative; gap: 4px; }
.nav nav.spy a { position: relative; z-index: 1; display: inline-flex; flex-direction: column; align-items: center;
  padding: 9px 18px; border-radius: 999px; line-height: 17px; text-decoration: none; color: var(--muted); font-weight: 500;
  white-space: nowrap; transition: color .22s; }
.nav nav.spy a::after { content: attr(data-label); height: 0; overflow: hidden; visibility: hidden; font-weight: 600;
  pointer-events: none; user-select: none; }
.nav nav.spy a.on { color: #fff; font-weight: 600; }
.nav nav.spy:not(.js-pill) a.on { background: var(--ink); }
.nav nav.spy:not(.js-pill) a.on:hover { background: #000; }
.nav nav.spy a:not(.on):hover { color: var(--ink); }
.nav nav.spy a:focus-visible { outline: 2px solid var(--wood-dark); outline-offset: 2px; }
.nav-pill { position: absolute; left: 0; top: 0; z-index: 0; width: 0; height: 0; border-radius: 999px; background: var(--ink);
  opacity: 0; pointer-events: none;
  transition: transform .22s cubic-bezier(.3, .7, .3, 1), width .22s cubic-bezier(.3, .7, .3, 1), background .15s; }
.nav-pill.no-anim, .nav nav.no-anim a { transition: none; }   /* instant moves: the label colours switch with the pill */
.nav nav.spy a.on:hover ~ .nav-pill { background: #000; }
@media (prefers-reduced-motion: reduce) { .nav-pill, .nav nav.spy a { transition: none; } }
[dir="rtl"] .nav nav.spy a { font-weight: 600; line-height: 21px; }   /* old pill heights: 35 px (Inter), 39 px (Heebo) */
[dir="rtl"] .nav nav.spy a::after, [dir="rtl"] .nav nav.spy a.on { font-weight: 700; }
/* phones: all links (Intro ... FAQ) in a second header row, full width; if a language's labels don't fit, the row
   scrolls sideways (no scrollbar) and nav.js keeps the active link in view. Static from the HTML (nav.spy). */
@media (max-width: 720px) { .nav:has(nav.spy) { flex-wrap: wrap; row-gap: 6px; padding-bottom: 8px; }
  .nav:has(nav.spy) .brand { order: -1; margin-inline-start: auto; }   /* row 1: the brand alone, at the end */
  .nav nav.spy { flex: 1 0 100%; justify-content: space-between; gap: 0; overflow-x: auto; overscroll-behavior-x: contain;
    scrollbar-width: none; margin: 0 -8px; }
  .nav nav.spy::-webkit-scrollbar { display: none; }
  .nav nav.spy a, [dir="rtl"] .nav nav.spy a { line-height: normal; flex: none; }
  .nav nav.spy a { padding: 7px 12px; font-size: .88rem; font-weight: 600; } .nav nav.spy a::after { font-weight: 600; } }
@media (max-width: 480px) { .nav nav.spy a { padding: 7px 8px; font-size: .8rem; } }
@media (max-width: 400px) { .nav nav.spy { margin: 0 -6px; } .nav nav.spy a { padding: 6px 6px; font-size: .76rem; } }
@media (max-width: 370px) { .nav nav.spy { margin: 0 -10px; } .nav nav.spy a { padding: 6px 5px; } }

/* cookie banner (public/analytics.js): small card at the bottom, the page's own palette + Fraunces; on phones it stays
   below the hero CTAs (scripts/test_analytics.js measures it). Accept and Decline have the same size. */
.consent-bar { position: fixed; z-index: 60; inset-inline: 0; bottom: 12px; margin: 0 auto; width: min(640px, calc(100% - 24px));
  display: flex; align-items: center; gap: 10px 16px; padding: 12px 14px 12px 18px; background: var(--card); color: var(--ink);
  border: 1px solid #eee3d3; border-radius: var(--radius); box-shadow: 0 12px 36px rgba(60, 40, 10, .16); }
.consent-bar[hidden] { display: none; }
[dir="rtl"] .consent-bar { padding: 12px 18px 12px 14px; }
.consent-text { margin: 0; flex: 1 1 auto; font: 600 .9rem/1.35 Fraunces, Georgia, serif; }
.consent-btns { display: flex; gap: 8px; flex: none; }
.consent-btn { min-width: 96px; padding: 9px 16px; border-radius: 999px; font: 600 .88rem Inter, sans-serif; cursor: pointer;
  border: 2px solid var(--ink); background: transparent; color: var(--ink); }
.consent-btn.consent-yes { background: var(--ink); color: #fff; }
.consent-btn:hover { background: #000; border-color: #000; color: #fff; }
[dir="rtl"] .consent-text, [dir="rtl"] .consent-btn { font-family: var(--he-font); }
[dir="rtl"] .consent-text { font-weight: 500; }
@media (max-width: 560px) {
  .consent-bar { flex-wrap: wrap; bottom: 8px; width: calc(100% - 16px); padding: 10px 12px; gap: 8px; }
  [dir="rtl"] .consent-bar { padding: 10px 12px; }
  .consent-text { flex-basis: 100%; font-size: .8rem; }
  .consent-btns { flex: 1 1 100%; }
  .consent-btn { flex: 1 1 0; padding: 7px 12px; font-size: .84rem; }
}
html.has-consent-bar .foot { padding-bottom: 150px; }   /* the footer stays readable above the banner */
.consent-bar { transition: transform .25s ease, opacity .25s ease; }
.consent-bar.consent-away { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .consent-bar { transition: none; } }
/* tablets + desktops: a card in the bottom END corner (right in LTR, left in RTL), away from the hero CTAs on the start side */
@media (min-width: 760px) {
  .consent-bar { inset-inline: auto 16px; bottom: 16px; width: min(430px, calc(100% - 420px)); flex-direction: column;
    align-items: stretch; gap: 10px; padding: 14px 16px; }
  [dir="rtl"] .consent-bar { padding: 14px 16px; }
  .consent-btns { justify-content: flex-end; }
}
.linkbtn { border: 0; padding: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
