/* =========================================================================
   SHEM72 — Landing Page
   A contemplative practice built on the 72 Names. Two themes, all-present.
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root,
[data-theme="dark"] {
  --bg:        #0A2239;
  --bg-2:      #071a2c;
  --bg-3:      #05131f;
  --surface:   #123F68;
  --surface-2: #154979;
  --surface-3: #1a567f;
  --line:      rgba(247,233,209,.12);
  --line-2:    rgba(247,233,209,.22);
  --text:      #F7E9D1;
  --text-soft: #DECDA8;
  --text-2:    #B4A475;
  --text-3:    #7da59c;
  --accent:    #EE9E2F;
  --accent-2:  #F0A743;
  --gold-hi:   #FBD68C;
  --on-accent: #0E273D;
  --card:      linear-gradient(165deg, rgba(21,73,121,.55), rgba(10,34,57,.65));
  --card-line: rgba(247,233,209,.14);
  --shadow:    0 30px 80px -30px rgba(0,0,0,.7);
  --shadow-sm: 0 12px 34px -16px rgba(0,0,0,.65);
  --glow:      rgba(238,158,47,.30);
  --grad:      linear-gradient(100deg, #FBD68C 0%, #EE9E2F 55%, #E08A1E 100%);
  --bezel:     #0a1620;
  --bezel-edge:#243a4b;
  --moses:     url("assets/brand/moses-white.webp");
  --scan-bg:   #050608;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg:        #FFF7EA;
  --bg-2:      #FBEFD9;
  --bg-3:      #F4E6CB;
  --surface:   #FFF1D6;
  --surface-2: #FBE7C4;
  --surface-3: #F6DCAE;
  --line:      rgba(0,42,56,.13);
  --line-2:    rgba(0,42,56,.24);
  --text:      #002A38;
  --text-soft: #143f4b;
  --text-2:    #0D4F5C;
  --text-3:    #4A7873;
  --accent:    #EE9E2F;
  --accent-2:  #d98a1f;
  --gold-hi:   #C8841C;
  --on-accent: #3a2300;
  --card:      linear-gradient(165deg, rgba(255,252,243,.9), rgba(252,234,205,.92));
  --card-line: rgba(0,42,56,.12);
  --shadow:    0 30px 70px -32px rgba(70,45,8,.34);
  --shadow-sm: 0 14px 30px -18px rgba(70,45,8,.30);
  --glow:      rgba(238,158,47,.34);
  --grad:      linear-gradient(100deg, #C8841C 0%, #A2640D 55%, #8a4f0a 100%);
  --bezel:     #0a1620;
  --bezel-edge:#2a4150;
  --moses:     url("assets/brand/moses-dark.webp");
  --scan-bg:   #07111c;
  color-scheme: light;
}

/* ---------- Reset / base ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  transition: background-color .55s ease, color .55s ease;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.i { width: 1.1em; height: 1.1em; flex: none; }

::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout primitives ---------- */
.wrap { width: min(1180px, 92vw); margin-inline: auto; }
.section { padding: clamp(72px, 11vw, 150px) 0; position: relative; }

.eyebrow {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-2);
  display: flex; align-items: center; gap: .55em;
}
.eyebrow.center { justify-content: center; }
.eyebrow .spark { color: var(--accent); font-size: 1.05em; }

.sec-head { max-width: 760px; margin: 0 auto clamp(40px,6vw,68px); text-align: center; }
.sec-head .eyebrow { justify-content: center; margin-bottom: 20px; }

.sec-title {
  font-family: "Playfair Display", serif;
  font-weight: 800;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -.015em;
}
.sec-lede {
  margin-top: 22px;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.7;
  color: var(--text-soft);
}
.sec-lede.center { text-align: center; margin-inline: auto; max-width: 640px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.heb { font-family: "Frank Ruhl Libre", "Noto Serif Hebrew", serif; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: "Montserrat", sans-serif; font-weight: 700;
  font-size: 15px; letter-spacing: .01em;
  padding: 14px 24px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, border-color .25s, color .25s;
  white-space: nowrap;
}
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }

.btn-accent {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: var(--on-accent);
  box-shadow: 0 10px 26px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px var(--glow), inset 0 1px 0 rgba(255,255,255,.4); }

.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn-soft {
  background: var(--surface-2); color: var(--text);
  border-color: var(--card-line);
}
.btn-soft:hover { border-color: var(--accent); color: var(--accent); }

