/* Motion plays whatever the visitor's 'reduce motion' setting is: the owner's decision (22.10.2026), so the site never looks static.
   The former reduced-motion rules remain as (max-width: 0px) blocks, which never match; the former 'no-preference' guards are (min-width: 0px). */
/* Lash Room public site.
   Mobile first. Logical properties throughout (Hebrew is RTL, Russian LTR).
   Themes: .t-dark (courses, home) and .t-light (shop, forms, legal) set the colour tokens; components only read tokens.
   Signature: the "LED light", a cool sweep that passes over the hero drawing, the LED heading, the steps line and buttons. */

/* Until Open Sans arrives, Arial stands in at Open Sans's measurements, so the swap barely moves the text (CLS). */
@font-face {
  font-family: 'Open Sans Fallback';
  src: local('Arial');
  ascent-override: 101.65%; descent-override: 27.86%; line-gap-override: 0%; size-adjust: 105.21%;
}

:root {
  --ink: #131425;
  --ink-2: #1c1d33;
  --ink-3: #26273f;
  --ivory: #efe9df;
  --mist: #b9b6c9;
  --gold: #d8c29d;
  --gold-soft: #e6d5b8;
  --led: #c9d2ff;
  --led-deep: #4a4fd1;
  --porcelain: #f6f5f3;
  --paper: #ffffff;
  --brass: #7a5c2e;

  --ease: cubic-bezier(.165, .84, .44, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(20px, 5vw, 56px);
  --maxw: 1280px;
  --hdr-h: 64px;
  --mbar-h: 64px;
  --radius: 3px;

  /* phi-academy's faces: Old Standard TT (display, Latin and Cyrillic, real italics) and Open Sans (body).
     Hebrew display is Bellefair, the high-contrast Hebrew whose letters stand at Old Standard's x-height. On Hebrew
     pages Bellefair comes first, so Latin words and digits inside Hebrew lines use its own lighter Latin (Old
     Standard's capitals tower over Bellefair's letters). Bellefair has one weight: only from 22px up; smaller
     headings use Open Sans 600. Big numbers (--f-num) are Old Standard in both languages. */
  --f-body: 'Open Sans', 'Open Sans Fallback', system-ui, sans-serif;
  --f-disp: 'Bellefair', 'Old Standard TT', Georgia, serif;
  --f-num: 'Old Standard TT', Georgia, serif;
  --f-word: 'Old Standard TT', Georgia, serif;
  --ds: 1.14;       /* display size factor: Bellefair's letters are small for their size */
  --disp-w: 400;
  --track: .02em;   /* button and label tracking */

  /* Motion (phi's measured values): reveals 1.4s, masks 1.6s. --dirx flips horizontal moves for Hebrew. */
  --m-ease: cubic-bezier(.165, .84, .44, 1);
  --m-mask: cubic-bezier(.77, 0, .175, 1);
  --m-y: clamp(44px, 6vw, 90px);
  --dirx: 1;

  --fs-hero: calc(clamp(2.375rem, 1.45rem + 3.3vw, 4.5rem) * var(--ds));
  --fs-h1: calc(clamp(2.25rem, 1.5rem + 2.9vw, 4rem) * var(--ds));
  --fs-h2: calc(clamp(2rem, 1.35rem + 2.5vw, 3.5rem) * var(--ds));
  --fs-h3: calc(clamp(1.375rem, 1.2rem + .6vw, 1.75rem) * var(--ds));
}
:root[dir="rtl"] { --dirx: -1; }
:root:lang(ru), :root:lang(en) {
  --f-disp: 'Old Standard TT', 'Bellefair', Georgia, serif; /* Bellefair only supplies the ₪ sign */
  --ds: .92;        /* Old Standard is wide */
  --track: .07em;
}
@media (min-width: 960px) { :root { --hdr-h: 76px; } }

/* ---------- Themes ---------- */
.t-dark {
  --bg: var(--ink); --bg-2: var(--ink-2); --bg-3: var(--ink-3);
  --fg: var(--ivory); --fg-2: var(--mist);
  --line: rgba(239, 233, 223, .13); --line-2: rgba(239, 233, 223, .28);
  --accent: var(--gold);
  --btn-bg: var(--gold); --btn-fg: var(--ink); --btn-line: rgba(216, 194, 157, .75);
  --focus: #9aa6ff;
  --glint: rgba(214, 222, 255, .6);
  --dot: var(--led); --dot-glow: rgba(201, 210, 255, .6);
  --ph-mark: rgba(216, 194, 157, .55);
  --ph-glow: rgba(142, 155, 255, .16);
  /* Read by the components below and by the colour themes (themes.css): the alternating sections, the page colour
     as r, g, b (the solid header, the hero's scrims), the small gold ornaments, the LED light and its haze (r, g, b),
     and the two colours of the light sweep across a heading. */
  --bg-alt: var(--ink-2); --bg-rgb: 19, 20, 37;
  --orn: var(--gold);
  --glow-rgb: 201, 210, 255; --glow2-rgb: 142, 155, 255;
  --sweep-hi: rgba(242, 244, 255, .95); --sweep-core: #b7c1ff;
  color-scheme: dark;
}
.t-light {
  --bg: var(--porcelain); --bg-2: var(--paper); --bg-3: #ecebe7;
  --fg: var(--ink); --fg-2: #55566a;
  --line: #e2dfda; --line-2: #c8c5bf;
  --accent: var(--brass);
  --btn-bg: var(--ink); --btn-fg: var(--porcelain); --btn-line: var(--ink);
  --focus: var(--led-deep);
  --glint: rgba(74, 79, 209, .28);
  --dot: var(--led-deep); --dot-glow: rgba(74, 79, 209, .35);
  --ph-mark: rgba(19, 20, 37, .32);
  --ph-glow: rgba(74, 79, 209, .07);
  --bg-alt: var(--paper); --bg-rgb: 246, 245, 243;
  --orn: var(--brass);
  --glow-rgb: 74, 79, 209; --glow2-rgb: 74, 79, 209;
  --sweep-hi: #6d72e6; --sweep-core: var(--led-deep);
  color-scheme: light;
}
.t-dark, .t-light { background: var(--bg); color: var(--fg); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* scrollbar-gutter: the space of a classic (desktop) scrollbar stays reserved while a dialog locks the page
   (html.is-locked, or Lenis stopped), so the page doesn't shift sideways when the menu or the cart opens. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-gutter: stable; }
@media (min-width: 0px) { html { scroll-behavior: smooth; } }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: break-word; /* a word too long for its column (Russian at large text sizes) breaks instead of widening the page */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body:lang(ru), body:lang(en) { line-height: 1.6; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { overflow-wrap: break-word; }
/* One-column grids get a track that can't grow past the screen, so at large text sizes a long word breaks inside it
   (overflow-wrap above) instead of widening the page. (Not overflow-wrap: anywhere on the whole page: it made every
   first layout about four times slower.) The components' own column rules come later and win. */
:is(.hero, .about__grid, .led__grid, .ip-head, .ip, .reviews__grid, .ftr__grid, .ftr__list, .steps, .co__grid, .course__top, .course__body, .prod, .tg, .tg__cta) { grid-template-columns: minmax(0, 1fr); }
/* *word* in an admin text: italic in Russian (Old Standard's real italic); Hebrew has no italic, so it stays upright
   in the accent colour. */
.it { font-style: italic; }
.nw { white-space: nowrap; } /* "ה-LED": a Hebrew prefix stays on its word */
:root:lang(he) .it { font-style: normal; font-synthesis: none; color: var(--accent); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
[hidden] { display: none !important; }
::selection { background: rgba(201, 210, 255, .45); color: inherit; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }

.sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
/* Off screen by its own height (plus its offset), so it stays hidden at any text size until it's focused. */
.skip {
  position: absolute; z-index: 200; inset-inline-start: 12px; top: 12px; transform: translateY(calc(-100% - 24px));
  padding: 12px 18px; border-radius: 999px; background: var(--gold); color: var(--ink);
  font-weight: 600; text-decoration: none; transition: transform .2s;
}
.skip:focus { transform: none; }

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

/* The banner the Worker injects while DEMO=1. */
.demo-banner {
  position: relative; z-index: 60;
  padding: 6px var(--gutter);
  background: var(--ink-3); color: var(--gold-soft);
  border-bottom: 1px solid rgba(216, 194, 157, .3);
  font: 600 .8125rem/1.4 var(--f-body); letter-spacing: var(--track);
  text-align: center;
}
.demo-banner::before {
  content: ''; display: inline-block; width: 6px; height: 6px; margin-inline-end: 10px; vertical-align: .12em;
  border-radius: 50%; background: var(--led); box-shadow: 0 0 8px rgba(201, 210, 255, .7);
}

/* ---------- Icons ---------- */
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ic--sm { width: 18px; height: 18px; }
.ic--lg { width: 26px; height: 26px; }
[dir="rtl"] .ic-dir { transform: scaleX(-1); }

/* ---------- Buttons and links ---------- */
.btn {
  --h: 52px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 28px;
  border: 1px solid var(--btn-bg); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 700 .875rem/1.2 var(--f-body); letter-spacing: var(--track);
  text-align: center; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn::after {
  content: ''; position: absolute; z-index: -1; inset: -1px;
  background: linear-gradient(105deg, transparent 32%, var(--glint) 50%, transparent 68%);
  transform: translateX(-115%); pointer-events: none;
}
[dir="rtl"] .btn::after { transform: translateX(115%); }
.btn--line { background: transparent; color: var(--fg); border-color: var(--btn-line); }
.btn--sm { --h: 44px; padding: 0 20px; font-size: .8125rem; }
.btn--lg { --h: 58px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn .ic { width: 20px; height: 20px; }
@media (hover: hover) {
  .btn--solid:hover { background: transparent; color: var(--fg); border-color: var(--btn-bg); }
  .t-dark .btn--solid:hover, .t-dark.btn--solid:hover { color: var(--gold); }
  .btn--line:hover { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
}
/* The glint that crosses a button on hover (not with reduced motion). */
@media (hover: hover) and (min-width: 0px) {
  .btn:hover::after { transform: translateX(115%); transition: transform .9s var(--ease); }
  [dir="rtl"] .btn:hover::after { transform: translateX(-115%); }
}
.btn:disabled:not(.is-busy), .btn[aria-disabled="true"] { opacity: .42; cursor: not-allowed; pointer-events: none; }
.btn.is-busy { cursor: progress; }
/* Russian and English: phi's captions, letter-spaced capitals (Hebrew has no case). */
:root:lang(ru) :is(.btn, .ftr__h, .buy__t, .tag, .badge), :root:lang(en) :is(.btn, .ftr__h, .buy__t, .tag, .badge) { text-transform: uppercase; letter-spacing: .08em; }
:root:lang(ru) .btn, :root:lang(en) .btn { font-size: .78rem; }
:root:lang(ru) .btn--sm, :root:lang(en) .btn--sm { font-size: .72rem; }
:root:lang(ru) .btn--lg, :root:lang(en) .btn--lg { font-size: .82rem; }

.link {
  color: var(--fg); text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: .32em; text-decoration-color: var(--accent);
  transition: text-decoration-color .3s;
}
.link:hover { text-decoration-color: currentColor; }
button.link { background: none; border: 0; padding: 0; font: inherit; }
.link--icon { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.link--icon span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .32em; text-decoration-color: var(--accent); }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--fg);
  -webkit-tap-highlight-color: transparent;
}
.icon-btn:hover { background: color-mix(in srgb, var(--fg) 8%, transparent); }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  height: var(--hdr-h);
  background: var(--bg); color: var(--fg);
  border-bottom: 1px solid var(--line);
  transition: background-color .35s, border-color .35s;
}
.hdr__in {
  height: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 20px;
}
.hdr--over { background: transparent; border-bottom-color: transparent; }
.hdr--over.is-solid { background: rgba(var(--bg-rgb), .96); border-bottom-color: var(--line); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; }
/* The logo grows with the text size only as far as the phone header has room (at 200% text it would push the header
   wider than the screen); at normal sizes the cap never applies. */
.brand__word { font-family: var(--f-word); font-style: italic; font-weight: 400; font-size: min(1.625rem, 20px + 3.5vw); line-height: 1; letter-spacing: .005em; white-space: nowrap; }
.brand__dot {
  width: 7px; height: 7px; flex: none; border-radius: 50%;
  background: var(--dot); box-shadow: 0 0 10px 2px var(--dot-glow);
  transition: box-shadow .4s var(--ease);
}
.brand:hover .brand__dot { box-shadow: 0 0 14px 5px var(--dot-glow); }

.nav { margin-inline-start: auto; }
.nav ul { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 0; padding: 0; list-style: none; }
.nav a { position: relative; display: inline-block; padding-block: 6px; color: var(--fg); font-size: .9375rem; text-decoration: none; }
.nav a::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 2px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
[dir="rtl"] .nav a::after { transform-origin: right; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr__tools { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav + .hdr__tools { margin-inline-start: 12px; }
.lang-sw { padding: 8px 10px; color: var(--fg-2); font-size: .875rem; text-decoration: none; }
.lang-sw:hover { color: var(--fg); }
:root:lang(he) [data-lang-switch="he"], :root:lang(ru) [data-lang-switch="ru"], :root:lang(en) [data-lang-switch="en"] { display: none !important; }

/* Links to a section (#online, #paths, #packages) stop below the sticky header. */
html { scroll-padding-top: calc(var(--hdr-h) + 16px); }
/* The light / dark switch (chrome.js): a moon in light mode, a sun in dark; the icon turns in as it swaps. */
.mode-btn svg { grid-area: 1 / 1; transition: transform .5s cubic-bezier(.16, 1, .3, 1), opacity .3s; }
.mode-btn__sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
:root[data-mode="dark"] .mode-btn__sun { opacity: 1; transform: none; }
:root[data-mode="dark"] .mode-btn__moon { opacity: 0; transform: rotate(90deg) scale(.6); }
html:not(.js) .mode-btn { display: none; }
/* Small phones: the logo and the four header buttons (switch, language, cart, menu) fit 320px wide: under 400px the
   language button is the globe alone (the page's language shows in the card), under 380px the buttons are 36px and
   the logo a little smaller. */
@media (max-width: 399.98px) {
  .js .hdr__tools .lang-btn { width: 40px; min-width: 0; padding: 0; }
  .lang-btn__code { display: none; }
}
@media (max-width: 379.98px) {
  .hdr__in { gap: 6px; } /* the side margins stay: the home opening slides the buttons in from 20px outside them */
  .hdr__tools { gap: 0; }
  .hdr__tools .icon-btn, .js .hdr__tools .lang-btn { width: 36px; }
  .brand__word { font-size: min(1.5rem, 10px + 3.5vw); }
}
/* The colour change itself is the circle (chrome.js): no crossfade under it (the page transition's vt-out / vt-in
   further down would otherwise run with it, a grey wash: the independent review, 24.10.2026), and no colour
   transitions inside it. */
.mode-vt::view-transition-old(root), .mode-vt::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
.mode-vt * { transition: none !important; }
.cart-btn { position: relative; }
.cart-btn__n {
  position: absolute; top: 4px; inset-inline-end: 2px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 .6875rem/18px var(--f-body); text-align: center;
}
@media (min-width: 0px) { .cart-btn.is-bump .cart-btn__n { animation: bump .5s var(--ease); } }
@keyframes bump { 40% { transform: scale(1.35); } }

.cart-btn, .menu-btn { display: none; }
.js .cart-btn { display: inline-grid; }
@media (max-width: 959.98px) {
  .js .nav { display: none; }
  .js .nav + .hdr__tools { margin-inline-start: auto; } /* the hidden nav no longer pushes the tools to the end */
  .js .menu-btn { display: inline-grid; }
  .js .hdr__tools .lang-sw { display: none; }
  html:not(.js) .hdr { height: auto; }
  html:not(.js) .hdr__in { flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .nav { order: 3; width: 100%; margin: 0; }
}

/* ---------- The language entrance, the language card and the phone header's 🌐 (views.js, chrome.js initLang, boot.js) ----------
   Alona, 15.11.2026: the language before anything else, on a phone too. The owner, the same day: "a please choose a
   language white menu at entrance with the Lash Room logo, and then it opens into the website".
   The entrance: on a first visit (html.gate-on) a white screen over everything with her logo, "choose your language"
   in the three languages and the three languages as big buttons (her phone's language filled). The page waits behind
   it: no scrolling, and its animations (the home opening, the header's entrance) hold their first frame, so they play
   when it opens. A pick of this language lifts it like a curtain into the site (html.gate-opening while it lifts);
   another language opens that page behind the same white screen (html.gate-cont: the logo only), lifted at once.
   The card: on a phone the header's text links hide, so the 🌐 (with the page's language: עב / RU / EN) opens a card
   under the header (fixed, its top set by chrome.js), which closes when she scrolls on. The ✕ sits on the card's
   corner, so the three names get the whole row; with big text they go one under the other. */
.lang-gate { display: none; }
html.gate-on .lang-gate, html.gate-opening .lang-gate {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; overflow-y: auto; overscroll-behavior: contain;
  padding: 32px var(--gutter); background: #fff; color: var(--ink);
}
html.gate-on, html.gate-on body { overflow: hidden; }
html.gate-on:not(.gate-opening) body *:not(.lang-gate, .lang-gate *),
html.gate-on:not(.gate-opening) body *:not(.lang-gate, .lang-gate *)::before,
html.gate-on:not(.gate-opening) body *:not(.lang-gate, .lang-gate *)::after { animation-play-state: paused !important; }
.lang-gate__in { display: grid; justify-items: center; width: min(100%, 560px); text-align: center; }
.lang-gate__brand { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 clamp(26px, 5svh, 44px); }
.lang-gate__dot { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--led-deep); box-shadow: 0 0 12px 3px rgba(74, 79, 209, .45); }
.lang-gate__word { font-family: var(--f-word); font-style: italic; font-weight: 400; font-size: clamp(2.5rem, 1.5rem + 5vw, 4rem); line-height: 1; white-space: nowrap; }
.lang-gate__t { display: grid; gap: 2px; margin: 0 0 clamp(22px, 4svh, 34px); color: #4f5064; font: 400 1rem/1.55 var(--f-body); letter-spacing: 0; }
.lang-gate__opts { display: grid; gap: 12px; width: min(100%, 320px); }
@media (min-width: 720px) { .lang-gate__opts { grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(100%, 540px); } }
.lang-gate__opt {
  display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 56px; padding: 8px 18px;
  border: 1px solid rgba(19, 20, 37, .2); border-radius: 999px; background: #fff; color: var(--ink);
  font: 400 1.0625rem/1.2 var(--f-body); text-decoration: none;
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), background-color .2s, border-color .2s, color .2s;
}
.lang-gate__opt.is-hint { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (hover: hover) { .lang-gate__opt:hover { border-color: var(--ink); } .lang-gate__opt.is-hint:hover { background: var(--ink-3); } }
.lang-gate__opt:active { transform: scale(.98); }
.lang-gate__opt:focus-visible { outline: 2px solid var(--led-deep); outline-offset: 3px; }
/* coming in: the logo, then the line, then the buttons (transform and opacity only, from the first paint) */
html.gate-on:not(.gate-cont) .lang-gate__brand { animation: gate-in 1s cubic-bezier(.16, 1, .3, 1) .05s both; }
html.gate-on:not(.gate-cont) .lang-gate__t { animation: gate-in 1s cubic-bezier(.16, 1, .3, 1) .2s both; }
html.gate-on:not(.gate-cont) .lang-gate__opt { animation: gate-in .9s cubic-bezier(.16, 1, .3, 1) both; }
html.gate-on:not(.gate-cont) .lang-gate__opt:nth-child(1) { animation-delay: .32s; }
html.gate-on:not(.gate-cont) .lang-gate__opt:nth-child(2) { animation-delay: .4s; }
html.gate-on:not(.gate-cont) .lang-gate__opt:nth-child(3) { animation-delay: .48s; }
@keyframes gate-in { from { opacity: 0; transform: translateY(14px); } }
/* continued after a pick of another language: the white screen and the logo only, then it lifts (chrome.js) */
html.gate-cont .lang-gate__t, html.gate-cont .lang-gate__opts { visibility: hidden; }
.lang-btn { display: none; }
@media (max-width: 959.98px) {
  .js .lang-btn { display: inline-flex; align-items: center; justify-content: center; gap: 3px; width: auto; min-width: 44px; padding-inline: 8px; border-radius: 22px; }
}
.lang-btn__code { font: 600 .75rem/1 var(--f-body); }
.lang-btn[aria-expanded="true"] { background: color-mix(in srgb, var(--fg) 8%, transparent); }
@media (hover: none) { .lang-btn:not([aria-expanded="true"]):hover { background: transparent; } } /* a tap's hover isn't "open" */
.lang-card {
  display: none; position: absolute; z-index: 49; top: calc(var(--hdr-h) + 14px); inset-inline: var(--gutter);
  box-sizing: border-box; max-width: 460px; margin-inline: auto; padding: 10px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: 30px;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .4), 0 2px 8px rgba(0, 0, 0, .06);
}
:root[data-mode="dark"] .lang-card {
  background: color-mix(in srgb, var(--fg) 7%, var(--bg)); border-color: color-mix(in srgb, var(--fg) 22%, transparent);
  box-shadow: 0 18px 44px -12px rgba(0, 0, 0, .75);
}
.lang-card.is-open { display: block; position: fixed; }
.lang-card__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 5rem), 1fr)); gap: 8px; }
.lang-card__opt {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 0; min-height: 46px; padding: 6px 8px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--fg); font-size: .9375rem; text-decoration: none;
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), background-color .2s, border-color .2s;
}
.lang-card__opt .ic { width: 16px; height: 16px; flex: none; }
@media (hover: hover) { .lang-card__opt:hover { border-color: var(--fg-2); } }
.lang-card__opt[aria-current="true"] { background: var(--btn-bg); color: var(--btn-fg); border-color: transparent; }
.lang-card__opt.is-hint:not([aria-current]) { background: color-mix(in srgb, var(--accent) 9%, transparent); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.lang-card__opt:active { transform: scale(.97); }
@media (max-width: 359.98px) { .lang-card__opt .ic { display: none; } } /* the marked one is still filled (and aria-current) */
.lang-card__x {
  position: absolute; top: -12px; inset-inline-end: -8px; width: 30px; height: 30px;
  background: var(--bg); border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.lang-card__x::before { content: ''; position: absolute; inset: -7px; } /* a 44px target around the small button */
.lang-card__x .ic { width: 15px; height: 15px; }
:root[data-mode="dark"] .lang-card__x { background: color-mix(in srgb, var(--fg) 12%, var(--bg)); }

/* ---------- Dialogs: menu and cart drawer ---------- */
.sheet {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: inherit; overflow: hidden;
}
.sheet::backdrop { background: transparent; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(9, 10, 20, .55); opacity: 0; transition: opacity .35s var(--ease); }
.sheet.is-open .sheet__scrim { opacity: 1; }

.menu__panel {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  padding: 0 var(--gutter) calc(28px + env(safe-area-inset-bottom));
  opacity: 0; transition: opacity .35s var(--ease); overflow-y: auto;
}
.menu.is-open .menu__panel { opacity: 1; }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--hdr-h); flex: none; }
.menu__nav { margin-block: 6vh auto; }
.menu__nav ul { margin: 0; padding: 0; list-style: none; }
.menu__nav li { border-bottom: 1px solid var(--line); }
.menu__nav a {
  display: block; padding-block: 18px; color: var(--fg); text-decoration: none;
  font-family: var(--f-disp); font-weight: var(--disp-w); font-size: calc(2rem * var(--ds)); line-height: 1.15;
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: calc(.08s + var(--i, 0) * .06s);
}
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-top: 28px; color: var(--fg-2); }
.menu__foot a { color: var(--fg); }

