/* L.E.O — site v3.2 · warm charcoal & amber · designed by Claude, 2026-11-22
   Performance: no smooth-scroll library, no animated full-screen filters, no backdrop blur on content,
   no continuously repainting text. Motion uses transform/opacity only. */

:root {
  --ink: #17141a;
  --ink-2: #1e1a22;
  --ink-3: #26212b;
  --t1: #faf5ee;
  --t2: rgba(250, 245, 238, 0.80);
  --t3: rgba(250, 245, 238, 0.58);
  --line: rgba(250, 245, 238, 0.12);
  --amber: #f4b45e;
  --amber-hi: #ffd9a6;
  --amber-lo: #b06c2c;
  --safe: #6fd39a;
  --threat: #ff7a64;
  --gold: linear-gradient(110deg, #fff0d6 0%, #ffcf8f 35%, #f4b45e 65%, #e0954a 100%);
  --surface: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
  --edge: rgba(255, 255, 255, 0.13);
  --display: "DM Serif Display", Didot, Georgia, "Times New Roman", serif;
  --body: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, "Courier New", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1280px;
  color-scheme: dark;
}
:root[lang="he"] {
  --display: "Frank Ruhl Libre", "David", "Miriam", "Times New Roman", serif;
  --body: "Assistant", Arial, "Segoe UI", "Noto Sans Hebrew", "Arial Hebrew", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--t1);
  font-family: var(--body); font-size: clamp(16px, 1.05vw, 18px); line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
:root[lang="he"] body { font-size: clamp(17px, 1.15vw, 19px); }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(244, 180, 94, 0.35); color: #fff; }

.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--amber); color: #1a1006; text-decoration: none; font-weight: 700; transition: top .3s var(--ease); }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--amber-hi); outline-offset: 4px; border-radius: 6px; }

/* ---------------------------------------------------------------- atmosphere (static, one composited layer) */
.aura { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60vmax 50vmax at 78% -8%, rgba(244,180,94,.16), transparent 60%),
    radial-gradient(50vmax 45vmax at -10% 70%, rgba(190,92,62,.11), transparent 62%),
    radial-gradient(40vmax 40vmax at 110% 105%, rgba(255,217,166,.07), transparent 60%); }
.glow-cursor { position: fixed; left: 0; top: 0; width: 460px; height: 460px; margin: -230px 0 0 -230px; border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(244,180,94,.08), transparent 62%); transform: translate3d(-999px,-999px,0); }
@media (hover: none) { .glow-cursor { display: none; } }

main, header, footer { position: relative; z-index: 2; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------------------------------------------------------------- surfaces & glass buttons */
.panel { position: relative; background: var(--surface); border: 1px solid var(--edge);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 30px 70px -45px rgba(0,0,0,.8); }

.btn {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 54px; padding: 0 30px; border-radius: 999px;
  font: 700 15px/1 var(--body); letter-spacing: .01em; color: var(--t1); text-decoration: none; cursor: pointer;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.2);
  -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.42), inset 0 -10px 20px -12px rgba(255,255,255,.12), 0 14px 36px -18px rgba(0,0,0,.8);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .35s;
}
:root[lang="he"] .btn { font-size: 16px; letter-spacing: 0; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .35s;
  background: radial-gradient(140px circle at var(--mx) var(--my), rgba(255,236,205,.35), transparent 70%); }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60%; left: -80%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.3), transparent); transform: skewX(-20deg); transition: left .85s var(--ease); }
.btn:hover::before { opacity: 1; }
.btn:hover::after { left: 130%; }
.btn:hover { border-color: rgba(255,226,181,.5); }
.btn:active { transform: scale(.97); }
.btn--amber { color: #1d1206;
  background: linear-gradient(180deg, #ffe2b8 0%, #f6bd6c 48%, #e39a4c 100%);
  border-color: rgba(255,236,205,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), inset 0 -12px 22px -12px rgba(160,80,20,.45), 0 18px 50px -16px rgba(244,180,94,.6); }
.btn--amber::after { background: linear-gradient(100deg, transparent, rgba(255,255,255,.65), transparent); }
.btn--amber:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -12px 22px -12px rgba(160,80,20,.5), 0 22px 60px -12px rgba(244,180,94,.75); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn .arrow { transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateY(3px); }

/* ---------------------------------------------------------------- header */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 20px 0; transition: padding .4s var(--ease), background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { padding: 12px 0; background: rgba(23,20,26,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mark { font-family: "Bricolage Grotesque", "Segoe UI", Arial, sans-serif; font-weight: 600; font-size: 21px; letter-spacing: .38em; text-decoration: none; color: var(--t1); padding-inline-end: .38em; direction: ltr; }
.mark b { font-weight: 600; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { font-size: 14px; color: var(--t2); text-decoration: none; padding: 10px 14px; border-radius: 999px; transition: color .3s, background .3s; }
.lang:hover { color: var(--t1); background: rgba(255,255,255,.06); }

/* ---------------------------------------------------------------- type */
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; letter-spacing: -0.02em; color: #fbf3e6; text-shadow: 0 2px 0 rgba(0,0,0,.35), 0 0 50px rgba(255,214,160,.12); }
:root[lang="he"] h1, :root[lang="he"] h2 { letter-spacing: -0.01em; font-weight: 800; }
:root[lang="he"] h3 { letter-spacing: 0; font-weight: 700; }

.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--amber-hi); margin: 0 0 24px; }
:root[lang="he"] .eyebrow, :root[lang="he"] .kicker { letter-spacing: .06em; font-size: 15px; }
.eyebrow::before, .kicker::before { content: ""; width: 38px; height: 1px; background: linear-gradient(90deg, transparent, var(--amber)); }
:root[dir="rtl"] .eyebrow::before, :root[dir="rtl"] .kicker::before { background: linear-gradient(-90deg, transparent, var(--amber)); }
h2 { font-size: clamp(40px, 5.4vw, 84px); line-height: 1.02; }
:root[lang="he"] h2 { line-height: 1.12; }
.sub { color: var(--t2); max-width: 36em; margin: 24px 0 0; font-size: clamp(17px, 1.25vw, 20px); }
.section { padding: clamp(96px, 13vh, 170px) 0; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 120px 0 90px; overflow: clip; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 24px; }
.hero .copy { min-width: 0; }
.hero h1 { font-size: clamp(46px, 6.6vw, 112px); line-height: .98; }
:root[lang="he"] .hero h1 { line-height: 1.06; }
.line { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.14em; }
:where(.js) .line > span { display: inline-block; white-space: nowrap; transform: translateY(105%); opacity: 0; transition: transform 1.2s var(--ease), opacity 1s var(--ease); }
.is-ready .line > span { transform: none; opacity: 1; }
.is-ready .line:nth-child(2) > span { transition-delay: .12s; }
.lede { max-width: 32em; margin: 32px 0 42px; color: var(--t2); font-size: clamp(17px, 1.3vw, 20px); }
:where(.js) .fade-in { opacity: 0; transform: translateY(16px); transition: opacity 1.1s var(--ease) .45s, transform 1.1s var(--ease) .45s; }
.is-ready .fade-in { opacity: 1; transform: none; }
.is-ready .fade-in.d2 { transition-delay: .65s; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.orb-stage { position: relative; aspect-ratio: 1; width: min(100%, 680px); justify-self: center; }
:where(.js) .orb-stage canvas { width: 100%; height: 100%; opacity: 0; transform: scale(.88); transition: opacity 2s var(--ease) .15s, transform 2.4s var(--ease) .15s; }
.is-ready .orb-stage canvas { opacity: 1; transform: none; }
.orb-stage::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(244,180,94,.2), transparent 66%); }
.orb-ring { position: absolute; inset: 3%; border-radius: 50%; border: 1px solid rgba(255,217,166,.1); animation: spin 60s linear infinite; }
.orb-ring::after { content: ""; position: absolute; top: -3px; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--amber-hi); box-shadow: 0 0 14px 4px rgba(244,180,94,.55); }
.orb-ring.r2 { inset: 11%; animation-duration: 44s; animation-direction: reverse; border-color: rgba(255,217,166,.06); }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-cue { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--t3); }
:root[lang="he"] .scroll-cue { letter-spacing: .06em; font-size: 13px; }
.scroll-cue i { width: 1px; height: 50px; background: linear-gradient(var(--amber), transparent); transform-origin: top; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { opacity: 0; } }

