/* Schoenberg — dossier typography and components.
   Colors come from the active style (Dossier / Atelier / Encore) via palette variables. */

:root {
	--sch-label: var(--wp--preset--font-size--label);
	--sch-track: 0.24em;
	--sch-rule: var(--wp--preset--color--rule);
	--sch-accent: var(--wp--preset--color--accent);
	--sch-hero-fade: var(--wp--custom--hero-fade, var(--wp--preset--color--accent));
	--sch-hero-ink: var(--wp--custom--hero-ink, var(--wp--preset--color--on-accent));
}

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

::selection { background: var(--sch-accent); color: var(--wp--preset--color--on-accent); }

/* ---------- Labels ---------- */
.is-style-eyebrow {
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--sch-label) !important;
	font-weight: 600;
	letter-spacing: var(--sch-track);
	text-transform: uppercase;
	line-height: 1.5;
	color: var(--sch-accent);
}
.is-style-eyebrow.is-muted { color: var(--wp--preset--color--muted); }

.is-style-arrow-links {
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--sch-label) !important;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1.6rem;
}
.is-style-arrow-links a {
	color: var(--sch-accent);
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
	white-space: nowrap;
}
.is-style-arrow-links a:hover { opacity: 0.7; }

.is-style-scoring {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.8rem !important;
	line-height: 1.55;
	letter-spacing: 0.01em;
	color: var(--wp--preset--color--ink);
}
.is-style-scoring strong {
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	margin-right: 0.6em;
	color: var(--wp--preset--color--muted);
}

/* ---------- Headings ---------- */
.is-style-section-title {
	text-transform: uppercase;
	font-size: clamp(2.6rem, 7vw, 4.8rem) !important;
	line-height: 0.92 !important;
	letter-spacing: 0.005em;
}
.section-head {
	border-bottom: 1px solid var(--sch-accent);
	padding-bottom: 1.4rem;
	margin-bottom: 0.5rem !important;
}
.section-head > * { margin-block: 0; }
.section-head > * + * { margin-top: 0.7rem; }

.hero-name {
	font-family: var(--wp--preset--font-family--display) !important;
	text-transform: uppercase;
	font-size: min(var(--wp--preset--font-size--huge), 11.2vw) !important;
	line-height: 0.88 !important;
	font-weight: var(--wp--custom--display-weight, 400);
	letter-spacing: -0.01em;
	margin: 0;
}

/* ---------- Header ---------- */
.site-header {
	border-bottom: 1px solid var(--sch-rule);
}
.site-brand {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1.45rem !important;
	font-weight: 300;
	letter-spacing: -0.01em;
	line-height: 1.1;
	margin: 0;
}
.site-brand a { color: var(--wp--preset--color--ink); text-decoration: none; }
.site-brand strong { font-weight: 700; letter-spacing: 0.01em; }
.site-brand-sub { margin-top: 0.3rem !important; }
.site-header .wp-block-navigation a { text-decoration: none; }
.site-header .wp-block-navigation .wp-block-navigation-item__content:hover { color: var(--sch-accent); }
.site-header .wp-block-navigation__submenu-container {
	background: var(--wp--preset--color--paper) !important;
	border: 1px solid var(--sch-rule) !important;
	padding: 0.4rem 0;
	min-width: 230px !important;
}
.site-header .wp-block-navigation__submenu-container a { padding: 0.55rem 1.1rem !important; }
.wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--paper) !important;
	padding: 2rem 1.5rem !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 1.1rem !important; }

