/* ==========================================================================
   Anastella Project — site styles
   Palette: espresso black · bronze · warm beige (from the logo)
   ========================================================================== */

:root {
  --ink: #16100d;          /* near-black espresso */
  --espresso: #211814;
  --coffee: #33251d;
  --bronze-deep: #5e3b25;
  --bronze: #8a5a3b;
  --gold: #c9a27a;
  --gold-light: #e8d2b0;
  --sand: #e3d6c4;
  --paper: #ede4d8;
  --ivory: #f5efe7;
  --text: #2a1f19;
  --muted: #7c6b5e;
  --line: rgba(90, 60, 40, .16);
  --line-light: rgba(232, 210, 176, .2);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --sec: clamp(88px, 12vw, 168px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --hdr: 84px;
}
:lang(he) {
  --serif: "Frank Ruhl Libre", "Times New Roman", serif;
  --sans: "Heebo", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--ivory); color: var(--text);
  font: 300 17px/1.7 var(--sans); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--bronze); color: var(--ivory); }
[hidden] { display: none !important; }
bdi { unicode-bidi: isolate; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.skip { position: fixed; inset-inline-start: 8px; top: 8px; z-index: 999; background: var(--ink); color: var(--ivory); padding: 8px 14px; transform: translateY(-200%); }
.skip:focus { transform: none; }
html, body { overflow-x: clip; }
:focus-visible { outline: 1px solid var(--bronze); outline-offset: 3px; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 22px;
  font: 500 11.5px/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--bronze);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow .i { width: 15px; height: 15px; }
.eyebrow--light { color: var(--gold); }
:lang(he) .eyebrow { letter-spacing: .08em; font-size: 13px; }

.h1, .h2, .h3, h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
.h1 { font-size: clamp(40px, 6vw, 78px); }
.h2 { font-size: clamp(36px, 5.2vw, 72px); }
.h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 26px; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.65; color: var(--text); font-weight: 300; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }

.shead { margin-bottom: clamp(48px, 6vw, 84px); max-width: 860px; }
.shead--center { text-align: center; margin-inline: auto; }
.shead--center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.shead--light .h2 { color: var(--ivory); }
.shead--light .eyebrow { color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  --b: var(--ink); --c: var(--ivory);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 30px; border: 1px solid var(--b); border-radius: var(--radius);
  background: var(--b); color: var(--c); overflow: hidden; isolation: isolate;
  font: 500 12.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
  transition: color .5s var(--ease), border-color .5s var(--ease), background .5s var(--ease);
}
:lang(he) .btn { letter-spacing: .05em; font-size: 14px; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--h, var(--bronze));
  transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease-out);
}
.btn:hover::before { transform: scaleY(1); }
.btn .i { width: 18px; height: 18px; flex: none; transition: transform .4s var(--ease); }
.btn:hover .i-arrow { transform: translateX(4px); }
[dir=rtl] .i-arrow { transform: scaleX(-1); }
[dir=rtl] .btn:hover .i-arrow { transform: scaleX(-1) translateX(4px); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 11px; }
.btn--block { width: 100%; }
.btn--dark { --b: var(--ink); --c: var(--ivory); --h: var(--bronze-deep); }
.btn--gold { --b: var(--gold); --c: var(--ink); --h: var(--gold-light); }
.btn--line { --b: transparent; --c: var(--ink); border-color: var(--ink); --h: var(--ink); }
.btn--line:hover { color: var(--ivory); }
.btn--ghost-light { --b: transparent; --c: var(--ivory); border-color: rgba(245, 239, 231, .45); --h: var(--ivory); }
.btn--ghost-light:hover { color: var(--ink); border-color: var(--ivory); }
.btn--danger { --b: #6d2a1d; --c: #fff; --h: #8d3624; }
.btn.is-disabled { opacity: .45; pointer-events: none; }
.btn-link {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--bronze);
  font: 500 12px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease);
}
.btn-link:hover { background-size: 100% 1px; }
.btn-link .i { width: 16px; height: 16px; }
.btn-link--light { color: var(--gold-light); }
:lang(he) .btn-link { letter-spacing: .04em; font-size: 14px; }

.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--bronze), var(--gold)); transform-origin: left; transform: scaleX(0); }
[dir=rtl] .progress span { transform-origin: right; }

.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr);
  color: var(--ink); transition: background .5s var(--ease), color .5s, transform .6s var(--ease), height .5s var(--ease), box-shadow .5s;
}
.hdr__in { height: 100%; max-width: 1560px; margin: 0 auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 28px; }
.hdr__logo { display: flex; align-items: center; gap: 14px; flex: none; }
.hdr__logo img { width: 74px; height: auto; transition: opacity .4s, width .4s var(--ease); }
.hdr__logo .logo-light { display: none; }
.hdr__word { display: flex; flex-direction: column; font: 500 19px/1 var(--serif); letter-spacing: .26em; text-transform: uppercase; }
.hdr__word small { margin-top: 6px; font: 500 8.5px/1 var(--sans); letter-spacing: .5em; opacity: .7; }
.hdr__nav { display: flex; gap: clamp(16px, 2vw, 34px); margin-inline: auto; }
.hdr__nav a { position: relative; font: 400 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 10px 0; opacity: .85; transition: opacity .3s; }
:lang(he) .hdr__nav a { letter-spacing: .03em; font-size: 15px; }
.hdr__nav a::after { content: ""; position: absolute; inset: auto 0 2px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .45s var(--ease); }
.hdr__nav a:hover { opacity: 1; }
.hdr__nav a:hover::after { transform: scaleX(1); }
.hdr__tools { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 2px; font: 500 11px/1 var(--sans); letter-spacing: .14em; }
.lang a { padding: 8px 6px; opacity: .5; transition: opacity .3s; }
.lang a.on, .lang a:hover { opacity: 1; }
.hdr__user { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid currentColor; border-radius: 50%; opacity: .8; transition: opacity .3s, background .3s; position: relative; }
.hdr__user .i { width: 18px; height: 18px; }
.hdr__user:hover { opacity: 1; }
.hdr__user.is-in::after { content: ""; position: absolute; top: 1px; inset-inline-end: 1px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
body.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
body.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

/* header over dark hero */
.theme-dark .hdr:not(.is-solid) { color: var(--ivory); }
.theme-dark .hdr:not(.is-solid) .logo-light { display: block; }
.theme-dark .hdr:not(.is-solid) .logo-dark { display: none; }
.theme-dark .hdr:not(.is-solid) .hdr__cta { --b: transparent; --c: var(--ivory); border-color: rgba(245,239,231,.45); --h: var(--ivory); }
.theme-dark .hdr:not(.is-solid) .hdr__cta:hover { color: var(--ink); }
.hdr.is-solid { background: rgba(245, 239, 231, .86); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); height: 70px; box-shadow: 0 1px 0 var(--line); }
.hdr.is-solid .hdr__logo img { width: 60px; }
.hdr.is-hidden { transform: translateY(-100%); }
body.menu-open .hdr { color: var(--ivory); background: transparent; box-shadow: none; backdrop-filter: none; }
body.menu-open .hdr .logo-light { display: block; } body.menu-open .hdr .logo-dark { display: none; }
body:not(.theme-dark) main { padding-top: var(--hdr); }

