/* ==========================================================================
   Talnt House: design system
   Tokens come from the homepage mockup: white space, a sea-teal accent,
   a high-contrast serif for headlines, Inter for everything else.
   ========================================================================== */

:root {
	/* Talnt House brand */
	--brand: #016b5a;
	--brand-dark: #015247;
	--brand-deep: #014a40;
	--brand-tint: #ddf2ed;
	--brand-wash: #f1f9f6;
	--brand-mint: #b4e0d4;

	--ink: #14181f;
	--body: #4a5260;
	--muted: #8a919c;
	--line: #e6e9ed;
	--line-strong: #d4d9df;
	--surface: #f7f8fa;
	--white: #ffffff;

	--success: #1d7a48;
	--success-tint: #e7f5ed;
	--warning: #a35b0b;
	--warning-tint: #fdf3e5;
	--danger: #b4321f;
	--danger-tint: #fcecea;

	--serif: "DM Serif Display", Georgia, "Times New Roman", serif;
	--sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--r-sm: 4px;
	--r: 8px;
	--r-lg: 12px;
	--r-pill: 999px;

	--shadow-sm: 0 1px 2px rgba(20, 24, 31, 0.05);
	--shadow: 0 1px 3px rgba(20, 24, 31, 0.06), 0 8px 24px rgba(20, 24, 31, 0.05);
	--shadow-lg: 0 18px 50px rgba(20, 24, 31, 0.14);

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 72px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
	color: var(--body);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; line-height: 1.15; font-weight: 400; }
h1, h2, .serif { font-family: var(--serif); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-family: var(--serif); font-size: 1.35rem; }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; min-width: 0 !important; min-height: 0 !important; padding: 0 !important; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0 !important; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--r); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.icon { flex: none; width: 1.15em; height: 1.15em; }

