@charset "UTF-8";
/* ════════════════════════════════════════════════════════════
   Sundial — Solas Yoga Studio · PageMotor Theme CSS (Pass 3)
   Source: sundial-site/assets/sundial.css. The sky engine
   (canvas, .bg-* fallbacks, hour body classes) is chrome and
   must survive edits intact.
   ════════════════════════════════════════════════════════════ */
/* ── 1 · CSS custom properties ───────────────────────────────
   Bridged: only css_vars-registered variables. Everything else
   (saffron, gold, sky stops, eases, clamps) is a plain literal
   — never conditionally bridge a var PM does not register. */
:root {
  --font1: "Instrument Sans", sans-serif;
  --font2: "Instrument Serif", Georgia, serif;
  --font3: "Spline Sans Mono", sans-serif;
  --font-code: "Spline Sans Mono", sans-serif;
  --f1: 45px;
  --f2: 35px;
  --f3: 28px;
  --f4: 22px;
  --f5: 17px;
  --f6: 13px;
  --g1: 69px;
  --g2: 54px;
  --g3: 44px;
  --g4: 36px;
  --g5: 29px;
  --g6: 23px;
  --x1: 47px;
  --x2: 29px;
  --x3: 18px;
  --x4: 11px;
  --x5: 7px;
  --x6: 4px;
  --phi: 1.6180339887;
  --bg1: #F9F2E3FF;
  --bg2: #F3E9D2FF;
  --c1: #251F19FF;
  --c2: #251F19B8;
  --ca: #C96F4AFF;
  --border1: 1px solid rgba(37,31,25,0.16);
  --border2: 1px solid rgba(246,238,221,0.16);
  --border3: 2px dashed rgba(37,31,25,0.16);
  --w-content: 600px;
  --w-total: 1180px;
  /* design literals — NOT css_vars-registered; plain values only */
  --saffron: #df8a3a;
  --ember: #c96f4a;
  --rose: #ef9168;
  --gold: #f2c178;
  --night: #131124;
  --night-2: #1d1a33;
  --cream: #f6eedd;
  --cream-soft: rgba(246,238,221,.78);
  --dusk-a: #4f3b66;
  --dusk-b: #7d4f63;
  --line: rgba(37,31,25,.16);
  --line-dark: rgba(246,238,221,.16);
  --fs-hero: clamp(3.2rem, 10vw, 8rem);
  --fs-h2: clamp(2.3rem, 5.6vw, 4.6rem);
  --fs-h3: clamp(1.35rem, 2.6vw, 1.9rem);
  --ease-breath: cubic-bezier(.37,0,.63,1);
  --ease-out: cubic-bezier(.22,.7,.3,1);
  --pad-x: clamp(1.25rem, 4.5vw, 4rem);
  --pad-y: clamp(4.5rem, 11vw, 9rem);
  --shadow-ticket: 0 24px 60px rgba(96,52,15,.28);
  --shadow-tier: 0 18px 44px rgba(96,52,15,.16);
}

/* ── 2 · Reset ─────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  word-break: normal;
}

img, fieldset {
  border: 0;
}

abbr {
  text-decoration: none;
}

sub, sup {
  line-height: 0.5em;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

iframe, video, embed, object {
  display: block;
  max-width: 100%;
}

.left, .right, .center {
  display: block;
}

.center {
  float: none;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
}

/* ── 3 · Body & structural foundations ─────────────────────── */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font1);
  font-size: var(--f5);
  line-height: var(--g5);
  color: var(--c1);
  background: var(--bg1);
  overflow-x: hidden;
}

::selection {
  background: var(--saffron);
  color: var(--night);
}

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

.skip-link {
  position: fixed;
  top: -4rem;
  left: 1rem;
  z-index: 200;
  padding: 0.7rem 1.2rem;
  background: var(--c1);
  color: var(--cream);
  border-radius: 999px;
  font-size: var(--f6);
  line-height: var(--g6);
  text-decoration: none;
  transition: top 0.25s var(--ease-out);
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  max-width: var(--w-total);
  margin-inline: auto;
}

.text {
  max-width: var(--w-content);
}

.sect {
  position: relative;
  padding: var(--pad-y) var(--pad-x);
}

.sect--flush {
  padding-top: 0;
}

/* sky engine layers — section fallback colours render when JS is
   off; the engine clears them and paints the fixed canvas instead.
   Gradient stops are FIXED art: keep hex literals, never var() them.
   (.bg-day top stop #f9f2e3 intentionally differs from the JS
   SKY.day stop #f7f1e1 — do not "fix".) */