/* mobile menu */
.menu { position: fixed; inset: 0; z-index: 45; color: var(--ivory); visibility: hidden; pointer-events: none; }
.menu__bg { position: absolute; inset: 0; background: var(--ink); clip-path: circle(0 at calc(100% - 44px) 42px); transition: clip-path .9s var(--ease-out); }
[dir=rtl] .menu__bg { clip-path: circle(0 at 44px 42px); }
.menu__nav { position: relative; display: flex; flex-direction: column; padding: 120px var(--gutter) 24px; gap: 4px; }
.menu__nav a { display: flex; align-items: baseline; gap: 18px; font: 300 clamp(32px, 9vw, 54px)/1.25 var(--serif); opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .8s var(--ease-out); }
.menu__nav a span { font: 500 11px var(--sans); letter-spacing: .2em; color: var(--gold); }
.menu__foot { position: absolute; inset: auto var(--gutter) max(28px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--sand); opacity: 0; transition: opacity .6s .4s; }
.lang--menu { margin-top: 10px; gap: 16px; font-size: 13px; letter-spacing: .1em; }
body.menu-open { overflow: hidden; }
body.menu-open .menu { visibility: visible; pointer-events: auto; }
body.menu-open .menu__bg { clip-path: circle(150% at calc(100% - 44px) 42px); }
[dir=rtl] body.menu-open .menu__bg { clip-path: circle(150% at 44px 42px); }
body.menu-open .menu__nav a { opacity: 1; transform: none; }
body.menu-open .menu__foot { opacity: 1; }
.menu__nav a:nth-child(2) { transition-delay: .05s; } .menu__nav a:nth-child(3) { transition-delay: .1s; }
.menu__nav a:nth-child(4) { transition-delay: .15s; } .menu__nav a:nth-child(5) { transition-delay: .2s; }
.menu__nav a:nth-child(6) { transition-delay: .25s; } .menu__nav a:nth-child(7) { transition-delay: .3s; }

/* ---------- sections ---------- */
.sec { position: relative; padding-block: var(--sec); }
.sec--paper { background: var(--paper); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; color: var(--ivory); background: var(--ink); overflow: hidden; display: flex; flex-direction: column; }
.hero__media { position: absolute; inset: -6% 0 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; filter: sepia(.55) saturate(.65) brightness(.62) contrast(1.08); transform: scale(1.04); }
.hero__shade { position: absolute; inset: 0; background:
  radial-gradient(120% 90% at 85% 40%, transparent 0 30%, rgba(22,16,13,.55) 70%),
  linear-gradient(180deg, rgba(22,16,13,.55) 0%, rgba(22,16,13,.1) 30%, rgba(22,16,13,.25) 60%, rgba(22,16,13,.95) 100%),
  linear-gradient(90deg, rgba(22,16,13,.75) 0%, rgba(22,16,13,0) 60%); }
[dir=rtl] .hero__shade { transform: scaleX(-1); }
.hero__grain { position: absolute; inset: 0; opacity: .12; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__inner { position: relative; flex: 1; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 40px; padding-top: calc(var(--hdr) + 40px); padding-bottom: 40px; }
.hero__title { font: 300 clamp(54px, 9vw, 138px)/.95 var(--serif); letter-spacing: -.02em; margin: 0 0 30px; }
.hero__title .line:nth-child(2) { font-style: italic; color: var(--gold-light); padding-inline-start: .5em; }
:lang(he) .hero__title { font-weight: 300; line-height: 1.05; }
.hero__sub { max-width: 560px; font-size: clamp(17px, 1.4vw, 20px); color: rgba(245,239,231,.82); margin-bottom: 40px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__emblem { justify-self: end; width: min(100%, 420px); opacity: .95; filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); }
.hero__emblem img { width: 100%; height: auto; }
[dir=rtl] .hero__emblem { justify-self: start; }
.hero__foot { position: relative; display: flex; justify-content: space-between; align-items: center; padding-bottom: 30px; font: 500 10.5px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--sand); }
.scrollcue { display: inline-flex; align-items: center; gap: 14px; }
.scrollcue span { width: 1px; height: 46px; background: rgba(232,210,176,.25); position: relative; overflow: hidden; }
.scrollcue span::after { content: ""; position: absolute; inset: 0; background: var(--gold); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.hero__motto { font-family: var(--serif); font-style: italic; letter-spacing: .3em; font-size: 13px; }

/* stats */
.stats { background: var(--ink); color: var(--ivory); border-top: 1px solid var(--line-light); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 44px 24px; text-align: center; border-inline-start: 1px solid var(--line-light); }
.stat:first-child { border-inline-start: 0; }
.stat__v { display: block; font: 300 clamp(38px, 4vw, 58px)/1 var(--serif); color: var(--gold-light); margin-bottom: 10px; }
.stat__l { font: 400 11.5px/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sand); }
:lang(he) .stat__l { letter-spacing: .04em; font-size: 14px; }

