/* RUMA v3 · events area (Events & Experiences = public/pages/community). Owned by the events agent; reads tokens.css vars only. */

/* ---------- head ---------- */
.theme-v3 .ev-head .vid img, .theme-v3 .ev-head .vid video { filter: sepia(.2) saturate(.8) brightness(.62); }
.theme-v3 .ev-head h1 { max-width: 12ch; }
.theme-v3 .ev-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.theme-v3 .ev-jump .pill { background: rgb(var(--night-rgb) / .55); color: var(--text-strong); }

/* ---------- where ---------- */
.theme-v3 .ev-where__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.theme-v3 .ev-where__copy { display: grid; gap: 18px; }
.theme-v3 .ev-where__copy p:not(.lede):not(.label) { max-width: 60ch; }
.theme-v3 .ev-where__note { display: flex; gap: 12px; align-items: flex-start; padding-top: 10px; color: var(--candle-soft); font-family: var(--font-display); font-style: italic; font-size: 1.3rem; line-height: 1.35; }
.theme-v3 .ev-where__note .flame { margin-top: 4px; }
.theme-v3 .ev-region { margin: 0; display: grid; gap: 14px; justify-items: center; max-width: 420px; width: 100%; justify-self: center; }
.theme-v3 .ev-region svg { width: 100%; height: auto; overflow: visible; }
.theme-v3 .ev-region__ring { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: .006 .012; }
.theme-v3 .ev-region__ring--in { stroke: var(--line); stroke-dasharray: none; }
.theme-v3 .ev-region__road { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.theme-v3 .ev-region__light circle { fill: var(--candle); }
.theme-v3 .ev-region__light .ev-region__halo { fill: rgb(var(--candle-glow) / .16); }
.theme-v3 .ev-region figcaption { text-align: center; display: grid; gap: 2px; }
.theme-v3 .ev-region figcaption b { font-family: var(--font-display); font-weight: 300; font-size: 1.9rem; color: var(--text-strong); line-height: 1.1; }
.theme-v3 .ev-region figcaption span { font-size: var(--fs-small); color: var(--muted); font-style: italic; }
@media (prefers-reduced-motion: no-preference) {
  .js .theme-v3 .ev-region .ev-region__road { stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--ease-inout) .3s; }
  .js .theme-v3 .ev-region.is-in .ev-region__road { stroke-dashoffset: 0; }
  /* one place glows at a time: the event moves, the region stays */
  .theme-v3 .ev-region__light { opacity: .4; animation: v3-ev-gather 14s infinite; animation-delay: calc(var(--i) * 2s); }
}
@keyframes v3-ev-gather { 0%, 22%, 100% { opacity: .4; } 8%, 14% { opacity: 1; } }
@media (max-width: 860px) { .theme-v3 .ev-where__grid { grid-template-columns: 1fr; } .theme-v3 .ev-region { max-width: 320px; } }