.sky-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, #2c2754 0%, #ef9168 100%);
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.bg-dawn {
  background: linear-gradient(180deg, #2c2754 0%, #a05a72 62%, #ef9168 100%);
}

.bg-dawnpage {
  background: linear-gradient(180deg, #2b2550, #8d5570);
}

.bg-morning {
  background: linear-gradient(180deg, #f3e9d2, #f9f2e3);
}

.bg-day {
  background: linear-gradient(180deg, #f9f2e3, #faf4e6);
}

.bg-golden {
  background: linear-gradient(180deg, #f4cf8f, #e9a45c);
}

.bg-dusk {
  background: linear-gradient(180deg, #4f3b66, #7d4f63);
}

.bg-night {
  background: linear-gradient(180deg, #131124, #1d1a33);
}

.sky-live .sect {
  background: transparent;
}

.sky-page .sect:not(.keep-bg) {
  background: transparent;
}

.sky-live .site-footer {
  background: transparent;
}

/* Page_Containers carry .bg- but are not .sect — clear them
   when the sky engine is live or the wrapper occludes the canvas */
html.sky-page .page-main, html.sky-live .page-main {
  background: transparent;
}

/* theme scoping — sections carry data-theme; the BODY is themed by
   the template's hour-* class (pre-JS and no-JS safe) */
.muted {
  color: var(--c2);
}

[data-theme=dark] {
  color: var(--cream);
}

[data-theme=dark] .muted {
  color: var(--cream-soft);
}

[data-theme=light] .muted {
  color: var(--c2);
}

.hour-dawnpage, .hour-dusk, .hour-night {
  color: var(--cream);
}

/* ── 4 · Common content elements ───────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font2);
  font-weight: 400;
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--f2);
  line-height: var(--g2);
}

h2 {
  font-size: var(--f3);
  line-height: var(--g3);
}

h3 {
  font-size: var(--f4);
  line-height: var(--g4);
}

h4 {
  font-size: var(--f5);
  line-height: var(--g5);
}

em {
  font-style: italic;
}

strong, b {
  font-weight: 600;
}

a {
  color: inherit;
}

blockquote {
  font-family: var(--font2);
  font-style: italic;
  font-size: var(--f4);
  line-height: var(--g4);
  padding-left: var(--x3);
  border-left: 2px solid var(--saffron);
}
blockquote > :last-child {
  margin-bottom: 0;
}

code {
  font-family: var(--font-code);
  font-size: 0.92em;
  line-height: 1em;
  background-color: rgba(37, 31, 25, 0.08);
  padding: var(--x5) var(--x6);
  border-radius: var(--x5);
  margin: 0 1px;
}

pre {
  font-family: var(--font-code);
  font-size: 0.92em;
  line-height: 1.68;
  color: var(--c1);
  background-color: var(--bg2);
  padding: var(--x3);
  border-radius: 0 var(--x3) var(--x3) 0;
  overflow: auto;
  word-wrap: normal;
  tab-size: 4;
}

svg {
  width: var(--f5);
  height: var(--f5);
  vertical-align: text-bottom;
}

hr {
  border: var(--border3);
  border-width: 0 0 1px 0;
  margin: var(--x2) 0;
}

.small {
  font-family: var(--font3);
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--c2);
}

.caption {
  font-family: var(--font3);
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--c2);
}
.center + .caption {
  text-align: center;
}
blockquote + .caption {
  padding-left: calc(var(--x3) + var(--x5));
}

.callout {
  color: var(--c1);
  background-color: var(--bg2);
  padding: var(--x2);
  border: var(--border1);
  border-left: 3px solid var(--saffron);
  border-radius: 0 var(--x3) var(--x3) 0;
}
.callout.alert {
  background-color: rgba(201, 111, 74, 0.12);
  border-left-color: var(--ca);
}
.callout.note {
  background-color: rgba(242, 193, 120, 0.16);
  border-left-color: var(--gold);
}
.callout > :last-child {
  margin-bottom: 0;
}

.impact {
  font-family: var(--font2);
  font-style: italic;
  font-size: var(--f4);
  line-height: var(--g4);
}

.pop {
  box-shadow: var(--shadow-tier);
}

.highlight {
  background-color: rgba(242, 193, 120, 0.45);
  padding: var(--x6) 0;
}

.drop-cap {
  font-family: var(--font2);
  font-size: calc(var(--x2) * 2);
  line-height: 1em;
  color: var(--ca);
  margin-right: var(--x5);
  float: left;
}

.kicker {
  font-family: var(--font3);
  font-size: var(--f6);
  line-height: var(--g6);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: clamp(1.6rem, 4vw, 3rem);
}

.kicker::after {
  content: "";
  height: 1px;
  flex: 0 0 56px;
  background: currentColor;
  opacity: 0.45;
}

.sect h2 {
  font-size: var(--fs-h2);
  line-height: 1.04;
  max-width: 14em;
  margin-bottom: clamp(var(--x3), 3vw, 2.2rem);
}

.lede {
  max-width: 34em;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.68;
}

@media all and (min-width: 636px) {
  h1 {
    font-size: var(--f1);
    line-height: var(--g1);
  }
  h2 {
    font-size: var(--f2);
    line-height: var(--g2);
  }
  h3 {
    font-size: var(--f3);
    line-height: var(--g3);
  }
  h4 {
    font-size: var(--f4);
    line-height: var(--g4);
  }
  .impact {
    font-size: var(--f3);
    line-height: var(--g3);
  }
  .left:not(.bar) {
    float: left;
    clear: both;
    margin-right: var(--x2);
  }
  .right:not(.bar) {
    float: right;
    clear: both;
    margin-left: var(--x2);
  }
}
/* ── 5 · Dynamic page content ────────────────────────────────
   Page_Content wraps full design sections here, so content-flow
   margins are scoped to DIRECT children only — blanket p/ul
   margins would wreck the section components. Flat editor-typed
   pages get proper flow; section markup is untouched. */
.page-container, .headline-area, .page-content {
  display: flow-root;
}

.page-content > h1 {
  margin-bottom: var(--x2);
}
.page-content > h2 {
  margin-top: var(--x1);
  margin-bottom: var(--x2);
}
.page-content > h3 {
  margin-top: var(--x2);
  margin-bottom: var(--x3);
}
.page-content > h4 {
  margin-bottom: var(--x4);
}
.page-content > h1 + h2, .page-content > h2 + h3, .page-content > h1:first-child, .page-content > h2:first-child, .page-content > h3:first-child, .page-content > hr + h2 {
  margin-top: 0;
}
.page-content > ul {
  list-style-type: disc;
}
.page-content > ul, .page-content > ol {
  margin-left: var(--x2);
}
.page-content > ul ul, .page-content > ul ol, .page-content > ol ul, .page-content > ol ol {
  margin-top: var(--x5);
  margin-bottom: 0;
  margin-left: var(--x3);
}
.page-content > ul li, .page-content > ol li {
  margin-bottom: var(--x5);
}
.page-content > ul li:last-child, .page-content > ol li:last-child {
  margin-bottom: 0;
}
.page-content > p, .page-content > ul, .page-content > ol, .page-content > blockquote, .page-content > pre, .page-content > img, .page-content > .callout, .page-content > .caption {
  margin-bottom: var(--x2);
}
.page-content > p:last-child, .page-content > ul:last-child, .page-content > ol:last-child, .page-content > blockquote:last-child, .page-content > pre:last-child, .page-content > img:last-child, .page-content > .callout:last-child, .page-content > .caption:last-child {
  margin-bottom: 0;
}
.page-content > img + .caption, .page-content > .center + .caption {
  margin-top: calc(0px - var(--x3));
}
.page-content > h2 + .caption, .page-content > h3 + .caption {
  margin-top: calc(0px - var(--x4));
}
.page-content > :last-child {
  margin-bottom: 0;
}

/* ── 6 · Forms & buttons ───────────────────────────────────── */
label {
  display: block;
  font-family: var(--font1);
  font-weight: 500;
}
label .required {
  font-weight: 400;
  color: var(--ca);
}

input, textarea, select {
  display: block;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  font-family: var(--font1);
  font-size: var(--f5);
  line-height: 1em;
  color: var(--c1);
  background-color: var(--bg1);
  padding: 1rem 1.5rem;
  border: var(--border1);
  border-radius: 999px;
  transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--saffron);
  outline: none;
}

input[type=checkbox], input[type=radio], input[type=image], input[type=submit], select {
  width: auto;
}

input[type=checkbox], input[type=radio] {
  display: inline-block;
  accent-color: var(--saffron);
}
input[type=checkbox] + label, input[type=radio] + label {
  display: inline;
  font-weight: 400;
  margin-left: var(--x6);
  user-select: none;
}

textarea {
  line-height: inherit;
  resize: vertical;
  border-radius: var(--x3);
}

/* Buttons. Base = the design's sun pill; .btn is the source-design
   alias carried by the mapped content rows (see Pass 3 report —
   css-rules prefers .button-only; the alias keeps the Pass 2
   content map rendering and can be dropped if Pass 4 renames). */
button, input[type=submit], .button, .btn {
  display: inline-block;
  width: auto;
  cursor: pointer;
  overflow: visible;
  user-select: none;
  text-decoration: none;
  font-family: var(--font1);
  font-size: var(--f5);
  line-height: var(--g5);
  font-weight: 600;
  color: var(--night);
  background: var(--saffron);
  border: none;
  border-radius: 999px;
  padding: 1rem 1.9rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, background 0.3s ease;
}

button:hover, input[type=submit]:hover, .button:hover, .btn-sun:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(223, 138, 58, 0.45);
  color: var(--night);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(246, 238, 221, 0.55);
  color: var(--cream);
  font-weight: 500;
}

.btn-ghost:hover {
  transform: translateY(-3px);
  background: rgba(246, 238, 221, 0.1);
  box-shadow: none;
  color: var(--cream);
}

[data-theme=light] .btn-ghost {
  border-color: rgba(37, 31, 25, 0.4);
  color: var(--c1);
}

[data-theme=light] .btn-ghost:hover {
  background: rgba(37, 31, 25, 0.06);
  color: var(--c1);
}

.btn-sun--ink {
  background: var(--c1);
  color: var(--gold);
}

.btn-sun--ink:hover {
  box-shadow: 0 12px 32px rgba(37, 31, 25, 0.35);
  color: var(--gold);
}

button.save, .button.save {
  background: var(--ca);
  color: var(--cream);
}

button.save:hover, .button.save:hover {
  color: var(--cream);
}

button.delete, .button.delete {
  background: var(--night);
  color: var(--rose);
}

button.delete:hover, .button.delete:hover {
  box-shadow: 0 10px 30px rgba(19, 17, 36, 0.45);
  color: var(--rose);
}

button.action, .button.action {
  background: transparent;
  border: 1px solid rgba(37, 31, 25, 0.4);
  color: var(--c1);
  font-weight: 500;
}

button.action:hover, .button.action:hover {
  background: rgba(37, 31, 25, 0.06);
  box-shadow: none;
  color: var(--c1);
}

[data-theme=dark] button.action, [data-theme=dark] .button.action {
  border-color: rgba(246, 238, 221, 0.55);
  color: var(--cream);
}

[data-theme=dark] button.action:hover, [data-theme=dark] .button.action:hover {
  background: rgba(246, 238, 221, 0.1);
  color: var(--cream);
}

button.update, .button.update {
  background: var(--c1);
  color: var(--gold);
}

button.update:hover, .button.update:hover {
  box-shadow: 0 12px 32px rgba(37, 31, 25, 0.35);
  color: var(--gold);
}

/* ── 7 · Shared components ─────────────────────────────────── */
/* header — glass lives on a pseudo so the fixed mobile nav is not
   trapped by a backdrop-filter containing block */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--pad-x);
  color: var(--cream);
  transition: color 0.45s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(249, 242, 227, 0.78);
  box-shadow: 0 1px 0 rgba(37, 31, 25, 0.08);
  transition: opacity 0.45s ease, background 0.45s ease;
}

.site-header.scrolled {
  color: var(--c1);
}

.site-header.scrolled::before {
  opacity: 1;
}

.site-header.scrolled.on-dark {
  color: var(--cream);
}

.site-header.scrolled.on-dark::before {
  background: rgba(19, 17, 36, 0.66);
  box-shadow: 0 1px 0 rgba(246, 238, 221, 0.08);
}

/* light-hour templates start the header in ink (body-class keyed,
   replaces the source's body[data-theme="light"] rules) */
.hour-morning .site-header, .hour-day .site-header, .hour-golden .site-header {
  color: var(--c1);
}

.wordmark {
  font-family: var(--font2);
  font-size: 1.65rem;
  text-decoration: none;
  line-height: 1;
  letter-spacing: 0.01em;
}

.wordmark .o {
  background: radial-gradient(circle at 40% 32%, #ffce8f, var(--saffron) 62%, var(--ember));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.2vw, 2rem);
}
.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.68;
  font-weight: 500;
  opacity: 0.92;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  white-space: nowrap;
  transition: border-color 0.25s ease, opacity 0.25s ease;
}
.main-nav a:hover {
  border-color: currentColor;
  opacity: 1;
}
.main-nav a[aria-current=page] {
  border-color: currentColor;
  opacity: 1;
}
.main-nav .nav-cta {
  font-family: var(--font3);
  font-size: var(--f6);
  line-height: var(--g6);
  letter-spacing: 0.06em;
  background: var(--saffron);
  color: var(--night);
  border: none;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}
.main-nav .nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(223, 138, 58, 0.4);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid currentColor;
  color: inherit;
  font-family: var(--font3);
  font-size: 0.72rem;
  line-height: 1.68;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 880px) {
  .main-nav {
    display: none;
  }
  .main-nav.is-open {
    display: flex;
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.2rem;
    background: rgba(19, 17, 36, 0.96);
    backdrop-filter: blur(10px);
    color: var(--cream);
  }
  .main-nav.is-open a {
    font-family: var(--font2);
    font-size: 2rem;
    line-height: 1.68;
  }
  .main-nav.is-open .nav-cta {
    font-family: var(--font3);
    font-size: 0.9rem;
    line-height: 1.68;
  }
  .menu-toggle {
    display: block;
    position: relative;
    z-index: 110;
  }
  .site-header:has(.main-nav.is-open) .menu-toggle {
    color: var(--cream);
  }
}
/* companion sun */
.sun-companion {
  position: fixed;
  right: clamp(0.9rem, 2.6vw, 2.4rem);
  top: 18vh;
  z-index: 80;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 38% 35%, #ffd9a0, var(--saffron) 58%, var(--ember));
  box-shadow: 0 0 18px 6px rgba(223, 138, 58, 0.45);
  opacity: 0;
  transition: opacity 0.8s ease;
}

.sun-companion.is-on {
  opacity: 0.95;
}

.sun-companion.is-moon {
  background: radial-gradient(circle at 62% 38%, #fdf6e4, #cfc4b0 70%, rgba(157, 147, 132, 0.4901960784));
  box-shadow: 0 0 16px 5px rgba(246, 238, 221, 0.22);
}

.sun-companion .sun-label {
  position: absolute;
  right: 160%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font3);
  font-size: 0.66rem;
  line-height: 1.68;
  letter-spacing: 0.16em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0;
  transition: opacity 0.6s ease;
  text-shadow: 0 1px 8px rgba(19, 17, 36, 0.5);
}

.sun-companion.show-label .sun-label {
  opacity: 0.92;
}

/* footer */
.site-footer {
  position: relative;
  padding: var(--pad-y) var(--pad-x) 2rem;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: var(--border2);
}

.site-footer .wordmark {
  font-size: 2.2rem;
  line-height: 1;
}

.footer-dawnline {
  margin-top: var(--x3);
  font-family: var(--font2);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.68;
  color: var(--cream-soft);
  max-width: 16em;
}

.back-to-light {
  display: inline-block;
  margin-top: 1.6rem;
  font-family: var(--font3);
  font-size: 0.7rem;
  line-height: 1.68;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.back-to-light:hover {
  color: var(--saffron);
}

.site-footer h4 {
  font-family: var(--font3);
  font-size: 0.68rem;
  line-height: 1.68;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-soft);
  margin-bottom: var(--x3);
  font-weight: 500;
}

.site-footer ul {
  list-style: none;
  margin-bottom: 0;
}

.site-footer li {
  margin-bottom: 0.55rem;
}

.site-footer li a {
  text-decoration: none;
  opacity: 0.9;
  font-size: 0.97rem;
  line-height: 1.68;
}

.site-footer li a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--x3);
  justify-content: space-between;
  padding-top: 1.6rem;
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--cream-soft);
}