.drawer__panel {
  position: absolute; inset-block: 0; inset-inline-end: 0;
  width: min(440px, 100%); display: flex; flex-direction: column;
  box-shadow: 0 0 60px rgba(0, 0, 0, .25);
  transform: translateX(102%); transition: transform .45s var(--ease);
}
[dir="rtl"] .drawer__panel { transform: translateX(-102%); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: var(--hdr-h); padding-inline: 24px 12px; border-bottom: 1px solid var(--line); flex: none;
}
.drawer__title { margin: 0; font-family: var(--f-disp); font-weight: var(--disp-w); font-size: calc(1.625rem * var(--ds)); }
.drawer__title:focus { outline: none; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; overscroll-behavior: contain; }
.drawer__foot { flex: none; padding: 18px 24px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg-2); }
.drawer__foot:empty { display: none; }
.drawer__note { margin: 16px 0 0; padding: 12px 14px; border-radius: var(--radius); background: var(--bg-3); font-size: .9375rem; }
.drawer__empty { padding-block: 40px 12px; text-align: center; }
.drawer__empty h3 { margin: 0 0 6px; font-family: var(--f-disp); font-weight: var(--disp-w); font-size: calc(1.5rem * var(--ds)); }
.drawer__empty p { color: var(--fg-2); }
.drawer__empty .btn { margin-top: 18px; }
.drawer__actions { display: grid; gap: 10px; margin-top: 16px; }
.drawer__actions .link { justify-self: center; font-size: .9375rem; }
@media (max-width: 0px) {
  .sheet__scrim, .menu__panel, .menu__nav a, .drawer__panel { transition: none; }
}

