/**
 * BOSS — Be Oh So Smart
 * Scoped to .boss-page / .boss-wrap so nothing escapes into the theme.
 * Palette sampled from the BOSS logo: crown gold, sparkle magenta, ink, paper.
 */

.boss-wrap {
	--boss-ink: #0f0f0f;
	--boss-ink-soft: #3d3a36;
	--boss-muted: #6d6862;
	--boss-paper: #efedea;
	--boss-surface: #ffffff;
	--boss-line: #d8d3cb;
	--boss-gold: #b8984f;
	--boss-gold-light: #c9ae75;
	--boss-gold-wash: #f6f1e4;
	--boss-magenta: #d81e78;
	--boss-magenta-dark: #a8135b;

	--boss-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--boss-sans: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

	max-width: 1080px;
	margin: 0 auto;
	padding: 0 20px 64px;
	background: var(--boss-surface);
	overflow-x: hidden;
	color: var(--boss-ink-soft);
	font-family: var(--boss-sans);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

.boss-wrap *,
.boss-wrap *::before,
.boss-wrap *::after { box-sizing: border-box; }

.boss-wrap p { margin: 0 0 1.1em; }
.boss-wrap a { color: var(--boss-magenta-dark); }
.boss-wrap a:hover { color: var(--boss-magenta); }
.boss-wrap img { max-width: 100%; height: auto; }

/* ------------------------------------------------------------- Typography */

.boss-h1,
.boss-hero__title {
	font-family: var(--boss-serif);
	font-weight: 700;
	color: var(--boss-ink);
	line-height: 1.08;
	letter-spacing: -0.01em;
	margin: 0 0 0.4em;
}

.boss-hero__title { font-size: clamp(2.4rem, 8vw, 4.2rem); }
.boss-h1 { font-size: clamp(2.1rem, 6.5vw, 3.4rem); }
.boss-hero__title em { font-style: italic; color: var(--boss-magenta); }

.boss-h2 {
	font-family: var(--boss-serif);
	font-weight: 600;
	font-size: clamp(1.5rem, 4vw, 2.1rem);
	color: var(--boss-ink);
	line-height: 1.2;
	margin: 0 0 0.6em;
}

.boss-wrap h3 {
	font-family: var(--boss-sans);
	font-weight: 700;
	font-size: 1.02rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--boss-ink);
	margin: 0 0 0.5em;
}

.boss-eyebrow {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--boss-gold);
	margin: 0 0 0.9em;
}

.boss-lede {
	font-size: clamp(1.08rem, 2.4vw, 1.3rem);
	line-height: 1.55;
	color: var(--boss-ink-soft);
	max-width: 62ch;
}

.boss-muted { color: var(--boss-muted); }

.boss-fineprint {
	font-size: 0.86rem;
	color: var(--boss-muted);
	margin-top: 1.4em;
}

/* -------------------------------------------------------------------- Nav */

.boss-nav {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--boss-surface);
	border-bottom: 1px solid var(--boss-line);
	margin: 0 -20px 40px;
	padding: 0 20px;
}

.boss-nav__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 58px;
}

.boss-nav__brand {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	line-height: 1;
	padding: 6px 0;
}

.boss-wrap .boss-nav__brand span {
	font-family: var(--boss-serif);
	font-weight: 700;
	font-size: 1.22rem;
	letter-spacing: 0.06em;
	color: var(--boss-ink);
}

.boss-wrap .boss-nav__brand small {
	font-size: 0.6rem;
	letter-spacing: 0.17em;
	text-transform: uppercase;
	color: var(--boss-gold);
	margin-top: 3px;
}

.boss-nav__toggle {
	display: none;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 8px 4px 8px 12px;
	background: none;
	border: 0;
	cursor: pointer;
	font-family: var(--boss-sans);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--boss-ink);
}

.boss-nav__bars {
	display: block;
	width: 22px;
}

.boss-nav__bars i {
	display: block;
	height: 2px;
	background: var(--boss-ink);
	margin: 5px 0;
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.boss-nav__toggle[aria-expanded="true"] .boss-nav__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.boss-nav__toggle[aria-expanded="true"] .boss-nav__bars i:nth-child(2) { opacity: 0; }
.boss-nav__toggle[aria-expanded="true"] .boss-nav__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.boss-nav__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 24px;
	list-style: none;
	margin: 0;
	padding: 0 0 14px;
}

.boss-nav__menu li { margin: 0; }