/* ---------------------------------------------------------------- manifesto */
.manifesto { padding: clamp(110px, 16vh, 200px) 0; }
.manifesto p { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 3.9vw, 60px); line-height: 1.2; letter-spacing: -0.025em; max-width: 20em; margin: 0; }
:root[lang="he"] .manifesto p { line-height: 1.35; letter-spacing: 0; }
.manifesto .w { opacity: .2; transition: opacity .2s linear; }
.manifesto .w.hl { color: var(--amber-hi); }

/* ---------------------------------------------------------------- reveal (opacity + transform only) */
:where(.js) [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="2"] { transition-delay: .1s; } [data-reveal="3"] { transition-delay: .2s; } [data-reveal="4"] { transition-delay: .3s; }

/* ---------------------------------------------------------------- a day with Leo */
.day .split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.day .sticky { position: sticky; top: 130px; }
.timeline { position: relative; display: grid; gap: 22px; padding-inline-start: 46px; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); border-radius: 2px; }
.timeline .fill { position: absolute; inset-inline-start: 11px; top: 8px; width: 2px; height: calc((100% - 16px) * var(--p, 0)); background: linear-gradient(var(--amber-hi), var(--amber)); border-radius: 2px; box-shadow: 0 0 14px rgba(244,180,94,.6); }
.moment { position: relative; border-radius: 24px; padding: 30px 32px; }
.moment::before { content: ""; position: absolute; inset-inline-start: -41px; top: 36px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 2px solid var(--amber); box-shadow: 0 0 0 5px var(--ink); }
.moment time { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(30px, 2.6vw, 42px); line-height: 1; letter-spacing: -0.02em; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; text-align: start; }
:root[dir="rtl"] .moment time { text-align: right; }
.moment h3 { font-size: clamp(22px, 1.7vw, 27px); line-height: 1.2; margin-top: 14px; letter-spacing: -0.02em; }
.moment p { margin: 10px 0 0; color: var(--t2); }

/* ---------------------------------------------------------------- missions marquee */
.missions .head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.note { font-size: 13px; color: var(--t3); }
.rail { margin-top: 64px; display: grid; gap: 16px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
:root[dir="rtl"] .rail { direction: ltr; }
.track { display: flex; gap: 16px; width: max-content; animation: marquee 70s linear infinite; }
.track.rev { animation-direction: reverse; animation-duration: 84s; }
:root[dir="rtl"] .track { animation-direction: reverse; }
:root[dir="rtl"] .track.rev { animation-direction: normal; }
.rail:hover .track, .rail.is-off .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.chip { flex: none; display: inline-flex; align-items: center; gap: 14px; padding: 18px 26px; border-radius: 999px; font-size: clamp(15px, 1.1vw, 17px); font-weight: 500; white-space: nowrap; }
:root[dir="rtl"] .chip { direction: rtl; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px 2px rgba(244,180,94,.5); flex: none; }

/* ---------------------------------------------------------------- pillars */
.pillars .grid { margin-top: 72px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; perspective: 1400px; }
.card { --mx: 50%; --my: 0%; --rx: 0deg; --ry: 0deg;
  border-radius: 28px; padding: clamp(30px, 3vw, 44px); min-height: 400px; display: flex; flex-direction: column; overflow: hidden;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .45s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,217,166,.13), transparent 60%); }
.card:hover::before { opacity: 1; }
.numeral { font-family: var(--display); font-weight: 600; font-size: 54px; line-height: 1; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card h3 { font-size: clamp(27px, 2.2vw, 36px); line-height: 1.1; margin-top: auto; padding-top: 70px; }
.card p { color: var(--t2); margin: 16px 0 0; }
.card .glyph { position: absolute; top: 28px; inset-inline-end: 28px; width: 80px; height: 80px; opacity: .85; }

/* ---------------------------------------------------------------- heimdall · security system */
.heimdall { position: relative; overflow: clip; }
.heimdall::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); }
.heimdall .top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; position: relative; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--safe); background: rgba(111,211,154,.08); border: 1px solid rgba(111,211,154,.28); margin-bottom: 26px; }
:root[dir="rtl"] .badge { padding: 8px 10px 8px 14px; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--safe); box-shadow: 0 0 0 0 rgba(111,211,154,.6); animation: live 2s ease-out infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(111,211,154,0); } 100% { box-shadow: 0 0 0 0 rgba(111,211,154,0); } }

.console { border-radius: 24px; overflow: hidden; font-family: var(--mono); font-size: 13px; background: linear-gradient(180deg, rgba(14,12,16,.92), rgba(20,17,23,.92)); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(244,180,94,.06), inset 0 1px 0 rgba(255,255,255,.08); }
.console header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.08); color: var(--t2); font-weight: 600; letter-spacing: .06em; }
.console header .dots { display: flex; gap: 7px; } .console header .dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
.console header .state { display: inline-flex; align-items: center; gap: 8px; color: var(--safe); }
.console header .state i { width: 7px; height: 7px; border-radius: 50%; background: var(--safe); animation: live 2s ease-out infinite; }
.console .scan { position: relative; height: 2px; background: rgba(255,255,255,.04); overflow: hidden; }
.console .scan::after { content: ""; position: absolute; top: 0; left: 0; width: 30%; height: 100%; background: linear-gradient(90deg, transparent, var(--amber), transparent); animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(430%); } }
.feed { list-style: none; margin: 0; padding: 10px 0; min-height: 316px; display: flex; flex-direction: column; justify-content: flex-end; }
.feed li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 11px 20px; color: var(--t1); border-top: 1px solid rgba(255,255,255,.04); animation: row .7s var(--ease) both; }
:root[lang="he"] .feed li { font-family: var(--body); font-size: 15px; }
.feed li:first-child { border-top: 0; }
.feed time { color: var(--t3); direction: ltr; }
.feed .what { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 5px 9px; border-radius: 6px; white-space: nowrap; color: var(--threat); background: rgba(255,122,100,.1); border: 1px solid rgba(255,122,100,.28); }
:root[lang="he"] .tag { font-family: var(--body); letter-spacing: 0; font-size: 13px; }
.tag.ok { color: var(--safe); background: rgba(111,211,154,.08); border-color: rgba(111,211,154,.28); }
@keyframes row { from { opacity: 0; transform: translateY(14px); } }
.console footer { padding: 12px 20px; border-top: 1px solid rgba(255,255,255,.06); color: var(--t3); font-size: 11px; letter-spacing: .06em; }
:root[lang="he"] .console footer { font-family: var(--body); font-size: 13px; letter-spacing: 0; }