/* Cart lines (drawer and checkout) */
.lines { margin: 0; padding: 0; list-style: none; }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 4px 14px; align-items: start; padding-block: 18px; border-bottom: 1px solid var(--line); }
.line__thumb { position: relative; grid-row: span 2; width: 64px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: var(--bg-3); }
.line__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.line__thumb .ph { position: absolute; inset: 0; }
.line__thumb .ph { --o: 7px; --l: 9px; }
.line__thumb .ph__label { display: none; }
.line__title { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.35; }
.line__title a { text-decoration: none; }
.line__title a:hover { text-decoration: underline; }
.line__sub { margin: 2px 0 0; font-size: .875rem; color: var(--fg-2); }
.line__price { font-weight: 600; white-space: nowrap; }
.line__ctrl { grid-column: 2 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.line__rm { font-size: .875rem; color: var(--fg-2); }
.lines--compact .line { grid-template-columns: 52px minmax(0, 1fr) auto; padding-block: 14px; }
.lines--compact .line__thumb { width: 52px; grid-row: auto; }

.totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 0; margin: 16px 0 0; }
.totals dt { color: var(--fg-2); }
.totals dd { margin: 0; padding-inline-start: 16px; text-align: end; font-weight: 600; white-space: nowrap; }
.totals .is-total { padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line); color: var(--fg); font-size: 1.125rem; }

.qty { display: inline-flex; align-items: center; height: 44px; border: 1px solid var(--line-2); border-radius: 999px; }
.qty button { display: grid; place-items: center; width: 42px; height: 100%; padding: 0; border: 0; background: none; color: var(--fg); border-radius: 999px; }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty output, .qty span { min-width: 2.2ch; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.qty--lg { height: 52px; }
.qty--lg button { width: 48px; }

/* ---------- Mobile bottom bar ---------- */
.mbar {
  position: fixed; z-index: 40; inset-inline: 0; bottom: 0;
  display: flex; align-items: center; gap: 10px;
  min-height: var(--mbar-h); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--bg); color: var(--fg); border-top: 1px solid var(--line);
}
/* Labels may wrap (large text settings): the bar never grows wider than the screen. */
.mbar > .btn { flex: 1 1 0; min-width: 0; white-space: normal; padding: 6px 12px; line-height: 1.15; }
.mbar__price { display: grid; line-height: 1.25; margin-inline-end: auto; }
.mbar__price strong { font-size: 1.125rem; }
.mbar__price span { font-size: .8125rem; color: var(--fg-2); }
.mbar--buy > .btn { flex: 0 1 auto; padding-inline: 24px; }
.mbar--buy > .btn:only-child { flex: 1 1 auto; }
.mbar { transition: transform .4s var(--ease); }
.mbar.is-away { transform: translateY(110%); }
/* Home: the bar waits below the screen while the hero's own buttons are in view (home.js adds .is-on once they've
   scrolled away). It rises on the entrance curve and leaves faster on power2.in; hidden, it can't take focus. */
.js .mbar--hero:not(.is-on) {
  transform: translate3d(0, 110%, 0); visibility: hidden;
  transition: transform .3s cubic-bezier(.55, .085, .68, .53), visibility 0s .3s;
}
.mbar--hero.is-on { transition: transform .5s var(--m-ease); }
body.has-mbar { padding-bottom: calc(var(--mbar-h) + env(safe-area-inset-bottom)); }
@media (min-width: 960px) {
  .mbar { display: none !important; }
  body.has-mbar { padding-bottom: 0; }
}

/* ---------- Sections ---------- */
/* Phones keep 80px; wide screens stop at about 104px (152px left ~300px of empty space between sections). */
.sec { padding-block: clamp(80px, 2.5vw + 64px, 104px); }
.sec--tight { padding-block: clamp(56px, 2vw + 44px, 80px); }
.sec__head { max-width: 46rem; margin-bottom: clamp(32px, 3.5vw, 52px); }
.sec__title {
  margin: 0 0 .45em;
  font-family: var(--f-disp); font-weight: var(--disp-w); font-size: var(--fs-h2);
  line-height: 1.1; letter-spacing: -.005em; text-wrap: balance;
}
.sec__title:last-child { margin-bottom: 0; }
.sec__lead { max-width: 38rem; margin: 0; color: var(--fg-2); font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.65; }
.sec__more { margin: clamp(32px, 4vw, 48px) 0 0; }
.prose { max-width: 40rem; }
.prose p { margin: 0 0 1em; }
.prose p:last-child { margin-bottom: 0; }
.page { padding-block: 8px clamp(80px, 10vw, 136px); }
.page__title {
  margin: 0 0 .4em;
  font-family: var(--f-disp); font-weight: var(--disp-w); font-size: var(--fs-h1);
  line-height: 1.08; letter-spacing: -.01em; text-wrap: balance;
}
.page-head { padding-block: clamp(40px, 6vw, 88px) clamp(36px, 5vw, 64px); }
.page-head .sec__lead { margin-top: 4px; }

.crumbs { padding-block: 22px 8px; font-size: .9375rem; }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; color: var(--fg-2); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.crumbs .ic { width: 18px; height: 18px; }

.state { padding-block: 32px; color: var(--fg-2); }
.state .btn { margin-top: 18px; }
.empty-note { max-width: 36rem; padding: 28px 0; color: var(--fg-2); }

/* ---------- Motion (public/assets/motion.js) ----------
   Hidden states only under html.js (set before the first paint by boot.js) with motion allowed, and never under
   html.m-off (motion.js started late). Until motion.js has started (html.m-on), a failsafe shows everything after
   3s, so a script that never runs can't leave the page blank. Transitions live on .m-in only, so a replayed section
   jumps back to its start state instead of animating backwards. */