.textlink {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 14.5px;
  color: var(--accent); letter-spacing: .01em;
}
.textlink .i { transition: transform .25s; }
.textlink:hover .i { transform: translateX(4px); }

/* ---------- Ambient background ---------- */
.bg-field { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
  opacity: .5;
}
.bg-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.bg-glow--a { width: 60vw; height: 60vw; top: -22vw; right: -16vw;
  background: radial-gradient(circle, var(--glow), transparent 65%); }
.bg-glow--b { width: 52vw; height: 52vw; bottom: -16vw; left: -18vw;
  background: radial-gradient(circle, color-mix(in srgb, var(--surface-2) 60%, transparent), transparent 65%); opacity:.7; }

.bg-letters { position: absolute; inset: 0; }
.bg-letters span {
  position: absolute;
  font-family: "Frank Ruhl Libre", serif;
  color: var(--accent);
  opacity: .045;
  user-select: none;
  animation: drift linear infinite;
}
[data-theme="light"] .bg-letters span { opacity: .06; }
@keyframes drift {
  0%   { transform: translateY(8px) rotate(0deg); }
  50%  { transform: translateY(-14px) rotate(2deg); }
  100% { transform: translateY(8px) rotate(0deg); }
}

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 20px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color .4s, background .4s, padding .4s;
}
.site-head.scrolled { border-bottom-color: var(--line); padding-block: 10px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 30px; height: 30px; color: var(--accent);
  display: grid; place-items: center;
  filter: drop-shadow(0 0 10px var(--glow));
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-word {
  font-family: "Playfair Display", serif; font-weight: 900;
  font-size: 23px; letter-spacing: .01em; color: var(--text);
}

.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
  font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 14px;
  color: var(--text-soft); position: relative; padding: 4px 0;
  transition: color .25s;
}
.nav a::after {
  content:""; position:absolute; left:0; right:100%; bottom:-2px; height:1.5px;
  background: var(--accent); transition: right .3s ease;
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { right: 0; }

.head-actions { display: flex; align-items: center; gap: 14px; margin-left: 8px; }

/* Theme toggle — the knob sits over the icon of the ACTIVE theme:
   sun (left) in light mode, moon (right) in dark mode */
.theme-toggle { background: none; border: none; cursor: pointer; padding: 0; display: block; }
.tt-track {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  width: 64px; height: 32px; padding: 0 8px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--card-line);
  transition: background .4s;
}
.tt-icon { width: 16px; height: 16px; z-index: 1; display: grid; place-items: center; transition: color .3s; }
.tt-icon svg { width: 100%; height: 100%; }
.tt-thumb {
  position: absolute; top: 50%; left: 4px; width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  box-shadow: 0 4px 10px -2px var(--glow);
  transition: transform .42s cubic-bezier(.5,1.6,.4,1);
  transform: translate(0, -50%);
}
[data-theme="dark"] .tt-thumb { transform: translate(30px, -50%); }
[data-theme="light"] .tt-sun  { color: var(--on-accent); }
[data-theme="light"] .tt-moon { color: var(--text-3); }
[data-theme="dark"]  .tt-sun  { color: var(--text-3); }
[data-theme="dark"]  .tt-moon { color: var(--on-accent); }

.menu-btn { display: none; }

/* ===================== HERO ===================== */
.hero { position: relative; padding: clamp(60px,9vw,110px) 0 clamp(70px,8vw,96px); overflow: hidden; }
.hero-moses {
  position: absolute; top: -4%; right: -6%; width: min(60vw, 760px); height: 116%;
  background: var(--moses) no-repeat center top / contain;
  opacity: .5; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 92%);
          mask-image: linear-gradient(to bottom, #000 55%, transparent 92%);
  filter: drop-shadow(0 0 50px var(--glow));
}
[data-theme="light"] .hero-moses { opacity: .42; }