/* ---------- Hero ---------- */
.hero-top { padding-top: clamp(2.5rem, 7vw, 5.5rem) !important; padding-bottom: clamp(2rem, 5vw, 4rem) !important; }
.hero-top .hero-lede {
	font-family: var(--wp--preset--font-family--serif);
	font-size: clamp(1.1rem, 2.2vw, 1.35rem) !important;
	max-width: 36em;
	color: var(--wp--preset--color--ink);
}
.hero-cover { position: relative; overflow: hidden; }
.hero-cover::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 42%, color-mix(in srgb, var(--sch-hero-fade) 55%, transparent) 74%, var(--sch-hero-fade) 100%);
	pointer-events: none;
	z-index: 1;
}
.hero-cover .wp-block-cover__inner-container { z-index: 2; color: var(--sch-hero-ink); }
.hero-cover .wp-block-cover__image-background { object-position: 50% 20%; }
.season-mark {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(3rem, 8vw, 5rem) !important;
	font-weight: var(--wp--custom--display-weight, 400);
	line-height: 1 !important;
	margin: 0 !important;
	color: var(--sch-hero-ink);
}
.hero-cover .is-style-eyebrow,
.hero-cover .is-style-arrow-links a { color: var(--sch-hero-ink); }
.hero-cover .hero-note {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.85rem !important;
	max-width: 22rem;
	line-height: 1.5;
	opacity: 0.92;
}

/* ---------- Work entries ---------- */
.is-style-work-entry,
.work-entry {
	border-top: 1px solid var(--sch-rule);
	padding-top: clamp(1.6rem, 3vw, 2.2rem) !important;
	padding-bottom: clamp(1.6rem, 3vw, 2.2rem) !important;
	margin-block: 0 !important;
}
.work-list > .work-entry:first-child { border-top: 0; }
.work-entry .wp-block-columns { margin: 0; gap: 2rem; }
.work-entry .work-main > * { margin-block: 0; }
.work-entry .work-main > * + * { margin-top: 0.75rem; }
.work-title-row { gap: 0.9rem !important; align-items: baseline !important; flex-wrap: wrap; }
.work-title-row > * { margin: 0 !important; }
.work-title {
	font-size: clamp(1.8rem, 3.6vw, 2.5rem) !important;
	line-height: 1.05 !important;
}
.work-year {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.85rem !important;
	font-weight: 500;
	letter-spacing: 0.06em;
	color: var(--wp--preset--color--muted);
}
.work-desc { font-size: 1.02rem !important; max-width: 40em; }
.work-desc em { font-style: italic; }
.work-quote {
	font-style: italic;
	border-left: 2px solid var(--sch-accent);
	padding-left: 1rem;
	font-size: 0.98rem !important;
}
.work-quote cite, .work-quote a { font-style: normal; }
.work-side { text-align: right; }
.work-side > * { margin-block: 0; }
.duration {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2.2rem, 4vw, 2.8rem) !important;
	font-weight: var(--wp--custom--display-weight, 400);
	line-height: 1 !important;
}
.work-side .is-style-eyebrow { color: var(--wp--preset--color--muted); margin-top: 0.4rem !important; }

@media (max-width: 781px) {
	.work-entry .wp-block-columns { gap: 0.9rem; }
	.work-side { text-align: left; display: flex; align-items: baseline; gap: 0.7rem; flex-direction: row-reverse; justify-content: flex-end; }
	.work-side .is-style-eyebrow { margin: 0 !important; }
	.duration { font-size: 1.7rem !important; }
}

/* ---------- Bands ---------- */
.is-style-accent-band,
.accent-band {
	background: var(--sch-accent);
	color: var(--wp--preset--color--on-accent);
}
.accent-band a,
.is-style-accent-band a { color: var(--wp--preset--color--on-accent); }
.accent-band .is-style-eyebrow,
.is-style-accent-band .is-style-eyebrow { color: var(--wp--preset--color--on-accent); opacity: 0.78; }
.accent-band .is-style-arrow-links a { color: var(--wp--preset--color--on-accent); }

.paper-deep { background: var(--wp--preset--color--paper-deep); }

/* ---------- Biography ---------- */
.bio-body p { margin-block: 0 0 1.05rem; }
.bio-body strong { font-weight: 650; }
.premieres { padding-left: 0; list-style: none; margin: 0.4rem 0 1.4rem !important; }
.premieres li { position: relative; padding-left: 1.4rem; margin-bottom: 0.55rem; }
.premieres li::before {
	content: ""; position: absolute; left: 0; top: 0.8em;
	width: 0.7rem; height: 1.5px; background: var(--sch-accent);
}

