/* Beit Ory. The design follows Liat's course workbook: cream paper, gold, a thin frame, chakra colors. */

/* The fonts live on the site itself (SIL Open Font License), so no visit calls Google.
   Each family is one variable file per script; the browser fetches only the scripts a page uses. */
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/frank-ruhl-libre-hebrew.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/frank-ruhl-libre-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/assistant-hebrew.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/assistant-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #F8F3EA;
  --paper-deep: #F1E8D8;
  --paper-card: rgba(255, 252, 245, 0.55);
  --ink: #2E2924;
  --ink-soft: #5B5047;
  --gold: #A9884A;
  --gold-ink: #7A5C2C;
  --gold-soft: #D3BE93;
  --gold-fill: #CDAE68;
  --gold-fill-hover: #C29F55;
  --violet: #3D2E66;

  /* The seven chakras, as colored in the workbook */
  --c1: #A9302B;
  --c2: #C4651E;
  --c3: #E5BB2E;
  --c4: #3F8355;
  --c4b: #D58FA3;
  --c5: #2F86BC;
  --c6: #2E3C8E;
  --c7: #6E3F91;
  /* The same colors deep enough to read as text on the paper (contrast 4.5:1 or more).
     Names use these; dots and lines keep the bright ones. */
  --t1: #A9302B;
  --t2: #A04E12;
  --t3: #876000;
  --t4: #337249;
  --t5: #22699A;
  --t6: #2E3C8E;
  --t7: #6E3F91;

  --serif: 'Frank Ruhl Libre', 'Noto Serif Hebrew', 'David', serif;
  --sans: 'Assistant', 'Heebo', Arial, sans-serif;
  --wrap: 1120px;
  --measure: 40rem;
  --space: clamp(84px, 11vw, 150px);
  --frame: 14px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.8 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* The thin gold frame of the workbook pages */
@media (min-width: 900px) {
  body::before {
    content: "";
    position: fixed;
    inset: var(--frame);
    border: 1px solid rgba(169, 136, 74, 0.34);
    pointer-events: none;
    z-index: 60;
  }
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 0.6em;
  color: var(--violet);
}

h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 2.9rem); }
h3 { font-size: 1.5rem; }

p { margin: 0 0 1.1em; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.skip {
  position: absolute;
  top: -100px;
  right: 16px;
  z-index: 100;
  background: var(--violet);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
}
.skip:focus { top: 16px; }

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

.section {
  padding: var(--space) 24px;
  position: relative;
}

.center { text-align: center; }

.kicker {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold-ink);
  margin-bottom: 0.9em;
}

.lead { font-size: 1.25rem; color: var(--ink-soft); }

/* Buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 500 1.0625rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}
.btn-gold { background: var(--gold-fill); color: var(--ink); }
.btn-gold:hover { background: var(--gold-fill-hover); }
.btn-line { border-color: var(--gold-ink); color: var(--gold-ink); background: transparent; }
.btn-line:hover { background: rgba(169, 136, 74, 0.1); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 1rem; }
.btn:active { transform: scale(0.98); }

.link-gold {
  color: var(--gold-ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--gold-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
  transition: text-decoration-color .25s ease;
}
.link-gold:hover { text-decoration-color: var(--gold-ink); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 243, 234, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.site-header.is-scrolled { border-bottom-color: rgba(169, 136, 74, 0.25); }

.bsd {
  position: absolute;
  top: 6px;
  right: 14px;
  font: 400 0.75rem/1 var(--serif);
  color: var(--gold-ink);
}

.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px 24px 14px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--gold);
}
.brand-mark { width: 42px; height: 42px; flex: none; color: var(--gold); }
.brand-name {
  font: 400 1.6rem/1 var(--serif);
  color: var(--gold-ink);
  letter-spacing: 0.01em;
}

.main-nav { margin-inline-start: auto; }

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
}
.menu a {
  text-decoration: none;
  font-size: 1.0625rem;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, color .25s ease;
}
.menu a:hover { color: var(--gold-ink); border-bottom-color: var(--gold-soft); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  font: 500 1rem var(--sans);
  color: var(--ink);
  cursor: pointer;
  padding: 8px 4px;
}
.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gold-ink);
  position: relative;
  transition: transform .3s ease, background-color .3s ease;
}
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; right: 0; }
.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px) {
  .bsd { top: calc(var(--frame) + 6px); right: calc(var(--frame) + 12px); }
  .header-inner { padding-top: 30px; }
}

@media (max-width: 899px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .header-inner { padding: 20px 18px 12px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 1.4rem; }
  .menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
    background: var(--paper);
    border-bottom: 1px solid rgba(169, 136, 74, 0.3);
    display: none;
  }
  .menu.is-open { display: flex; }
  .menu a { display: block; padding: 14px 0; font-size: 1.2rem; border-bottom: 1px solid rgba(169, 136, 74, 0.15); }
}

/* Mandalas */
[data-mandala] svg { width: 100%; height: 100%; overflow: visible; }

