/* =====================================================================
   Awake — one day, scrolled.
   Tokens, base, chrome (nav + sky), hero.
   ===================================================================== */

:root {
  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Figtree", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-hebrew: "Frank Ruhl Libre", "David", "Times New Roman", serif;

  /* inks and papers (hue-biased toward the night indigo) */
  --ink: #22213a;
  --ink-2: #4b4a66;
  --ink-3: #7b7a94;
  --paper: #fbf5ea;
  --night: #0b0f2b;
  --night-2: #141a3e;
  --star: #fff6dc;
  --moon: #efd9a6;
  --gold: #d9a441;
  --tekhelet: #2f4fa6;
  --tekhelet-soft: #9db4f5;

  /* the three lenses */
  --soul: var(--tekhelet);
  --mind: #8a4fa8;
  --body: #3e7f62;

  /* text that sits directly on the sky; flipped by JS via data-ink */
  --ink-on-sky: #fff6dc;
  --ink-on-sky-2: rgba(255, 246, 220, 0.74);
  --nav-glass: rgba(9, 12, 38, 0.42);
  --nav-line: rgba(255, 246, 220, 0.1);

  --nav-h: 64px;
  --container: 1160px;
  --gutter: clamp(16px, 5vw, 48px);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --accent: var(--tekhelet);
}

html[data-ink="dark"] {
  --ink-on-sky: #22213a;
  --ink-on-sky-2: rgba(34, 33, 58, 0.7);
  --nav-glass: rgba(255, 250, 242, 0.5);
  --nav-line: rgba(34, 33, 58, 0.08);
}