/* ---------- Layout ---------- */

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 760px; }
.container--form { max-width: 720px; }
.section { padding-block: clamp(48px, 8vw, 96px); }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.section--surface { background: var(--surface); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto clamp(28px, 4vw, 44px); }
.section-head p:last-child { margin-bottom: 0; }
.lead { font-size: 1.075rem; color: var(--body); }
.stack > * + * { margin-top: 16px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.nowrap { white-space: nowrap; }

/* Small teal label above headings (from the mockup) */
.eyebrow {
	margin: 0 0 10px;
	font-family: var(--sans);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--brand);
}
.eyebrow--sm { font-size: .66rem; letter-spacing: .14em; margin-bottom: 6px; }

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 10px 20px;
	border: 1px solid transparent;
	border-radius: var(--r-sm);
	font-size: .875rem;
	font-weight: 600;
	letter-spacing: 0;
	text-decoration: none;
	line-height: 1.2;
	white-space: nowrap;
	transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn .icon { width: 16px; height: 16px; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--outline { background: #fff; color: var(--brand-dark); border-color: var(--brand); }
.btn--outline:hover { background: var(--brand-wash); color: var(--brand-deep); }
.btn--ghost { background: transparent; color: var(--body); }
.btn--ghost:hover { background: var(--surface); color: var(--ink); }
.btn--white { background: #fff; color: var(--brand-deep); }
.btn--white:hover { background: var(--brand-tint); color: var(--brand-deep); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { background: #962816; color: #fff; }
.btn--sm { min-height: 36px; padding: 7px 16px; font-size: .82rem; }
.btn--lg { min-height: 48px; padding: 13px 28px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: var(--r);
	background: transparent;
	color: var(--muted);
}
.icon-btn:hover { background: var(--surface); color: var(--ink); }
.save-btn.is-saved { color: var(--brand); }
.save-btn.is-saved .icon { fill: currentColor; }

.arrow-btn {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--brand-tint);
	color: var(--brand);
	transition: background-color .15s, color .15s;
}
.arrow-btn .icon { width: 16px; height: 16px; }
.arrow-btn:hover { background: var(--brand); color: #fff; }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .875rem; text-decoration: none; }
.text-link .icon { width: 16px; height: 16px; transition: transform .15s; }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(180%) blur(8px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s;
}
.site-header.is-scrolled { border-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 0 1 auto; text-decoration: none; color: var(--ink); }
.brand img { max-height: 40px; width: auto; }
.wordmark { display: inline-flex; flex-direction: column; min-width: 0; max-width: 100%; color: var(--brand); }
.wordmark__name { font-family: var(--serif); font-size: clamp(1.45rem, 2.6vw, 2.05rem); line-height: 1; letter-spacing: .01em; text-transform: uppercase; overflow-wrap: break-word; }
.wordmark__sub { margin-top: 5px; font-family: var(--sans); font-size: .6rem; font-weight: 600; line-height: 1.3; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); overflow-wrap: break-word; }
.brand__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--serif); font-size: 1.2rem; }
.brand__name { font-family: var(--serif); font-size: 1.3rem; line-height: 1; }
.brand__name small { display: block; font-family: var(--sans); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.main-nav { margin-inline: auto; flex: none; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 14px; border-radius: var(--r); color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 500; white-space: nowrap; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav a[aria-current="page"] { color: var(--brand-dark); background: var(--brand-wash); }

.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.header-actions .btn, .header-actions .login-link { white-space: nowrap; }
.header-actions .login-link { color: var(--ink); text-decoration: none; font-size: .875rem; font-weight: 500; padding: 8px 12px; }
.header-actions .login-link:hover { color: var(--brand-dark); }
.count-dot {
	position: absolute;
	top: 3px;
	right: 2px;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 9px;
	background: var(--brand);
	color: #fff;
	font-size: .62rem;
	font-weight: 700;
	line-height: 17px;
	text-align: center;
}
.header-icon { position: relative; }

.menu-wrap { position: relative; }
.user-btn { display: flex; align-items: center; gap: 8px; padding: 4px 6px 4px 4px; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; }
.user-btn .icon { width: 16px; height: 16px; color: var(--muted); }
.dropdown {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 60;
	min-width: 230px;
	padding: 8px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: #fff;
	box-shadow: var(--shadow-lg);
}
.dropdown a, .dropdown button.dropdown__item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: var(--r); background: none; color: var(--ink); font-size: .9rem; text-decoration: none; text-align: left; }
.dropdown a:hover, .dropdown button.dropdown__item:hover { background: var(--surface); }
.dropdown hr { margin: 6px 0; border: 0; border-top: 1px solid var(--line); }
.dropdown__head { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.dropdown__head strong { display: block; color: var(--ink); font-size: .92rem; }
.dropdown__head span { font-size: .8rem; color: var(--muted); }

.notif-panel { width: min(380px, calc(100vw - 24px)); padding: 0; }
.notif-panel__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.notif-panel__head strong { color: var(--ink); }
.notif-list { max-height: 420px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; }
.notif-item a { display: block; padding: 10px; border-radius: var(--r); text-decoration: none; color: var(--body); }
.notif-item a:hover { background: var(--surface); }
.notif-item.is-unread a { background: var(--brand-wash); }
.notif-item__title { display: block; color: var(--ink); font-size: .88rem; font-weight: 500; line-height: 1.4; }
.notif-item__body { display: block; font-size: .8rem; margin-top: 2px; }
.notif-item__time { display: block; font-size: .72rem; color: var(--muted); margin-top: 4px; }
.notif-panel__foot { padding: 10px 14px; border-top: 1px solid var(--line); text-align: center; font-size: .85rem; }

.nav-toggle { display: none; }

@media (max-width: 1240px) {
	.nav-toggle { display: inline-grid; }
	.main-nav {
		position: fixed;
		inset: var(--header-h) 0 auto 0;
		margin: 0;
		padding: 12px var(--gutter) 24px;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
		display: none;
	}
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; }
	.main-nav a { padding: 12px; font-size: 1rem; }
	.site-header__inner { gap: 12px; }
	.header-actions { margin-left: auto; }
}
@media (max-width: 560px) {
	.header-actions .login-link { display: none; }
	.brand__name small { display: none; }
	.site-header .wordmark__sub { display: none; }
}

/* ---------- Home: hero ---------- */

.home-hero { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(460px, 40vw, 600px); display: flex; align-items: center; background: #f4f4f2; }
.home-hero picture { display: contents; }
.home-hero__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 72% 20%; }
.home-hero__inner { padding-block: clamp(40px, 6vw, 72px); }
.home-hero__copy { max-width: 520px; min-width: 0; }
.home-hero h1 { font-size: clamp(2.8rem, 5.6vw, 4.6rem); line-height: 1; margin-bottom: 18px; }
.home-hero h1 em { font-style: normal; color: var(--brand); }
.home-hero__text { max-width: 400px; font-size: 1.05rem; color: var(--body); margin-bottom: 26px; }
.home-hero__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: .875rem; font-weight: 500; color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }
.home-hero__link .icon { width: 16px; height: 16px; }

/* Underlined text tabs (hero search, how it works) */
.line-tabs { display: flex; gap: 28px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.line-tabs [role="tab"] { position: relative; min-height: 44px; padding: 0 2px; border: 0; background: none; font: inherit; font-size: .875rem; font-weight: 500; color: var(--muted); cursor: pointer; }
.line-tabs [role="tab"]:hover { color: var(--ink); }
.line-tabs [role="tab"][aria-selected="true"] { color: var(--brand); font-weight: 600; }
.line-tabs [role="tab"][aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brand); }
.home-hero .line-tabs { border-bottom: 0; margin-bottom: 10px; }

.home-search { display: flex; align-items: stretch; max-width: 520px; padding: 6px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
.home-search__field { position: relative; display: flex; align-items: center; flex: 1 1 auto; min-width: 0; }
.home-search__field > .icon { position: absolute; left: 12px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.home-search .home-search__field input, .home-search .home-search__field select { width: 100%; min-height: 44px; border: 0; padding: 0 12px 0 40px; background: transparent; box-shadow: none !important; font-size: .9rem; }
.home-search__field--loc { flex: 0 1 180px; border-left: 1px solid var(--line); }
.home-search__field--loc select { appearance: none; padding-right: 32px; cursor: pointer; text-overflow: ellipsis; }
.home-search__chev { position: absolute; right: 10px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.home-search .btn { flex: none; min-height: 44px; border-radius: var(--r-sm); }

@media (max-width: 760px) {
	.home-hero { display: block; min-height: 0; background: #fff; }
	.home-hero__bg { position: relative; z-index: 0; display: block; height: auto; aspect-ratio: 900 / 580; object-position: center top; }
	.home-hero__inner { padding-block: 24px 36px; }
	.home-hero__copy { max-width: none; }
	.home-search { flex-wrap: wrap; }
	.home-search__field { flex: 1 1 100%; }
	.home-search__field--loc { border-left: 0; border-top: 1px solid var(--line); }
	.home-search .btn { flex: 1 1 100%; margin-top: 6px; }
}

/* ---------- Home: stats ---------- */

.stats-strip { border-bottom: 1px solid var(--line); background: #fff; }
.stats-strip__list { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.hstat { display: flex; align-items: center; justify-content: center; gap: 16px; min-width: 0; padding: 26px 12px; }
.hstat + .hstat { border-left: 1px solid var(--line); }
.hstat > span:last-child { min-width: 0; }
.hstat__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--brand-wash); color: var(--brand); }
.hstat__num { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1; color: var(--brand); }
.hstat__label { display: block; margin-top: 6px; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
@media (max-width: 760px) {
	.stats-strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hstat { justify-content: flex-start; padding: 18px 8px; gap: 12px; }
	.hstat + .hstat { border-left: 0; }
	.hstat:nth-child(even) { border-left: 1px solid var(--line); padding-left: 16px; }
	.hstat:nth-child(n+3) { border-top: 1px solid var(--line); }
	.hstat__icon { width: 38px; height: 38px; }
	.hstat__label { letter-spacing: .06em; overflow-wrap: anywhere; }
}

/* ---------- Home: sections ---------- */

.home-section { padding-block: clamp(40px, 6vw, 64px); }
.home-section--rule { border-top: 1px solid var(--line); }
.home-section h2 { margin-bottom: 8px; }
.home-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 24px; }
.home-head > div { min-width: 0; max-width: 640px; }
.home-head p { margin: 0; color: var(--body); }
.home-head .text-link { margin-bottom: 6px; }

/* Talent cards */
.home-talent { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.home-talent > .empty, .home-talent > .empty-state { grid-column: 1 / -1; }
.person-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: box-shadow .2s; }
.person-card:hover { box-shadow: var(--shadow); }
.person-card__media { position: relative; aspect-ratio: 1 / 0.92; background: var(--surface); overflow: hidden; }
.person-card__media > a { display: block; height: 100%; }
.person-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.person-card__media .save-btn { position: absolute; top: 8px; right: 8px; background: rgba(255, 255, 255, .9); }
.person-card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; min-width: 0; }
.person-card__name { display: flex; align-items: center; gap: 6px; margin: 0; font-family: var(--serif); font-size: 1.2rem; overflow-wrap: anywhere; }
.person-card__name a { color: var(--ink); text-decoration: none; }
.person-card__name a:hover { color: var(--brand); }
.person-card__role { margin: 2px 0 8px; font-size: .85rem; color: var(--body); }
.person-card__loc { display: flex; align-items: center; gap: 6px; margin: 0 0 12px; font-size: .78rem; color: var(--muted); min-width: 0; }
.person-card__loc .icon { flex: none; width: 14px; height: 14px; }
.person-card__loc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person-card .chips, .opp-card .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.person-card .chip, .opp-card .chip { max-width: 100%; overflow: hidden; text-overflow: ellipsis; background: var(--surface); border-color: transparent; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: .82rem; font-weight: 500; color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }
.card-link .icon { width: 15px; height: 15px; transition: transform .15s; }
.card-link:hover .icon { transform: translateX(3px); }
@media (max-width: 1000px) { .home-talent { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .home-talent { gap: 12px; } .person-card__body { padding: 12px; } .person-card__name { font-size: 1.05rem; } }

/* Opportunity cards */
.opp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.opp-card { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 16px; padding: 14px; min-width: 0; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: box-shadow .2s; }
.opp-card:hover { box-shadow: var(--shadow); }
.opp-card__media { display: block; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: var(--surface); }
.opp-card__media img { width: 100%; height: 100%; object-fit: cover; }
.opp-card__media .casting-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--muted); }
.opp-card__main { min-width: 0; }
.opp-card__title { margin: 0 0 6px; font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; overflow-wrap: anywhere; }
.opp-card__title a { color: var(--ink); text-decoration: none; }
.opp-card__title a:hover { color: var(--brand); }
.opp-card .chips { margin-bottom: 0; }
.opp-card__side { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.opp-card__top { display: flex; align-items: center; gap: 6px; width: 100%; justify-content: space-between; }
.opp-card__top .save-btn { margin-top: -6px; }
.opp-card__dates { display: flex; flex-direction: column; gap: 2px; margin: 0; font-size: .76rem; color: var(--muted); white-space: nowrap; }
.opp-card .card-link { margin-top: auto; white-space: nowrap; }
.pay-badge { display: inline-block; padding: 3px 12px; border-radius: var(--r-pill); background: var(--brand-tint); color: var(--brand-deep); font-size: .74rem; font-weight: 600; white-space: nowrap; }
.pay-badge--tbc { background: var(--surface); color: var(--ink); }
@media (max-width: 1100px) { .opp-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
	.opp-card { grid-template-columns: 84px minmax(0, 1fr); }
	.opp-card__side { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-top: 12px; border-top: 1px solid var(--line); }
	.opp-card__top { width: auto; order: 0; }
	.opp-card__top .save-btn { margin: 0; }
	.opp-card__dates { order: 1; flex: 1 1 140px; }
	.opp-card .card-link { order: 2; margin-top: 0; }
}

/* How it works */
.home-section .line-tabs { margin: 10px 0 0; }
.journey { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.journey__step { display: flex; gap: 18px; min-width: 0; padding: 26px 24px 8px 0; }
.journey__step + .journey__step { padding-left: 24px; border-left: 1px solid var(--line); }
.journey__num { flex: none; font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--brand); }
.journey__step strong { display: block; margin: 6px 0 4px; font-family: var(--serif); font-weight: 400; font-size: 1.12rem; color: var(--ink); }
.journey__step strong + span { display: block; font-size: .86rem; color: var(--muted); }
@media (max-width: 760px) {
	.journey { grid-template-columns: 1fr; }
	.journey__step, .journey__step + .journey__step { padding: 18px 0; border-left: 0; }
	.journey__step + .journey__step { border-top: 1px solid var(--line); }
}

/* Closing panels */
.home-ctas { padding-block: 8px clamp(40px, 6vw, 64px); }
.home-ctas__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cta-panel { position: relative; isolation: isolate; overflow: hidden; min-width: 0; padding: clamp(28px, 4vw, 44px); border-radius: var(--r); }
.cta-panel h2 { max-width: 13em; margin-bottom: 10px; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; }
.cta-panel p { max-width: 30em; margin-bottom: 22px; }
.cta-panel--dark { background: var(--brand); color: rgba(255, 255, 255, .88); }
.cta-panel--dark h2 { color: #fff; }
.cta-panel--dark .eyebrow { color: var(--brand-mint); }
.cta-panel--mint { background: var(--brand-tint); }
.cta-panel--mint > :not(.cta-panel__glyph) { position: relative; }
.cta-panel--mint h2 { color: var(--ink); }
.cta-panel__glyph { position: absolute; z-index: -1; right: 3%; bottom: -22%; font-family: var(--serif); font-size: clamp(11rem, 20vw, 16rem); line-height: 1; color: var(--brand-mint); opacity: .55; pointer-events: none; }
@media (max-width: 860px) { .home-ctas__grid { grid-template-columns: 1fr; } }

/* ---------- Feature strip (three columns in one card) ---------- */

.feature-strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: #fff;
	box-shadow: var(--shadow);
}
.feature { position: relative; padding: 28px; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature__title { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.feature__icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--brand); border-radius: 50%; color: var(--brand); }
.feature p { font-size: .92rem; margin-bottom: 16px; }
.feature a.stretched::after { content: ""; position: absolute; inset: 0; }
.feature .arrow { color: var(--brand); }
@media (max-width: 760px) {
	.feature-strip { grid-template-columns: 1fr; }
	.feature + .feature { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Pills (filters) ---------- */

.pill-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.pill {
	display: inline-flex;
	align-items: center;
	flex: none;
	min-height: 40px;
	padding: 8px 18px;
	border: 1px solid transparent;
	border-radius: var(--r-pill);
	background: transparent;
	color: var(--body);
	font: inherit;
	font-size: .86rem;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
}
.pill:hover { color: var(--brand-dark); background: var(--brand-wash); }
.pill.is-active, .pill[aria-selected="true"] { background: var(--brand-tint); border-color: transparent; color: var(--brand-deep); font-weight: 600; }
.pill-bar__end { margin-left: auto; flex: none; }

/* ---------- Casting card (image left, mockup layout) ---------- */

.casting-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.casting-card {
	display: grid;
	grid-template-columns: 38% 1fr;
	gap: 18px;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: #fff;
	box-shadow: var(--shadow-sm);
	transition: box-shadow .2s;
}
.casting-card:hover { box-shadow: var(--shadow); }
.casting-card__media { display: block; overflow: hidden; border-radius: var(--r); background: var(--surface); aspect-ratio: 5 / 6; }
.casting-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.casting-card:hover .casting-card__media img { transform: scale(1.03); }
.casting-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--muted); background: linear-gradient(160deg, var(--brand-wash), var(--brand-tint)); }
.casting-card__placeholder .icon { width: 36px; height: 36px; color: var(--brand); }
.casting-card__body { display: flex; flex-direction: column; min-width: 0; padding-block: 4px; }
.casting-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.casting-card__top .icon-btn { margin-top: -8px; flex: none; }
.casting-card__title { font-size: 1.22rem; margin-bottom: 8px; }
.casting-card__title a { color: var(--ink); text-decoration: none; }
.casting-card__title a:hover { color: var(--brand-dark); }
.casting-card__excerpt { font-size: .86rem; line-height: 1.55; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.casting-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; }
.meta-row { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 12px; font-size: .8rem; color: var(--body); }
.meta-row span { display: inline-flex; align-items: center; gap: 6px; }
.meta-row .icon { width: 15px; height: 15px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; font-size: .72rem; color: var(--body); white-space: nowrap; }
.chip--brand { background: var(--brand-tint); border-color: transparent; color: var(--brand-deep); }

@media (max-width: 960px) { .casting-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
	.casting-card { grid-template-columns: 1fr; }
	.casting-card__media { aspect-ratio: 16 / 9; }
}

/* ---------- Talent card ---------- */

.talent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.talent-card { position: relative; display: flex; flex-direction: column; }
.talent-card__media { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); aspect-ratio: 4 / 5; }
.talent-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.talent-card:hover .talent-card__media img { transform: scale(1.03); }
.talent-card__placeholder { display: grid; place-items: center; height: 100%; background: linear-gradient(160deg, var(--brand-wash), var(--brand-tint)); }
.talent-card__status { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .92); color: var(--success); font-size: .7rem; font-weight: 600; }
.talent-card__status::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: middle; }
.talent-card__body { padding: 14px 2px 0; }
.talent-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; }
.talent-card__head .icon-btn { flex: none; margin-top: -6px; }
.talent-card__head .talent-card__name { min-width: 0; overflow-wrap: anywhere; }
.talent-card__name { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: 1.15rem; }
.talent-card__name a { color: var(--ink); text-decoration: none; }
.talent-card__name a:hover { color: var(--brand-dark); }
.talent-card .meta-row { margin-bottom: 0; }
.verified { display: inline-flex; color: var(--brand); }
.verified .icon { width: 18px; height: 18px; }

/* ---------- CTA banner ---------- */

.cta-banner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	overflow: hidden;
	padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px);
	border-radius: var(--r-lg);
	background: var(--brand);
	color: rgba(255, 255, 255, .86);
}
.cta-banner::after {
	content: "";
	position: absolute;
	right: -60px;
	top: -80px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	border: 50px solid rgba(255, 255, 255, .06);
}
.cta-banner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 6px; }
.cta-banner p { margin: 0; max-width: 420px; }
.cta-banner .btn { position: relative; z-index: 1; }
@media (max-width: 700px) { .cta-banner { flex-direction: column; align-items: flex-start; } }