.ghost {
  position: absolute;
  color: var(--gold);
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}
.ghost-hero { width: 760px; height: 760px; top: -120px; left: -330px; }
.ghost-journey { width: 900px; height: 900px; top: 140px; right: -520px; }
@media (max-width: 699px) {
  .ghost-hero { display: none; }
  .ghost-journey { opacity: 0.045; }
}

/* Hero: the cover of the workbook */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(40px, 7vw, 84px) 24px clamp(84px, 10vw, 130px);
}
.hero > :not(.ghost) { position: relative; z-index: 1; }

.hero-mandala {
  width: min(74vw, 400px);
  height: min(74vw, 400px);
  margin: 0 auto clamp(20px, 3vw, 34px);
  color: var(--gold);
}

.wordmark { margin: 0; color: var(--gold-ink); line-height: 1.1; }
.wordmark-text {
  display: block;
  font: 400 clamp(3.4rem, 2rem + 6vw, 5.6rem)/1.15 var(--serif);
  color: var(--gold);
  letter-spacing: 0.01em;
}

.triad {
  font: 400 clamp(1.25rem, 1rem + 0.9vw, 1.6rem)/1.4 var(--serif);
  color: var(--gold-ink);
  letter-spacing: 0.06em;
  margin: 0.5em 0 0.9em;
}
.triad span { color: var(--gold); margin: 0 0.35em; }

.rule-dot {
  position: relative;
  width: min(440px, 80vw);
  height: 1px;
  margin: 0 auto 1.1em;
  background: linear-gradient(to left, transparent, var(--gold) 12%, var(--gold) 88%, transparent);
}
.rule-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px var(--paper);
}

.tagline {
  font: 500 clamp(1.4rem, 1.05rem + 1.3vw, 2rem)/1.4 var(--serif);
  color: var(--ink);
  margin-bottom: 1.3em;
}

.hero-lead {
  max-width: 32rem;
  margin: 0 auto 2.2em;
  font-size: 1.2rem;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  justify-content: center;
  align-items: center;
}

/* Intro */
.intro { max-width: calc(var(--measure) + 48px); margin: 0 auto; text-align: center; }
.intro > p:not(.kicker) { font-size: 1.2rem; }

.quote {
  margin: 2.4em auto 0;
  padding: 0;
  max-width: 34rem;
  position: relative;
}
.quote p {
  font: 400 clamp(1.45rem, 1.1rem + 1.1vw, 1.9rem)/1.5 var(--serif);
  color: var(--violet);
  margin-bottom: 0.6em;
}
.quote footer {
  font-size: 0.95rem;
  color: var(--gold-ink);
  letter-spacing: 0.03em;
}
.quote footer::before { content: "— "; }
.quote-small { margin: 2em 0 1.6em; }
.quote-small p { font-size: 1.35rem; }

