/* Dance Studio front end. Mobile first. Brand colors arrive as --ds-* custom properties from brand-colors.php. */

:root {
	--c-brand: var(--ds-brand, #6b2fa3);
	--c-brand-text: var(--ds-brand-text, #6b2fa3);
	--c-accent: var(--ds-accent, #ff6f61);
	--c-brand-fill: var(--ds-brand-fill, var(--c-brand));
	--c-accent-fill: var(--ds-accent-fill, var(--c-accent));
	--c-accent-text: var(--ds-accent-text, #b3372c);
	--c-ink: var(--ds-ink, #1d1b22);
	--c-on-brand: var(--ds-on-brand, #ffffff);
	--c-on-accent: var(--ds-on-accent, #1d1b22);
	--c-muted: #595364;
	--c-tint: #f6effc;
	--c-tint-2: #efe4f9;
	--c-line: #e6dcef;
	--c-paper: #ffffff;
	--radius: 18px;
	--shadow: 0 18px 44px rgba(107, 47, 163, 0.14);
	--font-display: Georgia, "Times New Roman", serif;
	--font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-accent: var(--font-display);
	--heading-weight: 700;
	--gutter: 1rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--c-ink);
	background: var(--c-paper);
	overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--c-brand-text); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--c-brand-text); outline-offset: 2px; border-radius: 4px; }
h1 em, h2 em, h3 em { font-family: var(--font-accent); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: var(--heading-weight); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.6em; overflow-wrap: break-word; }
p { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.ds-skip {
	position: absolute; left: 0.5rem; top: -4rem; z-index: 100; background: var(--c-ink); color: #fff;
	padding: 0.75rem 1rem; border-radius: 8px; text-decoration: none;
}
.ds-skip:focus { top: 0.5rem; }

.ds-wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

/* Buttons */
.ds-btn {
	display: inline-flex; align-items: center; justify-content: center; text-align: center;
	min-height: 44px; padding: 0.6rem 1.25rem; border: 2px solid transparent; border-radius: 999px;
	font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.ds-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(29, 27, 34, 0.18); text-decoration: none; }
.ds-btn--sm { padding: 0.45rem 0.95rem; font-size: 0.9375rem; }
.ds-btn--lg { padding: 0.85rem 1.8rem; font-size: 1.0625rem; }
.ds-btn--accent { background: var(--c-accent-fill); color: var(--c-on-accent); }
.ds-btn--solid { background: var(--c-brand-fill); color: var(--c-on-brand); }
.ds-btn--ghost { background: #fff; color: var(--c-brand-text); border-color: var(--c-brand-text); }
.ds-btn--light { background: #fff; color: var(--c-ink); }
/* Secondary CTAs ("All programs", "Learn more") are outline buttons, so every call to action
   shares the pill shape. Hover fills with the brand color. */
.ds-link {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.35em; align-self: flex-start;
	min-height: 44px; padding: 0.45rem 1.1rem; border: 2px solid var(--c-brand-text); border-radius: 999px;
	background: #fff; color: var(--c-brand-text); font: 600 0.9375rem/1.2 var(--font-body); text-decoration: none;
	transition: background-color 0.12s ease, color 0.12s ease, transform 0.12s ease;
}
.ds-link:hover, .ds-link:focus-visible { background: var(--c-brand-fill); border-color: var(--c-brand-fill); color: var(--c-on-brand); text-decoration: none; transform: translateY(-1px); }
.ds-card__body .ds-link { margin-top: 0.75rem; }

/* Utility bar */
.ds-util { background: var(--c-ink); color: #fff; font-size: 0.875rem; }
.ds-util a { color: #fff; }
.ds-util__inner { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; justify-content: space-between; padding-block: 0.4rem; }
.ds-util__contact { margin: 0; display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.ds-util a { display: inline-flex; align-items: center; min-height: 32px; }
.ds-util .ds-notice-bar { margin: 0; }
.ds-util .ds-notice-bar__inner { display: flex; flex-wrap: wrap; gap: 0 0.75rem; align-items: center; }
.ds-util .ds-notice-bar__text { margin: 0; color: #ffd2cc; font-weight: 600; }
.ds-util .ds-notice-bar__link { text-decoration: underline; }

/* Header */
.ds-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--c-line); }
.ds-header.is-stuck { box-shadow: 0 6px 20px rgba(29, 27, 34, 0.08); }
.ds-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding-block: 0.6rem; }
.ds-brand { min-width: 0; flex: 1 1 auto; }
.ds-brand img { max-height: 48px; width: auto; }
.ds-logo {
	display: block; font-family: var(--font-accent); font-style: italic; font-size: 1.2rem; line-height: 1.15;
	color: var(--c-brand-text); text-decoration: none; overflow-wrap: anywhere;
}
.ds-logo span { color: var(--c-accent-text); }
.ds-header__btns { display: flex; align-items: center; gap: 0.5rem; flex: 0 0 auto; }
.ds-header__trial { display: none; }

.ds-menu-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	min-width: 44px; min-height: 44px; padding: 0 0.6rem; background: #fff; color: var(--c-ink);
	border: 2px solid var(--c-line); border-radius: 12px; font: 600 0.9375rem var(--font-body); cursor: pointer;
}
.ds-menu-btn__bars, .ds-menu-btn__bars::before, .ds-menu-btn__bars::after {
	display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
	transition: transform 0.15s ease, top 0.15s ease;
}
.ds-menu-btn__bars::before, .ds-menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.ds-menu-btn__bars::before { top: -6px; }
.ds-menu-btn__bars::after { top: 6px; }
.ds-menu-btn[aria-expanded="true"] .ds-menu-btn__bars { background: transparent; }
.ds-menu-btn[aria-expanded="true"] .ds-menu-btn__bars::before { top: 0; transform: rotate(45deg); }
.ds-menu-btn[aria-expanded="true"] .ds-menu-btn__bars::after { top: 0; transform: rotate(-45deg); }
/* Hidden visually on phones but still the button's accessible name. */
.ds-menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.ds-nav {
	position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--c-line);
	box-shadow: 0 16px 28px rgba(29, 27, 34, 0.12); display: none; max-height: calc(100vh - 6rem); overflow-y: auto;
}
.ds-nav.is-open { display: block; }
.ds-menu { list-style: none; margin: 0; padding: 0.5rem var(--gutter) 1rem; }
.ds-menu a {
	display: flex; align-items: center; min-height: 48px; padding: 0.4rem 0.25rem; color: var(--c-ink);
	text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--c-line);
}
.ds-menu a:hover, .ds-menu .current-menu-item > a, .ds-menu .current_page_item > a { color: var(--c-brand-text); }
.ds-menu .current-menu-item > a { font-weight: 700; }

/* Dropdowns. Phones: the list sits under its parent in the menu panel, opened by the arrow. */
.ds-menu .menu-item-has-children { position: relative; }
.ds-menu .menu-item-has-children > a { padding-right: 3.25rem; }
.ds-sub-toggle {
	position: absolute; top: 2px; right: 0; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	background: none; border: 0; border-radius: 8px; color: var(--c-ink); cursor: pointer; padding: 0;
}
.ds-sub-toggle span {
	width: 0.55rem; height: 0.55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-25%) rotate(45deg); transition: transform 0.15s ease;
}
.ds-sub-toggle[aria-expanded="true"] span { transform: translateY(25%) rotate(-135deg); }
.ds-sub-toggle:hover, .ds-sub-toggle:focus-visible { color: var(--c-brand-text); background: var(--c-tint); }
.ds-menu .sub-menu { list-style: none; margin: 0; padding: 0 0 0.25rem 1rem; }
.ds-menu .sub-menu a { min-height: 44px; font-weight: 400; font-size: 0.9375rem; }
.has-sub-js .menu-item-has-children:not(.is-open) > .sub-menu { display: none; }

@media (min-width: 480px) {
	.ds-logo { font-size: 1.45rem; }
	.ds-menu-btn__label { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
}
@media (min-width: 600px) {
	.ds-header__trial { display: inline-flex; }
}
@media (min-width: 900px) {
	:root { --gutter: 2rem; }
	.ds-menu-btn { display: none; }
	.ds-nav { position: static; display: block; flex: 0 1 auto; background: none; border: 0; box-shadow: none; max-height: none; overflow: visible; }
	.ds-menu { display: flex; gap: 1.5rem; padding: 0; }
	.ds-menu a { border: 0; min-height: 44px; padding: 0.25rem 0; font-size: 0.9375rem; position: relative; }
	.ds-menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--c-brand-text); transform: scaleX(0); transition: transform 0.15s ease; }
	.ds-menu a:hover::after, .ds-menu .current-menu-item > a::after { transform: scaleX(1); }
	/* Desktop dropdowns: open on hover, keyboard focus, or the arrow button. */
	.ds-menu .menu-item-has-children { display: flex; align-items: center; }
	.ds-menu .menu-item-has-children > a { padding-right: 0; }
	.ds-sub-toggle { position: static; width: 24px; height: 32px; margin-left: 0.1rem; }
	.ds-sub-toggle span { width: 0.4rem; height: 0.4rem; border-width: 0 1.5px 1.5px 0; }
	.ds-menu .sub-menu {
		position: absolute; top: 100%; left: -1rem; z-index: 60; min-width: 15rem; padding: 0.5rem;
		background: #fff; border: 1px solid var(--c-line); border-radius: 12px; box-shadow: 0 16px 32px rgba(29, 27, 34, 0.14);
		display: none;
	}
	.ds-menu .menu-item-has-children:hover > .sub-menu,
	.ds-nav:not(.has-sub-js) .menu-item-has-children:focus-within > .sub-menu,
	.has-sub-js .menu-item-has-children.is-open > .sub-menu { display: block; }
	.ds-menu .sub-menu a { display: flex; min-height: 40px; padding: 0.45rem 0.75rem; border-radius: 8px; white-space: nowrap; }
	.ds-menu .sub-menu a::after { display: none; }
	.ds-menu .sub-menu a:hover, .ds-menu .sub-menu a:focus-visible { background: var(--c-tint); }
	.ds-header__btns { gap: 0.75rem; }
	.ds-logo { font-size: 1.6rem; }
}

/* Sticky Free Trial bar, phones only */
.ds-stickybar { display: none; }
@media (max-width: 599px) {
	body { padding-bottom: 76px; }
	.ds-stickybar {
		display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 0.6rem var(--gutter);
		background: #fff; border-top: 1px solid var(--c-line); box-shadow: 0 -8px 24px rgba(29, 27, 34, 0.1);
	}
	.ds-stickybar .ds-btn { width: 100%; }
}

/* Hero */
.ds-hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #f6effc 0%, #efe4f9 55%, #ffe9e5 100%); padding-block: 2rem 2.5rem; }
.ds-hero__blob {
	position: absolute; right: -160px; top: -100px; width: 520px; height: 520px; border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #efe3fb 0%, #e3d1f6 55%, transparent 56%); pointer-events: none;
}
.ds-hero::after {
	content: ""; position: absolute; left: -90px; bottom: -110px; width: 260px; height: 260px; border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 111, 97, 0.2) 0%, transparent 65%); pointer-events: none;
}
.ds-hero__inner { position: relative; z-index: 1; display: grid; gap: 2rem; }
.ds-eyebrow { font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-brand-text); font-weight: 700; margin: 0 0 0.6rem; }
.ds-hero__title { font-size: clamp(2.1rem, 8vw, 3.4rem); line-height: 1.05; margin: 0 0 1rem; }
.ds-hero__title em { color: var(--c-brand-text); }
.ds-lede { font-size: 1.0625rem; color: var(--c-muted); max-width: 34rem; }
.ds-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.5rem 0; }
.ds-chip {
	display: flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 0.5rem 1rem;
	border: 1.5px solid #ddd2e8; border-radius: 14px; background: #fff; color: var(--c-ink); text-decoration: none; font-weight: 600;
}
.ds-chip small { font-weight: 400; color: var(--c-muted); font-size: 0.8125rem; }
.ds-chip:hover { border-color: var(--c-brand-text); background: var(--c-brand-fill); color: var(--c-on-brand); }
.ds-chip:hover small { color: inherit; }
.ds-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }

