:root { --header-height: 88px; --header-cream: #f7f4ec; --header-ink: #233e36; scroll-padding-top: calc(var(--header-height) + 18px); }
[hidden] { display: none !important; }
body[data-page] #header { position: sticky; inset: 0 0 auto; z-index: 100; background: transparent; }
body[data-page] #header .site-header,
body[data-page] #header .site-header.scrolled {
  position: relative; inset: auto; display: flex; min-height: 76px; align-items: center;
  justify-content: space-between; gap: 16px; padding: 8px 5vw; color: var(--header-ink);
  background: var(--header-cream); box-shadow: none;
}
body[data-page]:has(main > .unified-hero:first-child) #header .site-header:not(.scrolled) {
  background: linear-gradient(180deg, #f7f4ecf5, #f7f4ecd9);
}
body[data-page] #header .site-header.scrolled { background: #e7ebe2; box-shadow: 0 1px 6px #233e361e; }
body[data-page] #header .brand img { width: 66px; height: 66px; object-fit: contain; }
body[data-page] #header #site-nav { display: flex; flex: 0 1 auto; width: auto; min-height: 0; padding: 0; gap: clamp(12px, 2.4vw, 36px); align-items: center; border: 0; background: transparent; }
body[data-page] #header #site-nav a { font-size: .94rem; color: var(--header-ink); text-shadow: none; }
#site-nav .nav-signup, .menu-toggle { border: 1px solid #537163; border-radius: 5px; padding: .55rem .85rem; }
.menu-toggle { font: inherit; color: var(--header-ink); background: var(--header-cream); cursor: pointer; }
#header :focus-visible { outline: 2px solid #416652; outline-offset: 4px; }
body[data-page]:has(main > .unified-hero:first-child) #main { margin-top: calc(-1 * var(--header-height)); }
body.november-page #main .november-title, body.december-page #main .december-title { padding-top: 2.5rem !important; }
body #main .registration-scroll-target { scroll-margin-top: 0; }