/* Three gates */
.gates-section { background: var(--paper-deep); }
.gates {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.gate {
  position: relative;
  text-align: center;
  padding: 72px 30px 38px;
  border: 1px solid var(--gold-soft);
  border-radius: 999px 999px 18px 18px;
  background: var(--paper-card);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gate h3 { font-size: 1.85rem; margin-bottom: 0.45em; }
.gate p { color: var(--ink-soft); flex: 1; }
.gate-num {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  font: 400 1.1rem/1 var(--serif);
  color: var(--gold);
}

@media (max-width: 899px) {
  .gates { grid-template-columns: minmax(0, 1fr); max-width: 30rem; gap: 22px; }
  .gate { padding: 64px 26px 32px; }
}

/* The journey */
.journey { overflow: hidden; }
.journey > :not(.ghost) { position: relative; z-index: 1; }
.journey-head { max-width: calc(var(--measure) + 48px); margin: 0 auto; text-align: center; }

/* The seven centers: the mandala with "אור" in its middle. Touched, the light rises to become the halo
   of a seated figure (as on the chakra page of the workbook), and the seven centers light up on the body,
   from the root to the crown, with their names beside it. */
.centers-wrap {
  --size: min(calc(100vw - 48px), 560px);
  margin: clamp(40px, 6vw, 72px) auto;
  text-align: center;
}

.centers {
  position: relative;
  width: var(--size);
  height: var(--size);
  margin: 0 auto;
}

.centers-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62%;
  height: 62%;
  transform: translate(-50%, -50%);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--gold);
  cursor: pointer;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
  transition: transform 1.1s cubic-bezier(.45, .05, .25, 1) .25s;
}
.centers-core:focus-visible { outline-offset: 10px; border-radius: 50%; }
/* Until it is first opened, waves of light leave the word "אור", so it reads as something to touch. */
.centers-core::before,
.centers-core::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34%;
  height: 34%;
  margin: -17% 0 0 -17%;
  border-radius: 50%;
  border: 2px solid rgba(169, 136, 74, 0.75);
  box-shadow: 0 0 16px 2px rgba(227, 201, 135, 0.75), inset 0 0 10px rgba(227, 201, 135, 0.5);
  opacity: 0;
  pointer-events: none;
  animation: light-wave 4.2s cubic-bezier(.25, .6, .3, 1) infinite;
}
.centers-core::after { animation-delay: 2.1s; }
/* Each wave crosses the mandala and fades just beyond it, where the plain paper makes it visible. */
@keyframes light-wave {
  0% { transform: scale(0.95); opacity: 0; }
  10% { opacity: 1; }
  70% { opacity: 0.55; }
  100% { transform: scale(3.7); opacity: 0; }
}
.centers.was-opened .centers-core::before,
.centers.was-opened .centers-core::after { animation: none; }
/* Open: the mandala moves up behind the figure's head (33.5% across, 31% down) and becomes its halo. */
.centers.is-open .centers-core,
.no-js .centers .centers-core {
  transform: translate(calc(-50% - var(--size) * 0.165), calc(-50% - var(--size) * 0.19)) scale(0.484);
  transition: transform 1.1s cubic-bezier(.45, .05, .25, 1);
}

.centers-mandala {
  position: absolute;
  inset: 0;
  transition: transform 1.2s cubic-bezier(.2, .75, .2, 1), opacity 1s ease;
}
@media (hover: hover) {
  .centers-core:hover .centers-mandala { transform: rotate(-6deg) scale(1.02); }
}
.centers.is-open .centers-mandala { transform: rotate(-30deg); opacity: 0.9; }

.centers-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34%;
  height: 34%;
  margin: -17% 0 0 -17%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 211, 150, 0.9) 0%, rgba(236, 211, 150, 0.35) 45%, rgba(236, 211, 150, 0) 72%);
  transition: transform 1.2s cubic-bezier(.2, .75, .2, 1), opacity 1s ease;
  animation: glow 4.5s ease-in-out infinite;
}
@keyframes glow {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50% { transform: scale(1.18); opacity: 1; }
}
.centers.is-open .centers-glow { animation: none; transform: scale(1.6); opacity: 0.8; }

.centers-word {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -54%);
  font: 500 calc(var(--size) * 0.074)/1 var(--serif);
  color: var(--gold-ink);
  white-space: nowrap;
  transition: opacity .6s ease .9s;
}
.centers.is-open .centers-word { opacity: 0; transition: opacity .3s ease; }