@media (min-width: 0px) {
  .js:not(.m-off) [data-m]:not([data-m="mask"]):not(.m-in) { opacity: 0; }
  .js:not(.m-off) [data-m="up"]:not(.m-in) { transform: translate3d(0, var(--m-y), 0); }
  .js:not(.m-off) [data-m="scale"]:not(.m-in) :is(img, video, .ph) { transform: scale(1.2); }
  .js:not(.m-off) [data-m="mask"]:not(.m-in) .mk__a { transform: translate3d(0, 100%, 0); }
  .js:not(.m-off) [data-m="mask"]:not(.m-in) .mk__b { transform: translate3d(0, -100%, 0); }
  .js:not(.m-off) [data-m="mask"]:not(.m-in) .mk__b img { transform: scale(1.6); }
  .js:not(.m-off) [data-count]:not(.m-in) .stat__n { opacity: 0; transform: translate3d(0, 25px, 0); }
  .js:not(.m-off) [data-count]:not(.m-in) .stat__l { opacity: 0; transform: translate3d(0, -25px, 0); }
  .js:not(.m-on):not(.m-off) :is([data-m], [data-m] img, [data-m] video, [data-m] .ph, .mk__a, .mk__b, [data-count] .stat__n, [data-count] .stat__l) {
    animation: m-show 0s 3s forwards;
  }

  [data-m].m-in { transition: opacity 1.4s var(--m-ease), transform 1.4s var(--m-ease); transition-delay: calc(var(--d, 0) * 1s); }
  [data-m="fade"].m-in { transition-duration: 1s; }
  [data-m="scale"].m-in :is(img, video, .ph) { transition: transform 1.4s var(--m-ease) calc(var(--d, 0) * 1s); }
  [data-m="mask"].m-in :is(.mk__a, .mk__b, .mk__b img) { transition: transform 1.6s var(--m-mask) calc(var(--d, 0) * 1s); }
  [data-m="lines"].m-in { transition: none; }
  [data-m="lines"].m-in .ln > span { animation: m-rise 1.4s var(--m-ease) both; animation-delay: calc((var(--d, 0) + var(--i, 0) * .1) * 1s); }
  [data-count].m-in :is(.stat__n, .stat__l) { transition: opacity 1.2s var(--m-ease), transform 1.2s var(--m-ease); transition-delay: calc(var(--d, 0) * 1s); }
}
@keyframes m-show { to { opacity: 1; transform: none; } }
@keyframes m-rise { from { transform: translate3d(0, 105%, 0); } to { transform: none; } }
@keyframes m-fadein { from { opacity: 0; } to { opacity: 1; } }
/* Lines of a split heading: each clips its own rise (descender room so nothing is cut). */
.ln { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.ln > span { display: block; }
/* Mask frames: [data-m="mask"] > .mk__a > .mk__b > image. The frame slides in while the image stays put. */
[data-m="mask"] { overflow: hidden; }
.mk__a, .mk__b { position: absolute; inset: 0; overflow: hidden; }
/* Photo focus from the admin (which part of a cropped photo stays in view). */
img[data-focus="top"] { object-position: 50% 18%; }
img[data-focus="bottom"] { object-position: 50% 82%; }
/* Loops (marquees, the stamp ring) pause off screen. */
[data-m-loop].is-off, [data-m-loop].is-off * { animation-play-state: paused !important; }
/* Page change: a short cross-fade between pages (Chrome, Edge, Safari 18). */
@media (min-width: 0px) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out .32s cubic-bezier(.4, 0, 1, 1) both; }
  ::view-transition-new(root) { animation: vt-in .64s var(--m-ease) both; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* The LED light sweep across text (one pass, core.js ledSweep). A gradient moves through the heading's own letters:
   its ends are the text colour, so at rest the heading looks exactly as before, and the light lands on the real
   letters wherever they wrap. Nothing new is painted (no copy of the text, nothing for LCP to pick up). A text shadow
   would paint over clipped text, so a heading's shadow (--tshadow) becomes a drop-shadow filter for the pass. */
.led-text { position: relative; text-shadow: var(--tshadow, none); }
.led-text.is-lit {
  background: linear-gradient(100deg, currentColor 0 40%, var(--sweep-hi) 47%, var(--sweep-core) 50%, var(--sweep-hi) 53%, currentColor 60% 100%) 0 0 / 320% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(var(--tshadow));
  animation: led-sweep 1.9s var(--ease-io) both;
}
[dir="rtl"] .led-text.is-lit { animation-name: led-sweep-rtl; }
@keyframes led-sweep { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes led-sweep-rtl { from { background-position: 0 0; } to { background-position: 100% 0; } }
@media (forced-colors: active) {
  .led-text.is-lit { animation: none; background: none; -webkit-text-fill-color: currentColor; filter: none; }
}

/* ---------- Photo placeholder ("your photo here") ---------- */
.ph {
  --o: 14px; --l: 20px; --w: 1px; --gx: 22%; --gy: 18%;
  position: absolute; inset: 0;
  display: grid; place-items: center; padding-bottom: 18%;
  color: var(--fg-2);
  background:
    linear-gradient(var(--ph-mark), var(--ph-mark)) top var(--o) left var(--o) / var(--l) var(--w),
    linear-gradient(var(--ph-mark), var(--ph-mark)) top var(--o) left var(--o) / var(--w) var(--l),
    linear-gradient(var(--ph-mark), var(--ph-mark)) top var(--o) right var(--o) / var(--l) var(--w),
    linear-gradient(var(--ph-mark), var(--ph-mark)) top var(--o) right var(--o) / var(--w) var(--l),
    linear-gradient(var(--ph-mark), var(--ph-mark)) bottom var(--o) left var(--o) / var(--l) var(--w),
    linear-gradient(var(--ph-mark), var(--ph-mark)) bottom var(--o) left var(--o) / var(--w) var(--l),
    linear-gradient(var(--ph-mark), var(--ph-mark)) bottom var(--o) right var(--o) / var(--l) var(--w),
    linear-gradient(var(--ph-mark), var(--ph-mark)) bottom var(--o) right var(--o) / var(--w) var(--l),
    radial-gradient(120% 80% at var(--gx) var(--gy), var(--ph-glow), transparent 62%),
    var(--bg-2);
  background-repeat: no-repeat;
  transition: transform .6s var(--ease);
}
.ph--plain { padding-bottom: 0; }
.ph__label {
  display: inline-flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--f-disp); font-size: calc(1.0625rem * var(--ds)); line-height: 1.3; text-align: center;
}
:root:lang(ru) .ph__label, :root:lang(en) .ph__label { font-style: italic; }
:root:lang(he) .ph__label { font-family: var(--f-body); font-weight: 600; font-size: .9375rem; }
.ph__label::before {
  content: ''; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid currentColor; opacity: .55;
  background: radial-gradient(circle, currentColor 0 2px, transparent 2.5px);
}
.t-light .ph { background-color: var(--bg-3); }
.t-light .ph { background:
    linear-gradient(var(--ph-mark), var(--ph-mark)) top var(--o) left var(--o) / var(--l) var(--w) no-repeat,
    linear-gradient(var(--ph-mark), var(--ph-mark)) top var(--o) left var(--o) / var(--w) var(--l) no-repeat,
    linear-gradient(var(--ph-mark), var(--ph-mark)) top var(--o) right var(--o) / var(--l) var(--w) no-repeat,
    linear-gradient(var(--ph-mark), var(--ph-mark)) top var(--o) right var(--o) / var(--w) var(--l) no-repeat,
    linear-gradient(var(--ph-mark), var(--ph-mark)) bottom var(--o) left var(--o) / var(--l) var(--w) no-repeat,
    linear-gradient(var(--ph-mark), var(--ph-mark)) bottom var(--o) left var(--o) / var(--w) var(--l) no-repeat,
    linear-gradient(var(--ph-mark), var(--ph-mark)) bottom var(--o) right var(--o) / var(--l) var(--w) no-repeat,
    linear-gradient(var(--ph-mark), var(--ph-mark)) bottom var(--o) right var(--o) / var(--w) var(--l) no-repeat,
    radial-gradient(120% 80% at var(--gx) var(--gy), var(--ph-glow), transparent 62%) no-repeat,
    var(--bg-3);
}

/* ---------- Hero ----------
   Phones: the LED photo full-bleed (62svh), Alona's portrait in the turning stamp ring, the headline below.
   Desktop: the headline beside a composition: the main photo (a mask uncovers it from below while it settles from
   1.6x), a macro tile sliding in from the text side, the portrait rising, one pass of light over the photo, and a
   slow parallax on scroll (home.js). Without a hero photo, the drawn eye (the SVG) fills the main panel.
   Layers: .hero__main > .mk__a (mask) > .mk__b (counter-mask) > .hero__par (parallax) > .hero__img (zoom) > img. */
.hero { position: relative; display: grid; margin-top: calc(-1 * var(--hdr-h)); overflow-x: clip; }
.hero__media { position: relative; }
/* Phones, the photo above the headline: the hero fills the first screen above the phone bar and the photo takes the
   room the headline and buttons leave (never under --hero-mh), so the main button is always on the first screen
   (390x700 included). The alternative openings that stack the same way do it in intro.css. */
:root { --hero-mh: 240px; }
@media (max-width: 959.98px) {
  :root:not([data-intro]) .hero.has-photo { grid-template-rows: minmax(var(--hero-mh), 1fr) auto; min-height: calc(100svh - var(--mbar-h)); }
  :root:not([data-intro]) .hero.has-photo .hero__main { height: 100%; min-height: 0; max-height: none; }
}
.hero__main {
  position: relative; overflow: hidden;
  height: clamp(250px, 40svh, 440px);
  background:
    radial-gradient(70% 60% at 50% 58%, rgba(142, 155, 255, .13), transparent 70%),
    linear-gradient(180deg, #17182d 0%, var(--ink-2) 55%, var(--ink) 100%);
}
.hero.has-photo .hero__main { height: 62svh; min-height: 360px; max-height: 720px; }
/* The photo stops 2px above the panel's edge (that strip is solid ink anyway): on a fractional height its
   anti-aliased edge would otherwise show as a light line under the photo. */
@media (max-width: 959.98px) { .hero.has-photo .hero__main .mk__a { bottom: 2px; } }
.hero__main::after {
  content: ''; position: absolute; z-index: 1; inset-inline: 0; bottom: -1px; height: 34%;
  background: linear-gradient(180deg, rgba(19, 20, 37, 0), var(--ink) 94%); pointer-events: none; /* solid at the edge: no photo line on fractional heights */
}
.hero.has-photo .hero__main::before {
  content: ''; position: absolute; z-index: 1; inset-inline: 0; top: 0; height: calc(var(--hdr-h) + 40px);
  background: linear-gradient(180deg, rgba(19, 20, 37, .55), rgba(19, 20, 37, 0)); pointer-events: none;
}
.hero__par, .hero__img { position: absolute; inset: 0; }
/* Scroll parallax layers (assets/parallax.js): the hero's [data-par] and the .px the server puts around the other
   large photos. Each is oversized by --px-e above and below, so the drift (±15% of the layer on desktop, ±9.5% on phones)
   never shows an edge. The hero's photos rest at the middle of their path (scale 1.09) from the first paint. */
/* A layer 1 + 2e frames tall, moved by A% of its own height, still covers the frame while e >= A / (100 - 2A):
   21.4% for A = 15, 11.7% for A = 9.5 (at the end of the path the scale is 1, so it adds nothing); a little more
   here, so rounding never shows a hairline (measured at 390, 768 and 1440: 2px or more to spare). */
:root { --px-e: 23%; }
@media (max-width: 959.98px) { :root { --px-e: 13%; } }
.px { position: absolute; inset: calc(-1 * var(--px-e)) 0; display: block; }
.js .hero__par { inset: calc(-1 * var(--px-e)) 0; transform: scale(1.09); }
.hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lash-art { --flip: 1; --zoom: 1.08; position: absolute; inset: 0; width: 100%; height: 100%; transform: scale(calc(var(--flip) * var(--zoom)), var(--zoom)); }
[dir="rtl"] .lash-art { --flip: -1; }
@media (min-width: 960px) { .lash-art { --zoom: 1; inset: auto 0; top: 50%; height: auto; aspect-ratio: 4 / 5; translate: 0 -50%; } }
.lash-art .lid { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; }
.lash-art .crease { fill: none; stroke: rgba(216, 194, 157, .3); stroke-width: 1.1; stroke-linecap: round; }
.lash-art .lashes { fill: none; stroke-linecap: round; }
.lash-art .lashes-main { stroke: url(#lr-fade); stroke-width: 1.8; }
.lash-art .lashes-fine { stroke: url(#lr-fade); stroke-width: 1.1; opacity: .6; }
.lash-art .lit { stroke: #eef1ff; stroke-width: 2.1; }
.lash-art .lit-fine { stroke: #dfe5ff; stroke-width: 1.3; }
.lash-art .spot { opacity: 0; }
.hero__sweep {
  position: absolute; z-index: 1; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 32%, rgba(214, 222, 255, .22) 45%, rgba(246, 247, 255, .42) 50%, rgba(214, 222, 255, .22) 55%, transparent 68%);
  mix-blend-mode: screen;
}
.hero__macro { display: none; }
/* Markup only the alternative openings use (intro.css shows it). */
.hero__alona, .hero__lids, .hero__led, .hero__dot { display: none; }
/* Alona in the stamp ring. The ring's text is a fixed Latin line, so it reads the same on both language pages. */
.hero__me { position: absolute; z-index: 2; inset-inline-end: calc(var(--gutter) + 26px); bottom: 34px; width: 84px; aspect-ratio: 1; } /* the ring stands 30% out */
.hero__face { position: absolute; inset: 0; overflow: hidden; border-radius: 50%; background: var(--ink-3); box-shadow: 0 0 0 1px rgba(216, 194, 157, .45); }
.hero__face img { width: 100%; height: 100%; object-fit: cover; }
/* direction: ltr, or on Hebrew pages the Latin text runs backwards off the start of its circle and isn't drawn. */
.stamp { position: absolute; top: -30%; left: -30%; width: 160%; height: 160%; max-width: none; overflow: visible; pointer-events: none; direction: ltr; unicode-bidi: isolate; }
.stamp text {
  fill: var(--gold-soft); font-family: var(--f-num); font-size: 13px; letter-spacing: .12em;
  paint-order: stroke; stroke: rgba(19, 20, 37, .7); stroke-width: 3px; stroke-linejoin: round; /* legible over the photo too */
}
@media (min-width: 0px) { .stamp { animation: spin 12s linear infinite; } }

.hero__copy { position: relative; z-index: 1; padding: 0 var(--gutter) clamp(56px, 9vw, 96px); margin-top: -24px; }
.hero.has-photo .hero__copy { margin-top: 0; }
.hero__title {
  margin: 0; max-width: 15ch;
  font-family: var(--f-disp); font-weight: var(--disp-w); font-size: var(--fs-hero);
  line-height: 1.06; letter-spacing: -.01em; text-wrap: balance;
}
:root:lang(ru) .hero__title, :root:lang(en) .hero__title { max-width: none; font-size: calc(clamp(2.125rem, 1.3rem + 2.6vw, 3.75rem) * var(--ds)); line-height: 1.1; letter-spacing: -.015em; }
.hero__sub { max-width: 34rem; margin: 22px 0 0; color: var(--fg-2); font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.6; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
@media (max-width: 479.98px) { .hero__cta .btn { flex: 1 1 100%; } }
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); grid-template-areas: "copy media"; min-height: min(100svh, 1000px); }
  .hero__media { grid-area: media; min-height: 640px; }
  .hero__main, .hero.has-photo .hero__main { position: absolute; inset: 0; height: auto; min-height: 0; max-height: none; }
  .hero__main::after { display: none; }
  /* The nav sits over the photo on desktop: a deeper top shade keeps the links readable on bright photos. */
  .hero.has-photo .hero__main::before {
    height: calc(var(--hdr-h) + 140px);
    background: linear-gradient(180deg, rgba(19, 20, 37, .82), rgba(19, 20, 37, .4) 55%, rgba(19, 20, 37, 0));
  }
  .hdr--over:not(.is-solid) .nav a, .hdr--over:not(.is-solid) .lang-sw { text-shadow: 0 1px 12px rgba(0, 0, 0, .55); }
  .hero__macro {
    display: block; position: absolute; z-index: 2; overflow: hidden;
    inset-inline-start: calc(-1 * clamp(64px, 6vw, 104px)); bottom: 10%;
    width: clamp(170px, 16vw, 250px); aspect-ratio: 1;
    background: var(--ink-2); box-shadow: 0 0 0 10px var(--ink);
  }
  .hero__me { inset-inline-end: auto; inset-inline-start: -64px; top: 24%; bottom: auto; width: clamp(108px, 8.5vw, 132px); }
  .hero__copy {
    grid-area: copy; align-self: center; margin: 0;
    padding-block: calc(var(--hdr-h) + 56px) 88px;
    padding-inline-start: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
    padding-inline-end: clamp(110px, 9.5vw, 156px);
  }
  .hero.has-photo .hero__copy { margin: 0; }
  .hero__sub { margin-top: 28px; }
  .hero__cta { margin-top: 44px; }
}

/* Hero intro: CSS keyframes that start with the first paint (no waiting for scripts). The phone photo only settles
   from a slight zoom, never hidden, so it is painted (and counted as the page's main image) at once. The headline is
   split into lines by home.js after the fonts load; if that comes late, it simply shows.
   The alternative openings (?intro=…, html[data-intro]) are in intro.css; these rules are the default one. */
@media (min-width: 0px) {
  .js:not([data-intro]) .hero__main .hero__img { animation: hero-zoom 1.8s var(--m-ease) both; }
  .js:not([data-intro]) .hero__me { animation: hero-up 1.6s var(--m-ease) .35s both; }
  .js .hero .lash-art .spot { animation: lamp 3s var(--ease-io) 1.3s both; }
  .js:not([data-intro]) .hero.has-photo .hero__sweep { animation: hero-sweep 1.9s var(--m-mask) 1.55s both; }
  .js:not([data-intro]) .hero__title:not(.is-split) { opacity: 0; animation: m-show 0s 1.4s forwards; }
  :root:not([data-intro]) .hero__title.is-split .ln > span { animation: m-rise 1.4s var(--m-ease) both; animation-delay: calc(.12s + var(--i, 0) * .1s); }
  .js:not([data-intro]) .hero__sub { animation: hero-fade 1.2s var(--m-ease) both; animation-delay: calc(.45s + var(--n, 3) * .1s); }
  .js:not([data-intro]) .hero__cta { animation: hero-fade 1.2s var(--m-ease) both; animation-delay: calc(.57s + var(--n, 3) * .1s); }
}
@media (min-width: 960px) and (min-width: 0px) {
  .js:not([data-intro]) .hero__main .mk__a { animation: mk-up 1.6s var(--m-mask) .1s both; }
  .js:not([data-intro]) .hero__main .mk__b { animation: mk-down 1.6s var(--m-mask) .1s both; }
  .js:not([data-intro]) .hero__main .hero__img { animation: mk-zoom 1.6s var(--m-mask) .1s both; }
  .js:not([data-intro]) .hero__macro .mk__a { animation: mk-x 1.6s var(--m-mask) .25s both; }
  .js:not([data-intro]) .hero__macro .mk__b { animation: mk-x-in 1.6s var(--m-mask) .25s both; }
  .js:not([data-intro]) .hero__macro .hero__img { animation: mk-zoom 1.6s var(--m-mask) .25s both; }
}
@keyframes hero-zoom { from { transform: scale(1.14); } to { transform: none; } }
@keyframes hero-up { from { opacity: 0; transform: translate3d(0, 60%, 0); } to { opacity: 1; transform: none; } }
@keyframes hero-fade { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }
@keyframes mk-up { from { transform: translate3d(0, 100%, 0); } to { transform: none; } }
@keyframes mk-down { from { transform: translate3d(0, -100%, 0); } to { transform: none; } }
@keyframes mk-zoom { from { transform: scale(1.6); } to { transform: none; } }
@keyframes mk-x { from { transform: translate3d(calc(-100% * var(--dirx)), 0, 0); } to { transform: none; } }
@keyframes mk-x-in { from { transform: translate3d(calc(100% * var(--dirx)), 0, 0); } to { transform: none; } }
@keyframes hero-sweep {
  0% { opacity: 0; transform: translate3d(calc(-75% * var(--dirx)), 0, 0); }
  20%, 70% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(calc(75% * var(--dirx)), 0, 0); }
}
@keyframes lamp {
  0% { opacity: 0; transform: translateX(-40px); }
  16% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateX(840px); }
}

/* ---------- Marquee ---------- */
/* Two bands, as on phi: display words at 60s, and a quieter caption band the other way at 120s. */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 20px; }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
.marquee--alt { border-top: 0; padding-block: 16px; }
.marquee--alt .marquee__track { animation-name: marquee-rtl; animation-duration: 120s; }
[dir="rtl"] .marquee--alt .marquee__track { animation-name: marquee; }
.marquee__set { display: flex; margin: 0; padding: 0; list-style: none; }
.marquee__set li {
  display: flex; align-items: center; white-space: nowrap;
  font-family: var(--f-disp); font-weight: var(--disp-w); font-size: calc(clamp(1.375rem, 1.15rem + .8vw, 1.875rem) * var(--ds));
  color: var(--fg-2);
}
:root:lang(ru) .marquee__set li, :root:lang(en) .marquee__set li { font-style: italic; }
.marquee--alt .marquee__set li {
  font: 700 .8125rem/1.4 var(--f-body); letter-spacing: var(--track); color: var(--fg-2);
}
:root:lang(ru) .marquee--alt .marquee__set li, :root:lang(en) .marquee--alt .marquee__set li { font-style: normal; text-transform: uppercase; letter-spacing: .14em; }
.marquee--alt .marquee__set li::after { width: 4px; height: 4px; margin-inline: clamp(22px, 3vw, 36px); background: var(--orn); box-shadow: none; }
.marquee__set li::after {
  content: ''; width: 6px; height: 6px; margin-inline: clamp(28px, 4vw, 48px); border-radius: 50%;
  background: var(--dot); box-shadow: 0 0 10px 1px rgba(var(--glow-rgb), .55);
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
@media (hover: hover) { .marquee:hover .marquee__track { animation-play-state: paused; } }
@media (max-width: 0px) { .marquee__track { animation: none; } }

/* ---------- Course cards ---------- */
.cards { display: grid; gap: clamp(36px, 4vw, 40px) clamp(20px, 3vw, 32px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 700px) { .cards:has(> :only-child) { grid-template-columns: minmax(0, 1fr); } }
.ccard { position: relative; display: flex; flex-direction: column; }
.ccard__media { position: relative; overflow: hidden; aspect-ratio: 8 / 9; border-radius: 2px; background: var(--bg-2); }
@media (min-width: 700px) { .ccard__media { aspect-ratio: 4 / 5; } }
@media (min-width: 1100px) {
  .cards:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards:has(> :nth-child(2):last-child) .ccard__media { aspect-ratio: 5 / 4; }
}
@media (min-width: 700px) { .cards:has(> :only-child) .ccard__media { aspect-ratio: 16 / 9; } }
.ccard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ccard__media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(19, 20, 37, 0) 30%, rgba(19, 20, 37, .55) 64%, rgba(19, 20, 37, .94) 100%);
}
.ccard__over { position: absolute; z-index: 1; inset-inline: 0; bottom: 0; padding: clamp(20px, 2.6vw, 30px); color: var(--ivory); }
.ccard__title { margin: 0; font-family: var(--f-disp); font-weight: var(--disp-w); font-size: var(--fs-h3); line-height: 1.15; text-wrap: balance; }
.ccard__title a { color: inherit; text-decoration: none; }
/* The whole card is the link (blocks.js cover): above the photo, the title strip and the foot. */
.ccard__link { position: absolute; inset: 0; z-index: 4; -webkit-tap-highlight-color: transparent; }
.ccard__title a:focus-visible { outline: none; }
.ccard:has(.ccard__title a:focus-visible) { outline: 2px solid var(--focus); outline-offset: 6px; }
.ccard__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 10px 0 0; color: #d3cfdf; font-size: .875rem; }
.ccard__summary { margin: 18px 0 0; color: var(--fg-2); }
.ccard__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 20px; }
.ccard__price { font-family: var(--f-disp); font-size: calc(1.5rem * var(--ds)); line-height: 1.1; }
.ccard__price small { display: block; margin-top: 4px; font-family: var(--f-body); font-size: .8125rem; color: var(--fg-2); }
.ccard__pill { pointer-events: none; }
@media (hover: hover) {
  .ccard:hover .ccard__pill { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
}
/* phi's card hover: the photo zooms to 1.1 over .6s (not with reduced motion). */
@media (hover: hover) and (min-width: 0px) {
  .ccard__img, .ccard__media .ph { transition: transform .6s var(--m-ease); }
  .ccard:hover .ccard__img, .ccard:hover .ccard__media .ph { transform: scale(1.1); }
}

/* ---------- About ---------- */
.about__grid { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
/* Alona's photo with the seminar photo overlapping its corner. Both are small originals (640px), so neither is ever
   shown wider than that. */
.about__media { position: relative; width: 100%; max-width: 460px; padding-bottom: 16%; }
.about__img { position: relative; width: 80%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: var(--bg-2); }
.about__img img, .about__img2 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__img2 {
  position: absolute; inset-inline-end: 0; bottom: 0; width: 44%; aspect-ratio: 1; overflow: hidden;
  border-radius: 2px; background: var(--bg-2); box-shadow: 0 0 0 8px var(--bg);
}
.about__media:not(:has(.about__img2)) { padding-bottom: 0; }
.about__media:not(:has(.about__img2)) .about__img { width: 100%; }
.about__copy .prose { margin-top: 8px; color: var(--fg-2); font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); }
.about__copy .link--icon { margin-top: 28px; }
@media (min-width: 900px) { .about__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }

/* ---------- Numbers row (admin → site photos & numbers; final values come in the HTML, motion.js counts) ---------- */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 36px clamp(24px, 4vw, 64px);
  margin: clamp(64px, 9vw, 128px) 0 0; padding: clamp(32px, 4vw, 48px) 0 0; list-style: none; border-top: 1px solid var(--line);
}
.stat { display: grid; gap: 14px; align-content: start; }
.stat__n {
  display: block; font-family: var(--f-num); font-weight: 400;
  font-size: clamp(3.25rem, 2.3rem + 4vw, 6.5rem); line-height: .95; letter-spacing: -.02em;
  font-variant-numeric: lining-nums tabular-nums; color: var(--fg);
}
.stat__n [data-n] { display: inline-block; }
.stat__l { max-width: 15rem; color: var(--fg-2); font-size: .9375rem; line-height: 1.5; }
.stats--sm { margin-top: clamp(36px, 5vw, 56px); padding-top: 28px; }
.stats--sm .stat__n { font-size: clamp(2.5rem, 1.9rem + 2.6vw, 4.25rem); }
/* The home numbers, big (phi): Old Standard italic digits, tabular, a small quiet label under each. Two columns on
   phones (an odd last one spans both), three on desktop, four (a little smaller) when there are exactly four. */
.stats--big { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(44px, 6vw, 72px) clamp(20px, 4vw, 64px); }
.stats--big > .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* A number never wraps: it shrinks to its column (cqi), so "1,000+" stays on one line on a phone. The + and other
   affixes are smaller than the digits. */
.stats--big .stat { gap: 18px; container-type: inline-size; }
.stats--big .stat__n { font-size: min(clamp(4rem, 2rem + 8vw, 9rem), 32cqi); font-style: italic; line-height: .9; letter-spacing: -.03em; white-space: nowrap; }
.stats--big .stat__n bdi > span:not([data-n], .stat__range) { font-size: .62em; } /* a + or a symbol; "4–" of 4–7 stays full size */
.stats--big .stat__l { max-width: 17rem; font-size: .875rem; line-height: 1.55; }
@media (min-width: 960px) {
  .stats--big { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats--big > .stat:last-child:nth-child(odd) { grid-column: auto; }
  .stats--big:has(> .stat:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats--big:has(> .stat:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats--big:has(> .stat:nth-child(4):last-child) .stat__n { font-size: min(clamp(4rem, 2rem + 5.6vw, 7.25rem), 32cqi); }
}

/* ---------- LED statement ---------- */
.led { position: relative; overflow: hidden; background: var(--bg-alt); }
.led__lamp {
  position: absolute; inset-inline: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--glow-rgb), .9) 50%, transparent);
  box-shadow: 0 0 24px 2px rgba(var(--glow2-rgb), .35);
  transform: scaleX(0); transition: transform 1.6s var(--ease);
}
.led__lamp::after {
  content: ''; position: absolute; inset-inline: 10%; top: 0; height: 180px;
  background: radial-gradient(60% 100% at 50% 0, rgba(var(--glow2-rgb), .14), transparent 70%);
  opacity: 0; transition: opacity 1.6s var(--ease) .3s;
}
.led.is-on .led__lamp { transform: none; }
.led.is-on .led__lamp::after { opacity: 1; }
.led__grid { position: relative; display: grid; gap: 28px; }
.led__title { margin: 0; max-width: 16ch; font-family: var(--f-disp); font-weight: var(--disp-w); font-size: calc(var(--fs-h2) * 1.12); line-height: 1.08; text-wrap: balance; }
.led__body { color: var(--fg-2); font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem); line-height: 1.6; }
/* The LED photo, or the looping video in its place (pages.js [data-video]; 778px wide): never wider than 360px.
   With Alona's two small photos (24.10.2026: the lamp, and its beam on the lash line) the three make one block, never
   overlapping (the owner's calls): the video big on top, the two photos side by side under it, an even gap between
   them, the same rounded corners. On desktop the block is the left column (the Hebrew page's end side). */