.footer-legal a {
  color: inherit;
}

.site-footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(239, 145, 104, 0.28), transparent);
}

@media (max-width: 880px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* CTA band (golden keep-bg closer on most interior pages) */
.cta-band {
  text-align: center;
}

.cta-band h2 {
  margin-inline: auto;
}

.cta-band .lede {
  margin: 0 auto 2.2rem;
}

/* reveal system (html.js gated; no-JS renders everything) */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}

html.js [data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ── 8 · Home template sections ────────────────────────────── */
/* hero · first light */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 7rem;
  padding-bottom: 0;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: var(--w-total);
  margin-inline: auto;
  width: 100%;
}

.hero-status {
  font-family: var(--font3);
  font-size: var(--f6);
  line-height: var(--g6);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-soft);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 2.2rem;
}

.hero-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 10px 2px rgba(239, 145, 104, 0.7);
  animation: status-pulse 3.4s var(--ease-breath) infinite;
}

.hero h1 {
  font-size: var(--fs-hero);
  line-height: 1.04;
  color: var(--cream);
  max-width: 9.5em;
  text-wrap: balance;
  margin-bottom: 1.6rem;
}

.hero h1 em {
  background: linear-gradient(100deg, #ffd9a0 10%, var(--rose) 55%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede {
  color: var(--cream);
  opacity: 0.94;
  margin-bottom: 2.6rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* horizon + breathing sun (chrome) */
.horizon {
  position: relative;
  z-index: 1;
  margin-top: clamp(2.5rem, 7vh, 5.5rem);
  height: clamp(150px, 24vh, 220px);
}

.horizon-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 238, 221, 0.65) 18%, rgba(246, 238, 221, 0.65) 82%, transparent);
}