/* The seated figure (drawn by main.js), in front of the halo; touches pass through to the mandala. */
.centers-figure {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--gold);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s ease, transform .5s ease;
}
.centers.is-open .centers-figure {
  opacity: 1;
  transform: none;
  transition: opacity 1s ease .4s, transform 1.2s cubic-bezier(.2, .75, .2, 1) .4s;
}
.fig-line { stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.fig-detail { stroke-width: 1; opacity: 0.6; }
.fig-dot {
  opacity: 0;
  transform: scale(0.3);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity .3s ease, transform .3s ease;
}
.centers.is-open .fig-dot {
  opacity: 1;
  transform: none;
  transition:
    opacity .6s ease calc(var(--i) * 130ms + 900ms),
    transform .8s cubic-bezier(.2, .75, .2, 1) calc(var(--i) * 130ms + 900ms);
}

/* The names, in a column beside the figure, the crown at the top (as in the workbook) */
.centers-ring { list-style: none; margin: 0; padding: 0; }
.centers-ring li {
  position: absolute;
  left: 61%;
  top: calc(23% + (6 - var(--i)) * 7.5%);
  z-index: 4;
  opacity: 0;
  visibility: hidden;
  transform: translate(-10px, -50%);
  transition: opacity .3s ease, transform .4s ease, visibility 0s linear .4s;
}
.centers.is-open .centers-ring li,
.no-js .centers .centers-ring li {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
  transition:
    opacity .6s ease calc(var(--i) * 130ms + 950ms),
    transform .8s cubic-bezier(.2, .75, .2, 1) calc(var(--i) * 130ms + 950ms),
    visibility 0s;
}
.c-node {
  display: flex;
  flex-direction: row-reverse; /* the dot on the figure's side, the name after it */
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.c-dot {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent);
}
.c-name {
  font: 500 clamp(0.95rem, calc(var(--size) * 0.048), 1.3rem)/1.2 var(--serif);
  color: var(--t, var(--c));
}
.is-heart .c-dot { box-shadow: 0 0 0 4px rgba(213, 143, 163, 0.45); }
.is-crown .c-dot { background: #fff; border: 2px solid var(--c7); box-shadow: 0 0 0 4px rgba(110, 63, 145, 0.14); }

/* The invitation under the mandala: looks and acts like a button (the mandala itself is the accessible control). */
.centers-hint {
  position: relative;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  /* up into the empty bottom of the square, close to the mandala and to the figure's base */
  margin: calc(var(--size) * -0.1) auto 0;
  padding: 0.5em 1.3em;
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  background: var(--paper-card);
  font: 500 1.08rem/1.4 var(--serif);
  color: var(--gold-ink);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .3s ease, border-color .3s ease;
}
.centers-hint::before {
  content: "";
  flex: none;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--gold-fill);
  box-shadow: 0 0 0 4px rgba(227, 201, 135, 0.35);
}
@media (hover: hover) {
  .centers-hint:hover { background: rgba(255, 252, 245, 0.95); border-color: var(--gold); }
}

.journey-body { max-width: calc(var(--measure) + 48px); margin: 0 auto; text-align: center; }
.detail { font: 400 1.35rem/1.6 var(--serif); color: var(--ink); }

.facts {
  list-style: none;
  padding: 0;
  margin: 2em auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}
.facts li {
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 1rem;
  background: var(--paper-card);
}

.not-spiritual { color: var(--ink-soft); }

.quote-letter { margin-top: 2.6em; }

.cohort {
  margin: 3em auto 0;
  padding: 34px 28px;
  border-top: 1px solid var(--gold-soft);
  border-bottom: 1px solid var(--gold-soft);
}
.cohort p { margin-bottom: 1.4em; }

/* About Liat */
.about {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.portrait { margin: 0; }
.portrait-frame {
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 18px 18px;
  border: 1px solid var(--gold-soft);
  background:
    radial-gradient(circle at 50% 38%, rgba(205, 174, 104, 0.22), transparent 60%),
    var(--paper-deep);
  display: grid;
  place-items: center;
  outline: 1px solid rgba(169, 136, 74, 0.25);
  outline-offset: 10px;
}
.portrait-placeholder { color: var(--gold-ink); font-size: 1rem; }

@media (max-width: 899px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .portrait { max-width: 320px; margin: 0 auto; width: 100%; }
}

/* Voices */
.voices { background: var(--paper-deep); }
.voice-list {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.voice {
  margin: 0;
  padding: 34px 30px;
  background: var(--paper-card);
  border: 1px solid rgba(169, 136, 74, 0.25);
  border-radius: 18px;
}
.voice blockquote { margin: 0 0 1em; }
.voice p { font: 400 1.35rem/1.55 var(--serif); color: var(--ink); margin: 0; }
.voice p::before { content: "״"; color: var(--gold); }
.voice p::after { content: "״"; color: var(--gold); }
.voice figcaption { font-size: 0.95rem; color: var(--gold-ink); }

@media (max-width: 899px) {
  .voice-list { grid-template-columns: minmax(0, 1fr); max-width: 30rem; }
}

/* Contact */
.contact {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
}
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.8em 0 1.4em; }
.place { color: var(--gold-ink); font-weight: 500; margin-bottom: 0.3em; }
.social a { color: var(--gold-ink); }

.lead-form {
  background: var(--paper-card);
  border: 1px solid rgba(169, 136, 74, 0.3);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 38px);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 500; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  font: 400 1.0625rem/1.5 var(--sans);
  color: var(--ink);
  background: #FFFDF8;
  border: 1px solid rgba(122, 92, 44, 0.35);
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 50px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gold-ink);
  outline-offset: 1px;
  border-color: var(--gold-ink);
}
.field input[aria-invalid="true"] { border-color: #A9302B; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; margin: 6px 0 12px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--gold-ink); }
.privacy-note { font-size: 0.9rem; color: var(--ink-soft); }
.privacy-note a { color: var(--gold-ink); }
.form-msg { margin: 14px 0 0; font-weight: 500; color: var(--gold-ink); min-height: 1.5em; }

@media (max-width: 899px) {
  .contact { grid-template-columns: minmax(0, 1fr); }
}

/* Footer */
.site-footer {
  padding: 0 24px 96px;
  text-align: center;
  color: var(--ink-soft);
}
.footer-rule {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: var(--wrap);
  margin: 0 auto 48px;
}
.footer-rule::before, .footer-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.footer-rule span { font: 400 1.25rem var(--serif); color: var(--gold-ink); white-space: nowrap; }
.brand-footer { margin-bottom: 10px; }
.footer-line { margin-bottom: 0.6em; }
.footer-links a, .legal a { color: var(--gold-ink); text-decoration: none; }
.footer-links a:hover, .legal a:hover { text-decoration: underline; }
.legal { font-size: 0.95rem; }
/* Required by THInK's trademark rules for certified practitioners: kept, but quiet */
.tm { font-size: 0.7rem; line-height: 1.5; color: var(--ink-soft); opacity: 0.6; margin-top: 1.4em; }

@media (max-width: 520px) {
  .footer-rule span { font-size: 1.05rem; white-space: normal; }
}

/* WhatsApp button (phones) */
.wa-float {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 45;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: none;
  place-items: center;
  background: var(--gold-fill);
  color: var(--ink);
  box-shadow: 0 6px 20px rgba(60, 40, 10, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .4s ease, transform .4s ease, visibility .4s;
}
.wa-float.is-visible { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 899px) { .wa-float { display: grid; } }

/* Calm reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Inner pages ---------- */

.menu a[aria-current="page"] { color: var(--gold-ink); border-bottom-color: var(--gold); }

/* Page header, like a workbook page: the mandala on a gold line, then the title */
.page-hero {
  position: relative;
  text-align: center;
  max-width: calc(46rem + 48px);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) 24px clamp(48px, 6vw, 80px);
}
.page-crest {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 30rem;
  margin: 0 auto 26px;
  color: var(--gold);
}
.page-crest::before, .page-crest::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.6; }
.crest-mandala { width: 62px; height: 62px; flex: none; }
.page-hero h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.6rem); margin-bottom: 0.45em; }
.page-hero .lead { max-width: 36rem; margin: 0 auto 1.6em; }
.page-hero .facts { margin-top: 0; }