.led__media { position: relative; display: grid; justify-items: end; width: 100%; max-width: 460px; justify-self: end; margin-top: 12px; }
.led__img { position: relative; width: min(72%, 320px); aspect-ratio: 9 / 14; overflow: hidden; border-radius: 2px; background: var(--bg-3); }
.led__media:has(.led__sm) {
  --led-gap: clamp(8px, 1.4vw, 14px); --led-r: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--led-gap); justify-items: stretch; max-width: 460px; width: 86%; justify-self: center; /* a bit smaller than the column (the owner, 25.10.2026) */
}
.led__media:has(.led__sm) .led__img {
  grid-column: 1 / -1; width: 100%; border-radius: var(--led-r);
  -webkit-mask-image: none; mask-image: none; /* a framed tile here, not the soft edge of the lone photo */
}
.led__sm { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--led-r, 16px); background: var(--bg-3); }
.led__sm img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.led__media:not(:has(.led__sm--b)) .led__sm--a { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.led__img :is(img, video) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The poster under it shows until it plays; an iPhone that refuses to play (low power) would draw a play button. */
.led__img video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
@media (min-width: 900px) {
  .led__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 80px; }
  .led__grid:has(.led__media) { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title img" "body img"; gap: 36px clamp(48px, 7vw, 112px); align-items: end; }
  .led__grid:has(.led__media) .led__title { grid-area: title; }
  .led__grid:has(.led__media) .led__body { grid-area: body; align-self: start; max-width: 36rem; }
  .led__media { grid-area: img; width: clamp(260px, 25vw, 360px); max-width: none; margin: 0; align-self: center; }
  .led__media:has(.led__sm) { width: clamp(270px, 22vw, 330px); } /* video, gap and photos fit one screen */
  .led__img { width: 100%; }
}
@media (max-width: 0px) { .led__lamp { transform: none; transition: none; } .led__lamp::after { opacity: 1; transition: none; } }

/* ---------- How online learning works (a real sequence) ---------- */
.steps { position: relative; display: grid; gap: 0; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; list-style: none; }
.step { position: relative; padding-block: 0 36px; padding-inline-start: 56px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ''; position: absolute; inset-inline-start: 15px; top: 36px; bottom: 4px; width: 1px; background: var(--line-2);
}
.step:last-child::before { display: none; }
.step__n {
  position: absolute; inset-inline-start: 0; top: 0;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--btn-line); color: var(--accent);
  font-family: var(--f-num); font-size: 1.125rem; line-height: 1;
}
.step__t { margin: 0 0 6px; font-family: var(--f-disp); font-weight: var(--disp-w); font-size: var(--fs-h3); line-height: 1.2; }
.step p { color: var(--fg-2); max-width: 30rem; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
  .step { padding: 0; }
  .step::before { display: none; }
  .step__n { position: relative; z-index: 1; margin-bottom: 22px; background: var(--bg); }
  .steps::before { content: ''; position: absolute; inset-inline: 16px calc((100% - 96px) / 3 - 16px); top: 16px; height: 1px; background: var(--line-2); }
  .steps::after {
    content: ''; position: absolute; top: 15px; height: 3px; inset-inline-start: 16px; width: 18%;
    background: linear-gradient(90deg, transparent, rgba(var(--glow-rgb), .95), transparent);
    box-shadow: 0 0 16px rgba(var(--glow2-rgb), .6); opacity: 0; pointer-events: none;
  }
  .steps.is-on::after { animation: beam 2.6s var(--ease-io) .35s both; }
  [dir="rtl"] .steps.is-on::after { animation-name: beam-rtl; }
}
@keyframes beam { 0% { opacity: 0; transform: translateX(-20%); } 15%, 80% { opacity: 1; } 100% { opacity: 0; transform: translateX(330%); } }
@keyframes beam-rtl { 0% { opacity: 0; transform: translateX(20%); } 15%, 80% { opacity: 1; } 100% { opacity: 0; transform: translateX(-330%); } }
@media (max-width: 0px) { .steps.is-on::after { animation: none; } }

.note {
  display: flex; gap: 14px; align-items: flex-start;
  max-width: 44rem; margin: clamp(40px, 5vw, 64px) 0 0; padding: 18px 20px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  color: var(--fg); font-size: 1rem; line-height: 1.6;
}
.note .ic { margin-top: 2px; color: var(--accent); }
.note--plain { margin: 0; }