.sun-glow {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 0;
  width: 160vw;
  max-width: 920px;
  height: clamp(260px, 42vh, 460px);
  pointer-events: none;
  background: radial-gradient(55% 100% at 50% 100%, rgba(255, 226, 174, 0.5), rgba(239, 145, 104, 0.22) 45%, transparent 72%);
  animation: glow-breathe 9.5s var(--ease-breath) infinite;
}

.breath-sun {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 1;
  width: calc(clamp(130px, 17vw, 190px) * 1.14);
  height: clamp(65px, 8.5vw, 95px);
  overflow: hidden;
  pointer-events: none;
}

.breath-sun::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: clamp(130px, 17vw, 190px);
  height: clamp(130px, 17vw, 190px);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #ffe2ae, var(--rose) 52%, var(--ember) 88%);
  animation: breathe 9.5s var(--ease-breath) infinite;
}

.breath-caption {
  position: absolute;
  left: 50%;
  bottom: clamp(72px, 9.5vw, 104px);
  transform: translateX(-50%);
  font-family: var(--font3);
  font-size: 0.7rem;
  line-height: 1.68;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
  white-space: nowrap;
  z-index: 2;
}

.scroll-cue {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1.1rem 0 1.4rem;
  font-family: var(--font3);
  font-size: 0.68rem;
  line-height: 1.68;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cream-soft);
}

.scroll-cue span {
  display: inline-block;
  animation: cue-drift 3.2s var(--ease-breath) infinite;
}

/* breath marquee (chrome — duplicated track IS the loop) */
.marquee {
  padding: 1.6rem 0;
  border-block: var(--border1);
  overflow: hidden;
}

.sect.marquee {
  padding-inline: 0;
}

.marquee-track {
  display: flex;
  gap: 3.4rem;
  width: max-content;
  animation: marquee-drift 46s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 3.4rem;
  white-space: nowrap;
  font-family: var(--font2);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.68;
}

.marquee-item .verb {
  font-style: italic;
  opacity: 0.7;
  font-size: 0.8em;
  line-height: 1.68;
}

.marquee-item .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
  background: radial-gradient(circle at 40% 35%, #ffd9a0, var(--saffron));
}

/* no.01 · the day (timeline) */
.day-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  position: relative;
  max-width: 860px;
}

.day-rail {
  position: absolute;
  left: 9px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: var(--line);
  border-radius: 2px;
}

.day-rail-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--rose), var(--saffron), var(--ember));
  border-radius: 2px;
}

.day-item {
  position: relative;
  padding: 1.6rem 0 1.6rem 3.4rem;
  border-bottom: var(--border1);
}

.day-item:last-child {
  border-bottom: none;
}

.day-item::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 2.25rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg1);
  border: 2px solid var(--c1);
  opacity: 0.4;
  transition: all 0.5s var(--ease-out);
}

.day-item.lit::before {
  background: radial-gradient(circle at 40% 35%, #ffd9a0, var(--saffron));
  border-color: var(--saffron);
  opacity: 1;
  box-shadow: 0 0 12px 3px rgba(223, 138, 58, 0.35);
}

.day-time {
  font-family: var(--font3);
  font-size: 0.92rem;
  line-height: 1.68;
  letter-spacing: 0.1em;
  color: var(--ca);
  margin-bottom: 0.35rem;
  display: block;
}

.day-item h3 {
  font-size: var(--fs-h3);
  line-height: 1.04;
  margin-bottom: 0.4rem;
}

.day-item p {
  max-width: 30em;
  color: var(--c2);
}

.day-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--x3);
  margin-top: 0.9rem;
}

.chip {
  font-family: var(--font3);
  font-size: 0.7rem;
  line-height: 1.68;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: var(--border1);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

.spaces {
  font-family: var(--font3);
  font-size: var(--f6);
  line-height: var(--g6);
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--c1);
  border-bottom: 1px solid var(--saffron);
  padding-bottom: 1px;
}

.spaces::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--saffron);
}

.spaces.low::before {
  background: var(--ember);
  animation: status-pulse 2.2s var(--ease-breath) infinite;
}

.spaces.full {
  color: var(--c2);
  border-bottom-color: var(--c2);
}

.spaces.full::before {
  background: transparent;
  border: 1.5px solid var(--ember);
}

.spaces:hover {
  opacity: 0.75;
}

/* no.02 · the practice */
.practice-list {
  counter-reset: practice;
  border-top: var(--border1);
}

.practice-row {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1.15fr) minmax(0, 1fr) auto;
  gap: 1.4rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: var(--border1);
  text-decoration: none;
  color: inherit;
  transition: background 0.35s ease, padding-left 0.35s var(--ease-out);
}