.boss-wrap .boss-nav__menu a {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--boss-ink-soft);
	padding: 6px 0;
	border-bottom: 2px solid transparent;
}

.boss-wrap .boss-nav__menu a:hover,
.boss-wrap .boss-nav__menu a:focus-visible { color: var(--boss-magenta); }
.boss-wrap .boss-nav__menu a.is-current { color: var(--boss-ink); border-bottom-color: var(--boss-gold); }

/* Enhanced state: once JS loads, the toggle appears on small screens. */
.boss-nav.is-enhanced .boss-nav__menu[hidden] { display: none; }

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* ------------------------------------------------------------------- Hero */

.boss-hero {
	text-align: center;
	padding: 24px 0 52px;
}

.boss-wrap .boss-logo { display: block; margin-left: auto; margin-right: auto; }
.boss-hero__logo { width: 190px; height: auto; margin-bottom: 26px; mix-blend-mode: multiply; }
.boss-logo--sm { width: 120px; margin-bottom: 20px; mix-blend-mode: multiply; }

.boss-hero .boss-lede { margin: 0 auto 1.6em; }

.boss-credline {
	font-size: 0.9rem;
	color: var(--boss-muted);
	margin-top: 1.6em;
}

/* ---------------------------------------------------------------- Buttons */

.boss-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: inherit;
	margin: 1.6em 0 0;
}

.boss-hero .boss-actions,
.boss-quote .boss-actions,
.boss-cta-block .boss-actions { justify-content: center; }

.boss-wrap .boss-btn {
	display: inline-block;
	padding: 14px 30px;
	font-family: var(--boss-sans);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	background: var(--boss-ink);
	border: 2px solid var(--boss-ink);
	border-radius: 2px;
	cursor: pointer;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.boss-wrap .boss-btn:hover {
	background: var(--boss-magenta);
	border-color: var(--boss-magenta);
	color: #fff;
}

.boss-wrap .boss-btn--ghost {
	background: transparent;
	color: var(--boss-ink);
	border-color: var(--boss-gold);
}

.boss-wrap .boss-btn--ghost:hover {
	background: var(--boss-gold);
	border-color: var(--boss-gold);
	color: #fff;
}

/* --------------------------------------------------------------- Sections */

.boss-section { padding: 46px 0; border-top: 1px solid var(--boss-line); }
.boss-pagehead { padding: 20px 0 10px; }
.boss-pagehead .boss-h1 { max-width: 18ch; }

/* ------------------------------------------------------- Rotating band */

.boss-band {
	background: var(--boss-ink);
	color: #f3efe9;
	margin: 0 -20px;
	padding: 0 20px;
}

.boss-band__inner {
	position: relative;
	max-width: 760px;
	margin: 0 auto;
	min-height: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.boss-band__line {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 34px 0;
	font-family: var(--boss-serif);
	font-size: clamp(1.1rem, 2.6vw, 1.45rem);
	font-style: italic;
	line-height: 1.45;
	opacity: 0;
	transition: opacity 0.6s ease;
	pointer-events: none;
}

.boss-band__line.is-active { opacity: 1; }

/* ------------------------------------------------------------------ Grids */

.boss-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2px;
	background: var(--boss-line);
	border: 1px solid var(--boss-line);
}

.boss-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.boss-grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.boss-card {
	background: var(--boss-surface);
	padding: 28px 26px;
}

.boss-card h3 { color: var(--boss-gold); }
.boss-card p { margin: 0; font-size: 0.97rem; }

/* ------------------------------------------------------------------ Lists */

.boss-list { margin: 0 0 1.2em; padding-left: 1.2em; }
.boss-list li { margin-bottom: 0.7em; }
.boss-list--numbered { padding-left: 1.4em; }

.boss-steps {
	list-style: none;
	counter-reset: boss-step;
	margin: 0;
	padding: 0;
}

.boss-steps li {
	counter-increment: boss-step;
	position: relative;
	padding: 0 0 26px 62px;
	border-left: 1px solid var(--boss-line);
	margin-left: 18px;
}

.boss-steps li:last-child { border-left-color: transparent; padding-bottom: 0; }

.boss-steps li::before {
	content: counter(boss-step);
	position: absolute;
	left: -18px;
	top: -2px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--boss-gold-wash);
	border: 1px solid var(--boss-gold-light);
	border-radius: 50%;
	font-family: var(--boss-serif);
	font-size: 0.95rem;
	color: var(--boss-gold);
}