/* Photo hero: clean white, dancers in a rising-and-falling line, and one ribbon in the studio colors
   sweeping behind them like a ribbon dancer's trail. The ribbon is the only decoration. */
.ds-hero--photos {
	--ribbon-1: var(--c-accent); --ribbon-2: var(--c-brand); --ribbon-3: color-mix(in srgb, var(--c-brand), #ffd600 80%);
	background: var(--c-paper); padding-block: 1rem 2.5rem; isolation: isolate;
}
.ds-hero--photos::after { display: none; }
.ds-hero--photos .ds-hero__inner { gap: 1.75rem; }
.ds-hero--photos .ds-hero__title {
	font-weight: 300; line-height: 1.02; letter-spacing: -0.025em;
	font-size: clamp(2.5rem, 11vw, 4.6rem); max-width: 11ch;
}
.ds-hero--photos .ds-lede { max-width: 30rem; }
.ds-hero__note { margin: 0.6rem 0 0; font-size: 0.9375rem; color: var(--c-muted); }

.ds-hero__ribbon { position: absolute; left: 0; top: 0; width: 100%; height: clamp(330px, 100vw, 500px); z-index: 0; pointer-events: none; overflow: visible; }
.ds-hero__ribbon path { fill: none; stroke: url(#ds-ribbon-grad); stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ds-hero__ribbon .ds-ribbon-a { stroke-width: 10px; }
.ds-hero__ribbon .ds-ribbon-b { stroke-width: 3px; opacity: 0.75; }
.ds-ribbon-s1 { stop-color: var(--ribbon-1); }
.ds-ribbon-s2 { stop-color: var(--ribbon-2); }
.ds-ribbon-s3 { stop-color: var(--ribbon-3); }

.ds-hero__stage { order: -1; position: relative; display: grid; gap: 0.6rem; height: clamp(300px, 92vw, 460px); }
.ds-hero__stage--2 { grid-template-columns: 1fr 1fr; }
.ds-hero__stage--3 { grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; }
.ds-hero__stage--3 .ds-hero__shot:first-child { grid-row: span 2; }
/* Four photos: a mosaic where each frame has one swept corner, so the set reads as one movement. */
.ds-hero__stage--4 { grid-template-columns: 1.1fr 1fr 0.85fr; grid-template-rows: 1fr 1fr; }
.ds-hero__stage--4 .ds-hero__shot:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; border-radius: 20px 20px 20px 96px; }
.ds-hero__stage--4 .ds-hero__shot:nth-child(2) { grid-column: 2 / span 2; grid-row: 1; border-radius: 20px 96px 20px 20px; }
.ds-hero__stage--4 .ds-hero__shot:nth-child(3) { grid-column: 2; grid-row: 2; }
.ds-hero__stage--4 .ds-hero__shot:nth-child(4) { grid-column: 3; grid-row: 2; border-radius: 20px 20px 96px 20px; }
.ds-hero__shot { margin: 0; min-height: 0; border-radius: 20px; overflow: hidden; background: var(--c-ink); }
.ds-hero__shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

/* The one moment of motion: the ribbon draws itself and the dancers rise along it. */
@media (prefers-reduced-motion: no-preference) {
	.ds-hero__ribbon path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ds-draw 1.6s cubic-bezier(0.45, 0, 0.2, 1) 0.15s forwards; }
	.ds-hero__ribbon .ds-ribbon-b { animation-delay: 0.3s; }
	.ds-hero__shot { animation: ds-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: 0.35s; }
	.ds-hero__shot:nth-child(2) { animation-delay: 0.55s; }
	.ds-hero__shot:nth-child(3) { animation-delay: 0.75s; }
	.ds-hero__shot:nth-child(4) { animation-delay: 0.95s; }
	@keyframes ds-draw { to { stroke-dashoffset: 0; } }
	@keyframes ds-rise { from { opacity: 0; transform: translateY(22px); } }
}

.ds-section--open { padding-block: 2rem; }
.ds-panel--open { max-width: 46rem; margin-inline: auto; }

@media (min-width: 900px) {
	.ds-hero--photos { padding-block: 3rem 5.5rem; }
	.ds-hero--photos .ds-hero__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3.5rem; }
	.ds-hero__ribbon { height: 100%; }
	.ds-hero__stage { order: 0; height: auto; align-items: start; gap: 1rem; }
	.ds-hero__stage--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; }
	.ds-hero__stage--2 { grid-template-rows: none; }
	.ds-hero__stage--3 .ds-hero__shot:first-child { grid-row: auto; }
	.ds-hero__stage--1 .ds-hero__shot { aspect-ratio: 4 / 5; }
	.ds-hero__stage--2 .ds-hero__shot, .ds-hero__stage--3 .ds-hero__shot { aspect-ratio: 9 / 16; }
	/* A phrase of movement: low, lifted, landing. */
	.ds-hero__stage--3 .ds-hero__shot:nth-child(1) { margin-top: 4.5rem; }
	.ds-hero__stage--3 .ds-hero__shot:nth-child(3) { margin-top: 2.25rem; }
	.ds-hero__stage--2 .ds-hero__shot:nth-child(1) { margin-top: 3rem; }
	.ds-hero__stage--4 { height: clamp(460px, 42vw, 580px); align-items: stretch; }
	.ds-hero__stage--4 .ds-hero__shot { aspect-ratio: auto; }
	.ds-hero__stage--4 .ds-hero__shot:nth-child(1) { margin-block: 2.5rem 0; }
	.ds-hero__stage--4 .ds-hero__shot:nth-child(4) { margin-block: 1.25rem -1.25rem; }
	.ds-hero__stage--4 .ds-hero__shot:nth-child(1), .ds-hero__stage--4 .ds-hero__shot:nth-child(2), .ds-hero__stage--4 .ds-hero__shot:nth-child(4) { border-radius: 24px; }
	.ds-hero__stage--4 .ds-hero__shot:nth-child(1) { border-bottom-left-radius: 140px; }
	.ds-hero__stage--4 .ds-hero__shot:nth-child(2) { border-top-right-radius: 140px; }
	.ds-hero__stage--4 .ds-hero__shot:nth-child(4) { border-bottom-right-radius: 140px; }
}