.practice-row:hover {
  background: rgba(223, 138, 58, 0.07);
  padding-left: 0.9rem;
}

.practice-row--static {
  cursor: default;
}

.practice-row .num {
  font-family: var(--font3);
  font-size: var(--f6);
  line-height: var(--g6);
  letter-spacing: 0.1em;
  color: var(--c2);
}

.practice-row h3 {
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  line-height: 1.04;
  transition: font-style 0.2s ease, color 0.3s ease;
}

.practice-row:hover h3 {
  font-style: italic;
  color: var(--ca);
}

.practice-row .blurb {
  font-size: 0.95rem;
  line-height: 1.68;
  color: var(--c2);
  max-width: 26em;
}

.energy {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
  justify-self: end;
}

.energy i {
  width: 4px;
  border-radius: 2px;
  background: var(--line);
  height: 30%;
}

.energy i.on {
  background: var(--saffron);
}

.energy[data-level="1"] i:nth-child(-n+1),
.energy[data-level="2"] i:nth-child(-n+2),
.energy[data-level="3"] i:nth-child(-n+3),
.energy[data-level="4"] i:nth-child(-n+4),
.energy[data-level="5"] i:nth-child(-n+5) {
  background: var(--saffron);
}

.energy i:nth-child(1) {
  height: 28%;
}

.energy i:nth-child(2) {
  height: 44%;
}

.energy i:nth-child(3) {
  height: 60%;
}

.energy i:nth-child(4) {
  height: 78%;
}

.energy i:nth-child(5) {
  height: 100%;
}

.energy-tag {
  font-family: var(--font3);
  font-size: 0.66rem;
  line-height: 1.68;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c2);
  justify-self: end;
  margin-top: 0.4rem;
}

.practice-cols {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}

@media (max-width: 760px) {
  .practice-row {
    grid-template-columns: 2.2rem minmax(0, 1fr) auto;
    gap: var(--x3);
  }
  .practice-row .blurb {
    display: none;
  }
}
/* no.03 · the rooms */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

.room-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.room-card figure {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--x3);
  overflow: hidden;
  background: linear-gradient(160deg, var(--dusk-b), var(--rose));
  margin-bottom: var(--x3);
}

.room-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) sepia(0.06);
  transition: transform 1.4s var(--ease-out), filter 0.8s ease;
}

.room-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.05) sepia(0);
}

.room-card figure.img-missing::after {
  content: attr(data-initial);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font2);
  font-size: 5rem;
  line-height: 1.04;
  color: rgba(246, 238, 221, 0.85);
}

.light-note {
  position: absolute;
  left: 1rem;
  bottom: 0.9rem;
  z-index: 2;
  font-family: var(--font3);
  font-size: 0.64rem;
  line-height: 1.68;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(19, 17, 36, 0.45);
  backdrop-filter: blur(6px);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.room-card h3 {
  font-size: var(--fs-h3);
  line-height: 1.04;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}

.room-card h3 .coords {
  font-family: var(--font3);
  font-size: 0.62rem;
  line-height: 1.04;
  letter-spacing: 0.12em;
  color: var(--c2);
  font-style: normal;
}

.room-card p {
  color: var(--c2);
  font-size: 0.97rem;
  line-height: 1.68;
  max-width: 28em;
}

.room-link {
  display: inline-block;
  margin-top: var(--x4);
  font-family: var(--font3);
  font-size: var(--f6);
  line-height: var(--g6);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ca);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.room-card:hover .room-link {
  color: var(--saffron);
}

.room-online {
  grid-column: 1/-1;
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(120deg, var(--night) 0%, #2b2350 70%, #4f3b66 100%);
  color: var(--cream);
  border-radius: var(--x3);
  padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1.5rem, 4vw, 3rem);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.room-online::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.8;
  background: radial-gradient(1.5px 1.5px at 12% 30%, rgba(246, 238, 221, 0.9), transparent 60%), radial-gradient(1px 1px at 28% 70%, rgba(246, 238, 221, 0.7), transparent 60%), radial-gradient(1.5px 1.5px at 47% 22%, rgba(246, 238, 221, 0.8), transparent 60%), radial-gradient(1px 1px at 63% 58%, rgba(246, 238, 221, 0.65), transparent 60%), radial-gradient(1.5px 1.5px at 78% 32%, rgba(246, 238, 221, 0.85), transparent 60%), radial-gradient(1px 1px at 90% 68%, rgba(246, 238, 221, 0.7), transparent 60%);
}

.room-online h3 {
  font-size: var(--fs-h3);
  line-height: 1.04;
  margin-bottom: 0.4rem;
}

.room-online p {
  color: var(--cream-soft);
  max-width: 30em;
}

.room-online .room-link {
  color: var(--gold);
}

@media (max-width: 880px) {
  .rooms-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* no.04 · golden hour offer */
.offer {
  text-align: center;
}

.offer .kicker {
  justify-content: center;
}

.offer .kicker::after {
  display: none;
}

.offer h2 {
  margin-inline: auto;
}

.offer .lede {
  margin: 0 auto var(--x1);
}

.ticket {
  display: inline-flex;
  align-items: stretch;
  text-align: left;
  background: var(--bg1);
  border-radius: var(--x3);
  overflow: hidden;
  box-shadow: var(--shadow-ticket);
  transform: rotate(-1.4deg);
  transition: transform 0.5s var(--ease-out);
  margin-bottom: 2.6rem;
  max-width: 100%;
}

.ticket:hover {
  transform: rotate(0deg) translateY(-4px);
}

.ticket-main {
  padding: clamp(1.6rem, 4vw, 2.4rem) clamp(1.8rem, 4vw, 2.8rem);
}

.ticket-price {
  font-family: var(--font2);
  font-size: clamp(3.4rem, 8vw, 5.4rem);
  line-height: 1;
  color: var(--c1);
}

.ticket-price sup {
  font-size: 0.38em;
  line-height: 1;
  vertical-align: 1.1em;
  margin-right: 0.08em;
}

.ticket-terms {
  font-family: var(--font3);
  font-size: var(--f6);
  line-height: var(--g6);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c2);
  margin-top: var(--x4);
}

.ticket-stub {
  border-left: var(--border3);
  padding: 1.4rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font3);
  font-size: 0.64rem;
  line-height: 1.68;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--c2);
  writing-mode: vertical-rl;
}

.offer .btn-sun {
  background: var(--c1);
  color: var(--gold);
}

.offer .btn-sun:hover {
  box-shadow: 0 12px 32px rgba(37, 31, 25, 0.35);
  color: var(--gold);
}

.testimonial {
  margin-top: 4rem;
}

.stars {
  color: var(--ca);
  letter-spacing: 0.3em;
  font-size: 0.95rem;
  line-height: 1.68;
  margin-bottom: var(--x3);
}

.testimonial blockquote {
  font-family: var(--font2);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.3;
  max-width: 24em;
  margin: 0 auto 0.9rem;
  padding-left: 0;
  border-left: none;
}