.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px,5vw,64px);
  align-items: center; position: relative; z-index: 2;
}
.hero-copy { max-width: 600px; }
.hero-title {
  font-family: "Playfair Display", serif; font-weight: 800;
  font-size: clamp(40px, 7vw, 78px); line-height: 1.02; letter-spacing: -.02em;
  margin: 22px 0 0;
}
.hero-sub {
  margin-top: 26px; font-size: clamp(16px,1.8vw,20px); line-height: 1.65;
  color: var(--text-soft); max-width: 540px;
}
.hero-sub strong { color: var(--text); }
.hero-sub em { font-style: italic; color: var(--text-2); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.proof-bar {
  list-style: none; padding: 0; margin: 38px 0 0;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  color: var(--text-3); font-size: 14.5px;
}
.proof-bar b { font-family: "Playfair Display", serif; font-weight: 800; font-size: 22px;
  color: var(--text); margin-right: 6px; }
.proof-bar .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text-3); opacity:.6; }

/* Phone device */
.hero-device { position: relative; justify-self: center; }
.phone {
  position: relative; width: clamp(240px, 30vw, 310px); aspect-ratio: 800 / 1734;
  background: linear-gradient(160deg, var(--bezel-edge), var(--bezel) 24%);
  border-radius: 46px; padding: 10px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.04) inset;
}
.phone::after { /* bezel rim highlight */
  content:""; position:absolute; inset:0; border-radius:46px; pointer-events:none;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.07);
}
.phone-shot { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; }
.phone-glow {
  position: absolute; inset: -14% -10%; z-index:-1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow), transparent 72%);
  filter: blur(20px); opacity:.85;
}
.phone-notch {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 22px; background: var(--bezel); border-radius: 0 0 16px 16px;
  display: none; /* screenshots include the dynamic island */
}
.phone-sm { width: clamp(230px, 26vw, 290px); }

.chip-float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 11px 16px 11px 12px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--card-line);
  backdrop-filter: blur(12px); box-shadow: var(--shadow-sm);
  font-size: 13.5px; color: var(--text-soft);
  animation: floaty 5.5s ease-in-out infinite;
}
.chip-float .heb { font-size: 22px; color: var(--accent); }
.chip-float b { color: var(--text); display:block; font-family:"Montserrat"; font-size:11px; letter-spacing:.08em; color: var(--text-2); }
.chip-1 { top: 14%; left: -8%; }
.chip-2 { bottom: 12%; right: -10%; animation-delay: -2.6s; }
@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-12px);} }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  font-family: "Montserrat"; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-3); z-index: 3;
}
.scroll-cue svg { width: 18px; height: 18px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(5px);} }

/* ===================== THE PRACTICE ===================== */
.teaching { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: clamp(40px,6vw,64px); }
.teach-card {
  padding: 30px 28px; border-radius: 20px;
  background: var(--card); border: 1px solid var(--card-line);
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.teach-card::before {
  content:""; position:absolute; left:0; top:0; width:100%; height:3px;
  background: var(--grad); opacity:.0; transition: opacity .3s;
}
.teach-card:hover::before { opacity: 1; }
.teach-num {
  font-family: "Frank Ruhl Libre", serif; font-size: 40px; line-height:1; color: var(--accent);
  display:block; margin-bottom: 16px; filter: drop-shadow(0 0 14px var(--glow));
}
.teach-card h3 { font-family: "Playfair Display", serif; font-weight: 700; font-size: 22px; margin-bottom: 10px; }
.teach-card p { font-size: 15.5px; color: var(--text-soft); line-height: 1.62; }
.teach-card strong { color: var(--text); }
.teach-card em { color: var(--text-2); font-style: italic; }

/* Vibrating vs. scanning comparison */
.compare {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 26px); max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 64px);
}
.compare-item { margin: 0; }
.compare-item img {
  display: block; width: 100%; height: auto; border-radius: 20px;
  border: 1px solid var(--card-line); box-shadow: var(--shadow-sm);
}
.compare-item figcaption {
  text-align: center; margin-top: 12px;
  font-family: "Montserrat"; font-weight: 700; font-size: 11.5px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft);
}

