/* ==========================================================================
   Buddha Hall Toronto — Design System
   A shared space for meditation & celebration, every Saturday.
   Palette drawn from the hall itself: sandstone, maroon robes, sunrise
   saffron, candle gold, garden sage.

   ROLE SPLIT — maroon carries text, saffron carries light.
   Maroon is 8.8:1 on the cream ground, so every small label, eyebrow and
   link uses it. Saffron is only 3.4:1, so it never carries text: it does
   glows, gradients, tints and the mandala, where contrast does not apply.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Light — "morning hall" */
  --bg:            #FBF7F0;
  --bg-alt:        #F4EDE1;
  --surface:       #FFFFFF;
  --surface-2:     #FAF5EC;
  --line:          #E5D9C7;
  --line-soft:     #EFE7D9;

  --ink:           #2A211C;
  --ink-soft:      #55483F;
  --muted:         #7A6B5F;

  --saffron:       #D2691E;
  --maroon:        #7A2B3A;
  --gold:          #B78B2B;
  --sage:          #64775E;
  --sky:           #4E6E86;

  --accent-text:   var(--maroon);    /* 8.80:1 on --bg  — labels, links, eyebrows */
  --accent-fill:   var(--saffron);   /* light only      — glows, tints, mandala   */

  /* Fixed deep pair for surfaces carrying white text, identical in both
     themes so a button never washes out at night. White: 9.40 / 4.86. */
  --deep-from:     #7A2B3A;
  --deep-to:       #B8541A;

  --shadow-sm: 0 1px 2px rgba(42,33,28,.05), 0 2px 8px rgba(42,33,28,.04);
  --shadow-md: 0 2px 6px rgba(42,33,28,.06), 0 12px 30px rgba(42,33,28,.08);
  --shadow-lg: 0 4px 12px rgba(42,33,28,.07), 0 24px 60px rgba(42,33,28,.12);
  --ring: 0 0 0 3px rgba(210,105,30,.28);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  --f-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --f-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --wrap-narrow: 760px;
  --nav-h: 74px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* Dark — "evening hall, lamps lit" */
:root[data-theme="dark"] {
  --bg:            #14100D;
  --bg-alt:        #1B1512;
  --surface:       #1E1815;
  --surface-2:     #241D19;
  --line:          #3A2F28;
  --line-soft:     #2C2420;

  --ink:           #F3EADC;
  --ink-soft:      #D6C7B5;
  --muted:         #A2907F;

  --saffron:       #E8944F;
  --maroon:        #C8756C;   /* warmed from #C4707F, which read as dusty rose */
  --gold:          #D9AE49;
  --sage:          #8FA487;
  --sky:           #8AAFC7;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.35), 0 2px 8px rgba(0,0,0,.25);
  --shadow-md: 0 2px 6px rgba(0,0,0,.4), 0 12px 30px rgba(0,0,0,.35);
  --shadow-lg: 0 4px 12px rgba(0,0,0,.45), 0 24px 60px rgba(0,0,0,.5);
  --ring: 0 0 0 3px rgba(232,148,79,.32);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}

img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.15rem; }

p { text-wrap: pretty; }
::selection { background: var(--deep-from); color: #fff; }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 6px;
}

/* ---------- 3. Layout helpers ---------- */
.wrap { width: min(100% - 3rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 3rem, var(--wrap-narrow)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--alt { background: var(--bg-alt); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

/* ---------- 4. Type utilities ---------- */
.kicker {
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-text);
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
.kicker::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  opacity: .6;
}
.kicker--center { justify-content: center; }
.kicker--center::after {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  opacity: .6;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  line-height: 1.75;
}
.section-head { max-width: 660px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin: .8rem 0 1rem; }

.serif-quote {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.42;
  color: var(--ink);
  font-style: italic;
  font-weight: 400;
}
.attrib {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.9rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: .93rem;
  font-weight: 600;
  letter-spacing: .015em;
  cursor: pointer;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease),
              background-color .25s, color .25s, border-color .25s;
  white-space: nowrap;
  background: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--deep-from), var(--deep-to));
  color: #fff;
  box-shadow: 0 4px 14px rgba(122,43,58,.30);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(122,43,58,.42); }

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}
.btn-ghost:hover { border-color: var(--accent-text); color: var(--accent-text); }