.testimonial cite {
  font-family: var(--font3);
  font-style: normal;
  font-size: var(--f6);
  line-height: var(--g6);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c2);
}

/* no.05 · the faculty (dusk) */
.faculty-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2rem, 5vw, 4.5rem);
  border-top: var(--border2);
}

.teacher {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1.5rem 0;
  border-bottom: var(--border2);
  transition: padding-left 0.35s var(--ease-out);
}

.teacher:hover {
  padding-left: 0.7rem;
}

.teacher h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.04;
  margin-bottom: 0.3rem;
}

.teacher:hover h3 {
  font-style: italic;
  color: var(--gold);
}

.teacher .tag {
  font-family: var(--font3);
  font-size: 0.64rem;
  line-height: 1.68;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.45rem;
}

.teacher p {
  font-size: 0.95rem;
  line-height: 1.68;
  color: var(--cream-soft);
  max-width: 30em;
}

@media (max-width: 760px) {
  .faculty-list {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* no.06 · asked at the door (FAQ) */
.faq-wrap {
  max-width: 780px;
}

.faq-wrap details {
  border-bottom: var(--border2);
}

.faq-wrap summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  font-family: var(--font2);
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
  line-height: 1.68;
}

.faq-wrap summary::-webkit-details-marker {
  display: none;
}

.faq-wrap summary .ind {
  flex: none;
  width: 30px;
  height: 30px;
  border: var(--border2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font1);
  font-size: 1.1rem;
  line-height: 1.68;
  font-weight: 400;
  transition: transform 0.4s var(--ease-out), background 0.3s ease, color 0.3s ease;
}

.faq-wrap details[open] .ind {
  transform: rotate(45deg);
  background: var(--gold);
  color: var(--night);
  border-color: var(--gold);
}

.faq-wrap details p {
  padding: 0 0 1.6rem;
  color: var(--cream-soft);
  max-width: 36em;
}

/* no.07 · after dark */
.afterdark {
  overflow: hidden;
}

.star-field, .star-field::before, .star-field::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.star-field::before {
  content: "";
  background: radial-gradient(1.6px 1.6px at 8% 18%, rgba(246, 238, 221, 0.9), transparent 60%), radial-gradient(1px 1px at 21% 64%, rgba(246, 238, 221, 0.6), transparent 60%), radial-gradient(1.4px 1.4px at 33% 30%, rgba(246, 238, 221, 0.8), transparent 60%), radial-gradient(1px 1px at 44% 80%, rgba(246, 238, 221, 0.55), transparent 60%), radial-gradient(1.7px 1.7px at 56% 14%, rgba(246, 238, 221, 0.9), transparent 60%), radial-gradient(1px 1px at 67% 47%, rgba(246, 238, 221, 0.6), transparent 60%), radial-gradient(1.4px 1.4px at 79% 72%, rgba(246, 238, 221, 0.75), transparent 60%), radial-gradient(1.2px 1.2px at 88% 26%, rgba(246, 238, 221, 0.85), transparent 60%), radial-gradient(1px 1px at 95% 58%, rgba(246, 238, 221, 0.6), transparent 60%);
  animation: twinkle 7s var(--ease-breath) infinite;
}

.star-field::after {
  content: "";
  background: radial-gradient(1px 1px at 14% 42%, rgba(246, 238, 221, 0.7), transparent 60%), radial-gradient(1.3px 1.3px at 27% 12%, rgba(246, 238, 221, 0.8), transparent 60%), radial-gradient(1px 1px at 39% 56%, rgba(246, 238, 221, 0.5), transparent 60%), radial-gradient(1.5px 1.5px at 52% 38%, rgba(246, 238, 221, 0.85), transparent 60%), radial-gradient(1px 1px at 61% 84%, rgba(246, 238, 221, 0.55), transparent 60%), radial-gradient(1.2px 1.2px at 73% 22%, rgba(246, 238, 221, 0.7), transparent 60%), radial-gradient(1px 1px at 84% 50%, rgba(246, 238, 221, 0.6), transparent 60%), radial-gradient(1.4px 1.4px at 93% 78%, rgba(246, 238, 221, 0.8), transparent 60%);
  animation: twinkle 9s var(--ease-breath) infinite reverse;
}

.moon {
  position: absolute;
  top: clamp(3rem, 8vw, 5rem);
  right: clamp(1.5rem, 8vw, 7rem);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 62% 38%, #fdf6e4, #cfc4b0 72%, #a99e8c);
  box-shadow: inset -12px 8px 0 2px #1d1a33, 0 0 30px 6px rgba(246, 238, 221, 0.18);
}

.moon--high {
  top: var(--x3);
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--x3);
  margin: 2.6rem 0 2.2rem;
  max-width: 980px;
}

.library-card {
  position: relative;
  border: var(--border2);
  border-radius: var(--x3);
  padding: 1.6rem 1.7rem;
  background: rgba(246, 238, 221, 0.04);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.4s ease, background 0.4s ease, transform 0.4s var(--ease-out);
}

.library-card:hover {
  border-color: rgba(242, 193, 120, 0.65);
  background: rgba(242, 193, 120, 0.07);
  transform: translateY(-3px);
}

.library-card h3 {
  font-size: 1.45rem;
  line-height: 1.04;
  margin-bottom: 0.4rem;
}

.library-card .meta {
  font-family: var(--font3);
  font-size: 0.72rem;
  line-height: 1.68;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-soft);
}

.library-card .card-note {
  margin-top: 0.6rem;
  font-size: 0.93rem;
  line-height: 1.68;
  color: var(--cream-soft);
}

.library-card .card-status {
  margin-top: 0.8rem;
  color: var(--gold);
}

.badge {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  font-family: var(--font3);
  font-size: 0.6rem;
  line-height: 1.68;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--night);
  background: var(--gold);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
}

.afterdark .price-note {
  color: var(--cream-soft);
  font-size: 0.95rem;
  line-height: 1.68;
  margin-bottom: var(--x2);
  max-width: 34em;
}