.powers { margin-top: clamp(60px, 8vw, 100px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
.power { border-radius: 22px; padding: 28px 26px 30px; }
.power .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(180deg, rgba(255,217,166,.18), rgba(244,180,94,.05)); border: 1px solid rgba(255,217,166,.25); box-shadow: inset 0 1px 0 rgba(255,240,215,.35); }
.power .ico svg { width: 22px; height: 22px; stroke: var(--amber-hi); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.power h3 { font-size: clamp(20px, 1.5vw, 24px); line-height: 1.2; letter-spacing: -0.02em; }
.power p { margin: 10px 0 0; color: var(--t2); font-size: .95em; }

/* ---------------------------------------------------------------- what Leo gives back */
.gives { display: grid; gap: 0; margin-top: 70px; border-top: 1px solid var(--line); }
.give { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 80px); align-items: baseline; padding: clamp(34px, 4vw, 54px) 0; border-bottom: 1px solid var(--line); }
.give h3 { font-size: clamp(54px, 7.4vw, 124px); line-height: .95; letter-spacing: -0.045em; }
:root[lang="he"] .give h3 { letter-spacing: -0.015em; line-height: 1.05; }
.give p { margin: 0; color: var(--t2); font-size: clamp(17px, 1.35vw, 21px); max-width: 30em; }

/* ---------------------------------------------------------------- finale */
.finale { position: relative; padding: clamp(130px, 20vh, 240px) 0; text-align: center; overflow: clip; }
.finale h2 { font-size: clamp(44px, 6.6vw, 112px); line-height: 1.02; max-width: 14em; margin-inline: auto; }
.finale .sub { margin-inline: auto; }
.finale .ctas { justify-content: center; margin-top: 46px; }
.finale .halo { position: absolute; left: 50%; top: 50%; width: min(1000px, 130vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(244,180,94,.17), rgba(244,180,94,.05) 40%, transparent 66%); }

/* ---------------------------------------------------------------- footer */
footer { border-top: 1px solid var(--line); padding: 46px 0 54px; color: var(--t3); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
footer a { text-decoration: none; transition: color .3s; } footer a:hover { color: var(--t1); }

/* ---------------------------------------------------------------- legal pages */
.legal-hero { padding: 170px 0 70px; }
.legal-hero h1 { font-size: clamp(42px, 5.6vw, 88px); line-height: 1.02; max-width: 13em; }
:root[lang="he"] .legal-hero h1 { line-height: 1.12; }
.legal-body { padding: 0 0 clamp(100px, 14vh, 160px); }
.legal-body .split { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.toc { position: sticky; top: 120px; display: grid; gap: 4px; font-size: 14px; }
.toc b { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--t3); margin-bottom: 10px; }
:root[lang="he"] .toc b { letter-spacing: .04em; font-size: 14px; }
.toc a { text-decoration: none; color: var(--t2); padding: 9px 14px; border-radius: 12px; border-inline-start: 2px solid var(--line); transition: color .3s, background .3s, border-color .3s; }
.toc a:hover { color: var(--t1); background: rgba(255,255,255,.04); border-color: var(--amber); }
.clauses { display: grid; gap: 18px; }
.clause { border-radius: 24px; padding: clamp(28px, 3vw, 40px); display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 20px; scroll-margin-top: 110px; }
.clause .n { font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 1.1; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; }
.clause h2 { font-size: clamp(24px, 2vw, 32px); line-height: 1.2; letter-spacing: -0.02em; }
.clause p { margin: 12px 0 0; color: var(--t2); }
.legal-note { margin-top: 28px; color: var(--t3); font-size: 14px; }

/* ---------------------------------------------------------------- invitation dialog */
dialog { border: 0; padding: 0; background: transparent; color: var(--t1); max-width: min(560px, calc(100vw - 32px)); width: 100%; }
dialog::backdrop { background: rgba(10,8,12,.7); }
dialog[open] .sheet { animation: rise .6s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(22px) scale(.98); } }
.sheet { border-radius: 30px; padding: clamp(32px, 5vw, 52px); text-align: center; background: linear-gradient(180deg, #2a2430, #1f1b24); }
.sheet h3 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.08; }
.sheet p { color: var(--t2); margin: 18px 0 32px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) { .powers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) {
  .hero { padding-top: 96px; align-items: start; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .orb-stage { order: -1; width: min(84vw, 440px); margin: 0 auto -10px; }
  .lede { max-width: 100%; }
  .pillars .grid { grid-template-columns: minmax(0, 1fr); }
  .card { min-height: 0; } .card h3 { padding-top: 54px; }
  .day .split, .heimdall .top, .legal-body .split { grid-template-columns: minmax(0, 1fr); }
  .day .sticky, .toc { position: static; }
  .give { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .scroll-cue { display: none; }
}
@media (max-width: 560px) {
  .nav .btn { display: none; }
  .powers { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; } .ctas { flex-direction: column; }
  .chip { padding: 15px 20px; }
  .moment { padding: 26px 24px; }
  .clause { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .feed li { grid-template-columns: minmax(0, 1fr) auto; } .feed time { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .line > span, .fade-in, [data-reveal], .orb-stage canvas { opacity: 1 !important; transform: none !important; }
  .manifesto .w { opacity: 1; }
  .track { animation: none; flex-wrap: wrap; width: auto; }
}

/* review screenshots only (?shot) */
.shot .hero { min-height: 1000px; }
.shot .manifesto .w { opacity: 1 !important; }
.clause ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.clause li { position: relative; padding-inline-start: 22px; color: var(--t2); }
.clause li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.clause b { color: var(--t1); font-weight: 700; }
.clause b, .clause a, .clause li, .clause p, .clause h2 { overflow-wrap: anywhere; }
.clause > div { min-width: 0; }
.day h2 { font-size: clamp(40px, 4.4vw, 70px); text-wrap: balance; }
h2 { text-wrap: balance; }

/* ---------------------------------------------------------------- C1 · Gilded titles (Owner pick 2026-11-22) */
:root { --metal: linear-gradient(178deg, #fff6e2 0%, #ffd79b 30%, #e7a04f 52%, #ffe1ae 62%, #b8732c 100%); }
em { position: relative; display: inline-block; font-style: italic; padding-inline-end: .08em; text-shadow: none;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(120,60,10,.9)) drop-shadow(0 10px 28px rgba(244,180,94,.32)); }
:root[lang="he"] em { font-style: normal; }
em[data-t]::after { content: attr(data-t); position: absolute; inset: 0; padding-inline-end: inherit; font: inherit; white-space: inherit;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.95) 48%, transparent 60%); background-size: 250% 100%; background-position: 150% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: glint 6s ease-in-out 1.8s infinite; }
@keyframes glint { 0% { background-position: 150% 0; } 30%, 100% { background-position: -60% 0; } }
.numeral, .moment time, .clause .n { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.manifesto p { font-weight: 400; letter-spacing: -0.01em; }
.give h3 em { filter: drop-shadow(0 1px 0 rgba(120,60,10,.9)) drop-shadow(0 18px 40px rgba(244,180,94,.3)); }
/* titles arrive word by word, rising out of a soft blur (one-time, on entry) */
:where(.js) .tw { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(30%) scale(1.04);
  transition: opacity 1.2s var(--ease), filter 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.is-in .tw, .is-in.tw, .shot .tw { opacity: 1; filter: none; transform: none; }
/* the gold word keeps its edge + glow after it has arrived (the plain reveal above would otherwise wipe em's drop-shadow) */
:where(.js) em.tw { filter: blur(12px) drop-shadow(0 1px 0 rgba(120,60,10,0)) drop-shadow(0 10px 28px rgba(244,180,94,0)); }
.is-in em.tw, .is-in.tw em, em.tw.is-in, .shot em.tw { filter: blur(0) drop-shadow(0 1px 0 rgba(120,60,10,.9)) drop-shadow(0 10px 28px rgba(244,180,94,.32)); }
.is-in .give h3 em.tw, .give h3.is-in em.tw, .shot .give h3 em.tw { filter: blur(0) drop-shadow(0 1px 0 rgba(120,60,10,.9)) drop-shadow(0 18px 40px rgba(244,180,94,.3)); }
h2[data-reveal], h1[data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .tw { opacity: 1 !important; transform: none !important; } .tw:not(em) { filter: none !important; } em.tw { filter: drop-shadow(0 1px 0 rgba(120,60,10,.9)) drop-shadow(0 10px 28px rgba(244,180,94,.32)) !important; } em[data-t]::after { display: none; } }

/* ---------------------------------------------------------------- Liquid-glass buttons (Apple style, Owner 2026-11-22) */
.btn {
  color: #fff; border: 0; min-height: 54px; padding: 0 30px;
  background:
    radial-gradient(120% 140% at 30% -20%, rgba(255,255,255,.30), rgba(255,255,255,0) 55%),
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  -webkit-backdrop-filter: blur(22px) saturate(190%); backdrop-filter: blur(22px) saturate(190%);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.65),        /* bright top edge */
    inset 0 -1px 1px rgba(255,255,255,.18),       /* soft bottom edge */
    inset 0 0 0 1px rgba(255,255,255,.16),        /* glass rim */
    inset 0 -14px 24px -16px rgba(255,255,255,.22),/* light pooling at the bottom */
    0 10px 30px -8px rgba(0,0,0,.45);
  text-shadow: 0 1px 1px rgba(0,0,0,.25);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s var(--ease), background .35s;
}
.btn::after { display: none; }
.btn::before { background: radial-gradient(160px circle at var(--mx) var(--my), rgba(255,255,255,.28), transparent 70%); }
.btn:hover { transform: scale(1.04); box-shadow: inset 0 1px 1px rgba(255,255,255,.8), inset 0 -1px 1px rgba(255,255,255,.22), inset 0 0 0 1px rgba(255,255,255,.24), inset 0 -14px 24px -16px rgba(255,255,255,.3), 0 16px 40px -10px rgba(0,0,0,.5); }
.btn:active { transform: scale(.96); }
.btn--amber {
  color: #fff;
  background:
    radial-gradient(120% 140% at 30% -20%, rgba(255,245,225,.55), rgba(255,255,255,0) 55%),
    linear-gradient(180deg, rgba(255,205,140,.42), rgba(244,165,80,.22) 60%, rgba(214,130,50,.28));
  box-shadow:
    inset 0 1px 1px rgba(255,250,240,.85), inset 0 -1px 1px rgba(255,220,170,.35), inset 0 0 0 1px rgba(255,214,160,.35),
    inset 0 -14px 24px -14px rgba(255,200,130,.5), 0 14px 40px -10px rgba(244,165,80,.45);
}
.btn--amber:hover { box-shadow: inset 0 1px 1px rgba(255,250,240,.95), inset 0 -1px 1px rgba(255,220,170,.45), inset 0 0 0 1px rgba(255,214,160,.5), inset 0 -14px 24px -14px rgba(255,200,130,.6), 0 20px 50px -10px rgba(244,165,80,.6); }
.sheet .btn--amber { min-width: 160px; }

/* Liquid glass v2 (Owner 2026-11-22: "more glassy") — clearer body, curved gloss, refracting rim */
.btn {
  background:
    radial-gradient(90% 70% at 50% -10%, rgba(255,255,255,.34), rgba(255,255,255,0) 62%),
    radial-gradient(70% 60% at 50% 120%, rgba(255,255,255,.16), rgba(255,255,255,0) 70%),
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
  -webkit-backdrop-filter: blur(28px) saturate(220%) brightness(1.08); backdrop-filter: blur(28px) saturate(220%) brightness(1.08);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,.7),
    inset 0 -1px 0 rgba(255,255,255,.14),
    inset 1px 0 0 rgba(255,255,255,.10), inset -1px 0 0 rgba(255,255,255,.10),
    inset 0 -18px 26px -18px rgba(255,255,255,.28),
    0 12px 34px -10px rgba(0,0,0,.5), 0 2px 6px -2px rgba(0,0,0,.3);
}
.btn::after {
  display: block; content: ""; position: absolute; inset: 0; left: 0; width: auto; z-index: 1; pointer-events: none;
  border-radius: inherit; padding: 1px; transition: opacity .35s;
  background: linear-gradient(155deg, rgba(255,255,255,.85), rgba(255,255,255,.12) 32%, rgba(255,255,255,.03) 58%, rgba(255,255,255,.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.btn:hover::after { left: 0; opacity: 1; }
.btn:hover { box-shadow: inset 0 1.5px 0 rgba(255,255,255,.85), inset 0 -1px 0 rgba(255,255,255,.2), inset 1px 0 0 rgba(255,255,255,.14), inset -1px 0 0 rgba(255,255,255,.14), inset 0 -18px 26px -16px rgba(255,255,255,.36), 0 18px 44px -10px rgba(0,0,0,.55), 0 2px 6px -2px rgba(0,0,0,.3); }
.btn--amber {
  background:
    radial-gradient(90% 70% at 50% -10%, rgba(255,248,232,.6), rgba(255,255,255,0) 62%),
    radial-gradient(70% 60% at 50% 120%, rgba(255,214,160,.3), rgba(255,255,255,0) 70%),
    linear-gradient(180deg, rgba(255,205,140,.34), rgba(244,165,80,.16) 60%, rgba(214,130,50,.22));
  box-shadow:
    inset 0 1.5px 0 rgba(255,250,240,.9), inset 0 -1px 0 rgba(255,220,170,.3),
    inset 1px 0 0 rgba(255,214,160,.18), inset -1px 0 0 rgba(255,214,160,.18),
    inset 0 -18px 26px -16px rgba(255,200,130,.55), 0 14px 40px -10px rgba(244,165,80,.5), 0 2px 6px -2px rgba(0,0,0,.3);
}
.btn--amber::after { background: linear-gradient(155deg, rgba(255,246,228,.95), rgba(255,214,160,.2) 32%, rgba(255,200,130,.05) 58%, rgba(255,226,181,.6)); }
.btn--amber:hover { box-shadow: inset 0 1.5px 0 rgba(255,250,240,1), inset 0 -1px 0 rgba(255,220,170,.4), inset 1px 0 0 rgba(255,214,160,.26), inset -1px 0 0 rgba(255,214,160,.26), inset 0 -18px 26px -14px rgba(255,200,130,.65), 0 20px 52px -10px rgba(244,165,80,.65), 0 2px 6px -2px rgba(0,0,0,.3); }
:root.a11y-contrast .btn::after { display: none; }

/* the hero lines clip for their entrance; a wide glow would show the clip box */
.hero h1 { text-shadow: 0 2px 0 rgba(0,0,0,.35); }
.hero h1 em { filter: drop-shadow(0 1px 0 rgba(120,60,10,.9)); }

/* ================================================================ MOTION LAYER v4 (Owner: more animation) — transform/opacity/clip only */
/* opening curtain, once per visit */
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: #120f15; pointer-events: none;
  animation: curtain 1s cubic-bezier(.76,0,.24,1) 1.55s forwards; }
.intro .im { display: flex; gap: .42em; font-family: "Bricolage Grotesque", "Segoe UI", Arial, sans-serif; font-weight: 600; font-size: clamp(28px, 4vw, 48px); letter-spacing: .1em; direction: ltr; }
.intro .im span { display: inline-block; opacity: 0; transform: translateY(40%); filter: blur(10px); animation: imIn .9s cubic-bezier(.22,1,.36,1) forwards; }
.intro .im span:nth-child(1) { animation-delay: .1s } .intro .im span:nth-child(2) { animation-delay: .2s } .intro .im span:nth-child(3) { animation-delay: .3s }
.intro .im span:nth-child(4) { animation-delay: .4s } .intro .im span:nth-child(5) { animation-delay: .5s; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro .il { position: absolute; top: calc(50% + 44px); left: 50%; width: 180px; height: 1px; margin-left: -90px; background: linear-gradient(90deg, transparent, #ffd9a6, transparent); transform: scaleX(0); animation: ilIn 1s cubic-bezier(.22,1,.36,1) .5s forwards; }
@keyframes imIn { to { opacity: 1; transform: none; filter: none; } }
@keyframes ilIn { to { transform: scaleX(1); } }
@keyframes curtain { to { transform: translateY(-100%); } }

/* scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #b06c2c, #ffd9a6, #f4b45e); box-shadow: 0 0 12px rgba(244,180,94,.6); }
:root[dir="rtl"] .progress { transform-origin: 100% 50%; }

/* cursor ring (desktop) */
.ring { position: fixed; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1px solid rgba(255,217,166,.55); pointer-events: none; z-index: 120;
  transform: translate3d(-99px,-99px,0); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s; }
.ring.big { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: rgba(255,217,166,.08); border-color: rgba(255,217,166,.8); }
@media (hover: none) { .ring { display: none; } }

/* drifting motes of light */
.motes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.motes i { position: absolute; bottom: -10px; width: var(--s); height: var(--s); border-radius: 50%; background: #ffd9a6; box-shadow: 0 0 10px 2px rgba(244,180,94,.6); opacity: 0;
  left: var(--x); animation: mote var(--d) linear var(--w) infinite; }
@keyframes mote { 0% { transform: translate3d(0,0,0); opacity: 0; } 15% { opacity: .9; } 85% { opacity: .6; } 100% { transform: translate3d(var(--dx), -105vh, 0); opacity: 0; } }
.hero .wrap, .finale .wrap { position: relative; z-index: 1; }

/* breathing light behind the orb and the finale */
.orb-stage::before { animation: breathe 6s ease-in-out infinite; }
.finale .halo { animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.1); opacity: .75; } }
.finale .halo { transform-origin: center; }
.finale .halo { translate: -50% -50%; transform: none; }

/* day timeline: cards swing in, the clock counts up */
:where(.js) .moment[data-reveal] { transform: translateX(70px) rotate(2deg); transform-origin: 0 50%; }
:root[dir="rtl"]:where(.js) .moment[data-reveal] { transform: translateX(-70px) rotate(-2deg); transform-origin: 100% 50%; }
.moment[data-reveal].is-in { transform: none; }
.moment[data-reveal].is-in::before { animation: dot .8s var(--ease) .3s both; }
@keyframes dot { 0% { transform: scale(0); } 60% { transform: scale(1.6); box-shadow: 0 0 0 5px var(--ink), 0 0 18px 6px rgba(244,180,94,.7); } 100% { transform: scale(1); } }

/* pillar cards flip up in 3D; their line icons draw themselves */
:where(.js) .card[data-reveal] { transform: perspective(1200px) rotateX(28deg) translateY(80px); transform-origin: 50% 100%; }
.card[data-reveal].is-in { transform: rotateX(var(--rx)) rotateY(var(--ry)); }
:where(.js) .glyph *, :where(.js) .power .ico svg * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s cubic-bezier(.65,0,.35,1) .35s; }
.is-in .glyph *, .is-in .ico svg * { stroke-dashoffset: 0; }
:where(.js) .power[data-reveal] { transform: translateY(50px) scale(.94); }
.power[data-reveal].is-in { transform: none; }

/* Heimdall: a scanning beam sweeps the section once; threat tags pop */
.heimdall .beam { position: absolute; top: 0; bottom: 0; left: 0; width: 22%; pointer-events: none; z-index: 0; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(244,180,94,.09) 45%, rgba(255,217,166,.16) 50%, rgba(244,180,94,.09) 55%, transparent); }
.heimdall.is-in .beam { animation: sweep 2.4s cubic-bezier(.65,0,.35,1) .2s; }
@keyframes sweep { 0% { transform: translateX(-120%); opacity: 1; } 100% { transform: translateX(560%); opacity: 1; } }
.feed li .tag { animation: pop .55s cubic-bezier(.34,1.56,.64,1) .25s both; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.feed li:last-child { background: linear-gradient(90deg, rgba(244,180,94,.07), transparent 70%); }

/* "what Leo gives back": the big words are wiped on in gold */
.give[data-reveal] { transform: none; opacity: 1; }
:where(.js) .give[data-reveal] h3 { clip-path: inset(-10% 100% -10% 0); transition: clip-path 1.5s cubic-bezier(.65,0,.35,1); }
:root[dir="rtl"]:where(.js) .give[data-reveal] h3 { clip-path: inset(-10% 0 -10% 100%); }
.give[data-reveal].is-in h3 { clip-path: inset(-10% -5% -10% -5%); }
:where(.js) .give[data-reveal] p { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease) .5s, transform 1s var(--ease) .5s; }
.give[data-reveal].is-in p { opacity: 1; transform: none; }

/* mission rail leans with scroll speed (set by JS) */
.rail { transform: skewX(var(--skew, 0deg)); }

@media (prefers-reduced-motion: reduce) {
  .intro, .motes, .ring, .heimdall .beam { display: none !important; }
  .give[data-reveal] h3 { clip-path: none !important; }
  .glyph *, .ico svg * { stroke-dashoffset: 0 !important; }
}
.shot .intro { display: none; }
.shot .give[data-reveal] h3 { clip-path: none; }

/* ---------------------------------------------------------------- fix: gold words were clipped (Owner screenshot 14:02) */
/* background-clip:text paints only inside the box, so give italic overhangs and descenders room without moving the layout */
em { padding: .1em .16em .22em .08em; margin: -.1em -.16em -.22em -.08em; }
.give { align-items: center; }
.give h3 { line-height: 1.08; padding-block: .06em .12em; }
:where(.js) .give[data-reveal] h3 { clip-path: inset(-40% 100% -40% -12%); }
:root[dir="rtl"]:where(.js) .give[data-reveal] h3 { clip-path: inset(-40% -12% -40% 100%); }
.give[data-reveal].is-in h3 { clip-path: inset(-40% -12% -40% -12%); }
.shot .give[data-reveal] h3 { clip-path: none; }

/* ================================================================ v5: navigation, new pages, invitation form */
.nav .wrap { gap: 24px; }
.links { display: flex; gap: 4px; margin-inline-start: auto; }
.links a { text-decoration: none; color: var(--t2); font-size: 14.5px; font-weight: 600; padding: 10px 14px; border-radius: 999px; transition: color .3s, background .3s; }
.links a:hover, .links a[aria-current="page"] { color: var(--t1); background: rgba(255,255,255,.06); }
.menu { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); cursor: pointer; position: relative; }
.menu i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--t1); border-radius: 2px; transition: transform .35s var(--ease); }
.menu i:nth-child(1) { top: 17px; } .menu i:nth-child(2) { top: 25px; }
.menu[aria-expanded="true"] i:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu[aria-expanded="true"] i:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 980px) {
  .menu { display: inline-block; }
  .links { position: fixed; inset: 72px 16px auto 16px; flex-direction: column; gap: 2px; padding: 12px; border-radius: 22px; margin: 0;
    background: #1e1a22; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid var(--edge); box-shadow: 0 30px 70px -20px rgba(0,0,0,.8);
    opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .links.open { opacity: 1; transform: none; pointer-events: auto; }
  .links a { font-size: 17px; padding: 14px 16px; }
}
footer nav a { white-space: nowrap; }

/* page heroes on the inner pages */
.page-hero { padding-bottom: 50px; }
.hpage { padding-top: 150px; }
.hpage .hh { font-size: clamp(46px, 6.4vw, 104px); line-height: 1.02; }

/* FAQ */
.faq { display: grid; gap: 14px; max-width: 900px; }
.qa { border-radius: 22px; overflow: hidden; }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 30px;
  font-family: var(--display); font-size: clamp(21px, 1.7vw, 26px); line-height: 1.25; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,217,166,.35); position: relative; transition: transform .45s var(--ease), background .3s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--amber-hi); }