.btn-quiet { color: var(--ink); padding-inline: 1rem; }
.btn-quiet:hover { color: var(--accent-text); }

.btn-sm { padding: .6rem 1.2rem; font-size: .84rem; }
.btn-lg { padding: 1.1rem 2.4rem; font-size: 1rem; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--accent-text);
}
.link-arrow svg { transition: transform .3s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 6. Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 90;
  display: flex;
  align-items: center;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line-soft);
}
.nav__inner {
  width: min(100% - 3rem, var(--wrap));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: .7rem; }
.brand__mark { width: 38px; height: 38px; flex: none; color: var(--saffron); }
.brand__text { line-height: 1.05; }
.brand__name {
  font-family: var(--f-display);
  font-size: 1.32rem;
  color: var(--ink);
  font-weight: 600;
  display: block;
}
.brand__sub {
  font-size: .58rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: .35rem;
  list-style: none;
  padding: 0;
}
.nav__links a {
  padding: .5rem .85rem;
  border-radius: var(--r-pill);
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color .25s;
}
.nav__links a:hover { color: var(--accent-text); }
.nav__links a.is-active { color: var(--ink); font-weight: 600; }
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: .18rem;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--saffron);
  transform: translateX(-50%);
}

.nav__actions { display: flex; align-items: center; gap: .6rem; }

.icon-btn {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
  transition: color .25s, border-color .25s, transform .25s var(--ease-out);
}
.icon-btn:hover { color: var(--accent-text); border-color: var(--accent-text); transform: rotate(-12deg); }

.nav__burger { display: none; }

@media (max-width: 940px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__burger { display: grid; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--bg);
  padding: calc(var(--nav-h) + 2rem) 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  transform: translateY(-100%);
  transition: transform .55s var(--ease-out);
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--f-display);
  font-size: 2rem;
  color: var(--ink);
  padding: .55rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .btn { margin-top: 1.5rem; border-bottom: none; font-family: var(--f-body); font-size: .95rem; }
.mobile-close { position: absolute; top: 1.4rem; right: 1.6rem; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: grid;
  align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 78% 18%, color-mix(in srgb, var(--saffron) 20%, transparent) 0%, transparent 58%),
    radial-gradient(90% 70% at 12% 82%, color-mix(in srgb, var(--maroon) 14%, transparent) 0%, transparent 60%),
    radial-gradient(70% 60% at 50% 0%, color-mix(in srgb, var(--gold) 12%, transparent) 0%, transparent 55%);
  z-index: -2;
}
.hero__grain {
  position: absolute; inset: 0; z-index: -1;
  opacity: .5;
  background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ink) 10%, transparent) 1px, transparent 0);
  background-size: 26px 26px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 0%, transparent 100%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: center;
}
.hero__title { margin: 1.4rem 0 1.5rem; }
.hero__title em { font-style: italic; color: var(--accent-text); }
.hero__lead { max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
  margin-top: 3.2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.hero__meta div strong {
  display: block;
  font-family: var(--f-display);
  font-size: 2.1rem;
  color: var(--ink);
  line-height: 1;
  font-weight: 600;
}
.hero__meta div span {
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* Breathing mandala */
.mandala { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.mandala svg { width: 100%; height: auto; }
.m-r1 { transform-origin: 50% 50%; animation: spin 90s linear infinite; }
.m-r2 { transform-origin: 50% 50%; animation: spin 60s linear infinite reverse; }
.m-r3 { transform-origin: 50% 50%; animation: spin 120s linear infinite; }
.mandala__pulse { animation: breathe 8s var(--ease) infinite; transform-origin: 50% 50%; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: .85; }
  50%      { transform: scale(1.06); opacity: 1; }
}
@keyframes float-y {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, -12px); }
}

.mandala__label {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: .55rem 1.2rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  animation: float-y 6s var(--ease) infinite;
}
.mandala__label b { color: var(--accent-text); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 360px; margin-inline: auto; width: 100%; }
  .hero__meta { gap: 1.6rem; }
}

/* ---------- 8. Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease), border-color .3s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--saffron) 40%, var(--line));
}
.card__glyph {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  color: var(--tone, var(--saffron));
  background: color-mix(in srgb, var(--tone, var(--saffron)) 13%, transparent);
}
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .95rem; color: var(--muted); }
.card__foot {
  margin-top: auto;
  padding-top: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Meditation card */