/* ---------- In-person ---------- */
.inperson { background: var(--bg-alt); }
.ip-head { display: grid; gap: clamp(32px, 5vw, 56px); margin-bottom: clamp(36px, 5vw, 64px); }
.ip-head .sec__head { margin-bottom: 0; }
.ip-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 2px; background: var(--bg-3); }
.ip-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .ip-head:has(.ip-photo) { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: end; } }
.ip-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.ip { position: relative; display: grid; gap: 18px; padding-block: 32px; border-bottom: 1px solid var(--line); }
/* The whole row opens the course (blocks.js cover); the WhatsApp and details buttons stay on top of it. */
.ip__link { position: absolute; inset: 0; z-index: 0; -webkit-tap-highlight-color: transparent; }
.ip__actions { position: relative; z-index: 1; }
.ip__title { margin: 0; font-family: var(--f-disp); font-weight: var(--disp-w); font-size: var(--fs-h3); line-height: 1.2; }
.ip__title a { text-decoration: none; }
.ip__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.ip__summary { margin: 8px 0 0; color: var(--fg-2); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; color: var(--fg-2); font-size: .9375rem; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts .ic { color: var(--accent); width: 18px; height: 18px; }
.ip__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) {
  .ip { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: center; gap: 40px; }
  .ip .facts { flex-direction: column; gap: 6px; }
}

/* ---------- Reviews ---------- */
.reviews__grid { display: grid; gap: 40px; }
.score { display: flex; align-items: center; gap: 18px; margin: 8px 0 0; }
.score__n { font-family: var(--f-num); font-weight: 400; font-size: clamp(3.75rem, 2.8rem + 3vw, 5.75rem); line-height: 1; }
.stars { display: inline-flex; gap: 3px; color: var(--accent); }
.stars .ic { width: 19px; height: 19px; }
.score__count { margin: 14px 0 0; }
.quote { margin: 0; padding-top: 28px; border-top: 1px solid var(--line-2); }
.quote blockquote { margin: 0; }
.quote blockquote p { font-family: var(--f-disp); font-weight: var(--disp-w); font-size: calc(clamp(1.3125rem, 1.1rem + .8vw, 1.875rem) * var(--ds)); line-height: 1.45; }
:root:lang(ru) .quote blockquote p, :root:lang(en) .quote blockquote p { font-style: italic; }
.quote figcaption { margin-top: 22px; color: var(--fg-2); font-size: .9375rem; }
.quote figcaption strong { color: var(--fg); font-weight: 600; margin-inline-end: 12px; }
@media (min-width: 900px) { .reviews__grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 96px; align-items: start; } .quote { padding-top: 0; border-top: 0; } }

/* ---------- Shop ---------- */
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
@media (min-width: 760px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; } }
@media (min-width: 1160px) { .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pcard { position: relative; display: flex; flex-direction: column; }
.pcard__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-3); }
.pcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcard__media img + img { opacity: 0; }
/* Hover: the second photo cross-fades in, and the photo zooms to 1.05 (both instant with reduced motion). */
@media (hover: hover) {
  .pcard:hover .pcard__media img + img { opacity: 1; }
}
@media (hover: hover) and (min-width: 0px) {
  .pcard__media img, .pcard__media .ph { transition: opacity .55s var(--m-ease), transform .8s var(--m-ease); }
  .pcard:hover .pcard__media :is(img, .ph) { transform: scale(1.05); }
}
.pcard__title { margin: 14px 0 2px; font-family: var(--f-body); font-size: 1rem; font-weight: 400; line-height: 1.4; }
.pcard__title a { text-decoration: none; }
.pcard__title a::after { content: ''; position: absolute; inset: 0; z-index: 2; }
.pcard__title a:focus-visible { outline: none; }
.pcard:has(a:focus-visible) { outline: 2px solid var(--focus); outline-offset: 5px; }
.pcard__price { margin: 0; font-weight: 600; }
.tag {
  position: absolute; z-index: 1; top: 10px; inset-inline-start: 10px;
  padding: 3px 10px; border-radius: 999px; background: var(--bg-2); color: var(--fg);
  font-size: .75rem; font-weight: 600; letter-spacing: var(--track);
}
.soon {
  display: grid; justify-items: start; gap: 6px; max-width: 34rem;
  padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line-2); border-radius: var(--radius);
}
.soon h3 { margin: 0; font-family: var(--f-disp); font-weight: var(--disp-w); font-size: var(--fs-h3); }
.soon p { color: var(--fg-2); }
.soon .btn { margin-top: 14px; }
.shop-teaser .sec__head { margin-bottom: clamp(28px, 4vw, 48px); }

/* Product page */
.prod { display: grid; gap: 32px; padding-top: 8px; }
@media (min-width: 900px) { .prod { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; align-items: start; } }
.gallery__main { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-3); }
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.thumb { position: relative; width: 68px; aspect-ratio: 4 / 5; padding: 0; overflow: hidden; border: 1px solid transparent; background: var(--bg-3); }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-current="true"] { border-color: var(--fg); }
@media (min-width: 900px) { .prod__info { position: sticky; top: calc(var(--hdr-h) + 24px); } }
.prod__title { margin: 0; font-family: var(--f-disp); font-weight: var(--disp-w); font-size: var(--fs-h1); line-height: 1.08; text-wrap: balance; }
.prod__price { margin: 14px 0 0; font-size: 1.5rem; font-weight: 600; }
.prod__summary { margin: 18px 0 0; color: var(--fg-2); font-size: 1.125rem; }
.prod__buy { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.prod__buy .btn { flex: 1 1 200px; }
.prod__ship { margin: 18px 0 0; color: var(--fg-2); font-size: .9375rem; }
.prod__body { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }

/* ---------- Course page ---------- */
.course__top { display: grid; gap: 28px; }
.course__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 2px; background: var(--bg-2); }
.course__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Soft edges on the large photos ----------
   About, LED, in person and the course cover melt into the dark page, as the hero's photo fades into the ink: every
   edge fades out over its outer --soft (of its own width or height; 15% on desktop, 10% on phones) and the middle
   stays fully opaque, so the picture itself isn't dimmed. Two straight fades, intersected (a radial one would eat
   the corners). The mask is on the still frame: the parallax layer and the reveal move under it, nothing repaints.
   The small overlapping photo (about_2), the cards and the shop keep their frames. */
:root { --soft: 15%; }
@media (max-width: 959.98px) { :root { --soft: 10%; } }
:is(.about__img, .led__img, .ip-photo, .course__media) {
  --soft-a: rgba(0, 0, 0, .5) calc(var(--soft) * .45), #000 var(--soft), #000 calc(100% - var(--soft)), rgba(0, 0, 0, .5) calc(100% - var(--soft) * .45);
  border-radius: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, var(--soft-a), transparent), linear-gradient(180deg, transparent, var(--soft-a), transparent);
  mask-image: linear-gradient(90deg, transparent, var(--soft-a), transparent), linear-gradient(180deg, transparent, var(--soft-a), transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
/* An empty slot's corner marks sit inside the opaque part, so they stay readable: each corner one 20px tile (an L
   drawn by a conic gradient), inset by a share of the frame, the same for all four. */
:is(.about__img, .led__img, .ip-photo, .course__media) {
  --o: calc(var(--soft) + 2%);
  --ph-corners:
    conic-gradient(from 90deg at 1px 1px, transparent 25%, var(--ph-mark) 0) top var(--o) left var(--o) / 20px 20px no-repeat,
    conic-gradient(from 180deg at calc(100% - 1px) 1px, transparent 25%, var(--ph-mark) 0) top var(--o) right var(--o) / 20px 20px no-repeat,
    conic-gradient(from 0deg at 1px calc(100% - 1px), transparent 25%, var(--ph-mark) 0) bottom var(--o) left var(--o) / 20px 20px no-repeat,
    conic-gradient(from 270deg at calc(100% - 1px) calc(100% - 1px), transparent 25%, var(--ph-mark) 0) bottom var(--o) right var(--o) / 20px 20px no-repeat;
}
:is(.about__img, .led__img, .ip-photo, .course__media) .ph {
  background: var(--ph-corners), radial-gradient(120% 80% at var(--gx) var(--gy), var(--ph-glow), transparent 62%), var(--bg-2);
}
.course__title { margin: 0; font-family: var(--f-disp); font-weight: var(--disp-w); font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
.course__summary { margin: 16px 0 0; color: var(--fg-2); font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); }
/* Phones: a wider cover, and on short screens the description after the price and the button, so the button is on the
   first screen even with a four-line description (Alona's real ones, 24.10.2026; checked at 390x700 and 320x700). */
@media (max-width: 959.98px) { .course__media { aspect-ratio: 16 / 9; } }
/* Until the course script fills it, the body holds a screen's height: otherwise the collage under it starts on the first
   screen and jumps away when the course renders (CLS 0.29–0.33 on a 4x phone, 24.10.2026). */
.course__body:empty { min-height: 100svh; }
@media (max-width: 959.98px) and (max-height: 780px) {
  .course__intro { display: flex; flex-direction: column; }
  .course__summary { order: 1; margin-top: 20px; }
}
@media (min-width: 960px) {
  .course__top { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: start; }
  .course__intro { position: sticky; top: calc(var(--hdr-h) + 24px); }
}
.buy { margin-top: 28px; padding: clamp(20px, 3vw, 28px); border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg-2); scroll-margin-top: calc(var(--hdr-h) + 24px); }
.buy__t { margin: 0 0 14px; font-size: 1rem; font-weight: 600; letter-spacing: var(--track); color: var(--fg-2); }
.buy__price { margin: 0 0 18px; font-family: var(--f-disp); font-size: calc(2.25rem * var(--ds)); line-height: 1; }
.buy__note { margin: 14px 0 0; color: var(--fg-2); font-size: .9375rem; }
.buy__msg { margin: 12px 0 0; font-size: .9375rem; }
.opts { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; border: 0; }
.opt {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 2px 14px; align-items: center;
  padding: 16px; border: 1px solid var(--line-2); border-radius: var(--radius); cursor: pointer;
  transition: border-color .3s, background-color .3s;
}
.opt:hover { border-color: var(--fg-2); }
.opt:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.opt input {
  appearance: none; width: 20px; height: 20px; margin: 0; border: 1px solid var(--fg-2); border-radius: 50%;
  display: grid; place-items: center;
}
.opt input::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .25s var(--ease); }
.opt input:checked { border-color: var(--accent); }
.opt input:checked::before { transform: scale(1); }
.opt input:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.opt__label { font-weight: 600; line-height: 1.35; }
.opt__price { font-weight: 600; white-space: nowrap; }
.opt__desc { grid-column: 2 / -1; color: var(--fg-2); font-size: .875rem; }
.course-facts { display: grid; gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; }
.course-facts li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; color: var(--fg); font-size: .9375rem; line-height: 1.55; }
.course-facts .ic { width: 20px; height: 20px; margin-top: 1px; color: var(--accent); }
.course-facts small { display: block; color: var(--fg-2); font-size: .875rem; }
.course__body { display: grid; gap: clamp(48px, 6vw, 80px); padding-top: clamp(56px, 8vw, 104px); }
.course__h2 { margin: 0 0 22px; font-family: var(--f-disp); font-weight: var(--disp-w); font-size: calc(var(--fs-h2) * .8); line-height: 1.15; }
.course__text { color: var(--fg-2); font-size: 1.0625rem; }
.ticks { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
.ticks .ic { width: 20px; height: 20px; margin-top: 3px; color: var(--accent); }
/* "מה בקורס" with a video-style thumbnail per line (16:9, or the marked placeholder), the text beside it. */
.ticks--img { gap: 18px; }
.ticks--img li { grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 16px; align-items: center; }
@media (min-width: 700px) { .ticks--img li { grid-template-columns: 200px minmax(0, 1fr); gap: 20px; } }
.ticks__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); }
.ticks__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* A placeholder too small for the big label: the corner marks closer in, one short line of text. */
.ph--sm { --o: 6px; --l: 10px; padding: 0 4px; }
.ph--sm .ph__label { gap: 0; font-size: .6875rem; line-height: 1.25; }
:root:lang(he) .ph--sm .ph__label { font-size: .6875rem; }
.ph--sm .ph__label::before { content: none; }
@media (min-width: 960px) { .course__about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; } }