/* Scan demo */
.scan-demo {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: stretch;
  background: var(--card); border: 1px solid var(--card-line);
  border-radius: 26px; padding: 22px; box-shadow: var(--shadow);
}
.scan-stage {
  background: var(--scan-bg); border-radius: 18px; padding: 18px 18px 22px;
  border: 1px solid rgba(247,233,209,.08); display: flex; flex-direction: column;
  min-height: 440px; position: relative; overflow: hidden;
}
.scan-topbar { display: flex; align-items: center; gap: 10px; color: #cdd6dc; font-size: 13px; }
.scan-back { color: var(--accent); font-size: 20px; line-height: 1; }
.scan-title { font-weight: 600; color: #e7eef2; flex: 1; }
.scan-mode-pill {
  font-family:"Montserrat"; font-size: 10.5px; letter-spacing:.12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; background: rgba(238,158,47,.16); color: var(--accent);
  border: 1px solid rgba(238,158,47,.3);
}
.scan-canvas {
  position: relative; flex: 1; display: grid; place-items: center; min-height: 160px; margin: 10px 0;
}
.heb-stack { position: relative; display: inline-block; }
.heb-dim, .heb-lit {
  font-family: "Frank Ruhl Libre", serif; font-weight: 700;
  font-size: clamp(80px, 13vw, 132px); line-height: 1; letter-spacing: .06em;
  direction: rtl;
}
.heb-dim { color: rgba(238,158,47,.14); }
.heb-lit {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #FBD68C, #EE9E2F 70%, #d9870f);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 26px rgba(238,158,47,.55));
}
.scan-beam {
  position: absolute; top: -6%; height: 112%; width: 16%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(251,214,140,.5) 45%, rgba(255,240,200,.85) 50%, rgba(251,214,140,.5) 55%, transparent);
  filter: blur(3px); mix-blend-mode: screen; opacity: 0;
}
/* Masked mode: letter-by-letter reveal, RTL — no visible beam, the letters
   simply light up one at a time as the hidden window sweeps across */
.scan-stage[data-mode="masked"] .heb-lit {
  -webkit-mask-image: linear-gradient(90deg, transparent 0 43%, #000 48% 52%, transparent 57% 100%);
          mask-image: linear-gradient(90deg, transparent 0 43%, #000 48% 52%, transparent 57% 100%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%;
  animation: sweepMask 4.2s linear infinite;
}
.scan-stage[data-mode="masked"] .scan-beam { opacity: 0; animation: none; }
/* Keyframes chosen so the mask's lit band tracks the beam's sweep exactly
   (mask-size 260% → offset = -1.6·p; band center must equal beam center, 108% → -8%) */
@keyframes sweepMask {
  0%   { -webkit-mask-position: 13.75% 0; mask-position: 13.75% 0; }
  100% { -webkit-mask-position: 86.25% 0; mask-position: 86.25% 0; }
}
@keyframes sweepBeam {
  0%   { left: 100%; }
  100% { left: -16%; }
}
/* Reveal mode: whole Name held in light, beam still passes over it */
.scan-stage[data-mode="reveal"] .heb-lit { -webkit-mask-image:none; mask-image:none; animation:none; }
.scan-stage[data-mode="reveal"] .scan-beam { opacity: .55; animation: sweepBeam 4.2s linear infinite; }

.scan-meta { text-align: center; margin-top: 6px; }
.scan-translit { margin-top: 8px; color: #cdd6dc; font-size: 14px; }
.scan-translit span { color: var(--accent); }

.hold {
  margin-top: 14px; padding: 14px 16px; border-radius: 14px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(247,233,209,.08);
}
.hold-label { font-family:"Montserrat"; font-size: 10.5px; letter-spacing:.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 7px; }
.hold-text { font-size: 13.5px; line-height: 1.6; color: #c2ccd2; }

.scan-controls { display: flex; flex-direction: column; gap: 18px; justify-content: center; padding: 8px 14px; }
.seg {
  display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface-2);
  border: 1px solid var(--card-line); width: fit-content;
}
.seg-btn {
  font-family:"Montserrat"; font-weight: 700; font-size: 13px; letter-spacing:.04em;
  padding: 9px 22px; border-radius: 999px; border: none; background: transparent;
  color: var(--text-3); cursor: pointer; transition: all .25s;
}
.seg-btn.is-on { background: linear-gradient(180deg,var(--accent-2),var(--accent)); color: var(--on-accent);
  box-shadow: 0 6px 16px -8px var(--glow); }
.scan-help { font-size: 14px; color: var(--text-soft); line-height: 1.6; }
.scan-help strong { color: var(--text); }

/* ===================== THE 72 NAMES ===================== */
.name-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.chip-btn {
  font-family:"Montserrat"; font-weight: 600; font-size: 13px;
  padding: 9px 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--card-line); color: var(--text-soft);
  cursor: pointer; transition: all .25s;
}
.chip-btn:hover { border-color: var(--accent); color: var(--text); }
.chip-btn.is-on { background: linear-gradient(180deg,var(--accent-2),var(--accent)); color: var(--on-accent); border-color: transparent; }

.name-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
}
.name-card {
  position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 4;
  border: 1px solid var(--card-line); cursor: pointer; background: var(--surface-2);
  box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
  opacity: 0; animation: cardIn .5s ease forwards;
}
@keyframes cardIn { from { opacity:0; transform: translateY(14px) scale(.98);} to{ opacity:1; transform:none;} }
.name-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s ease, filter .35s; }
.name-card::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(to top, rgba(4,12,20,.92) 6%, rgba(4,12,20,.45) 38%, rgba(4,12,20,.05) 66%);
}
.name-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: var(--shadow), 0 0 0 1px var(--accent); }
.name-card:hover img { transform: scale(1.07); }