.med-card { padding: 0; }
.med-card__top {
  padding: 1.6rem 1.6rem 1.2rem;
  position: relative;
  background: linear-gradient(160deg, color-mix(in srgb, var(--tone, var(--saffron)) 14%, var(--surface)), var(--surface) 75%);
  border-bottom: 1px solid var(--line-soft);
}
.med-card__sym { width: 46px; height: 46px; color: var(--tone, var(--saffron)); margin-bottom: .9rem; }
.med-card__body { padding: 1.3rem 1.6rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.med-card h3 { font-size: 1.5rem; }
.med-card__sanskrit {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--tone, var(--accent-text)) 62%, var(--ink));
  font-weight: 700;
  margin-bottom: .35rem;
}
.med-card__desc { font-size: .93rem; color: var(--muted); margin-bottom: 1.1rem; }
.med-card__meta { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.2rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .74rem;
  font-weight: 600;
  padding: .32rem .7rem;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  color: var(--muted);
  white-space: nowrap;
}
.chip--tone {
  background: color-mix(in srgb, var(--tone, var(--saffron)) 12%, transparent);
  border-color: color-mix(in srgb, var(--tone, var(--saffron)) 30%, transparent);
  color: color-mix(in srgb, var(--tone, var(--accent-text)) 62%, var(--ink));
}
.chip svg { width: 13px; height: 13px; }

.stages { list-style: none; padding: 0; margin: 0 0 1.3rem; }
.stages li {
  display: flex;
  gap: .8rem;
  align-items: baseline;
  font-size: .87rem;
  padding: .42rem 0;
  border-bottom: 1px dashed var(--line-soft);
  color: var(--ink-soft);
}
.stages li:last-child { border-bottom: none; }
.stages li b {
  font-variant-numeric: tabular-nums;
  color: color-mix(in srgb, var(--tone, var(--accent-text)) 62%, var(--ink));
  font-size: .78rem;
  font-weight: 700;
  min-width: 48px;
  letter-spacing: .04em;
  flex: none;
}

/* ---------- 9. Filters ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.5rem;
  align-items: center;
}
.filter-btn {
  padding: .5rem 1.1rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.filter-btn:hover { color: var(--ink); border-color: var(--accent-text); }
.filter-btn.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* ---------- 10. Timetable ---------- */
.timetable {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.tt-row {
  display: grid;
  grid-template-columns: 120px 1fr 150px 130px;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 1.5rem;
  border-bottom: 1px solid var(--line-soft);
  transition: background-color .25s;
}
.tt-row:last-child { border-bottom: none; }
.tt-row:hover { background: var(--surface-2); }
.tt-row--head {
  background: var(--bg-alt);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  padding-block: .8rem;
}
.tt-time {
  font-family: var(--f-display);
  font-size: 1.3rem;
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.tt-name { font-weight: 600; color: var(--ink); }
.tt-name small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.tt-days { font-size: .84rem; color: var(--muted); }

@media (max-width: 820px) {
  .tt-row { grid-template-columns: 92px 1fr; row-gap: .45rem; }
  .tt-row--head { display: none; }
  .tt-days, .tt-row .btn { grid-column: 2; justify-self: start; }
}

/* ---------- 11. Events ---------- */
.event {
  display: grid;
  grid-template-columns: 108px 1fr auto;
  gap: 1.6rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  transition: transform .4s var(--ease-out), box-shadow .4s, border-color .3s;
}
.event:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--tone, var(--saffron)) 45%, var(--line));
}
.event__date {
  text-align: center;
  padding: .8rem .5rem;
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--tone, var(--saffron)) 11%, transparent);
  border: 1px solid color-mix(in srgb, var(--tone, var(--saffron)) 25%, transparent);
}
.event__date b {
  display: block;
  font-family: var(--f-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--ink);
  font-weight: 600;
}
.event__date span {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: color-mix(in srgb, var(--tone, var(--accent-text)) 62%, var(--ink));
}
.event__body h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.event__body p { font-size: .92rem; color: var(--muted); margin-bottom: .6rem; }
.event__tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.event__side { text-align: right; display: grid; gap: .6rem; justify-items: end; }
.event__price {
  font-family: var(--f-display);
  font-size: 1.5rem;
  color: var(--ink);
  font-weight: 600;
}
.event__price small {
  font-size: .72rem;
  font-family: var(--f-body);
  color: var(--muted);
  display: block;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .event { grid-template-columns: 84px 1fr; }
  .event__side { grid-column: 1 / -1; justify-items: start; text-align: left; }
}