.boss-steps p { margin: 0; }

/* -------------------------------------------------------------- Callouts */

.boss-callout {
	background: var(--boss-gold-wash);
	border-left: 3px solid var(--boss-gold);
	padding: 36px 32px;
	margin: 46px 0;
	border-top: 0;
}

.boss-quote {
	text-align: center;
	border-top: 1px solid var(--boss-line);
}

.boss-quote blockquote {
	margin: 0 auto;
	max-width: 24ch;
	border: 0;
	padding: 0;
}

.boss-quote blockquote p {
	font-family: var(--boss-serif);
	font-size: clamp(1.5rem, 4.6vw, 2.3rem);
	font-style: italic;
	line-height: 1.25;
	color: var(--boss-ink);
	margin: 0;
}

.boss-cta-block { text-align: center; }

/* -------------------------------------------------------------- Key facts */

.boss-facts { margin: 0 0 1.4em; }

.boss-facts > div {
	display: flex;
	gap: 18px;
	padding: 11px 0;
	border-bottom: 1px solid var(--boss-line);
}

.boss-facts dt {
	flex: 0 0 90px;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--boss-gold);
	padding-top: 3px;
}

.boss-facts dd { margin: 0; font-weight: 700; color: var(--boss-ink); }

/* -------------------------------------------------------------- Presenter */

.boss-presenter {
	display: grid;
	grid-template-columns: minmax(230px, 340px) 1fr;
	gap: 44px;
	align-items: start;
}

.boss-presenter__media { margin: 0; }

.boss-presenter__media img {
	width: 100%;
	display: block;
	border: 1px solid var(--boss-line);
}

.boss-presenter__media figcaption {
	margin-top: 10px;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--boss-gold);
	text-align: center;
}

.boss-creds {
	list-style: none;
	margin: 1.8em 0 0;
	padding: 20px 0 0;
	border-top: 1px solid var(--boss-line);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 20px;
}

.boss-creds li {
	font-size: 0.82rem;
	line-height: 1.35;
	color: var(--boss-muted);
}

.boss-creds span {
	display: block;
	font-family: var(--boss-serif);
	font-size: 1.9rem;
	font-weight: 700;
	color: var(--boss-magenta);
	line-height: 1;
	margin-bottom: 4px;
}

/* ------------------------------------------------------------- Feature */

.boss-feature {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 330px);
	gap: 44px;
	align-items: center;
}

.boss-feature__text { max-width: 54ch; }

.boss-feature__media,
.boss-pagehead__media { margin: 0; }

.boss-feature__media img,
.boss-pagehead__media img {
	width: 100%;
	height: auto;
	display: block;
	border: 1px solid var(--boss-line);
}

.boss-pagehead--split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(200px, 300px);
	gap: 44px;
	align-items: center;
}

.boss-pagehead--split .boss-h1 { max-width: none; }

/* ---------------------------------------------------------------- Forms */

.boss-form { max-width: 700px; }
.boss-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.boss-field { margin: 0 0 20px; }

.boss-field label {
	display: block;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--boss-ink);
	margin-bottom: 7px;
}

.boss-field label span { color: var(--boss-magenta); }

.boss-field input,
.boss-field select,
.boss-field textarea {
	width: 100%;
	padding: 12px 14px;
	font-family: var(--boss-sans);
	font-size: 1rem;
	color: var(--boss-ink);
	background: var(--boss-surface);
	border: 1px solid var(--boss-line);
	border-radius: 2px;
}

.boss-field input:focus,
.boss-field select:focus,
.boss-field textarea:focus {
	outline: 2px solid var(--boss-magenta);
	outline-offset: 1px;
	border-color: transparent;
}

.boss-field textarea { resize: vertical; }

.boss-hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.boss-notice {
	padding: 16px 20px;
	margin-bottom: 26px;
	border-left: 3px solid var(--boss-gold);
	background: var(--boss-gold-wash);
}