@media (max-width: 760px) {
  .library-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* no.08 · the letter (newsletter — stub form is replaced by the
   EP Newsletter form at build) */
.letter .lede {
  margin-bottom: 2.4rem;
}

.letter-form {
  display: flex;
  flex-direction: column;
  gap: var(--x3);
  max-width: 520px;
}

.letter-form--contact {
  max-width: 620px;
}

.letter-form .row {
  display: flex;
  gap: var(--x4);
  flex-wrap: wrap;
}

.letter-form input[type=email] {
  flex: 1;
  min-width: 240px;
  background: rgba(246, 238, 221, 0.07);
  border: var(--border2);
  border-radius: 999px;
  padding: 1rem 1.5rem;
  color: var(--cream);
  font-family: var(--font1);
  font-size: 1rem;
  line-height: 1.68;
  transition: border-color 0.3s ease;
}

.letter-form input[type=email]::placeholder {
  color: rgba(246, 238, 221, 0.45);
}

.letter-form input[type=email]:focus {
  border-color: var(--gold);
  outline: none;
}

.letter-input {
  flex: 1;
  min-width: 240px;
  background: rgba(246, 238, 221, 0.07);
  border: var(--border2);
  border-radius: 999px;
  padding: 1rem 1.5rem;
  color: var(--cream);
  font-family: var(--font1);
  font-size: 1rem;
  line-height: 1.68;
  transition: border-color 0.3s ease;
}

.letter-textarea {
  flex: 1;
  min-width: 240px;
  background: rgba(246, 238, 221, 0.07);
  border: var(--border2);
  border-radius: var(--x3);
  padding: 1rem 1.5rem;
  color: var(--cream);
  font-family: var(--font1);
  font-size: 1rem;
  line-height: 1.68;
  resize: vertical;
  transition: border-color 0.3s ease;
}

.letter-input:focus, .letter-textarea:focus {
  border-color: var(--gold);
  outline: none;
}

.letter-form button {
  border: none;
  cursor: pointer;
  font-family: var(--font1);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.68;
  background: var(--saffron);
  color: var(--night);
  border-radius: 999px;
  padding: 1rem 1.9rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.letter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(223, 138, 58, 0.4);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--cream-soft);
  max-width: 30em;
}

.consent input {
  margin-top: 0.3rem;
  accent-color: var(--saffron);
}

.letter-success {
  font-family: var(--font2);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.68;
  color: var(--gold);
}

/* ── 8b · Interior page sections ───────────────────────────── */
.page-hero {
  padding-top: 9.5rem;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.crumb {
  font-family: var(--font3);
  font-size: var(--f6);
  line-height: var(--g6);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  gap: var(--x4);
  margin-bottom: 1.8rem;
  opacity: 0.85;
}

.crumb a {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

.page-title {
  font-size: clamp(2.7rem, 7.5vw, 5.6rem);
  line-height: 1.04;
  max-width: 11em;
  margin-bottom: 1.4rem;
  text-wrap: balance;
}

.page-hero .lede {
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.prose {
  max-width: var(--w-content);
}

.prose h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.04;
  margin: 2.2em 0 0.55em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p, .prose li {
  opacity: 0.88;
  margin-bottom: 1.05em;
}

.prose ul {
  padding-left: 1.25em;
  margin-bottom: 1.2em;
}

.prose li {
  margin-bottom: 0.45em;
}

.prose strong {
  font-weight: 600;
  opacity: 1;
}

.prose a {
  color: var(--ca);
}

[data-theme=dark] .prose a {
  color: var(--gold);
}

.prose hr {
  border: none;
  border-top: 1px solid currentColor;
  opacity: 0.22;
  margin: 2.5em 0;
}

/* pricing tiers */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 1.4rem;
  margin-top: var(--x1);
  text-align: left;
}

.tier {
  background: var(--bg1);
  color: var(--c1);
  border-radius: var(--x3);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-tier);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: transform 0.4s var(--ease-out);
}

.tier:hover {
  transform: translateY(-4px);
}

.tier .t-name {
  font-family: var(--font3);
  font-size: 0.7rem;
  line-height: 1.68;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c2);
}

.tier .t-price {
  font-family: var(--font2);
  font-size: 2.7rem;
  line-height: 1.1;
}

.tier .t-price span {
  font-size: 1rem;
  line-height: 1.1;
  font-family: var(--font1);
  color: var(--c2);
}

.tier p {
  font-size: 0.95rem;
  line-height: 1.68;
  color: var(--c2);
  flex: 1;
}

.tier .room-link {
  align-self: flex-start;
}

.tier.featured {
  background: var(--c1);
  color: var(--cream);
}

.tier.featured .t-name, .tier.featured .room-link {
  color: var(--gold);
}

.tier.featured p, .tier.featured .t-price span {
  color: var(--cream-soft);
}

/* schedule */
.sched-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin: 2.2rem 0 0.5rem;
}

.sched-tools .lab {
  font-family: var(--font3);
  font-size: 0.66rem;
  line-height: 1.68;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-right: 0.3rem;
}

.chip-btn {
  font-family: var(--font3);
  font-size: 0.7rem;
  line-height: 1.68;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  border: var(--border1);
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.chip-btn:hover {
  border-color: var(--ca);
  color: var(--ca);
}

.chip-btn[aria-pressed=true] {
  background: var(--c1);
  color: var(--gold);
  border-color: var(--c1);
}

.sched-day {
  margin-top: var(--x1);
}

.sect h2.sched-date {
  max-width: none;
  font-family: var(--font3);
  font-size: 0.78rem;
  line-height: 1.04;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ca);
  display: flex;
  align-items: center;
  gap: var(--x3);
  margin-bottom: 0.3rem;
}

.sched-date::after {
  content: "";
  height: 1px;
  flex: 1;
  background: currentColor;
  opacity: 0.35;
}

.class-row {
  display: grid;
  grid-template-columns: 44px 84px minmax(0, 1fr) auto auto;
  gap: var(--x3);
  align-items: center;
  padding: 1.05rem 0;
  border-bottom: var(--border1);
  text-decoration: none;
  color: inherit;
  transition: background 0.3s ease, padding-left 0.3s var(--ease-out);
}

.class-row:hover {
  background: rgba(223, 138, 58, 0.07);
  padding-left: 0.5rem;
}

.class-row .when {
  font-family: var(--font3);
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--ca);
}

.class-row .what {
  font-family: var(--font2);
  font-size: 1.3rem;
  line-height: 1.15;
}

.class-row .who {
  display: block;
  font-family: var(--font1);
  font-size: 0.8rem;
  line-height: 1.68;
  color: var(--c2);
  margin-top: 0.2rem;
}

.class-row .book {
  font-family: var(--font3);
  font-size: 0.68rem;
  line-height: 1.68;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ca);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  justify-self: end;
  white-space: nowrap;
}

.class-row[hidden] {
  display: none;
}

.sched-day[hidden] {
  display: none;
}

/* sun-arc glyph — sin() inside calc() is intentional modern CSS;
   the values ride on custom properties so the SCSS compiler passes
   them through verbatim (verify live in Pass 6) */
.sun-arc {
  width: 38px;
  height: 19px;
  border: var(--border1);
  border-bottom: none;
  border-radius: 38px 38px 0 0;
  position: relative;
}

.sun-arc i {
  --arc-x: calc(var(--t, .5)*100% - 3.5px);
  --arc-y: calc(sin(var(--t, .5)*3.14159)*14px - 3.5px);
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #ffd9a0, var(--saffron));
  left: var(--arc-x);
  bottom: var(--arc-y);
}

@supports not (width: calc(sin(1) * 1px)) {
  .sun-arc i {
    bottom: -3.5px;
  }
}
.sched-empty {
  display: none;
  margin-top: 2.5rem;
  font-family: var(--font2);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.68;
  opacity: 0.8;
}

.sched-empty.show {
  display: block;
}