/* Reading text */
.prose { max-width: calc(var(--measure) + 48px); margin: 0 auto; }
.prose p { font-size: 1.15rem; }
.prose h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.4rem); }
.prose .quote { margin: 2em 0; max-width: none; }
.prose .quote p { font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.7rem); }
.section-head { text-align: center; max-width: calc(var(--measure) + 48px); margin: 0 auto 2.4em; }
.section-head p { color: var(--ink-soft); }
.tinted { background: var(--paper-deep); }

.gold-list { padding-inline-start: 1.2em; margin: 0 0 1.2em; }
.gold-list li { margin-bottom: 0.35em; }
.gold-list li::marker { color: var(--gold); }

.facts-start { justify-content: flex-start; }

/* Cards (services, trainings) */
.cards {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 24px;
}
.card {
  background: var(--paper-card);
  border: 1px solid rgba(169, 136, 74, 0.3);
  border-radius: 18px;
  padding: clamp(24px, 3vw, 34px);
}
.card h3 { font-size: 1.65rem; margin-bottom: 0.4em; }
.card p { color: var(--ink-soft); }
.card .link-gold { display: inline-block; margin-top: 0.4em; }
.card-wide { grid-column: 1 / -1; }
.card-wide .card-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 40px; }
@media (max-width: 799px) { .card-wide .card-cols { grid-template-columns: minmax(0, 1fr); } }