.nc-top { position: absolute; top: 9px; left: 10px; right: 10px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; }
.nc-num { font-family:"Montserrat"; font-weight: 700; font-size: 11px; letter-spacing: .06em;
  color: #fff; background: rgba(0,0,0,.4); padding: 3px 8px; border-radius: 999px; backdrop-filter: blur(4px); }
.nc-heb { font-family:"Frank Ruhl Libre", serif; font-weight: 700; font-size: 21px; color: var(--accent);
  text-shadow: 0 1px 10px rgba(0,0,0,.6); direction: rtl; }
.nc-body { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; }
.nc-title { font-family: "Playfair Display", serif; font-weight: 700; font-size: 15px; line-height: 1.15; color: #fff; }

.name-foot { text-align: center; margin-top: 38px; color: var(--text-soft); max-width: 680px; margin-inline: auto; font-size: 16px; }
.name-foot strong { color: var(--text); }

/* ===================== SPLIT SECTIONS ===================== */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px,6vw,80px); align-items: center; }
.split-grid.reverse .split-copy { order: 2; }
.split .sec-title { text-align: left; }
.split-copy .sec-lede { margin-bottom: 26px; }
.split-media { justify-self: center; position: relative; }
.split.alt { background:
  linear-gradient(180deg, transparent, color-mix(in srgb, var(--surface) 40%, transparent) 50%, transparent); }

.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 13px; }
.ticks li { position: relative; padding-left: 32px; color: var(--text-soft); font-size: 16px; }
.ticks li::before {
  content:"✓"; position: absolute; left: 0; top: 1px;
  width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; color: var(--on-accent); background: var(--accent); font-weight: 700;
}

.gateways { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 26px; }
.gate-letter {
  display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--card-line);
}
.gate-letter .heb { font-size: 34px; color: var(--accent); width: 42px; text-align: center; filter: drop-shadow(0 0 12px var(--glow)); }
.gate-letter b { font-family:"Playfair Display"; font-size: 16px; display: block; }
.gate-letter span { color: var(--text-3); font-size: 13.5px; letter-spacing: .04em; }
.zodiac { font-style: normal; color: var(--accent); font-size: 1.15em;
  font-variant-emoji: text; -webkit-font-feature-settings: normal; }

.feature-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.feature-pills.center { justify-content: center; margin-top: 26px; }
.fpill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family:"Montserrat"; font-weight: 600; font-size: 13px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--card-line); color: var(--text-soft);
}
.fpill .i { color: var(--accent); }

/* ===================== 24 GATES ===================== */
.gates-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(34px,5vw,64px); align-items: center; }
.gate-media { position: relative; justify-self: center; padding: 10px 40px; }
.gate-media .phone-behind {
  position: absolute; top: 40px; left: -6px; transform: rotate(-7deg) scale(.82);
  z-index: -1; opacity: .8; filter: saturate(.9);
}
.gate-media .phone { transform: rotate(3deg); }