.ds-panel { background: #fff; border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--shadow); }
.ds-panel--wide { margin-top: 2rem; }
.ds-panel__title { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin: 0 0 0.5rem; }
.ds-panel__foot { margin: 0.5rem 0 0; font-size: 0.9375rem; }

.ds-classlist { list-style: none; margin: 0; padding: 0; }
.ds-classrow {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "when when" "what spots";
	gap: 0.15rem 0.75rem; align-items: center; padding: 0.75rem 0; border-top: 1px solid #f1ecf5;
}
.ds-classrow__when { grid-area: when; font-size: 0.8125rem; color: var(--c-muted); }
.ds-classrow__when b { color: var(--c-ink); font-size: 0.9375rem; }
.ds-classrow__what { grid-area: what; min-width: 0; }
.ds-classrow__what b { display: block; overflow-wrap: anywhere; }
.ds-classrow__what small { color: var(--c-muted); font-size: 0.8125rem; }
.ds-spots { grid-area: spots; font-size: 0.8125rem; font-weight: 700; border-radius: 999px; padding: 0.3rem 0.7rem; white-space: nowrap; }
.ds-spots--open { background: #e6f6ee; color: #14633c; }
.ds-spots--few { background: #fff0e3; color: #8f3f0e; }
.ds-spots--wait { background: #f2eff5; color: #4f4a59; }

/* Week board: one row per day, class tiles flowing across it. Rows (not columns) so a day with seven
   classes and a day with one don't leave most of the panel empty. */
.ds-board__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; margin: 0 0 0.9rem; }
.ds-board__count { margin: 0; font-size: 0.875rem; color: var(--c-muted); }
.ds-board__toggle {
	font: inherit; font-size: 0.875rem; font-weight: 700; cursor: pointer; border-radius: 999px; padding: 0.4rem 0.95rem 0.4rem 0.8rem;
	background: #fff; color: var(--c-brand-text); border: 1.5px solid var(--c-line); display: inline-flex; align-items: center; gap: 0.45rem;
}
.ds-board__toggle::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #2a9d62; box-shadow: 0 0 0 3px #e6f6ee; }
.ds-board__toggle:hover { border-color: var(--c-brand); }
.ds-board__toggle[aria-pressed="true"] { background: var(--c-brand-fill); border-color: var(--c-brand-fill); color: var(--c-on-brand); }
.ds-board__day { display: grid; gap: 0.4rem 1rem; padding: 0.8rem 0; border-top: 1px solid #f1ecf5; }
.ds-board__day:first-child { border-top: 0; padding-top: 0; }
.ds-board__day[hidden] { display: none; }
.ds-board__dayname {
	font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
	color: var(--c-brand-text); margin: 0;
}
.ds-board__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.25rem), 1fr)); gap: 0.5rem; }
@media (min-width: 700px) {
	.ds-board__list { grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); }
	.ds-board__day { grid-template-columns: 6.5rem minmax(0, 1fr); align-items: start; }
	.ds-board__dayname { padding-top: 0.65rem; }
}
.ds-board__none { margin: 0.5rem 0 0; color: var(--c-muted); }
.ds-tile[hidden] { display: none; }
.ds-tile__link {
	display: flex; flex-direction: column; gap: 0.1rem; height: 100%; padding: 0.5rem 0.65rem 0.55rem; border-radius: 12px;
	background: var(--c-tint); border: 1px solid transparent; color: var(--c-ink); text-decoration: none;
	transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.ds-tile--open .ds-tile__link, .ds-tile--few .ds-tile__link { background: #fff; border-color: var(--c-line); }
a.ds-tile__link:hover, a.ds-tile__link:focus-visible { border-color: var(--c-brand); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(107, 47, 163, 0.12); }
.ds-tile__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 0.5rem; margin-bottom: 0.1rem; }
.ds-tile__time { font-size: 0.8125rem; font-weight: 700; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.ds-tile .ds-spots { font-size: 0.6875rem; padding: 0.15rem 0.5rem; }
.ds-tile--wait .ds-spots { background: #fff; }
.ds-tile__name { font-size: 1rem; line-height: 1.25; overflow-wrap: anywhere; }
.ds-tile__meta { font-size: 0.8125rem; color: var(--c-muted); line-height: 1.35; }
.ds-tile__name--go::after { content: "\2192"; margin-left: 0.3rem; color: var(--c-brand-text); transition: margin 0.15s; }
.ds-tile--wait .ds-tile__name--go::after { color: var(--c-muted); }
a.ds-tile__link:hover .ds-tile__name--go::after { margin-left: 0.5rem; }
@media (prefers-reduced-motion: reduce) { .ds-tile__link { transition: none; } a.ds-tile__link:hover { transform: none; } }
/* Phones: one compact row per class (time | name + who | spots) under its day heading. */
@media (max-width: 699px) {
	.ds-board__list { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
	.ds-tile__link {
		display: grid; grid-template-columns: 4.4rem minmax(0, 1fr) auto; grid-template-areas: "time name spots" "time meta spots";
		column-gap: 0.6rem; row-gap: 0.05rem; align-items: center;
	}
	.ds-tile__top { display: contents; }
	.ds-tile__time { grid-area: time; align-self: start; padding-top: 0.15rem; font-size: 0.75rem; line-height: 1.3; }
	.ds-tile .ds-spots { grid-area: spots; }
	.ds-tile__name { grid-area: name; font-size: 0.9375rem; }
	.ds-tile__meta { grid-area: meta; }
	a.ds-tile__link:hover, a.ds-tile__link:focus-visible { transform: none; }
}

@media (min-width: 480px) {
	.ds-classrow { grid-template-columns: 8.5rem minmax(0, 1fr) auto; grid-template-areas: "when what spots"; }
}
@media (min-width: 900px) {
	.ds-hero { padding-block: 3.5rem 4rem; }
	.ds-hero__inner { grid-template-columns: 1fr 460px; align-items: center; gap: 3rem; }
	.ds-hero__blob { right: -120px; top: -60px; width: 640px; height: 640px; }
	.ds-classrow { grid-template-columns: 6rem minmax(0, 1fr) auto; }
}

/* Trust strip */
.ds-trust { background: #fff; border-bottom: 1px solid var(--c-line); }
.ds-trust__list { list-style: none; margin: 0 auto; padding-block: 1.1rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 2.5rem; color: var(--c-muted); }
.ds-trust__list b { font-family: var(--font-display); font-size: 1.6rem; color: var(--c-brand-text); margin-right: 0.25rem; }

/* Sections, grids, cards */
.ds-section { padding-block: 2.5rem; }
.ds-section--tint { background: var(--c-tint); }
.ds-section__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1rem; margin-bottom: 1.25rem; }
.ds-section__head .ds-h2 { margin: 0; }
.ds-section__gap { margin-top: 1.5rem; }
.ds-h2 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); }
.ds-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.ds-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.ds-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-tint); }
.ds-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ds-card__body { padding: 1.1rem; display: flex; flex-direction: column; flex: 1; }
.ds-card__title { font-size: 1.25rem; margin-bottom: 0.4rem; }
.ds-card__title a { color: var(--c-ink); text-decoration: none; }
.ds-card__text { color: var(--c-muted); flex: 1; }