/* ---------- Listen ---------- */
.listen-grid { gap: clamp(1.5rem, 3vw, 2.5rem) !important; }
.listen-card { border-top: 1px solid var(--sch-rule); padding-top: 1.3rem !important; }
.listen-card > * { margin-block: 0; }
.listen-card > * + * { margin-top: 0.6rem; }
.listen-card h3 { font-size: 1.65rem !important; }
.listen-card .listen-meta {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.8rem !important;
	color: var(--wp--preset--color--muted);
	letter-spacing: 0.02em;
}
.listen-card .wp-block-embed { margin-top: 1rem !important; }
.reel-frame iframe { width: 100%; border: 0; min-height: 420px; background: var(--wp--preset--color--paper-deep); }

/* ---------- Contact ---------- */
.contact-block { border-top: 1px solid var(--sch-rule); padding-top: 1.3rem !important; }
.contact-block > * { margin-block: 0; }
.contact-block > * + * { margin-top: 0.45rem; }
.contact-name { font-family: var(--wp--preset--font-family--sans); font-weight: 600; font-size: 1.05rem !important; }

/* ---------- Footer ---------- */
.site-footer .footer-heading {
	font-family: var(--wp--preset--font-family--sans);
	font-weight: 600;
	font-size: 1.02rem !important;
	margin-bottom: 0.35rem !important;
}
.site-footer p { font-family: var(--wp--preset--font-family--sans); font-size: 0.92rem; margin-block: 0.2rem; }
.site-footer .footer-display a {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.15rem, 1.7vw, 1.4rem);
	white-space: nowrap;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}
.site-footer .footer-base {
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--on-accent) 25%, transparent);
	padding-top: 1.3rem !important;
}
.site-footer .wp-block-social-links .wp-social-link { color: var(--wp--preset--color--on-accent); background: transparent !important; }
.site-footer .wp-block-social-links .wp-social-link svg { fill: currentColor; }

/* ---------- Page title ---------- */
.page-head { padding-top: clamp(2.5rem, 7vw, 5rem) !important; }
.page-head .wp-block-post-title {
	font-size: clamp(2.8rem, 8vw, 5.6rem) !important;
	border-bottom: 1px solid var(--sch-accent);
	padding-bottom: 1.2rem;
	margin-top: 0.6rem !important;
}

/* ---------- Embeds ---------- */
.wp-block-embed iframe { max-width: 100%; }
.wp-block-embed figcaption { font-family: var(--wp--preset--font-family--sans); font-size: 0.78rem; color: var(--wp--preset--color--muted); }

/* ---------- Editor niceties ---------- */
.editor-styles-wrapper .hero-cover::after { z-index: 0; }

/* Portrait backdrop shows until a photo is chosen */
.hero-cover { background-color: var(--wp--preset--color--backdrop); }

/* Avoid a double rule under section headings */
.section-head + .listen-grid .listen-card { border-top: 0; padding-top: 0.4rem !important; }