/* ---------- events ---------- */
.events { background: var(--ivory); }
.events__top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; align-items: end; margin-bottom: 70px; }
.events__top .shead { margin: 0; }
.events__lead { margin: 0; color: var(--muted); }
.formats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 70px; }
.format { padding: 38px 34px 34px; border-inline-start: 1px solid var(--line); }
.format:first-child { border-inline-start: 0; padding-inline-start: 0; }
.format__n { display: block; font: italic 300 22px/1 var(--serif); color: var(--bronze); margin-bottom: 18px; }
.format h3 { font-size: 28px; margin-bottom: 10px; }
.format p { color: var(--muted); font-size: 15.5px; margin: 0; }
.evlist { display: grid; gap: 18px; }
.evcard {
  display: grid; grid-template-columns: 150px 1fr 220px; gap: 40px; align-items: center;
  padding: 34px 40px; background: #fff; border: 1px solid var(--line); position: relative;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s;
}
.evcard::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 2px; background: var(--bronze); transform: scaleY(0); transition: transform .6s var(--ease); }
.evcard:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -30px rgba(60, 35, 20, .3); border-color: transparent; }
.evcard:hover::before { transform: scaleY(1); }
.evcard__date { text-align: center; border-inline-end: 1px solid var(--line); padding-inline-end: 34px; }
.evcard__day { display: block; font: 300 66px/1 var(--serif); color: var(--bronze-deep); }
.evcard__month { display: block; font: 500 12px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; margin-top: 6px; }
.evcard__wd { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
.evcard__type { display: flex; align-items: center; gap: 10px; font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); margin-bottom: 12px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bronze); box-shadow: 0 0 0 4px rgba(138,90,59,.15); }
.dot--group { background: var(--ink); box-shadow: 0 0 0 4px rgba(22,16,13,.1); }
.evcard__title { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 10px; }
.evcard__desc { color: var(--muted); font-size: 15.5px; margin-bottom: 14px; }
.evcard__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13.5px; color: var(--text); }
.evcard__meta li { display: flex; align-items: center; gap: 8px; }
.evcard__meta li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.evcard__side { display: flex; flex-direction: column; align-items: stretch; gap: 16px; text-align: center; }
.evcard__price { font: 400 34px/1 var(--serif); color: var(--ink); }
.evcard--empty { grid-template-columns: 1fr auto; background: var(--paper); }
.evcard--empty h3 { font-size: 32px; margin-bottom: 8px; }
.evcard--empty p { margin: 0; color: var(--muted); }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: start; }
.about__media { position: relative; padding-bottom: 80px; }
.arch { margin: 0; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--sand); }
.arch img, .frame img { width: 100%; height: 115%; object-fit: cover; }
.about__small { position: absolute; width: 44%; aspect-ratio: 4 / 5; inset-inline-end: -8%; bottom: 0; margin: 0; overflow: hidden; border: 10px solid var(--ivory); background: var(--sand); }
.about__small img { width: 100%; height: 100%; object-fit: cover; }
.about__sign { position: absolute; inset-inline-start: 0; bottom: 18px; font: italic 300 28px/1 var(--serif); color: var(--bronze); }
.about__text { padding-top: 30px; }
.about__text .h2 { margin-bottom: 34px; }
.about__lead .lead { white-space: normal; }
.creds { list-style: none; margin: 34px 0; padding: 0; border-top: 1px solid var(--line); }
.creds li { display: flex; gap: 22px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.creds li span { font: italic 300 18px/1 var(--serif); color: var(--bronze); min-width: 28px; }
.more__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease); }
.more__body > * { overflow: hidden; }
.more__body { overflow: hidden; }
.more.is-open .more__body { grid-template-rows: 1fr; }
.more:not(.is-open) .more__body { max-height: 0; }
.more.is-open .more__body { max-height: 2000px; transition: max-height 1.2s var(--ease); }
.more__body p { color: var(--muted); }
.quote { margin: 42px 0 36px; padding: 0; font: italic 300 clamp(26px, 2.6vw, 36px)/1.3 var(--serif); color: var(--bronze-deep); position: relative; }
.quote::before { content: "“"; position: absolute; top: -.45em; inset-inline-start: -.05em; font-size: 4em; line-height: 1; color: var(--gold); opacity: .35; }
.about__social { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-light); border-radius: 50%; transition: background .4s, color .4s, border-color .4s; }
.socials a .i { width: 17px; height: 17px; }
.socials a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.socials--dark a { border-color: var(--line); color: var(--ink); }
.socials--dark a:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* ---------- why ---------- */
.why { background: var(--ink); color: var(--ivory); overflow: hidden; }
.why__bg { position: absolute; inset: -10% 0; width: 46%; inset-inline-end: 0; inset-inline-start: auto; opacity: .38; }
.why__bg img { width: 100%; height: 100%; object-fit: cover; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
[dir=rtl] .why__bg img { mask-image: linear-gradient(-90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(-90deg, transparent, #000 60%); }
.why .wrap { position: relative; }
.why__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); }
.why__item { padding: 44px 34px 48px 0; border-bottom: 1px solid var(--line-light); position: relative; }
[dir=rtl] .why__item { padding: 44px 0 48px 34px; }
.why__item:not(:nth-child(3n+1)) { padding-inline-start: 34px; border-inline-start: 1px solid var(--line-light); }
.why__n { display: block; font: italic 300 20px/1 var(--serif); color: var(--gold); margin-bottom: 26px; }
.why__item h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; color: var(--ivory); transition: color .4s; }
.why__item p { color: var(--sand); opacity: .8; margin: 14px 0 0; font-size: 15.5px; }
.why__item:hover h3 { color: var(--gold-light); }
.why__cta { margin-top: 60px; }

/* ---------- services index ---------- */
.srv { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.srv li { border-bottom: 1px solid var(--line); }
.srv__row { display: grid; grid-template-columns: 70px 1.1fr 1fr 50px; gap: 30px; align-items: center; padding: 34px 0; position: relative; transition: padding .6s var(--ease), color .4s; }
.srv__row::before { content: ""; position: absolute; inset: 0; background: var(--paper); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.srv__n { font: italic 300 20px/1 var(--serif); color: var(--bronze); }
.srv__t { font: 400 clamp(26px, 3vw, 44px)/1.1 var(--serif); transition: transform .6s var(--ease); }
.srv__d { color: var(--muted); font-size: 15.5px; }
.srv__a { justify-self: end; width: 50px; height: 50px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: background .4s, color .4s, border-color .4s; }
.srv__a .i { width: 18px; }
.srv__img { display: none; }
.srv__row:hover .srv__t { transform: translateX(14px); }
[dir=rtl] .srv__row:hover .srv__t { transform: translateX(-14px); }
.srv__row:hover .srv__a { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.services { position: relative; isolation: isolate; }
.hover-img { position: fixed; left: 0; top: 0; width: 280px; aspect-ratio: 3 / 4; pointer-events: none; z-index: 5; overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.8); transition: opacity .4s, transform .5s var(--ease); }
.hover-img img { width: 100%; height: 100%; object-fit: cover; }
.hover-img.on { opacity: 1; }

/* ---------- offer blocks ---------- */
.offer__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(48px, 7vw, 120px); align-items: center; }
.offer__grid--flip .offer__media { order: 2; }
.offer__media { position: relative; }
.frame { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.offer__badge { position: absolute; bottom: -30px; inset-inline-end: -30px; width: 150px; height: 150px; border-radius: 50%; background: var(--ink); color: var(--gold-light); display: grid; place-content: center; text-align: center; gap: 4px; }
.offer__badge span { font: 500 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--sand); }
.offer__badge .price { font: 300 34px/1 var(--serif); }
.offer__text .h2 { margin-bottom: 30px; }
.chips { list-style: none; padding: 0; margin: 30px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; background: rgba(255,255,255,.4); }
.acc { border-top: 1px solid var(--line); margin-top: 26px; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 400 22px/1.3 var(--serif); transition: color .3s; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .i { width: 20px; flex: none; color: var(--bronze); transition: transform .5s var(--ease); }
.acc details[open] summary .i { transform: rotate(45deg); }
.acc summary:hover { color: var(--bronze); }
.acc__in { padding: 0 0 26px; color: var(--muted); font-size: 16px; }
.acc__in p:last-child { margin-bottom: 0; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-inline-start: 30px; line-height: 1.55; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 16px; height: 1px; background: var(--bronze); }
.ticks--light li { color: var(--sand); }
.ticks--light li::before { background: var(--gold); }
.ticks--big { grid-template-columns: repeat(2, 1fr); gap: 0 60px; }
.ticks--big li { font: 400 clamp(20px, 1.8vw, 26px)/1.35 var(--serif); padding-block: 22px; border-bottom: 1px solid var(--line); padding-inline-start: 40px; }
.ticks--big li::before { top: 1.3em; width: 22px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 16px; }
.steps li { counter-increment: s; position: relative; padding-inline-start: 46px; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; inset-inline-start: 0; top: 0; font: italic 300 20px/1.3 var(--serif); color: var(--bronze); }
.offer__foot { margin-top: 70px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 0 0; border-top: 1px solid var(--line); }
.offer__price { margin: 0; font: 400 clamp(24px, 2.4vw, 32px)/1.2 var(--serif); }
.offer__formats { margin: 80px auto 40px; max-width: 760px; text-align: center; font: italic 300 clamp(22px, 2vw, 28px)/1.4 var(--serif); color: var(--bronze-deep); }

/* price menu (technique) */
.menu-list { margin-top: 80px; max-width: 860px; margin-inline: auto; padding: clamp(32px, 5vw, 60px); background: var(--ivory); border: 1px solid var(--line); text-align: center; }
.menu-row { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; text-align: start; }
.menu-row__name { font: 400 clamp(20px, 2vw, 26px)/1.25 var(--serif); }
.menu-row__name em { font-style: italic; color: var(--muted); font-size: .8em; margin-inline-start: 6px; }
.menu-row__dots { flex: 1; border-bottom: 1px dotted rgba(90,60,40,.4); transform: translateY(-6px); min-width: 20px; }
.menu-row__price { font: 400 clamp(22px, 2vw, 28px)/1 var(--serif); color: var(--bronze-deep); white-space: nowrap; }
.menu-list__note { margin: 24px 0 30px; font-size: 14px; color: var(--muted); }

/* packages */
.pkgs { display: grid; gap: 20px; margin-top: 90px; }
.pkgs--3 { grid-template-columns: repeat(3, 1fr); }
.pkgs--2 { grid-template-columns: repeat(2, 1fr); max-width: 1000px; margin-inline: auto; margin-top: 0; }
.pkg { position: relative; display: flex; flex-direction: column; padding: 46px 38px 38px; background: #fff; border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.pkg:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -40px rgba(60,35,20,.35); }
.pkg--featured { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.pkg--featured .ticks li { color: var(--sand); }
.pkg--featured .ticks li::before { background: var(--gold); }
.pkg__flag { position: absolute; top: 0; inset-inline-end: 30px; transform: translateY(-50%); background: var(--gold); color: var(--ink); padding: 7px 14px; font: 500 10px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.pkg__name { font-size: 34px; margin-bottom: 6px; }
.pkg__sub { color: var(--muted); font-size: 14.5px; margin-bottom: 0; }
.pkg--featured .pkg__sub { color: var(--sand); }
.pkg__price { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 30px; padding-bottom: 26px; border-bottom: 1px solid var(--line); font: 300 52px/1 var(--serif); color: var(--bronze-deep); }
.pkg--featured .pkg__price { color: var(--gold-light); border-color: var(--line-light); }
.pkg__price small { font: 400 14px var(--sans); color: var(--muted); }
.pkg .ticks { flex: 1; margin-bottom: 26px; font-size: 15px; }
.pkg__note { font-size: 13px; color: var(--muted); border-inline-start: 2px solid var(--gold); padding-inline-start: 14px; margin-bottom: 26px; }
.pkg--featured .pkg__note { color: var(--sand); }
.pkg--featured .btn--gold { margin-top: auto; }
.extras { margin-top: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; align-items: center; padding: 50px; background: var(--paper); }
.extras h3 { font-size: 32px; margin-bottom: 12px; }
.extras p { color: var(--muted); margin: 0; }
.note { max-width: 860px; margin: 60px auto 0; padding: 36px 44px; border: 1px solid var(--line); background: var(--ivory); text-align: center; font: italic 300 20px/1.55 var(--serif); color: var(--bronze-deep); }
.note p:last-child { margin: 0; }

/* ---------- course ---------- */
.course { background: radial-gradient(90% 120% at 80% 30%, #3a2a20 0%, var(--ink) 60%); color: var(--ivory); overflow: hidden; }
.course__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(48px, 7vw, 120px); align-items: center; }
.course__title { font: 300 clamp(56px, 8vw, 118px)/.95 var(--serif); margin-bottom: 18px; }
.course__tag { font: 500 12px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 30px; }
.course__desc { color: var(--sand); font-size: 18px; max-width: 580px; margin-bottom: 30px; }
.course__buy { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; }
.course__price { font: 300 54px/1 var(--serif); color: var(--gold-light); }
.course__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.course__media { position: relative; }
.arch--dark { background: var(--coffee); }
.course__ring { position: absolute; bottom: 8%; inset-inline-start: -50px; width: 140px; height: 140px; display: grid; place-content: center; text-align: center; background: rgba(22,16,13,.7); backdrop-filter: blur(8px); border-radius: 50%; }
.course__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--gold); stroke-width: 1; stroke-dasharray: 352; stroke-dashoffset: 352; transition: stroke-dashoffset 2s var(--ease) .4s; }
.course__ring.is-in svg { stroke-dashoffset: 0; }
.course__ring bdi { font: 300 50px/1 var(--serif); color: var(--gold-light); }
.course__ring span { font: 500 10px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--sand); margin-top: 4px; }

/* ---------- process ---------- */
.steps-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.steps-line::before { content: ""; position: absolute; top: 28px; inset-inline: 0; height: 1px; background: var(--line); }
.steps-line li { position: relative; padding: 0 28px 0 0; }
[dir=rtl] .steps-line li { padding: 0 0 0 28px; }
.steps-line__n { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--paper); border: 1px solid var(--bronze); font: italic 300 20px/1 var(--serif); color: var(--bronze); margin-bottom: 30px; transition: background .5s, color .5s; }
.steps-line li:hover .steps-line__n { background: var(--ink); color: var(--gold-light); border-color: var(--ink); }
.steps-line h3 { font-size: 30px; margin-bottom: 12px; }
.steps-line p { color: var(--muted); font-size: 15.5px; }

/* ---------- journal ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.acard { display: flex; flex-direction: column; position: relative; }
.acard__img { margin: 0 0 26px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.acard__img img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.35) saturate(.7); transition: transform 1.2s var(--ease), filter .8s; }
.acard:hover .acard__img img { transform: scale(1.06); filter: sepia(.1) saturate(.9); }
.acard__n { font: italic 300 18px/1 var(--serif); color: var(--bronze); margin-bottom: 12px; }
.acard h3 { font-size: 28px; line-height: 1.15; margin-bottom: 14px; }
.acard p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.acard .btn-link { margin-top: auto; align-self: flex-start; }

/* ---------- faq ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px 100px; align-items: start; }
.faq__grid .shead { position: sticky; top: 120px; margin: 0; }
.acc--faq { margin-top: 0; }

/* ---------- contact ---------- */
.contact { background: var(--ink); color: var(--ivory); overflow: hidden; text-align: center; }
.contact__bg { position: absolute; inset: -15% 0; opacity: .3; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 50%, rgba(22,16,13,.4), var(--ink)); }
.contact__in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.contact__title { font: 300 clamp(52px, 8vw, 120px)/1 var(--serif); margin-bottom: 26px; }
.contact__text { max-width: 620px; color: var(--sand); font-size: 18px; margin-bottom: 44px; }
.contact__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.contact__list { list-style: none; margin: 50px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; color: var(--sand); font-size: 15px; }
.contact__list li, .contact__list a { display: inline-flex; align-items: center; gap: 10px; }
.contact__list .i { width: 18px; color: var(--gold); }

/* ---------- footer ---------- */
.ftr { background: #0f0b09; color: var(--sand); padding-top: 100px; font-size: 15px; }
.ftr__top { display: grid; grid-template-columns: 300px 1fr; gap: 60px; padding-bottom: 70px; }
.ftr__brand img { width: 220px; height: auto; }
.ftr__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.ftr h4 { font: 500 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 0 0 24px; }
.ftr__col { display: flex; flex-direction: column; gap: 12px; }
.ftr__col a, .ftr__col span { display: inline-flex; align-items: center; gap: 10px; opacity: .8; transition: opacity .3s, color .3s; }
.ftr__col a:hover { opacity: 1; color: var(--gold-light); }
.ftr__col .i { width: 17px; color: var(--gold); flex: none; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 28px max(28px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line-light); font-size: 13px; color: rgba(227,214,196,.6); }
.ftr__motto { font-family: var(--serif); font-style: italic; letter-spacing: .3em; text-transform: uppercase; }
.ftr__legal { display: flex; gap: 24px; }
.ftr__legal a:hover { color: var(--gold-light); }

/* floating whatsapp */
.fab { position: fixed; inset-inline-end: 22px; bottom: max(22px, env(safe-area-inset-bottom)); z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-light); box-shadow: 0 16px 40px -10px rgba(0,0,0,.5); transform: scale(0); transition: transform .6s var(--ease-out), background .3s; }
.fab .i { width: 26px; height: 26px; }
.fab.on { transform: scale(1); }
.fab:hover { background: var(--bronze-deep); }

/* ---------- page hero (course) ---------- */
.phero { position: relative; min-height: 92svh; display: flex; align-items: flex-end; background: var(--ink); color: var(--ivory); overflow: hidden; }
.phero__bg { position: absolute; inset: -10% 0 0; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 20%; }
.phero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,16,13,.92) 0%, rgba(22,16,13,.55) 55%, rgba(22,16,13,.2) 100%), linear-gradient(0deg, var(--ink), transparent 40%); }
[dir=rtl] .phero__shade { background: linear-gradient(-90deg, rgba(22,16,13,.92) 0%, rgba(22,16,13,.55) 55%, rgba(22,16,13,.2) 100%), linear-gradient(0deg, var(--ink), transparent 40%); }
.phero__in { position: relative; padding-top: 160px; padding-bottom: 90px; }
.phero__title { font: 300 clamp(60px, 10vw, 150px)/.92 var(--serif); margin-bottom: 26px; }
.phero__tag { font: 500 12px/1.5 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.phero__desc { max-width: 560px; color: var(--sand); font-size: 18px; margin-bottom: 40px; }
.phero__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.phero__buy .course__price { margin-inline-end: 10px; }
.phero__owned { display: grid; gap: 14px; max-width: 420px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font: 500 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; border: 1px solid var(--line); justify-self: start; width: fit-content; }
.pill .i { width: 15px; height: 15px; }
.pill--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.pill--ok { color: #3f6b3a; border-color: rgba(63,107,58,.4); }
.pill--warn { color: var(--bronze); border-color: rgba(138,90,59,.4); }
.pbar { height: 2px; background: var(--line-light); position: relative; overflow: hidden; }
.pbar span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease); }
[dir=rtl] .pbar span { transform-origin: right; }