@media (max-width: 760px) {
  .class-row {
    grid-template-columns: 70px minmax(0, 1fr) auto;
  }
  .class-row .sun-arc, .class-row .chip {
    display: none;
  }
}
/* people */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
  margin-top: 2.6rem;
}

.person {
  display: block;
  text-decoration: none;
  color: inherit;
}

.person figure {
  aspect-ratio: 4/5;
  border-radius: var(--x3);
  overflow: hidden;
  margin-bottom: var(--x3);
  background: linear-gradient(160deg, var(--dusk-a), var(--ember));
}

.person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 1.2s var(--ease-out);
}

.person:hover img {
  transform: scale(1.045);
}

.person .tag {
  font-family: var(--font3);
  font-size: 0.62rem;
  line-height: 1.68;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.35rem;
}

.person h3 {
  font-size: 1.45rem;
  line-height: 1.04;
}

.person:hover h3 {
  font-style: italic;
  color: var(--gold);
}

.person p {
  font-size: 0.92rem;
  line-height: 1.68;
  opacity: 0.8;
  margin-top: 0.3rem;
}

/* teacher bio */
.bio-grid {
  display: grid;
  grid-template-columns: minmax(250px, 370px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.bio-grid figure {
  aspect-ratio: 4/5;
  border-radius: var(--x3);
  overflow: hidden;
  position: sticky;
  top: 7rem;
  background: linear-gradient(160deg, var(--dusk-a), var(--ember));
}

.bio-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spec-line {
  font-family: var(--font3);
  font-size: 0.72rem;
  line-height: 2.1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 2rem 0;
  padding: 1.1rem 0;
  border-block: 1px solid currentColor;
  opacity: 0.9;
}

@media (max-width: 880px) {
  .bio-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .bio-grid figure {
    position: static;
    max-width: 420px;
  }
}
/* first-timers steps */
.step-list {
  counter-reset: s;
  margin-top: 2.5rem;
  max-width: 760px;
}

.step {
  padding: 1.7rem 0;
  border-bottom: var(--border2);
}

.step::before {
  counter-increment: s;
  content: counter(s, decimal-leading-zero);
  font-family: var(--font3);
  color: var(--gold);
  font-size: var(--f6);
  line-height: var(--g6);
  letter-spacing: 0.24em;
  display: block;
  margin-bottom: 0.55rem;
}

.step h3 {
  font-size: var(--fs-h3);
  line-height: 1.04;
  margin-bottom: 0.45rem;
}

.step p {
  color: var(--cream-soft);
  max-width: 34em;
}

/* workshops */
.ws-card {
  border: var(--border2);
  border-radius: var(--x3);
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  margin-top: 1.4rem;
  background: rgba(246, 238, 221, 0.04);
}

.ws-card h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.04;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: baseline;
}

.ws-price {
  font-family: var(--font3);
  font-size: var(--f6);
  line-height: var(--g6);
  letter-spacing: 0.1em;
  color: var(--gold);
}

.ws-card > p {
  color: var(--cream-soft);
  max-width: 40em;
  margin-top: var(--x4);
}

.ws-card ul {
  list-style: none;
  margin-top: var(--x3);
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
}

.ws-card li {
  font-family: var(--font3);
  font-size: 0.66rem;
  line-height: 1.68;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-soft);
}

.ws-card li::before {
  content: "· ";
}

.ws-card .room-link {
  margin-top: 1.4rem;
  display: inline-block;
  color: var(--gold);
}

/* journal */
.post {
  display: block;
  padding: 1.6rem 0;
  border-bottom: var(--border1);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.3s var(--ease-out);
}

.post:hover {
  padding-left: 0.6rem;
}

.post h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.04;
}

.post:hover h3 {
  font-style: italic;
  color: var(--ca);
}

.post p {
  color: var(--c2);
  max-width: 40em;
  margin-top: 0.35rem;
}

/* studio detail */
.studio-photo {
  border-radius: var(--x3);
  overflow: hidden;
  margin: 2.5rem 0;
  aspect-ratio: 16/9;
  background: linear-gradient(160deg, var(--dusk-b), var(--rose));
}

.studio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.6rem);
  margin-top: 2.6rem;
}

.fact h3 {
  font-size: 1.35rem;
  line-height: 1.04;
  margin-bottom: 0.5rem;
}

.fact p, .fact li {
  font-size: 0.96rem;
  line-height: 1.68;
  opacity: 0.85;
}

.fact ul {
  list-style: none;
  margin-bottom: 0;
}

.fact li {
  padding: 0.45rem 0;
  border-bottom: var(--border1);
}

[data-theme=dark] .fact li {
  border-color: var(--line-dark);
}

/* ── 9 · Utilities, keyframes & motion safety ──────────────── */
.u-rel {
  position: relative;
}

.u-center {
  margin-left: auto;
  margin-right: auto;
}

.u-left {
  text-align: left;
}

.u-measure {
  max-width: var(--w-content);
}

.u-grid-wide {
  max-width: none;
}

.u-wrap-narrow {
  max-width: 860px;
  margin-inline: auto;
}

.u-mt-s {
  margin-top: var(--x3);
}

.u-mt-m {
  margin-top: var(--x2);
}

.u-mt-l {
  margin-top: var(--x1);
}

.u-mt-xl {
  margin-top: calc(var(--x1) * var(--phi));
}

.u-mb-s {
  margin-bottom: var(--x3);
}

.u-mb-m {
  margin-bottom: var(--x2);
}

.u-mb-l {
  margin-bottom: var(--x1);
}

.u-note {
  font-size: 0.95rem;
  line-height: 1.68;
}

.link-ember {
  color: var(--ca);
}

.link-gold {
  color: var(--gold);
}

@keyframes status-pulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}
@keyframes glow-breathe {
  0%, 100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}
@keyframes breathe {
  0%, 100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.06);
  }
}
@keyframes cue-drift {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}
@keyframes marquee-drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes twinkle {
  0%, 100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}
/* responsive companion sun (unified 720 → 760 break) */
@media (max-width: 760px) {
  .sun-companion {
    width: 12px;
    height: 12px;
  }
  .sun-companion .sun-label {
    display: none;
  }
}
/* motion safety — enumerated kills (same selectors as the rules
   that animate/transition, placed last so cascade order wins;
   without importance overrides) */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-status::before, .sun-glow, .breath-sun::before, .scroll-cue span, .spaces.low::before, .star-field::before, .star-field::after {
    animation: none;
  }
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }
  .skip-link, .site-header, .site-header::before, .main-nav a, .main-nav .nav-cta, button, input[type=submit], .button, .btn, input, textarea, select, .room-card img, .day-item::before, .practice-row, .practice-row h3, .library-card, .letter-form input[type=email], .letter-input, .letter-textarea, .letter-form button, .faq-wrap summary .ind, .tier, .chip-btn, .class-row, .person img, .post, .teacher, .ticket {
    transition: none;
  }
  .sun-companion {
    display: none;
  }
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}