/* ---------- Split sections (organizers / concierge) ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.check-list { list-style: none; margin: 20px 0 28px; padding: 0; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23016b5a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.panel {
	padding: clamp(24px, 4vw, 40px);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: #fff;
	box-shadow: var(--shadow);
}
.panel--brand { background: var(--brand-wash); border-color: var(--brand-tint); box-shadow: none; }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; padding: 0 0 22px 52px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid var(--brand); color: var(--brand); font-weight: 600; font-size: .9rem; }
.steps li::after { content: ""; position: absolute; left: 17px; top: 36px; bottom: 4px; width: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps strong { display: block; color: var(--ink); margin-bottom: 2px; }
@media (max-width: 860px) {
	.split { grid-template-columns: 1fr; }
	.split--reverse > :first-child { order: 0; }
}

.join-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.join-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.join-card--brand { background: var(--brand-wash); border-color: var(--brand-tint); }
.join-card h3 { font-size: 1.6rem; }
@media (max-width: 760px) { .join-cards { grid-template-columns: 1fr; } }

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

.site-footer { padding: 48px 0 36px; border-top: 1px solid var(--line); background: #fff; color: var(--body); font-size: .9rem; }
.site-footer a { color: var(--body); text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr); gap: 32px; }
.footer-grid > nav { padding-left: 24px; border-left: 1px solid var(--line); }
.footer-grid h4 { color: var(--ink); font-family: var(--sans); font-size: .82rem; font-weight: 600; margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; font-size: .85rem; }
.footer-brand p { margin: 6px 0 0; font-size: .85rem; color: var(--muted); }
.site-footer .wordmark__name { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.footer-legal { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-size: .78rem; color: var(--muted); }
.footer-legal .row { gap: 18px; }
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 50%; }
.social a:hover { border-color: var(--brand); }
@media (max-width: 960px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid > nav { padding-left: 0; border-left: 0; }
	.footer-brand, .footer-legal { grid-column: 1 / -1; }
	.footer-legal { align-items: flex-start; padding-top: 16px; border-top: 1px solid var(--line); }
}
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

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

.form-card {
	padding: clamp(24px, 5vw, 48px);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: #fff;
	box-shadow: var(--shadow);
}
.form-card h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); margin-bottom: 10px; }
.form-card > .lead { margin-bottom: 20px; }
.form-section-title { margin: 32px 0 16px; padding-top: 4px; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
.form-section-title:first-child { margin-top: 8px; }
h2.form-section-title, h3.form-section-title { font-family: var(--sans); line-height: 1.4; }
.form-card + .form-card { margin-top: 20px; }
.form > .form-card + .field, .form > .form-card + .sr-only + .field { margin-top: 20px; }
fieldset.field { min-width: 0; margin-inline: 0; padding: 0; border: 0; }
fieldset.field > legend { padding: 0; margin-bottom: 8px; }
input[type="file"] { display: block; width: 100%; padding: 10px; border: 1px dashed var(--line); border-radius: var(--r); background: var(--surface); font-size: .88rem; color: var(--body); }
input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 1px solid var(--brand); border-radius: var(--r); background: #fff; color: var(--brand-deep); font: 600 .78rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid > .field--textarea, .form-grid > .field--wide, .form-grid > .field--tax:has(.chip-select), .form-grid > .field--image { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.field { margin-bottom: 18px; }
.field__label { display: block; margin-bottom: 6px; font-size: .84rem; font-weight: 600; color: var(--ink); }
.req { color: var(--danger); }
input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="number"], input[type="date"], input[type="datetime-local"], input[type="time"], input[type="search"], input[type="tel"], select, textarea {
	width: 100%;
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid var(--line-strong);
	border-radius: 6px;
	background: #fff;
	color: var(--ink);
	font-size: .94rem;
	transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #a3a9b2; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(1, 107, 90, .16); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
.field__help { margin: 6px 0 0; font-size: .78rem; color: var(--muted); }
.field__error { margin: 6px 0 0; font-size: .8rem; color: var(--danger); font-weight: 500; }
.field__count { margin: 4px 0 0; font-size: .74rem; color: var(--muted); }
.select { position: relative; }
.select select { appearance: none; padding-right: 40px; cursor: pointer; }
.select .icon { position: absolute; right: 12px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.check { display: inline-flex; align-items: flex-start; gap: 10px; font-size: .9rem; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--brand); }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-card { position: relative; display: block; padding: 18px; border: 1px solid var(--line-strong); border-radius: var(--r); cursor: pointer; background: #fff; }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card strong { display: block; color: var(--ink); }
.radio-card span { font-size: .85rem; color: var(--body); }
a.radio-card:hover { border-color: var(--brand); }
.radio-card:has(input:checked) { border-color: var(--brand); background: var(--brand-wash); box-shadow: 0 0 0 1px var(--brand); }
.radio-card:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }

.chip-select { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-option input { position: absolute; opacity: 0; pointer-events: none; }
.chip-option span { display: inline-block; padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); font-size: .84rem; cursor: pointer; background: #fff; user-select: none; }
.chip-option input:checked + span { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-deep); font-weight: 500; }
.chip-option input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.image-field { display: flex; align-items: center; gap: 16px; }
.image-field__preview { display: grid; place-items: center; flex: none; width: 96px; height: 96px; overflow: hidden; border: 1px dashed var(--line-strong); border-radius: var(--r); background: var(--surface); color: var(--muted); }
.image-field__preview img { width: 100%; height: 100%; object-fit: cover; }
.image-field.is-uploading .image-field__preview { opacity: .5; }

.password { position: relative; }
.password input { padding-right: 46px; }
.password__toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; }

.signup-as { display: inline-flex; align-items: center; gap: 10px; margin: 4px 0 8px; padding: 8px 14px 8px 8px; border-radius: var(--r-pill); background: var(--brand-wash); color: var(--ink); font-size: .88rem; }
.signup-as .feature__icon { width: 30px; height: 30px; }
.signup-as a { font-weight: 600; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.divider { display: flex; align-items: center; gap: 14px; margin: 20px 0; color: var(--muted); font-size: .8rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.social-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn--social { background: #fff; border-color: var(--line-strong); color: var(--ink); text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 500; }
.btn--social:hover { background: var(--surface); color: var(--ink); }
@media (max-width: 480px) { .social-buttons, .radio-cards { grid-template-columns: 1fr; } }

.auth-page { min-height: calc(100vh - var(--header-h)); padding: clamp(32px, 6vw, 72px) 0; background: linear-gradient(180deg, var(--brand-wash), #fff 320px); }
.auth-card { max-width: 460px; margin: 0 auto; }
.auth-card--wide { max-width: 720px; }

/* ---------- Alerts, badges, stars ---------- */

