/* Sunhouse Yoga — warm white, butter, marigold, terracotta, oak, cocoa */
:root {
  --cream: #F2F3E4;   /* the ivory behind Julianna's logo render */
  --paper: #E8E9D5;
  --butter: #F4E3B1;
  --marigold: #E3A33B;
  --gold: #C9A45C;
  --terracotta: #C2643F;
  --oak: #A8743F;
  --cocoa: #43291B;
  --muted: #7A6553;
  --line: rgba(67, 41, 27, 0.14);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1320px;
  --header-h: 76px;
  /* chakra + class colours */
  --c-root: #B2452E;
  --c-sacral: #D9782F;
  --c-solar: #E3A33B;
  --c-throat: #6E93A6;
  --c-ajna: #4E4F84;
  --c-crown: #8D6E9E;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--cocoa);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }

/* One warm, sunlit grade across all photography */
.grade { filter: sepia(0.16) saturate(1.06) contrast(0.97) brightness(1.02); }

h1, h2, h3 { text-wrap: balance; font-family: var(--serif); font-weight: 300; font-style: italic; line-height: 1.06; letter-spacing: -0.015em; font-variation-settings: "opsz" 120; }
h1 { font-size: clamp(2.7rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 1.9vw, 1.7rem); font-weight: 350; }
h4 { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; }

.eyebrow { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: 1.08rem; max-width: 34em; color: var(--muted); }
.muted { color: var(--muted); }
.serif { font-family: var(--serif); font-style: italic; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.section { padding: clamp(68px, 9vw, 128px) 0; }
.band-paper { background: var(--paper); }
.band-butter { background: #E9E2C6; }
.band-cocoa { background: var(--cocoa); color: var(--cream); }
.band-cocoa .eyebrow, .band-cocoa .muted, .band-cocoa .lede { color: rgba(251, 246, 236, 0.72); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Buttons, pills, links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  border: 1px solid var(--cocoa); background: var(--cocoa); color: var(--cream);
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: transparent; color: var(--cocoa); }
.btn.ghost { background: transparent; color: var(--cocoa); }
.btn.ghost:hover { background: var(--cocoa); color: var(--cream); }
.btn.light { background: var(--cream); color: var(--cocoa); border-color: var(--cream); }
.btn.light:hover { background: transparent; color: var(--cream); }
.btn.small { padding: 9px 18px; font-size: 0.62rem; }
.btn.done { background: var(--marigold); border-color: var(--marigold); color: var(--cocoa); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  background: rgba(242, 243, 228, 0.6); transition: background .25s, border-color .25s;
}
a.pill:hover, button.pill:hover { background: var(--cream); border-color: var(--cocoa); }

.link {
  display: inline-block;
  font-size: 0.66rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  padding-bottom: 4px; border-bottom: 1px solid currentColor; transition: opacity .25s;
}
.link:hover { opacity: .55; }

/* ---------- Chakra / class dots ---------- */
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--marigold); }
.dot-root { background: var(--c-root); }
.dot-sacral { background: var(--c-sacral); }
.dot-solar-plexus { background: var(--c-solar); }
.dot-throat { background: var(--c-throat); }
.dot-ajna { background: var(--c-ajna); }
.dot-crown { background: var(--c-crown); }
.dot-sunrise-salutations { background: var(--butter); box-shadow: inset 0 0 0 1.5px var(--marigold); }
.dot-deep-flow { background: var(--cocoa); }
.dot-full-reset { background: conic-gradient(var(--c-root), var(--c-sacral), var(--c-solar), var(--c-throat), var(--c-ajna), var(--c-crown), var(--c-root)); }
.dot-event { background: var(--cream); box-shadow: inset 0 0 0 1.5px var(--terracotta); border-radius: 2px; transform: rotate(45deg); width: 8px; height: 8px; }

/* ---------- Header ---------- */
.announce {
  background: var(--cocoa); color: var(--butter); text-align: center;
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 9px var(--gutter);
}
.announce a { border-bottom: 1px solid rgba(244, 227, 177, .5); }
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
/* blur lives on a pseudo-element so the fixed mobile menu isn't trapped inside the header */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(242, 243, 228, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.scrolled .site-header { border-bottom-color: var(--line); }
.header-main {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: var(--header-h);
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px;
}
.header-main .left { display: flex; align-items: center; gap: 14px; }
.nav { display: flex; justify-content: flex-end; gap: clamp(14px, 1.3vw, 22px); white-space: nowrap; }
.nav a {
  font-size: 0.6rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .25s;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--cocoa); }
.nav .nav-book { display: none; }

/* Logo: Julianna's carved-wood mark + typeset wordmark */
.logo { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--cocoa); line-height: 1; }
.logo-mark { width: 42px; height: 42px; flex: none; }
.logo-text { display: flex; flex-direction: column; align-items: flex-start; }
.logo-text b { font-family: var(--serif); font-style: italic; font-weight: 350; font-size: 1.9rem; letter-spacing: -0.01em; }
.logo-text small { font-size: 0.5rem; font-weight: 500; letter-spacing: 0.32em; margin: 6px 0 0 0.32em; }

