/* ==========================================================================
   ITSB Casting: 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 {
	--teal: #0098b0;
	--teal-dark: #007a8f;
	--teal-deep: #0b6f80;
	--teal-tint: #e6f5f8;
	--teal-wash: #f2fafb;

	--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(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-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(--teal); outline-offset: 2px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.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(--teal);
}
.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: .74rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	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(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-dark); color: #fff; }
.btn--outline { background: #fff; color: var(--teal-dark); border-color: var(--teal); }
.btn--outline:hover { background: var(--teal-wash); color: var(--teal-deep); }
.btn--ghost { background: transparent; color: var(--body); }
.btn--ghost:hover { background: var(--surface); color: var(--ink); }
.btn--white { background: #fff; color: var(--teal-deep); }
.btn--white:hover { background: var(--teal-tint); color: var(--teal-deep); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { background: #962816; color: #fff; }
.btn--sm { min-height: 34px; padding: 7px 14px; font-size: .68rem; }
.btn--lg { min-height: 50px; padding: 14px 28px; font-size: .78rem; }
.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(--teal); }
.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(--teal-tint);
	color: var(--teal);
	transition: background-color .15s, color .15s;
}
.arrow-btn .icon { width: 16px; height: 16px; }
.arrow-btn:hover { background: var(--teal); 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; text-decoration: none; color: var(--ink); }
.brand img { max-height: 40px; width: auto; }
.brand__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--teal); 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; }
.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; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav a[aria-current="page"] { color: var(--teal-dark); background: var(--teal-wash); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .login-link { color: var(--ink); text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; }
.header-actions .login-link:hover { color: var(--teal-dark); }
.count-dot {
	position: absolute;
	top: 3px;
	right: 2px;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 9px;
	background: var(--teal);
	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(--teal-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: 960px) {
	.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; }
}

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

.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 80px) 0; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: end; gap: 32px; }
.hero__copy { padding-bottom: clamp(40px, 7vw, 96px); }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 4.8rem); line-height: 1.02; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero__text { max-width: 440px; font-size: 1.05rem; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero__proof { display: flex; align-items: center; gap: 12px; }
.hero__proof .faces { display: flex; }
.hero__proof .faces > * { margin-left: -10px; border: 2px solid #fff; }
.hero__proof .faces > *:first-child { margin-left: 0; }
.hero__proof p { margin: 0; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); line-height: 1.4; }
.hero__proof p span { display: block; color: var(--muted); font-weight: 500; }

.hero__visual { position: relative; align-self: stretch; min-height: 420px; }
.hero__glyph {
	position: absolute;
	right: 2%;
	top: 4%;
	font-family: var(--serif);
	font-size: clamp(16rem, 34vw, 30rem);
	line-height: .8;
	color: var(--teal-tint);
	user-select: none;
	pointer-events: none;
}
.hero__image { position: relative; z-index: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.hero__image img { max-height: 560px; width: auto; object-fit: contain; }
.hero__fallback {
	position: relative;
	z-index: 1;
	width: min(400px, 78%);
	aspect-ratio: 4 / 5;
	margin: 0 auto 0 4%;
	border-radius: 220px 220px 12px 12px;
	background:
		radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .55), transparent 60%),
		linear-gradient(160deg, #bfe7ee 0%, #0098b0 100%);
	overflow: hidden;
	box-shadow: var(--shadow);
}
.hero__fallback::after { content: ""; position: absolute; left: 50%; bottom: -12%; width: 70%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: rgba(255, 255, 255, .28); }
.hero__fallback::before { content: ""; position: absolute; left: 50%; top: 22%; width: 34%; aspect-ratio: .85; transform: translateX(-50%); border-radius: 50%; background: rgba(255, 255, 255, .32); }

@media (max-width: 900px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__copy { padding-bottom: 8px; text-align: left; }
	.hero__visual { min-height: 300px; }
	.hero__glyph { font-size: 18rem; right: 0; }
}

/* ---------- 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(--teal); border-radius: 50%; color: var(--teal); }
.feature p { font-size: .92rem; margin-bottom: 16px; }
.feature a.stretched::after { content: ""; position: absolute; inset: 0; }
.feature .arrow { color: var(--teal); }
@media (max-width: 760px) {
	.feature-strip { grid-template-columns: 1fr; }
	.feature + .feature { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Category cards ---------- */

.category-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: #fff;
	box-shadow: var(--shadow-sm);
	transition: box-shadow .2s, transform .2s;
}
.category-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.category-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--surface); overflow: hidden; }
.category-card__media img { width: 100%; height: 100%; object-fit: cover; }
.category-card__badge { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--teal); box-shadow: var(--shadow-sm); }
.category-card__body { padding: 20px 22px 22px; }
.category-card__body p { font-size: .92rem; margin-bottom: 14px; }
.category-card a.stretched::after { content: ""; position: absolute; inset: 0; }
.category-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; height: 100%; }
.category-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.category-mosaic img:first-child { grid-row: span 2; }