/* ---------- Works tabs ---------- */
.works-tabs {
	display: flex;
	flex-wrap: wrap;
	border-bottom: 1px solid var(--sch-rule);
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.78rem !important;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-top: var(--wp--preset--spacing--40) !important;
	margin-bottom: 0 !important;
}
.works-tabs a {
	color: var(--wp--preset--color--muted);
	text-decoration: none;
	padding: 1.05rem 1.5rem 1rem;
	margin-bottom: -1px;
	border-bottom: 2px solid transparent;
	white-space: nowrap;
	transition: color .15s ease, border-color .15s ease;
}
.works-tabs a:first-child { padding-left: 0; }
.works-tabs a:hover { color: var(--wp--preset--color--ink); }
.works-tabs a.is-active { color: var(--wp--preset--color--ink); border-bottom-color: var(--sch-accent); }
.works-intro { margin-top: var(--wp--preset--spacing--40) !important; color: var(--wp--preset--color--muted); }
.works-more {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.85rem !important;
	color: var(--wp--preset--color--muted);
	margin-top: 1rem !important;
}
.works-more a { color: var(--wp--preset--color--muted); }
@media (max-width: 781px) {
	/* One horizontal track: swipes move sideways only, never up and down */
	.works-tabs {
		flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden;
		touch-action: pan-x; overscroll-behavior-x: contain;
		scroll-snap-type: x proximity; scroll-padding-inline: 0 2rem;
		scrollbar-width: none; -webkit-overflow-scrolling: touch;
		-webkit-mask-image: linear-gradient(to right, #000 85%, transparent);
		mask-image: linear-gradient(to right, #000 85%, transparent);
	}
	.works-tabs.at-end { -webkit-mask-image: none; mask-image: none; }
	.works-tabs::-webkit-scrollbar { display: none; }
	.works-tabs a { padding: 0.95rem 1.1rem 0.9rem; margin-bottom: 0; scroll-snap-align: start; flex: 0 0 auto; }
	.works-tabs a:last-child { padding-right: 2rem; }
}

/* ---------- Length groups (Concert openers / Medium / Large) ---------- */
.length-head {
	margin-top: var(--wp--preset--spacing--60) !important;
	border-bottom: 1px solid var(--sch-accent);
	padding-bottom: 1rem;
}
.works-tabs + .length-head,
.works-intro + .length-head { margin-top: var(--wp--preset--spacing--50) !important; }
.length-head > * { margin-block: 0; }
.length-head > * + * { margin-top: 0.55rem; }
.length-title {
	font-size: clamp(2rem, 4.5vw, 3.2rem) !important;
	text-transform: uppercase;
	line-height: 0.95 !important;
}
.length-head + .work-list > .work-entry:first-child { border-top: 0; }

/* ---------- Split hero: name + season left, headshot right ---------- */
.hero-split { padding-bottom: clamp(2.5rem, 6vw, 5rem) !important; border-bottom: 1px solid var(--sch-rule); }
.hero-columns { gap: clamp(1.5rem, 4vw, 4rem) !important; align-items: stretch !important; margin: 0 !important; }
.hero-text { display: flex; flex-direction: column; container-type: inline-size; }
.hero-text > * { margin-block: 0; }
.hero-text > * + * { margin-top: 1.1rem; }
.hero-split .hero-name { font-size: min(var(--wp--preset--font-size--huge), 7.2vw) !important; font-size: min(var(--wp--preset--font-size--huge), 14.8cqi) !important; }
.hero-season {
	margin-top: auto !important;
	padding-top: clamp(2rem, 5vw, 3.5rem);
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2.5rem;
}
.hero-season > * { margin: 0 !important; }
.hero-season > * > * { margin-block: 0; }
.hero-season > * > * + * { margin-top: 0.6rem; }
.hero-split .season-mark { color: var(--sch-accent); }
.hero-split .hero-note {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.85rem !important; max-width: 20rem; line-height: 1.5; color: var(--wp--preset--color--muted);
}
.hero-portrait { margin: 0 !important; height: 100%; background: var(--wp--preset--color--backdrop); }
.hero-portrait img { width: 100%; height: 100%; min-height: 100%; object-position: 50% 18%; display: block; }
@media (max-width: 781px) {
	.hero-split .hero-name { font-size: min(var(--wp--preset--font-size--huge), 11.2vw) !important; font-size: 14.4cqi !important; }
	.hero-columns { flex-direction: column; }
	.hero-photo { order: -1; }
	.hero-portrait img { aspect-ratio: 4 / 5 !important; }
	.hero-season { padding-top: 1.5rem; }
}

/* Keep the footer at the bottom on short pages */
.wp-site-blocks { min-height: 100vh; display: flex; flex-direction: column; }
.wp-site-blocks > main { flex: 1 0 auto; }
.wp-site-blocks > footer { margin-top: 0 !important; }

/* ---------- Home: headshot + biography (dossier biography page) ---------- */
.home-intro { padding-top: clamp(2.5rem, 6vw, 5rem) !important; padding-bottom: clamp(3rem, 7vw, 6rem) !important; }
.home-columns { gap: clamp(2rem, 5vw, 5rem) !important; align-items: flex-start !important; margin: 0 !important; }
.home-photo { position: sticky; top: 2rem; }
.admin-bar .home-photo { top: calc(2rem + 32px); }
.home-photo .hero-portrait { height: auto; }
.home-photo .hero-portrait img { aspect-ratio: 4 / 5; height: auto; object-position: 50% 18%; }
.home-text > * { margin-block: 0; }
.home-text > * + * { margin-top: 0.8rem; }
.home-name {
	font-size: clamp(2.6rem, 5vw, 4.4rem) !important;
	text-transform: uppercase;
	line-height: 0.95 !important;
	margin-top: 0.6rem !important;
}
.home-text > .is-style-eyebrow.is-muted { padding-bottom: 1.4rem; border-bottom: 1px solid var(--sch-accent); }
.home-bio { margin-top: 1.8rem !important; }
.home-bio p { margin-block: 0 1.1rem; max-width: 38em; }
.bio-lede {
	font-size: clamp(1.25rem, 2vw, 1.5rem) !important;
	line-height: 1.45 !important;
	margin-bottom: 1.5rem !important;
}
@media (max-width: 781px) {
	.home-columns { flex-direction: column; }
	.home-photo { position: static; width: 100%; }
}

/* ---------- Listen: videos ---------- */
.listen-videos .listen-card { border-top: 0; padding-top: 0 !important; }
.listen-videos .listen-card h3 { font-size: 1.45rem !important; }
.listen-videos .listen-grid { margin-bottom: clamp(1.5rem, 3vw, 2.5rem) !important; }

/* Discography covers */
.disc-columns{gap:clamp(1.25rem,3vw,2.5rem)!important;align-items:flex-start!important;margin:0!important}
.disc-art{max-width:200px}
.disc-cover{margin:0!important}
.disc-cover img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;box-shadow:0 1px 2px rgba(0,0,0,.08),0 8px 24px rgba(0,0,0,.08)}
.disc-cover-placeholder{aspect-ratio:1/1;display:flex!important;align-items:center;justify-content:center;padding:1rem!important;background:var(--wp--preset--color--paper-deep);border:1px solid var(--wp--preset--color--rule)}
.disc-cover-label{margin:0!important;text-align:center;font-family:var(--wp--preset--font-family--display,serif);text-transform:uppercase;letter-spacing:.08em;font-size:.8rem;line-height:1.4;color:var(--wp--preset--color--muted)}
@media (max-width:781px){.disc-columns{flex-direction:row!important;flex-wrap:nowrap!important}.disc-art{flex:0 0 96px!important;max-width:96px}.disc-columns>.work-main{flex:1 1 auto!important}.disc-cover-label{font-size:.55rem}}

/* Education */
.edu-intro{padding:clamp(1rem,3vw,2rem) 0 clamp(1.5rem,4vw,3rem)}
.edu-intro .bio-lede{max-width:34em;margin:0}
.edu-section{padding:clamp(2rem,5vw,3.5rem) 0;border-top:1px solid var(--wp--preset--color--rule)}
.edu-section>p{max-width:40em;margin-block:0 1.1rem}
.edu-section>.section-head{margin-bottom:1.4rem}
.footer-ig{margin:0!important}.footer-ig a{color:inherit;text-decoration:none}.footer-social{gap:1rem!important;align-items:center}
.artist-bar{gap:.4rem 1.5rem!important;align-items:baseline!important;padding:0 0 clamp(1rem,2.5vw,1.6rem);margin:0 0 .5rem!important;border-bottom:1px solid var(--wp--preset--color--rule)}
.artist-bar>p{margin:0!important}