.boss-notice p { margin: 0; }
.boss-notice--err { border-left-color: var(--boss-magenta); background: #fdeef5; }

/* --------------------------------------------------------------- Footer */

.boss-foot {
	margin-top: 56px;
	padding-top: 24px;
	border-top: 1px solid var(--boss-line);
}

.boss-foot p {
	font-size: 0.8rem;
	color: var(--boss-muted);
	margin: 0;
}

.boss-editme {
	padding: 14px 18px;
	background: #fff8dc;
	border: 1px dashed var(--boss-gold-light);
	font-size: 0.9rem;
	color: var(--boss-muted);
}

/* ------------------------------------------------------ Empowerment party */

.boss-party { scroll-margin-top: 80px; }

.boss-party .boss-h2 { max-width: 22ch; }

.boss-party__tag {
	font-family: var(--boss-serif);
	font-weight: 700;
	font-size: clamp(2rem, 7vw, 3.6rem);
	line-height: 0.95;
	letter-spacing: 0.08em;
	color: var(--boss-magenta);
	margin: 0.1em 0 0.7em;
}

.boss-party .boss-grid { margin: 1.6em 0 2em; }

.boss-party__details {
	margin-bottom: 1.8em;
	background: var(--boss-gold-wash);
	border-left: 3px solid var(--boss-gold);
	padding: 28px 30px 16px;
}

.boss-party__details h3 { color: var(--boss-gold); }

.boss-party-teaser {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 40px;
	align-items: center;
}

.boss-party-teaser .boss-h2 { max-width: 20ch; }

.boss-party__tag--big {
	font-size: clamp(3rem, 9vw, 5.6rem);
	line-height: 0.88;
	letter-spacing: 0.04em;
	text-align: right;
	margin: 0;
	color: var(--boss-ink);
	-webkit-text-stroke: 0;
}

.boss-party__tag--big::after {
	content: "";
	display: block;
	width: 48px;
	height: 4px;
	background: var(--boss-magenta);
	margin: 14px 0 0 auto;
}

/* -------------------------------------------------------------- Mobile */

@media (max-width: 860px) {
	.boss-party-teaser { grid-template-columns: 1fr; gap: 20px; }
	.boss-party__tag--big { text-align: left; }
	.boss-party__tag--big::after { margin-left: 0; }
	.boss-party__details { padding: 22px 20px 10px; }
	.boss-presenter { grid-template-columns: 1fr; gap: 28px; }
	.boss-presenter__media { max-width: 320px; margin: 0 auto; }

	.boss-feature,
	.boss-pagehead--split { grid-template-columns: 1fr; gap: 28px; }

	.boss-feature__media,
	.boss-pagehead__media { max-width: 300px; margin: 0 auto; order: -1; }
}

@media (max-width: 760px) {
	.boss-nav__toggle { display: flex; }

	.boss-nav__menu {
		flex-direction: column;
		gap: 0;
		padding: 4px 0 12px;
		border-top: 1px solid var(--boss-line);
	}

	.boss-nav__menu li { border-bottom: 1px solid var(--boss-line); }
	.boss-nav__menu li:last-child { border-bottom: 0; }

	.boss-wrap .boss-nav__menu a {
		display: block;
		width: 100%;
		padding: 15px 2px;
		border-bottom: 0;
	}

	.boss-wrap .boss-nav__menu a.is-current { color: var(--boss-magenta); }
}

@media (max-width: 600px) {
	.boss-wrap { font-size: 16px; padding-bottom: 44px; }
	.boss-section { padding: 34px 0; }
	.boss-pagehead .boss-h1 { max-width: none; }
	.boss-form__row { grid-template-columns: 1fr; gap: 0; }
	.boss-callout { padding: 26px 20px; margin: 32px 0; }
	.boss-wrap .boss-btn { display: block; width: 100%; text-align: center; }
	.boss-actions { gap: 10px; flex-direction: column; align-items: stretch; }
	.boss-steps li { padding-left: 50px; margin-left: 16px; }
	.boss-band__inner { min-height: 210px; }
	.boss-hero { padding: 16px 0 40px; }
	.boss-hero__logo { width: 150px; }
	.boss-grid,
	.boss-grid--2,
	.boss-grid--3 { grid-template-columns: 1fr; }
	.boss-card { padding: 24px 20px; }
	.boss-facts > div { flex-direction: column; gap: 2px; }
	.boss-facts dt { flex: none; }
	.boss-creds { gap: 16px; }
	.boss-creds span { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
	.boss-band__line { transition: none; }
	.boss-nav__bars i { transition: none; }
	.boss-wrap * { scroll-behavior: auto !important; }
}

/* Inside the BOSS theme the header is the theme's; give the first section room. */
.boss-program-page .boss-wrap > .boss-hero,
.boss-program-page .boss-wrap > .boss-pagehead { padding-top: 40px; }