/* ---------- upcoming ---------- */
.theme-v3 .ev-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.theme-v3 .ev-item { display: grid; grid-template-columns: 112px 112px minmax(0, 1fr) auto; gap: 14px 32px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.theme-v3 .ev-item .n-date b { font-size: 3.2rem; }
.theme-v3 .ev-item__thumb { aspect-ratio: 1; width: 112px; border-radius: 50% 50% var(--r-media) var(--r-media) / 38% 38% var(--r-media) var(--r-media); }
.theme-v3 .ev-item__body { display: grid; gap: 6px; min-width: 0; }
.theme-v3 .ev-item__kind { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: var(--fs-small); color: var(--muted); }
.theme-v3 .ev-tag { font-size: var(--fs-micro); letter-spacing: var(--track-label); text-transform: uppercase; font-weight: 600; color: var(--candle-soft); padding: 3px 10px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line-strong); }
.theme-v3 .ev-item h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.theme-v3 .ev-item h3 a { color: inherit; text-decoration: none; }
@media (hover: hover) { .theme-v3 .ev-item h3 a:hover { text-decoration: underline; text-decoration-color: var(--line-strong); } }
.theme-v3 .ev-item__meta { font-size: var(--fs-small); color: var(--muted); }
.theme-v3 .ev-item__act { display: flex; align-items: center; gap: 16px; justify-content: flex-end; }
.theme-v3 .ev-item__spots { font-size: var(--fs-small); color: var(--text); white-space: nowrap; }
.theme-v3 .ev-item__spots.is-low { color: var(--candle-soft); font-weight: 500; }
.theme-v3 .ev-item__full { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--fs-small); font-style: italic; color: var(--muted); text-underline-offset: .22em; text-decoration-color: var(--line-strong); }
.theme-v3 .ev-empty { padding: clamp(32px, 4vw, 56px); border-radius: var(--r-shell); background: radial-gradient(70% 120% at 0% 0%, rgb(var(--candle-glow) / .12), transparent 60%), var(--night); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 14px; justify-items: start; }
.theme-v3 .ev-empty__line { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.15; color: var(--text-strong); }
.theme-v3 .ev-empty p:not(.ev-empty__line) { color: var(--text); max-width: 54ch; }
@media (max-width: 1000px) {
  .theme-v3 .ev-item { grid-template-columns: 96px 84px minmax(0, 1fr); }
  .theme-v3 .ev-item__thumb { width: 84px; }
  .theme-v3 .ev-item__act { grid-column: 3; justify-content: flex-start; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .theme-v3 .ev-item { grid-template-columns: 72px minmax(0, 1fr); }
  .theme-v3 .ev-item__thumb { display: none; }
  .theme-v3 .ev-item__act { grid-column: 2; }
  .theme-v3 .ev-item .n-date b { font-size: 2.4rem; }
}

/* formats: Yoga and Pilates, each a photo with its classes beneath */
.theme-v3 .ev-formats { margin-top: clamp(56px, 7vw, 104px); display: grid; gap: clamp(22px, 3vw, 36px); }
.theme-v3 .ev-formats h3 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.theme-v3 .ev-formats__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); align-items: start; }
.theme-v3 .ev-format { display: grid; gap: 22px; }
.theme-v3 .ev-format__media { aspect-ratio: 16 / 9; }
.theme-v3 .ev-format__body { display: grid; gap: 12px; }
.theme-v3 .ev-format .label { color: var(--candle-soft); }
.theme-v3 .ev-dots { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-family: var(--font-display); font-size: clamp(1.25rem, 1.7vw, 1.5rem); color: var(--text-strong); line-height: 1.4; }
.theme-v3 .ev-dots li:not(:last-child)::after { content: "·"; color: var(--candle); margin: 0 .55em; }
@media (max-width: 760px) { .theme-v3 .ev-formats__grid { grid-template-columns: 1fr; } }

.theme-v3 .ev-cta { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.theme-v3 .ev-cta__note { font-size: var(--fs-small); color: var(--muted); }
@media (max-width: 420px) { .theme-v3 .ev-cta .btn { white-space: normal; text-align: left; } }

/* ---------- workshops + experiences: intro ---------- */
.theme-v3 .ev-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.theme-v3 .ev-split__copy { display: grid; gap: 16px; justify-items: start; }
.theme-v3 .ev-split__copy p { max-width: 62ch; }
.theme-v3 .ev-split__media { aspect-ratio: 4 / 5; max-height: 680px; width: 100%; }
.theme-v3 .ev-split__media img { object-position: 50% 60%; }
.theme-v3 .ev-split--text { margin-top: clamp(40px, 5vw, 72px); grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.theme-v3 .ev-split--text p { max-width: 62ch; }
.theme-v3 .ev-split__still { aspect-ratio: 3 / 2; }
@media (max-width: 860px) {
  .theme-v3 .ev-split, .theme-v3 .ev-split--text { grid-template-columns: 1fr; }
  .theme-v3 .ev-split__media { aspect-ratio: 16 / 11; }
}

.theme-v3 .ev-catalog { margin-top: clamp(64px, 8vw, 120px); }
.theme-v3 .ev-catalog__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; padding-bottom: 18px; margin-bottom: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line-strong); }
.theme-v3 .ev-catalog__intro { font-family: var(--font-display); font-weight: 300; font-style: italic; font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.15; color: var(--text-strong); }
.theme-v3 .ev-catalog__count { font-size: var(--fs-small); color: var(--muted); }

