/* מקדש מלך — עיצוב 1: ניצוצות (sapphire + living gold light) */

@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --bg0: #050818;
  --bg1: #0b1440;
  --gold1: #f6e3a1;
  --gold2: #e9c46a;
  --gold3: #b8862b;
  --ivory: #f4eeda;
  --muted: #b9bbd6;
  --foil: linear-gradient(100deg, #b8862b 0%, #e9c46a 14%, #fff7d6 27%, #e9c46a 40%, #b8862b 54%, #f6e3a1 70%, #d9a94a 86%, #b8862b 100%);
  --serif: "Frank Ruhl Libre", "Noto Serif Hebrew", "David Libre", serif;
  --sans: "Heebo", "Assistant", "Noto Sans Hebrew", system-ui, sans-serif;
  --gut: clamp(1.1rem, 5vw, 4.5rem);
  --hdr: 84px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: #2a3a8a #050818; }
body {
  margin: 0;
  background: var(--bg0);
  color: var(--ivory);
  font: 400 1.0625rem/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: rgba(233, 196, 106, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--gold1); outline-offset: 3px; border-radius: 6px; }

[tabindex="-1"]:focus { outline: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: -4rem; right: 1rem; z-index: 200; background: var(--gold2); color: #1b1203; padding: .6rem 1rem; border-radius: 0 0 10px 10px; font-weight: 700; transition: top .2s; }
.skip:focus { top: 0; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ------------------------------------------------------------ fixed layers */
.sky {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(62vw 52vh at 82% 8%, rgba(46, 78, 200, .30), transparent 70%),
    radial-gradient(58vw 58vh at 10% 92%, rgba(34, 54, 160, .26), transparent 70%),
    radial-gradient(46vw 46vh at 50% 46%, rgba(184, 134, 43, .07), transparent 70%),
    linear-gradient(180deg, #050818 0%, #0a123a 48%, #0b1440 70%, #050818 100%);
}
/* static starfield, shown whenever the particle canvas is not running */
html:not(.sparks) .sky::after {
  content: ""; position: absolute; inset: 0; opacity: .9;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, #f6e3a1, transparent 60%),
    radial-gradient(1.2px 1.2px at 31% 62%, #fff, transparent 60%),
    radial-gradient(2px 2px at 47% 9%, #e9c46a, transparent 60%),
    radial-gradient(1.2px 1.2px at 58% 44%, #f6e3a1, transparent 60%),
    radial-gradient(1.6px 1.6px at 73% 78%, #fff, transparent 60%),
    radial-gradient(1.2px 1.2px at 88% 27%, #e9c46a, transparent 60%),
    radial-gradient(2.2px 2.2px at 93% 66%, #f6e3a1, transparent 60%),
    radial-gradient(1.2px 1.2px at 6% 83%, #9fb6ff, transparent 60%),
    radial-gradient(1.4px 1.4px at 22% 41%, #e9c46a, transparent 60%),
    radial-gradient(1.2px 1.2px at 66% 14%, #9fb6ff, transparent 60%),
    radial-gradient(1.8px 1.8px at 39% 88%, #f6e3a1, transparent 60%),
    radial-gradient(1.2px 1.2px at 81% 52%, #fff, transparent 60%);
  background-size: 520px 460px, 380px 420px, 610px 540px, 300px 340px, 470px 390px, 350px 520px, 640px 480px, 420px 360px, 280px 300px, 560px 440px, 330px 470px, 450px 310px;
}
#sparks { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 1; pointer-events: none; display: block; }
html:not(.sparks) #sparks { display: none; }
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px; z-index: 1; pointer-events: none;
  border-radius: 50%; opacity: 0; transition: opacity .6s;
  background: radial-gradient(closest-side, rgba(246, 227, 161, .13), rgba(233, 196, 106, .05) 45%, transparent 72%);
  will-change: transform;
}
.cursor-glow.on { opacity: 1; }
.grain {
  position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
main, .ftr { position: relative; z-index: 2; }
main { overflow-x: clip; }

/* ------------------------------------------------------------ intro */
#intro { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; background: radial-gradient(circle at 50% 50%, #0d1848 0%, #050818 62%); }
.js #intro { display: grid; animation: introSafe .6s 4.5s forwards; }
.js.intro-done #intro { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .7s ease, visibility 0s .7s; animation: none; }
@keyframes introSafe { to { opacity: 0; visibility: hidden; } }
.intro-core { position: relative; width: 120px; height: 120px; }
.intro-core i { position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: #fff7d6; box-shadow: 0 0 14px 4px rgba(246, 227, 161, .9), 0 0 60px 18px rgba(233, 196, 106, .45); animation: corePulse 1.1s ease-in-out infinite alternate; }
.intro-core b, .intro-core s { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(246, 227, 161, .55); animation: coreRing 1.6s ease-out infinite; }
.intro-core s { animation-delay: .8s; }
@keyframes corePulse { from { transform: scale(.8); } to { transform: scale(1.35); } }
@keyframes coreRing { from { transform: scale(.1); opacity: .9; } to { transform: scale(1.15); opacity: 0; } }

/* ------------------------------------------------------------ gold foil text */
.foil, .foil .sl {
  background-image: var(--foil); background-size: 220% 100%; background-repeat: repeat;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold2);
  animation: foil 9s linear infinite;
}
.foil.is-split { background-image: none; animation: none; }
@keyframes foil { from { background-position: 0% 50%; } to { background-position: -220% 50%; } }
.sl { padding-block: .14em; display: block; }
.sl-mask { margin-block: -.14em; }

/* ------------------------------------------------------------ buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.75em; border: 0; border-radius: 999px; cursor: pointer; isolation: isolate; overflow: hidden;
  font: 700 1rem/1.1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: box-shadow .4s var(--ease), filter .3s;
}
.btn-sm { padding: .75em 1.3em; font-size: .93rem; }
.btn-lg { padding: 1.08em 2.1em; font-size: 1.08rem; }
.btn-gold {
  color: #231503;
  background: linear-gradient(180deg, #fff3c8 0%, #f0d27f 30%, #e2b653 62%, #b8862b 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 246, 207, .65), inset 0 -6px 14px -6px rgba(120, 72, 6, .55), 0 10px 30px -10px rgba(233, 196, 106, .7), 0 0 52px -12px rgba(233, 196, 106, .55);
}
.btn-gold::after {
  content: ""; position: absolute; z-index: 1; top: -30%; bottom: -30%; left: -70%; width: 46%;
  transform: skewX(-22deg); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .78), transparent);
  animation: sheen 5s var(--ease) infinite;
}
.btn-gold:hover { box-shadow: inset 0 0 0 1px rgba(255, 246, 207, .9), inset 0 -6px 14px -6px rgba(120, 72, 6, .55), 0 14px 40px -10px rgba(233, 196, 106, .95), 0 0 80px -10px rgba(246, 227, 161, .8); filter: brightness(1.06); }
.btn-gold:hover::after { animation-duration: 1.3s; }
@keyframes sheen { 0%, 55% { left: -70%; } 100% { left: 135%; } }
.btn-ghost { color: var(--gold1); background: rgba(12, 20, 60, .35); box-shadow: inset 0 0 0 1px rgba(246, 227, 161, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost .ico { transition: transform .4s var(--ease); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--gold1), 0 0 40px -10px rgba(246, 227, 161, .6); }
.btn-ghost:hover .ico { transform: translateX(-5px); }

/* ------------------------------------------------------------ header */
.hdr {
  position: fixed; top: 0; right: 0; left: 0; z-index: 40; height: var(--hdr);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0 var(--gut);
  transition: height .5s var(--ease), background .5s, box-shadow .5s;
}
.hdr::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: linear-gradient(180deg, rgba(5, 8, 24, .82), rgba(7, 12, 38, .62)); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid rgba(246, 227, 161, .16); }
.hdr.scrolled { height: 66px; }
.hdr.scrolled::before { opacity: 1; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand-emblem { position: relative; display: block; width: 54px; flex: none; transition: width .5s var(--ease); }
.brand-emblem::before { content: ""; position: absolute; inset: -45%; border-radius: 50%; background: radial-gradient(closest-side, rgba(246, 227, 161, .5), rgba(233, 196, 106, .14) 50%, transparent 72%); animation: breathe 4.5s ease-in-out infinite; }
.brand-emblem img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 0 8px rgba(246, 227, 161, .55)); }
.hdr.scrolled .brand-emblem { width: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font: 900 1.35rem/1 var(--serif); color: var(--gold1); letter-spacing: .02em; }
.brand-text small { font-size: .74rem; color: var(--muted); margin-top: .3rem; letter-spacing: .06em; }
@keyframes breathe { 0%, 100% { transform: scale(.9); opacity: .65; } 50% { transform: scale(1.12); opacity: 1; } }
.nav { display: flex; gap: clamp(.9rem, 2vw, 2rem); }
.nav a { position: relative; text-decoration: none; font-size: .97rem; color: var(--ivory); padding: .5rem 0; opacity: .88; transition: opacity .3s, color .3s; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; right: 0; left: 0; bottom: .15rem; height: 1px; background: linear-gradient(90deg, transparent, var(--gold1), transparent); transform: scaleX(0); transition: transform .5s var(--ease); }
.nav a:hover, .nav a:focus-visible { opacity: 1; color: var(--gold1); }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.hdr-end { display: flex; align-items: center; gap: .7rem; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(246, 227, 161, .4); background: rgba(10, 16, 48, .5); cursor: pointer; position: relative; }
.burger i { position: absolute; right: 12px; left: 12px; height: 1.5px; background: var(--gold1); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger i:first-child { top: 17px; } .burger i:last-child { top: 25px; }
.burger[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }
.mnav { position: fixed; inset: 0; z-index: 39; background: rgba(5, 8, 24, .9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); display: grid; place-items: center; opacity: 0; transition: opacity .4s; }
.mnav[hidden] { display: none; }
.mnav.open { opacity: 1; }
.mnav nav { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.mnav a:not(.btn) { font: 700 1.7rem/1.2 var(--serif); color: var(--gold1); text-decoration: none; }
.mnav .btn { margin-top: 1rem; }

/* ------------------------------------------------------------ hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(var(--hdr) + .5rem) var(--gut) 5.5rem; text-align: center;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; width: 100%; }
.hero-emblem { position: relative; width: clamp(84px, 14vh, 136px); margin-bottom: clamp(.2rem, 1.6vh, 1rem); }
.hero-emblem img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 0 16px rgba(246, 227, 161, .5)) drop-shadow(0 8px 24px rgba(0, 0, 0, .5)); }
.halo { position: absolute; inset: -70%; border-radius: 50%; background: radial-gradient(closest-side, rgba(246, 227, 161, .38), rgba(233, 196, 106, .12) 42%, transparent 70%); animation: breathe 5.5s ease-in-out infinite; }
.hero-title { font: 900 min(16.5vw, 27vh)/1.02 var(--serif); white-space: nowrap; letter-spacing: -.005em; padding-block: .04em; filter: drop-shadow(0 6px 30px rgba(233, 196, 106, .28)); }
.sparks .hero-title { opacity: 0; }
.hero-tag { font: 500 clamp(1.3rem, 2.7vw, 2.35rem)/1.3 var(--serif); letter-spacing: .16em; margin-top: clamp(.2rem, 1.2vh, .9rem); }
.hero-sub { color: var(--muted); font-size: clamp(.95rem, 1.25vw, 1.1rem); letter-spacing: .05em; margin-top: .55rem; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: clamp(1.1rem, 3.4vh, 2.2rem); }
.hero-foot { position: absolute; right: var(--gut); left: var(--gut); bottom: 1.6rem; display: flex; align-items: flex-end; justify-content: space-between; pointer-events: none; }
.hdate { font-size: .88rem; color: var(--muted); letter-spacing: .06em; }
.scroll-hint { pointer-events: auto; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .5rem; font-size: .8rem; letter-spacing: .2em; color: var(--gold1); text-decoration: none; opacity: .85; }
.scroll-hint i { width: 1px; height: 44px; background: linear-gradient(180deg, var(--gold1), transparent); transform-origin: top; animation: hint 2.2s var(--ease) infinite; }
@keyframes hint { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1) translateY(14px); opacity: 0; } }
@media (max-aspect-ratio: 4/5) {
  .hero-title { font-size: min(31vw, 17vh); white-space: normal; line-height: .98; }
  .hero-title span { display: block; }
}

/* ------------------------------------------------------------ sections + glass panels */
.sec { position: relative; min-height: 112vh; padding: clamp(6rem, 17vh, 11rem) 0; display: flex; align-items: center; }
.wrap { width: min(1280px, 100% - 2 * var(--gut)); margin-inline: auto; display: flex; position: relative; }
[data-side="start"] > .wrap { justify-content: flex-start; }
[data-side="end"] > .wrap { justify-content: flex-end; }
.wrap-col { flex-direction: column; gap: 1.6rem; }
[data-side="end"] > .wrap-col { align-items: flex-end; }

.panel {
  position: relative; width: min(100%, 35rem); padding: clamp(1.5rem, 2.7vw, 2.7rem);
  border-radius: 24px;
  background: linear-gradient(158deg, rgba(24, 38, 100, .46) 0%, rgba(8, 13, 40, .68) 60%, rgba(6, 10, 30, .74) 100%);
  backdrop-filter: blur(16px) saturate(1.25); -webkit-backdrop-filter: blur(16px) saturate(1.25);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(246, 227, 161, .16), inset 0 0 70px rgba(70, 100, 220, .09);
}
.panel::before {               /* living gold hairline */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--a), rgba(246, 227, 161, .10), rgba(255, 246, 207, .9) 7%, rgba(184, 134, 43, .22) 20%, rgba(246, 227, 161, .10) 46%, rgba(246, 227, 161, .6) 56%, rgba(184, 134, 43, .16) 70%, rgba(246, 227, 161, .10));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spinA 16s linear infinite;
}
.panel::after {                /* corner ornaments */
  content: ""; position: absolute; inset: 10px; border-radius: 16px; pointer-events: none; opacity: .75;
  background:
    linear-gradient(var(--gold2), var(--gold2)) top right / 22px 1px no-repeat, linear-gradient(var(--gold2), var(--gold2)) top right / 1px 22px no-repeat,
    linear-gradient(var(--gold2), var(--gold2)) top left / 22px 1px no-repeat, linear-gradient(var(--gold2), var(--gold2)) top left / 1px 22px no-repeat,
    linear-gradient(var(--gold2), var(--gold2)) bottom right / 22px 1px no-repeat, linear-gradient(var(--gold2), var(--gold2)) bottom right / 1px 22px no-repeat,
    linear-gradient(var(--gold2), var(--gold2)) bottom left / 22px 1px no-repeat, linear-gradient(var(--gold2), var(--gold2)) bottom left / 1px 22px no-repeat;
}
@keyframes spinA { to { --a: 360deg; } }
.panel-wide { width: min(100%, 39rem); }
.panel-donate { width: min(100%, 47rem); }
.panel-slim { width: min(100%, 31rem); padding-block: clamp(1.2rem, 2vw, 1.9rem); }

.eyebrow { display: inline-flex; align-items: center; gap: .7rem; font-size: .84rem; font-weight: 500; letter-spacing: .22em; color: var(--gold2); margin-bottom: .7rem; }
.eyebrow::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold2); box-shadow: 0 0 12px 2px rgba(233, 196, 106, .7); }
.h1 { font: 900 clamp(3.2rem, 7.4vw, 6.6rem)/1.02 var(--serif); letter-spacing: -.01em; }
.h2 { font: 900 clamp(2rem, 3.5vw, 3.15rem)/1.14 var(--serif); }
.h3 { font: 700 clamp(1.5rem, 2.3vw, 2.05rem)/1.2 var(--serif); }
.lead { color: var(--ivory); font-size: clamp(1.02rem, 1.2vw, 1.15rem); line-height: 1.85; opacity: .94; }
.orn { display: block; width: 190px; height: 19px; margin: .9rem 0 1.1rem; fill: none; stroke: var(--gold2); stroke-width: 1.1; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 5px rgba(233, 196, 106, .6)); overflow: visible; }

.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 1rem; margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid rgba(246, 227, 161, .18); }
.facts dt { font-size: .78rem; letter-spacing: .12em; color: var(--muted); }
.facts dd { font: 700 1.2rem/1.3 var(--serif); color: var(--gold1); margin-top: .15rem; }
.vision { font: 700 clamp(1.55rem, 2.5vw, 2.3rem)/1.42 var(--serif); }
.tags { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.3rem; }
.tags li { padding: .32rem .95rem; border-radius: 999px; font-size: .9rem; color: var(--gold1); border: 1px solid rgba(246, 227, 161, .32); background: rgba(246, 227, 161, .06); }

/* vision: stacked by default (no-JS, phone); JS pins it on desktop and cross-fades the beats */
.beats { display: flex; flex-direction: column; gap: 1.6rem; width: min(100%, 35rem); }
.beat-dots { display: none; }
.sec-vision.is-pinned { height: 100vh; min-height: 0; padding: 0; }
.is-pinned .beats { display: grid; }
.is-pinned .beat { grid-area: 1 / 1; align-self: center; }
.is-pinned .beat-dots { display: flex; flex-direction: column; gap: .7rem; align-self: center; margin-inline-start: 1.4rem; }
.beat-dots li { width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid var(--gold2); transition: background .4s, box-shadow .4s; }
.beat-dots li.on { background: var(--gold1); box-shadow: 0 0 12px 2px rgba(246, 227, 161, .8); }

/* ------------------------------------------------------------ seven areas + lessons */
.areas { margin-top: .4rem; }
.area { position: relative; display: grid; grid-template-columns: 2.7rem 1fr 1.6rem; align-items: center; gap: 1rem; padding: .78rem .55rem; text-decoration: none; border-bottom: 1px solid rgba(246, 227, 161, .13); transition: transform .5s var(--ease); }
.areas li:last-child .area { border-bottom: 0; }
.area::before { content: ""; position: absolute; inset: 0; border-radius: 12px; opacity: 0; transition: opacity .45s; background: linear-gradient(to left, rgba(233, 196, 106, .17), rgba(233, 196, 106, .03) 70%, transparent); }
.area:hover, .area:focus-visible { transform: translateX(-.45rem); }
.area:hover::before, .area:focus-visible::before { opacity: 1; }
.area-num { position: relative; width: 2.7rem; height: 2.7rem; display: grid; place-items: center; border-radius: 50%; font: 900 1.45rem/1 var(--serif); color: var(--gold1); border: 1px solid rgba(233, 196, 106, .45); background: radial-gradient(circle at 50% 28%, rgba(246, 227, 161, .22), transparent 70%); transition: box-shadow .45s, background .45s, color .45s; }
.area:hover .area-num, .area:focus-visible .area-num { background: radial-gradient(circle at 50% 30%, #fff3c8, #e2b653 60%, #b8862b); color: #231503; box-shadow: 0 0 26px 2px rgba(233, 196, 106, .6); }
.area-body { position: relative; }
.area-body strong { display: block; font: 700 1.16rem/1.3 var(--serif); color: var(--ivory); }
.area-body small { display: block; font-size: .9rem; line-height: 1.55; color: var(--muted); margin-top: .1rem; }
.area-ico { position: relative; width: 1.5rem; height: 1.5rem; color: var(--gold2); opacity: .7; transition: opacity .4s, transform .5s var(--ease); }
.area:hover .area-ico { opacity: 1; transform: scale(1.18); }

.series { margin-top: 1.2rem; display: grid; }
.serie { position: relative; display: flex; align-items: center; gap: .95rem; padding: .62rem .5rem; text-decoration: none; border-bottom: 1px solid rgba(246, 227, 161, .11); transition: transform .5s var(--ease); }
.series li:last-child .serie { border-bottom: 0; }
.serie .ico { width: 2rem; height: 2rem; color: var(--gold2); transition: color .4s, filter .4s, transform .5s var(--ease); }
.serie strong { display: block; font: 700 1.1rem/1.3 var(--serif); }
.serie small { display: block; font-size: .86rem; color: var(--muted); }
.serie:hover, .serie:focus-visible { transform: translateX(-.4rem); }
.serie:hover .ico, .serie:focus-visible .ico { color: var(--gold1); filter: drop-shadow(0 0 8px rgba(246, 227, 161, .9)); transform: scale(1.1); }

/* ------------------------------------------------------------ kinetic band */
.marquee { position: relative; z-index: 2; overflow: hidden; padding: 2vh 0; direction: ltr; pointer-events: none; }
.marquee-track { display: flex; align-items: center; gap: 4vw; width: max-content; white-space: nowrap; direction: rtl; will-change: transform; }
.marquee-track span { font: 900 clamp(4rem, 12.5vw, 11.5rem)/1.15 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(233, 196, 106, .5); }
.marquee-track span:nth-child(4n+1) { color: rgba(233, 196, 106, .10); }
.marquee-track i { width: 1.1vw; height: 1.1vw; min-width: 10px; min-height: 10px; transform: rotate(45deg); background: var(--gold2); box-shadow: 0 0 18px 3px rgba(233, 196, 106, .6); }

/* ------------------------------------------------------------ donate */
.tiers { border: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .95rem; margin: 1.5rem 0 .5rem; }
.tier { position: relative; display: block; cursor: pointer; perspective: 800px; }
.tier input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 2; }
.tier-in {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: .3rem; height: 100%;
  padding: 1.55rem .7rem 1.3rem; border-radius: 18px; text-align: center;
  background: linear-gradient(165deg, rgba(34, 52, 130, .55), rgba(8, 12, 38, .78));
  border: 1px solid rgba(246, 227, 161, .24);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d;
  transition: transform .6s var(--ease), border-color .4s, box-shadow .5s, background .5s;
  will-change: transform;
}
.tier.is-tilting .tier-in { transition: border-color .4s, box-shadow .5s, background .5s; }
.tier-in::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: var(--glare, 0); transition: opacity .4s; background: radial-gradient(230px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 246, 207, .26), transparent 62%); }
.tier-name { font: 700 1.12rem/1.2 var(--serif); color: var(--gold1); transform: translateZ(18px); }
.tier-amt { font: 900 clamp(2rem, 3.3vw, 2.95rem)/1.1 var(--serif); transform: translateZ(34px); background-image: var(--foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--gold2); animation: foil 9s linear infinite; }
.tier-desc { font-size: .86rem; color: var(--muted); transform: translateZ(12px); }
.tier-check { position: absolute; top: .55rem; left: .55rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #fff3c8, #e2b653); color: #231503; transform: translateZ(24px) scale(0); transition: transform .45s cubic-bezier(.3, 1.7, .5, 1); }
.tier-check .ico { width: .9rem; height: .9rem; }
.tier input:checked + .tier-in { border-color: var(--gold2); background: linear-gradient(165deg, rgba(184, 134, 43, .36), rgba(22, 30, 78, .8)); box-shadow: inset 0 0 0 1px rgba(246, 227, 161, .5), 0 22px 60px -22px rgba(233, 196, 106, .7), 0 0 54px -10px rgba(233, 196, 106, .45); }
.tier input:checked + .tier-in .tier-check { transform: translateZ(24px) scale(1); }
.tier input:focus-visible + .tier-in { outline: 2px solid var(--gold1); outline-offset: 4px; }
.tier-in.pulse { animation: tierPulse 1.1s var(--ease); }
@keyframes tierPulse { 0% { filter: brightness(1.9) saturate(1.2); } 100% { filter: brightness(1); } }
.note { font-size: .82rem; color: var(--muted); letter-spacing: .04em; }
.note::before { content: "* "; color: var(--gold2); }
.dedic { margin-top: 1.25rem; padding-top: 1.15rem; border-top: 1px solid rgba(246, 227, 161, .15); }
.dedic-t { font-size: .98rem; }
.dedic-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .7rem; align-items: center; }
.seg { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip-btn { padding: .5rem 1.05rem; border-radius: 999px; cursor: pointer; font-size: .92rem; color: var(--gold1); background: rgba(246, 227, 161, .05); border: 1px solid rgba(246, 227, 161, .32); transition: background .3s, color .3s, box-shadow .3s; }
.chip-btn:hover { background: rgba(246, 227, 161, .14); }
.chip-btn[aria-pressed="true"] { background: linear-gradient(180deg, #fff3c8, #e2b653); color: #231503; border-color: transparent; box-shadow: 0 0 24px -4px rgba(233, 196, 106, .8); font-weight: 700; }
.field { display: flex; flex-direction: column; gap: .3rem; font-size: .86rem; color: var(--muted); letter-spacing: .04em; }
.field input, .field textarea { width: 100%; padding: .78rem 1rem; border-radius: 12px; background: rgba(4, 7, 22, .55); border: 1px solid rgba(246, 227, 161, .25); color: var(--ivory); font-size: 1rem; transition: border-color .3s, box-shadow .3s; resize: vertical; }
.field input::placeholder { color: #8f93b8; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold2); box-shadow: 0 0 0 3px rgba(233, 196, 106, .18), 0 0 28px -6px rgba(233, 196, 106, .5); }
.field-inline { flex: 1 1 11rem; }
.donate-go { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.5rem; margin-top: 1.5rem; }
.donate-meta { font-size: .86rem; color: var(--muted); line-height: 1.6; }
.pay { color: var(--ivory); opacity: .9; }

/* ------------------------------------------------------------ books (CSS 3D) */
.sec-books { display: block; padding: 0; min-height: 0; }
.books-pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: clamp(.5rem, 2.5vh, 2rem); padding: calc(var(--hdr) + 1rem) 0 1.5rem; }
.books-head { justify-content: flex-start; }
.shelf { position: relative; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; scroll-snap-type: x proximity; padding: 2.4rem 0 3.2rem; outline-offset: -4px; }
.shelf::-webkit-scrollbar { display: none; }
.shelf.is-driven { overflow: hidden; scroll-snap-type: none; }
.shelf-track { display: flex; align-items: flex-end; gap: clamp(1.6rem, 3.6vw, 4rem); width: max-content; padding-inline: max(var(--gut), 8vw); will-change: transform; }
.shelf-line { position: absolute; right: 0; left: 0; bottom: 2.9rem; height: 1px; background: linear-gradient(90deg, transparent, rgba(246, 227, 161, .7) 20%, rgba(246, 227, 161, .7) 80%, transparent); box-shadow: 0 0 22px 2px rgba(233, 196, 106, .45); }
.shelf-hint { display: none; align-items: center; justify-content: center; gap: .6rem; font-size: .8rem; letter-spacing: .14em; color: var(--muted); }
.is-driven ~ .shelf-hint { display: flex; }
.hint-swipe { display: none; }
.shelf-hint { transition: opacity .5s; }
.shelf-hint.done { opacity: 0; }
.shelf-hint .ico { color: var(--gold2); animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(-8px); } }

.book-item { position: relative; perspective: 1300px; scroll-snap-align: center; flex: none; }
.book-item::after { content: ""; position: absolute; right: -6%; left: -6%; bottom: -16px; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .75), transparent); filter: blur(4px); transform: scaleX(var(--sh, 1)); opacity: .85; }
.book {
  --w: clamp(150px, 13.5vw, 196px); --h: calc(var(--w) * 1.42); --d: calc(var(--w) * .19);
  position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d; cursor: pointer;
  transform: translateY(var(--lift, 0px)) rotateY(var(--ry, -28deg)) scale(var(--s, 1));
  transition: transform .7s var(--ease);
}
.book-thin { --d: calc(var(--w) * .07); }
.book > div { position: absolute; }
.book-front {
  inset: 0; transform: translateZ(calc(var(--d) / 2)); border-radius: 2px 4px 4px 2px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center;
  padding: 13% 12% 11%;
  background:
    linear-gradient(to left, rgba(0, 0, 0, .42) 0, rgba(0, 0, 0, .05) 5%, rgba(255, 255, 255, .10) 7.5%, rgba(0, 0, 0, 0) 10%),
    radial-gradient(130% 90% at 28% 16%, var(--c1), var(--c2) 78%);
  box-shadow: inset 0 0 0 1px rgba(246, 227, 161, .18), inset 0 0 40px rgba(0, 0, 0, .45);
}
.book-front::before {          /* ornamental gold frame */
  content: ""; position: absolute; inset: 6.5% 7% 6.5% 12%; pointer-events: none;
  border: 1px solid rgba(233, 196, 106, .85); box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0), inset 0 0 0 4px rgba(233, 196, 106, .45);
  background:
    radial-gradient(circle at 0 0, transparent 9px, rgba(233, 196, 106, .9) 9.5px, rgba(233, 196, 106, .9) 10.5px, transparent 11px) top left / 14px 14px no-repeat,
    radial-gradient(circle at 100% 0, transparent 9px, rgba(233, 196, 106, .9) 9.5px, rgba(233, 196, 106, .9) 10.5px, transparent 11px) top right / 14px 14px no-repeat,
    radial-gradient(circle at 0 100%, transparent 9px, rgba(233, 196, 106, .9) 9.5px, rgba(233, 196, 106, .9) 10.5px, transparent 11px) bottom left / 14px 14px no-repeat,
    radial-gradient(circle at 100% 100%, transparent 9px, rgba(233, 196, 106, .9) 9.5px, rgba(233, 196, 106, .9) 10.5px, transparent 11px) bottom right / 14px 14px no-repeat;
}
.book-front::after {           /* light sweeping over the cover */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 246, 207, .22) 47%, rgba(255, 255, 255, .34) 50%, rgba(255, 246, 207, .18) 53%, transparent 70%);
  background-size: 260% 100%; background-position: 130% 0; transition: background-position 1.1s var(--ease);
}
.book-item:hover .book-front::after, .book-item.is-center .book-front::after { background-position: -30% 0; }
.book-front > * { position: relative; margin-inline-end: 5%; }
.bk-top, .bk-bottom { font: 500 calc(var(--w) * .058)/1.2 var(--sans); letter-spacing: .2em; color: var(--gold2); opacity: .9; }
.bk-main { display: flex; flex-direction: column; align-items: center; gap: .1em; }
.bk-pre { font: 500 calc(var(--w) * .078)/1.3 var(--serif); color: var(--gold1); letter-spacing: .06em; }
.bk-title { font: 900 calc(var(--w) * .2)/1.08 var(--serif); background-image: var(--foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--gold2); filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .6)); animation: foil 11s linear infinite; }
.bk-title.bk-sm { font-size: calc(var(--w) * .158); }
.bk-orn { width: 34%; height: auto; aspect-ratio: 3; color: var(--gold2); }
.book-back { inset: 0; transform: translateZ(calc(var(--d) / -2)) rotateY(180deg); background: var(--c2); border-radius: 4px 2px 2px 4px; }
.book-spine {
  top: 0; left: calc(100% - var(--d) / 2); width: var(--d); height: 100%; transform: rotateY(90deg);
  background: linear-gradient(90deg, var(--c2), var(--c1) 45%, var(--c2));
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 18px 0 -16px rgba(233, 196, 106, .8), inset 0 -18px 0 -16px rgba(233, 196, 106, .8), inset 0 30px 0 -29px rgba(233, 196, 106, .6), inset 0 -30px 0 -29px rgba(233, 196, 106, .6);
}
.book-spine span { writing-mode: vertical-rl; font: 700 calc(var(--d) * .42)/1 var(--serif); color: var(--gold1); letter-spacing: .06em; white-space: nowrap; max-height: 86%; overflow: hidden; }
.book-thin .book-spine span { display: none; }
.book-edge { top: 1.5%; left: calc(var(--d) / -2 + 1px); width: calc(var(--d) - 4px); margin-left: 2px; height: 97%; transform: rotateY(-90deg); background: repeating-linear-gradient(90deg, #efe6c9 0 1px, #cbbd93 1px 2px); }
.book-topedge { left: 2%; top: calc(var(--d) / -2 + 2px); width: 96%; height: calc(var(--d) - 4px); transform: rotateX(90deg); background: repeating-linear-gradient(0deg, #efe6c9 0 1px, #cbbd93 1px 2px); }
.book-item:hover .book, .book-item:focus-within .book { --ry: -8deg; --lift: -16px; --s: 1.05; }

/* ------------------------------------------------------------ pidyon + season */
.mini-form { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-top: 1.4rem; align-items: end; }
.mini-form .btn { grid-column: 1 / -1; justify-self: start; margin-top: .3rem; }
.panel-season { padding-block: clamp(1.2rem, 2vw, 1.8rem); }
.season { display: flex; flex-wrap: wrap; gap: .85rem .55rem; margin-top: 1.1rem; }
.season li { position: relative; display: flex; flex-direction: column; padding: .55rem 1rem .6rem; border-radius: 14px; border: 1px solid rgba(246, 227, 161, .22); background: rgba(246, 227, 161, .04); transition: border-color .4s, background .4s, box-shadow .4s; }
.season li:hover { border-color: rgba(246, 227, 161, .6); background: rgba(246, 227, 161, .09); box-shadow: 0 0 26px -8px rgba(233, 196, 106, .6); }
.season strong { font: 700 1.04rem/1.3 var(--serif); color: var(--gold1); }
.season small { font-size: .8rem; color: var(--muted); }
.season li.is-next { border-color: var(--gold2); background: linear-gradient(165deg, rgba(184, 134, 43, .30), rgba(22, 30, 78, .5)); box-shadow: 0 0 34px -8px rgba(233, 196, 106, .6); }
.season li.is-next::after { content: "המגבית הקרובה"; position: absolute; top: -.7rem; inset-inline-end: .7rem; padding: .08rem .6rem; border-radius: 999px; font-size: .68rem; line-height: 1.5; font-weight: 700; letter-spacing: .04em; white-space: nowrap; color: #231503; background: linear-gradient(180deg, #fff3c8, #e2b653); }

/* ------------------------------------------------------------ contact + footer */
.sec-contact { min-height: 100vh; align-items: flex-end; padding-bottom: clamp(1.5rem, 4vh, 2.6rem); }
.wrap-contact { justify-content: space-between !important; align-items: center; gap: 3rem; }
.ask-form { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem .9rem; margin-top: 1.1rem; }
.sec-contact .panel { padding-block: clamp(1.3rem, 2.2vw, 2rem); }
.field-full { grid-column: 1 / -1; }
.ask-form .btn { grid-column: 1 / -1; justify-self: start; }
.closing { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.6rem; align-self: center; }
.closing-big { font: 900 clamp(2.4rem, 5.2vw, 5rem)/1.12 var(--serif); max-width: 8.5em; }
.addr { display: inline-flex; align-items: flex-start; gap: .7rem; font-style: normal; text-align: start; color: var(--ivory); padding: .8rem 1.2rem; border-radius: 16px; border: 1px solid rgba(246, 227, 161, .22); background: rgba(6, 10, 30, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); line-height: 1.6; font-size: .98rem; }
.addr .ico { color: var(--gold2); margin-top: .2rem; }

.ftr { padding: 3.2rem 0 4.4rem; background: linear-gradient(180deg, transparent, rgba(3, 5, 16, .82) 34%, #03050f); }
html:not(.sparks) .ftr { border-top: 1px solid rgba(246, 227, 161, .3); }
.ftr-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem 3rem; }
.ftr-brand { display: flex; align-items: center; gap: 1rem; }
.ftr-brand .brand-emblem { width: 76px; }
.ftr-name { font: 900 1.9rem/1 var(--serif); }
.ftr-sub { font-size: .86rem; color: var(--muted); margin-top: .4rem; }
.ftr-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; }
.ftr-nav a { text-decoration: none; font-size: .95rem; opacity: .86; transition: color .3s, opacity .3s; }
.ftr-nav a:hover { color: var(--gold1); opacity: 1; }
.ftr-legal { font-size: .82rem; color: var(--muted); line-height: 1.8; text-align: end; }
.ftr-legal .hdate { color: var(--gold1); }

.preview-pill { position: fixed; bottom: .8rem; left: .8rem; z-index: 60; padding: .34rem .85rem; border-radius: 999px; font-size: .74rem; letter-spacing: .04em; text-decoration: none; color: var(--gold1); background: rgba(5, 8, 24, .78); border: 1px solid rgba(246, 227, 161, .3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: .8; transition: opacity .3s; }
.preview-pill:hover { opacity: 1; }
.toast { position: fixed; bottom: 3.4rem; left: 50%; z-index: 70; transform: translate(-50%, 1.5rem); max-width: min(92vw, 30rem); padding: .75rem 1.3rem; border-radius: 14px; text-align: center; font-size: .95rem; color: var(--ivory); background: rgba(8, 13, 40, .94); border: 1px solid rgba(246, 227, 161, .45); box-shadow: 0 20px 60px -20px #000, 0 0 40px -12px rgba(233, 196, 106, .5); opacity: 0; pointer-events: none; transition: opacity .4s, transform .5s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------ tablet / phone */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
}
@media (max-width: 900px) {
  :root { --hdr: 66px; }
  .brand-emblem { width: 44px; }
  .brand-text small { display: none; }
  .brand-text b { font-size: 1.15rem; }
  .hdr .btn-sm { padding: .68em 1em; font-size: .85rem; }
  .hero { padding-bottom: 4.5rem; }
  .hero-foot .hdate { display: none; }
  .hero-tag { letter-spacing: .1em; }

  /* the particle form gets the first half-screen of every section to itself; the panel then slides over it */
  .sec { min-height: 0; display: block; padding: 58vh 0 9vh; padding-top: 58svh; }
  .wrap, [data-side] > .wrap { justify-content: center; }
  [data-side="end"] > .wrap-col { align-items: stretch; }
  .panel, .panel-wide, .panel-donate, .panel-slim, .beats { width: 100%; }
  .panel { background: linear-gradient(158deg, rgba(20, 32, 88, .74) 0%, rgba(7, 11, 34, .86) 55%, rgba(5, 8, 26, .9) 100%); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 20px; }
  .sparks .beats { gap: 46vh; gap: 46svh; }
  .facts { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .tier-in { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: baseline; padding: 1.05rem 1.2rem 1rem; text-align: start; }
  .tier-name { order: 1; font-size: 1.2rem; }
  .tier-amt { order: 2; font-size: 2rem; }
  .tier-desc { order: 3; flex-basis: 100%; }
  .tier-check { top: auto; bottom: .7rem; }
  .donate-go { flex-direction: column; align-items: stretch; text-align: center; }
  .sec-books { padding: 58vh 0 6vh; padding-top: 58svh; }
  .books-pin { min-height: 0; padding: 0; }
  .book { --w: 158px; }
  .shelf-hint { display: flex; margin-top: -1rem; }
  .hint-scroll { display: none; }
  .hint-swipe { display: inline; }
  .shelf-track { padding-inline: 12vw; gap: 2rem; }
  .mini-form, .ask-form { grid-template-columns: 1fr; }
  .mini-form .btn, .ask-form .btn { justify-self: stretch; }
  .wrap-contact { flex-direction: column; align-items: stretch; gap: 2.5rem; }
  .closing { padding-bottom: 4vh; order: -1; }
  .ftr-in { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1.6rem; }
  .ftr-brand { flex-direction: column; }
  .ftr-legal { text-align: center; }
  .marquee { padding: 6vh 0 0; }
}
@media (max-width: 480px) {
  .area { grid-template-columns: 2.5rem 1fr; gap: .85rem; }
  .area-ico { display: none; }
  .area-num { width: 2.5rem; height: 2.5rem; font-size: 1.3rem; }
  .season li { flex: 1 1 100%; }
}
@media (max-width: 900px) and (max-height: 780px) {
  .scroll-hint { display: none; }
  .hero { padding-bottom: 2.5rem; }
}
@media (max-width: 420px) {
  .hero-sub { font-size: .84rem; letter-spacing: .02em; }
  .hdr { gap: .5rem; }
  .brand-text b { font-size: 1.05rem; }
  .hdr .btn-sm { padding: .62em .85em; font-size: .8rem; }
  .burger { width: 40px; height: 40px; }
  .burger i { right: 11px; left: 11px; }
  .burger i:first-child { top: 15px; } .burger i:last-child { top: 23px; }
  .burger[aria-expanded="true"] i:first-child, .burger[aria-expanded="true"] i:last-child { top: 19px; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* ------------------------------------------------------------ no particles (no WebGL / reduced motion / no JS):
   a static sky with a ring-of-light motif, panels centred, no space reserved for the particle forms */
html:not(.sparks) .sky::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: min(150vh, 150vw); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: repeating-radial-gradient(circle, transparent 0 5.6%, rgba(233, 196, 106, .34) 5.7% 5.82%, transparent 5.95% 7.1%);
  -webkit-mask: radial-gradient(circle, #000 0%, rgba(0, 0, 0, .55) 34%, transparent 68%); mask: radial-gradient(circle, #000 0%, rgba(0, 0, 0, .55) 34%, transparent 68%);
  opacity: .5;
}
html:not(.sparks) .sec { min-height: 0; padding: clamp(3.5rem, 9vh, 6rem) 0; }
html:not(.sparks) .sec > .wrap { justify-content: center; }
html:not(.sparks) .sec > .wrap-col { align-items: center; }
html:not(.sparks) .sec-books { padding: clamp(3.5rem, 9vh, 6rem) 0; }
html:not(.sparks) .books-pin { min-height: 0; padding: 0; }
html:not(.sparks) .books-head { justify-content: center; }
html:not(.sparks) .panel:not(.panel-donate) { width: min(100%, 44rem); }
html:not(.sparks) .beats { width: min(100%, 44rem); }
html:not(.sparks) .wrap-contact { flex-direction: column; align-items: center; }
html:not(.sparks) .closing { order: -1; }

/* ------------------------------------------------------------ calm version */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  #intro { display: none !important; }
  .cursor-glow { display: none; }
}