/* Featured banner */
.feature {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  color: #fff;
  background:
    radial-gradient(90% 120% at 85% 10%, rgba(255,196,120,.35), transparent 60%),
    linear-gradient(135deg, #4A1B24 0%, #7A2B3A 45%, #B8541A 100%);
  isolation: isolate;
}
.feature::after {
  content: "";
  position: absolute;
  right: -12%; top: -30%;
  width: 60%; aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 0 0 40px rgba(255,255,255,.05), 0 0 0 90px rgba(255,255,255,.03);
  z-index: -1;
}
.feature h2, .feature h3 { color: #fff; }
.feature p { color: rgba(255,255,255,.82); }
.feature .kicker { color: #F5C77E; }
.feature .btn-ghost {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.35);
  color: #fff;
  backdrop-filter: blur(6px);
}
.feature .btn-ghost:hover { background: #fff; color: var(--deep-from); border-color: #fff; }
.feature__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 2.5rem; align-items: center; }
@media (max-width: 820px) { .feature__grid { grid-template-columns: 1fr; } }

.feature__stats { display: grid; gap: 1rem; }
.feature__stat {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-md);
  padding: 1rem 1.2rem;
  backdrop-filter: blur(8px);
}
.feature__stat b { display: block; font-family: var(--f-display); font-size: 1.7rem; }
.feature__stat span { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }

/* ---------- 12. Teaching / quotes ---------- */
.teaching { position: relative; text-align: center; padding-block: clamp(4rem, 8vw, 7rem); }
.teaching__mark {
  font-family: var(--f-display);
  font-size: 9rem;
  line-height: .6;
  color: var(--saffron);
  opacity: .18;
  height: 58px;
}
.quote-slider { position: relative; min-height: 230px; display: grid; }
.quote-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s var(--ease), transform .8s var(--ease-out);
  pointer-events: none;
}
.quote-slide.is-on { opacity: 1; transform: none; pointer-events: auto; }
.quote-dots { display: flex; gap: .5rem; justify-content: center; margin-top: 2rem; }
.quote-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: all .3s var(--ease);
}
.quote-dot.is-on { background: var(--saffron); width: 26px; border-radius: var(--r-pill); }

/* ---------- 13. Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.2rem; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.3rem;
  align-items: start;
  padding: 1.4rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  transition: border-color .3s, transform .4s var(--ease-out);
}
.step:hover { border-color: var(--saffron); transform: translateY(-3px); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--accent-text);
  line-height: 1;
  padding-top: .18rem;
}
.step h4 { margin-bottom: .25rem; }
.step p { font-size: .92rem; color: var(--muted); }

/* ---------- 14. Accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--f-display);
  font-size: 1.25rem;
  color: var(--ink);
  transition: color .25s;
}
.acc__btn:hover { color: var(--accent-text); }
.acc__icon {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: transform .4s var(--ease-out), background-color .3s, color .3s, border-color .3s;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--muted);
}
.acc__item.is-open .acc__icon {
  transform: rotate(135deg);
  background: var(--deep-from);
  border-color: var(--deep-from);
  color: #fff;
}
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding-bottom: 1.4rem; color: var(--muted); font-size: .96rem; max-width: 68ch; }

/* ---------- 15. Booking wizard ---------- */
.booking { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start; }
@media (max-width: 980px) { .booking { grid-template-columns: 1fr; } }