.qa summary i::after { transform: rotate(90deg); transition: transform .45s var(--ease); }
.qa[open] summary i { transform: rotate(180deg); background: rgba(244,180,94,.12); }
.qa[open] summary i::after { transform: rotate(0deg); }
.qa .ans { padding: 0 30px 26px; color: var(--t2); animation: ansIn .5s var(--ease); }
.qa .ans p { margin: 0; max-width: 44em; }
.qa a, .clause a, .story a { color: var(--amber-hi); }
@keyframes ansIn { from { opacity: 0; transform: translateY(-8px); } }

/* Heimdall page */
.watchlist { list-style: none; padding: 0; margin: 60px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.watchlist li { border-radius: 18px; padding: 22px 24px; display: flex; align-items: center; gap: 14px; font-weight: 600; }
.watchlist li span { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--safe); box-shadow: 0 0 0 0 rgba(111,211,154,.6); animation: live 2.4s ease-out infinite; }
.steps { margin-top: 60px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.step { border-radius: 24px; padding: 34px 32px; position: relative; overflow: hidden; }
.step .n { font-family: var(--display); font-size: 46px; line-height: 1; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: clamp(26px, 2.2vw, 34px); margin-top: 26px; }
.step p { color: var(--t2); margin: 12px 0 0; }
:where(.js) .step::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, transparent, var(--amber), transparent); transform: scaleX(0); transition: transform 1.4s var(--ease) .4s; }
.step.is-in::after { transform: scaleX(1); }
@media (max-width: 980px) { .watchlist, .steps { grid-template-columns: minmax(0, 1fr); } }