/* modules */
.mods { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mod__btn { width: 100%; height: 100%; text-align: start; display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: start; padding: 30px; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s, background .4s; }
.mod__btn:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(60,35,20,.35); }
.mod__n { font: 300 44px/1 var(--serif); color: var(--bronze); }
.mod__kicker { display: block; font: 500 10.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 6px 0 10px; }
.mod__title { display: block; font: 400 24px/1.2 var(--serif); }
.mod__text { display: block; color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.mod__state { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); }
.mod__state .i { width: 17px; height: 17px; }
.mod__lock, .mod__done { display: none; }
.mod.is-locked .mod__play { display: none; }
.mod.is-locked .mod__lock { display: block; color: var(--muted); }
.mod.is-locked .mod__btn { background: rgba(255,255,255,.5); }
.mod.is-done .mod__play { display: none; }
.mod.is-done .mod__done { display: block; }
.mod.is-done .mod__state { background: var(--ink); color: var(--gold-light); border-color: var(--ink); }
.mod--free .mod__btn { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.mod--free .mod__kicker { color: var(--gold); }
.mod--free .mod__text { color: var(--sand); }
.mod--free .mod__state { border-color: var(--gold); color: var(--gold); }
.unlock { margin-top: 50px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 40px 44px; background: var(--paper); border: 1px solid var(--line); }
.unlock h3 { font-size: 32px; margin-bottom: 6px; }
.unlock p { margin: 0; color: var(--muted); }
.unlock__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.forwhom .shead { margin-bottom: 40px; }

/* ---------- article / legal ---------- */
.art { padding-bottom: var(--sec); }
.art__head { padding-top: 70px; padding-bottom: 50px; }
.art__head .btn-link { margin-bottom: 40px; }
.art__head .btn-link .i { transform: scaleX(-1); }
[dir=rtl] .art__head .btn-link .i { transform: none; }
.art__img { margin: 0 auto 70px; max-width: 1100px; }
.art__img img { width: 100%; max-height: 640px; object-fit: cover; filter: sepia(.3) saturate(.75); }
.art__body { font-size: 18.5px; line-height: 1.85; }
.art__body h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 50px 0 18px; color: var(--bronze-deep); }
.art__body p:first-child::first-letter { float: inline-start; font: 400 4.4em/.8 var(--serif); color: var(--bronze); margin: .06em .1em 0 0; }
.legal .art__body { font-size: 16px; }
.legal .art__body p:first-child::first-letter { all: unset; }
.legal .art__body h2 { font-size: 26px; margin-top: 40px; }
.legal__li { padding-inline-start: 22px; position: relative; margin-bottom: .5em; }
.legal__li::before { content: ""; position: absolute; inset-inline-start: 0; top: .85em; width: 10px; height: 1px; background: var(--bronze); }
.art__more { margin-top: 110px; padding-top: 70px; border-top: 1px solid var(--line); }

