/* =========================================================
   Evening, guided by Elly.

   One idea for the whole page: Elly walks you through her own site. Her one-minute
   video (Short 1) is a window that travels down the page with you. In each chapter
   it plays the part of the video that goes with it, silently with its captions; a
   click plays the whole minute with sound.

     01 Hello          the approved hero; her portrait card turns into the video
     02 What Reiki is  her window opens into the Short's own scenes as you scroll
     03 Sessions       "a guide of that energy… to help guide your energy to heal you"
     04 Kind words     her window steps back while others speak
     05 Classes        "We heal ourselves. You can too."
     06 About me       "Hi, my name is Elly Kukk…"; her story, mission, years and credentials
     07 Book           the end of the video, and the sheet of light

   One layout for every chapter, on White Desert's six columns: her window in
   columns 1–2, the chapter in columns 3–6. Phones: the window is a small picture
   in the corner, and fills the screen for the Short's scenes.

   evening-guide.js adds .is-live and writes the variables. Without it (no script, or
   reduced motion) the window stays hidden and the page is plain and still.
   ========================================================= */

body.guide-page { background: var(--night-deep); }
.guide-page main { position: relative; }
.guide-page .reveal { opacity: 1; transform: none; transition: none; }  /* arrivals are .rise, below */

:root {
  --gridc: rgba(128, 140, 138, 0.15);
  --gx: max(var(--pad), calc((100vw - var(--max, 1240px)) / 2 + var(--pad)));
  --colw: calc((100vw - var(--gx) * 2) / 6);
}

/* ---------- the column lines (from White Desert) ---------- */
.grid-lines { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: var(--grid, 1); }
.grid-lines i { position: absolute; top: 0; bottom: 0; left: calc(var(--gx) + var(--colw) * var(--k)); width: 1px; background: var(--gridc); }
.grid-lines::before, .grid-lines::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--gridc); }
.grid-lines::before { left: 14px; }
.grid-lines::after { right: 14px; }