.ds-pagehead { background: linear-gradient(160deg, #f6effc 0%, #efe4f9 70%, #ffe9e5 100%); padding-block: 2rem 1.75rem; border-bottom: 1px solid var(--c-line); }
.ds-title { font-size: clamp(1.9rem, 6.5vw, 3rem); margin: 0 0 0.4rem; }
.ds-pagehead .ds-lede { margin: 0; }
.ds-backlink { margin: 0 0 0.75rem; font-size: 0.9375rem; font-weight: 600; }
.ds-backlink a { color: var(--c-brand-text); text-decoration: none; display: inline-flex; gap: 0.35em; align-items: center; padding-block: 0.25rem; }
.ds-backlink a:hover, .ds-backlink a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

.ds-cta-band { background: var(--c-brand-fill); color: var(--c-on-brand); padding-block: 3rem; text-align: center; }
.ds-cta-band__title { font-size: clamp(1.6rem, 5vw, 2.4rem); }
.ds-cta-band p { max-width: 34rem; margin-inline: auto; }
.ds-cta-band__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1.25rem; }

/* Events */
.ds-eventlist { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.ds-grid--3 .ds-event, .ds-eventlist .ds-event { height: 100%; }
.ds-event { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1rem; }
.ds-event__date {
	flex: 0 0 auto; width: 3.6rem; text-align: center; background: var(--c-brand-fill); color: var(--c-on-brand);
	border-radius: 14px; padding: 0.45rem 0; line-height: 1.1;
}
.ds-event__date span { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.ds-event__date b { font-family: var(--font-display); font-size: 1.5rem; }
.ds-event--closure .ds-event__date { background: var(--c-ink); color: #fff; }
.ds-event--camp .ds-event__date { background: var(--c-accent-fill); color: var(--c-on-accent); }
.ds-event__body { min-width: 0; }
.ds-event__type { margin: 0; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-brand-text); font-weight: 700; }
.ds-event__title { font-size: 1.15rem; margin: 0.1rem 0 0.2rem; }
.ds-event__title a { color: var(--c-ink); text-decoration: none; }
.ds-event__title a:hover { text-decoration: underline; }
.ds-event__when { margin: 0; font-size: 0.9rem; color: var(--c-muted); }
.ds-eventlist--past { opacity: 0.85; }
.ds-month { margin-bottom: 1.75rem; }
.ds-month__title { font-size: 1.25rem; color: var(--c-brand-text); border-bottom: 2px solid var(--c-line); padding-bottom: 0.35rem; }
.ds-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.25rem 0; }

/* Staff */
.ds-staff { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.ds-staff-item { display: flex; flex-direction: column; }
.ds-staff-item > .ds-staff { flex: 1; }
.ds-staff__photo { position: relative; aspect-ratio: 4 / 4.2; background: var(--c-tint-2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ds-staff__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; display: block; }
.ds-monogram { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(rgb(0 0 0 / .2), rgb(0 0 0 / .2)), linear-gradient(150deg, var(--c-brand-fill), var(--c-accent-fill)); }
.ds-monogram::before, .ds-monogram::after { content: ""; position: absolute; width: 3%; min-width: 3px; height: 45%; bottom: -12%; border-radius: 99px; background: #fff; opacity: .16; transform: rotate(28deg); }
.ds-monogram::before { right: 18%; }
.ds-monogram::after { right: 8%; }
.ds-monogram__text { position: relative; font-family: var(--font-display); font-weight: 400; color: #fff; text-shadow: 0 1px 3px rgb(0 0 0 / .35); font-size: clamp(2.5rem, 9vw, 4.5rem); line-height: 1; }
.ds-staff__body { padding: 1.1rem; }
.ds-staff__name { font-size: 1.3rem; margin-bottom: 0.15rem; }
.ds-staff__role { color: var(--c-brand-text); font-weight: 600; margin-bottom: 0.6rem; }
.ds-staff__cred { color: var(--c-muted); font-size: 0.9375rem; margin: 0.6rem 0 0; }
.ds-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ds-tags li { background: var(--c-tint); color: var(--c-ink); border-radius: 999px; padding: 0.15rem 0.7rem; font-size: 0.8125rem; font-weight: 600; }

/* Content (S8 blocks rendered by ds_render_markdown) */
.ds-prose { max-width: 46rem; margin-inline: auto; font-size: 1.0625rem; }
.ds-prose--wide { max-width: none; }
.ds-prose > *:first-child { margin-top: 0; }
.ds-prose h2:not(.ds-cf__name) { font-size: clamp(1.4rem, 4vw, 1.9rem); margin-top: 2rem; }
.ds-prose h3 { font-size: 1.3rem; margin-top: 1.5rem; }
.ds-prose h4 { font-size: 1.1rem; margin-top: 1.25rem; }
.ds-prose img, .ds-prose__img { border-radius: 14px; }
.ds-prose ul:not([class]), .ds-prose ol:not([class]) { padding-left: 1.4rem; margin: 0 0 1em; }
.ds-prose li { margin-bottom: 0.3em; }
.ds-prose blockquote { margin: 1.25rem 0; padding: 0.25rem 1.1rem; border-left: 4px solid var(--c-brand); color: var(--c-muted); }
.ds-prose code { background: var(--c-tint); padding: 0.1em 0.35em; border-radius: 4px; font-size: 0.92em; }
.ds-prose hr { border: 0; border-top: 1px solid var(--c-line); margin: 2rem 0; }

/* :::columns regions: wider than the prose measure on desktop, each column still a readable width. */
.ds-cols > .ds-cols__col > :first-child { margin-top: 0; }
.ds-cols + .ds-cols { margin-top: 2.5rem; }
@media (max-width: 1179px) {
	.ds-cols:not(.ds-cols--cards) > .ds-cols__col + .ds-cols__col > h2:first-child { margin-top: 2rem; }
}
/* A heading-only region labels the columns under it. */
.ds-cols:has(> .ds-cols__col:only-child > h2:only-child) + .ds-cols { margin-top: 0.9rem; }
@media (min-width: 1180px) {
	.ds-prose .ds-cols {
		--cols-w: min(71rem, calc(100vw - 2 * var(--gutter) - 1rem));
		width: var(--cols-w); margin-inline: calc((100% - var(--cols-w)) / 2);
		display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3.5rem; align-items: start;
	}
	.ds-prose .ds-cols .ds-glance { grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); }
	.ds-cols__col > :last-child { margin-bottom: 0; }
}

/* :::columns cards: every column is a card, as many per row as fit. */
/* Grid and card box for .ds-cols--cards live in blocks.css (loaded on every front-end page). */
.ds-cols--cards > .ds-cols__col > :last-child { margin-bottom: 0; }
.ds-cols--cards > .ds-cols__col > .ds-cta:last-child,
.ds-cols--cards > .ds-cols__col > .ds-more:last-child { margin-top: auto; padding-top: 1rem; }
.ds-cols--cards h2:not(.ds-cf__name) { font-size: clamp(1.4rem, 3vw, 1.7rem); }
.ds-cols--cards h3 { font-size: 1.2rem; }
.ds-cols--cards p { font-size: 1rem; }
.ds-prose .ds-cols--cards .ds-glance { grid-template-columns: 1fr; gap: 0.6rem; margin: 1rem 0 0; }
@media (min-width: 1180px) {
	.ds-prose .ds-cols.ds-cols--cards { grid-auto-flow: row; gap: 1.25rem; align-items: stretch; }
	/* A lone wide column keeps paragraphs at reading width. */
	.ds-cols__col:only-child > p { max-width: 46rem; }
}

.ds-glance {
	display: grid; grid-template-columns: 1fr; gap: 0.75rem; margin: 1.25rem 0 1.75rem; padding: 1.1rem;
	background: var(--c-tint); border: 1px solid var(--c-line); border-radius: var(--radius);
}
.ds-glance__item { margin: 0; min-width: 0; }
.ds-glance dt { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-brand-text); font-weight: 700; }
.ds-glance dd { margin: 0.1rem 0 0; font-weight: 600; overflow-wrap: anywhere; }
@media (min-width: 480px) {
	.ds-glance { grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
}

/* Event flyer: a preview card beside the facts box that opens the full flyer. */
.ds-event-top { display: grid; gap: 0.75rem; margin: 1.25rem 0 1.75rem; }
.ds-event-top .ds-glance { margin: 0; }
.ds-flyer {
	display: flex; align-items: center; gap: 0.9rem; padding: 0.6rem; text-decoration: none;
	background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); color: var(--c-brand-text);
	transition: border-color 0.15s, box-shadow 0.15s;
}
.ds-flyer:hover, .ds-flyer:focus-visible { border-color: var(--c-brand-text); box-shadow: 0 4px 14px rgb(0 0 0 / 0.08); }
.ds-prose .ds-flyer__img { width: 4.5rem; height: auto; max-height: 6rem; object-fit: cover; object-position: top; border-radius: 8px; flex: none; }
.ds-flyer__label { font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; }
@media (min-width: 640px) {
	.ds-event-top { grid-template-columns: 1fr 9.5rem; align-items: stretch; }
	.ds-flyer { flex-direction: column; justify-content: center; text-align: center; gap: 0.5rem; }
	.ds-prose .ds-flyer__img { width: 100%; max-height: 10rem; }
	.ds-flyer__label { font-size: 0.9rem; }
}
/* Event "Links for families": a grid of link cards; one with no address yet reads "Coming soon". */
.ds-event-links { margin: 1.5rem 0 2rem; }
.ds-event-links h2 { margin: 0 0 0.75rem; }
.ds-prose .ds-event-links ul, .ds-prose .ds-jump ul { padding-left: 0; }
.ds-event-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }
.ds-event-links li { margin: 0; }
.ds-event-link {
	display: flex; flex-direction: column; justify-content: center; gap: 0.15rem; height: 100%; padding: 0.75rem 1rem;
	border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; text-decoration: none; color: inherit;
}
a.ds-event-link { border-left: 4px solid var(--c-brand-text); }
a.ds-event-link:hover, a.ds-event-link:focus-visible { border-color: var(--c-brand-text); box-shadow: 0 4px 14px rgb(0 0 0 / 0.08); }
a.ds-event-link .ds-event-link__label { color: var(--c-brand-text); font-weight: 700; }
a.ds-event-link .ds-event-link__label::after { content: " \2197"; font-weight: 400; }
.ds-event-link__note { font-size: 0.875rem; color: var(--c-muted, #555); }
.ds-event-link.is-soon { background: var(--c-tint); border-style: dashed; }
.ds-event-link.is-soon .ds-event-link__label { font-weight: 600; }

/* Share buttons (share.js): page, family link and section. */
.ds-share { display: inline-flex; align-items: center; gap: 0.4rem; cursor: pointer; }
.ds-share__icon {
	width: 1em; height: 1em; flex: none; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M7 8l5-5 5 5M5 13v6a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M7 8l5-5 5 5M5 13v6a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ds-share.is-copied { border-color: var(--c-brand-text); }
.ds-event-links li { position: relative; }
.ds-event-links li:has(.ds-share--link) a.ds-event-link { padding-bottom: 2.9rem; justify-content: flex-start; }
.ds-share--link, .ds-share--section {
	padding: 0.3rem 0.6rem; border: 1px solid var(--c-line); border-radius: 999px; background: #fff;
	color: var(--c-brand-text); font: 600 0.8rem/1.2 var(--font-body);
}
.ds-share--link { position: absolute; bottom: 0.6rem; right: 0.6rem; }
.ds-share--link:hover, .ds-share--link:focus-visible, .ds-share--section:hover, .ds-share--section:focus-visible { border-color: var(--c-brand-text); }
.ds-share--section { margin-left: 0.6rem; vertical-align: middle; letter-spacing: 0; text-transform: none; }

/* :::jump - a row of links to the page's sections. */
.ds-jump { margin: 1.25rem 0 1.75rem; }
.ds-jump ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ds-jump li { margin: 0; }
.ds-jump a {
	display: inline-block; padding: 0.4rem 0.85rem; border: 1px solid var(--c-line); border-radius: 999px;
	background: var(--c-tint); color: var(--c-brand-text); font-weight: 600; font-size: 0.9rem; text-decoration: none;
}
.ds-jump a:hover, .ds-jump a:focus-visible { border-color: var(--c-brand-text); }
.ds-prose h2[id] { scroll-margin-top: 6rem; }

/* The docked copy of :::jump (main.js): hangs under the sticky header once the original row scrolls away. */
.ds-jumpbar {
	position: absolute; top: 100%; left: 0; right: 0;
	background: rgba(255, 255, 255, 0.95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--c-line); box-shadow: 0 8px 18px rgba(29, 27, 34, 0.06);
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}
.ds-jumpbar.is-shown { opacity: 1; visibility: visible; transform: none; transition: opacity 0.18s ease, transform 0.18s ease; }
.ds-menu-open .ds-jumpbar { display: none; }
.ds-jumpbar__inner { display: flex; align-items: center; gap: 0.6rem; padding-block: 0.4rem; }
.ds-jumpbar__label { display: none; flex: none; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); }
.ds-jumpbar__top {
	flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
	border: 1px solid var(--c-line); color: var(--c-brand-text); background: #fff;
}
.ds-jumpbar__top:hover, .ds-jumpbar__top:focus-visible { border-color: var(--c-brand-text); }
.ds-jumpbar ul {
	position: relative; flex: 1 1 auto; min-width: 0; list-style: none; margin: 0; padding: 0 1.5rem 0 0;
	display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none;
	-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 1.5rem), transparent);
	mask-image: linear-gradient(to right, #000 calc(100% - 1.5rem), transparent);
}
.ds-jumpbar ul::-webkit-scrollbar { display: none; }
.ds-jumpbar li { flex: none; margin: 0; }
.ds-jumpbar li a {
	display: block; padding: 0.35rem 0.8rem; border-radius: 999px; white-space: nowrap;
	font-size: 0.875rem; font-weight: 600; color: var(--c-muted); text-decoration: none;
}
.ds-jumpbar li a:hover, .ds-jumpbar li a:focus-visible { color: var(--c-brand-text); background: var(--c-tint); }
.ds-jumpbar li a[aria-current="true"] { background: var(--c-brand-fill); color: var(--c-on-brand); }
/* html already has scroll-padding-top: 5rem; this tops it up to clear the header plus the bar. */
.has-jumpbar .ds-prose h2[id] { scroll-margin-top: calc(var(--ds-head-h, 5rem) - 1rem); }
@media (min-width: 900px) { .ds-jumpbar__label { display: block; } }
@media (prefers-reduced-motion: reduce) { .ds-jumpbar, .ds-jumpbar.is-shown { transition: none; } }

.ds-flyer-dialog {
	width: min(92vw, 44rem); max-height: 92vh; padding: 1rem; border: 0; border-radius: var(--radius);
	box-shadow: 0 20px 60px rgb(0 0 0 / 0.35);
}
.ds-flyer-dialog::backdrop { background: rgb(20 10 30 / 0.7); }
.ds-flyer-dialog img { display: block; width: 100%; height: auto; border-radius: 8px; }
.ds-flyer-dialog p { margin: 0.75rem 0 0; text-align: center; }
.ds-flyer-dialog form { position: sticky; top: 0; height: 0; text-align: right; z-index: 1; }
.ds-flyer-dialog__close {
	width: 2.5rem; height: 2.5rem; margin: 0.4rem; border: 0; border-radius: 50%; cursor: pointer;
	background: rgb(255 255 255 / 0.92); color: #222; font-size: 1.6rem; line-height: 1; box-shadow: 0 2px 8px rgb(0 0 0 / 0.2);
}

.ds-steps { list-style: none; counter-reset: ds-step; padding: 0 !important; margin: 1.25rem 0 1.75rem; display: grid; gap: 0.75rem; }
.ds-steps li {
	counter-increment: ds-step; position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: 14px;
	padding: 0.9rem 1rem 0.9rem 3.6rem; margin: 0; min-height: 3.6rem; box-shadow: 0 6px 16px rgba(107, 47, 163, 0.06);
}
.ds-steps li::before {
	content: counter(ds-step); position: absolute; left: 0.9rem; top: 0.8rem; width: 2rem; height: 2rem; border-radius: 50%;
	background: var(--c-brand-fill); color: var(--c-on-brand); font: 700 1rem/2rem var(--font-body); text-align: center;
}

.ds-note { margin: 1.25rem 0 1.75rem; padding: 0.9rem 1.1rem; background: #fff6f4; border-left: 5px solid var(--c-accent); border-radius: 0 14px 14px 0; }
.ds-note > :last-child { margin-bottom: 0; }

.ds-cta { margin: 1.5rem 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
/* :::prices cards */
.ds-prices { list-style: none; padding: 0 !important; margin: 1.25rem 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0.75rem; }
.ds-price {
	margin: 0; padding: 1rem 0.75rem; text-align: center; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
	display: flex; flex-direction: column; align-items: center; box-shadow: 0 6px 16px rgba(107, 47, 163, 0.06);
}
.ds-price__label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-brand-text); font-weight: 700; }
.ds-price__amount { font-family: var(--font-display); font-size: clamp(2rem, 7vw, 3rem); line-height: 1.1; margin: 0.25rem 0 0.15rem; color: var(--c-ink); }
.ds-price__note { font-size: 0.875rem; color: var(--c-muted); line-height: 1.35; }
.ds-price__note + .ds-price__note { font-weight: 600; color: var(--c-ink); margin-top: 0.2rem; }
.ds-cta .ds-btn { color: var(--c-on-brand); }
.ds-cta .ds-btn--ghost { color: var(--c-brand-text); }
.ds-cta .ds-btn:hover { text-decoration: none; }

.ds-faq { margin: 1.25rem 0 1.75rem; display: grid; gap: 0.6rem; }
.ds-faq__item { border: 1px solid var(--c-line); border-radius: 14px; background: #fff; }
.ds-faq__item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 52px; padding: 0.6rem 1rem;
	font-weight: 600; cursor: pointer; list-style: none;
}
.ds-faq__item summary::-webkit-details-marker { display: none; }
.ds-faq__item summary::after { content: "+"; font-size: 1.5rem; color: var(--c-brand-text); line-height: 1; flex: 0 0 auto; }
.ds-faq__item[open] summary::after { content: "\2212"; }
.ds-faq__answer { padding: 0 1rem 0.5rem; }

/* :::tabs. Base = stacked cards (no JS). main.js adds .is-tabs (720px+) or .is-accordion. */
.ds-tabset { display: grid; gap: 0.6rem; margin: 1.25rem 0 1.75rem; }
.ds-tabset__panel { min-width: 0; padding: 0.9rem 1rem; border: 1px solid var(--c-line); border-radius: 14px; background: #fff; }
.ds-prose .ds-tabset__head { margin: 0 0 0.6rem; font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height: 1.35; letter-spacing: 0; }
.ds-tabset__fields { display: grid; gap: 0.9rem; margin: 0; }
.ds-tabset__field { min-width: 0; }
.ds-tabset__field dt { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-brand-text); font-weight: 700; }
.ds-tabset__field dd { margin: 0.2rem 0 0; overflow-wrap: anywhere; }

.ds-tabset.is-accordion .ds-tabset__panel { padding: 0; transition: border-color 0.15s; }
.ds-tabset.is-accordion .ds-tabset__panel.is-open { border-color: color-mix(in srgb, var(--c-brand) 40%, var(--c-line)); }
.ds-prose .is-accordion .ds-tabset__head { margin: 0; }
.ds-tabset__toggle {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 52px; padding: 0.6rem 1rem;
	font: inherit; font-weight: 600; text-align: left; color: inherit; background: none; border: 0; border-radius: 14px; cursor: pointer;
}
.ds-tabset__toggle::after { content: "+"; content: "+" / ""; flex: 0 0 auto; font-size: 1.5rem; line-height: 1; color: var(--c-brand-text); }
.ds-tabset__toggle[aria-expanded="true"]::after { content: "\2212"; content: "\2212" / ""; }
.ds-tabset__panel { scroll-margin-top: 6rem; }
.ds-tabset__toggle:focus-visible, .ds-tabset__tab:focus-visible { outline: 3px solid var(--c-accent-fill); outline-offset: 2px; }
.ds-tabset.is-accordion .ds-tabset__body { padding: 0 1rem 1rem; }

.ds-tabset.is-tabs { gap: 0; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; }
.ds-tabset.is-tabs .ds-tabset__head { display: none; }
.ds-tabset.is-tabs .ds-tabset__panel { padding: 1.5rem 1.75rem; border: 0; border-radius: 0; background: none; }
.ds-tabset.is-tabs .ds-tabset__panel:focus-visible { outline: 3px solid var(--c-accent-fill); outline-offset: -3px; }
/* Every panel sits in one grid cell, so the box keeps the tallest panel's height and nothing below jumps. */
.ds-tabset.is-tabs .ds-tabset__panel:not(.is-active) { visibility: hidden; opacity: 0; }
.ds-tabset.is-tabs .ds-tabset__fields { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.25rem 2rem; align-content: start; }
.ds-tabset.is-tabs .ds-tabset__field dd { font-size: 1.0625rem; }
.ds-tabset__list[hidden] { display: none; }
.ds-tabset__list { display: flex; gap: 0.25rem; padding: 0.6rem; background: var(--c-tint); }
.ds-tabset__tab {
	min-height: 44px; padding: 0.55rem 0.9rem; font: inherit; font-size: 0.9375rem; font-weight: 600; line-height: 1.3; text-align: left;
	color: var(--c-ink); background: none; border: 0; border-radius: 10px; cursor: pointer;
}
.ds-tabset__tab:hover { background: color-mix(in srgb, var(--c-brand) 9%, transparent); }
.ds-tabset__tab[aria-selected="true"] { background: var(--c-brand-fill); color: var(--c-on-brand); }

.ds-tabset--side.is-tabs { grid-template-columns: minmax(12rem, 19rem) minmax(0, 1fr); }
.ds-tabset--side .ds-tabset__list { grid-area: 1 / 1; flex-direction: column; border-right: 1px solid var(--c-line); }
.ds-tabset--side.is-tabs .ds-tabset__panel { grid-area: 1 / 2; }
.ds-tabset--top .ds-tabset__list { grid-area: 1 / 1; flex-wrap: wrap; border-bottom: 1px solid var(--c-line); }
.ds-tabset--top .ds-tabset__list { gap: 0.4rem; padding: 0.75rem; }
.ds-tabset--top .ds-tabset__tab { border-radius: 999px; padding-inline: 1.1rem; background: #fff; box-shadow: inset 0 0 0 1px var(--c-line); }
.ds-tabset--top .ds-tabset__tab:hover { background: color-mix(in srgb, var(--c-brand) 9%, #fff); }
.ds-tabset--top .ds-tabset__tab[aria-selected="true"] { background: var(--c-brand-fill); box-shadow: none; }
.ds-tabset--top.is-tabs .ds-tabset__panel { grid-area: 2 / 1; }
@media (prefers-reduced-motion: no-preference) {
	.ds-tabset.is-tabs .ds-tabset__panel.is-active { transition: opacity 0.2s ease; } /* fade in only, so panels never overlap */
	.ds-tabset__tab { transition: background-color 0.15s, color 0.15s; }
}

.ds-table-wrap { overflow-x: auto; max-width: 100%; margin: 1.25rem 0 1.75rem; border: 1px solid var(--c-line); border-radius: 14px; -webkit-overflow-scrolling: touch; }
.ds-table-wrap table { width: 100%; min-width: 28rem; border-collapse: collapse; font-size: 0.9375rem; }
.ds-table-wrap th, .ds-table-wrap td { padding: 0.65rem 0.8rem; text-align: left; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.ds-table-wrap th { background: var(--c-tint); font-weight: 700; white-space: nowrap; }
.ds-table-wrap tbody tr:last-child td { border-bottom: 0; }

/* Search, pagination */
.search-form { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.search-form label { flex: 1 1 14rem; }
.search-field, input[type="search"] { width: 100%; min-height: 44px; padding: 0.5rem 0.9rem; border: 1px solid #8d8698; border-radius: 12px; font: inherit; }
.search-submit { min-height: 44px; padding: 0 1.2rem; border: 0; border-radius: 999px; background: var(--c-brand-fill); color: var(--c-on-brand); font: 600 1rem var(--font-body); cursor: pointer; }
.navigation.pagination { margin-top: 2rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.nav-links a, .nav-links span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 0.8rem; border: 1px solid var(--c-line); border-radius: 12px; text-decoration: none; }
.nav-links .current { background: var(--c-brand-fill); color: var(--c-on-brand); border-color: var(--c-brand); }

/* Footer */
.ds-footer { background: var(--c-ink); color: #fff; margin-top: 0; padding-top: 3rem; font-size: 0.9375rem; line-height: 1.5; }
.ds-footer a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.ds-footer a:hover, .ds-footer a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.ds-footer__grid { display: grid; gap: 2.25rem; padding-bottom: 2.5rem; }
.ds-footer__name { font-family: var(--font-display); font-size: 1.4rem; margin: 0 0 0.75rem; }
.ds-footer__head { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; color: #d9cdea; margin: 0 0 0.875rem; }
.ds-footer address { font-style: normal; color: #e6e0ee; margin-bottom: 0.5rem; }
.ds-footer p { margin-bottom: 0; }
.ds-footer__menu, .ds-footer .ds-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.125rem; }
.ds-footer .ds-menu a, .ds-footer__menu a { min-height: 32px; color: #fff; border: 0; padding: 0; font-weight: 400; font-size: 0.9375rem; }
.ds-footer .ds-menu a::after { display: none; }
.ds-hours__status { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 0.75rem; padding: 0.3rem 0.75rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-size: 0.875rem; font-weight: 600; }
.ds-hours__status[hidden] { display: none; }
.ds-hours__status::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #9a93a6; flex: none; }
.ds-hours__status.is-open::before { background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25); }
.ds-hours__list { margin: 0; display: grid; gap: 0.125rem; max-width: 15rem; }
.ds-hours__row { display: grid; grid-template-columns: 3rem 1fr; align-items: center; padding: 0.2rem 0.625rem; margin-inline: -0.625rem; border-radius: 8px; }
.ds-hours__row dt { color: #d9cdea; }
.ds-hours__row dt abbr { text-decoration: none; }
.ds-hours__row dd { margin: 0; font-variant-numeric: tabular-nums; }
.ds-hours__row.is-closed dd { color: #a9a2b5; }
.ds-hours__row.is-today { background: rgba(255, 255, 255, 0.1); box-shadow: inset 3px 0 0 var(--c-accent); font-weight: 600; }
.ds-hours__row.is-today dt { color: #fff; }
.ds-hours__row dd .ds-hours__note { display: block; font-size: 0.8125rem; font-weight: 400; color: #d9cdea; }
.ds-hours__closures { margin-top: 1.25rem; }
.ds-hours__head { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; color: #d9cdea; margin: 0 0 0.5rem; }
.ds-hours__closures ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.125rem; }
.ds-hours__closures li { margin: 0; }
.ds-hours__closures a { display: block; min-height: 0; padding: 0.3rem 0; font-size: 0.9375rem; line-height: 1.35; color: #fff; text-decoration: none; }
.ds-hours__closures a:hover, .ds-hours__closures a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.ds-hours__closures li[hidden], .ds-hours__closures[hidden], .ds-hours__now[hidden] { display: none; }
.ds-hours__when { color: #d9cdea; font-variant-numeric: tabular-nums; margin-right: 0.35em; }
.ds-hours__what { color: #fff; }
.ds-hours__now { display: inline-block; margin-right: 0.4em; padding: 0 0.45em; border-radius: 999px; background: var(--c-accent); color: #fff; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; vertical-align: 0.1em; }
.ds-hours__more { margin: 0.375rem 0 0; font-size: 0.875rem; }
.ds-hours__more a { color: #d9cdea; display: inline-block; padding: 0.25rem 0; text-decoration: none; }
.ds-hours__more a:hover, .ds-hours__more a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.ds-social { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; gap: 0.5rem; }
.ds-social__link { width: 44px; height: 44px; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 50%; }
.ds-footer .ds-social__link:hover { background: rgba(255, 255, 255, 0.1); }
.ds-footer__base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; padding-block: 1.25rem; color: #d9cdea; font-size: 0.8125rem; }
.ds-footer__base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid rgba(255, 255, 255, 0.15); }
.ds-footer__base p { margin: 0; }
.ds-footer__base a { min-height: 0; display: inline; text-decoration: underline; text-underline-offset: 3px; }
.ds-footer__dir { margin: -0.25rem 0 0.5rem; font-size: 0.875rem; }
.ds-footer__dir a { color: #d9cdea; gap: 0.35em; }
@media (min-width: 700px) {
	.ds-footer__grid { grid-template-columns: 1.3fr 1fr 0.8fr; }
}

/* Contact page: form beside a "Visit the studio" card ([ds_contact]). The hours block inside it
   reuses the footer markup, recolored for a light card. */
.ds-contact { display: grid; gap: 2rem; align-items: start; }
.ds-visit { background: var(--c-ink); color: #fff; border-radius: 20px; padding: 1.5rem; }
.ds-visit a { color: #fff; }
.ds-visit h2.ds-visit__title { font-size: 1.35rem; margin: 0 0 0.75rem; color: #fff; }
.ds-visit address { font-style: normal; margin-bottom: 0.75rem; color: #e6e0ee; }
.ds-visit__contact { margin: 0 0 1rem; line-height: 1.9; }
.ds-visit__btns { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.25rem; }
.ds-visit__btns .ds-btn { background: #fff; color: var(--c-ink); }
.ds-visit__btns .ds-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.ds-visit h3.ds-visit__sub { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #d9cdea; margin: 0 0 0.875rem; font-family: var(--font-body); }
.ds-visit__map { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 12px; margin-top: 1.25rem; background: #2a2731; }
.ds-contact .ds-form-wrap { max-width: none; margin: 0; }
@media (min-width: 900px) {
	/* Wider than the 46rem prose column, centered on it. */
	.ds-contact { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2.5rem; width: min(68rem, calc(100vw - 2 * var(--gutter) - 1rem)); margin-inline: calc(50% - min(34rem, 50vw - var(--gutter) - 0.5rem)); }
	.ds-visit { position: sticky; top: 6rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Phones: keep the top strip to phone + notice (the address is in the footer), and lay the
   four age chips out as a 2x2 grid instead of a lopsided 3+1 wrap. */
@media (max-width: 599px) {
	.ds-util__contact .ds-address,
	.ds-util__contact a[href*="maps"] { display: none; }
	.ds-chips { display: grid; grid-template-columns: 1fr 1fr; }
}

/* Home: classes with open spots, as cards. Up to three across; fewer cards widen to fill the row. */
.ds-section__sub { margin: -0.4rem 0 0; color: var(--c-muted); }
.ds-cgrid {
	list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, max(16.5rem, (100% - 2rem) / 3)), 1fr));
}
.ds-ccard { position: relative; display: flex; flex-direction: column; gap: 0.3rem; padding: 1.15rem 1.25rem 1rem; background: var(--c-paper); border: 1px solid var(--c-line); border-radius: 18px; }
.ds-ccard__when { margin: 0; font-size: 0.9375rem; color: var(--c-muted); }
.ds-ccard__when b { color: var(--c-brand-text); margin-right: 0.2rem; }
.ds-ccard__name { margin: 0; font-size: 1.3rem; line-height: 1.2; }
.ds-ccard__meta { margin: 0; font-size: 0.875rem; color: var(--c-muted); }
.ds-ccard__foot { margin-top: auto; padding-top: 0.9rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.ds-ccard__start { font-size: 0.8125rem; color: var(--c-muted); }
.ds-ccard__reg {
	margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem;
	border: 1.5px solid var(--c-accent-text); border-radius: 999px; color: var(--c-accent-text); font-weight: 700; text-decoration: none;
}
.ds-ccard__reg:hover { background: var(--c-accent-fill); border-color: var(--c-accent-fill); color: var(--c-on-accent); }

/* Home: coming up. A tinted feature per event type, later events listed beside it. */
.ds-coming { display: grid; gap: 1rem; }
.ds-feature {
	--tint: color-mix(in srgb, var(--c-brand) 9%, #fff); --hue: var(--c-brand-fill); --on: var(--c-on-brand);
	display: grid; background: var(--tint); border-radius: 24px; overflow: hidden;
}
.ds-feature--camp { --tint: color-mix(in srgb, var(--c-accent) 11%, #fff); --hue: var(--c-accent-fill); --on: var(--c-on-accent); }
.ds-feature--event { --tint: #fff7d1; --hue: var(--c-ink); --on: #fff; }
.ds-feature--closure { --tint: #f3f2f5; --hue: var(--c-ink); --on: #fff; }
.ds-feature__media img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ds-feature__body { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; padding: 1.5rem; }
.ds-feature__date { display: inline-flex; align-items: baseline; gap: 0.45rem; margin: 0 0 0.35rem; padding: 0.4rem 0.95rem; border-radius: 999px; background: var(--hue); color: var(--on); }
.ds-feature__date span { font-size: 0.875rem; font-weight: 600; }
.ds-feature__date b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.ds-feature__title { margin: 0; font-size: clamp(1.6rem, 5vw, 2.25rem); line-height: 1.1; }
.ds-feature__title a { color: var(--c-ink); text-decoration: none; }
.ds-feature__title a:hover { text-decoration: underline; }
.ds-feature__when { margin: 0; color: var(--c-muted); }
.ds-feature__text { margin: 0.25rem 0 0.75rem; max-width: 44ch; }
.ds-feature .ds-btn { margin-top: auto; }

.ds-tag { display: inline-block; margin: 0; padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; background: color-mix(in srgb, var(--c-brand) 12%, #fff); color: var(--c-brand-text); }
.ds-tag--camp { background: color-mix(in srgb, var(--c-accent) 14%, #fff); color: var(--c-accent-text); }
.ds-tag--closure { background: #ebe9ef; color: #4f4a59; }
.ds-feature .ds-tag { background: #fff; }

.ds-uplist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; align-content: start; }
.ds-uplist__item { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.15rem; background: var(--c-paper); border: 1px solid var(--c-line); border-radius: 18px; }
.ds-uplist__item--closure { background: #faf9fb; }
.ds-uplist__date { flex: 0 0 4.25rem; margin: 0; display: flex; flex-direction: column; line-height: 1.15; }
.ds-uplist__date b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--c-brand-text); }
.ds-uplist__date span { font-size: 0.8125rem; color: var(--c-muted); }
.ds-uplist__item--camp .ds-uplist__date b { color: var(--c-accent-text); }
.ds-uplist__item--closure .ds-uplist__date b { color: var(--c-muted); }
.ds-uplist__body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0.2rem; }
.ds-uplist__title { font-weight: 700; color: var(--c-ink); text-decoration: none; overflow-wrap: anywhere; }
.ds-uplist__title:hover { text-decoration: underline; }
.ds-uplist__body small { font-size: 0.875rem; color: var(--c-muted); }

@media (min-width: 760px) {
	.ds-coming--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ds-coming--solo .ds-feature--media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.ds-feature__body { padding: 2rem; }
}
@media (min-width: 900px) {
	.ds-coming--list { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
	.ds-coming--list .ds-uplist { align-content: stretch; }
}
/* A grid whose few items widen to fill the row, up to three across. */
.ds-grid--fit { grid-template-columns: repeat(auto-fit, minmax(min(100%, max(16.5rem, (100% - 2.2rem) / 3)), 1fr)); }
/* Phones: class cards become a swipe row, the next card peeking in, instead of a long stack. */
@media (max-width: 759px) {
	.ds-cgrid:has(> :nth-child(2)) {
		grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%;
		overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
		margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 0.5rem; scroll-padding-inline: var(--gutter);
	}
	.ds-cgrid:has(> :nth-child(2)) > .ds-ccard { scroll-snap-align: start; }
}

/* Google reviews */
.ds-stars {
	display: inline-block; font-size: 1.05em; letter-spacing: 2px; line-height: 1; vertical-align: -0.1em;
}
.ds-stars::before {
	content: "\2605\2605\2605\2605\2605";
	background: linear-gradient(90deg, #f5a623 calc(var(--ds-rating, 5) / 5 * 100%), var(--c-line) 0);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
}
.ds-reviews__summary { margin: 0.35rem 0 0; color: var(--c-muted); }
.ds-reviews__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.ds-review { min-width: 0; }
.ds-review figure {
	margin: 0; height: 100%; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem;
	background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
}
.ds-review__text, .ds-prose .ds-review__text { margin: 0; padding: 0; border: 0; font-size: 1.05rem; line-height: 1.55; color: inherit; overflow-wrap: anywhere; }
.ds-review__text p { margin: 0; }
.ds-review__text p::before { content: "\201C"; color: var(--c-brand-text); font-size: 2.2em; line-height: 0; vertical-align: -0.35em; margin-right: 0.1em; }
.ds-review__name { font-weight: 700; margin-top: auto; }
.ds-reviews__more { margin: 1rem 0 0; }
.ds-reviews--compact { padding-block: 0; margin-block: 2rem; }
.ds-reviews--compact .ds-wrap { padding-inline: 0; max-width: none; }

/* Staff profiles and linked staff cards */
.ds-staff { position: relative; }
.ds-staff__link { color: inherit; text-decoration: none; }
.ds-staff__link::after { content: ""; position: absolute; inset: 0; }
.ds-staff__link:focus-visible { outline: none; }
.ds-staff:has(.ds-staff__link:focus-visible), .ds-staff:hover { border-color: var(--c-brand-text); box-shadow: 0 4px 14px rgb(0 0 0 / 0.08); }
.ds-staff:has(.ds-staff__link:focus-visible) { outline: 3px solid var(--c-brand-text); outline-offset: 2px; }
.ds-staff__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.ds-profile { display: grid; gap: 1.5rem; margin-bottom: 2.5rem; align-items: start; }
.ds-profile__photo { position: relative; aspect-ratio: 4 / 4.2; background: var(--c-tint-2); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; overflow: hidden; max-width: 26rem; }
.ds-profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; display: block; }
.ds-profile__photo .ds-monogram__text { font-size: 7rem; }
.ds-profile__body { margin-inline: 0; max-width: none; }
.ds-prose h2.ds-profile__label, .ds-profile__label { font-size: 1.1rem; margin: 0 0 0.5rem; }
.ds-profile__body .ds-tags { margin-bottom: 1rem; }
@media (min-width: 700px) {
	.ds-profile { grid-template-columns: minmax(14rem, 20rem) 1fr; gap: 2.5rem; }
}

/* A cta written after the last :::columns region lines up with the wide regions above it, not the prose measure. */
@media (min-width: 1180px) {
	.ds-prose:has(> .ds-cols) > .ds-cta,
	.ds-prose:has(> .ds-cols) > .ds-back-row {
		--cols-w: min(71rem, calc(100vw - 2 * var(--gutter) - 1rem));
		width: var(--cols-w); margin-inline: calc((100% - var(--cols-w)) / 2);
	}
}

/* Event pages: details sidebar (facts, buttons, flyer, family links) beside the reading column. The reading
   column starts at the page edge, under the title, like the other inner pages. Stacked below 1024px. */
.ds-event__side > :first-child { margin-top: 0; }
@media (min-width: 1024px) {
	.ds-event-page { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 3.5rem; align-items: start; }
	.ds-event-page > .ds-prose { max-width: none; margin: 0; }
	.ds-event-page > .ds-event__main { grid-row: 1; grid-column: 1; max-width: 50rem; }
	.ds-event__side { grid-column: 2; font-size: 1rem; }
	.ds-event__side .ds-glance, .ds-event__side .ds-event-top { grid-template-columns: 1fr; }
	.ds-event__side .ds-event-top { margin-top: 0; }
	.ds-event__side .ds-flyer { flex-direction: row; justify-content: flex-start; text-align: left; }
	.ds-event__side .ds-flyer__img { width: 4.5rem; max-height: 6rem; }
	.ds-event__side .ds-actions .ds-btn { flex: 1 1 auto; justify-content: center; }
	.ds-event__side .ds-event-links ul { grid-template-columns: 1fr; }
	.ds-event__side .ds-event-links h2 { font-size: 1.4rem; }
	/* Wide regions stay inside the reading column here: side-by-side columns stack, cards go two across. */
	.ds-event-page .ds-event__main .ds-cols { width: auto; margin-inline: 0; display: block; }
	.ds-event-page .ds-event__main .ds-cols > .ds-cols__col + .ds-cols__col { margin-top: 1.5rem; }
	.ds-event-page .ds-event__main .ds-cols--cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
	.ds-event-page .ds-event__main .ds-cols--cards > .ds-cols__col + .ds-cols__col { margin-top: 0; }
	.ds-event-page .ds-event__main > .ds-cta, .ds-event-page .ds-event__main > .ds-back-row { width: auto; margin-inline: 0; }
}

/* Named show times under the date in an event's When box. */
.ds-glance__time { display: block; color: var(--c-brand-text); }
.ds-glance__time:first-of-type { margin-top: 0.2rem; }

/* Fewer share chips: the family-link share is icon only (it keeps its aria-label), and section chips are a quiet
   icon that only appears when the heading is hovered or the chip is focused, on screens with a mouse. */
.ds-share--link .ds-share__text, .ds-share--section .ds-share__text { display: none; }
.ds-share--link, .ds-share--section { padding: 0.4rem; color: var(--c-muted); }
.ds-share--link:hover, .ds-share--link:focus-visible, .ds-share--section:hover, .ds-share--section:focus-visible { color: var(--c-brand-text); }
.ds-event-links li:has(.ds-share--link) a.ds-event-link { padding-bottom: 0.9rem; padding-right: 3rem; }
.ds-share--link { bottom: auto; top: 0.6rem; }
@media (hover: hover) {
	.ds-share--section { opacity: 0; transition: opacity 0.15s; }
	h2:hover > .ds-share--section, .ds-share--section:focus-visible, .ds-share--section.is-copied { opacity: 1; }
}
.ds-event__main > h2:first-child { margin-top: 0; }

/* Layout safety (Task 11): whatever staff type must not break a card, grid cell or button. */
.ds-card, .ds-card__body, .ds-card__title, .ds-card__text,
.ds-staff, .ds-staff__body, .ds-staff__name, .ds-staff__role, .ds-staff__cred,
.ds-event, .ds-event__title, .ds-event__type, .ds-event__when,
.ds-feature__body, .ds-feature__title, .ds-feature__when, .ds-feature__text,
.ds-price, .ds-price__label, .ds-price__amount, .ds-price__note,
.ds-glance__item, .ds-glance dt, .ds-glance dd, .ds-glance__time,
.ds-tabset__panel, .ds-tabset__head, .ds-tabset__field,
.ds-cols__col, .ds-faq__item, .ds-note, .ds-steps li, .ds-tags li,
.ds-profile__body, .ds-event__main, .ds-event__side { min-width: 0; overflow-wrap: anywhere; }
.ds-tags li { max-width: 100%; }
.ds-glance__time { display: block; }
.ds-btn, .ds-cta .ds-btn, .ds-actions .ds-btn, .wp-block-button__link { max-width: 100%; white-space: normal; overflow-wrap: anywhere; min-width: 0; }
.ds-actions > *, .ds-cta > * { min-width: 0; }
/* Tab labels truncate with an ellipsis; the full text stays in the DOM for screen readers. */
.ds-tabset__tab { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Top tabs: a label that fits the row shows in full (as before); only one wider than the row truncates. */
.ds-tabset--top .ds-tabset__tab { max-width: 100%; }
.ds-tabset--side .ds-tabset__tab { width: 100%; }
.ds-tabset__toggle { min-width: 0; overflow-wrap: anywhere; }
/* Every picture slot has a fixed ratio; the picture is cropped, never stretched. */
.ds-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-tint); }
.ds-card__img img, .ds-feature__media img, .ds-staff__photo img, .ds-profile__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ds-prose img, .ds-prose figure, .wp-block-image img { max-width: 100%; height: auto; }
.ds-prose > img.ds-prose__img, .ds-prose .wp-post-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; height: auto; }
.ds-event__when:empty, .ds-staff__role:empty, .ds-staff__cred:empty { display: none; }


/* Staff archive: filter chips, in-place panel, mobile layout (staff.js) */
.ds-staff-item[hidden], .ds-staff-panel[hidden], .ds-staff-filter[hidden] { display: none; }
.ds-grid.ds-grid--staff { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 600px) { .ds-grid.ds-grid--staff { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .ds-grid.ds-grid--staff { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.ds-staff-filter {
	display: flex; flex-wrap: nowrap; gap: 0.6rem; overflow-x: auto; scrollbar-width: thin;
	margin: 0 0 1.25rem; padding-bottom: 0.4rem; -webkit-overflow-scrolling: touch;
}
.ds-staff-filter .ds-chip {
	flex: 0 0 auto; min-height: 44px; white-space: nowrap; cursor: pointer; font: inherit; font-weight: 600; line-height: 1.2;
}
.ds-staff-filter .ds-chip[aria-pressed="true"] { background: var(--c-brand-fill); border-color: var(--c-brand-fill); color: var(--c-on-brand); }

.ds-staff-panel {
	grid-column: 1 / -1; position: relative; min-width: 0;
	background: var(--c-tint-2); border-top: 4px solid var(--c-brand-text); border-radius: var(--radius);
	padding: 1.25rem 1.25rem 1rem;
}
.ds-staff-panel__close {
	position: absolute; top: 0.5rem; right: 0.5rem; display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; min-height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--c-ink);
	font-size: 1.75rem; line-height: 1; cursor: pointer;
}
.ds-staff-panel__close:hover { background: rgb(0 0 0 / 0.07); }
.ds-staff-panel__name { margin: 0 3rem 0.15rem 0; font-size: 1.4rem; }
.ds-staff-panel .ds-staff__role { margin-bottom: 0.4rem; }
.ds-staff-panel .ds-staff__cred { margin: 0 0 0.75rem; }
.ds-staff-panel__bio { margin: 0 0 1rem; max-width: 60ch; }
.ds-staff-panel__classes { margin: 1rem 0 0.6rem; font-size: 1.1rem; }
.ds-staff-panel__actions { margin: 1rem 0 0; }
.ds-staff-panel__profile, .ds-staff-panel__close { min-height: 44px; }
.ds-staff-panel__profile { display: inline-flex; align-items: center; }
.ds-staff-panel .ds-board { min-width: 0; }
.ds-staff-panel .ds-tile__link { min-height: 44px; }
@media (min-width: 768px) {
	.ds-staff-panel:has(.ds-staff-panel__bio):has(.ds-board) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); column-gap: 2rem; align-items: start; }
	.ds-staff-panel:has(.ds-staff-panel__bio):has(.ds-board)[hidden] { display: none; }
	.ds-staff-panel:has(.ds-staff-panel__bio):has(.ds-board) > * { grid-column: 1; }
	.ds-staff-panel:has(.ds-staff-panel__bio):has(.ds-board) > .ds-staff-panel__classes,
	.ds-staff-panel:has(.ds-staff-panel__bio):has(.ds-board) > .ds-board { grid-column: 2; grid-row: 1 / span 5; }
	.ds-staff-panel:has(.ds-staff-panel__bio):has(.ds-board) > .ds-staff-panel__classes { grid-row: 1; margin-top: 0; }
	.ds-staff-panel:has(.ds-staff-panel__bio):has(.ds-board) > .ds-board { grid-row: 2 / span 5; }
	.ds-staff-panel:has(.ds-staff-panel__bio):has(.ds-board) > .ds-staff-panel__close { grid-column: auto; }
}
@media (max-width: 599px) {
	.ds-staff-panel .ds-tile__link { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
	.ds-staff-panel.is-opening { animation: ds-staff-panel-in 0.2s ease-out; }
	@keyframes ds-staff-panel-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}
.ds-staff-item.is-open > .ds-staff { border-color: var(--c-brand-text); box-shadow: 0 4px 14px rgb(0 0 0 / 0.08); outline: 3px solid var(--c-brand-text); outline-offset: 2px; }
.ds-staff-panel__name:focus { outline: none; }