/* Get Leo */
.plats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.plat { border-radius: 26px; padding: 34px 28px; text-align: center; opacity: .62; }
.plat.on { opacity: 1; border-color: rgba(255,217,166,.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 30px 70px -40px rgba(244,180,94,.35); }
.plat .pico { width: 74px; height: 74px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 22px; background: linear-gradient(180deg, rgba(255,217,166,.14), rgba(244,180,94,.03)); border: 1px solid rgba(255,217,166,.2); }
.plat .pico svg { width: 38px; height: 38px; fill: none; stroke: var(--amber-hi); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.plat h3 { font-size: 30px; }
.plat p { margin: 10px 0 0; color: var(--t2); font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.plat p i { width: 8px; height: 8px; border-radius: 50%; background: var(--t3); }
.plat.on p i { background: var(--safe); box-shadow: 0 0 10px rgba(111,211,154,.7); }
.getcta { margin-top: 50px; display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between; padding: 30px 34px; border-radius: 24px; border: 1px solid var(--line); }
.getcta p { margin: 0; color: var(--t2); }
@media (max-width: 980px) { .plats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* About */
.story { max-width: 34em; display: grid; gap: 34px; }
.story p { margin: 0; font-family: var(--display); font-size: clamp(24px, 2.3vw, 36px); line-height: 1.4; color: var(--t1); }
:root[lang="he"] .story p { font-weight: 400; line-height: 1.55; }
.story p:first-child::first-letter { font-size: 2.6em; float: left; line-height: .9; padding: .05em .08em 0 0; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[dir="rtl"] .story p:first-child::first-letter { float: none; font-size: inherit; padding: 0; background: none; color: inherit; }

/* invitation form */
.sheet { position: relative; text-align: start; }
.sheet .x { position: absolute; top: 14px; inset-inline-end: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--edge); background: rgba(255,255,255,.05); color: var(--t1); font-size: 22px; line-height: 1; cursor: pointer; }
.sheet h3 { padding-inline-end: 40px; }
.wl { display: grid; gap: 14px; margin-top: 8px; }
.wl label { display: grid; gap: 7px; font-size: 14px; color: var(--t2); font-weight: 600; }
.wl input:not([type="checkbox"]), .wl textarea { width: 100%; font: 500 16px/1.4 var(--body); color: var(--t1); padding: 14px 16px; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16); box-shadow: inset 0 1px 2px rgba(0,0,0,.3); transition: border-color .3s, background .3s; resize: vertical; }
.wl input:focus, .wl textarea:focus { outline: none; border-color: rgba(255,217,166,.6); background: rgba(255,255,255,.08); }
.wl .chk { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.wl .chk input { margin-top: 3px; width: 18px; height: 18px; accent-color: #f4b45e; flex: none; }
.wl .chk a { color: var(--amber-hi); }
.wl .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl .msg { margin: 0; min-height: 1.4em; font-size: 14px; color: var(--threat); }
.wl .btn { width: 100%; margin-top: 4px; }
.wl .btn[disabled] { opacity: .6; pointer-events: none; }
.doneview { text-align: center; padding: 10px 0; }
.doneview h3 { padding: 0; }

.hpage .hh { font-size: clamp(42px, 4.9vw, 82px); line-height: 1.04; }

/* fix (Owner, iPhone Hebrew): RTL start states were more specific than the finished states, so in Hebrew the
   timeline cards stayed shifted and the gold words stayed wiped out. Give RTL its own finished states. */
:root[dir="rtl"] .moment[data-reveal].is-in { transform: none; }
:root[dir="rtl"] .give[data-reveal].is-in h3 { clip-path: inset(-40% -12% -40% -12%); }
:root[dir="rtl"].shot .give[data-reveal] h3 { clip-path: none; }

:root[lang="he"] .console header { letter-spacing: 0; font-family: var(--body); font-size: 15px; }

/* ================================================================ v6 (Owner 2026-11-22b): shorter home + accessibility menu */
/* home: a little less air between the sections that stayed */
.home .section { padding: clamp(80px, 11vh, 140px) 0; }
.home .manifesto { padding: clamp(90px, 13vh, 160px) 0; }
.home .finale { padding: clamp(100px, 15vh, 190px) 0; }
.home .gives { margin-top: 54px; }
.home .give { padding: clamp(26px, 3vw, 42px) 0; }
.timeline { gap: 18px; }
/* Heimdall teaser */
.teaser .more { margin-top: 34px; }
.teaser .more .btn:hover .arrow { transform: translateX(4px); }
:root[dir="rtl"] .teaser .more .btn:hover .arrow { transform: translateX(-4px); }
main:focus { outline: none; }
.wl input:focus-visible, .wl textarea:focus-visible { outline: 2px solid var(--amber-hi); outline-offset: 2px; }

/* floating accessibility button: bottom-right in LTR, bottom-left in RTL (inline-end) */
.a11y-fab { position: fixed; bottom: max(20px, env(safe-area-inset-bottom)); inset-inline-end: 20px; z-index: 70; width: 56px; height: 56px; border-radius: 50%; border: 0; padding: 0;
  display: grid; place-items: center; cursor: pointer; color: #fff;
  background: radial-gradient(120% 140% at 30% -20%, rgba(255,255,255,.30), rgba(255,255,255,0) 55%), linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.05)), rgba(30,26,34,.55);
  -webkit-backdrop-filter: blur(22px) saturate(190%); backdrop-filter: blur(22px) saturate(190%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.65), inset 0 -1px 1px rgba(255,255,255,.18), inset 0 0 0 1px rgba(255,255,255,.18), 0 10px 30px -8px rgba(0,0,0,.6);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.a11y-fab:hover { transform: scale(1.06); }
.a11y-fab svg { width: 28px; height: 28px; fill: currentColor; }
.a11y-fab:focus-visible { outline: 3px solid var(--amber-hi); outline-offset: 4px; border-radius: 50%; }
@media (max-width: 560px) { .a11y-fab { width: 50px; height: 50px; bottom: max(16px, env(safe-area-inset-bottom)); inset-inline-end: 16px; } }

/* the panel: same liquid glass as the buttons */
dialog.a11y-panel { position: fixed; inset: auto; inset-block-end: 88px; inset-inline-end: 20px; margin: 0; padding: 0; width: min(360px, calc(100vw - 32px)); max-width: none;
  max-height: calc(100dvh - 110px); overflow: auto; border-radius: 26px; color: var(--t1); font: 500 15px/1.4 var(--body);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03)), rgba(30,26,34,.86);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.4), inset 0 0 0 1px rgba(255,255,255,.14), 0 30px 80px -20px rgba(0,0,0,.8); }
dialog.a11y-panel::backdrop { background: rgba(10,8,12,.35); }
dialog.a11y-panel[open] { animation: rise .45s var(--ease); }
@media (max-width: 560px) { dialog.a11y-panel { inset-inline-end: 16px; inset-block-end: 78px; } }
.a11y-in { padding: 20px 20px 18px; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.a11y-head h2 { font: 700 19px/1.2 var(--body); letter-spacing: 0; text-shadow: none; }
.a11y-head .x { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--edge); background: rgba(255,255,255,.06); color: var(--t1); font-size: 22px; line-height: 1; cursor: pointer; }
.a11y-size { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.a11y-seg { display: flex; gap: 6px; }
.a11y-seg button { min-width: 48px; height: 40px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.05); color: var(--t1); font: 700 15px/1 var(--body); cursor: pointer; }
.a11y-seg button[data-size="1"] { font-size: 17px; } .a11y-seg button[data-size="2"] { font-size: 19px; }
.a11y-seg button[aria-pressed="true"] { background: rgba(244,180,94,.25); border-color: var(--amber-hi); box-shadow: inset 0 1px 1px rgba(255,240,215,.5); }
.a11y-list { display: grid; }
.a11y-tg { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--t1); font: inherit; text-align: start; cursor: pointer; }
.a11y-tg i { flex: none; position: relative; width: 44px; height: 26px; border-radius: 999px; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); transition: background .25s; }
.a11y-tg i::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.4); transition: transform .25s var(--ease); }
.a11y-tg[aria-checked="true"] i { background: #e39a4c; box-shadow: inset 0 0 0 1px #ffd9a6; }
.a11y-tg[aria-checked="true"] i::after { transform: translateX(18px); }
:root[dir="rtl"] .a11y-tg[aria-checked="true"] i::after { transform: translateX(-18px); }
.a11y-panel :focus-visible { outline: 2px solid var(--amber-hi); outline-offset: 2px; }
.a11y-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; }
.a11y-foot p { margin: 0; font-size: 13px; color: var(--t2); }
.a11y-foot .btn { width: auto; flex: none; }