.menu-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; position: relative; margin-left: -9px; }
.menu-toggle span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--cocoa); transition: transform .3s, opacity .3s; }
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 20px; }
.menu-toggle span:nth-child(3) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Placeholders (photos, collages, event graphics) ---------- */
.ph { position: relative; overflow: hidden; background:
  #E3E2CB; }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.ph.has-image > img { opacity: 1; }
.ph-label {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  text-align: center; padding: 16px; color: var(--cocoa);
}
.ph-label span { font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
.ph-label small { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: .65; }
.ph.has-image .ph-label { display: none; }
.r-45 { aspect-ratio: 4 / 5; }
.r-34 { aspect-ratio: 3 / 4; }
.r-32 { aspect-ratio: 3 / 2; }
.r-11 { aspect-ratio: 1 / 1; }
.r-169 { aspect-ratio: 16 / 9; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  min-height: calc(100svh - var(--header-h) - 34px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(56px, 8vw, 110px) var(--gutter) clamp(40px, 5vw, 64px);
  background: var(--cream);
}
.hero h1 { max-width: 11.5em; margin: 18px auto 0; }
.hero .lede { margin: 22px auto 0; max-width: 31em; }
.hero-mark { width: clamp(150px, 17vw, 230px); height: auto; margin: clamp(30px, 4vw, 46px) auto 0; filter: drop-shadow(0 6px 10px rgba(67, 41, 27, .12)); }
.hero-sun { width: clamp(150px, 18vw, 220px); margin: clamp(28px, 4vw, 44px) auto 0; color: var(--oak); }
.hero-sun .spin { transform-origin: 100px 100px; animation: spin 140s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-enter { margin-top: 18px; font-size: 0.64rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.hero-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.hero-collage { position: relative; }
.hero-collage[hidden] { display: none; }
.hero-collage img { width: 100%; height: auto; }
.hero-collage picture { display: block; }

/* ---------- Section heads ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4.5vw, 56px); }
.section-head h2 { margin-top: 12px; }
.section-head p { max-width: 30em; margin-top: 14px; color: var(--muted); }

/* ---------- Week list (Oasis-style schedule rows) ---------- */
.week-day { padding: 26px 0 6px; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.week-day.today { color: var(--terracotta); }
.session {
  display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.session .time { font-size: 0.72rem; letter-spacing: 0.12em; color: var(--muted); }
.session .name { display: flex; align-items: center; gap: 12px; }
.session .name a { font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.15; }
.session .name a:hover { color: var(--terracotta); }
.session .with { font-size: 0.8rem; color: var(--muted); margin-left: 22px; }
.session.is-event .name a { color: var(--terracotta); }
.session.closed { color: var(--muted); }
.week-more { margin-top: 36px; text-align: center; }

/* ---------- Class format (mantra / breath / asana / meditation) ---------- */
.format { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.format > div { padding: 30px 26px 8px 0; }
.format > div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.format .num { font-family: var(--serif); font-style: italic; font-size: 2.6rem; color: var(--marigold); line-height: 1; }
.format h3 { margin: 14px 0 10px; }
.format p { font-size: 0.93rem; color: var(--muted); }
.format-split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.format-split figure .ph { border-radius: 200px 200px 0 0; }
.format-split h2 { margin: 14px 0 20px; }

/* ---------- Class cards ---------- */
.class-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 36px); }
.class-grid.six { grid-template-columns: repeat(3, 1fr); }
.class-card .art { display: block; overflow: hidden; border-radius: 160px 160px 0 0; }
.class-card .art svg, .class-card .art .ph { width: 100%; height: auto; display: block; transition: transform .8s ease; }
.class-card:hover .art svg, .class-card:hover .art .ph { transform: scale(1.03); }
.class-card .meta { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.class-card h3 { margin-top: 8px; }
.class-card h3 a:hover { color: var(--terracotta); }
.class-card .sk { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 1rem; }
.class-card p { margin: 10px 0 16px; font-size: 0.93rem; color: var(--muted); max-width: 30em; }

.series-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.series-head h2 { margin-top: 12px; }
.chakra-strip { display: flex; gap: 8px; margin-top: 18px; }
.chakra-strip .dot { width: 14px; height: 14px; }

/* ---------- Events ---------- */
.event-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.2vw, 30px); }
.event-card .ph { border-radius: 2px; }
.event-card .when { margin-top: 18px; }
.event-card h3 { margin-top: 8px; }
.event-card h3 a:hover { color: var(--terracotta); }
.event-card p { margin-top: 10px; font-size: 0.92rem; color: var(--muted); }

.event-row { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.event-row:first-of-type { border-top: 0; padding-top: 0; }
.event-row .ph { position: sticky; top: calc(var(--header-h) + 24px); }
.event-row h2 { margin: 12px 0 8px; }
.event-row .sub { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--muted); }
.event-row .body p { margin-top: 1em; max-width: 36em; }
.event-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.event-row h4 { margin: 30px 0 4px; color: var(--muted); }
.flow-list { list-style: none; margin-top: 10px; counter-reset: f; }
.flow-list li { counter-increment: f; display: grid; grid-template-columns: 34px 1fr; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.flow-list li::before { content: counter(f, decimal-leading-zero); font-size: 0.7rem; color: var(--terracotta); padding-top: 4px; }
.dates { list-style: none; margin-top: 8px; }
.dates li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dates li .d { font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
.dates li .t { font-size: 0.78rem; color: var(--muted); margin-left: 12px; }
.dates li.past { opacity: .4; }
.dates li.past .btn { visibility: hidden; }

/* ---------- Page heads ---------- */
.page-head { padding: clamp(64px, 9vw, 120px) 0 clamp(36px, 5vw, 64px); text-align: center;
  background: var(--cream); border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 16px auto 0; max-width: 12em; }
.page-head .lede { margin: 22px auto 0; }

/* ---------- Class detail ---------- */
.class-hero { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(36px, 6vw, 96px); align-items: center; padding: clamp(48px, 7vw, 96px) 0; }
.class-hero h1 { margin: 16px 0 6px; }
.class-hero .sk { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.7rem); color: var(--muted); }
.class-hero .lede { margin-top: 24px; }
.class-hero .art { border-radius: 220px 220px 0 0; overflow: hidden; }
.class-hero .art svg { width: 100%; height: auto; display: block; }
.class-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 22px 18px 22px 0; }
.facts dt { margin-bottom: 6px; }
.facts dd { font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.3; }
.unfold { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(36px, 6vw, 96px); }
.unfold .steps { list-style: none; }
.unfold .steps li { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.unfold .steps li:first-child { padding-top: 0; }
.unfold .steps .num { font-family: var(--serif); font-style: italic; font-size: 2.2rem; line-height: 1; color: var(--marigold); }
.unfold .steps h3 { margin-bottom: 8px; }
.unfold .steps p { color: var(--muted); }
.unfold aside .ph { margin-top: 28px; border-radius: 160px 160px 0 0; }
.when-list { list-style: none; max-width: 640px; margin: 0 auto; }
.when-list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.when-list .d { font-family: var(--serif); font-style: italic; font-size: 1.3rem; }
.class-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.class-nav a { padding: 34px 0; display: flex; flex-direction: column; gap: 6px; }
.class-nav a + a { text-align: right; align-items: flex-end; border-left: 1px solid var(--line); }
.class-nav .serif { font-size: 1.5rem; }
.class-nav a:hover .serif { color: var(--terracotta); }

/* ---------- Calendar ---------- */
.cal-tools { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.cal-months { display: flex; flex-wrap: wrap; gap: 8px; }
.cal-months button[aria-pressed="true"] { background: var(--cocoa); border-color: var(--cocoa); color: var(--cream); }
.cal-step { display: flex; align-items: center; gap: 14px; }
.cal-step h2 { min-width: 6.5em; text-align: center; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.cal-step button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 1rem; }
.cal-step button:hover:not([disabled]) { border-color: var(--cocoa); }
.cal-step button[disabled] { opacity: .3; cursor: default; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.legend button { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 0.78rem; transition: opacity .2s, background .2s; }
.legend button[aria-pressed="false"] { opacity: .38; }
.legend button:hover { background: var(--paper); }
.legend .reset { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; border-style: dashed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cal-cell { min-height: 150px; padding: 10px 10px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; text-align: left; display: flex; flex-direction: column; gap: 5px; }
.cal-cell.blank { background: transparent; }
.cal-cell .n { font-family: var(--serif); font-style: italic; font-size: 1.6rem; line-height: 1; margin-bottom: 6px; }
.cal-cell.today { background: var(--butter); }
.cal-cell.today .n { color: var(--terracotta); }
.cal-cell.past { opacity: .55; }
.cal-item { display: grid; grid-template-columns: 9px 1fr; gap: 6px; align-items: baseline; font-size: 0.72rem; line-height: 1.3; }
.cal-item .dot { width: 8px; height: 8px; transform: translateY(-1px); }
.cal-item .dot-event { width: 7px; height: 7px; }
.cal-item b { font-weight: 500; display: block; }
.cal-item a:hover b { color: var(--terracotta); }
.cal-item .tm { color: var(--muted); font-size: 0.66rem; }
.cal-item.event b { color: var(--terracotta); }
.cal-note { font-size: 0.7rem; color: var(--terracotta); letter-spacing: 0.06em; }
.cal-dots { display: none; }
.cal-day { display: none; }
.cal-foot { margin-top: 22px; font-size: 0.82rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-group { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 5vw, 80px); padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.faq-group:first-child { border-top: 0; padding-top: 0; }
.faq-group > h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.3; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--sans); font-style: normal; font-weight: 300; font-size: 1.4rem; color: var(--oak); transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details .answer { padding: 0 0 24px; color: var(--muted); max-width: 40em; }
details .answer p + p, details .answer p + ol, details .answer ol + p { margin-top: .8em; }
details .answer ol { padding-left: 1.2em; }
details .answer a { border-bottom: 1px solid currentColor; }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 120px); align-items: center; }
.split h2 { margin: 14px 0 22px; }
.split p { color: var(--muted); max-width: 32em; margin-bottom: 1em; }
.split .ph.arch { border-radius: 240px 240px 0 0; }
.quote { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.7rem, 3.2vw, 2.8rem); line-height: 1.22; max-width: 22em; margin: 0 auto; }
.quote-cite { margin-top: 24px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.values .num { font-family: var(--serif); font-style: italic; color: var(--marigold); font-size: 2.2rem; line-height: 1; }
.values h3 { margin: 14px 0 10px; }
.values p { color: var(--muted); font-size: 0.95rem; }
.teachers { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(16px, 2vw, 28px); }

.teacher h3 { margin-top: 18px; font-size: 1.35rem; }
.teacher .eyebrow { display: block; margin-top: 6px; line-height: 1.6; }
.teacher p { font-size: 0.9rem; color: var(--muted); margin-top: 10px; }

/* ---------- Pricing ---------- */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.prices > div { padding: 28px 22px 28px 0; }
.prices > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.prices .amt { font-family: var(--serif); font-style: italic; font-size: 2.3rem; line-height: 1.1; margin: 10px 0 8px; }
.prices p { font-size: 0.9rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact-info dl { display: grid; gap: 26px; }
.contact-info dd { margin-top: 6px; font-size: 1.02rem; }
.contact-info .hours { display: grid; grid-template-columns: auto 1fr; gap: 2px 24px; }
.contact-info .ph { margin-top: 36px; border-radius: 200px 200px 0 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full, .form-grid .full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { background: transparent; border: 0; border-bottom: 1px solid rgba(67, 41, 27, .35); padding: 10px 0; font-size: 1rem; border-radius: 0; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--cocoa); }
.field.error input, .field.error textarea { border-bottom-color: var(--terracotta); }
.sent-msg { display: none; padding: 40px 0; }
.sent .sent-msg { display: block; }
.sent form { display: none; }
.sent-msg h3 { font-size: 2rem; margin-bottom: 12px; }

/* ---------- Toast (booking demo) ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--cocoa); color: var(--cream); padding: 14px 22px; border-radius: 999px; font-size: 0.85rem; max-width: calc(100vw - 32px); text-align: center;
  transition: opacity .3s, transform .3s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Visit band ---------- */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.visit h2 { margin: 14px 0 18px; }
.visit .newsletter { margin-top: 26px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cocoa); color: var(--cream); padding: clamp(64px, 8vw, 104px) 0 28px; }
.site-footer .logo { color: var(--cream); justify-content: flex-start; }
.site-footer .logo-text { align-items: flex-start; }
.site-footer .logo-mark { width: 64px; height: 64px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: clamp(28px, 4vw, 64px); }
.footer-top p { margin-top: 18px; color: rgba(251, 246, 236, .7); max-width: 22em; font-size: 0.92rem; }
.footer-top h4 { color: var(--butter); margin-bottom: 16px; }
.footer-top ul { list-style: none; display: grid; gap: 8px; font-size: 0.92rem; color: rgba(251, 246, 236, .82); }
.footer-top ul a:hover { color: var(--butter); }
.newsletter { display: flex; border-bottom: 1px solid currentColor; }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 10px 0; font-size: 0.95rem; }
.newsletter input::placeholder { color: inherit; opacity: .6; }
.newsletter input:focus { outline: none; }
.newsletter button { background: none; border: 0; font-size: 0.64rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; }
.newsletter.done { border-bottom-color: transparent; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 80px); padding-top: 22px; border-top: 1px solid rgba(251, 246, 236, .16); font-size: 0.72rem; color: rgba(251, 246, 236, .55); letter-spacing: 0.06em; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-sun .spin { animation: none; }
}

/* ================================================================ Responsive */
@media (max-width: 1300px) {
  .menu-toggle { display: block; }
  .header-main { grid-template-columns: 1fr auto 1fr; }
  .header-main .right { display: flex; justify-content: flex-end; }
  .nav {
    position: fixed; inset: var(--menu-top, var(--header-h)) 0 0 0; z-index: 40;
    flex-direction: column; justify-content: flex-start; gap: 0;
    padding: 18px var(--gutter) 40px; background: var(--cream);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s, visibility 0s .3s;
    overflow-y: auto;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s; }
  .menu-open { overflow: hidden; }
  .nav a { font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: 0; font-size: 2rem; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { color: var(--terracotta); border-bottom-color: var(--line); }
  .nav .nav-book { display: block; }
  .event-grid { grid-template-columns: repeat(2, 1fr); }
  .teachers { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .prices { grid-template-columns: 1fr 1fr; }
  .prices > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .prices > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (min-width: 1301px) { .header-main .right { display: none; } }

@media (max-width: 900px) {
  .format { grid-template-columns: 1fr 1fr; }
  .format > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .format > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .format-split, .split, .visit, .contact-grid, .event-row, .class-hero, .unfold, .series-head, .faq-group { grid-template-columns: 1fr; }
  .event-row .ph { position: relative; top: 0; max-width: 520px; }
  .class-hero .art { max-width: 460px; }
  .class-grid, .class-grid.six { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr; }
  .format-split figure { max-width: 460px; }
}

@media (max-width: 760px) {
  /* calendar: compact grid of dots, tap a date to see that day */
  .cal-cell { min-height: 58px; padding: 6px 4px; align-items: center; gap: 4px; cursor: pointer; }
  .cal-cell .n { font-size: 1.15rem; margin: 0; }
  .cal-cell .cal-item, .cal-cell .cal-note { display: none; }
  .cal-cell .cal-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; max-width: 40px; }
  .cal-cell .cal-dots .dot { width: 6px; height: 6px; }
  .cal-cell .cal-dots .dot-event { width: 5px; height: 5px; }
  .cal-cell.selected { outline: 1.5px solid var(--cocoa); outline-offset: -1.5px; }
  .cal-day { display: block; margin-top: 26px; }
  .cal-day h3 { margin-bottom: 4px; }
  .cal-step h2 { min-width: 0; }
  .cal-tools { flex-direction: column; align-items: stretch; }
  .cal-step { justify-content: space-between; }
  .session { grid-template-columns: 1fr auto; gap: 4px 14px; }
  .session .time { grid-column: 1 / -1; }
  .session .with { margin-left: 22px; }
}

@media (max-width: 600px) {
  :root { --header-h: 64px; }
  body { font-size: 15px; }
  .logo-text b { font-size: 1.55rem; }
  .logo-text small { font-size: 0.48rem; margin-top: 4px; }
  .logo-mark { width: 38px; height: 38px; }
  .logo { gap: 9px; }
  .header-main { gap: 8px; }
  .header-main .left .btn { display: none; }
  .announce { font-size: 0.56rem; letter-spacing: 0.16em; }
  .hero h1 { font-size: 2.65rem; }
  .format { grid-template-columns: 1fr; }
  .format > div, .format > div + div { padding: 26px 0 8px; border-left: 0; }
  .format > div + div { border-top: 1px solid var(--line); }
  .class-grid, .class-grid.six, .event-grid { grid-template-columns: 1fr; }
  .event-card, .class-card { max-width: 440px; }
  .teachers { grid-template-columns: 1fr 1fr; }
  .prices { grid-template-columns: 1fr; }
  .prices > div, .prices > div + div { padding: 24px 0; border-left: 0; }
  .prices > div + div { border-top: 1px solid var(--line); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .class-nav .serif { font-size: 1.15rem; }
  .session .name a { font-size: 1.25rem; }
  .facts { grid-template-columns: 1fr 1fr; }
  .unfold .steps li { grid-template-columns: 48px 1fr; }
}

/* ---------- Instructors: one warm duotone so portraits from different shoots match ---------- */
.ph.duo > img { filter: grayscale(1) contrast(1.06) brightness(1.04); }
.ph.duo.has-image::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, #E8B87A 0%, #A8743F 100%); mix-blend-mode: color; opacity: .62; }
.teacher .ph { border-radius: 140px 140px 0 0; }
.teacher h3 a:hover { color: var(--terracotta); }
.inst-row { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.inst-row:first-child { border-top: 0; padding-top: 0; }
.inst-row.flip > :first-child { order: 2; }
.inst-row .ph { border-radius: 240px 240px 0 0; max-width: 480px; }
.inst-row h2 { margin: 12px 0 8px; }
.inst-row .sub { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--muted); margin-bottom: 18px; }
.inst-row p { max-width: 34em; }
.inst-row h4 { margin: 28px 0 6px; color: var(--muted); }
.teaches { list-style: none; max-width: 34em; }
.teaches li { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.teaches a { font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
.teaches a:hover { color: var(--terracotta); }
.teaches .muted { font-size: 0.82rem; }
@media (max-width: 900px) {
  .inst-row { grid-template-columns: 1fr; }
  .inst-row.flip > :first-child { order: 0; }
  .inst-row .ph { max-width: 420px; }
}

/* Chakra artwork (square, Julianna's Firefly series) */
.chakra-img { width: 100%; height: auto; display: block; aspect-ratio: 1; object-fit: cover; transition: transform .8s ease; }
.class-card:hover .art .chakra-img { transform: scale(1.03); }

.ph.portrait > img { filter: none; }   /* film grade is baked into instructor files */

/* ---------- Layout tweaks (Oct 24) ---------- */
@media (min-width: 641px) { .format-split { grid-template-columns: 5fr 7fr; align-items: center; } }
.mudra-fig { max-width: 440px; width: 100%; }
.format-split figure .ph.arch { border-radius: 240px 240px 0 0; }
.format-split figure .ph.soft { border-radius: 4px; }
@media (min-width: 641px) { .split.house { grid-template-columns: 7fr 5fr; align-items: center; } .split.house figure { justify-self: end; } }
.split.house figure { max-width: 440px; justify-self: end; width: 100%; }
@media (min-width: 901px) { .contact-grid.flip { grid-template-columns: 7fr 5fr; } }
.contact-grid.flip > .contact-info { order: 2; }
.contact-grid.flip .contact-info .ph { max-width: 340px; }
@media (max-width: 640px) {
  .split.house figure { justify-self: start; max-width: 420px; }
  .contact-grid.flip { grid-template-columns: 1fr; }
}

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.co-summary { position: sticky; top: calc(var(--header-h) + 24px); display: grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: start; padding: 24px; background: var(--paper); border-radius: 4px; }
.co-art img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 70px 70px 0 0; }
.co-meta h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin: 8px 0 14px; }
.co-meta dl { display: grid; gap: 10px; }
.co-meta dd { font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.co-small { font-size: 0.84rem; margin-top: 14px; }
.co-main fieldset { border: 0; padding: 0 0 34px; margin: 0 0 34px; border-bottom: 1px solid var(--line); }
.co-main legend { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-style: italic; font-size: 1.5rem; margin-bottom: 18px; }
.co-main legend .num { font-size: 1rem; color: var(--marigold); }
.demo-tag { font-family: var(--sans); font-style: normal; font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--butter); }
.co-options { display: grid; gap: 10px; }
.co-option { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; transition: border-color .2s, background .2s; }
.co-option:hover { border-color: rgba(67, 41, 27, .4); }
.co-option:has(input:checked) { border-color: var(--cocoa); background: var(--paper); }
.co-option input { accent-color: var(--cocoa); width: 16px; height: 16px; }
.co-opt-text b { display: block; font-weight: 500; }
.co-opt-text small { color: var(--muted); font-size: 0.84rem; }
.co-price { font-family: var(--serif); font-style: italic; font-size: 1.3rem; }
.co-check { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; cursor: pointer; }
.co-check input { accent-color: var(--cocoa); width: 16px; height: 16px; }
.co-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.co-total span { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.co-total strong { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 2rem; }
.co-error { color: var(--terracotta); font-size: 0.9rem; min-height: 1.4em; margin-bottom: 8px; }
.btn.block { width: 100%; }
.co-done h2 { margin: 12px 0 16px; }
@media (max-width: 900px) {
  .checkout { grid-template-columns: 1fr; }
  .co-summary { position: relative; top: 0; }
}
@media (max-width: 520px) {
  .co-summary { grid-template-columns: 96px 1fr; padding: 18px; gap: 16px; }
}
.prices .btn { margin-top: 18px; }

/* Contact: details and the door frame side by side */
@media (min-width: 901px) {
  .contact-grid.flip { grid-template-columns: 6fr 6fr; }
  .contact-grid.flip .contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
  .contact-grid.flip .contact-info .ph { margin-top: 0; max-width: none; }
}
@media (min-width: 521px) and (max-width: 900px) {
  .contact-grid.flip .contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
  .contact-grid.flip .contact-info .ph { margin-top: 0; }
}

/* ---------- Events: flipping magazine stack (home) ---------- */
.mag { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.mag-stack { position: relative; aspect-ratio: 4 / 5; max-width: 440px; width: 100%; perspective: 1600px; }
.mag-cover { position: absolute; inset: 0; transform-origin: left center; transition: transform .9s cubic-bezier(.6,.05,.3,1), opacity .9s ease, box-shadow .9s ease; box-shadow: 0 18px 36px rgba(67, 41, 27, .22); backface-visibility: hidden; }
.mag-cover .ph { width: 100%; height: 100%; aspect-ratio: auto; }
.mag-cover[data-pos="0"] { z-index: 4; transform: none; }
.mag-cover[data-pos="1"] { z-index: 3; transform: translate(14px, 10px) rotate(2.5deg); }
.mag-cover[data-pos="2"] { z-index: 2; transform: translate(26px, 18px) rotate(5deg); }
.mag-cover[data-pos="3"] { z-index: 1; transform: translate(36px, 24px) rotate(7deg); opacity: .9; }
.mag-cover[data-pos="out"] { z-index: 5; transform: rotateY(-105deg); opacity: 0; box-shadow: none; }
.mag-cover.no-anim { transition: none; }
.mag-panel { display: none; }
.mag-panel.active { display: block; animation: magIn .7s ease both; }
@keyframes magIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.mag-panel h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 10px 0 14px; }
.mag-panel p { color: var(--muted); max-width: 34em; }
.mag-meta { margin-top: 12px; font-size: .9rem; }
.mag-actions { display: flex; align-items: center; gap: 22px; margin-top: 24px; }
.mag-controls { display: flex; align-items: center; gap: 16px; margin-top: 36px; }
.mag-controls button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 1rem; }
.mag-controls button:hover { border-color: var(--cocoa); }
.mag-count { font-size: .78rem; letter-spacing: .2em; color: var(--muted); }
.mag-count b { color: var(--cocoa); font-weight: 500; }
@media (max-width: 760px) {
  .mag { grid-template-columns: 1fr; }
  .mag-stack { max-width: 340px; margin-right: 36px; }
}
@media (prefers-reduced-motion: reduce) { .mag-cover { transition: none; } .mag-panel.active { animation: none; } }
.ph > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .ph > video { display: none; } .ph:has(> video) { background: url(../images/studio.jpg) center/cover; } }