/* ---------- status pages ---------- */
.status { min-height: 76svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-block: 80px; }
.status__mark { width: 90px; height: 90px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 36px; }
.status__mark .i { width: 36px; height: 36px; }
.status__mark--ok { background: var(--ink); color: var(--gold-light); }
.status__mark--fail { border: 1px solid var(--bronze); color: var(--bronze); }
.status__code { font: 300 clamp(110px, 18vw, 220px)/1 var(--serif); color: var(--gold); margin: 0; }
.status .h2 { margin-bottom: 20px; }
.status__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 26px; }

/* ---------- cabinet ---------- */
.cab { padding-block: 60px var(--sec); min-height: 80svh; }
.cab__guest { max-width: 520px; margin: 60px auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cab__guest img { margin-bottom: 20px; }
.cab__app { display: grid; grid-template-columns: 320px 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.cab__side { position: sticky; top: 110px; padding: 40px 34px; background: var(--paper); text-align: center; display: flex; flex-direction: column; align-items: center; }
.avatar { position: relative; width: 130px; height: 130px; border-radius: 50%; overflow: hidden; cursor: pointer; margin-bottom: 26px; background: var(--ink); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar img:not([src]), .avatar img[src=""] { display: none; }
.avatar__ph { position: absolute; inset: 0; display: grid; place-items: center; font: 300 46px/1 var(--serif); color: var(--gold-light); }
.avatar img[src]:not([src=""]) + .avatar__ph { display: none; }
.avatar__edit { position: absolute; inset: auto 0 0; padding: 8px 0 12px; background: rgba(22,16,13,.7); color: var(--ivory); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; transform: translateY(100%); transition: transform .4s var(--ease); }
.avatar:hover .avatar__edit { transform: none; }
.cab__name { font-size: 34px; margin-bottom: 6px; }
.cab__mail { color: var(--muted); font-size: 14px; margin-bottom: 14px; word-break: break-all; }
.cab__side .pill { cursor: default; }
.cab__side .pill button { text-decoration: underline; font-size: inherit; letter-spacing: inherit; text-transform: inherit; }
.cab__nav { display: flex; flex-direction: column; width: 100%; margin-top: 30px; border-top: 1px solid var(--line); }
.cab__nav button { padding: 16px 0; border-bottom: 1px solid var(--line); font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.cab__nav button.on, .cab__nav button:hover { color: var(--ink); }
.pane { display: none; animation: paneIn .7s var(--ease-out); }
.pane.on { display: block; }
@keyframes paneIn { from { opacity: 0; transform: translateY(16px); } }
.ccard { display: grid; grid-template-columns: 260px 1fr; background: #fff; border: 1px solid var(--line); margin-bottom: 24px; }
.ccard img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.ccard__body { padding: 36px 40px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ccard__body h3 { font-size: 36px; }
.ccard .pbar { width: 100%; background: var(--line); }
.ccard .pbar span { background: var(--bronze); }
.ccard small { color: var(--muted); }
.cab__events { margin-top: 30px; padding: 36px 40px; background: var(--paper); }
.cab__events p:not(.eyebrow) { color: var(--muted); }
.kv { margin: 0; border-top: 1px solid var(--line); }
.kv > div { display: grid; grid-template-columns: 200px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--muted); font-size: 14px; }
.kv dd { margin: 0; }
.form-narrow { max-width: 460px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 60px 0; }

/* ---------- forms & dialogs ---------- */
.fld { display: block; margin-bottom: 18px; }
.fld > span { display: block; font: 500 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
:lang(he) .fld > span { letter-spacing: .03em; font-size: 13px; }
.fld input, .fld textarea, .fld select { width: 100%; padding: 14px 0 12px; border: 0; border-bottom: 1px solid rgba(90,60,40,.3); background: transparent; font-size: 16px; outline: none; border-radius: 0; transition: border-color .3s; }
.fld input:focus, .fld textarea:focus { border-color: var(--bronze); }
.fld small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 8px; }
.code-input { font: 300 34px/1 var(--serif) !important; letter-spacing: .5em; text-align: center; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.chk { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin: 8px 0 18px; cursor: pointer; }
.chk input { margin-top: 4px; accent-color: var(--bronze); width: 16px; height: 16px; flex: none; }
.chk a { color: var(--bronze); text-decoration: underline; text-underline-offset: 3px; }
.form-err { color: #9a3b23; font-size: 14px; min-height: 0; margin: 0 0 12px; }
.form-err:empty { display: none; }
.form-hint { font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.dlg { padding: 0; border: 0; background: transparent; max-width: min(520px, calc(100vw - 24px)); width: 100%; max-height: calc(100dvh - 24px); color: var(--text); overflow: visible; }
.dlg::backdrop { background: rgba(15, 11, 9, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dlg[open] { animation: dlgIn .6s var(--ease-out); }
.dlg[open]::backdrop { animation: fadeIn .5s; }
@keyframes dlgIn { from { opacity: 0; transform: translateY(26px) scale(.98); } }
@keyframes fadeIn { from { opacity: 0; } }
.dlg__box { position: relative; background: var(--ivory); padding: clamp(32px, 5vw, 50px); max-height: calc(100dvh - 24px); overflow: auto; }
.dlg__x { position: absolute; top: 14px; inset-inline-end: 14px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; transition: background .3s; z-index: 2; }
.dlg__x:hover { background: var(--paper); }
.dlg__mono { margin: 0 auto 20px; }
.dlg__title { font-size: 34px; margin-bottom: 24px; }
.dlg__text { color: var(--muted); font-size: 15px; }
.tabs { display: flex; justify-content: center; gap: 30px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.tabs button { padding: 12px 0; font: 500 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid transparent; margin-bottom: -1px; transition: color .3s, border-color .3s; }
.tabs button.on { color: var(--ink); border-color: var(--ink); }
#dlg-auth .dlg__title { text-align: center; font-size: 30px; }
.sum { margin: 0 0 26px; border-top: 1px solid var(--line); }
.sum > div { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.sum dt { color: var(--muted); font-size: 14px; }
.sum dd { margin: 0; }
.sum__price { font: 400 30px/1 var(--serif); color: var(--bronze-deep); }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; font-size: 12.5px; color: var(--muted); }
.secure .i { width: 15px; }
.btn-link[data-resend] { margin: 14px auto 0; display: flex; }
.dlg__done { text-align: center; padding: 20px 0 0; }
.done-mark { width: 70px; height: 70px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-light); }
.dlg__box.is-done > :not(.dlg__done):not(.dlg__x) { display: none; }

.dlg--player { max-width: min(1100px, calc(100vw - 24px)); }
.player { background: var(--ink); color: var(--ivory); position: relative; }
.player .dlg__x { color: var(--ivory); top: -52px; inset-inline-end: 0; }
.player .dlg__x:hover { background: rgba(255,255,255,.08); }
.player__frame { aspect-ratio: 16 / 9; background: #000; }
.player__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.player__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding: 26px 30px; align-items: center; }
.player__bar h3 { font-size: 28px; }
.player__text { color: var(--sand); font-size: 14.5px; margin: 6px 0 0; }
.player__bar .eyebrow { margin-bottom: 8px; }
.player__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.toast { position: fixed; left: 50%; bottom: 30px; z-index: 100; transform: translate(-50%, 140%); padding: 16px 26px; background: var(--ink); color: var(--ivory); font-size: 14.5px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.4); transition: transform .6s var(--ease-out); max-width: calc(100vw - 32px); }
.toast:not(.on) { visibility: hidden; transition: transform .6s var(--ease-out), visibility 0s .6s; }
.toast.on { transform: translate(-50%, 0); }

/* ==========================================================================
   Motion
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease-out), transform 1.3s var(--ease-out); transition-delay: calc(var(--d, 0) * 110ms); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease-out); transition-delay: calc(var(--d, 0) * 120ms); }
.js [data-reveal="clip"] img { transform: scale(1.25); transition: transform 2.2s var(--ease-out); transition-delay: calc(var(--d, 0) * 120ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="clip"].is-in img { transform: scale(1); }
.arch[data-reveal="clip"] { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); }
.arch[data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round 999px 999px 0 0); }

[data-split] .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .line > span { display: inline-block; }
.js [data-split] .line > span { transform: translateY(110%); transition: transform 1.3s var(--ease-out); transition-delay: calc(var(--i, 0) * 120ms + 80ms); }
.js [data-split].is-in .line > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js [data-reveal="clip"], .js [data-reveal="clip"] img, .js [data-split] .line > span { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .hero__video { display: none; }
  .scrollcue span::after { animation: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .hdr__nav { display: none; }
  .burger { display: block; }
  .hdr__tools { margin-inline-start: auto; }
  .evcard { grid-template-columns: 120px 1fr; }
  .evcard__side { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; text-align: start; }
  .mods { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  :root { --hdr: 72px; }
  .hero__inner { grid-template-columns: 1fr; align-content: end; }
  .hero__emblem { position: absolute; top: calc(var(--hdr) + 10px); inset-inline-end: var(--gutter); width: 140px; opacity: .85; }
  .events__top, .about__grid, .offer__grid, .course__grid, .faq__grid, .extras { grid-template-columns: 1fr; }
  .offer__grid--flip .offer__media { order: 0; }
  .formats { grid-template-columns: 1fr; }
  .format { border-inline-start: 0; border-top: 1px solid var(--line); padding: 30px 0; }
  .format:first-child { border-top: 0; }
  .why__grid { grid-template-columns: 1fr 1fr; }
  .why__item, .why__item:not(:nth-child(3n+1)) { padding: 36px 24px 36px 0; border-inline-start: 0; }
  .why__item:nth-child(2n) { padding-inline-start: 24px; border-inline-start: 1px solid var(--line-light); }
  .why__bg { width: 100%; opacity: .2; }
  .srv__row { grid-template-columns: 50px 1fr 44px; gap: 18px; }
  .srv__d { grid-column: 2; grid-row: 2; }
  .srv__a { grid-column: 3; grid-row: 1 / span 2; width: 44px; height: 44px; }
  .pkgs--3, .pkgs--2 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .steps-line { grid-template-columns: 1fr 1fr; gap: 50px 0; }
  .steps-line::before { display: none; }
  .cards3 { grid-template-columns: 1fr 1fr; }
  .faq__grid .shead { position: static; }
  .ftr__top { grid-template-columns: 1fr; }
  .ftr__brand img { width: 170px; }
  .cab__app { grid-template-columns: 1fr; }
  .cab__side { position: static; }
  .course__ring { inset-inline-start: 10px; }
  .about__media { max-width: 560px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-light); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .hdr__word, .hdr__cta, .hdr .lang { display: none; }
  .hdr__logo img { width: 62px; }
  .hero__title { font-size: clamp(50px, 15vw, 76px); }
  .hero__ctas .btn { width: 100%; }
  .hero__foot .hero__motto { display: none; }
  .stat { padding: 30px 12px; }
  .evcard { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; }
  .evcard__date { display: flex; align-items: baseline; gap: 12px; text-align: start; border: 0; padding: 0 0 18px; border-bottom: 1px solid var(--line); }
  .evcard__day { font-size: 46px; }
  .evcard__side { grid-column: auto; flex-direction: column; align-items: stretch; text-align: start; }
  .evcard--empty { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .why__item, .why__item:not(:nth-child(3n+1)), .why__item:nth-child(2n) { padding: 30px 0; border-inline-start: 0; }
  .srv__row { padding: 26px 0; }
  .srv__row:hover .srv__t { transform: none; }
  .offer__badge { width: 118px; height: 118px; inset-inline-end: 10px; bottom: -24px; }
  .offer__badge .price { font-size: 26px; }
  .ticks--big { grid-template-columns: 1fr; }
  .menu-list { padding: 30px 20px; }
  .menu-row { flex-wrap: wrap; }
  .menu-row__dots { display: none; }
  .menu-row__price { margin-inline-start: auto; }
  .extras { padding: 30px 22px; }
  .steps-line, .cards3, .mods { grid-template-columns: 1fr; }
  .mod__btn { padding: 24px; gap: 16px; }
  .unlock { padding: 30px 24px; }
  .about__small { width: 46%; inset-inline-end: 0; border-width: 6px; }
  .grid2 { grid-template-columns: 1fr; }
  .ccard { grid-template-columns: 1fr; }
  .ccard img { min-height: 0; aspect-ratio: 16 / 9; }
  .ccard__body, .cab__events { padding: 28px 24px; }
  .kv > div { grid-template-columns: 1fr; gap: 4px; }
  .ftr__cols { grid-template-columns: 1fr; gap: 36px; }
  .ftr__bottom { flex-direction: column; align-items: flex-start; }
  .player__bar { padding: 20px; }
  .player__actions { width: 100%; }
  .player__actions .btn { flex: 1; padding: 0 10px; }
  .course__buy .btn, .phero__buy .btn { flex: 1 1 auto; }
  .fab { width: 52px; height: 52px; inset-inline-end: 16px; }
  .dlg__box { padding: 34px 22px 26px; }
}