/* ---------- 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;
	padding: 8px 16px;
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	background: #fff;
	color: var(--ink);
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	text-decoration: none;
}
.pill:hover { border-color: var(--teal); color: var(--teal-dark); }
.pill.is-active { background: var(--teal); border-color: var(--teal); color: #fff; }
.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(--teal-wash), var(--teal-tint)); }
.casting-card__placeholder .icon { width: 36px; height: 36px; color: var(--teal); }
.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: -8px -8px 0 0; }
.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(--teal-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--teal { background: var(--teal-tint); border-color: transparent; color: var(--teal-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(--teal-wash), var(--teal-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 { margin: -6px -6px 0 0; }
.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(--teal-dark); }
.talent-card .meta-row { margin-bottom: 0; }
.verified { display: inline-flex; color: var(--teal); }
.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: linear-gradient(110deg, #0a8ea5 0%, #0b7d93 55%, #0b6f80 100%);
	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(--teal-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230098b0' 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--teal { background: var(--teal-wash); border-color: var(--teal-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(--teal); color: var(--teal); 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--teal { background: var(--teal-wash); border-color: var(--teal-tint); }
.join-card h3 { font-size: 1.6rem; }
@media (max-width: 760px) { .join-cards { grid-template-columns: 1fr; } }

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

.site-footer { margin-top: 0; padding: 56px 0 28px; background: var(--ink); color: rgba(255, 255, 255, .66); font-size: .9rem; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; margin-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand__name small { color: rgba(255, 255, 255, .5); }
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; }
.social a:hover { border-color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@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(--teal); }
.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(--teal); border-radius: var(--r); background: #fff; color: var(--teal-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="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(--teal); box-shadow: 0 0 0 3px rgba(0, 152, 176, .15); }
.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; margin-top: 2px; accent-color: var(--teal); }
.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(--teal); }
.radio-card:has(input:checked) { border-color: var(--teal); background: var(--teal-wash); box-shadow: 0 0 0 1px var(--teal); }
.radio-card:has(input:focus-visible) { outline: 2px solid var(--teal); 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(--teal); background: var(--teal-tint); color: var(--teal-deep); font-weight: 500; }
.chip-option input:focus-visible + span { outline: 2px solid var(--teal); 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(--teal-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(--teal-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(--teal-wash); border-color: var(--teal); color: var(--teal-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; 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(--teal-tint); color: var(--teal-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(--teal-tint); color: var(--teal-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(--teal-wash); color: var(--teal); }
.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(--teal); border-color: var(--teal); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--teal); color: var(--teal-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(--teal-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(--teal); 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(--teal-tint); color: var(--teal-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(--teal); outline-offset: 2px; }

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

.page-hero { padding: clamp(36px, 6vw, 64px) 0 clamp(24px, 4vw, 36px); background: linear-gradient(180deg, var(--teal-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, .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)); gap: 1px; margin: 24px 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--line); }
.facts div { padding: 12px 14px; background: #fff; }
.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(--teal); }
.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(--teal-wash); font-size: .85rem; color: var(--teal-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(--teal-wash); color: var(--teal-deep); }
.app-nav a[aria-current="page"] .icon { color: var(--teal); }
.app-nav .nav-count { margin-left: auto; min-width: 20px; padding: 0 6px; border-radius: var(--r-pill); background: var(--teal); 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(--teal); 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: 1fr 1fr; gap: 20px; }
.cards-2 > .card + .card { margin-top: 0; }
@media (max-width: 1100px) { .cards-2 { grid-template-columns: 1fr; } }

.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(--teal); }
.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(--teal); }
.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; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.list-item:last-child { border-bottom: 0; }
.list-item__main { flex: 1; 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(--teal-dark); }
.list-item__meta { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.list-item__end { display: flex; align-items: center; gap: 8px; flex: none; }

.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(--teal-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(--teal); }
.stepper li em { display: block; margin-top: 8px; font-style: normal; font-size: .72rem; color: var(--muted); }
.stepper li.is-current em { color: var(--teal-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(--teal); 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(--teal); 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(--teal); background: var(--teal-wash); color: var(--teal-deep); }
.dropzone .icon { width: 28px; height: 28px; color: var(--teal); }
.upload-progress { height: 4px; margin-top: 8px; border-radius: 2px; background: var(--line); overflow: hidden; }
.upload-progress span { display: block; height: 100%; background: var(--teal); 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; align-items: center; gap: 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(--teal); }
.bulk-bar { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-bottom: 1px solid var(--line); background: var(--teal-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(--teal-wash); text-align: center; color: var(--teal-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; }
.itsb-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(--teal); }
.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(--teal); 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(--teal-dark); }
.woocommerce-error, .woocommerce-message, .woocommerce-info { list-style: none; margin: 0 0 16px; padding: 12px 16px; border-left: 3px solid var(--teal); border-radius: var(--r); background: var(--teal-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(--teal-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(--teal-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; } }