.lessons { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.lesson { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 4px 14px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.lesson__n { font-family: var(--f-num); font-size: calc(1.375rem * var(--ds)); line-height: 1.3; color: var(--accent); }
.lesson__title { margin: 0; font-family: var(--f-disp); font-weight: var(--disp-w); font-size: calc(1.375rem * var(--ds)); line-height: 1.3; }
.lesson__sum { margin: 4px 0 0; color: var(--fg-2); font-size: .9375rem; }
.lesson__meta { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--fg-2); font-size: .875rem; }
.lesson__meta .ic { width: 16px; height: 16px; }
.lesson__act { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.lesson__act .btn { gap: 8px; }
.lesson__act .btn b { font-weight: 600; }
@media (min-width: 760px) {
  .lesson { grid-template-columns: 3.25rem minmax(0, 1fr) auto; align-items: center; gap: 4px 20px; }
  .lesson__act { grid-column: 3; margin: 0; justify-content: flex-end; }
}
.badge {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 14px;
  border: 1px solid var(--line-2); border-radius: 999px; color: var(--fg-2); font-size: .8125rem; font-weight: 600; letter-spacing: var(--track);
}
.badge .ic { width: 16px; height: 16px; }
.badge--on { border-color: var(--accent); color: var(--fg); }

.wa-big { margin-top: 28px; }
.wa-big .btn { width: 100%; }
.wa-big p { margin: 10px 0 0; color: var(--fg-2); font-size: .875rem; }

/* The cover (in the HTML from the Worker) settles from 1.2x as the page opens, never hidden: it's the page's main
   image. The buy box only fades in: buying stays calm. */
@media (min-width: 0px) {
  .js .course__media.has-photo img, .js .gallery__main.has-photo img { animation: zoom-settle 1.4s var(--m-ease) both; }
  .m-fade { animation: m-fadein .9s var(--m-ease) both; }
}
@keyframes zoom-settle { from { transform: scale(1.2); } to { transform: none; } }

/* ---------- Course page collage (photos of Alona's work) ----------
   Phones, reduced motion and no JavaScript: a plain grid. Desktop: course.js pins it (.is-pinned): a 220vh section
   with a sticky stage, where the cover shrinks from 2.1x into place while the four photos slide in from the sides. */
.collage { padding-block: clamp(72px, 10vw, 140px) 0; }
.collage__title { margin: 0 0 clamp(28px, 4vw, 48px); font-family: var(--f-disp); font-weight: var(--disp-w); font-size: calc(var(--fs-h2) * .8); line-height: 1.15; }
.collage__stage {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
}
/* The cover is the centre of the pinned version only; the plain grid shows just the four photos (the cover is
   already at the top of the page). */
.collage__cover { display: none; position: relative; overflow: hidden; border-radius: 2px; background: var(--bg-2); }
.collage.is-pinned .collage__cover { display: block; }
.collage__tile { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 2px; background: var(--bg-2); }
.collage__tile > div { position: absolute; inset: 0; }
.collage__cover img, .collage__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 700px) { .collage__stage { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.collage.is-pinned { --cw: min(32vw, 500px); height: 220vh; padding-bottom: 0; }
.collage.is-pinned .collage__stage { position: sticky; top: var(--hdr-h); display: block; height: calc(100vh - var(--hdr-h)); max-width: none; padding: 0; overflow: hidden; }
.collage.is-pinned .collage__cover {
  position: absolute; z-index: 2; left: 50%; top: 50%; width: var(--cw); aspect-ratio: 4 / 5;
  margin: calc(var(--cw) * -.625) 0 0 calc(var(--cw) * -.5);
}
.collage.is-pinned .collage__tile { position: absolute; width: min(16vw, 240px); }
.collage.is-pinned .collage__tile[data-tile="1"] { left: 7vw; top: 11vh; }
.collage.is-pinned .collage__tile[data-tile="2"] { left: 13vw; bottom: 9vh; }
.collage.is-pinned .collage__tile[data-tile="3"] { right: 7vw; top: 15vh; }
.collage.is-pinned .collage__tile[data-tile="4"] { right: 12vw; bottom: 7vh; }

/* ---------- Forms (checkout) ---------- */
.co__grid { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .co__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 72px; align-items: start; }
  .co__summary { order: 2; position: sticky; top: calc(var(--hdr-h) + 24px); }
}
.co__summary { padding: clamp(20px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.co__sum-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.co__h2 { margin: 0 0 8px; font-family: var(--f-disp); font-weight: var(--disp-w); font-size: calc(1.75rem * var(--ds)); line-height: 1.2; }
.co__summary .note { margin-top: 20px; }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 6px; }
/* The online cancellation form under the cancellation policy (/cancel#form). */
.cform { margin: clamp(40px, 6vw, 64px) 0 clamp(48px, 8vw, 96px); padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line-2); border-radius: 16px; background: var(--bg-2); scroll-margin-top: calc(var(--hdr-h) + 16px); }
.cform__h { margin: 0 0 8px; font-family: var(--f-disp); font-weight: var(--disp-w); font-size: var(--fs-h3); line-height: 1.2; }
.cform__lead { margin: 0 0 20px; color: var(--fg-2); }
.cform__form { display: grid; gap: 16px; max-width: 34rem; }
.cform__form .btn { justify-self: start; }
.cform__msg { margin: 0; font-weight: 600; }
.cform__msg.is-ok { color: var(--accent); }
.cform__msg.is-err { color: #a3221b; }
.field label, .field__label { font-weight: 600; font-size: .9375rem; }
.input {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg-2); color: var(--fg);
  font-size: 1.0625rem; line-height: 1.4; transition: border-color .2s, box-shadow .2s;
}
textarea.input { min-height: 96px; resize: vertical; }
.input:hover { border-color: var(--fg-2); }
.input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 22%, transparent); }
.input[aria-invalid="true"] { border-color: #b3261e; }
.input--ltr { direction: ltr; }
[dir="rtl"] .input--ltr { text-align: right; }
.field__hint { margin: 0; color: var(--fg-2); font-size: .875rem; }
.field__err { margin: 0; color: #a3221b; font-size: .875rem; font-weight: 600; }
.field__err:empty { display: none; }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 4px 12px; align-items: start; }
.check input {
  appearance: none; width: 22px; height: 22px; margin: 2px 0 0; border: 1px solid var(--fg-2); border-radius: 4px; background: var(--bg-2);
  display: grid; place-items: center; cursor: pointer;
}
.check input::before { content: ''; width: 11px; height: 6px; border: 2px solid var(--btn-fg); border-top: 0; border-inline-end: 0; transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform .2s var(--ease); }
[dir="rtl"] .check input::before { border-inline-end: 2px solid var(--btn-fg); border-inline-start: 0; transform: rotate(45deg) scale(0); }
.check input:checked { background: var(--btn-bg); border-color: var(--btn-bg); }
.check input:checked::before { transform: rotate(-45deg) scale(1); }
[dir="rtl"] .check input:checked::before { transform: rotate(45deg) scale(1); }
.check input[aria-invalid="true"] { border-color: #b3261e; }
.check input:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.check label { font-size: .9375rem; line-height: 1.55; cursor: pointer; }
.check label a { color: var(--fg); text-underline-offset: .2em; }
.check .field__err { grid-column: 2; }
.co__cancel { padding: 18px 20px; border-radius: var(--radius); background: var(--bg-3); font-size: .9375rem; }
.co__cancel h3 { margin: 0 0 8px; font-size: 1rem; }
.co__cancel ul { margin: 0 0 10px; padding-inline-start: 1.1em; }
.co__cancel li { margin-bottom: 4px; }
.ts { min-height: 0; }
.alert { padding: 14px 18px; border-radius: var(--radius); border: 1px solid #e3b4ae; background: #fbefed; color: #7a1a14; font-weight: 600; font-size: .9375rem; }
.alert:focus { outline: 2px solid var(--focus); outline-offset: 2px; }
.alert--demo { display: grid; gap: 4px; border-color: color-mix(in srgb, var(--led-deep) 35%, transparent); background: color-mix(in srgb, var(--led-deep) 7%, var(--bg-2)); color: var(--fg); font-weight: 400; }
.alert--demo strong { font-size: 1.0625rem; }

/* ---------- Pay demo and thanks ---------- */
.narrow { max-width: 760px; }
.card { padding: clamp(22px, 4vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.card + .card { margin-top: 20px; }
.card__h { margin: 0 0 14px; font-family: var(--f-disp); font-weight: var(--disp-w); font-size: calc(1.75rem * var(--ds)); line-height: 1.2; }
.order-id { color: var(--fg-2); font-size: .9375rem; }
.order-id b { color: var(--fg); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.status { display: flex; align-items: center; gap: 12px; min-height: 28px; color: var(--fg-2); }
.status:empty { display: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--led-deep); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 0px) { .spinner { animation-duration: 3s; } }
.tg { display: grid; gap: 24px; }
.tg__cta { display: grid; gap: 22px; align-items: center; }
.tg__btn { --h: 64px; font-size: 1rem; width: 100%; }
.tg__btn .ic { width: 24px; height: 24px; }
.qr { display: none; }
@media (min-width: 900px) and (hover: hover) {
  .tg__cta { grid-template-columns: minmax(0, 1fr) auto; gap: 36px; }
  .qr { display: grid; justify-items: center; gap: 10px; max-width: 220px; text-align: center; }
  .qr__img { width: 184px; height: 184px; padding: 10px; border-radius: 6px; background: #fff; }
  .qr__img svg { width: 100%; height: 100%; }
  .qr p { margin: 0; color: var(--fg-2); font-size: .875rem; line-height: 1.45; }
}
.olist { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.olist li { counter-increment: s; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; }
.olist li::before {
  content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line-2); font-family: var(--f-num); font-size: 1rem; color: var(--accent);
}
.muted { color: var(--fg-2); }
.small { font-size: .9375rem; }

/* ---------- Legal ---------- */
.legal__wrap { max-width: 820px; }
.legal__meta { color: var(--fg-2); font-size: .9375rem; }
.legal__body { max-width: none; margin-top: clamp(28px, 4vw, 48px); }
.legal__body h2 { margin: 2.2em 0 .6em; font-family: var(--f-disp); font-weight: var(--disp-w); font-size: calc(1.625rem * var(--ds)); line-height: 1.25; }
.legal__body ul { margin: 0 0 1em; padding-inline-start: 1.2em; }
.legal__body li { margin-bottom: .55em; }
.legal__body li::marker { color: var(--accent); }
.legal__body a { color: var(--fg); text-decoration-color: var(--accent); text-underline-offset: .22em; }
.legal__lead { font-size: 1.1875rem; color: var(--fg-2); }
.legal__biz { margin-top: 28px; }
[data-biz].is-missing, [data-ship].is-missing { padding: 0 4px; border-radius: 2px; background: rgba(216, 194, 157, .35); }

/* ---------- 404 ---------- */
.nf { padding-block: clamp(64px, 12vw, 160px); }
.nf__art { width: min(320px, 70%); margin-bottom: 36px; }
.nf__art svg { width: 100%; height: auto; overflow: visible; }
.nf__links { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; padding: 0; list-style: none; }

/* ---------- Footer ---------- */
.ftr { padding-block: clamp(64px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.ftr__grid { display: grid; gap: 40px; }
@media (min-width: 700px) { .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ftr__grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 48px; } }
.ftr__brand .brand__word { font-size: min(2.25rem, 26px + 5vw); }
.ftr__tag { max-width: 22rem; margin: 18px 0 0; color: var(--fg-2); }
.ftr__city { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; color: var(--fg-2); }
.ftr__city .ic { color: var(--accent); width: 20px; height: 20px; margin-top: 3px; }
.ftr__h { margin: 0 0 16px; font-family: var(--f-body); font-size: .9375rem; font-weight: 600; letter-spacing: var(--track); color: var(--fg); }
.ftr__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ftr__list a { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; color: var(--fg-2); text-decoration: none; transition: color .25s; }
/* Text-only links stay inline: a flex link's text won't shrink below its longest word, which at large text sizes is
   wider than the column ("конфиденциальности"); inline text breaks there (overflow-wrap). (Not overflow-wrap:
   anywhere: even on these few links it made the whole page's first layout about four times slower.) */
.ftr__list a:not(:has(> svg)) { display: inline; }
.ftr__list a:hover { color: var(--fg); }
.ftr__list .ic { width: 20px; height: 20px; color: var(--accent); }
.ftr__cancel { margin-top: 20px; }
.ftr__base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  margin-top: clamp(48px, 6vw, 80px); padding-block: 24px;
  background: linear-gradient(var(--line), var(--line)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  color: var(--fg-2); font-size: .875rem;
}
.ftr__base p { margin: 0; }
.ftr__base a { color: var(--fg); }
.mbar__price { min-width: 0; }
.mbar__price span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn.is-busy > :not(.btn__busy) { display: none; }
.btn.is-busy { opacity: .75; }
[tabindex="-1"]:focus { outline: none; }
.lines--compact .line:last-child { border-bottom: 0; }
.step__n, .olist li::before, .lesson__n, .score__n, .order-id b { font-variant-numeric: lining-nums; }
[data-biz="phone"], [data-biz="whatsapp"], [data-contact-text] { white-space: nowrap; unicode-bidi: isolate; }

/* ---------- Preview: photo placeholders instead of real photos (?ph=1, set in boot.js) ----------
   The photo boxes keep their size and their animations; only the picture inside is swapped for the slot look. */
html[data-ph] [data-photo].has-photo {
  background:
    linear-gradient(var(--ph-mark), var(--ph-mark)) top 14px left 14px / 20px 1px no-repeat,
    linear-gradient(var(--ph-mark), var(--ph-mark)) top 14px left 14px / 1px 20px no-repeat,
    linear-gradient(var(--ph-mark), var(--ph-mark)) top 14px right 14px / 20px 1px no-repeat,
    linear-gradient(var(--ph-mark), var(--ph-mark)) top 14px right 14px / 1px 20px no-repeat,
    linear-gradient(var(--ph-mark), var(--ph-mark)) bottom 14px left 14px / 20px 1px no-repeat,
    linear-gradient(var(--ph-mark), var(--ph-mark)) bottom 14px left 14px / 1px 20px no-repeat,
    linear-gradient(var(--ph-mark), var(--ph-mark)) bottom 14px right 14px / 20px 1px no-repeat,
    linear-gradient(var(--ph-mark), var(--ph-mark)) bottom 14px right 14px / 1px 20px no-repeat,
    radial-gradient(120% 80% at 30% 25%, var(--ph-glow), transparent 62%),
    var(--bg-2);
}
html[data-ph] [data-photo].has-photo :is(img, video) { opacity: 0 !important; }
html[data-ph] [data-photo].has-photo::after {
  content: 'תמונה שלכם כאן'; position: absolute; inset: 0; z-index: 1; display: grid; place-items: center;
  padding: 12px; text-align: center; color: var(--fg-2); font: 600 .9375rem/1.3 var(--f-body); pointer-events: none;
}
html[data-ph]:lang(ru) [data-photo].has-photo::after { content: 'Ваше фото здесь'; font-style: italic; }
html[data-ph]:lang(en) [data-photo].has-photo::after { content: 'Your photo here'; font-style: italic; }
html[data-ph] .hero__face.has-photo::after { content: none; } /* too small for the label */
/* The soft-edged photos: the marks inside the opaque part. */
html[data-ph] :is(.about__img, .led__img, .ip-photo, .course__media).has-photo {
  background: var(--ph-corners), radial-gradient(120% 80% at 30% 25%, var(--ph-glow), transparent 62%), var(--bg-2);
}

/* ---------- The course page features the owner picked (23.10.2026, shipped 24.10.2026) ----------
   Every rule below is scoped to :root[data-f] (assets/features.js sets it before the first paint), and features 1–4
   (numbered in assets/features.js) also to html[data-f~="n"], so each can be turned off there; the packages area they
   live in isn't one of them. Features 5–23 are in assets/next.css. assets/pages/course-next.js builds the markup
   (prefix nx-). Motion: transform and opacity only, entrances on the site's curve, exits faster on power2.in. Colours
   come from the theme tokens, so every theme works. */

/* 4. The course card grows into the course page (boot.js names the card's frame and title, then the cover and h1). */
:root[data-f][data-f~="4"]::view-transition-group(course-photo),
:root[data-f][data-f~="4"]::view-transition-group(course-title) { animation-duration: .45s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
/* The frames differ in shape (card 8:9 or 4:5, cover 4:3): both pictures fill the moving frame, cropped, never stretched. */
:root[data-f][data-f~="4"]::view-transition-old(course-photo),
:root[data-f][data-f~="4"]::view-transition-new(course-photo) { height: 100%; object-fit: cover; overflow: clip; }
/* The title grows with its box's height and keeps its line start (the right edge in Hebrew). */
:root[data-f][data-f~="4"]::view-transition-old(course-title),
:root[data-f][data-f~="4"]::view-transition-new(course-title) { width: auto; height: 100%; }
:root[data-f][data-f~="4"].vt-morph .course__media img { animation: none; } /* the cover doesn't zoom in while it flies */
:root[data-f][data-f~="4"] .ccard__title a { -webkit-tap-highlight-color: transparent; } /* no grey box flashing before the card flies */

/* The hero: the lowest price and the main button, which glides to the packages. */
:root[data-f] .nx-hero { margin-top: 28px; }
:root[data-f] .nx-from { margin: 0 0 14px; font-family: var(--f-disp); font-size: calc(1.875rem * var(--ds)); line-height: 1.1; }
:root[data-f] .nx-note { margin: 14px 0 0; color: var(--fg-2); font-size: .875rem; line-height: 1.55; }

/* The packages. */
:root[data-f] .nx-pk { scroll-margin-top: calc(var(--hdr-h) + 16px); }
:root[data-f] .nx-pk__eyebrow { margin: 0 0 10px; color: var(--accent); font-size: .8125rem; font-weight: 600; letter-spacing: var(--track); }
:root[data-f]:lang(ru) .nx-pk__eyebrow, :root[data-f]:lang(en) .nx-pk__eyebrow { text-transform: uppercase; letter-spacing: .08em; }
:root[data-f] .nx-pk__t:focus { outline: none; }
:root[data-f] .nx-pk > .nx-note { margin-top: 24px; }
:root[data-f] .nx-pk__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 960px) {
  :root[data-f] .nx-pk__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
  :root[data-f] .nx-pkg { position: sticky; top: calc(var(--hdr-h) + 24px); }
}

/* 2. The switch: a pill with a thumb that slides under the chosen half (--dirx flips it in Hebrew). */
:root[data-f][data-f~="2"] .nx-seg {
  position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 26rem); min-inline-size: 0; margin: 0 0 28px; padding: 4px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-2);
}
:root[data-f][data-f~="2"] .nx-seg__thumb {
  position: absolute; inset-block: 4px; inset-inline-start: 4px; width: calc(50% - 4px);
  border-radius: 999px; background: var(--btn-bg);
  transition: transform .45s var(--m-ease);
}
:root[data-f][data-f~="2"] .nx-pk[data-mode="1"] .nx-seg__thumb { transform: translate3d(calc(100% * var(--dirx)), 0, 0); }
:root[data-f][data-f~="2"] .nx-seg__opt {
  position: relative; z-index: 1; display: grid; place-items: center; min-height: 44px; padding: 6px 8px;
  border-radius: 999px; cursor: pointer; color: var(--fg-2);
  font-size: .9375rem; font-weight: 600; line-height: 1.2; text-align: center;
}
:root[data-f][data-f~="2"] .nx-seg__opt { transition: background-color 0s; }
/* The chosen label also gets the pill's colour as its own ground once the pill has slid under it (same size and shape,
   so nothing changes on screen): its text then has a real background of its own, whatever the theme. */
:root[data-f][data-f~="2"] .nx-seg__opt:has(input:checked) { color: var(--btn-fg); background-color: var(--btn-bg); transition: background-color 0s .45s; }
:root[data-f][data-f~="2"] .nx-seg__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
:root[data-f][data-f~="2"] .nx-seg__opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }

/* A price and its "with / without" twin in one grid cell: the current one shows, the other fades out and down. */
:root[data-f] .nx-xp { display: inline-grid; justify-items: start; }
:root[data-f] .nx-xp__v { grid-area: 1 / 1; transition: opacity .4s var(--m-ease), transform .45s var(--m-ease); }
:root[data-f] .nx-pk[data-mode="0"] .nx-xp__v[data-for="1"],
:root[data-f] .nx-pk[data-mode="1"] .nx-xp__v[data-for="0"] {
  opacity: 0; transform: translate3d(0, .4em, 0);
  transition: opacity .2s cubic-bezier(.55, .085, .68, .53), transform .2s cubic-bezier(.55, .085, .68, .53);
}
:root[data-f] .nx-xp--big { font-family: var(--f-disp); font-size: calc(2.25rem * var(--ds)); line-height: 1.05; }
:root[data-f] .nx-xp--note { color: var(--fg-2); font-size: .875rem; line-height: 1.4; }

/* The full course. */
:root[data-f] .nx-pkg { padding: clamp(20px, 3vw, 28px); border: 1px solid var(--accent); border-radius: var(--radius); background: var(--bg-2); }
:root[data-f] .nx-pkg__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
:root[data-f] .nx-pkg__t { margin: 0; font-family: var(--f-disp); font-weight: var(--disp-w); font-size: var(--fs-h3); line-height: 1.2; }
:root[data-f] .nx-pkg__sub { color: var(--fg-2); font-size: .875rem; }
:root[data-f] .nx-pkg__price { display: grid; gap: 8px; margin: 18px 0 0; }
/* What mentoring adds: dim without it, lit in the accent with it (one after the other). Always in the layout, so
   nothing below moves when the switch flips. */
:root[data-f][data-f~="2"] .nx-adds { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
:root[data-f][data-f~="2"] .nx-adds__t { margin: 0 0 10px; color: var(--fg-2); font-size: .875rem; font-weight: 600; }
:root[data-f][data-f~="2"] .nx-adds ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
:root[data-f][data-f~="2"] .nx-adds li {
  display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; line-height: 1.5;
  opacity: .5; transition: opacity .2s cubic-bezier(.55, .085, .68, .53);
}
:root[data-f][data-f~="2"] .nx-adds .ic {
  width: 20px; height: 20px; margin-top: 2px; color: var(--fg-2);
  opacity: .5; transform: scale(.5); transition: opacity .2s, transform .2s cubic-bezier(.55, .085, .68, .53);
}
:root[data-f][data-f~="2"] .nx-pk[data-mode="1"] .nx-adds li { opacity: 1; transition: opacity .45s var(--m-ease) calc(var(--i, 0) * .08s); }
:root[data-f][data-f~="2"] .nx-pk[data-mode="1"] .nx-adds .ic {
  color: var(--accent); opacity: 1; transform: none;
  transition: opacity .45s var(--m-ease) calc(var(--i, 0) * .08s + .05s), transform .5s var(--m-ease) calc(var(--i, 0) * .08s + .05s);
}
:root[data-f] .nx-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
:root[data-f] .nx-act .btn { gap: 8px; }
:root[data-f] .nx-pkg .nx-act { margin-top: 24px; }
:root[data-f] .nx-pkg .nx-act .btn { width: 100%; }
:root[data-f] .nx-pk .buy__msg:empty { margin: 0; }

/* 1. The episode cards. */
:root[data-f][data-f~="1"] .nx-eps__t { margin: 0 0 14px; color: var(--fg-2); font-size: 1rem; font-weight: 600; letter-spacing: var(--track); }
:root[data-f][data-f~="1"] .nx-eps__list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
:root[data-f][data-f~="1"] .nx-ep { padding: clamp(18px, 2.4vw, 24px); border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg-2); }
/* The episode's picture as a video-style thumbnail (16:9; a marked placeholder until Alona adds one): across the card
   above the title on phones, beside the number, title and summary from 700px (the owner, 24.10.2026: "like a thumbnail"). */
:root[data-f][data-f~="1"] .nx-ep__head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
@media (min-width: 700px) { :root[data-f][data-f~="1"] .nx-ep__head { grid-template-columns: 260px minmax(0, 1fr); gap: 22px; } }
:root[data-f][data-f~="1"] .nx-ep__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); }
:root[data-f][data-f~="1"] .nx-ep__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
:root[data-f][data-f~="1"] .nx-ep__info { min-width: 0; }
:root[data-f][data-f~="1"] .nx-ep__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin: 0 0 6px; color: var(--fg-2); font-size: .8125rem; }
:root[data-f][data-f~="1"] .nx-ep__n { color: var(--accent); font-weight: 600; letter-spacing: var(--track); }
:root[data-f][data-f~="1"] .nx-ep__len { display: inline-flex; align-items: center; gap: 6px; }
:root[data-f][data-f~="1"] .nx-ep__len .ic { width: 16px; height: 16px; }
:root[data-f][data-f~="1"] .nx-ep__title { margin: 0; font-family: var(--f-disp); font-weight: var(--disp-w); font-size: calc(1.375rem * var(--ds)); line-height: 1.3; }
:root[data-f][data-f~="1"] .nx-ep__sum { margin: 6px 0 0; color: var(--fg-2); font-size: .9375rem; }
:root[data-f][data-f~="1"] .nx-ep__out { margin-top: 14px; }
:root[data-f][data-f~="1"] .nx-ep__ot { margin: 0 0 8px; font-size: .875rem; font-weight: 600; }
:root[data-f][data-f~="1"] .nx-ep__out ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--fg-2); font-size: .9375rem; line-height: 1.5; }
:root[data-f][data-f~="1"] .nx-ep__out li { position: relative; padding-inline-start: 18px; }
:root[data-f][data-f~="1"] .nx-ep__out li::before {
  content: ''; position: absolute; inset-inline-start: 2px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--orn);
}
:root[data-f][data-f~="1"] .nx-ep__buy {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
}
:root[data-f][data-f~="1"] .nx-ep__price { font-family: var(--f-disp); font-size: calc(1.5rem * var(--ds)); line-height: 1.1; }

/* 3. The phone bar (the page's mbar--buy): below the screen until the hero's button is gone, away again while the
   packages are on screen. Hidden, it can't take focus. */
:root[data-f][data-f~="3"] .mbar--nx {
  opacity: 0; transform: translate3d(0, 16px, 0); visibility: hidden; pointer-events: none;
  transition: opacity .12s cubic-bezier(.55, .085, .68, .53), transform .12s cubic-bezier(.55, .085, .68, .53), visibility 0s .12s;
}
:root[data-f][data-f~="3"] .mbar--nx.is-on {
  opacity: 1; transform: none; visibility: visible; pointer-events: auto;
  transition: opacity .2s var(--m-ease), transform .2s var(--m-ease);
}
/* ---------- end of the course page features ---------- */