.gate-detail { max-width: 520px; }
.gate-progress { margin-bottom: 26px; padding: 18px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--card-line); }
.gp-head { display: flex; justify-content: space-between; font-family:"Montserrat"; font-size: 12px; letter-spacing:.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.gp-count { color: var(--accent); }
.gp-track { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.gp-fill { height: 100%; width: var(--p); background: var(--grad); border-radius: 999px; box-shadow: 0 0 12px var(--glow); }

.gate-steps { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.gate-steps li {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--card-line); transition: all .3s;
}
.gate-steps li.done { opacity: .72; }
.gate-steps li.next { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); box-shadow: 0 0 0 1px var(--accent) inset; }
.gs-num { font-family:"Playfair Display"; font-weight: 800; font-size: 18px; color: var(--text-2); width: 26px; }
.gate-steps li.next .gs-num { color: var(--accent); }
.gate-steps div { flex: 1; }
.gate-steps b { font-family:"Playfair Display"; font-weight: 700; font-size: 16px; display: block; }
.gate-steps span:not(.gs-num) { color: var(--text-3); font-size: 13.5px; }
.gs-tick { color: var(--accent); font-weight: 700; }
.gs-go { color: var(--accent); font-size: 20px; }
.gs-lock { width: 18px; height: 18px; color: var(--text-3); }

.arcana-row { display: flex; flex-wrap: wrap; gap: 8px; }
.arcana-row span {
  font-family:"Cormorant Garamond", serif; font-style: italic; font-size: 15px;
  padding: 5px 13px; border-radius: 999px; border: 1px solid var(--card-line);
  color: var(--text-2); background: var(--surface);
}

/* ===================== JOURNEYS ===================== */
.journey-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.jcard {
  padding: 28px 26px; border-radius: 20px; background: var(--card); border: 1px solid var(--card-line);
  box-shadow: var(--shadow-sm); transition: transform .35s, border-color .35s, box-shadow .35s; position: relative; overflow: hidden;
}
.jcard:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: var(--shadow); }
.jcard-wide { grid-column: span 2; }
.jicon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); margin-bottom: 18px; }
.jicon svg { width: 24px; height: 24px; }
.jcard h3 { font-family:"Playfair Display"; font-weight: 700; font-size: 21px; display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.jcount { font-family:"Montserrat"; font-weight: 700; font-size: 12px; letter-spacing: .04em; color: var(--accent);
  background: color-mix(in srgb,var(--accent) 14%, transparent); padding: 3px 10px; border-radius: 999px; }
.jcard p { font-size: 15px; color: var(--text-soft); line-height: 1.6; }

/* ===================== SKY / ARCHANGEL OF THE DAY ===================== */
.sky-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,64px); align-items: center; }
.sky-wheel-wrap { position: relative; }
.sky-wheel { width: 100%; max-width: 430px; margin-inline: auto; display: block; }