/* ---- text size (3 steps): body text scales fully, card and question titles a little; the big display titles are already large */
:root[data-a11y-size="1"] { --fs: 1.15; --fsh: 1.08; }
:root[data-a11y-size="2"] { --fs: 1.3; --fsh: 1.15; }
:root[data-a11y-size] body { font-size: calc(clamp(16px, 1.05vw, 18px) * var(--fs)); }
:root[data-a11y-size][lang="he"] body { font-size: calc(clamp(17px, 1.15vw, 19px) * var(--fs)); }
:root[data-a11y-size] .sub, :root[data-a11y-size] .lede { font-size: calc(clamp(17px, 1.3vw, 20px) * var(--fs)); }
:root[data-a11y-size] .give p { font-size: calc(clamp(17px, 1.35vw, 21px) * var(--fs)); }
:root[data-a11y-size] .chip { font-size: calc(clamp(15px, 1.1vw, 17px) * var(--fs)); }
:root[data-a11y-size] .moment h3 { font-size: calc(clamp(22px, 1.7vw, 27px) * var(--fsh)); }
:root[data-a11y-size] .power h3 { font-size: calc(clamp(20px, 1.5vw, 24px) * var(--fsh)); }
:root[data-a11y-size] .card h3, :root[data-a11y-size] .step h3 { font-size: calc(clamp(26px, 2.2vw, 36px) * var(--fsh)); }
:root[data-a11y-size] .story p { font-size: calc(clamp(24px, 2.3vw, 36px) * var(--fsh)); }
:root[data-a11y-size] .qa summary { font-size: calc(clamp(21px, 1.7vw, 26px) * var(--fsh)); }
:root[data-a11y-size] .clause h2 { font-size: calc(clamp(24px, 2vw, 32px) * var(--fsh)); }
:root[data-a11y-size] .links a, :root[data-a11y-size] .lang, :root[data-a11y-size] footer, :root[data-a11y-size] .toc, :root[data-a11y-size] .legal-note,
:root[data-a11y-size] .wl label, :root[data-a11y-size] .btn--sm { font-size: calc(14px * var(--fs)); }
:root[data-a11y-size] .btn { font-size: calc(15px * var(--fs)); }
:root[data-a11y-size] .kicker, :root[data-a11y-size] .eyebrow { font-size: calc(12px * var(--fs)); }
:root[data-a11y-size][lang="he"] .kicker, :root[data-a11y-size][lang="he"] .eyebrow { font-size: calc(15px * var(--fs)); }
:root[data-a11y-size] .badge, :root[data-a11y-size] .note, :root[data-a11y-size] .console { font-size: calc(13px * var(--fs)); }
:root[data-a11y-size] .tag, :root[data-a11y-size] .console footer { font-size: calc(11px * var(--fs)); }
:root[data-a11y-size][lang="he"] .feed li { font-size: calc(15px * var(--fs)); }
:root[data-a11y-size][lang="he"] .tag, :root[data-a11y-size][lang="he"] .console footer { font-size: calc(13px * var(--fs)); }
:root[data-a11y-size] .plat p, :root[data-a11y-size] .wl input:not([type="checkbox"]), :root[data-a11y-size] .wl textarea { font-size: calc(15px * var(--fs)); }
@media (max-width: 980px) { :root[data-a11y-size] .links a { font-size: calc(17px * var(--fs)); } }
@media (max-width: 1180px) and (min-width: 981px) { :root[data-a11y-size="2"] .nav .btn--sm { display: none; } }