.wizard-nav { display: flex; gap: .4rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.wizard-step {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem 1rem .55rem .6rem;
  border-radius: var(--r-pill);
  font-size: .84rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  transition: all .35s var(--ease);
}
.wizard-step b {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--line-soft);
  color: var(--muted);
  font-size: .74rem;
  transition: all .35s var(--ease);
}
.wizard-step.is-on { color: var(--ink); border-color: var(--saffron); background: var(--surface); }
.wizard-step.is-on b { background: var(--deep-from); color: #fff; }
.wizard-step.is-done b { background: var(--sage); color: #fff; }

.panel {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}
.panel + .panel { margin-top: 1.5rem; }
.panel__head { margin-bottom: 1.6rem; }
.panel__head h3 { margin-bottom: .3rem; }
.panel__head p { font-size: .92rem; color: var(--muted); }

.wizard-pane { display: none; animation: fade-up .5s var(--ease-out); }
.wizard-pane.is-on { display: block; }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.opt {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 1rem 1.2rem;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  transition: all .3s var(--ease);
}
.opt:hover:not([disabled]) { border-color: var(--saffron); background: var(--surface-2); }
.opt.is-sel {
  border-color: var(--saffron);
  background: color-mix(in srgb, var(--saffron) 8%, var(--surface));
  box-shadow: 0 0 0 1px var(--saffron);
}
.opt__sym { width: 38px; height: 38px; color: var(--tone, var(--saffron)); flex: none; }
.opt__t { font-weight: 600; color: var(--ink); }
.opt__t small { display: block; font-weight: 400; color: var(--muted); font-size: .84rem; }
.opt__r { text-align: right; font-size: .82rem; color: var(--muted); white-space: nowrap; }
.opt__r b { display: block; color: var(--ink); font-size: .95rem; }
.opt[disabled] { opacity: .45; cursor: not-allowed; }
.opt-grid { display: grid; gap: .7rem; }
@media (min-width: 700px) { .opt-grid--2 { grid-template-columns: 1fr 1fr; } }

/* calendar */
.cal { user-select: none; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal__title { font-family: var(--f-display); font-size: 1.35rem; color: var(--ink); font-weight: 600; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3rem; }
.cal__dow {
  text-align: center;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  padding-bottom: .5rem;
}
.cal__day {
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: none;
  cursor: pointer;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
  display: grid;
  place-items: center;
  position: relative;
  transition: all .2s var(--ease);
}
.cal__day:hover:not([disabled]) { background: var(--surface-2); border-color: var(--line); }
.cal__day[disabled] { color: color-mix(in srgb, var(--muted) 40%, transparent); cursor: default; }
.cal__day.has-dot::after {
  content: "";
  position: absolute;
  bottom: 14%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--saffron);
}
.cal__day.is-sel { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 700; }
.cal__day.is-sel.has-dot::after { background: var(--bg); }
.cal__day.is-today { border-color: var(--saffron); }

/* forms */
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select, .field textarea {
  padding: .85rem 1rem;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  font-size: .95rem;
  transition: border-color .25s, background-color .25s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--saffron);
  background: var(--surface);
  box-shadow: var(--ring);
}
.field textarea { resize: vertical; min-height: 92px; }
.field .hint { font-size: .78rem; color: var(--muted); }
.field .err { font-size: .78rem; color: #C0392B; display: none; font-weight: 600; }
.field.has-err input, .field.has-err select { border-color: #C0392B; }
.field.has-err .err { display: block; }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .field-row--2 { grid-template-columns: 1fr 1fr; } }

.check {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: .9rem 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color .25s, background-color .25s;
}
.check:hover { border-color: var(--saffron); }
.check input { width: 18px; height: 18px; accent-color: var(--saffron); margin-top: .18rem; flex: none; }
.check span { font-size: .9rem; color: var(--ink-soft); }
.check span small { display: block; color: var(--muted); font-size: .82rem; }

.stepper { display: flex; align-items: center; gap: .6rem; }
.stepper button {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all .25s;
  line-height: 1;
}
.stepper button:hover { border-color: var(--accent-text); color: var(--accent-text); }
.stepper output {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ink);
  min-width: 2.2rem;
  text-align: center;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
}

/* summary rail */
.summary { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.summary__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.summary__top {
  padding: 1.4rem 1.5rem;
  background: linear-gradient(150deg, color-mix(in srgb, var(--saffron) 16%, var(--surface)), var(--surface));
  border-bottom: 1px solid var(--line-soft);
}
.summary__top h4 { font-family: var(--f-display); font-size: 1.3rem; }
.summary__top span {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.summary__body { padding: 1.3rem 1.5rem; display: grid; gap: .85rem; margin: 0; }
.summary__row { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.summary__row dt { color: var(--muted); }
.summary__row dd { color: var(--ink); font-weight: 600; text-align: right; margin: 0; }
.summary__total {
  padding: 1.2rem 1.5rem;
  border-top: 1px solid var(--line-soft);
  background: var(--surface-2);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.summary__total b { font-family: var(--f-display); font-size: 2rem; color: var(--ink); font-weight: 600; }
.summary__note {
  padding: 1rem 1.5rem;
  font-size: .82rem;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  display: flex;
  gap: .6rem;
}
.summary__note svg { flex: none; color: var(--sage); margin-top: .12rem; }

/* confirmation */
.confirm { text-align: center; padding: clamp(1.5rem, 4vw, 3rem) 0; }
.confirm__seal {
  width: 96px; height: 96px;
  margin: 0 auto 1.6rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--sage) 16%, transparent);
  color: var(--sage);
  animation: pop .6s var(--ease-out) both;
}
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.ref-code {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .22em;
  padding: .7rem 1.5rem;
  border-radius: var(--r-md);
  border: 1.5px dashed var(--saffron);
  background: color-mix(in srgb, var(--saffron) 8%, transparent);
  color: var(--ink);
  margin: 1.2rem 0;
}
.confirm__details {
  max-width: 460px;
  margin: 2rem auto;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.confirm__details div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1.3rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: .92rem;
}
.confirm__details div:last-child { border-bottom: none; }
.confirm__details span { color: var(--muted); }
.confirm__details b { color: var(--ink); text-align: right; }

/* my bookings */
.booking-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--surface);
}
.booking-item + .booking-item { margin-top: .7rem; }
.booking-item__d {
  text-align: center;
  min-width: 54px;
  padding: .5rem;
  border-radius: var(--r-sm);
  background: var(--surface-2);
}
.booking-item__d b { display: block; font-family: var(--f-display); font-size: 1.5rem; color: var(--ink); line-height: 1; }
.booking-item__d span {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  font-weight: 700;
}
.booking-item h4 { font-family: var(--f-body); font-size: .98rem; font-weight: 600; }
.booking-item p { font-size: .82rem; color: var(--muted); }
.text-btn {
  background: none; border: none; cursor: pointer;
  font-size: .82rem; font-weight: 600; color: var(--muted);
  text-decoration: underline; text-underline-offset: 3px;
  padding: .3rem;
}
.text-btn:hover { color: #C0392B; }

.empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--muted);
  font-size: .92rem;
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
}