.alert { margin: 0 0 16px; padding: 12px 16px; border-radius: var(--r); font-size: .9rem; border-left: 3px solid; }
.alert--success { background: var(--success-tint); border-color: var(--success); color: #134d2f; }
.alert--error { background: var(--danger-tint); border-color: var(--danger); color: #7d2214; }
.alert--info { background: var(--brand-wash); border-color: var(--brand); color: var(--brand-deep); }
.alert--warning { background: var(--warning-tint); border-color: var(--warning); color: #6b3b06; }
.alert a { color: inherit; font-weight: 600; }

.badge { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 3px 10px; border-radius: var(--r-pill); font-size: .72rem; font-weight: 600; white-space: nowrap; background: var(--surface); color: var(--body); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--under-review, .badge--submitted, .badge--draft { background: #eef1f6; color: #4a5a78; }
.badge--shortlisted, .badge--open, .badge--under-review.badge--concierge, .badge--proposal-sent, .badge--info-required { background: var(--brand-tint); color: var(--brand-deep); }
.badge--approved, .badge--confirmed, .badge--completed, .badge--accepted, .badge--active { background: var(--success-tint); color: var(--success); }
.badge--declined, .badge--cancelled, .badge--suspended { background: var(--danger-tint); color: var(--danger); }
.badge--withdrawn, .badge--expired, .badge--deactivated { background: var(--surface); color: var(--muted); }
.badge--filled, .badge--in-progress { background: #efeafc; color: #5b3fae; }
.badge--awaiting-completion, .badge--pending-payment, .badge--pending-approval, .badge--pending-verification { background: var(--warning-tint); color: var(--warning); }

.stars { display: inline-flex; align-items: center; gap: 1px; color: #d4d9df; font-size: .9rem; }
.star.is-on { color: #e2a019; }
.stars__num { margin-left: 6px; color: var(--body); font-size: .8rem; }

.avatar { flex: none; border-radius: 50%; object-fit: cover; background: var(--surface); }
.avatar--initials { display: inline-grid; place-items: center; background: var(--brand-tint); color: var(--brand-deep); font-weight: 600; }

/* ---------- Empty states, pagination, tabs ---------- */

.empty { padding: clamp(32px, 6vw, 56px) 24px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); background: #fff; }
.empty__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; background: var(--brand-wash); color: var(--brand); }
.empty__icon .icon { width: 26px; height: 26px; }
.empty__title { font-size: 1.25rem; margin-bottom: 6px; }
.empty__text { max-width: 420px; margin: 0 auto 18px; font-size: .92rem; }

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 40px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; font-size: .9rem; }
.pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--brand); color: var(--brand-dark); }

.tabs { display: flex; gap: 4px; margin-bottom: 20px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs a { position: relative; flex: none; padding: 10px 14px; color: var(--body); text-decoration: none; font-size: .9rem; font-weight: 500; }
.tabs a:hover { color: var(--ink); }
.tabs a.is-active, .tabs a[aria-current="page"] { color: var(--brand-dark); }
.tabs a.is-active::after, .tabs a[aria-current="page"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--brand); border-radius: 2px; }
.tabs .count, .tabs a > span { margin-left: 6px; padding: 1px 7px; border-radius: var(--r-pill); background: var(--surface); font-size: .72rem; color: var(--muted); }
.tabs a.is-active .count, .tabs a[aria-current="page"] > span { background: var(--brand-tint); color: var(--brand-deep); }

/* ---------- Dialogs and toasts ---------- */

dialog.modal {
	width: min(560px, calc(100vw - 24px));
	max-height: calc(100vh - 48px);
	padding: 0;
	border: 0;
	border-radius: var(--r-lg);
	background: #fff;
	color: var(--body);
	box-shadow: var(--shadow-lg);
}
dialog.modal--wide { width: min(760px, calc(100vw - 24px)); }
dialog.modal::backdrop { background: rgba(20, 24, 31, .5); }
dialog.modal[open] { animation: pop .18s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 24px 0; }
.modal__head h2 { font-size: 1.5rem; margin: 0; }
.modal__body { padding: 16px 24px; overflow-y: auto; }
.modal__foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px 22px; border-top: 1px solid var(--line); }
.modal__foot--split { justify-content: space-between; }

.toasts { position: fixed; z-index: 1000; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--r); background: var(--ink); color: #fff; font-size: .9rem; box-shadow: var(--shadow-lg); pointer-events: auto; animation: pop .2s ease-out; max-width: calc(100vw - 32px); }
.toast--error { background: var(--danger); }
.toast .icon { width: 18px; height: 18px; }

.rating-input { position: relative; display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rating-input input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.rating-input label { font-size: 1.7rem; line-height: 1; color: #d4d9df; cursor: pointer; }
.rating-input label:hover, .rating-input label:hover ~ label, .rating-input input:checked ~ label { color: #e2a019; }
.rating-input input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------- Directory pages ---------- */

.page-hero { padding: clamp(36px, 6vw, 64px) 0 clamp(24px, 4vw, 36px); background: linear-gradient(180deg, var(--brand-wash), #fff); }
.page-hero h1 { margin-bottom: 8px; }
.page-hero p { max-width: 560px; margin-bottom: 0; }
.searchbar { display: flex; gap: 10px; max-width: 720px; margin-top: 24px; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.searchbar .search-input { position: relative; flex: 1; }
.searchbar .search-input .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.searchbar input { border: 0; padding-left: 40px; box-shadow: none !important; }

.directory { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.filters h2 { font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; }
.filters .field { margin-bottom: 14px; }
.filters .field__label { font-size: .78rem; }
.filters input:not([type="checkbox"]):not([type="radio"]), .filters select { min-height: 40px; font-size: .88rem; }
.filters-toggle { display: none; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.results-head p { margin: 0; font-size: .9rem; }
.results-head .select select { min-height: 38px; font-size: .86rem; }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 960px) {
	.directory { grid-template-columns: 1fr; }
	.filters { position: static; display: none; }
	.filters.is-open { display: block; }
	.filters-toggle { display: inline-flex; }
}

/* ---------- Talent profile ---------- */

.profile-head { display: grid; grid-template-columns: 320px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; padding-top: clamp(28px, 5vw, 48px); }
.profile-photo { overflow: hidden; border-radius: var(--r-lg); background: var(--surface); aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-name { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.profile-name .verified .icon { width: 26px; height: 26px; }
.profile-headline { font-size: 1.1rem; color: var(--ink); margin-bottom: 14px; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin: 24px 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.facts div { padding: 12px 14px; background: #fff; box-shadow: 1px 1px 0 var(--line); }
.facts dt { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 2px 0 0; color: var(--ink); font-weight: 500; font-size: .92rem; }
.gallery { columns: 3 240px; column-gap: 16px; }
.gallery a { display: block; margin-bottom: 16px; overflow: hidden; border-radius: var(--r); break-inside: avoid; }
.gallery img { width: 100%; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.02); }
.credits { list-style: none; margin: 0; padding: 0; }
.credits li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.review { padding: 18px 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: 0; }
.review__head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; font-size: .88rem; }
.review__head strong { color: var(--ink); }
@media (max-width: 820px) { .profile-head { grid-template-columns: 1fr; } .profile-photo { max-width: 360px; } }

/* ---------- Casting detail ---------- */

.casting-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(24px, 4vw, 48px); align-items: start; padding-block: clamp(28px, 5vw, 48px); }
.casting-cover { overflow: hidden; margin-bottom: 28px; border-radius: var(--r-lg); background: var(--surface); aspect-ratio: 16 / 7; }
.casting-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { color: var(--body); }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose > *:first-child { margin-top: 0; }
.detail-list { margin: 0; }
.detail-list > div { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.detail-list dt { font-size: .8rem; font-weight: 600; color: var(--muted); }
.detail-list dd { margin: 0; color: var(--ink); }
.apply-card { position: sticky; top: calc(var(--header-h) + 16px); }
.apply-card .panel { padding: 24px; }
.apply-card .deadline { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: .9rem; color: var(--ink); }
.apply-card .deadline .icon { color: var(--brand); }
.org-mini { display: flex; align-items: center; gap: 12px; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--line); }
.org-mini strong { display: block; color: var(--ink); line-height: 1.3; }
.org-mini a { text-decoration: none; }
.org-mini span { font-size: .82rem; color: var(--muted); }
.concierge-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-bottom: 16px; border-radius: var(--r); background: var(--brand-wash); font-size: .85rem; color: var(--brand-deep); }
@media (max-width: 900px) {
	.casting-layout { grid-template-columns: 1fr; }
	.apply-card { position: static; scroll-margin-top: calc(var(--header-h) + 16px); }
	.detail-list > div { grid-template-columns: 1fr; gap: 2px; }
	.apply-bar { position: fixed; inset: auto 0 0 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--white, #fff); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(20,24,31,.08); }
	.apply-bar__meta { font-size: .8rem; color: var(--muted); line-height: 1.3; }
	.apply-bar__meta strong { display: block; color: var(--ink); font-size: .9rem; }
	body.has-apply-bar .site-footer { padding-bottom: 84px; }
}
@media (min-width: 901px) { .apply-bar { display: none; } }

/* ---------- App shell (dashboards) ---------- */

.app { display: grid; grid-template-columns: 248px 1fr; min-height: calc(100vh - var(--header-h)); background: linear-gradient(90deg, #fff 247px, var(--line) 247px, var(--line) 248px, var(--surface) 248px); }
.app.is-compact { background: linear-gradient(90deg, #fff 71px, var(--line) 71px, var(--line) 72px, var(--surface) 72px); }
.app-nav { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); overflow-y: auto; padding: 20px 14px; border-right: 1px solid var(--line); background: #fff; }
.app-nav__label { margin: 0 10px 10px; font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.app-nav ul { list-style: none; margin: 0; padding: 0; }
.app-nav a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: var(--r); color: var(--body); text-decoration: none; font-size: .9rem; font-weight: 500; }
.app-nav a .icon { color: var(--muted); }
.app-nav a:hover { background: var(--surface); color: var(--ink); }
.app-nav a[aria-current="page"] { background: var(--brand-wash); color: var(--brand-deep); }
.app-nav a[aria-current="page"] .icon { color: var(--brand); }
.app-nav .nav-count { margin-left: auto; min-width: 20px; padding: 0 6px; border-radius: var(--r-pill); background: var(--brand); color: #fff; font-size: .68rem; font-weight: 700; line-height: 20px; text-align: center; }
.app-nav__cta { margin: 18px 4px 0; }
.app-main { min-width: 0; padding: clamp(20px, 3vw, 36px); }
.app-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.app-head h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0; }
.app-head p { margin: 4px 0 0; }
.app-mobile-nav { display: none; }

.app.is-compact { grid-template-columns: 72px 1fr; }
.app.is-compact .app-nav { padding-inline: 10px; }
.app.is-compact .app-nav a { justify-content: center; padding: 11px; }
.app.is-compact .app-nav a span, .app.is-compact .app-nav__label, .app.is-compact .app-nav__cta, .app.is-compact .nav-count { display: none; }
.app.is-compact .app-main { padding: 0; }

@media (max-width: 900px) {
	.app, .app.is-compact { grid-template-columns: 1fr; background: var(--surface); }
	.app-nav { display: none; }
	.app-mobile-nav { display: flex; gap: 4px; overflow-x: auto; padding: 10px var(--gutter); border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: var(--header-h); z-index: 20; }
	.app-mobile-nav a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--r-pill); color: var(--body); text-decoration: none; font-size: .84rem; font-weight: 500; }
	.app-mobile-nav a[aria-current="page"] { background: var(--brand); color: #fff; }
	.app-mobile-nav .icon { width: 16px; height: 16px; }
}

.card { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.card + .card { margin-top: 20px; }
.card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.card__head h2, .card__head h3 { font-size: 1.2rem; margin: 0; font-family: var(--serif); }
.card--flush { padding: 0; overflow: hidden; }
.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cards-2 > * { min-width: 0; }
.cards-2 > .card + .card { margin-top: 0; }
@media (max-width: 1100px) { .cards-2, .cards-2[style] { grid-template-columns: minmax(0, 1fr) !important; } }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; text-decoration: none; color: inherit; }
a.stat:hover { border-color: var(--brand); }
.stat__num { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1.1; color: var(--ink); }
.stat__label { font-size: .84rem; color: var(--body); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.progress { height: 8px; border-radius: 4px; background: var(--surface); overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: 4px; background: var(--brand); }
.completion { display: flex; align-items: center; gap: 16px; }
.completion .progress { flex: 1; }
.completion strong { color: var(--ink); font-size: .95rem; }

.list { list-style: none; margin: 0; padding: 0; }
.list-item { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.list-item:last-child { border-bottom: 0; }
.list-item__main { flex: 1 1 160px; min-width: 0; }
.list-item__title { display: block; color: var(--ink); font-weight: 500; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.list-item__title:hover { color: var(--brand-dark); }
.list-item__meta { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.list-item__end { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex: none; max-width: 100%; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: #fff; }
.table td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .title { color: var(--ink); font-weight: 500; text-decoration: none; }
.table .title:hover { color: var(--brand-dark); }
@media (max-width: 760px) {
	.table--stack thead { display: none; }
	.table--stack tr { display: block; padding: 14px; border-bottom: 1px solid var(--line); }
	.table--stack td { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border: 0; }
	.table--stack td::before { content: attr(data-label); font-size: .74rem; font-weight: 600; color: var(--muted); }
	.table--stack td:first-child { display: block; }
	.table--stack td:first-child::before { display: none; }
}

/* Onboarding stepper */
.stepper { display: flex; gap: 6px; margin: 0 0 28px; padding: 0; list-style: none; counter-reset: s; }
.stepper li { flex: 1; }
.stepper li span { display: block; height: 4px; border-radius: 2px; background: var(--line); }
.stepper li.is-done span, .stepper li.is-current span { background: var(--brand); }
.stepper li em { display: block; margin-top: 8px; font-style: normal; font-size: .72rem; color: var(--muted); }
.stepper li.is-current em { color: var(--brand-deep); font-weight: 600; }
@media (max-width: 600px) { .stepper li em { display: none; } }

/* Portfolio manager */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.portfolio-item { position: relative; overflow: hidden; border-radius: var(--r); background: var(--surface); aspect-ratio: 4 / 5; cursor: grab; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.portfolio-item.is-dragging { opacity: .4; }
.portfolio-item.is-over { outline: 2px dashed var(--brand); outline-offset: 2px; }
.portfolio-item__tools { position: absolute; inset: auto 6px 6px 6px; display: flex; justify-content: space-between; opacity: 0; transition: opacity .15s; }
.portfolio-item:hover .portfolio-item__tools, .portfolio-item:focus-within .portfolio-item__tools { opacity: 1; }
@media (hover: none) { .portfolio-item__tools { opacity: 1; } }
.portfolio-item__tools button { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: var(--shadow-sm); }
.portfolio-item__tools button:hover { color: var(--danger); }
.portfolio-item__badge { position: absolute; left: 6px; top: 6px; padding: 2px 8px; border-radius: var(--r-pill); background: var(--brand); color: #fff; font-size: .66rem; font-weight: 600; }
.dropzone { display: grid; place-items: center; gap: 6px; padding: 24px; border: 2px dashed var(--line-strong); border-radius: var(--r); background: #fff; color: var(--body); text-align: center; aspect-ratio: 4 / 5; cursor: pointer; font-size: .85rem; }
.dropzone:hover, .dropzone.is-over { border-color: var(--brand); background: var(--brand-wash); color: var(--brand-deep); }
.dropzone .icon { width: 28px; height: 28px; color: var(--brand); }
.upload-progress { height: 4px; margin-top: 8px; border-radius: 2px; background: var(--line); overflow: hidden; }
.upload-progress span { display: block; height: 100%; background: var(--brand); width: 0; transition: width .2s; }

/* Applicant manager */
.applicant { display: grid; grid-template-columns: auto 64px 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.applicant:last-child { border-bottom: 0; }
.applicant__photo { width: 64px; height: 80px; overflow: hidden; border-radius: var(--r); background: var(--surface); }
.applicant__photo img { width: 100%; height: 100%; object-fit: cover; }
.applicant__name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 2px; font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.applicant__name a { color: var(--ink); text-decoration: none; }
.applicant__cover { margin: 6px 0 0; font-size: .86rem; color: var(--body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.applicant__actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.applicant__select input { width: 18px; height: 18px; accent-color: var(--brand); }
.bulk-bar { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-bottom: 1px solid var(--line); background: var(--brand-wash); font-size: .88rem; }
@media (max-width: 760px) {
	.applicant { grid-template-columns: auto 56px 1fr; }
	.applicant__actions { grid-column: 1 / -1; justify-content: flex-start; }
}

/* Schedule */
.booking { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.booking:last-child { border-bottom: 0; }
.booking__date { padding: 8px 0; border-radius: var(--r); background: var(--brand-wash); text-align: center; color: var(--brand-deep); }
.booking__date strong { display: block; font-family: var(--serif); font-size: 1.6rem; line-height: 1; font-weight: 400; }
.booking__date span { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.booking h3 { font-size: 1.1rem; margin-bottom: 4px; }
@media (max-width: 600px) { .booking { grid-template-columns: 60px 1fr; } .booking > :last-child { grid-column: 2; } }

/* Messages page */
.messages-shell { height: calc(100vh - var(--header-h)); }
.messages-shell casting-messages { display: block; height: 100%; min-height: 0; }
.messages-shell .messages-error { padding: 40px; }
@media (max-width: 900px) { .messages-shell { height: calc(100vh - var(--header-h) - 57px); } }

/* ---------- Content pages ---------- */

.content-page { padding-block: clamp(36px, 6vw, 72px); }
.content-page .prose { font-size: 1.02rem; }
.content-page .prose h2 { font-size: 1.7rem; }
.talnt-legal-note { padding: 12px 16px; border-radius: var(--r); background: var(--warning-tint); color: #6b3b06; font-size: .9rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; color: var(--ink); font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--brand); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding: 0 0 18px; }

/* ---------- WooCommerce checkout (registration payment) ---------- */

.woocommerce-page .content-page { max-width: 900px; margin-inline: auto; }
.woocommerce form .form-row { margin: 0 0 14px; }
.woocommerce form .form-row label { display: block; margin-bottom: 6px; font-size: .84rem; font-weight: 600; color: var(--ink); }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.woocommerce #payment { margin-top: 20px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); }
.woocommerce #payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 16px; }
.woocommerce button.button, .woocommerce a.button, .woocommerce #place_order { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border: 0; border-radius: var(--r-sm); background: var(--brand); color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.woocommerce button.button:hover, .woocommerce #place_order:hover { background: var(--brand-dark); }
.woocommerce-error, .woocommerce-message, .woocommerce-info { list-style: none; margin: 0 0 16px; padding: 12px 16px; border-left: 3px solid var(--brand); border-radius: var(--r); background: var(--brand-wash); }
.woocommerce-error { border-color: var(--danger); background: var(--danger-tint); }

/* ---------- Utility ---------- */

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-24 { margin-top: 24px; }
.text-center { text-align: center; }
.hide-mobile { }
@media (max-width: 760px) { .hide-mobile { display: none !important; } }

/* Notification centre page (the header dropdown uses .notif-list alone) */
.notif-list--page { max-height: none; padding: 0; }
.notif-list--page .notif-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.notif-list--page .notif-item:last-child { border-bottom: 0; }
.notif-list--page .notif-item.is-unread { background: var(--brand-wash); }
.notif-list--page .notif-item a { display: inline; padding: 0; background: none; border-radius: 0; color: var(--ink); }
.notif-list--page .notif-item a:hover { color: var(--brand-dark); background: none; text-decoration: underline; }
.notif-list--page .notif-item__body { flex: 1; min-width: 0; margin: 0; font-size: .88rem; }
.notif-list--page .notif-item__title { font-size: .95rem; }
.stack > .check { display: flex; }
@media (min-width: 761px) { .table-wrap { overflow: visible; } }

@media (max-width: 400px) {
	.wordmark { font-size: 1.3rem; }
	.header-actions .btn--sm { padding-inline: 12px; font-size: .78rem; }
}

/* ---------- Talnt House team panel (staff only) ---------- */

.team-panel { margin: 28px 0 8px; padding: 20px 22px; border: 1px dashed var(--brand); border-radius: var(--r-lg); background: var(--brand-wash); min-width: 0; }
.team-panel__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 16px; }
.team-panel__head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-deep); }
.team-panel__head h2 .icon { width: 18px; height: 18px; }
.team-panel__head p { margin: 0; font-size: .8rem; color: var(--body); }
.team-panel__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 24px; }
.team-panel__facts { margin: 0; display: grid; gap: 14px; align-content: start; }
.team-panel__facts dt { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.team-panel__facts dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.team-panel__form .field { margin-bottom: 14px; }
.team-panel fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.tier-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tier-option { position: relative; display: block; min-width: 0; cursor: pointer; }
.tier-option input { position: absolute; opacity: 0; }
.tier-option span { display: block; height: 100%; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--r); background: #fff; }
.tier-option strong { display: block; font-size: .88rem; }
.tier-option small { display: block; font-size: .76rem; color: var(--muted); }
.tier-option input:checked + span { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: #fff; }
.tier-option input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 760px) { .team-panel__grid { grid-template-columns: 1fr; } .tier-options { grid-template-columns: 1fr; } }

.team-filters { margin: 8px 0 16px; padding: 14px; border: 1px dashed var(--brand); border-radius: var(--r); background: var(--brand-wash); min-width: 0; }
.team-filters legend { display: flex; align-items: center; gap: 6px; padding: 0 6px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-deep); }
.team-filters legend .icon { width: 15px; height: 15px; }
.check-stack { display: grid; gap: 6px; }
.check-stack .check span { font-size: .86rem; }

.concierge-find__filters { margin-top: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.concierge-find__filters summary { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-size: .86rem; font-weight: 600; cursor: pointer; }
.concierge-find__filters summary .icon { width: 16px; height: 16px; }
.concierge-find__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; margin-top: 10px; }
@media (max-width: 560px) { .concierge-find__grid { grid-template-columns: 1fr; } }
.opp-card__more { margin: 8px 0 0; font-size: .76rem; color: var(--muted); }

/* ---------- Posting: project + roles ---------- */

.plain-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.post-layout { max-width: 920px; }
.post-layout > * + * { margin-top: 20px; }
.post-steps { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 20px; padding: 0; list-style: none; font-size: .86rem; color: var(--muted); }
.post-steps li { display: flex; align-items: center; gap: 8px; }
.post-steps span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: .78rem; font-weight: 600; }
.post-steps .is-current { color: var(--ink); font-weight: 600; }
.post-steps .is-current span { background: var(--brand); border-color: var(--brand); color: #fff; }
.post-actions { position: sticky; bottom: 12px; z-index: 5; box-shadow: 0 8px 30px rgba(20, 24, 31, .12); }
.field--confidential { display: none; }
#project-form:has(select[name="client_visibility"] option[value="confidential"]:checked) .field--confidential { display: block; }

.roles-card .card__head { align-items: flex-start; flex-wrap: wrap; }
.roles-card .card__head > div { min-width: 0; flex: 1 1 280px; }
.role-list { margin: 0; padding: 0; list-style: none; }
.role-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.role-row__main { min-width: 0; }
.role-row h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 1.15rem; overflow-wrap: anywhere; }
.role-row h3 a { color: var(--ink); text-decoration: none; }
.role-row h3 a:hover { color: var(--brand); }
.role-row__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; font-size: .82rem; color: var(--body); }
.role-row__meta span { min-width: 0; overflow-wrap: anywhere; }
.role-row__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.role-row__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.inline-form { display: inline; margin: 0; }
@media (max-width: 640px) {
	.role-row { grid-template-columns: 1fr; }
	.role-row__side { align-items: flex-start; text-align: left; }
	.role-row__actions { justify-content: flex-start; }
}

.role-form .card { scroll-margin-top: calc(var(--header-h) + 16px); }
.step-num { margin-right: 10px; font-family: var(--serif); font-weight: 400; color: var(--brand); }
.req-group { margin-top: 8px; padding-top: 18px; border-top: 1px dashed var(--line-strong); }
.req-group__title { margin: 0 0 4px; font-family: var(--sans); font-size: .95rem; font-weight: 600; }
.req-group > .field__help { margin: 0 0 14px; }
.essential-toggle { margin-top: 8px; max-width: 170px; }
.select--sm select { min-height: 36px; padding-top: 6px; padding-bottom: 6px; font-size: .84rem; }
.range-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.range-row input[type="number"] { width: 96px; }
.range-row input[type="date"], .range-row .cdate-wrap:has([data-date-kind="date"]) { flex: 1 1 160px; min-width: 0; max-width: 200px; }
.range-row input[type="time"], .range-row .cdate-wrap:has([data-date-kind="time"]) { flex: 0 0 140px; width: 140px; }
.range-row__unit { font-size: .84rem; color: var(--muted); }
.range-row .check { margin-left: 6px; }
.chip-option--any span { border-style: dashed; }

.repeat { display: grid; gap: 8px; }
.repeat__row { display: grid; grid-template-columns: minmax(130px, 170px) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr) 44px; gap: 8px; align-items: center; }
.repeat[data-repeat="auditions"] .repeat__row { grid-template-columns: minmax(130px, 170px) minmax(0, 1fr) minmax(0, 1.6fr) 44px; }
.repeat__row--single, .repeat[data-repeat="questions"] .repeat__row { grid-template-columns: minmax(0, 1fr) 44px; }
.repeat__row > * { min-width: 0; }
.repeat .icon-btn { width: 44px; height: 44px; }
.repeat > .btn { justify-self: start; }
@media (max-width: 760px) {
	.repeat__row, .repeat[data-repeat="auditions"] .repeat__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; }
	.repeat__row > .select { grid-column: 1 / -1; }
}

.seg { display: inline-flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line-strong); border-radius: var(--r); overflow: hidden; max-width: 100%; }
.seg__opt { position: relative; }
.seg__opt input { position: absolute; opacity: 0; }
.seg__opt span { display: flex; align-items: center; min-height: 44px; padding: 0 16px; font-size: .88rem; cursor: pointer; border-right: 1px solid var(--line-strong); background: #fff; }
.seg__opt:last-child span { border-right: 0; }
.seg__opt input:checked + span { background: var(--brand-tint); color: var(--brand-deep); font-weight: 600; }
.seg__opt input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: -2px; }
.fee-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .fee-grid { grid-template-columns: 1fr 1fr; } }
.fee-preview { margin: -4px 0 16px; font-size: .9rem; font-weight: 600; color: var(--brand-deep); min-height: 1.2em; }
.fee-preview:empty { display: none; }
[hidden] { display: none !important; }
.image-field label { position: relative; overflow: hidden; }

/* ---------- Opportunities discovery ---------- */

.opp-hero { padding: clamp(36px, 6vw, 64px) 0 clamp(24px, 4vw, 36px); background: linear-gradient(180deg, var(--brand-wash), #fff); }
.opp-hero h1 { margin-bottom: 8px; }
.opp-hero .lead { max-width: 560px; margin-bottom: 22px; }
.opp-search { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: 6px; max-width: 1000px; padding: 6px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
.opp-search__field { position: relative; display: flex; align-items: center; gap: 6px; min-width: 0; padding-left: 38px; border-right: 1px solid var(--line); }
.opp-search__field:nth-child(3) { border-right: 0; }
.opp-search__field > .icon { position: absolute; left: 12px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.opp-search .opp-search__field input, .opp-search .opp-search__field select { width: 100%; min-width: 0; min-height: 44px; border: 0; padding: 0 8px 0 0; background: transparent; box-shadow: none !important; font-size: .9rem; }
.opp-search__field select { appearance: none; cursor: pointer; text-overflow: ellipsis; }
.opp-search__field--dates input[type="date"], .opp-search__field--dates .cdate-wrap { flex: 1 1 0; min-width: 0; }
.opp-search__field .cdate-wrap__icon { display: none; }
.opp-search .opp-search__field .cdate-input { padding-right: 4px; }
.opp-search .btn { min-height: 44px; }
@media (max-width: 900px) {
	.opp-search { grid-template-columns: 1fr 1fr; }
	.opp-search__field--q { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
	.opp-search__field--dates { grid-column: 1 / -1; border-top: 1px solid var(--line); }
	.opp-search .btn { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
	.opp-search { grid-template-columns: 1fr; }
	.opp-search__field { border-right: 0; border-bottom: 1px solid var(--line); }
	.opp-search__field--dates { border-top: 0; }
}

.opp-page { padding: 8px 0 clamp(40px, 6vw, 72px); }
.opp-cats { margin: 4px 0 24px; }
.opp-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
.opp-filters { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; max-height: calc(100vh - var(--header-h) - 32px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.opp-filters__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.opp-filters__head h2 { margin: 0; font-family: var(--sans); font-size: .95rem; font-weight: 600; }
.opp-filters__body { padding: 4px 18px 8px; overflow-y: auto; overscroll-behavior: contain; }
.opp-filters__foot { padding: 12px 18px; border-top: 1px solid var(--line); }
.opp-drawer__close { display: none; }
.filter-group { margin: 0; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); min-width: 0; }
.filter-group:last-of-type { border-bottom: 0; }
.filter-group legend { display: block; width: 100%; margin-bottom: 8px; padding: 0; font-size: .8rem; font-weight: 600; color: var(--ink); }
.filter-group .check { display: flex; min-height: 32px; align-items: center; font-size: .88rem; }
.filter-group .check input { margin-top: 0; }
.filter-group .range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filter-group .range:has(.cdate-wrap) { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.filter-group input:not([type="checkbox"]):not([type="radio"]), .filter-group select { min-height: 40px; font-size: .88rem; width: 100%; }
.filter-group .select { display: block; margin: 6px 0; }
.pay-filter { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 8px; margin-top: 6px; }
.pay-filter .select { margin: 0; }
.filter-hint { margin: 6px 0 0; font-size: .76rem; color: var(--muted); }
.filter-hint--warn { color: var(--warning); }
.filter-mini { display: block; font-size: .72rem; color: var(--muted); margin-bottom: 2px; }
.filter-note { margin: 12px 0 8px; padding: 12px 14px; border-radius: var(--r); background: var(--brand-wash); font-size: .84rem; }
.filter-note p { margin: 2px 0 0; }

.opp-results { min-width: 0; }
.opp-results__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 10px; }
.opp-count { margin: 0; font-size: .95rem; }
.opp-results__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.opp-filters-btn { display: none; }
.opp-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 20px; }
.filter-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; min-width: 0; flex: 1 1 300px; }
.filter-chips--center { justify-content: center; margin: 12px 0 20px; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; max-width: 100%; padding: 4px 8px 4px 14px; border-radius: var(--r-pill); background: var(--brand-tint); color: var(--brand-deep); font-size: .84rem; font-weight: 500; text-decoration: none; }
.filter-chip span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filter-chip .icon { flex: none; width: 15px; height: 15px; }
.filter-chip:hover { background: var(--brand-mint); }
.filter-clear { font-size: .84rem; }
.opp-sort { display: flex; align-items: center; gap: 8px; }
.opp-sort__label { font-size: .86rem; color: var(--body); }
.opp-sort .select select { min-height: 40px; font-size: .86rem; }

.opp-grid-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.opp-result { display: flex; flex-direction: column; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: box-shadow .2s; }
.opp-result:hover { box-shadow: var(--shadow); }
.opp-result__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.opp-result__head .eyebrow { margin-top: 6px; min-width: 0; overflow-wrap: anywhere; }
.opp-result__head .save-btn { flex: none; margin-top: -4px; }
.opp-result__body { display: flex; gap: 14px; min-width: 0; }
.opp-result__media { flex: none; width: 64px; height: 64px; border-radius: var(--r-sm); overflow: hidden; background: var(--surface); }
.opp-result__media img { width: 100%; height: 100%; object-fit: cover; }
.opp-result__main { min-width: 0; }
.opp-result__title { margin: 0 0 6px; font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; overflow-wrap: anywhere; }
.opp-result__title a { color: var(--ink); text-decoration: none; }
.opp-result__title a:hover { color: var(--brand); }
.opp-result__client, .opp-result__loc { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: .82rem; color: var(--body); min-width: 0; }
.opp-result__client .icon, .opp-result__loc .icon { flex: none; width: 15px; height: 15px; color: var(--muted); }
.opp-result__client.is-verified .icon { color: var(--brand); }
.opp-result__client span, .opp-result__loc span { min-width: 0; overflow-wrap: anywhere; }
.opp-result__fee { margin: 12px 0 2px; font-size: 1rem; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.opp-result__dates { display: flex; flex-direction: column; margin: 0 0 12px; font-size: .82rem; color: var(--body); }
.opp-result .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.opp-result .chip { max-width: 100%; overflow: hidden; text-overflow: ellipsis; background: var(--surface); border-color: transparent; }
.opp-result__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.opp-result__foot .btn { min-height: 40px; }
.opp-result__more { font-size: .8rem; color: var(--muted); }
.opp-more { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 28px; }
.opp-empty { padding: 40px 20px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); }
.opp-empty h2 { font-size: 1.5rem; }

.opp-alert-band { padding: 0 0 clamp(40px, 6vw, 72px); }
.opp-alert-band__inner { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: clamp(24px, 4vw, 40px); border-radius: var(--r); background: var(--brand-tint); }
.opp-alert-band__inner > div { min-width: 0; max-width: 560px; }
.opp-alert-band h2 { margin: 0 0 6px; }
.opp-alert-band p { margin: 0; }
.opp-alert-band .cta-panel__glyph { right: 30%; bottom: -30%; top: auto; }

/* Tablet and mobile: the filters become a drawer that applies once. */
@media (max-width: 1199px) {
	.opp-layout { grid-template-columns: minmax(0, 1fr); }
	.opp-filters-btn { display: inline-flex; }
	.opp-drawer { position: fixed; inset: 0; z-index: 100; display: none; background: rgba(20, 24, 31, .45); }
	.opp-drawer.is-open { display: block; }
	.opp-drawer .opp-filters { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); max-height: none; border-radius: 0; border: 0; }
	.opp-drawer__close { display: inline-grid; }
	.opp-filters__head .text-link { margin-left: auto; }
	body.has-drawer { overflow: hidden; }
}
@media (max-width: 767px) {
	.opp-grid-results { grid-template-columns: minmax(0, 1fr); }
	.opp-cats { flex-wrap: nowrap; overflow-x: auto; }
	.opp-sort__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
.filter-group .range > * { min-width: 0; display: block; } .filter-group .range .select { margin: 0; } .filter-group .range .select select { width: 100%; min-width: 0; }

/* ---------- Brief, opportunity page, apply flow ---------- */

.project-head { display: flex; gap: 24px; align-items: flex-start; margin: 8px 0 24px; min-width: 0; }
.project-head__media { flex: none; width: 120px; height: 120px; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.project-head__media img { width: 100%; height: 100%; object-fit: cover; }
.project-head__text { min-width: 0; max-width: 760px; }
.project-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 8px; overflow-wrap: anywhere; }
.project-head .prose { margin-top: 12px; }
@media (max-width: 600px) { .project-head { flex-direction: column; } .project-head__media { width: 100%; height: 160px; } }
.role-tabs { display: flex; gap: 10px; margin: 0 0 24px; padding-bottom: 6px; overflow-x: auto; scrollbar-width: thin; }
.role-tab { flex: 0 0 auto; display: flex; flex-direction: column; gap: 2px; min-width: 180px; max-width: 260px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); text-decoration: none; }
.role-tab strong { font-size: .9rem; overflow-wrap: anywhere; }
.role-tab span { font-size: .78rem; color: var(--muted); }
.role-tab.is-active { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: var(--brand-wash); }
.role-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 18px; overflow-wrap: anywhere; }
.brief__part { padding: 20px 0; border-top: 1px solid var(--line); }
.brief__part h2 { display: flex; align-items: baseline; font-size: 1.35rem; margin: 0 0 12px; }
.brief__sub { margin: 14px 0 6px; font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.brief__list { display: grid; gap: 0; margin: 0; }
.brief__list > div { display: grid; grid-template-columns: minmax(120px, 200px) minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.brief__list dt { font-size: .84rem; color: var(--muted); }
.brief__list dd { margin: 0; font-size: .92rem; color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 520px) { .brief__list > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.brief__fee { margin: 0 0 8px; font-size: 1.15rem; font-weight: 600; }
.brief__others { margin: 0; padding-left: 18px; }
.brief--compact .brief__part { padding: 14px 0; }
.apply-card__role { margin: 0 0 2px; font-family: var(--serif); font-size: 1.2rem; overflow-wrap: anywhere; }
.apply-card__fee { margin: 0 0 10px; font-weight: 600; overflow-wrap: anywhere; }

.apply-steps { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 18px; padding: 0; list-style: none; counter-reset: s; font-size: .86rem; color: var(--muted); }
.apply-steps li { display: flex; align-items: center; gap: 8px; counter-increment: s; }
.apply-steps li::before { content: counter(s); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: .76rem; font-weight: 600; }
.apply-steps li.is-current { color: var(--ink); font-weight: 600; }
.apply-steps li.is-current::before { background: var(--brand); border-color: var(--brand); color: #fff; }
.apply-steps li.is-done::before { content: "✓"; background: var(--brand-tint); border-color: transparent; color: var(--brand-deep); }
.apply-form { max-width: 820px; }
.apply-form .card + .card { margin-top: 16px; }
.apply-role h3 { margin: 0 0 6px; font-size: 1.4rem; overflow-wrap: anywhere; }
.apply-role__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 8px; font-size: .9rem; }
.apply-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.pick { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; cursor: pointer; background: var(--surface); }
.pick img { width: 100%; height: 100%; object-fit: cover; }
.pick input { position: absolute; opacity: 0; }
.pick__tick { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.9); color: transparent; border: 1px solid var(--line-strong); }
.pick__tick .icon { width: 16px; height: 16px; }
.pick input:checked ~ .pick__tick { background: var(--brand); border-color: var(--brand); color: #fff; }
.pick input:checked ~ img, .pick:has(input:checked) img { outline: 3px solid var(--brand); outline-offset: -3px; }
.pick input:focus-visible ~ .pick__tick { outline: 2px solid var(--brand); outline-offset: 2px; }

.quick-view { position: fixed; inset: 0; z-index: 120; }
.quick-view__scrim { position: absolute; inset: 0; background: rgba(20, 24, 31, .4); }
.quick-view__panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(560px, 92vw); background: #fff; box-shadow: var(--shadow-lg); outline: none; }
.quick-view__head { display: flex; justify-content: space-between; gap: 12px; padding: 20px 24px 12px; border-bottom: 1px solid var(--line); }
.quick-view__head h2 { margin: 0; font-size: 1.5rem; overflow-wrap: anywhere; }
.quick-view__head .icon-btn { font-size: 1.6rem; line-height: 1; }
.quick-view__fee { margin: 6px 0 0; font-weight: 600; }
.quick-view__body { flex: 1; overflow-y: auto; padding: 4px 24px 16px; overscroll-behavior: contain; }
.quick-view__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 14px 24px; border-top: 1px solid var(--line); }
body.has-quick-view { overflow: hidden; }

.app-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.app-item { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; min-width: 0; }
.app-item > details > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; cursor: pointer; list-style: none; min-height: 44px; }
.app-item > details > summary::-webkit-details-marker { display: none; }
.app-item__main { display: flex; flex-direction: column; min-width: 0; }
.app-item__title { font-family: var(--serif); font-size: 1.15rem; overflow-wrap: anywhere; }
.app-item__body { padding: 0 18px 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.sent-thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.sent-thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r-sm); }
.snapshot { margin: 14px 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r); }
.snapshot > summary { cursor: pointer; font-size: .88rem; font-weight: 600; min-height: 32px; display: flex; align-items: center; }
.app-update { display: grid; gap: 8px; margin-top: 14px; }
.app-update .btn { justify-self: start; }
.timeline { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--line); }
.timeline li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 6px 0 6px 14px; font-size: .88rem; }
.badge--info-requested, .badge--audition-requested { background: var(--warning-tint); color: var(--warning); }
.app-update-wrap { margin: 14px 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r); }
.app-update-wrap > summary { cursor: pointer; font-size: .88rem; font-weight: 600; min-height: 32px; display: flex; align-items: center; }
.app-update-wrap[open] > summary { margin-bottom: 8px; }
.app-update-wrap .app-update { display: grid; gap: 10px; justify-items: start; }
.app-update-wrap textarea { width: 100%; }
.timeline__note { display: block; margin-top: 2px; font-size: .84rem; color: var(--muted); white-space: pre-line; overflow-wrap: anywhere; }
.timeline li > span:first-child { min-width: 0; flex: 1 1 200px; }

/* ---------- Saved searches ---------- */
.opp-save-search { flex: none; }
.opp-save-search .icon { width: 16px; height: 16px; }
.search-list { display: grid; gap: 16px; margin: 0 0 16px; padding: 0; list-style: none; }
.search-item { min-width: 0; }
.search-item__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 20px; margin-bottom: 14px; }
.search-item__main { flex: 1 1 260px; min-width: 0; }
.search-item__name { margin: 0 0 4px; font-family: var(--serif); font-size: 1.3rem; overflow-wrap: anywhere; }
.search-item__summary { margin: 0 0 4px; font-size: .9rem; color: var(--body); overflow-wrap: anywhere; }
.search-item__form { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 12px 16px; align-items: end; padding-top: 14px; border-top: 1px solid var(--line); }
.search-item__form .field { margin: 0; min-width: 0; }
.search-item__actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) { .search-item__form { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Touch targets (product target: 44px hit areas on touch/narrow screens) ---------- */
@media (max-width: 1199px), (pointer: coarse) {
	.pill, .filter-chip, .btn--sm, .opp-results .btn, .opp-save-search, .opp-filters-btn { min-height: 44px; }
	.icon-btn { min-width: 44px; min-height: 44px; }
	.filter-clear, .opp-alert-band .small a { display: inline-flex; align-items: center; min-height: 44px; }
	/* Card titles: grow the hit area without moving the text. */
	.opp-result__title a, .person-card__name a, .opp-card__title a { display: inline-block; padding-block: 12px; margin-block: -12px; }
	.card-link, .text-link, .home-hero__link { padding-block: 12px; margin-block: -12px; }
	.home-hero__link { margin-top: 5px; }
}
@media (max-width: 440px) {
	.site-header__inner { gap: 8px; }
	.site-header .wordmark__name { font-size: 1.15rem; }
	.header-actions { gap: 2px; }
	.user-btn { gap: 4px; padding: 3px 4px 3px 3px; }
}
/* Very narrow phones: Messages stays in the account menu and dashboard nav. */
@media (max-width: 379px) { .header-actions a.header-icon { display: none; } }
@media (max-width: 379px) {
	.site-header .wordmark__name { font-size: 1.05rem; }
	.header-actions .btn--sm { padding-inline: 10px; font-size: .74rem; }
}
.show-xs { display: none; }
@media (max-width: 359px) { .hide-xs { display: none; } .show-xs { display: inline; } }

/* The page only ever scrolls vertically. (Content is also sized not to overflow; this is the safety net.) */
body { overflow-x: clip; }

/* ---------- Select menus (assets/js/select.js) ---------- */
.select.is-open .icon { transform: translateY(-50%) rotate(180deg); }
.select .icon { transition: transform .15s; }
select.is-open { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(1, 107, 90, .16); }
.cselect-pop {
	position: fixed;
	z-index: 1000;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 6px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: #fff;
	box-shadow: var(--shadow-lg);
	font-family: var(--sans);
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity .12s, transform .12s;
}
.cselect-pop.is-above { transform: translateY(4px); }
.cselect-pop.is-shown { opacity: 1; transform: none; }
.cselect-opt {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	padding: 9px 12px 9px calc(12px + var(--depth, 0) * 16px);
	border-radius: var(--r);
	color: var(--ink);
	font-size: .92rem;
	line-height: 1.3;
	cursor: pointer;
	user-select: none;
}
.cselect-opt__text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.cselect-opt__tick { flex: none; width: 16px; height: 16px; color: var(--brand); visibility: hidden; }
.cselect-opt.is-active { background: var(--brand-wash); }
.cselect-opt[aria-selected="true"] { color: var(--brand-deep); font-weight: 600; background: var(--brand-tint); }
.cselect-opt[aria-selected="true"] .cselect-opt__tick { visibility: visible; }
.cselect-opt[aria-disabled="true"] { color: var(--muted); cursor: default; background: none; }
.cselect-opt[style*="--depth"] { font-size: .9rem; }
.cselect-group + .cselect-group, .cselect-opt + .cselect-group { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.cselect-group__label { padding: 6px 12px 4px; font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
@media (pointer: coarse) { .cselect-opt { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { .cselect-pop { transition: none; } }
@media (min-width: 961px) and (max-width: 1100px) {
	.footer-grid { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); }
	.footer-legal { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); }
}

/* ---------- Concierge page ---------- */
.cg-hero { background: #fff; }
.cg-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(24px, 4vw, 56px); padding-block: 24px 0; }
.cg-hero__copy { min-width: 0; padding-block: 32px; }
.cg-hero__eyebrow { margin: 0 0 14px; font-size: .78rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--ink); }
.cg-hero__title { margin: 0 0 22px; font-size: clamp(3.2rem, 7vw, 5.6rem); line-height: .92; letter-spacing: -.01em; }
.cg-hero__title span { display: block; text-transform: uppercase; color: var(--ink); }
.cg-hero__title em { display: block; font-style: italic; color: var(--brand); }
.cg-hero__lead { margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.45; color: var(--body); }
.cg-hero__media { align-self: stretch; min-width: 0; overflow: hidden; border-top-left-radius: 48px; margin-right: calc(-1 * ((100vw - min(100vw, var(--wrap))) / 2 + var(--gutter))); }
.cg-hero__media picture { display: block; height: 100%; }
.cg-hero__media img { display: block; width: 100%; height: 100%; min-height: 320px; max-height: 460px; object-fit: cover; object-position: center 30%; }

.cg-steps { background: var(--brand-tint); }
.cg-steps__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 auto; padding-block: 24px; list-style: none; }
.cg-steps__list li { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; padding: 4px 12px; text-align: center; color: var(--ink); font-size: 1.02rem; }
.cg-steps__list li + li { border-left: 1px solid rgba(1, 74, 64, .2); }
.cg-steps__num { font-family: var(--serif); font-size: 1.6rem; line-height: 1; color: var(--brand); }

.cg-brief { padding-block: clamp(36px, 6vw, 64px); }
.cg-brief__inner { max-width: 760px; }
.cg-brief__head { margin-bottom: 24px; text-align: center; }
.cg-brief__head h2 { margin-bottom: 6px; font-size: clamp(2rem, 4.4vw, 3rem); }
.cg-brief__head p { margin: 0; font-size: 1.1rem; color: var(--body); }
[data-concierge-form] textarea { min-height: 120px; }
.cg-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--brand-dark); font: inherit; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cg-link .icon { width: 18px; height: 18px; flex: none; }
.cg-link[aria-pressed="true"] { text-decoration: none; color: var(--brand-deep); }
.cg-attach { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; margin-top: -6px; }
.cg-attach .field__help, .cg-attach .field__error { flex-basis: 100%; margin-top: 0; }
.cg-attach__names { min-width: 0; overflow-wrap: anywhere; }
.cg-attach input[type="file"]:focus-visible + .cg-link { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.cg-details { margin: 20px 0 0; padding: 20px 0 0; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.cg-details legend { padding: 0; margin-bottom: 12px; font-weight: 600; color: var(--ink); }
.cg-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 8px; }
.cg-call { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; margin: 0; color: var(--body); }
.cg-call-note { margin: 8px 0 0; color: var(--brand-deep); }
.cg-private { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 10px; margin: 18px 0 0; font-size: .84rem; color: var(--muted); }
.cg-private > .icon { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--ink); }
.cg-private > span:first-of-type { flex: 1 1 260px; min-width: 0; }
.cg-required { margin-left: auto; white-space: nowrap; }
.cg-faq { margin-top: 32px; border-top: 1px solid var(--line); }
.cg-faq summary { align-items: center; font-size: 1.08rem; }
.cg-faq details[open] summary .icon { transform: rotate(45deg); }
.cg-sent { padding: 36px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); text-align: center; }
.cg-sent__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); }
.cg-sent h2 { font-size: clamp(1.6rem, 3vw, 2rem); }

@media (max-width: 860px) {
	.cg-hero__inner { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
	.cg-hero__copy { padding-block: 28px 8px; }
	.cg-hero__media { order: -1; margin-inline: calc(var(--gutter) * -1); border-top-left-radius: 0; }
	.cg-hero__media { margin-right: calc(var(--gutter) * -1); }
	.cg-hero__media img { min-height: 240px; max-height: 320px; }
	.cg-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
	.cg-steps__list li:nth-child(3) { border-left: 0; }
}
@media (max-width: 560px) {
	.cg-actions .btn { width: 100%; }
	.cg-steps__list li { font-size: .92rem; }
}

/* ---------- Date and time pickers (assets/js/date.js) ---------- */
.cdate-wrap { position: relative; display: block; min-width: 0; }
.cdate-input { cursor: pointer; padding-right: 42px; text-overflow: ellipsis; caret-color: transparent; }
.cdate-input.is-open { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(1, 107, 90, .16); }
.cdate-wrap__icon { position: absolute; top: 50%; right: 12px; display: flex; color: var(--muted); transform: translateY(-50%); cursor: pointer; }
.cdate-wrap__icon .icon { width: 18px; height: 18px; }
.cdate-pop {
	position: fixed;
	z-index: 990;
	width: 320px;
	max-width: calc(100vw - 16px);
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: #fff;
	box-shadow: var(--shadow-lg);
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity .12s, transform .12s;
}
.cdate-pop.is-shown { opacity: 1; transform: none; }
.cdate-pop--time { width: 280px; }
.cdate-head { display: grid; grid-template-columns: 36px minmax(0, 1.4fr) minmax(0, 1fr) 36px; align-items: center; gap: 6px; margin-bottom: 8px; }
.cdate-head .select select, .cdate-time .select select { min-height: 36px; padding: 4px 28px 4px 10px; font-size: .88rem; font-weight: 600; }
.cdate-pop .select .icon { right: 8px; width: 14px; height: 14px; }
.cdate-nav { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; }
.cdate-nav:hover { background: var(--brand-wash); color: var(--brand-dark); }
.cdate-nav .icon { width: 18px; height: 18px; }
.cdate-grid { display: grid; gap: 2px; }
.cdate-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.cdate-wd { padding: 4px 0; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-align: center; text-transform: uppercase; color: var(--muted); }
.cdate-day { aspect-ratio: 1; min-height: 36px; border: 0; border-radius: 50%; background: none; color: var(--ink); font: inherit; font-size: .88rem; cursor: pointer; }
.cdate-day:hover:not([disabled]) { background: var(--brand-wash); color: var(--brand-dark); }
.cdate-day.is-out { color: var(--muted); }
.cdate-day.is-today { box-shadow: inset 0 0 0 1px var(--brand); }
.cdate-day.is-selected { background: var(--brand); color: #fff; font-weight: 600; }
.cdate-day[disabled] { color: var(--line-strong); cursor: default; text-decoration: line-through; }
.cdate-day:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.cdate-time { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.cdate-pop--time .cdate-time { margin-top: 0; padding-top: 0; border-top: 0; }
.cdate-time .select { flex: 1 1 0; min-width: 0; }
.cdate-time__sep { font-weight: 600; color: var(--muted); }
.cdate-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.cdate-link { min-height: 36px; padding: 0 6px; border: 0; background: none; color: var(--brand-dark); font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer; }
.cdate-link:hover { text-decoration: underline; }
@media (pointer: coarse) { .cdate-day { min-height: 40px; } .cdate-nav { width: 44px; height: 44px; } .cdate-head { grid-template-columns: 44px minmax(0, 1.4fr) minmax(0, 1fr) 44px; } }
@media (prefers-reduced-motion: reduce) { .cdate-pop { transition: none; } }

/* Narrow date fields (filters sidebar/drawer): tighter padding so text never runs under the icon. */
.cdate-input::placeholder { text-overflow: ellipsis; }
.filter-group .cdate-wrap > .cdate-input, .filters .cdate-wrap > .cdate-input { padding-left: 10px; padding-right: 32px; }
.filter-group .cdate-wrap__icon, .filters .cdate-wrap__icon { right: 9px; }
.filter-group .cdate-wrap__icon .icon, .filters .cdate-wrap__icon .icon { width: 16px; height: 16px; }

/* ---------- The Call Sheet (journal) ---------- */
.cs-masthead { padding-top: clamp(20px, 3vw, 32px); }
.cs-masthead__eyebrow { margin: 0 0 6px; font-size: .74rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--brand-deep); }
.cs-masthead__title { margin: 0; overflow: hidden; font-family: var(--serif); font-size: clamp(3rem, 12vw, 9.5rem); font-weight: 400; line-height: .9; letter-spacing: -.01em; text-transform: uppercase; }
.cs-masthead__title a { display: block; color: var(--brand-deep); text-decoration: none; }
.cs-masthead__title [data-fit-text] { display: inline-block; white-space: nowrap; }
.cs-masthead__line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; margin-top: 10px; }
.cs-masthead__tagline { margin: 0; font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--ink); }
.cs-masthead__issue { margin: 0; font-size: .74rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--brand-deep); }
.cs-masthead--compact .cs-masthead__title { font-size: clamp(2rem, 6vw, 3.6rem); }
.cs-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 16px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.cs-tabs { display: flex; gap: 4px 28px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.cs-tabs::-webkit-scrollbar { display: none; }
.cs-tabs a { position: relative; display: inline-flex; align-items: center; min-height: 48px; padding: 0 2px; color: var(--body); font-size: .9rem; text-decoration: none; white-space: nowrap; }
.cs-tabs a:hover { color: var(--ink); }
.cs-tabs a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.cs-tabs a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brand); }
.cs-search { position: relative; display: flex; align-items: center; flex: 0 1 260px; min-width: 0; padding: 6px 0; }
.cs-search .icon { position: absolute; left: 12px; width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.cs-search input[type="search"] { min-height: 40px; padding-left: 38px; font-size: .86rem; }

.cs-kicker { margin: 0 0 6px; font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.cs-kicker a { color: inherit; text-decoration: none; }
.cs-kicker a:hover { color: var(--brand); }
.cs-kicker--light { color: rgba(255, 255, 255, .85); }
.cs-placeholder { display: grid; place-items: center; width: 100%; height: 100%; min-height: 160px; background: linear-gradient(135deg, var(--brand-tint), var(--brand-mint)); }
.cs-placeholder span { font-family: var(--serif); font-size: clamp(4rem, 10vw, 7rem); line-height: 1; color: rgba(1, 74, 64, .22); }

.cs-top { padding-block: clamp(18px, 3vw, 28px); }
.cs-top__grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 12px; }
.cs-top__grid--board-only { grid-template-columns: minmax(0, 1fr); }
.cs-feature { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(360px, 38vw, 470px); overflow: hidden; border-radius: var(--r); background: var(--brand-deep); }
.cs-feature__media { position: absolute; inset: 0; z-index: -2; display: block; }
.cs-feature__media img, .cs-feature__media .cs-placeholder { width: 100%; height: 100%; object-fit: cover; }
.cs-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 18, 16, .78) 0%, rgba(10, 18, 16, .45) 45%, rgba(10, 18, 16, 0) 75%), linear-gradient(0deg, rgba(10, 18, 16, .45), rgba(10, 18, 16, 0) 55%); }
.cs-feature__copy { max-width: 440px; min-width: 0; padding: clamp(22px, 3.4vw, 30px); color: #fff; }
.cs-feature__title { margin: 0 0 10px; font-family: var(--sans); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; color: #fff; overflow-wrap: break-word; }
.cs-feature__title a { color: inherit; text-decoration: none; }
.cs-feature__dek { margin: 0 0 18px; color: rgba(255, 255, 255, .9); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .85); background: transparent; color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--brand-deep); }

.cs-board { display: flex; flex-direction: column; min-width: 0; padding: clamp(20px, 2.6vw, 26px); border-radius: var(--r); background: var(--brand-deep); color: rgba(255, 255, 255, .8); }
.cs-board h2 { margin: 0; font-size: clamp(1.9rem, 3vw, 2.4rem); color: #fff; }
.cs-board__sub { margin: 2px 0 14px; color: rgba(255, 255, 255, .85); }
.cs-board__list { margin: 0; padding: 0; list-style: none; }
.cs-board__list li { border-top: 1px solid rgba(255, 255, 255, .18); }
.cs-board__list a { position: relative; display: block; padding: 14px 30px 14px 0; color: inherit; text-decoration: none; }
.cs-board__list a > .icon { position: absolute; top: 50%; right: 2px; width: 18px; height: 18px; color: #fff; transform: translateY(-50%); transition: transform .15s; }
.cs-board__list a:hover > .icon { transform: translate(3px, -50%); }
.cs-board__kicker { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.cs-board__title { display: block; margin: 3px 0 2px; font-size: 1rem; font-weight: 500; color: #fff; overflow-wrap: anywhere; }
.cs-board__meta { display: block; font-size: .8rem; color: rgba(255, 255, 255, .7); overflow-wrap: anywhere; }
.cs-board__empty { margin: 0; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.cs-board__all { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .18); color: #fff; font-size: .9rem; font-weight: 500; text-decoration: none; }
.cs-board__all .icon { width: 16px; height: 16px; }

.cs-section { padding-block: clamp(28px, 4vw, 44px); }
.cs-section--tight { padding-top: 0; }
.cs-section__head { margin-bottom: 18px; }
.cs-section__head h2 { margin: 0; font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.cs-section__head p { margin: 6px 0 0; color: var(--body); }
.cs-section__head--row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }

.cs-fresh { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.cs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.cs-card { display: flex; flex-direction: column; min-width: 0; }
.cs-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-sm); background: var(--surface); }
.cs-fresh .cs-card__media { aspect-ratio: auto; height: clamp(170px, 17vw, 220px); padding: 0; }
.cs-card__media img, .cs-card__media .cs-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cs-card:hover .cs-card__media img { transform: scale(1.03); }
.cs-card__body { display: flex; flex-direction: column; flex: 1; padding-top: 14px; min-width: 0; }
.cs-card__title { margin: 0 0 6px; font-family: var(--sans); font-size: 1.25rem; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; overflow-wrap: break-word; }
.cs-card--wide .cs-card__title { font-size: 1.4rem; }
.cs-card__title a { color: var(--ink); text-decoration: none; }
.cs-card__title a:hover { color: var(--brand); }
.cs-card__dek { margin: 0 0 12px; font-size: .9rem; color: var(--body); }
.cs-card__foot { display: flex; align-items: center; justify-content: space-between; margin: auto 0 0; font-size: .78rem; color: var(--muted); }
.cs-card__arrow { display: grid; place-items: center end; width: 32px; height: 44px; margin: -12px 0; color: var(--ink); }
.cs-card__arrow .icon { width: 18px; height: 18px; transition: transform .15s; }
.cs-card__arrow:hover .icon { transform: translateX(3px); }

.cs-journal { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 3vw, 32px); padding: clamp(14px, 2vw, 20px); border-radius: var(--r); background: var(--brand-tint); }
.cs-journal__media { display: block; height: 100%; min-height: 240px; max-height: 360px; overflow: hidden; border-radius: var(--r-sm); }
.cs-journal__media img, .cs-journal__media .cs-placeholder { width: 100%; height: 100%; object-fit: cover; }
.cs-journal__copy { min-width: 0; padding: 8px 8px 8px 0; }
.cs-journal__title { margin: 4px 0 10px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.02; }
.cs-journal__title a { color: var(--ink); text-decoration: none; }
.cs-journal__dek { margin: 0 0 14px; color: var(--body); }

.cs-news { padding-block: 8px clamp(32px, 5vw, 48px); }
.cs-news__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 16px 32px; padding: clamp(22px, 3vw, 30px); border-radius: var(--r); background: var(--brand-deep); color: rgba(255, 255, 255, .9); }
.cs-news h2 { margin: 0 0 4px; font-size: clamp(1.6rem, 2.8vw, 2.1rem); color: #fff; }
.cs-news__copy p { margin: 0; }
.cs-news__row { display: flex; gap: 10px; }
.cs-news__row input[type="email"] { flex: 1 1 auto; min-width: 0; border-color: transparent; }
.cs-news__row .btn { flex: none; border-color: #fff; }
.cs-news__topics { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 10px 0 0; padding: 0; border: 0; }
.cs-news__topics .check { color: #fff; font-size: .86rem; }
.cs-news__topics input { accent-color: #fff; }
.cs-news__msg { margin: 10px 0 0; padding: 8px 12px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .12); color: #fff; font-size: .86rem; }
.cs-news__msg.is-error { background: rgba(255, 255, 255, .92); color: var(--danger); }

.cs-article__head { max-width: 820px; padding-top: clamp(28px, 4vw, 44px); text-align: center; }
.cs-article__title { margin: 6px 0 12px; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; overflow-wrap: break-word; }
.cs-article__dek { margin: 0 auto 14px; max-width: 640px; font-size: 1.15rem; color: var(--body); }
.cs-article__byline { margin: 0; font-size: .84rem; color: var(--muted); }
.cs-article__byline span { margin: 0 6px; }
.cs-article__media { margin: clamp(22px, 3vw, 32px) auto 0; }
.cs-article__media img { display: block; width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--r); }
.cs-article__media figcaption { margin-top: 8px; font-size: .8rem; color: var(--muted); text-align: center; }
.cs-article__body { max-width: 720px; padding-block: clamp(26px, 4vw, 40px) 0; }
.cs-prose { font-size: 1.08rem; line-height: 1.75; }
.cs-prose > p:first-child::first-letter { float: left; margin: 6px 10px 0 0; font-family: var(--serif); font-size: 3.6rem; line-height: .8; color: var(--brand-deep); }
.cs-prose img, .cs-prose figure { max-width: 100%; height: auto; border-radius: var(--r-sm); }
.cs-prose blockquote { margin: 1.6em 0; padding: 0 0 0 20px; border-left: 3px solid var(--brand); font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; color: var(--ink); }
.cs-article__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 24px 0 0; }
.cs-article__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 32px; padding: 20px 22px; border-radius: var(--r); background: var(--brand-wash); }
.cs-article__cta p { margin: 0; font-family: var(--serif); font-size: 1.4rem; color: var(--ink); }

@media (max-width: 1000px) {
	.cs-top__grid { grid-template-columns: minmax(0, 1fr); }
	.cs-fresh { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cs-fresh .cs-card--wide { grid-column: 1 / -1; }
	.cs-fresh .cs-card--wide .cs-card__media { height: clamp(200px, 40vw, 320px); }
	.cs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cs-journal { grid-template-columns: minmax(0, 1fr); }
	.cs-journal__media { min-height: 220px; max-height: 300px; }
	.cs-news__inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
	.cs-fresh, .cs-grid { grid-template-columns: minmax(0, 1fr); }
	.cs-fresh .cs-card__media { height: clamp(190px, 56vw, 260px); }
	.cs-search { flex: 1 1 100%; }
	.cs-feature { min-height: 420px; }
	.cs-feature::before { background: linear-gradient(0deg, rgba(10, 18, 16, .85) 0%, rgba(10, 18, 16, .5) 50%, rgba(10, 18, 16, .05) 85%); }
	.cs-news__row { flex-direction: column; }
	.cs-news__row .btn { width: 100%; }
}

/* Header: the logo never wraps; the menu tightens before switching to the ☰ button. */
.site-header .brand { flex: none; }
.site-header .wordmark__name { white-space: nowrap; }
@media (min-width: 1241px) {
	.site-header__inner { gap: 16px; }
	/* The menu takes the free space between the logo and the buttons and spreads its links evenly across it. */
	.main-nav { flex: 1 0 auto; margin-inline: 0; }
	.main-nav ul { gap: 0; justify-content: space-evenly; }
	.main-nav a { padding: 8px 9px; font-size: .86rem; }
	/* Signed out there are fewer buttons on the right, so the links can be full size. */
	.site-header:has(.login-link) .main-nav ul { gap: 8px; }
	.site-header:has(.login-link) .main-nav a { padding: 8px 11px; font-size: .9rem; }
}