/* ---------- workshops: four wide cards, a photo beside a plain list ---------- */
.theme-v3 .ev-ws { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); }
.theme-v3 .ev-ws__card { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); border-radius: var(--r-shell); background: var(--ember); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.theme-v3 .ev-ws__media { border-radius: 0; min-height: 100%; }
.theme-v3 .ev-ws__card .ev-ws__media { min-height: 260px; }
.theme-v3 .ev-ws__body { padding: clamp(22px, 2.6vw, 40px); display: grid; align-content: start; gap: 10px; }
.theme-v3 .ev-ws__num { font-size: var(--fs-micro); letter-spacing: var(--track-label); color: var(--candle); }
.theme-v3 .ev-ws__name { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.6rem, 2.2vw, 2.1rem); line-height: 1.12; color: var(--text-strong); }
.theme-v3 .ev-ws__feel { font-family: var(--font-display); font-style: italic; color: var(--candle-soft); font-size: 1.15rem; line-height: 1.4; }
.theme-v3 .ev-ws__list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; }
.theme-v3 .ev-ws__list li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 1.05rem; line-height: 1.35; color: var(--text); }
@media (min-width: 1500px) { .theme-v3 .ev-ws__card { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
@media (max-width: 1100px) { .theme-v3 .ev-ws { grid-template-columns: 1fr; } .theme-v3 .ev-ws__card { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } }
@media (max-width: 640px) {
  .theme-v3 .ev-ws__card { grid-template-columns: 1fr; }
  .theme-v3 .ev-ws__media { aspect-ratio: 16 / 10; min-height: 0; }
  .theme-v3 .ev-ws__card .ev-ws__media > img { position: static; }
}

/* ---------- special experiences: five mood cards, photo + name + feel + chips ---------- */
.theme-v3 .ev-feature { position: relative; min-height: clamp(440px, 62vh, 640px); border-radius: var(--r-shell); overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; background: var(--night-deep); }
.theme-v3 .ev-feature .vid img, .theme-v3 .ev-feature .vid video { filter: sepia(.3) saturate(.75) brightness(.6); }
.theme-v3 .ev-feature::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgb(var(--night-rgb) / .1) 30%, rgb(var(--night-rgb) / .9) 92%); }
.theme-v3 .ev-feature__body { position: relative; z-index: 3; padding: clamp(28px, 4.4vw, 64px); display: grid; gap: 16px; max-width: 760px; }
.theme-v3 .ev-feature .vid-toggle { top: 18px; right: 18px; bottom: auto; }

/* desktop: 3 + 2 (the second row wider, photo beside the words) */
.theme-v3 .ev-sx__row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(18px, 2vw, 32px); }
.theme-v3 .ev-sx__card { grid-column: span 2; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-shell); background: rgb(var(--night-rgb) / .72); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.theme-v3 .ev-sx__card--4, .theme-v3 .ev-sx__card--5 { grid-column: span 3; grid-template-rows: none; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.theme-v3 .ev-sx__media { border-radius: 0; aspect-ratio: 4 / 3; }
.theme-v3 .ev-sx__card--4 .ev-sx__media, .theme-v3 .ev-sx__card--5 .ev-sx__media { aspect-ratio: auto; min-height: 100%; }
/* side photos fill the card's height without setting it */
.theme-v3 .ev-sx__card--4 .ev-sx__media > img, .theme-v3 .ev-sx__card--5 .ev-sx__media > img,
.theme-v3 .ev-ws__media > img { position: absolute; inset: 0; }
.theme-v3 .ev-sx__body { padding: clamp(22px, 2.4vw, 36px); display: grid; align-content: start; gap: 10px; }
.theme-v3 .ev-sx__name { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.7rem, 2.3vw, 2.25rem); line-height: 1.1; color: var(--text-strong); }
.theme-v3 .ev-sx__feel { font-family: var(--font-display); font-style: italic; color: var(--candle-soft); font-size: 1.15rem; line-height: 1.4; }
.theme-v3 .ev-chips { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.theme-v3 .ev-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 18px; background: rgb(var(--text-rgb) / .05); box-shadow: inset 0 0 0 1px var(--line); font-size: 1rem; line-height: 1.3; color: var(--text-strong); }
.theme-v3 .ev-chips li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--candle); flex: none; }
.theme-v3 .ev-sx__hint { display: none; }
@media (max-width: 1100px) {
  .theme-v3 .ev-sx__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-v3 .ev-sx__card, .theme-v3 .ev-sx__card--4 { grid-column: span 1; grid-template-columns: none; grid-template-rows: auto 1fr; }
  .theme-v3 .ev-sx__card--4 .ev-sx__media { aspect-ratio: 4 / 3; min-height: 0; }
  .theme-v3 .ev-sx__card--4 .ev-sx__media > img { position: static; }
  .theme-v3 .ev-sx__card--5 { grid-column: 1 / -1; grid-template-rows: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .theme-v3 .ev-sx__card--5 .ev-sx__media { min-height: 320px; }
}
/* phones: one swipeable row, each card nearly the screen's width */
@media (max-width: 700px) {
  .theme-v3 .ev-sx__hint { display: inline; }
  .theme-v3 .ev-sx__row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); padding-bottom: 6px; }
  .theme-v3 .ev-sx__row::-webkit-scrollbar { display: none; }
  .theme-v3 .ev-sx__card, .theme-v3 .ev-sx__card--4, .theme-v3 .ev-sx__card--5 { flex: 0 0 min(84vw, 360px); scroll-snap-align: start; grid-template-columns: none; grid-template-rows: auto 1fr; }
  .theme-v3 .ev-sx__card--5 .ev-sx__media { aspect-ratio: 4 / 3; min-height: 0; }
  .theme-v3 .ev-sx__card--5 .ev-sx__media > img { position: static; }
  .theme-v3 .ev-sx__row:focus-visible { outline-offset: -2px; }
}

