/* ==========================================================================
   Solo DanceSport – Motion & gesture
   Plum ink and lilac chalk, three brush colours, one expressive type family.
   ========================================================================== */
@font-face {
	font-family: 'Bricolage Grotesque';
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	font-stretch: 75% 100%;
	src: url(../fonts/bricolage-latin.woff2) format('woff2-variations'), url(../fonts/bricolage-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Bricolage Grotesque';
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	font-stretch: 75% 100%;
	src: url(../fonts/bricolage-latin-ext.woff2) format('woff2-variations'), url(../fonts/bricolage-latin-ext.woff2) format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--plum: #21112E;
	--plum-2: #2E1A40;
	--plum-3: #4A3360;
	--chalk: #F4F1F8;
	--chalk-2: #E9E3F0;
	--fuchsia: #D0216B;
	--fuchsia-ink: #B5175B;   /* text-safe fuchsia on chalk */
	--marigold: #F0A23A;
	--teal: #0E7C80;
	--muted: #5C506B;
	--muted-light: #CBBFD9;
	--font: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
	--gutter: clamp(20px, 4vw, 48px);
	--max: 1240px;
	--ease: cubic-bezier(.65, 0, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.125rem;
	font-variation-settings: 'opsz' 14;
	line-height: 1.6;
	color: var(--plum);
	background: var(--chalk);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fuchsia-ink); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--plum); }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.05; margin: 0 0 .5em; font-weight: 750; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--marigold); color: var(--plum); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }

/* Type scale – display sizes run condensed (wdth 75) and heavy; text stays at normal width. */
.display-2 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); font-stretch: 78%; font-weight: 780; line-height: .95; letter-spacing: -.02em; font-variation-settings: 'opsz' 96; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 34em; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7em 1.4em; border-radius: 999px; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn--lg { min-height: 56px; padding: .8em 1.7em; font-size: 1.08rem; }
.btn--brand { background: var(--fuchsia-ink); color: #fff; }
.btn--brand:hover { background: var(--plum); color: #fff; }
.btn--line { border-color: currentColor; color: var(--plum); background: transparent; }
.btn--line:hover { background: var(--plum); color: var(--chalk); border-color: var(--plum); }
.btn--ghost-light { border-color: rgba(244, 241, 248, .45); color: var(--chalk); }
.btn--ghost-light:hover { border-color: var(--chalk); color: var(--chalk); background: rgba(244, 241, 248, .08); }

/* ---------------------------------------------------------------- Header */
.site-head { position: relative; z-index: 20; background: var(--chalk); }
.site-head--over { position: absolute; inset: 0 0 auto; background: transparent; color: var(--chalk); }
.site-head__in { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; margin-right: auto; }
.brand__name { font-weight: 800; font-stretch: 80%; font-size: 1.35rem; letter-spacing: -.01em; line-height: 1; }
.brand__name span { font-weight: 400; }
.brand__logo { max-height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.nav__list a, .nav__login, .nav__logout { color: inherit; text-decoration: none; font-weight: 600; font-size: 1rem; padding: 10px 0; display: inline-block; }
.nav__list a:hover, .nav__list .current-menu-item > a, .nav__login:hover { text-decoration: underline; text-decoration-color: var(--fuchsia); text-decoration-thickness: 3px; text-underline-offset: .4em; }
.nav__account { display: flex; align-items: center; gap: 16px; }
.site-head--over .btn--line { color: var(--chalk); }
.nav-toggle { display: none; align-items: center; gap: 10px; background: none; border: 0; color: inherit; font: inherit; font-weight: 700; min-height: 48px; cursor: pointer; padding: 0 4px; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 24px; height: 2.5px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s var(--ease); }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 8px; padding: 12px var(--gutter) 28px; background: var(--plum); color: var(--chalk); box-shadow: 0 30px 40px -30px rgba(33, 17, 46, .7); }
	.nav.is-open { display: flex; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { padding: 14px 0; font-size: 1.25rem; border-bottom: 1px solid var(--plum-3); display: block; }
	.nav__account { padding-top: 12px; flex-wrap: wrap; }
	.nav__account .btn--line { color: var(--chalk); }
	.site-head:not(.site-head--over) .nav-toggle { color: var(--plum); }
}

/* ---------------------------------------------------------------- Hero – the one loud moment */
.hero { position: relative; overflow: hidden; background: var(--plum); color: var(--chalk); min-height: min(100svh, 900px); display: flex; align-items: flex-end; padding: 130px 0 72px; isolation: isolate; }
.ribbon--hero { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .95; }
.ribbon__stroke { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s var(--ease) forwards; }
.ribbon__stroke--b { animation-delay: .35s; animation-duration: 2.4s; }
.ribbon__stroke--c { animation-delay: .7s; animation-duration: 2.2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .9fr); gap: 48px; align-items: end; }
.hero__title { font-size: clamp(3.6rem, 10.5vw, 9.6rem); font-stretch: 75%; font-weight: 800; line-height: .86; letter-spacing: -.03em; margin: 0 0 .32em; font-variation-settings: 'opsz' 96; text-wrap: balance; max-width: 8.5em; }
.hero__text { font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.5; max-width: 32em; color: #E6DEF0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__next { background: var(--plum-2); border-radius: 28px 28px 28px 6px; padding: 26px 26px 18px; position: relative; }
.hero__next::before { content: ''; position: absolute; left: 26px; top: -4px; width: 64px; height: 8px; border-radius: 8px; background: var(--marigold); }
.hero__next-title { font-size: 1.25rem; font-weight: 700; margin-bottom: .6em; }
.hero__photo { margin: -26px -26px 20px; border-radius: 28px 28px 0 0; overflow: hidden; aspect-ratio: 4 / 3; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero .sd-upcoming__item { border-color: var(--plum-3); padding: 14px 0; }
.hero .sd-date { background: var(--plum); color: var(--chalk); width: 64px; }
.hero .sd-date__m { color: var(--marigold); }
.hero .sd-chip { background: var(--fuchsia-ink); color: #fff; }
.hero .sd-upcoming__empty { color: var(--muted-light); padding: 10px 0; }
.hero .sd-upcoming__text span { opacity: 1; color: var(--muted-light); }

@media (max-width: 860px) {
	.hero { padding-top: 110px; align-items: flex-start; }
	.hero__in { grid-template-columns: 1fr; gap: 36px; }
	.ribbon--hero { opacity: .55; }
}

/* ---------------------------------------------------------------- Dance-path thread (scroll-drawn) */
.site-main { position: relative; }
.thread { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.thread path { fill: none; stroke: var(--fuchsia); stroke-width: 3; stroke-linecap: round; opacity: .35; }
.band { position: relative; z-index: 1; padding: clamp(72px, 10vw, 140px) 0; }

/* ---------------------------------------------------------------- Bands */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.split--center { align-items: center; margin-bottom: 0; }
.split .lede { margin-bottom: .3em; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.styles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 36px; }
.style .gesture { width: 100%; max-width: 200px; height: auto; margin-bottom: 16px; overflow: visible; }
.style .gesture path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease); }
.style.is-drawn .gesture path { stroke-dashoffset: 0; }
.style__name { font-size: 1.7rem; font-stretch: 82%; }
.style p { color: var(--muted); font-size: 1.02rem; }
.style__levels { color: var(--plum) !important; font-weight: 700; }
@media (max-width: 1000px) { .styles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .styles { grid-template-columns: 1fr; } }

.band--how { background: var(--plum); color: var(--chalk); border-radius: 48px 48px 0 0; }
.how { list-style: none; counter-reset: how; margin: clamp(32px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.how li { counter-increment: how; position: relative; padding-top: 92px; }
.how li::before { content: counter(how); position: absolute; top: 0; left: 0; font-size: 6rem; line-height: 1; font-weight: 800; font-stretch: 75%; color: transparent; -webkit-text-stroke: 2px var(--marigold); }
.how h3 { font-size: 1.5rem; }
.how p { color: var(--muted-light); }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } }

.band--join { background: var(--plum); color: var(--chalk); padding-top: 0; }
.band--join .lede { color: var(--muted-light); }
.join { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 48px; align-items: start; padding-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--plum-3); }
.tiers { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.tier { border-radius: 24px; padding: 26px 24px; background: var(--plum-2); }
.tier h3 { font-size: 1.15rem; font-weight: 650; margin-bottom: .3em; }
.tier__amount { font-size: clamp(2.6rem, 4.5vw, 3.6rem); font-weight: 800; font-stretch: 75%; line-height: 1; margin-bottom: .25em; }
.tier p:last-child { color: var(--muted-light); font-size: .98rem; margin: 0; }
.tier--student { background: var(--fuchsia-ink); }
.tier--student p:last-child { color: #FCE3EE; }
@media (max-width: 960px) { .join { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .tiers { grid-template-columns: 1fr; } }

.finder { background: #fff; border-radius: 28px; padding: 28px; box-shadow: 0 24px 60px -40px rgba(33, 17, 46, .5); }
.finder label { font-weight: 700; display: block; margin-bottom: 8px; }
.finder__row { display: flex; gap: 10px; flex-wrap: wrap; }
.finder input { flex: 1 1 220px; font: inherit; min-height: 52px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--chalk-2); background: var(--chalk); color: var(--plum); }
.finder input:focus { border-color: var(--fuchsia); outline: none; }
.finder__alt { margin: 16px 0 0; color: var(--muted); font-size: 1rem; }

.products-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.products-row a { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--plum); }
.products-row__img { display: block; border-radius: 24px 24px 24px 6px; overflow: hidden; background: var(--chalk-2); aspect-ratio: 1; }
.products-row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.products-row a:hover img { transform: scale(1.04); }
.products-row__name { font-weight: 700; font-size: 1.15rem; margin-top: 10px; }
.products-row__price { color: var(--muted); }
@media (max-width: 760px) { .products-row { grid-template-columns: 1fr 1fr; } }

.band--story { background: var(--chalk-2); }
.story { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 64px; align-items: center; }
.story__year { font-size: clamp(6rem, 18vw, 15rem); font-weight: 800; font-stretch: 75%; line-height: .8; margin: 0; color: transparent; -webkit-text-stroke: 2px var(--fuchsia); letter-spacing: -.04em; }
@media (max-width: 760px) { .story { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Inner pages */
.page-head { padding: clamp(40px, 7vw, 88px) 0 clamp(16px, 3vw, 28px); position: relative; z-index: 1; }
.page-head__title { font-size: clamp(2.8rem, 7.5vw, 6.2rem); font-stretch: 75%; font-weight: 800; line-height: .9; letter-spacing: -.03em; margin: 0; font-variation-settings: 'opsz' 96; max-width: 14em; }
.swash { width: min(320px, 70%); height: auto; margin-top: 10px; overflow: visible; }
.swash path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s .2s var(--ease) forwards; }
.page-body { position: relative; z-index: 1; padding-bottom: clamp(64px, 9vw, 120px); }
.page-body--app { padding-top: clamp(28px, 4vw, 48px); }
.page-body > p, .page-body > ul, .page-body > ol, .page-body > h2, .page-body > h3, .page-body > blockquote { max-width: 42rem; }
.page-body h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-stretch: 82%; margin-top: 1.6em; }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 36px; }
.post-card img { border-radius: 22px; margin-bottom: 14px; }
.post-card__title { font-size: 1.5rem; font-stretch: 82%; }
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__date { color: var(--muted); font-size: .95rem; }

/* ---------------------------------------------------------------- SoloDance Core skin */
.sd {
	--sd-ink: var(--plum);
	--sd-paper: var(--chalk);
	--sd-card: #fff;
	--sd-line: #E3DCEB;
	--sd-muted: var(--muted);
	--sd-accent: var(--fuchsia-ink);
	--sd-accent-ink: #fff;
	--sd-ok: #1B6B3A;
	--sd-warn: #8F4700;
	--sd-radius: 24px;
	--sd-font-display: var(--font);
	font-size: 1.05rem;
}
.sd .sd-h1, .sd .sd-display { font-stretch: 75%; font-weight: 800; letter-spacing: -.025em; line-height: .92; font-variation-settings: 'opsz' 96; }
.sd .sd-h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
.sd .sd-display { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.sd .sd-h2 { font-stretch: 80%; font-weight: 780; }
.sd .sd-h3, .sd .sd-dancer__name, .sd .sd-event__title, .sd .sd-pick__name { font-stretch: 85%; font-weight: 720; }
.sd .sd-eyebrow { text-transform: none; letter-spacing: 0; font-size: 1rem; font-weight: 650; color: var(--fuchsia-ink); }
.sd .sd-dancer { border-radius: 28px 28px 28px 8px; box-shadow: 0 1px 0 var(--sd-line); }
.sd .sd-dancer:nth-child(3n+1) .sd-avatar { background: var(--fuchsia-ink); }
.sd .sd-dancer:nth-child(3n+2) .sd-avatar { background: var(--teal); }
.sd .sd-dancer:nth-child(3n+3) .sd-avatar { background: #7A3FB8; }
.sd .sd-renew { background: var(--plum); border-radius: 32px 32px 32px 8px; position: relative; overflow: hidden; }
.sd .sd-renew__title { font-stretch: 82%; font-weight: 780; font-size: 1.7rem; }
.sd .sd-total { background: var(--plum); border-radius: 28px 28px 28px 8px; }
.sd .sd-event.is-open { box-shadow: inset 0 0 0 2px var(--fuchsia-ink); }
.sd .sd-event-hero { padding: 8px 0 24px; }
.sd .sd-facts { border-top: 2px solid var(--plum); padding-top: 18px; }
.sd .sd-tab.is-active { border-color: var(--fuchsia); }
.sd .sd-filter__chip.is-active { background: var(--plum); border-color: var(--plum); }
.sd .sd-auth__card { border-radius: 32px 32px 32px 8px; box-shadow: 0 30px 80px -50px rgba(33, 17, 46, .55); }
.sd .sd-steps li.is-current { background: var(--plum); }

/* ---------------------------------------------------------------- WooCommerce (store, cart, checkout) */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit,
.wc-block-components-button:not(.is-link), .woocommerce button.button.alt, .woocommerce a.button.alt {
	background: var(--fuchsia-ink) !important; color: #fff !important; border-radius: 999px !important; font-family: var(--font) !important; font-weight: 700 !important; min-height: 48px; padding: .7em 1.5em !important; border: 0 !important;
}
.woocommerce .button:hover, .wc-block-components-button:not(.is-link):hover { background: var(--plum) !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font); font-size: 1.15rem; font-weight: 700; }
.woocommerce ul.products li.product img { border-radius: 24px 24px 24px 6px; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price { color: var(--plum); font-weight: 700; }
.woocommerce span.onsale { background: var(--marigold); color: var(--plum); font-weight: 700; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .wc-block-components-text-input input {
	border-radius: 12px !important; border: 1.5px solid #E3DCEB !important; min-height: 48px; font-family: var(--font);
}
.wc-block-checkout, .wc-block-cart, .woocommerce-checkout, .woocommerce-account .woocommerce { font-family: var(--font); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--fuchsia) !important; background: #fff; border-radius: 14px; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--fuchsia) !important; }

/* ---------------------------------------------------------------- Footer */
.site-foot { background: var(--plum); color: var(--muted-light); position: relative; z-index: 1; }
.site-foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-top: 72px; padding-bottom: 48px; }
.site-foot__name { color: var(--chalk); font-weight: 800; font-stretch: 80%; font-size: 1.5rem; margin: 14px 0 6px; line-height: 1.1; }
.site-foot__head { color: var(--chalk); font-weight: 700; margin-bottom: .6em; }
.site-foot a { color: var(--chalk); }
.site-foot a:hover { color: var(--marigold); }
.site-foot .nav__list, .site-foot__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.site-foot .nav__list a { padding: 0; font-weight: 400; }
.site-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--plum-3); font-size: .95rem; }
@media (max-width: 860px) { .site-foot__in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-foot__in { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Reduced motion */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.ribbon__stroke, .swash path, .style .gesture path { animation: none !important; transition: none !important; stroke-dashoffset: 0 !important; }
	.thread { display: none; }
}