/* ---------- 16. Breathing widget ---------- */
.breath { display: grid; place-items: center; gap: 1.5rem; text-align: center; }
.breath__orb {
  width: 180px; height: 180px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--saffron) 60%, transparent), color-mix(in srgb, var(--maroon) 50%, transparent));
  box-shadow: 0 0 60px color-mix(in srgb, var(--saffron) 30%, transparent);
  transition: transform 4s var(--ease), box-shadow 4s var(--ease);
  color: #fff;
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
}
.breath__orb.is-big { transform: scale(1.3); box-shadow: 0 0 100px color-mix(in srgb, var(--saffron) 45%, transparent); }

/* ---------- 17. Voices ---------- */
.voice {
  padding: 1.8rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
}
.voice p { font-size: .97rem; color: var(--ink-soft); font-style: italic; line-height: 1.7; }
.voice__who { display: flex; align-items: center; gap: .8rem; margin-top: 1.3rem; }
.voice__av {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 600;
  color: #fff;
  font-size: 1.05rem;
  flex: none;
}
.voice__who b { display: block; font-size: .9rem; color: var(--ink); }
.voice__who span { font-size: .78rem; color: var(--muted); }

/* ---------- 18. Footer ---------- */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h5 {
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 1.1rem;
}
.footer ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.footer a { font-size: .92rem; color: var(--muted); transition: color .25s; }
.footer a:hover { color: var(--accent-text); }
.footer p { font-size: .92rem; color: var(--muted); }
.footer__bar {
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: .84rem;
  color: var(--muted);
}
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--muted);
  transition: all .3s var(--ease);
}
.socials a:hover { background: var(--deep-from); border-color: var(--deep-from); color: #fff; transform: translateY(-3px); }

.newsletter { display: flex; gap: .5rem; margin-top: 1rem; }
.newsletter input {
  flex: 1;
  padding: .7rem 1rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: .88rem;
  min-width: 0;
}
.newsletter input:focus { outline: none; border-color: var(--saffron); }

/* ---------- 19. Interior page header ---------- */
.page-head {
  padding: calc(var(--nav-h) + 4.5rem) 0 3.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-head__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 100% at 50% 0%, color-mix(in srgb, var(--saffron) 16%, transparent), transparent 65%),
    var(--bg-alt);
}
.page-head h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); margin: 1rem auto .9rem; }
.page-head .lead { max-width: 62ch; margin-inline: auto; }