/* ---------- gallery: the owner's photos, or a quiet mood until there are some ---------- */
.theme-v3 .ev-gallery { display: grid; gap: clamp(28px, 4vw, 56px); }
.theme-v3 .ev-gallery__head { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px clamp(32px, 6vw, 96px); align-items: center; }
.theme-v3 .ev-gallery__copy { display: grid; gap: 14px; justify-items: start; }
.theme-v3 .ev-gallery__copy .lede { font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 2.2vw, 1.9rem); color: var(--candle-soft); }
.theme-v3 .ev-gallery__copy p:not(.lede) { max-width: 60ch; }
.theme-v3 .ev-mosaic { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 300px); grid-auto-flow: dense; gap: clamp(10px, 1.2vw, 18px); }
.theme-v3 .ev-tile { min-width: 0; }
.theme-v3 .ev-tile figure { margin: 0; height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 8px; }
.theme-v3 .ev-tile__media { height: 100%; }
.theme-v3 .ev-tile__media video { width: 100%; height: 100%; object-fit: cover; background: var(--night-deep); }
.theme-v3 .ev-tile figcaption { font-size: var(--fs-small); font-style: italic; color: var(--muted); }
/* rhythm per six (fills two rows of four): an arched tall one, a wide one, four more */
.theme-v3 .ev-tile:nth-child(6n + 1) { grid-row: span 2; }
.theme-v3 .ev-tile:nth-child(6n + 1) .ev-tile__media { border-radius: 999px 999px var(--r-media) var(--r-media) / 46% 46% var(--r-media) var(--r-media); }
.theme-v3 .ev-tile:nth-child(6n + 3) { grid-column: span 2; }
.theme-v3 .ev-gallery__note { font-size: var(--fs-small); font-style: italic; color: var(--muted); }
@media (max-width: 860px) { .theme-v3 .ev-gallery__head { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .theme-v3 .ev-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; }
}

/* ---------- belong ---------- */
.theme-v3 .ev-belong { position: relative; overflow: hidden; isolation: isolate; }
.theme-v3 .ev-belong__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.theme-v3 .ev-belong__glow img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.theme-v3 .ev-belong__glow::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 50%, rgb(var(--night-rgb) / .55), var(--night) 92%); }
.theme-v3 .ev-belong__inner { display: grid; gap: 18px; justify-items: center; text-align: center; max-width: 860px; }
.theme-v3 .ev-belong .lede { max-width: 56ch; }
.theme-v3 .ev-belong p:not(.lede) { color: var(--muted); }

/* ---------- Charlotte landing pages (themes/v3/public/landing_pages/show) ----------
   Built from the events/help/classes pieces; only these few joins are their own. */
.theme-v3 .lp-head h1 { max-width: 16ch; }
.theme-v3 .lp-prose p { max-width: 62ch; }
.theme-v3 .lp-media img { width: 100%; height: 100%; object-fit: cover; }
.theme-v3 .lp-facts { max-width: 980px; }
.theme-v3 .lp-ticks { margin: 0; }
.theme-v3 .lp-ticks b { color: var(--text-strong); font-weight: 600; }
.theme-v3 .lp-inquiry { margin-top: 8px; }
.theme-v3 .lp-reach { margin-top: 14px; }
.theme-v3 .ev-item__kind .slot__badge--lang { padding: 3px 10px; }