/* ---------- chapters: one layout for all ---------- */
.ch { position: relative; z-index: 2; color: #efe8d8; }
.ch-body { position: relative; padding: clamp(110px, 18vh, 190px) var(--pad) clamp(80px, 12vh, 140px); }
@media (min-width: 1000px) {
  .ch-body { margin-left: calc(var(--gx) + var(--colw) * 2); width: calc(var(--colw) * 4); padding-left: 0; padding-right: 0; }
}
.ch-title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(46px, 5.4vw, 88px); line-height: 0.96; letter-spacing: -0.016em; text-wrap: balance; }
.ch-title em { font-style: italic; color: #f6eed9; }
.ch-lead { max-width: 34ch; margin-top: 22px; font-size: 18px; line-height: 1.5; color: #b9c8c4; }
.ch-head { margin-bottom: clamp(50px, 7vh, 80px); }
.block { margin-top: clamp(70px, 10vh, 120px); }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(239, 232, 216, 0.16); }
.block-head h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 2.4vw, 38px); }
.block-head p { margin: 0; font-size: 15px; color: #9fb1ad; }

/* one way of arriving, everywhere */
.is-live .rise { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 1s ease, transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.is-live .rise.is-in { opacity: 1; transform: none; }
.is-live .ch-head { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity 1s ease, transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.is-live .ch-head.is-in { opacity: 1; transform: none; }

/* ---------- Elly's window ---------- */
.guide { display: none; }
.is-live .guide {
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 40;
  width: calc(var(--gw, 300) * 1px);
  height: calc(var(--gh, 533) * 1px);
  transform: translate3d(calc(var(--gxp, 0) * 1px), calc(var(--gyp, 0) * 1px), 0) scale(var(--gs, 1));
  opacity: var(--go, 0);
  visibility: var(--gv, hidden);
  pointer-events: var(--gpe, none);
  will-change: transform, width, height;
}
.guide-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: calc(var(--gr, 16) * 1px);
  background: #0b1a1f;
  box-shadow: 0 calc(40px + var(--glift, 0) * 30px) calc(90px + var(--glift, 0) * 50px) -30px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(239, 232, 216, 0.16);
  cursor: pointer;
}
.guide-video, .guide-still, .guide-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--gfy, 30%); }
.guide-video, .guide-still { transform: scale(var(--gz, 1)); transform-origin: 50% var(--gfy, 30%); }   /* in the small circles, closer on her face */
.guide-video { opacity: var(--gvo, 1); transition: opacity 0.22s ease; }
.guide-still { opacity: var(--gso, 0); transition: opacity 0.4s ease; }
.guide-scene { opacity: var(--gco, 0); }
.guide-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(6, 16, 20, 0.45), rgba(6, 16, 20, 0) 22%); opacity: var(--gbo, 1); pointer-events: none; }
.guide-watch {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 8px;
  border-radius: 999px;
  background: rgba(10, 29, 35, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(239, 232, 216, 0.22);
  font-family: var(--font-label);
  font-size: 12.5px;
  font-weight: 500;
  color: #f4ecd8;
  opacity: var(--gwo, 1);
  transition: background 0.25s ease;
}
.guide-watch svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: #f4ecd8; color: #0a1d23; }
.guide-watch i { font-style: normal; color: #b9c8c4; }
.guide:hover .guide-watch { background: rgba(10, 29, 35, 0.85); }
.guide.is-small .guide-watch { left: 50%; top: auto; bottom: 8px; padding: 4px; transform: translateX(-50%); }
.guide.is-small .guide-watch span, .guide.is-small .guide-watch i { display: none; }

/* the hero's portrait card hands over to her window */
.guide-page.is-live .h3-card { opacity: var(--card-o, 1); }

/* ---------- the chapter index ---------- */
.chapters { display: none; }
@media (min-width: 1000px) {
  .is-live .chapters { display: block; position: fixed; left: var(--gx); bottom: 26px; z-index: 41; opacity: calc(var(--grid, 1) * var(--ixo, 1)); visibility: var(--ixv, visible); }   /* steps aside while the Short's scenes play */
  .chapters ol { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
  .chapters a { display: flex; align-items: center; gap: 8px; height: 22px; padding: 0 2px; text-decoration: none; color: #9fb1ad; }
  .chapters b { display: block; width: 16px; height: 1px; background: rgba(239, 232, 216, 0.32); transition: width 0.4s ease, background 0.3s ease; }
  .chapters span { display: none; font-family: var(--font-label); font-size: 12px; letter-spacing: 0.04em; white-space: nowrap; }
  .chapters a[aria-current="true"] b { width: 30px; background: var(--amber); }
  .chapters a[aria-current="true"] span { display: inline; color: #efe8d8; }
  .chapters a:hover b { background: #efe8d8; }
  .chapters.on-paper a { color: #51625f; }
  .chapters.on-paper b { background: rgba(17, 41, 47, 0.35); }
  .chapters.on-paper a[aria-current="true"] b { background: var(--amber-deep); }
  .chapters.on-paper a[aria-current="true"] span { color: #11292f; }
}

/* ---------- 02 What Reiki is ---------- */
.ch-reiki .ch-title { font-size: clamp(42px, 4.6vw, 76px); }
.watch-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(239, 232, 216, 0.3);
  font-family: var(--font-label);
  font-size: 14.5px;
  font-weight: 500;
  color: #f4ecd8;
  transition: background 0.25s ease;
}
.watch-link:hover { background: rgba(239, 232, 216, 0.08); }
.watch-link svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: #f4ecd8; color: #0a1d23; }
.watch-link i { font-style: normal; color: #9fb1ad; }
.scene-line { display: none; }
.reiki-stills { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 520px; margin: 40px var(--pad) 0; padding-bottom: 80px; }
@media (min-width: 1000px) { .reiki-stills { margin-left: calc(var(--gx) + var(--colw) * 2); } }
.reiki-stills img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; }

.is-live .ch-reiki { height: 560vh; }
.is-live .reiki-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.is-live .reiki-stills { display: none; }
.is-live .reiki-intro { position: absolute; left: 0; right: 0; top: 50%; padding-top: 0; padding-bottom: 0; transform: translate3d(0, calc(-50% + var(--ri, 0) * -60px), 0); opacity: calc(1 - var(--ri, 0)); }
@media (min-width: 1000px) { .is-live .reiki-intro { left: auto; right: auto; } }
/* Her words sit beside the window, never over it: evening-guide.js sizes the window to leave
   room and writes where each side begins (--sl, --sr), how wide the words may be (--sw) and the
   window's middle (--scy). A short hairline joins each line to the window. */
.is-live .scene-line {
  display: block;
  position: absolute;
  z-index: 3;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.1vw, 36px);
  line-height: 1.14;
  letter-spacing: -0.005em;
  color: #efe8d8;
  text-wrap: balance;
  pointer-events: none;
}
.scene-line span { position: relative; display: block; margin-bottom: 12px; font-family: var(--font-display); font-style: italic; font-size: 18px; line-height: 1.2; letter-spacing: 0; color: #93a7a3; }
.scene-line em { font-style: italic; color: #f6eed9; }
@media (min-width: 1000px) {
  .is-live .scene-line { top: calc(var(--scy, 450) * 1px); width: calc(var(--sw, 300) * 1px); }
  .is-live .scene-a { left: calc((var(--sl, 400) - var(--sw, 300)) * 1px); text-align: right; }
  .is-live .scene-b { left: calc(var(--sr, 1000) * 1px); text-align: left; }
  .is-live .scene-line span::after { content: ""; position: absolute; top: 0.62em; width: calc(var(--sgap, 48px) - 16px); height: 1px; }
  .is-live .scene-a span::after { left: calc(100% + 16px); background: linear-gradient(90deg, rgba(239, 232, 216, 0), rgba(239, 232, 216, 0.55)); }
  .is-live .scene-b span::after { right: calc(100% + 16px); background: linear-gradient(90deg, rgba(239, 232, 216, 0.55), rgba(239, 232, 216, 0)); }
}
.is-live .scene-a { opacity: var(--sa, 0); transform: translate3d(calc((1 - var(--sa, 0)) * -18px), -50%, 0); }
.is-live .scene-b { opacity: var(--sb, 0); transform: translate3d(calc((1 - var(--sb, 0)) * 18px), -50%, 0); }

/* ---------- 03 Sessions: two plates ----------
   Each offer is one plate on columns 3–6: the words on the left half, its picture on the
   right half, the seam on a column line. On wide screens a plate comes to rest beside her
   window, at its height, and the next slides up over it while it steps back. */
.garden-photo { position: relative; margin: 0 0 clamp(60px, 9vh, 100px); }
.garden-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 38% 50%; border-radius: 14px; filter: saturate(0.88) brightness(0.92); }
.offers { display: grid; gap: 28px; }
.offer {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(165deg, #12313a 0%, #0d252c 55%, #0b2026 100%);
  box-shadow: inset 0 0 0 1px rgba(239, 232, 216, 0.1), 0 -26px 60px -30px rgba(0, 0, 0, 0.75), 0 50px 90px -40px rgba(0, 0, 0, 0.75);
}
.offer::after { content: ""; position: absolute; inset: 0; z-index: 3; background: #040c0f; opacity: calc(var(--cv, 0) * 0.62); pointer-events: none; }
.offer-copy { display: flex; flex-direction: column; padding: clamp(26px, 2.5vw, 38px); }
.offer-title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 3vw, 50px); line-height: 0.98; letter-spacing: -0.012em; text-wrap: balance; }
.offer-text { margin: 16px 0 0; max-width: 27ch; font-size: 17px; line-height: 1.5; color: #c9d2cc; }
.offer-ways { display: grid; gap: 14px; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(239, 232, 216, 0.14); }
.offer-ways dt { font-family: var(--font-label); font-size: 11.5px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); }
.offer-ways dd { margin: 5px 0 0; max-width: 32ch; font-size: 14.5px; line-height: 1.5; color: #aebdb9; }
.prices { margin: auto 0 0; padding-top: 26px; }
.prices div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0 0; border-top: 1px solid rgba(239, 232, 216, 0.14); }
.prices div + div { margin-top: 12px; }
.prices dt { font-size: 14.5px; color: #aebdb9; }
.prices dd { margin: 0; font-family: var(--font-display); font-size: 30px; line-height: 1; color: var(--amber); }
.prices .is-main dd { font-size: clamp(42px, 3.4vw, 56px); }
.prices small { margin-right: 6px; font-family: var(--font-label); font-size: 13px; color: #9fb1ad; }
.offer-photo { position: relative; margin: 0; overflow: hidden; }
.offer-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--ps, 1)); transform-origin: 50% 60%; }
.offer:first-child .offer-photo img { object-position: 88% 50%; filter: saturate(0.78) brightness(0.84) contrast(1.04); }
.offer:nth-child(2) .offer-photo img { object-position: 50% 40%; }
.offer-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(11, 32, 38, 0.4), rgba(11, 32, 38, 0) 26%); box-shadow: inset 1px 0 0 rgba(239, 232, 216, 0.12); pointer-events: none; }
@media (min-width: 1000px) {
  .is-live .offers { gap: 0; }
  .is-live .offers::after { content: ""; height: 28vh; }   /* the last plate rests here a while (padding would not hold it) */
  .is-live .offer {
    position: sticky;
    top: calc(var(--lt, 190) * 1px);
    height: max(calc(var(--lh, 560) * 1px), 520px);
    transform-origin: 50% 0;
    transform: translate3d(0, calc(var(--cv, 0) * -20px), 0) scale(calc(1 - var(--cv, 0) * 0.05));
  }
  .is-live .offer + .offer { margin-top: 32vh; }
  .is-live .offer-photo img { will-change: transform; }
}
.ch-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px 30px; flex-wrap: wrap; margin-top: clamp(60px, 9vh, 100px); padding-top: 26px; border-top: 1px solid rgba(239, 232, 216, 0.16); }
.ch-cta p { margin: 0; font-family: var(--font-display); font-size: clamp(24px, 2vw, 30px); }

/* ---------- 04 Kind words ---------- */
@media (min-width: 1000px) {
  .ch-words .ch-body { margin-left: calc(var(--gx) + var(--colw) * 1); width: calc(var(--colw) * 5); }
}
.ch-words .ch-head { margin-bottom: 28px; }
.ch-words .t-main { position: relative; }
.ch-words .t-mark { display: block; height: 0.5em; margin-bottom: 18px; font-family: var(--font-display); font-size: 120px; line-height: 0.8; color: var(--amber); }
.ch-words .t-slide blockquote { max-width: 22em; font-size: clamp(32px, 3.4vw, 54px); line-height: 1.12; letter-spacing: -0.01em; }
.ch-words .t-slide figcaption { margin-top: 34px; font-size: 15px; }
.ch-words .t-progress { margin-top: 56px; }
.t-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ch-words .t-controls { display: flex; align-items: center; gap: 22px; padding-top: 18px; }
.ch-words .t-count { margin: 0; font-family: var(--font-label); font-size: 13px; color: #9fb1ad; }
.ch-words .t-nav { display: flex; gap: 10px; }

/* ---------- 05 Classes ---------- */
.rpath { position: relative; margin: 0; padding: 0; list-style: none; counter-reset: lvl; }
.rpath::before { content: ""; position: absolute; left: 21px; top: 36px; bottom: 36px; width: 1px; background: rgba(239, 232, 216, 0.16); }
.rpath::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 36px;
  width: 3px;
  height: calc((100% - 72px) * var(--pd, 0));
  border-radius: 3px;
  background: linear-gradient(to bottom, var(--t1), var(--t2), var(--t3), var(--t4), var(--t5));
  box-shadow: 0 0 10px rgba(255, 236, 200, 0.6);
}
.lvl { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1.3fr) auto; align-items: center; gap: 0 26px; padding: 26px 0; border-bottom: 1px solid rgba(239, 232, 216, 0.12); }
/* no numerals: each level is a point of light on the thread (its place on the path says which) */
.lvl-num { position: relative; z-index: 1; display: block; width: 13px; height: 13px; margin-left: 15px; border-radius: 50%; background: var(--night-deep); box-shadow: inset 0 0 0 1px rgba(239, 232, 216, 0.45); transition: box-shadow 0.5s ease, background 0.5s ease; }
.lvl.is-lit .lvl-num { background: #f4ecd8; box-shadow: 0 0 0 4px rgba(255, 236, 200, 0.14), 0 0 18px rgba(255, 220, 170, 0.7); }
.lvl-name h4 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 2.1vw, 34px); line-height: 1.05; }
.lvl-name p { margin: 6px 0 0; font-size: 13.5px; color: #9fb1ad; }
.lvl-text { margin: 0; font-size: 15.5px; line-height: 1.5; color: #b9c8c4; }
.lvl-price { margin: 0; font-family: var(--font-display); font-size: clamp(34px, 2.8vw, 46px); color: var(--amber); }
/* The Reiki path as a staircase (wide, tall enough windows, with motion): the block pins for a
   while; four steps rise from bottom left to top right across columns 3–6, each two columns wide
   and set two-thirds of a column further right and one step higher than the last. A thread of
   light climbs their top edges as you scroll, and each level lights up as it is reached.
   evening-guide.js writes --lit on each step and draws the thread. */
.path-thread { display: none; }
@media (min-width: 1000px) and (min-height: 700px) {
  .is-live .path { --y0: 118px; --yb: 46px; --sh: 196px; height: 260vh; margin-top: clamp(30px, 5vh, 60px); }
  .is-live .path-pin { position: sticky; top: 0; height: 100vh; height: 100svh; }
  .is-live .path-head { position: absolute; left: 0; top: var(--y0); display: block; width: calc(var(--colw) * 4 / 3 - 28px); padding: 0; border: 0; }
  .is-live .path-head h3 { font-size: clamp(38px, 3.2vw, 54px); line-height: 0.98; }
  .is-live .path-head p { margin-top: 16px; max-width: 20ch; font-size: 15.5px; line-height: 1.5; }
  .is-live .rpath { position: absolute; inset: 0; }
  .is-live .rpath::before, .is-live .rpath::after { content: none; }
  .is-live .lvl {
    --b: calc((100vh - var(--y0) - var(--yb) - var(--sh)) / 3);
    position: absolute;
    left: calc(var(--colw) * 2 / 3 * var(--i));
    top: calc(var(--y0) + (3 - var(--i)) * var(--b));
    width: calc(var(--colw) * 2 - 14px);
    min-height: var(--sh);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "name price" "text text";
    align-content: start;
    gap: 14px 14px;
    padding: 22px 24px 22px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(165deg, #12313a 0%, #0d252c 60%, #0b2026 100%);
    box-shadow: inset 0 0 0 1px rgba(239, 232, 216, 0.09), 0 34px 60px -34px rgba(0, 0, 0, 0.8);
    opacity: calc(0.3 + 0.7 * var(--lit, 0));
    transform: translate3d(0, calc((1 - var(--lit, 0)) * 16px), 0);
  }
  .is-live .lvl:nth-child(1) { --i: 0; }
  .is-live .lvl:nth-child(2) { --i: 1; }
  .is-live .lvl:nth-child(3) { --i: 2; }
  .is-live .lvl:nth-child(4) { --i: 3; }
  .is-live .lvl-num { display: none; }   /* the step's height says the level */
  .is-live .lvl-name { grid-area: name; }
  .is-live .lvl-name h4 { font-size: clamp(22px, 1.8vw, 29px); line-height: 1.02; }
  .is-live .lvl-name p { margin-top: 6px; font-size: 13px; }
  .is-live .lvl-price { grid-area: price; align-self: start; font-size: clamp(28px, 2.3vw, 38px); line-height: 0.9; }
  .is-live .lvl-text { grid-area: text; font-size: 14.5px; line-height: 1.5; color: #aebdb9; }
  .is-live .path-thread { display: block; position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
  .pt-base { fill: none; stroke: rgba(239, 232, 216, 0.16); stroke-width: 1; }
  .pt-lit { fill: none; stroke: url(#path-grad); stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(255, 228, 190, 0.75)); }
  .pt-head { fill: #fff6df; filter: drop-shadow(0 0 6px #ffe2b0) drop-shadow(0 0 14px rgba(255, 210, 160, 0.8)); opacity: var(--pth, 0); }
}
.ec { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.ec-item { padding: 24px 26px 20px; border-radius: 14px; background: linear-gradient(165deg, #12313a 0%, #0d252c 60%, #0b2026 100%); box-shadow: inset 0 0 0 1px rgba(239, 232, 216, 0.09), 0 34px 60px -34px rgba(0, 0, 0, 0.8); }   /* cards, like the steps of the path */
.ec-item h4 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 2.3vw, 38px); line-height: 1.05; }
.ec-text { margin: 12px 0 0; max-width: 30ch; font-size: 15.5px; line-height: 1.5; color: #b9c8c4; }
.ec-meta { display: flex; align-items: baseline; justify-content: space-between; margin: 22px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(239, 232, 216, 0.12); }
.ec-meta span { font-size: 14px; color: #9fb1ad; }
.ec-meta b { font-family: var(--font-display); font-weight: 400; font-size: 36px; line-height: 1; color: var(--amber); }
.register { margin-top: 44px; font-size: 15.5px; color: #b9c8c4; }
.register a { color: #f4ecd8; }

/* ---------- 06 About ---------- */
.about-lede { max-width: 26em; margin: 0; font-family: var(--font-display); font-size: clamp(25px, 2.3vw, 34px); line-height: 1.22; color: #efe8d8; }
.mission-text { max-width: 22em; margin: 28px 0 0; font-family: var(--font-display); font-size: clamp(30px, 2.8vw, 44px); line-height: 1.1; color: #f4ecd8; }
.mission-text em { font-style: italic; color: #fff6dc; background: var(--pastel); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: 0.06em; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 40px 0 0; padding: 0; list-style: none; }
.values li { padding: 20px 22px 4px 0; border-top: 1px solid rgba(239, 232, 216, 0.16); }
.values li + li { padding-left: 22px; border-left: 1px solid rgba(239, 232, 216, 0.12); }
.values h4 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 30px; }
.values p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.45; color: #b9c8c4; }
.years { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.years div { position: relative; padding: 20px 22px 0 0; border-top: 1px solid rgba(239, 232, 216, 0.16); }
/* a timeline: a thread of light draws along the top as it comes up the screen, and each year's
   point lights as the thread reaches it (evening-guide.js writes --yd, and .is-lit on each year) */
.is-live .years div { padding-top: 34px; border-top: 0; }
.is-live .years::before, .is-live .years::after { content: ""; position: absolute; left: 0; top: 0; height: 1px; }
.is-live .years::before { right: 0; background: rgba(239, 232, 216, 0.16); }
.is-live .years::after { width: calc(var(--yd, 0) * 100%); height: 2px; top: -0.5px; border-radius: 2px; background: linear-gradient(90deg, #b9a4ee, #a8dcb0 33%, #fff3cf 55%, #ffd9a0 78%, #f59a9a); box-shadow: 0 0 8px rgba(255, 228, 190, 0.7); }
.is-live .years div::before { content: ""; position: absolute; left: 0; top: -5px; width: 11px; height: 11px; border-radius: 50%; background: var(--night-deep); box-shadow: inset 0 0 0 1px rgba(239, 232, 216, 0.4); transition: background 0.5s ease, box-shadow 0.5s ease; }
.is-live .years div.is-lit::before { background: #f4ecd8; box-shadow: 0 0 0 4px rgba(255, 236, 200, 0.14), 0 0 16px rgba(255, 220, 170, 0.7); }
.is-live .years dt, .is-live .years dd { opacity: 0.35; transform: translate3d(0, 10px, 0); transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.is-live .years div.is-lit dt, .is-live .years div.is-lit dd { opacity: 1; transform: none; }
.years dt { font-family: var(--font-display); font-size: clamp(42px, 3.6vw, 60px); line-height: 1; color: var(--amber); }
.years dd { margin: 10px 0 0; max-width: 16em; font-size: 14.5px; line-height: 1.4; color: #b9c8c4; }
.guide-page .creds { display: flex; flex-wrap: wrap; gap: 20px 36px; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(239, 232, 216, 0.12); }
.guide-page .cred { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #d7dcd6; }
.guide-page .cred p { margin: 0; font-size: 15px; line-height: 1.4; }
.guide-page .cred-oval { width: 46px; height: 58px; object-fit: cover; border-radius: 50%; }
.guide-page .cred-badge { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #f4ecd8; }
.guide-page .cred-badge img { width: 34px; }
.about-note { margin-top: 30px; font-size: 15px; color: #9fb1ad; }

/* ---------- 07 Book: the sheet of light ---------- */
.guide-page .ending { position: relative; z-index: 4; }
.guide-page .contact {
  position: relative;
  z-index: 2;
  padding: clamp(110px, 16vh, 170px) 0 clamp(64px, 8vh, 104px);
  border-radius: clamp(26px, 4vw, 56px);
  background: var(--lamp);
  color: #11292f;
  box-shadow: 0 -40px 100px rgba(3, 10, 13, 0.55);
}
.guide-page .contact .wrap { position: relative; z-index: 1; max-width: none; margin: 0; padding: 0 var(--pad); }
.guide-page .contact::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  --ln: linear-gradient(rgba(17, 41, 47, 0.1), rgba(17, 41, 47, 0.1));
  background:
    var(--ln) no-repeat 14px 0 / 1px 100%,
    var(--ln) no-repeat calc(100% - 14px) 0 / 1px 100%,
    var(--ln) no-repeat var(--gx) 0 / 1px 100%,
    var(--ln) no-repeat calc(var(--gx) + var(--colw)) 0 / 1px 100%,
    var(--ln) no-repeat calc(var(--gx) + var(--colw) * 2) 0 / 1px 100%,
    var(--ln) no-repeat calc(var(--gx) + var(--colw) * 3) 0 / 1px 100%,
    var(--ln) no-repeat calc(var(--gx) + var(--colw) * 4) 0 / 1px 100%,
    var(--ln) no-repeat calc(var(--gx) + var(--colw) * 5) 0 / 1px 100%,
    var(--ln) no-repeat calc(var(--gx) + var(--colw) * 6 - 1px) 0 / 1px 100%;
}
@media (min-width: 1000px) {
  .guide-page .contact .wrap { margin-left: calc(var(--gx) + var(--colw) * 2); width: calc(var(--colw) * 4); padding: 0; }
}
.guide-page .contact-top { display: block; }
.guide-page .contact-title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(56px, 7vw, 120px); line-height: 0.92; letter-spacing: -0.022em; color: #11292f; }
.guide-page .contact-title em { font-style: italic; color: var(--amber-deep); }
.guide-page .contact-act { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 40px; }
.guide-page .contact-lead { margin: 0; font-size: 16px; color: #50625f; }
.guide-page .contact-rows { margin-top: clamp(56px, 8vh, 96px); }
.guide-page .footer { position: relative; z-index: 1; padding-top: clamp(64px, 8vw, 110px); background: var(--slate); }
.guide-page .footer-mark { display: flex; justify-content: center; padding-bottom: clamp(48px, 6vw, 80px); }
.guide-page .logo3d { display: block; width: min(460px, 70vw); }
.guide-page .logo3d img { width: 100%; height: auto; }

/* the sheet opens out: from a card on the outer column lines to the full width (--co from the script) */
.guide-page.is-live .contact { --open-in: calc((1 - var(--co, 1)) * max(0px, var(--gx) - 14px)); clip-path: inset(0 var(--open-in) 0 var(--open-in) round clamp(26px, 4vw, 56px)); box-shadow: none; }
@media (min-width: 760px) and (min-height: 640px) {
  /* the footer waits underneath and is uncovered as the sheet lifts away */
  .guide-page.is-live .footer { position: sticky; bottom: 0; z-index: 1; opacity: var(--fo, 1); }
}

/* ---------- watching with sound ---------- */
.watch { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; height: 100dvh; margin: 0; }
.watch::backdrop { background: rgba(4, 12, 15, 0.86); backdrop-filter: blur(6px); }
.watch[open] { display: grid; place-items: center; }
.watch-box { position: relative; display: flex; flex-direction: column; align-items: center; }
.watch-video { display: block; height: min(84vh, 84dvh); aspect-ratio: 9 / 16; max-width: 92vw; border-radius: 16px; background: #000; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7); }
.watch-video:focus { outline: none; }
.watch-video:focus-visible { outline: 1px solid rgba(239, 232, 216, 0.35); outline-offset: 3px; }
.watch-title { margin: 14px 0 0; font-family: var(--font-label); font-size: 14px; color: #b9c8c4; }
.watch-close { position: absolute; top: 0; right: -64px; width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: rgba(239, 232, 216, 0.12); color: #f4ecd8; }
.watch-close:hover { background: rgba(239, 232, 216, 0.22); }
.watch-close svg { display: block; width: 100%; height: 100%; }

/* ---------- movement through the page ----------
   The room: a fixed layer behind the chapters whose colour and lamplight change from chapter
   to chapter (evening-guide.js writes --rc and --rg). */
.room { display: none; }
.is-live .room {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 55% at 62% 108%, rgba(240, 184, 114, var(--rg, 0)) 0%, rgba(240, 184, 114, calc(var(--rg, 0) * 0.35)) 45%, rgba(240, 184, 114, 0) 75%),
    var(--rc, #0a1d23);
}

/* Headings, the About lines and each quote arrive word by word: every word rises out of its
   own line (evening-guide.js wraps the words; --wi is each word's place, --ws the stagger). */
.is-live .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.08em 0.1em 0.22em; margin: -0.08em -0.1em -0.22em; }
.is-live .split .w > span { display: inline-block; transform: translate3d(0, 115%, 0); transition: transform 1.1s cubic-bezier(0.2, 0.75, 0.15, 1); transition-delay: calc(var(--wi, 0) * var(--ws, 50ms)); }
.is-live .split.is-in .w > span { transform: none; }
/* a gradient-filled word (the mission's "inner truth", "joyful") is filled word by word once split */
.is-live .mission-text.split em { background: none; -webkit-text-fill-color: currentColor; }
.is-live .mission-text.split em .w > span { background: var(--pastel); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: 0.06em; }
.is-live .t-slide:not(.is-active) .split.is-in .w > span { transform: translate3d(0, 115%, 0); transition-duration: 0.45s; transition-delay: 0s; }
.is-live .t-slide.is-active .split.is-in .w > span { transition-delay: calc(0.25s + var(--wi, 0) * var(--ws, 40ms)); }

/* Where the browser can tie animation to the scroll itself: pictures open from a narrow band
   as they come up the screen, and blocks of words ease up and out as they leave the top. */
@supports (animation-timeline: view()) {
  .is-live .garden-photo { overflow: hidden; border-radius: 14px; animation: openUp linear both; animation-timeline: view(); animation-range: entry 0% cover 42%; }
  .is-live .garden-photo img { border-radius: 0; animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
  .is-live :is(.ch-head, .about-lede, .mission-block, .years, .creds, .about-note, .ec, .register, .ch-cta) { animation: leave linear both; animation-timeline: view(); animation-range: exit 35% exit 100%; }
  @media (max-width: 999px) {
    .is-live .offer-photo { animation: openUp linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    .is-live .offer-photo img { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
  }
}
@keyframes openUp { from { clip-path: inset(22% 6% 22% 6% round 14px); } to { clip-path: inset(0 0 0 0 round 14px); } }
@keyframes settle { from { transform: scale(1.18); } to { transform: scale(1); } }
@keyframes leave { to { opacity: 0; transform: translate3d(0, -40px, 0); } }

/* ---------- phones and small windows ---------- */
@media (max-width: 999px) {
  :root { --colw: calc((100vw - var(--gx) * 2) / 6); }
  .grid-lines i:nth-child(2), .grid-lines i:nth-child(3), .grid-lines i:nth-child(5), .grid-lines i:nth-child(6) { display: none; }
  .grid-lines::before { left: 8px; }
  .grid-lines::after { right: 8px; }
  .guide-watch span, .guide-watch i { display: none; }
  .guide-watch { left: 6px; top: 6px; padding: 4px; }
  .is-live .ch-reiki { height: 480vh; }
  .is-live .reiki-intro { padding: 0 var(--pad); }
  .is-live .ch-reiki { z-index: 41; }   /* the window fills the screen here, so the words go on top of it */
  .is-live .scene-line { left: var(--pad); right: var(--pad); top: auto; bottom: 13vh; font-size: 26px; text-shadow: 0 2px 22px rgba(0, 0, 0, 0.7); }
  .is-live .scene-line span { color: #c6d2cf; }
  .is-live .scene-a { text-align: left; transform: translate3d(0, calc((1 - var(--sa, 0)) * 16px), 0); }
  .is-live .scene-b { text-align: left; transform: translate3d(0, calc((1 - var(--sb, 0)) * 16px), 0); }
  .watch-close { top: -56px; right: 0; }
  .offer { grid-template-columns: 1fr; min-height: 0; }
  .offer-photo { order: -1; aspect-ratio: 16 / 11; }
  .offer-photo::after { background: linear-gradient(to top, rgba(11, 32, 38, 0.45), rgba(11, 32, 38, 0) 34%); box-shadow: inset 0 -1px 0 rgba(239, 232, 216, 0.12); }
  .prices { padding-top: 30px; }
  .guide-page .contact::before {
    background:
      var(--ln) no-repeat 8px 0 / 1px 100%,
      var(--ln) no-repeat calc(100% - 8px) 0 / 1px 100%,
      var(--ln) no-repeat var(--gx) 0 / 1px 100%,
      var(--ln) no-repeat calc(var(--gx) + var(--colw) * 3) 0 / 1px 100%,
      var(--ln) no-repeat calc(var(--gx) + var(--colw) * 6 - 1px) 0 / 1px 100%;
  }
}
@media (max-width: 760px) {
  .ch-body { padding-top: 96px; }
  .ch-title { font-size: clamp(40px, 11vw, 54px); }
  .ec { grid-template-columns: 1fr; gap: 56px; }
  .lvl { grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "num name price" "num text text"; gap: 8px 14px; }
  .lvl-num { grid-area: num; align-self: start; margin-top: 11px; }
  .lvl-name { grid-area: name; }
  .lvl-text { grid-area: text; font-size: 14.5px; }
  .lvl-price { grid-area: price; font-size: 32px; }
  .rpath::before, .rpath::after { left: 21px; }
  .values, .years { grid-template-columns: 1fr; }
  .values li + li { padding-left: 0; border-left: 0; }
  .years div { padding-bottom: 16px; }
  .is-live .years::before, .is-live .years::after { display: none; }   /* stacked on phones: each year keeps its own line and point */
  .is-live .years div { padding-top: 26px; border-top: 1px solid rgba(239, 232, 216, 0.16); }
  .ch-words .t-slide blockquote { font-size: 27px; line-height: 1.16; }
  .guide-page .contact-title { font-size: clamp(52px, 15vw, 70px); }
}