/* Gallery */
.gallery {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 19vw, 230px);
  grid-auto-flow: dense;
  gap: 14px;
}
.g-item { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: var(--paper-deep); }
.g-item.is-tall { grid-row: span 2; }
.g-item.is-wide { grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.g-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-open:hover img { transform: scale(1.03); }
.g-open:focus-visible { outline-offset: -4px; }
.g-placeholder {
  display: grid;
  place-items: center;
  border: 1px dashed var(--gold-soft);
  color: var(--gold-ink);
  font-size: 0.95rem;
  background: radial-gradient(circle at 50% 40%, rgba(205, 174, 104, 0.16), transparent 65%), var(--paper-deep);
}
@media (max-width: 699px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

/* Lightbox */
.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.lightbox::backdrop { background: rgba(28, 23, 18, 0.92); }
.lb-inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 60px 16px 70px; }
.lb-figure { margin: 0; text-align: center; }
.lb-img { max-width: min(92vw, 1100px); max-height: calc(100vh - 160px); border-radius: 10px; object-fit: contain; margin: 0 auto; }
.lb-caption { color: #EFE6D2; margin-top: 12px; font-size: 1rem; }
.lb-btn {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(239, 230, 210, 0.5);
  background: rgba(28, 23, 18, 0.45);
  color: #EFE6D2;
  font: 400 1.6rem/1 var(--sans);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.lb-btn:hover { background: rgba(205, 174, 104, 0.35); }
.lb-close { top: 16px; left: 16px; }
.lb-prev { top: 50%; right: 16px; transform: translateY(-50%); }
.lb-next { top: 50%; left: 16px; transform: translateY(-50%); }

/* Videos: a still image until played, so nothing loads from YouTube before a click */
.videos {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.video-card { margin: 0; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #1f1a16; }
.video-play { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.video-play img { width: 100%; height: 100%; object-fit: cover; opacity: 0.88; transition: opacity .3s ease; }
.video-play:hover img { opacity: 1; }
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  margin: -35px 0 0 -35px;
  border-radius: 50%;
  background: rgba(205, 174, 104, 0.94);
}
.play-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--ink);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card figcaption { margin-top: 12px; font: 400 1.2rem var(--serif); color: var(--ink); }
@media (max-width: 699px) { .videos { grid-template-columns: minmax(0, 1fr); } }

/* Questions */
.faq { max-width: calc(var(--measure) + 48px); margin: 0 auto; }
.faq details { border-bottom: 1px solid rgba(169, 136, 74, 0.3); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font: 500 1.3rem/1.4 var(--serif);
  color: var(--violet);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 1.8rem/1 var(--sans); color: var(--gold); transition: transform .3s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); }

/* Closing invitation on every inner page */
.cta-band { text-align: center; padding: var(--space) 24px; background: var(--paper-deep); }
.cta-band p { max-width: 34rem; margin: 0 auto 1.8em; color: var(--ink-soft); font-size: 1.15rem; }

/* Two columns: picture and text */
.split {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
@media (max-width: 899px) {
  .split { grid-template-columns: minmax(0, 1fr); }
}

.empty-note {
  max-width: 34rem;
  margin: 0 auto;
  text-align: center;
  padding: 32px 24px;
  border: 1px dashed var(--gold-soft);
  border-radius: 18px;
  color: var(--ink-soft);
}

/* Upcoming meetings (trainings.html); the markup for one meeting is in the site skill */
.events { list-style: none; max-width: 46rem; margin: 0 auto; padding: 0; display: grid; gap: 18px; }
.event {
  background: var(--paper-card);
  border: 1px solid rgba(169, 136, 74, 0.3);
  border-radius: 18px;
  padding: clamp(22px, 3vw, 30px);
}
.event-date { font: 500 1rem var(--sans); color: var(--gold-ink); margin: 0 0 0.3em; }
.event h3 { font-size: 1.5rem; margin-bottom: 0.3em; }
.event p { color: var(--ink-soft); }
.event .link-gold { display: inline-block; margin-top: 0.4em; }
.events + .empty-note { display: none; }

/* A photo inside a column of text (the certificates wall on the ליאת page) */
.prose-photo { margin: 1.8em 0; }
.prose-photo img { display: block; width: 100%; height: auto; border-radius: 18px; }

/* Portraits with a photo, and the crest at the start of a column */
.portrait-photo { display: block; overflow: hidden; }
.portrait-photo img { width: 100%; height: 100%; object-fit: cover; }
.portrait-square { aspect-ratio: 8 / 7; border-radius: 18px; }
.page-crest-start { max-width: 12rem; margin: 0 0 18px; }
.page-crest-start::before { display: none; }
.page-title { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.3rem); }

.card-quote { font: 400 1.2rem/1.5 var(--serif); color: var(--violet); margin-top: 0.6em; }
.card-quote span { font: 400 0.9rem var(--sans); color: var(--gold-ink); }
.en-line { font-size: 1rem; color: var(--ink-soft); text-align: left; }

.contact-list { list-style: none; padding: 0; margin: 1.4em 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid rgba(169, 136, 74, 0.2); }
.contact-list span { display: inline-block; min-width: 8.5em; color: var(--gold-ink); font-weight: 500; }
.contact-list a { color: var(--ink); }

.legal-text h2 { font-size: 1.6rem; margin-top: 1.6em; }
.legal-date { margin-top: 2em; color: var(--ink-soft); font-size: 0.95rem; }

/* Journey stations: a line through the colors of the centers */
.stations {
  list-style: none;
  max-width: calc(var(--measure) + 48px);
  margin: 2.2em auto 0;
  padding: 0 24px;
}
.stations li {
  position: relative;
  padding-block: 12px;
  padding-inline-start: 34px;
  border-inline-start: 1px solid var(--gold-soft);
}
.stations li::before {
  content: "";
  position: absolute;
  inset-inline-start: -8px;
  top: 21px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 4px var(--paper);
}
.stations h3 { font-size: 1.4rem; color: var(--t, var(--c)); margin: 0 0 0.15em; }
.stations p { margin: 0; color: var(--ink-soft); }
.tinted .stations li::before { box-shadow: 0 0 0 4px var(--paper-deep); }

/* The mandala draws itself, then breathes */
.hero-mandala svg { transform-origin: 50% 50%; }
.hero-mandala.is-breathing svg { animation: breathe 9s ease-in-out infinite; }
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.025); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-mandala.is-breathing svg { animation: none; }
  .centers-glow { animation: none; }
  .centers-core::before,
  .centers-core::after { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