/* ---- stop animations: the prefers-reduced-motion paths, switched on by the menu */
:root.a11y-still { scroll-behavior: auto; }
:root.a11y-still *, :root.a11y-still *::before, :root.a11y-still *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
:root.a11y-still .line > span, :root.a11y-still .fade-in, :root.a11y-still [data-reveal], :root.a11y-still .orb-stage canvas { opacity: 1 !important; transform: none !important; }
:root.a11y-still .manifesto .w { opacity: 1 !important; }
:root.a11y-still .track { animation: none; flex-wrap: wrap; width: auto; }
:root.a11y-still .track [aria-hidden="true"] { display: none; }
:root.a11y-still .rail { transform: none !important; }
:root.a11y-still .tw { opacity: 1 !important; filter: none !important; transform: none !important; }
:root.a11y-still em[data-t]::after { display: none; }
:root.a11y-still .intro, :root.a11y-still .motes, :root.a11y-still .ring, :root.a11y-still .glow-cursor, :root.a11y-still .heimdall .beam { display: none !important; }
:root.a11y-still .give[data-reveal] h3 { clip-path: none !important; }
:root.a11y-still .glyph *, :root.a11y-still .ico svg * { stroke-dashoffset: 0 !important; }
:root.a11y-still .btn:hover, :root.a11y-still .a11y-fab:hover { transform: none; }
@media (prefers-reduced-motion: reduce) { .track [aria-hidden="true"] { display: none; } }

/* ---- readable font: the display serif becomes the plain sans of the language */
:root.a11y-font { --display: var(--body); }
:root.a11y-font h1, :root.a11y-font h2, :root.a11y-font h3, :root.a11y-font .qa summary { font-weight: 700; letter-spacing: -0.015em; }
:root.a11y-font .manifesto p, :root.a11y-font .story p { font-weight: 600; letter-spacing: -0.01em; }
:root.a11y-font em { font-style: normal; }

/* ---- underline links */
:root.a11y-links a:not(.btn):not(.mark):not(.skip) { text-decoration: underline !important; text-decoration-thickness: 2px; text-underline-offset: .22em; }

/* ---- bigger cursor */
:root.a11y-cursor, :root.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M5 3l28 25H20l7 13-5.5 2.6-7-13.4L5 39z' fill='%23111' stroke='%23fff' stroke-width='2.4' stroke-linejoin='round'/%3E%3C/svg%3E") 5 3, auto !important; }
:root.a11y-cursor a, :root.a11y-cursor button, :root.a11y-cursor summary, :root.a11y-cursor label, :root.a11y-cursor a *, :root.a11y-cursor button *, :root.a11y-cursor summary * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M5 3l28 25H20l7 13-5.5 2.6-7-13.4L5 39z' fill='%23f4b45e' stroke='%23111' stroke-width='2.4' stroke-linejoin='round'/%3E%3C/svg%3E") 5 3, pointer !important; }
:root.a11y-cursor .ring { display: none; }

/* ---- line spacing */
:root.a11y-lh body { line-height: 2; }
:root.a11y-lh p, :root.a11y-lh li, :root.a11y-lh .sub, :root.a11y-lh .lede, :root.a11y-lh .ans, :root.a11y-lh .clause { line-height: 2 !important; word-spacing: .06em; }
:root.a11y-lh .manifesto p, :root.a11y-lh .story p { line-height: 1.75 !important; }
:root.a11y-lh h2, :root.a11y-lh h3, :root.a11y-lh .qa summary { line-height: 1.3 !important; }