/* ---------- 20. Misc ---------- */
.divider-om { display: flex; align-items: center; gap: 1.2rem; margin: 0 auto; max-width: 320px; }
.divider-om::before, .divider-om::after {
  content: ""; height: 1px; flex: 1;
  background: linear-gradient(to right, transparent, var(--line), transparent);
}
.divider-om svg { color: var(--saffron); opacity: .7; flex: none; }

.reveal { opacity: 0; transform: translateY(24px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease-out); }
.reveal[data-d="1"].in { transition-delay: .08s; }
.reveal[data-d="2"].in { transition-delay: .16s; }
.reveal[data-d="3"].in { transition-delay: .24s; }
.reveal[data-d="4"].in { transition-delay: .32s; }
.reveal[data-d="5"].in { transition-delay: .40s; }

.toast {
  position: fixed;
  left: 50%; bottom: 2rem;
  transform: translate(-50%, 200%);
  background: var(--ink);
  color: var(--bg);
  padding: .9rem 1.6rem;
  border-radius: var(--r-pill);
  font-size: .9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  transition: transform .5s var(--ease-out);
  display: flex; align-items: center; gap: .6rem;
  max-width: min(90vw, 460px);
}
.toast.is-on { transform: translate(-50%, 0); }

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sage);
}
.badge-live i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sage);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--sage) 55%, transparent); }
  70% { box-shadow: 0 0 0 8px transparent; }
}

.note-strip {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1.1rem 1.3rem;
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--gold) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
  font-size: .9rem;
  color: var(--ink-soft);
}
.note-strip svg { flex: none; color: var(--gold); margin-top: .15rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  box-shadow: var(--shadow-md);
  position: relative;
}
.frame svg { width: 100%; height: auto; display: block; }

/* ---------- 21. Facebook feed embed ----------
   SociableKit builds its posts inline (no iframe) and injects its own
   <style> at runtime, so these rules are scoped under .sk-frame to win on
   specificity regardless of source order. Everything below is token-driven,
   which means the embed follows the site's light/dark theme for free. */
.sk-frame {
  position: relative;
  min-height: 340px;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-soft);
  background: var(--surface-2);
  padding: clamp(.9rem, 2.2vw, 1.6rem);
  box-shadow: var(--shadow-sm);
}

/* the post cards */
.sk-frame .sk-post-item {
  background: var(--surface) !important;
  border: 1px solid var(--line-soft) !important;
  border-radius: var(--r-lg) !important;
  box-shadow: var(--shadow-sm) !important;
  color: var(--ink-soft) !important;
  font-family: var(--f-body) !important;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease), border-color .3s;
}
.sk-frame .sk-post-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md) !important;
  border-color: color-mix(in srgb, var(--accent-fill) 40%, var(--line)) !important;
}
.sk-frame .sk-posts-header,
.sk-frame .sk-posts-footer { border-color: var(--line-soft) !important; }
.sk-frame .sk-posts-body { color: var(--ink-soft) !important; }
.sk-frame .sk-text-light { color: var(--muted) !important; }
.sk-frame a { color: var(--accent-text) !important; }
.sk-frame img { border-radius: var(--r-md); }
.sk-frame .sk-radius { border-radius: var(--r-lg) !important; }
.sk-frame .sk-primary { color: var(--accent-text) !important; }

/* our own placeholder, shown until the feed paints */
.sk-frame__wait {
  position: absolute;
  inset: clamp(.9rem, 2.2vw, 1.6rem);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--muted);
  font-size: .92rem;
  background: var(--surface-2);
  border-radius: var(--r-lg);
}
.sk-frame__wait p { max-width: 46ch; line-height: 1.6; }
.sk-frame__wait code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .86em;
  padding: .1rem .35rem;
  border-radius: 5px;
  background: color-mix(in srgb, var(--gold) 14%, transparent);
  color: var(--ink);
}
.sk-frame__spin {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--line);
  border-top-color: var(--accent-fill);
  animation: sk-spin 1s linear infinite;
}
@keyframes sk-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .nav, .footer, .btn, .mobile-menu { display: none !important; }
  body { background: #fff; }
}