.sky-core  { fill: url(#skyCore); }
.sky-ring  { fill: none; stroke: var(--line-2); stroke-width: 1; }
.sky-ticks { fill: none; stroke: var(--accent); stroke-opacity: .42; stroke-width: 7; stroke-dasharray: 2.2 11.3; }
.sky-lit   { fill: none; stroke: var(--gold-hi); stroke-width: 9; stroke-linecap: round; }
.sky-ln    { stroke-width: 1; }
.sky-ln.sun  { stroke: var(--accent); stroke-opacity: .5; }
.sky-ln.moon { stroke: #7ea6c9; stroke-opacity: .5; }
.sky-ln.mars { stroke: #e0603d; stroke-opacity: .5; }
.sky-m.sun  { fill: var(--gold-hi); }
.sky-m.moon { fill: #e8f0fa; stroke: #7ea6c9; stroke-width: 1.5; }
.sky-m.mars { fill: #e0603d; }
.sky-heb     { font-family: "Frank Ruhl Libre", serif; font-weight: 700; font-size: 42px; fill: var(--accent); }
.sky-heb-sub { font-family: "Montserrat", sans-serif; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; fill: var(--text-3); }

.sky-legend { display: flex; gap: 20px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.sky-legend span { display: inline-flex; align-items: center; gap: 8px; font-family: "Montserrat"; font-size: 12px;
  letter-spacing: .04em; color: var(--text-3); }
.sky-dot { width: 11px; height: 11px; border-radius: 50%; box-shadow: 0 0 8px currentColor; }
.sky-dot.sun  { background: var(--gold-hi); color: var(--accent); }
.sky-dot.moon { background: #e8f0fa; color: #7ea6c9; }
.sky-dot.mars { background: #e0603d; color: #e0603d; }

.sky-feats { display: grid; gap: 22px; }
.sky-feat { display: flex; gap: 16px; align-items: flex-start; }
.sky-feat .si { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.sky-feat .si svg { width: 23px; height: 23px; }
.sky-feat h4 { font-family: "Playfair Display"; font-weight: 700; font-size: 19px; margin-bottom: 6px; }
.sky-feat p { font-size: 15px; color: var(--text-soft); line-height: 1.62; }

.sky-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.sky-chip { display: inline-flex; align-items: center; gap: 9px; font-family: "Montserrat"; font-weight: 600;
  font-size: 12.5px; letter-spacing: .02em; color: var(--text); padding: 9px 15px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, var(--surface)); border: 1px solid var(--card-line); }
.sky-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 9px var(--accent); }

@media (max-width: 860px) {
  .sky-grid { grid-template-columns: 1fr; gap: 34px; }
  .sky-wheel { max-width: 340px; }
}

/* ===================== PRIVATE ===================== */
.private { text-align: center; }
.private-inner { max-width: 800px; margin-inline: auto; }
.private .eyebrow { justify-content: center; margin-bottom: 20px; }
.private .sec-title { text-align: center; }
.stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin: 46px 0 30px; }
.stat b { font-family:"Playfair Display"; font-weight: 800; font-size: clamp(38px,5vw,56px);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  display: block; line-height: 1; }
.stat span { font-size: 13.5px; color: var(--text-3); margin-top: 8px; display: block; }

/* ===================== THEMES SHOWCASE ===================== */
.theme-stage {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(16px,3vw,34px); align-items: center;
  max-width: 920px; margin-inline: auto;
}
.theme-card { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid; }
.theme-card--light { background: #FFF7EA; color: #002A38; border-color: rgba(0,42,56,.14); }
.theme-card--dark  { background: #0A2239; color: #F7E9D1; border-color: rgba(247,233,209,.14); }
.tc-head { display: flex; align-items: center; gap: 9px; padding: 14px 18px; font-family:"Montserrat"; font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.theme-card--light .tc-head { border-bottom: 1px solid rgba(0,42,56,.1); color: #0D4F5C; }
.theme-card--dark .tc-head { border-bottom: 1px solid rgba(247,233,209,.1); color: #B4A475; }
.tc-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.tc-body { padding: 20px 18px 22px; }
.tc-eyebrow { font-family:"Montserrat"; font-size: 10.5px; letter-spacing:.14em; text-transform: uppercase; opacity: .7; margin-bottom: 14px; }
.tc-names { display: grid; gap: 9px; margin-bottom: 18px; }
.tc-names span { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-family:"Playfair Display"; }
.tc-names .heb { font-size: 22px; color: var(--accent); width: 36px; }
.tc-cta { display: inline-block; font-family:"Montserrat"; font-weight: 700; font-size: 13px;
  padding: 10px 20px; border-radius: 999px; background: linear-gradient(180deg,#F0A743,#EE9E2F); color: #0E273D; }

.theme-swap { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--card-line);
  background: var(--surface); color: var(--accent); cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow-sm); transition: transform .4s, border-color .3s; }
.theme-swap svg { width: 22px; height: 22px; }
.theme-swap:hover { transform: rotate(180deg); border-color: var(--accent); }
.theme-note { text-align: center; margin-top: 30px; color: var(--text-3); font-size: 14.5px; }

/* ===================== CTA ===================== */
.cta { text-align: center; overflow: hidden; }
.cta-moses {
  position: absolute; inset: 0; background: var(--moses) no-repeat center 30% / contain;
  opacity: .08; pointer-events: none;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent 75%);
          mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent 75%);
}
.cta-inner { position: relative; z-index: 2; max-width: 720px; margin-inline: auto; }
.cta-inner .eyebrow { margin-bottom: 22px; }
.cta-title { font-family:"Playfair Display"; font-weight: 800; font-size: clamp(38px,6.5vw,72px); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 22px; }
.store-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 38px 0 18px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 13px; padding: 13px 24px 13px 22px; border-radius: 16px;
  background: var(--text); color: var(--bg); border: 1px solid transparent;
  transition: transform .25s, box-shadow .25s; box-shadow: var(--shadow-sm);
}
.store-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.store-glyph { width: 28px; height: 28px; flex: none; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge small { font-size: 11px; opacity: .8; }
.store-badge strong { font-family:"Montserrat"; font-weight: 700; font-size: 18px; }
.store-note { min-height: 0; margin: 0; font-size: 14.5px; color: var(--accent); opacity: 0; transform: translateY(-4px); transition: opacity .3s ease, transform .3s ease, min-height .3s ease; }
.store-note.is-on { opacity: 1; transform: none; min-height: 1.5em; margin-top: 4px; }
.cta-fine { color: var(--text-3); font-size: 13.5px; margin-top: 8px; }

/* ===================== NEWSLETTER ===================== */
.newsletter { padding-top: 30px; }
.newsletter-inner { text-align: center; max-width: 680px; margin-inline: auto; }
.sub-form { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.sub-input {
  flex: 1 1 280px; max-width: 380px; padding: 15px 22px;
  font: inherit; font-size: 15.5px; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--card-line); border-radius: 999px;
  transition: border-color .2s, box-shadow .2s;
}
.sub-input::placeholder { color: var(--text-3); }
.sub-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.sub-btn { min-width: 150px; }
.sub-btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.sub-msg { margin-top: 16px; min-height: 1.5em; font-size: 14.5px; color: var(--text-soft); }
.sub-msg.is-ok { color: var(--accent); }
.sub-msg.is-err { color: #e5484d; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ===================== FOOTER ===================== */
.site-foot { border-top: 1px solid var(--line); padding: clamp(50px,7vw,76px) 0 36px; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-brand .brand { margin-bottom: 16px; }
.foot-tag { color: var(--text-soft); font-size: 15.5px; max-width: 360px; margin-bottom: 14px; }
.foot-respect { color: var(--text-3); font-size: 13px; line-height: 1.6; max-width: 380px; }
.foot-respect em { font-style: italic; color: var(--text-2); }
.foot-nav h4 { font-family:"Montserrat"; font-size: 12px; letter-spacing:.14em; text-transform: uppercase; color: var(--text-2); margin-bottom: 16px; }
.foot-nav a { display: block; color: var(--text-soft); font-size: 14.5px; padding: 5px 0; transition: color .2s; }
.foot-nav a:hover { color: var(--accent); }
.foot-base { display: flex; justify-content: space-between; align-items: center; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; }
.foot-heb { font-family:"Frank Ruhl Libre", serif; font-size: 18px; color: var(--text-2); }

/* ===================== Reveal animation ===================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .chip-float, .scroll-cue svg, .bg-letters span { animation: none !important; }
  .scan-stage[data-mode="masked"] .heb-lit { animation: none; -webkit-mask-image:none; mask-image:none; }
  .scan-stage .scan-beam { display: none; }
}

/* ===================== Responsive ===================== */
@media (max-width: 1080px) {
  .name-grid { grid-template-columns: repeat(4, 1fr); }
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
  .jcard-wide { grid-column: span 2; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .head-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { max-width: 640px; margin-inline: auto; }
  .hero-cta, .proof-bar { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .hero-device { margin-top: 30px; }
  .hero-moses { opacity: .22; width: 90vw; right: -10%; }
  .teaching { grid-template-columns: 1fr; }
  .scan-demo { grid-template-columns: 1fr; }
  .split-grid, .split-grid.reverse { grid-template-columns: 1fr; }
  .split-grid.reverse .split-copy { order: 0; }
  .split .sec-title, .split-copy { text-align: center; }
  .split-copy { display: flex; flex-direction: column; align-items: center; }
  .ticks { text-align: left; }
  .gates-grid { grid-template-columns: 1fr; }
  .gate-media { margin-bottom: 20px; }
  .stat-row { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .name-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-grid { grid-template-columns: 1fr; }
  .jcard-wide { grid-column: span 1; }
  .theme-stage { grid-template-columns: 1fr; }
  .theme-swap { transform: rotate(90deg); margin: -6px auto; }
  .theme-swap:hover { transform: rotate(270deg); }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .proof-bar { gap: 10px; font-size: 13px; }
  .chip-1 { left: 0; } .chip-2 { right: 0; }
  .section { padding: 64px 0; }
}

/* ---------- Mobile nav drawer ---------- */
.menu-btn { flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.menu-btn span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw); z-index: 99;
  background: var(--bg-2); border-left: 1px solid var(--line); padding: 90px 30px 30px;
  transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow);
}
.mobile-nav.open { transform: none; }
.mobile-nav a { font-family:"Playfair Display"; font-size: 22px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.mobile-nav .btn { margin-top: 20px; }
.nav-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 98; opacity: 0; pointer-events: none; transition: opacity .4s; }
.nav-scrim.open { opacity: 1; pointer-events: auto; }