/* card surfaces: morning cards are paper, night cards are dark glass */
[data-surface="light"] {
  --surface: rgba(255, 250, 242, 0.86);
  --surface-ink: var(--ink);
  --surface-ink-2: var(--ink-2);
  --surface-line: rgba(34, 33, 58, 0.1);
  --verse-bg: rgba(47, 79, 166, 0.06);
  --check-mark: #fff;
  --soul: var(--tekhelet);
  --mind: #8a4fa8;
  --body: #3e7f62;
}
[data-surface="dark"] {
  --surface: rgba(13, 17, 44, 0.68);
  --surface-ink: #f6efe0;
  --surface-ink-2: rgba(246, 239, 224, 0.72);
  --surface-line: rgba(255, 246, 220, 0.13);
  --verse-bg: rgba(255, 246, 220, 0.05);
  --check-mark: var(--night);
  --soul: #9db4f5;
  --mind: #d1a8f0;
  --body: #8fd0ae;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--night);
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.eyebrow {
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------------
   The sky: a fixed scene behind everything. Layers crossfade with scroll.
   --------------------------------------------------------------------- */
.sky {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background: #060919;
}
.sky__layer {
  position: absolute; inset: 0; opacity: 0;
  will-change: opacity;
}
.sky__layer--night   { background: linear-gradient(180deg, #05071a 0%, #0c1134 52%, #1a2050 100%); }
.sky__layer--predawn { background: linear-gradient(180deg, #171a48 0%, #3b3470 46%, #7a4f75 78%, #b8707c 100%); }
.sky__layer--dawn    { background: linear-gradient(180deg, #3b3a7a 0%, #8a5a8c 34%, #d2708a 58%, #f2a46c 82%, #fbd59a 100%); }
.sky__layer--sunrise { background: linear-gradient(180deg, #7b9dd3 0%, #c6b6d6 34%, #f3b58f 66%, #ffe4bd 100%); }
.sky__layer--morning { background: linear-gradient(180deg, #98c3ea 0%, #cfe3f4 52%, #fbf4e6 100%); }
.sky__layer--day     { background: linear-gradient(180deg, #5aa3e0 0%, #9fcdef 55%, #e6f2fa 100%); }
.sky__layer--golden  { background: linear-gradient(180deg, #6d95cd 0%, #c7b7c9 34%, #f2c27c 66%, #f0925a 100%); }
.sky__layer--dusk    { background: linear-gradient(180deg, #2c2564 0%, #6a3f78 36%, #b8577a 62%, #f27e5c 84%, #f7b071 100%); }
.sky__layer--evening { background: linear-gradient(180deg, #0f1440 0%, #232466 50%, #4c3572 82%, #6a4a74 100%); }

.sky__stars { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
.sky__stars canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sky__stars canvas + canvas { animation: twinkle 4.5s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: 0.25; } to { opacity: 1; } }

.sky__sun, .sky__moon {
  position: absolute; left: 0; top: 0;
  border-radius: 50%;
  will-change: transform;
}
.sky__sun {
  width: 15vmin; height: 15vmin;
  margin: -7.5vmin 0 0 -7.5vmin;
  background: radial-gradient(circle at 50% 50%, #fff7d6 0%, #ffe08a 42%, #ffc65c 60%, rgba(255, 190, 90, 0) 63%);
  box-shadow: 0 0 60px 20px rgba(255, 214, 140, 0.35), 0 0 160px 80px rgba(255, 180, 110, 0.22);
}
.sky__moon {
  width: 8vmin; height: 8vmin;
  margin: -4vmin 0 0 -4vmin;
  background:
    radial-gradient(circle at 30% 34%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 30%),
    radial-gradient(circle at 64% 60%, rgba(120, 110, 90, 0.22) 0 7%, transparent 8%),
    radial-gradient(circle at 40% 68%, rgba(120, 110, 90, 0.18) 0 5%, transparent 6%),
    radial-gradient(circle at 62% 30%, rgba(120, 110, 90, 0.16) 0 4%, transparent 5%),
    radial-gradient(circle at 50% 50%, #fff9e6 0%, #efd9a6 70%, #d9bf86 100%);
  box-shadow: 0 0 40px 10px rgba(239, 217, 166, 0.22), 0 0 120px 40px rgba(239, 217, 166, 0.1);
  opacity: 0;
}

.sky__cloud {
  position: absolute;
  height: 16vh; width: 58vw;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.14) 45%, rgba(255, 255, 255, 0) 70%);
  filter: blur(14px);
  opacity: 0;
  will-change: opacity, transform;
  animation: drift 90s ease-in-out infinite alternate;
}
.sky__cloud:nth-child(1) { top: 14%; left: -10%; }
.sky__cloud:nth-child(2) { top: 30%; left: 48%; width: 46vw; animation-duration: 120s; animation-delay: -40s; }
.sky__cloud:nth-child(3) { top: 8%; left: 60%; width: 36vw; height: 10vh; animation-duration: 75s; animation-delay: -20s; }
@keyframes drift { from { translate: 0 0; } to { translate: 9vw 0; } }

/* ---------------------------------------------------------------------
   Nav
   --------------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-inline: clamp(16px, 4vw, 40px);
  color: var(--ink-on-sky);
  transition: color 0.5s;
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--nav-glass);
  border-bottom: 1px solid var(--nav-line);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  opacity: 0; transition: opacity 0.35s, background 0.5s;
}
.nav.is-scrolled::before { opacity: 1; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 500;
  letter-spacing: 0.005em; text-decoration: none;
}
.brand__orb {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: linear-gradient(90deg, var(--gold) 0 50%, var(--night-2) 50% 100%);
  box-shadow: inset 0 0 0 1.5px currentColor;
  transform: rotate(var(--orb, 0deg));
  transition: transform 0.2s linear;
}

.nav__links { display: flex; gap: 4px; }
.nav__links a {
  text-decoration: none; font-weight: 600; font-size: 0.9rem;
  padding: 8px 12px; border-radius: 999px; opacity: 0.85;
  transition: opacity 0.2s, background 0.2s;
}
.nav__links a:hover { opacity: 1; background: rgba(127, 127, 127, 0.14); }

.clock {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid currentColor;
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem; line-height: 1; white-space: nowrap;
}
.clock__time { font-weight: 700; min-width: 5.2ch; }
.clock__label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; }

/* ---------------------------------------------------------------------
   Hero: the pre-dawn. Layered horizon with depth-parallax.
   --------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 92vh;
  display: grid; align-items: center;
  padding-top: var(--nav-h);
  color: var(--ink-on-sky);
}
.hero__inner {
  position: relative; z-index: 2;
  padding-block: clamp(40px, 9vh, 110px) clamp(200px, 34vh, 320px);
}
.hero__eyebrow { margin: 0 0 22px; opacity: 0.82; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.9rem, 7.8vw, 6.6rem);
  line-height: 1.0;
  letter-spacing: -0.018em;
  margin: 0 0 26px;
}
.hero__title em { font-style: italic; font-weight: 400; color: #ffd98a; }
.hero__lede {
  font-size: clamp(1.02rem, 1.45vw, 1.22rem);
  line-height: 1.58; max-width: 50ch; margin: 0 0 34px; opacity: 0.9;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; line-height: 1;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: #fff6dc; color: var(--night); box-shadow: 0 14px 30px -14px rgba(255, 230, 170, 0.6); }
.btn--primary:hover { background: #fff; }
.btn--ghost { border-color: rgba(255, 246, 220, 0.45); color: inherit; }
.btn--ghost:hover { border-color: currentColor; }
.btn svg { width: 16px; height: 16px; }

.hero__he {
  position: absolute; z-index: 1; right: -1vw; top: 12vh;
  font-family: var(--font-hebrew); font-weight: 700;
  font-size: clamp(7rem, 22vw, 20rem); line-height: 1;
  color: #fff; opacity: 0.07; pointer-events: none; user-select: none;
  direction: rtl;
}

.horizon { position: absolute; left: 0; right: 0; bottom: -2px; height: min(48vh, max(200px, 22.5vw)); z-index: 3; pointer-events: none; }
.horizon__layer { position: absolute; left: -4%; right: -4%; bottom: 0; height: 100%; will-change: transform; }
.horizon__layer svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; display: block; }
.horizon__layer--far svg  { fill: #3a3574; opacity: 0.55; }
.horizon__layer--city svg { fill: #2a2660; opacity: 0.85; }
.horizon__layer--near svg { fill: #1c1a4c; }
.horizon__layer--front svg { fill: #100f31; }

.hero__cue {
  position: absolute; z-index: 4; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.7;
  text-decoration: none;
}
.hero__cue i { display: block; width: 1px; height: 38px; background: currentColor; transform-origin: top; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 40% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1) translateY(38px); opacity: 0; } }

/* ---------------------------------------------------------------------
   Intro: three lenses
   --------------------------------------------------------------------- */
.intro { padding-block: clamp(64px, 10vh, 120px) clamp(40px, 6vh, 72px); color: var(--ink-on-sky); }
.intro__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.intro h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.06; letter-spacing: -0.012em;
  text-wrap: balance; margin: 14px 0 20px;
}
.intro__lede { font-size: 1.08rem; line-height: 1.62; max-width: 54ch; margin: 0; opacity: 0.9; }
.intro__lede + .intro__lede { margin-top: 16px; }

.pillars { display: grid; gap: 14px; }
.pillar {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px;
  padding: 22px 24px; border-radius: 18px;
  background: rgba(255, 250, 242, 0.88); color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px -34px rgba(10, 8, 40, 0.6);
}
.pillar__tag { font-weight: 800; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; padding-top: 5px; color: var(--pillar); }
.pillar--body { --pillar: #3e7f62; }
.pillar--mind { --pillar: #8a4fa8; }
.pillar--soul { --pillar: var(--tekhelet); }
.pillar h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.32rem; line-height: 1.2; margin: 0 0 6px; }
.pillar p { margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--ink-2); }
.pillar cite { display: block; margin-top: 9px; font-style: normal; font-size: 0.76rem; letter-spacing: 0.02em; color: var(--ink-3); }

/* the lion: a pull quote floating on the dawn */
.pull { padding-block: clamp(48px, 9vh, 110px); text-align: center; color: var(--ink-on-sky); }
.pull__he { font-family: var(--font-hebrew); font-size: clamp(1.35rem, 2.8vw, 2.1rem); line-height: 1.55; margin: 0 auto 14px; max-width: 34ch; opacity: 0.92; direction: rtl; }
.pull__en { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.7rem, 3.8vw, 3rem); line-height: 1.18; max-width: 24ch; margin: 0 auto 18px; text-wrap: balance; }
.pull__src { margin: 0; opacity: 0.72; }

/* ---------------------------------------------------------------------
   Chapters: a pinned cinematic header, then a sticky stage + steps
   --------------------------------------------------------------------- */
.chapter { position: relative; }
.chapter--morning { --accent: var(--tekhelet); }
.chapter--night { --accent: var(--moon); }

.chapter-head { position: relative; min-height: 180vh; color: var(--ink-on-sky); }
.chapter-head__pin {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: grid; place-items: center; text-align: center;
  padding-inline: var(--gutter);
}
.chapter-head__content { will-change: transform, opacity; max-width: 900px; }
.chapter-head__eyebrow { margin: 0 0 18px; opacity: 0.8; }
.chapter-head__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(3.6rem, 13vw, 10rem); line-height: 0.95; letter-spacing: -0.025em; margin: 0;
}
.chapter-head__title em { font-style: italic; font-weight: 300; }
.chapter-head__rule { width: min(360px, 60vw); height: 1px; margin: 26px auto 24px; background: currentColor; opacity: 0.55; transform: scaleX(var(--rule, 0)); transform-origin: center; }
.chapter-head__he { font-family: var(--font-hebrew); font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.5; margin: 0 0 8px; direction: rtl; }
.chapter-head__en { font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.35; margin: 0; opacity: 0.92; }
.chapter-head__note { font-size: 0.95rem; line-height: 1.55; opacity: 0.78; max-width: 48ch; margin: 14px auto 0; }

.chapter-body {
  display: grid; grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px); align-items: start;
  padding-bottom: clamp(32px, 6vh, 64px);
}

.stage { position: sticky; top: calc(var(--nav-h) + 20px); }
.stage__card {
  position: relative; aspect-ratio: 4 / 5.1;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  padding: clamp(20px, 2.4vw, 30px);
  border-radius: var(--radius);
  background: var(--surface); color: var(--surface-ink);
  border: 1px solid var(--surface-line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 34px 80px -44px rgba(8, 8, 30, 0.7);
  overflow: hidden;
}
.stage__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.stage__num { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; color: var(--accent); font-variant-numeric: tabular-nums; }
.stage__dots { display: flex; gap: 5px; flex: 1; max-width: 140px; }
.stage__dots i { flex: 1; height: 3px; border-radius: 2px; background: var(--surface-line); transition: background 0.3s; }
.stage__dots i.is-done { background: var(--accent); }
.stage__ill {
  flex: 1; width: 100%; min-height: 0; display: block;
  color: var(--accent);
  stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; fill: none;
  stroke-dasharray: 1; stroke-dashoffset: 0;
  transition: opacity 0.3s;
}
.stage__ill.is-drawing use { animation: draw 1.7s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.stage__he { font-family: var(--font-hebrew); font-weight: 500; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.25; direction: rtl; text-align: left; margin: 0; }
.stage__when { margin: 4px 0 0; font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--surface-ink-2); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(18px, 3vw, 30px); }
.step {
  padding: clamp(22px, 3.2vw, 38px);
  border-radius: var(--radius);
  background: var(--surface); color: var(--surface-ink);
  border: 1px solid var(--surface-line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px -40px rgba(8, 8, 30, 0.55);
  transition: box-shadow 0.5s, border-color 0.5s;
}
.step.is-active { box-shadow: 0 40px 90px -44px rgba(8, 8, 30, 0.7); border-color: color-mix(in srgb, var(--accent) 40%, var(--surface-line)); }
.step__ill { display: none; }
.step__head { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 6px; align-items: baseline; margin-bottom: 22px; }
.step__num { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; color: var(--accent); font-variant-numeric: tabular-nums; }
.step__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 2.5vw, 2.05rem); line-height: 1.12; letter-spacing: -0.012em; margin: 0; text-wrap: balance; }
.step__when { grid-column: 2; margin: 0; font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--surface-ink-2); }

.lenses { display: grid; gap: 16px; }
.lens { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 12px; padding-top: 16px; border-top: 1px solid var(--surface-line); }
.lens h4 { margin: 0; padding-top: 4px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lens); }
.lens p { margin: 0; font-size: 0.98rem; line-height: 1.62; max-width: 64ch; }
.lens p + p { margin-top: 10px; }
.lens--soul { --lens: var(--soul); }
.lens--mind { --lens: var(--mind); }
.lens--body { --lens: var(--body); }

.verse {
  margin: 24px 0 0; padding: 20px 24px;
  border-radius: 14px; background: var(--verse-bg);
  border-inline-start: 3px solid var(--accent);
}
.verse__he { font-family: var(--font-hebrew); font-size: clamp(1.2rem, 1.9vw, 1.55rem); line-height: 1.65; margin: 0 0 8px; direction: rtl; text-align: right; }
.verse__en { font-family: var(--font-display); font-style: italic; font-size: 1.12rem; line-height: 1.45; margin: 0; }
.verse__src { display: block; margin-top: 10px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--surface-ink-2); }
.verse__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.verse__list li { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: baseline; }
.verse__list .he { font-family: var(--font-hebrew); font-size: 1.2rem; direction: rtl; text-align: right; }
.verse__list .en { font-family: var(--font-display); font-style: italic; font-size: 1.02rem; }

/* checklist: persistent, per browser */
.checklist-wrap { padding-block: clamp(16px, 4vh, 40px) clamp(64px, 12vh, 140px); }
.checklist {
  max-width: 760px; margin-inline: auto;
  padding: clamp(24px, 4vw, 40px); border-radius: var(--radius);
  background: var(--surface); color: var(--surface-ink);
  border: 1px solid var(--surface-line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px -44px rgba(8, 8, 30, 0.6);
}
.checklist__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.checklist h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.65rem; margin: 0; }
.checklist__count { font-variant-numeric: tabular-nums; font-size: 0.85rem; font-weight: 600; color: var(--surface-ink-2); }
.checklist ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.check { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--surface-line); cursor: pointer; font-size: 0.97rem; }
.check input {
  appearance: none; -webkit-appearance: none; margin: 0; flex: none;
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--surface-ink-2); background: transparent;
  display: grid; place-items: center; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.check input:checked { background: var(--accent); border-color: var(--accent); transform: scale(1.05); }
.check input::after { content: ""; width: 10px; height: 5px; border-left: 2px solid var(--check-mark); border-bottom: 2px solid var(--check-mark); transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform 0.2s var(--ease); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input:checked + span { color: var(--surface-ink-2); text-decoration: line-through; text-decoration-thickness: 1px; }
.checklist__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; font-size: 0.8rem; color: var(--surface-ink-2); }
.checklist__reset { background: none; border: 1px solid var(--surface-line); color: inherit; padding: 7px 13px; border-radius: 999px; font: 600 0.75rem var(--font-body); letter-spacing: 0.04em; cursor: pointer; transition: border-color 0.2s; }
.checklist__reset:hover { border-color: var(--surface-ink-2); }

/* ---------------------------------------------------------------------
   The hours between (day interlude)
   --------------------------------------------------------------------- */
.interlude { padding-block: clamp(80px, 14vh, 170px); color: var(--ink-on-sky); }
.interlude__head { max-width: 62ch; margin-bottom: 34px; }
.interlude h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.06; letter-spacing: -0.012em; margin: 12px 0 14px; text-wrap: balance; }
.interlude__lede { margin: 0; font-size: 1.08rem; line-height: 1.6; opacity: 0.9; }
.interlude__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile {
  padding: 26px; border-radius: 18px;
  background: var(--surface); color: var(--surface-ink);
  border: 1px solid var(--surface-line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px -40px rgba(8, 8, 30, 0.5);
}
.tile__time { margin: 0; color: var(--accent); }
.tile h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; line-height: 1.2; margin: 10px 0 8px; }
.tile p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--surface-ink-2); }
.tile cite { display: block; margin-top: 10px; font-style: normal; font-size: 0.74rem; letter-spacing: 0.02em; color: var(--surface-ink-2); opacity: 0.85; }

/* ---------------------------------------------------------------------
   The cycle: evening first
   --------------------------------------------------------------------- */
.cycle { padding-block: clamp(80px, 14vh, 170px); color: var(--ink-on-sky); }
.cycle__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.cycle h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: 1.02; letter-spacing: -0.02em; margin: 12px 0 22px; text-wrap: balance; }
.cycle h2 em { font-style: italic; color: var(--moon); }
.cycle p { font-size: 1.08rem; line-height: 1.62; opacity: 0.92; max-width: 52ch; margin: 0 0 16px; }
.cycle__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 30px; }
.cycle__pair div { padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(255, 246, 220, 0.14); background: rgba(13, 17, 44, 0.45); }
.cycle__pair .eyebrow { margin: 0 0 8px; color: var(--moon); }
.cycle__pair .he { font-family: var(--font-hebrew); font-size: 1.25rem; line-height: 1.5; margin: 0 0 4px; direction: rtl; text-align: right; }
.cycle__pair .en { font-family: var(--font-display); font-style: italic; font-size: 1rem; margin: 0; opacity: 0.9; }
.wheel { width: 100%; max-width: 540px; margin-inline: auto; display: block; }
.wheel text { font-family: var(--font-body); fill: var(--ink-on-sky); }
.wheel .wheel__label { font-size: 12px; font-weight: 600; letter-spacing: 0.02em; }
.wheel .wheel__hour { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; opacity: 0.6; }
.wheel .wheel__center { font-family: var(--font-hebrew); font-size: 30px; }
.wheel .wheel__center-en { font-family: var(--font-display); font-style: italic; font-size: 17px; opacity: 0.85; }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.footer { padding-block: 56px 44px; color: var(--ink-on-sky); font-size: 0.9rem; border-top: 1px solid rgba(255, 246, 220, 0.12); }
.footer__grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 36px; }
.footer h4 { margin: 0 0 12px; opacity: 0.7; }
.footer p { margin: 0 0 10px; line-height: 1.55; opacity: 0.85; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer li { line-height: 1.5; opacity: 0.85; }
.footer__bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 246, 220, 0.1); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.8rem; opacity: 0.7; }

/* ---------------------------------------------------------------------
   Reveal + parallax hooks
   --------------------------------------------------------------------- */
.reveal--pending { opacity: 0; transform: translateY(26px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); transition-delay: var(--delay, 0ms); }
[data-depth] { will-change: transform; }

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .chapter-body { grid-template-columns: 1fr; }
  .stage { display: none; }
  .step__ill { display: block; width: 84px; height: 84px; margin-bottom: 14px; color: var(--accent); stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; fill: none; }
  .intro__grid, .cycle__grid, .footer__grid { grid-template-columns: 1fr; }
  .interlude__grid { grid-template-columns: 1fr; }
  .cycle__grid > .wheel { order: -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .clock__label { display: none; }
  .hero__inner { padding-bottom: clamp(160px, 30vh, 240px); }
  .hero__he { top: 8vh; right: -6vw; }
  .horizon { height: 34vh; }
  .chapter-head { min-height: 150vh; }
  .lens { grid-template-columns: 1fr; gap: 4px; }
  .checklist ul { grid-template-columns: 1fr; }
  .verse__list li { grid-template-columns: 1fr; gap: 2px; }
  .cycle__pair { grid-template-columns: 1fr; }
  .pillar { grid-template-columns: 1fr; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal--pending { opacity: 1; transform: none; }
  .reveal.is-in { transition: none; }
  .stage__ill.is-drawing use { animation: none; }
  .hero__cue i, .sky__cloud, .sky__stars canvas + canvas { animation: none; }
  [data-depth] { transform: none !important; }
  .btn:hover { transform: none; }
}