/* ---- high contrast (WCAG AA, calculated: see the hand-back report) — warm theme kept, glow and translucency removed */
:root.a11y-contrast { --ink: #0d0b0f; --ink-2: #141117; --ink-3: #1b171f; --t1: #ffffff; --t2: #f1ebe3; --t3: #ddd5ca;
  --line: rgba(255,255,255,.5); --edge: rgba(255,255,255,.62); --amber: #ffc169; --amber-hi: #ffd9a6; --safe: #8ae8b2; --threat: #ff9a87;
  --surface: #17141b; --gold: linear-gradient(110deg, #fff0d6, #ffd08f); --metal: linear-gradient(178deg, #fff6e2 0%, #ffdca4 55%, #ffc978 100%); }
:root.a11y-contrast .aura, :root.a11y-contrast .glow-cursor, :root.a11y-contrast .heimdall::before, :root.a11y-contrast .finale .halo, :root.a11y-contrast .orb-stage::before { display: none; }
:root.a11y-contrast h1, :root.a11y-contrast h2, :root.a11y-contrast h3 { color: #fff; text-shadow: none; }
:root.a11y-contrast em { filter: none; }
:root.a11y-contrast em[data-t]::after { display: none; }
:root.a11y-contrast .manifesto .w { opacity: 1 !important; }
:root.a11y-contrast .panel, :root.a11y-contrast .console, :root.a11y-contrast .sheet { background: #17141b; border: 1px solid rgba(255,255,255,.62); box-shadow: none; }
:root.a11y-contrast .nav.is-scrolled, :root.a11y-contrast .links { background: #0d0b0f; }
:root.a11y-contrast .links a, :root.a11y-contrast .lang { color: #fff; }
:root.a11y-contrast .plat { opacity: 1; }
:root.a11y-contrast .btn { background: #0d0b0f; color: #fff; text-shadow: none; box-shadow: inset 0 0 0 2px #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
:root.a11y-contrast .btn::before { display: none; }
:root.a11y-contrast .btn--amber { background: #ffc169; color: #140c02; box-shadow: inset 0 0 0 2px #ffe3bd; }
:root.a11y-contrast .tag { background: #0d0b0f; }
:root.a11y-contrast .badge { background: #0d0b0f; border-color: var(--safe); }
:root.a11y-contrast .wl input:not([type="checkbox"]), :root.a11y-contrast .wl textarea { background: #0d0b0f; border-color: rgba(255,255,255,.7); }
:root.a11y-contrast dialog::backdrop { background: rgba(0,0,0,.85); }
:root.a11y-contrast dialog.a11y-panel { background: #17141b; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); -webkit-backdrop-filter: none; backdrop-filter: none; }
:root.a11y-contrast .a11y-fab { background: #17141b; box-shadow: inset 0 0 0 2px #fff; }
:root.a11y-contrast .a11y-tg i { background: #3a3440; box-shadow: inset 0 0 0 2px #fff; }
:root.a11y-contrast .a11y-tg[aria-checked="true"] i { background: #ffc169; }
:root.a11y-contrast .a11y-tg[aria-checked="true"] i::after { background: #140c02; }
:root.a11y-contrast .a11y-seg button { border-color: #fff; }
:root.a11y-contrast .a11y-seg button[aria-pressed="true"] { background: #ffc169; color: #140c02; }
:root.a11y-contrast :focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
:root.a11y-contrast .feed li:last-child { background: none; }
/* fix (pre-existing): on phones the off-screen start positions of the timeline cards widened the layout viewport to ~445px;
   clip (unlike hidden) creates no scroll container, so the sticky column keeps working */
@supports (overflow: clip) { html, body { overflow-x: clip; } }

/* Liquid glass v3 — Apple style (Owner 2026-11-22: "make them like Apple's").
   Clear, not frosted: a light blur, a lens that bends what is behind the edges, a bright specular rim
   (strongest top-left and bottom-right), a soft inner glow, and a floating shadow. */
.btn, .a11y-fab {
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03) 55%, rgba(255,255,255,.06));
  -webkit-backdrop-filter: blur(5px) saturate(185%) brightness(1.12);
          backdrop-filter: blur(5px) saturate(185%) brightness(1.12);
          backdrop-filter: url(#lg-lens) blur(5px) saturate(185%) brightness(1.12);
  box-shadow:
    inset 1.5px 1.5px 0 -.5px rgba(255,255,255,.75),
    inset -1px -1px 0 -.5px rgba(255,255,255,.45),
    inset 0 0 0 .5px rgba(255,255,255,.28),
    inset 0 8px 14px -10px rgba(255,255,255,.55),
    inset 0 -10px 16px -12px rgba(255,255,255,.35),
    inset 0 0 18px rgba(255,255,255,.06),
    0 1px 1px rgba(0,0,0,.25), 0 10px 30px -8px rgba(0,0,0,.45);
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.btn::after {
  padding: 1.2px;
  background: conic-gradient(from 200deg at 50% 50%, rgba(255,255,255,.95), rgba(255,255,255,.12) 18%, rgba(255,255,255,.04) 40%, rgba(255,255,255,.7) 52%, rgba(255,255,255,.08) 68%, rgba(255,255,255,.04) 86%, rgba(255,255,255,.95));
  opacity: .85;
}
.btn::before { background: radial-gradient(140px circle at var(--mx) var(--my), rgba(255,255,255,.35), transparent 70%); mix-blend-mode: soft-light; }
.btn:hover { transform: scale(1.045);
  box-shadow:
    inset 1.5px 1.5px 0 -.5px rgba(255,255,255,.9), inset -1px -1px 0 -.5px rgba(255,255,255,.6), inset 0 0 0 .5px rgba(255,255,255,.34),
    inset 0 8px 14px -9px rgba(255,255,255,.65), inset 0 -10px 16px -11px rgba(255,255,255,.45), inset 0 0 22px rgba(255,255,255,.09),
    0 1px 1px rgba(0,0,0,.25), 0 16px 40px -10px rgba(0,0,0,.5); }
.btn--amber {
  background: linear-gradient(180deg, rgba(255,214,160,.30), rgba(244,165,80,.12) 55%, rgba(244,165,80,.20));
  box-shadow:
    inset 1.5px 1.5px 0 -.5px rgba(255,246,228,.9), inset -1px -1px 0 -.5px rgba(255,226,181,.6), inset 0 0 0 .5px rgba(255,214,160,.35),
    inset 0 8px 14px -10px rgba(255,240,215,.7), inset 0 -10px 16px -12px rgba(255,200,130,.55), inset 0 0 18px rgba(255,190,110,.1),
    0 1px 1px rgba(0,0,0,.25), 0 12px 36px -10px rgba(244,165,80,.5);
}
.btn--amber::after { background: conic-gradient(from 200deg at 50% 50%, rgba(255,248,232,1), rgba(255,214,160,.18) 18%, rgba(255,200,130,.05) 40%, rgba(255,226,181,.75) 52%, rgba(255,200,130,.1) 68%, rgba(255,200,130,.05) 86%, rgba(255,248,232,1)); }
.btn--amber:hover { box-shadow:
    inset 1.5px 1.5px 0 -.5px rgba(255,250,240,1), inset -1px -1px 0 -.5px rgba(255,226,181,.75), inset 0 0 0 .5px rgba(255,214,160,.45),
    inset 0 8px 14px -9px rgba(255,240,215,.8), inset 0 -10px 16px -11px rgba(255,200,130,.65), inset 0 0 22px rgba(255,190,110,.14),
    0 1px 1px rgba(0,0,0,.25), 0 18px 48px -10px rgba(244,165,80,.65); }
:root.a11y-contrast .btn, :root.a11y-contrast .a11y-fab { -webkit-backdrop-filter: none; backdrop-filter: none; }


/* ================================================================ QA 2026-11-23 fixes */
/* a safe gap between a title and its paragraph (the scroll float in leo.js is limited so it can never close it) */
h2 + .sub, h1 + .sub { margin-top: max(24px, .45em); }
/* no WebGL: the orb stage becomes a calm static glow, no canvas, no errors */
.no-webgl .orb-stage canvas { display: none; }
.no-webgl .orb-stage::after { content: ""; position: absolute; inset: 24%; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #fff1d8 0%, #ffcf8f 22%, #f4b45e 48%, rgba(176,108,44,.55) 72%, rgba(176,108,44,0) 100%);
  box-shadow: 0 0 90px 20px rgba(244,180,94,.28); opacity: .92; }
/* 404 */
.nf-code { font-family: var(--mono); letter-spacing: .3em; color: var(--amber); }

/* Slogan v2 (Owner 2026-11-23): "Others have assistants. You have Leo." + tagline "Beyond assistants." */
.hero .tagline { margin: clamp(10px, 1.4vw, 18px) 0 clamp(14px, 1.8vw, 22px); font-size: clamp(15px, 1.25vw, 19px);
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold, #e8b86a); font-weight: 500; }
:root[lang="he"] .hero .tagline, :root[dir="rtl"] .hero .tagline { letter-spacing: .04em; text-transform: none; font-size: clamp(17px, 1.45vw, 22px); }
:root.a11y-contrast .hero .tagline { color: #ffd38a; }
/* Slogan v2 fit: the longer headline wraps instead of clipping/overflowing */
.hero h1 { font-size: clamp(38px, 5.1vw, 92px); line-height: 1.02; }
.hero .line > span, :where(.js) .hero .line > span { white-space: normal; max-width: 100%; }
.hero .copy { min-width: 0; }
.hero .tagline { color: #f4c27a; background: var(--gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
:root.a11y-contrast .hero .tagline { -webkit-text-fill-color: #ffd38a; background: none; }
@media (max-width: 600px) { .hero h1 { font-size: clamp(34px, 9.6vw, 48px); } }