body[data-page="home"] main > section.unified-hero.unified-hero { height: clamp(460px, 51vw, 680px); margin-top: 0 !important; }
body[data-page="home"] main .unified-hero .waterfall-stage { position: absolute; inset: 0; width: 100%; height: 100%; }
body[data-page="home"] main .unified-hero .waterfall-stage > img { width: 100%; height: 100%; object-fit: cover; object-position: 38% bottom; }
body[data-page="home"] main > section.unified-hero.unified-hero::after { background: radial-gradient(ellipse at 78% 88%, #142820a6, #14282033 45%, transparent 72%); }
.home-hero-copy { position: absolute; z-index: 3; right: 6vw; bottom: 10%; width: min(86%, 560px); color: white; text-shadow: 0 1px 8px #15271d99; }
body[data-page="home"] .home-hero-copy h1 { color: inherit; margin: 0 0 .55em; font-size: clamp(2.25rem, 5.2vw, 4.65rem); line-height: 1.04; }
body[data-page="home"] .home-hero-copy p { color: inherit; margin: 0; max-width: 34ch; font-size: clamp(1.05rem, 2vw, 1.45rem); line-height: 1.4; }
.home-joy, .community-events, .retreat-interest, .home-signoff { padding-block: clamp(32px, 5vw, 68px); }
.home-joy, .home-signoff, .retreat-interest { text-align: center; }
.home-signoff p { margin: 0 0 .45em; }
.home-signoff p:first-child { font-family: Georgia, serif; font-size: clamp(1.5rem, 3.5vw, 2.55rem); }
.joy-grid, .community-grid { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.joy-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.joy-grid > div, .community-card { padding: clamp(16px, 2.5vw, 32px); background: #fffdf7; border: 1px solid #dbe3d5; border-radius: 12px; }
.joy-grid h3, .community-card h3 { margin: .65em 0 .4em; }
.joy-grid p, .community-card p { margin: 0 0 .85em; }
.joy-grid p:last-child { margin-bottom: 0; }
.community-intro { padding-block: clamp(45px, 8vw, 100px); }
.community-intro p, .community-events > p { max-width: 65ch; }
.community-intro h1, .about-hero-heading h1 { color: #233e36; font-size: clamp(2.3rem, 5vw, 4.5rem); line-height: 1.05; }
.community-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.community-events { border-top: 1px solid #dbe3d5; }
article.retreat-card { cursor: auto; }
article.retreat-card:hover { transform: none; }

@media (max-width: 760px) {
  body[data-page] #header .site-header, body[data-page] #header .site-header.scrolled { min-height: 66px; padding-block: 6px; }
  body[data-page] #header .brand img { width: 54px; height: 54px; }
  .menu-toggle:not([hidden]) { display: inline-block; }
  .menu-toggle:not([hidden]) + #site-nav { display: none; }
  body[data-page] #header .menu-toggle[aria-expanded="true"] + #site-nav {
    position: absolute; inset: 100% 0 auto; display: grid; justify-items: start; gap: 12px;
    padding: 16px 5vw 20px; background: var(--header-cream); box-shadow: 0 6px 12px #233e3622;
    max-height: calc(100dvh - var(--header-height)); overflow-y: auto;
  }
  body[data-page] #header .menu-toggle[aria-expanded="false"]:not([hidden]) + #site-nav { display: none; }
  body[data-page="home"] main > section.unified-hero.unified-hero { height: clamp(420px, 72svh, 590px); }
  body[data-page="home"] main > section.unified-hero.unified-hero::after { background: linear-gradient(0deg, #142820b8, #14282038 48%, transparent 68%); }
  .home-hero-copy { left: 7vw; right: auto; }
  .joy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community-grid { grid-template-columns: 1fr; }
}

body[data-page="home"] main .unified-hero.unified-hero .waterfall-stage > img { object-position: 38% bottom; filter: none; }
body[data-page="home"] main > section.unified-hero.unified-hero::after { height: 100%; }
body[data-page="home"] main > section.unified-hero.unified-hero .home-hero-copy :is(h1,p) { color: #fff; text-shadow: 0 1px 8px #15271d99; }
@media (max-width: 760px) {
  body[data-page] #header .menu-toggle[hidden] + #site-nav { flex-wrap: wrap; justify-content: flex-end; gap: 6px 12px; }
}

body[data-page]:has(main > .unified-hero:first-child) #header .site-header:not(.scrolled) {
  background: linear-gradient(180deg, #f7f4ecda 5%, #f7f4ec9c 68%, #f7f4ec38);
}
body[data-page="home"] main > section.unified-hero.unified-hero {
  height: clamp(390px, 47vw, 680px);
}
body[data-page="home"] main > section.unified-hero.unified-hero::after { content: none; }
body[data-page="home"] main .unified-hero.unified-hero .waterfall-stage > img {
  object-position: 38% bottom;
  filter: brightness(1.1) saturate(1.08);
}
body[data-page="home"] main > .home-hero-copy {
  position: static; width: 100%; padding: clamp(22px, 4vw, 54px) 6vw;
  background: #e7efe3; color: #233e36; text-align: center; text-shadow: none;
}
body[data-page="home"] main > .home-hero-copy h1 {
  color: inherit; margin: 0 auto .38em; max-width: 27ch;
  font-size: clamp(1.95rem, 4.65vw, 4.15rem); line-height: 1.08; text-wrap: balance;
}
body[data-page="home"] main > .home-hero-copy p {
  color: inherit; margin: 0 auto; max-width: 64ch; text-align: center;
}
main > section#wild-list.wild-list {
  width: min(570px, calc(100% - 32px)); margin: 30px auto 38px !important;
  padding: 24px clamp(16px, 4vw, 32px) !important; border-radius: 16px;
}
main > section#wild-list.wild-list::before {
  width: 33px; height: 26px; margin: 0 auto 8px;
}
main > section#wild-list.wild-list > .wrap { padding: 0; }
main > section#wild-list.wild-list h2:has(.wild-list-yoga-detail) {
  font-size: clamp(1.75rem, 4.2vw, 2.45rem); margin: 8px auto 10px; gap: 10px;
}
main > section#wild-list.wild-list .wild-list-yoga-detail { width: 42px; flex-basis: 42px; }
main > section#wild-list.wild-list > .wrap > p { margin-bottom: 12px; font-size: 1rem; }
main > section#wild-list.wild-list .wild-list-form { max-width: 380px; }
body[data-page] main > section.retreat-gathering-hero.unified-hero.unified-hero {
  height: clamp(520px, 58vw, 860px);
}
body[data-page] main > section.retreat-gathering-hero.unified-hero.unified-hero > img {
  height: 100%; object-position: center 46%;
}
body[data-page] main > section.retreat-gathering-hero.unified-hero.unified-hero::after {
  height: 100%;
  background: linear-gradient(0deg, #f7f4ecee, #f7f4ec36 44%, transparent 65%);
}
@media (max-width: 760px) {
  body[data-page="home"] main > section.unified-hero.unified-hero { height: clamp(325px, 48svh, 510px); }
  body[data-page] main > section.retreat-gathering-hero.unified-hero.unified-hero {
    height: auto; grid-template-rows: clamp(310px, 58vw, 440px) auto auto;
  }
  body[data-page] main > section.retreat-gathering-hero.unified-hero.unified-hero::after {
    height: auto; inset: 0; grid-area: 1 / 1;
  }
}
