*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
	--gold: #c8a55c;
	--gold-light: #dfc386;
	--gold-dim: rgba(200, 165, 92, 0.15);
	--ivory: #f5f0eb;
	--ivory-muted: #b8b0a5;
	--charcoal: #0a0a0a;
	--charcoal-light: #141414;
	--charcoal-mid: #1a1a1a;
	--surface: #111111;
	--border: rgba(255,255,255,0.08);
	--border-focus: rgba(200, 165, 92, 0.4);
	--text-primary: #f5f0eb;
	--text-secondary: rgba(245, 240, 235, 0.6);
	--text-muted: rgba(245, 240, 235, 0.35);
	--danger: #e05252;
	--success: #5cb87a;
	--radius: 6px;
	--font-display: 'Cormorant Garamond', Georgia, serif;
	--font-body: 'Outfit', -apple-system, sans-serif;
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 15px;
	line-height: 1.6;
	color: var(--text-primary);
	background-color: var(--charcoal);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.3s var(--ease-smooth); }
a:hover { color: var(--gold-light); }

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── NAVBAR ─── */
.navbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	padding: 20px 0;
	transition: all 0.4s var(--ease-smooth);
}
.navbar.scrolled {
	padding: 12px 0;
	background: rgba(10, 10, 10, 0.92);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--border);
}
.navbar .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.navbar-logo img {
	height: 32px;
	width: auto;
	transition: opacity 0.3s;
}
.navbar-logo:hover img { opacity: 0.8; }
.navbar-cta {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gold);
	border: 1px solid rgba(200, 165, 92, 0.3);
	padding: 8px 20px;
	border-radius: 100px;
	transition: all 0.3s var(--ease-smooth);
	background: transparent;
	cursor: pointer;
}
.navbar-cta:hover {
	background: rgba(200, 165, 92, 0.1);
	border-color: var(--gold);
	color: var(--gold-light);
}

/* ─── HERO ─── */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	overflow: hidden;
}
.hero-bg {
	position: absolute;
	inset: 0;
	background-image: url('{{ asset('workwithus/images/banner-image.jpg') }}');
	background-size: cover;
	background-position: center 30%;
	filter: brightness(0.3) saturate(0.7);
	transform: scale(1.05);
	transition: transform 12s linear;
}
.hero:hover .hero-bg { transform: scale(1.0); }
.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(10,10,10,0.6) 0%,
		rgba(10,10,10,0.4) 40%,
		rgba(10,10,10,0.85) 100%
	);
}
.hero-grain {
	position: absolute;
	inset: 0;
	opacity: 0.03;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
	background-size: 128px 128px;
	pointer-events: none;
}
.hero-content {
	position: relative;
	z-index: 2;
	padding: 140px 0 100px;
	width: 100%;
}
.hero-inner {
	max-width: 680px;
}
.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 32px;
	opacity: 0;
	animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}
.hero-badge::before {
	content: '';
	width: 32px;
	height: 1px;
	background: var(--gold);
}
.hero-title {
	font-family: var(--font-display);
	font-size: clamp(42px, 6vw, 76px);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--text-primary);
	margin-bottom: 28px;
	opacity: 0;
	animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
}
.hero-title em {
	font-style: italic;
	color: var(--gold);
}
.hero-subtitle {
	font-size: 17px;
	font-weight: 300;
	line-height: 1.7;
	color: var(--text-secondary);
	max-width: 520px;
	margin-bottom: 40px;
	opacity: 0;
	animation: fadeUp 0.8s var(--ease-out) 0.6s forwards;
}
.hero-actions {
	display: flex;
	align-items: center;
	gap: 24px;
	opacity: 0;
	animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
}
.btn-apply {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--charcoal);
	background: var(--gold);
	border: none;
	padding: 14px 32px;
	border-radius: 100px;
	cursor: pointer;
	transition: all 0.3s var(--ease-smooth);
}
.btn-apply:hover {
	background: var(--gold-light);
	transform: translateY(-1px);
	box-shadow: 0 8px 30px rgba(200, 165, 92, 0.25);
	color: var(--charcoal);
}
.btn-apply svg {
	width: 16px;
	height: 16px;
	transition: transform 0.3s var(--ease-smooth);
}
.btn-apply:hover svg { transform: translateY(2px); }
.hero-scroll-hint {
	font-size: 12px;
	color: var(--text-muted);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.hero-stats {
	position: absolute;
	bottom: 60px;
	right: 24px;
	z-index: 2;
	display: flex;
	gap: 48px;
	opacity: 0;
	animation: fadeUp 0.8s var(--ease-out) 1s forwards;
}
.hero-stat { text-align: right; }
.hero-stat-number {
	font-family: var(--font-display);
	font-size: 42px;
	font-weight: 600;
	color: var(--text-primary);
	line-height: 1;
}
.hero-stat-label {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-top: 6px;
}

@keyframes fadeUp {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ─── FORM ALERTS ─── */
.form-alert {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px 20px;
	border-radius: var(--radius);
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 28px;
	animation: alertIn 0.5s var(--ease-out) forwards;
	line-height: 1.5;
}
.form-alert svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	margin-top: 1px;
}
.form-alert-success {
	background: rgba(92, 184, 122, 0.1);
	border: 1px solid rgba(92, 184, 122, 0.25);
	color: var(--success);
}
.form-alert-error {
	background: rgba(224, 82, 82, 0.1);
	border: 1px solid rgba(224, 82, 82, 0.25);
	color: var(--danger);
}
@keyframes alertIn {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ─── WHY SECTION ─── */
.why-section {
	padding: 120px 0;
	background: var(--charcoal);
	position: relative;
}
.why-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.section-header {
	text-align: center;
	margin-bottom: 72px;
}
.section-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 20px;
}
.section-eyebrow::before,
.section-eyebrow::after {
	content: '';
	width: 24px;
	height: 1px;
	background: rgba(200, 165, 92, 0.4);
}
.section-title {
	font-family: var(--font-display);
	font-size: clamp(32px, 4vw, 52px);
	font-weight: 500;
	line-height: 1.15;
	color: var(--text-primary);
	margin-bottom: 18px;
}
.section-desc {
	font-size: 16px;
	font-weight: 300;
	line-height: 1.7;
	color: var(--text-secondary);
	max-width: 600px;
	margin: 0 auto;
}

.benefits-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}
.benefit-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 40px 32px;
	transition: all 0.4s var(--ease-smooth);
	position: relative;
	overflow: hidden;
}
.benefit-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--gold), transparent);
	opacity: 0;
	transition: opacity 0.4s;
}
.benefit-card:hover {
	border-color: rgba(200, 165, 92, 0.2);
	transform: translateY(-4px);
}
.benefit-card:hover::before { opacity: 1; }
.benefit-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--gold-dim);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
}
.benefit-icon svg {
	width: 22px;
	height: 22px;
	color: var(--gold);
}
.benefit-title {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 12px;
}
.benefit-text {
	font-size: 14px;
	font-weight: 300;
	line-height: 1.7;
	color: var(--text-secondary);
}

/* ─── STATS BAR ─── */
.stats-bar {
	padding: 80px 0;
	background: var(--charcoal-light);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}
.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	text-align: center;
}
.stat-item {}
.stat-number {
	font-family: var(--font-display);
	font-size: clamp(36px, 4vw, 54px);
	font-weight: 600;
	color: var(--gold);
	line-height: 1;
}
.stat-label {
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-top: 10px;
}

/* ─── APPLICATION SECTION ─── */
.apply-section {
	padding: 120px 0;
	background: var(--charcoal);
	position: relative;
}
.apply-layout {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 80px;
	align-items: start;
}
.apply-info {}
.apply-info .section-eyebrow { margin-bottom: 20px; }
.apply-info .section-title { text-align: left; margin-bottom: 20px; }
.apply-info-text {
	font-size: 16px;
	font-weight: 300;
	line-height: 1.8;
	color: var(--text-secondary);
	margin-bottom: 40px;
}

.apply-features { list-style: none; }
.apply-feature {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--border);
}
.apply-feature:first-child { border-top: 1px solid var(--border); }
.apply-feature-icon {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: var(--gold-dim);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
}
.apply-feature-icon svg {
	width: 16px;
	height: 16px;
	color: var(--gold);
}
.apply-feature-title {
	font-size: 15px;
	font-weight: 500;
	color: var(--text-primary);
	margin-bottom: 3px;
}
.apply-feature-desc {
	font-size: 13px;
	font-weight: 300;
	color: var(--text-muted);
}

/* ─── FORM ─── */
.form-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 48px 40px;
	position: relative;
}
.form-card::before {
	content: '';
	position: absolute;
	top: -1px;
	left: 40px;
	right: 40px;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.form-header {
	text-align: center;
	margin-bottom: 36px;
}
.form-header-title {
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 6px;
}
.form-header-sub {
	font-size: 13px;
	color: var(--text-muted);
}

.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.form-grid .form-group.full-width {
	grid-column: 1 / -1;
}

.form-group { position: relative; }
.form-label {
	display: block;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 8px;
	transition: color 0.3s;
}
.form-group:focus-within .form-label { color: var(--gold); }

.form-input {
	width: 100%;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 400;
	color: var(--text-primary);
	background: var(--charcoal-mid);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 12px 16px;
	transition: all 0.3s var(--ease-smooth);
	outline: none;
	resize: none;
}
.form-input::placeholder {
	color: var(--text-muted);
	font-weight: 300;
}
.form-input:focus {
	border-color: var(--border-focus);
	box-shadow: 0 0 0 3px rgba(200, 165, 92, 0.08);
	background: rgba(26, 26, 26, 0.8);
}
textarea.form-input {
	min-height: 100px;
	line-height: 1.6;
}

/* Validation states */
.form-input.is-invalid {
	border-color: rgba(224, 82, 82, 0.5) !important;
	box-shadow: 0 0 0 3px rgba(224, 82, 82, 0.08);
}
.form-input.is-valid {
	border-color: rgba(92, 184, 122, 0.4) !important;
}
.field-error {
	display: none;
	font-size: 12px;
	color: var(--danger);
	margin-top: 6px;
	padding-left: 2px;
}
/* Server-side errors: always visible when rendered */
.field-error.server-error { display: block; }
/* Client-side errors: only show when JS adds is-invalid and no server error is present */
.form-input.is-invalid ~ .field-error.client-error { display: block; }
/* Hide client-side error when server error is already shown */
.field-error.server-error + .field-error.client-error { display: none !important; }
/* Error list in summary alert */
.form-error-list {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
}
.form-error-list li {
	padding: 2px 0;
	font-size: 13px;
	font-weight: 400;
}
.form-error-list li::before {
	content: '\2022';
	margin-right: 8px;
	opacity: 0.6;
}

.form-check {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 8px 0;
}
.form-check-input {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	appearance: none;
	-webkit-appearance: none;
	border: 1.5px solid rgba(255,255,255,0.2);
	border-radius: 4px;
	background: var(--charcoal-mid);
	cursor: pointer;
	transition: all 0.2s;
	position: relative;
}
.form-check-input:checked {
	background: var(--gold);
	border-color: var(--gold);
}
.form-check-input:checked::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 2px;
	width: 5px;
	height: 9px;
	border: solid var(--charcoal);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.form-check-label {
	font-size: 13px;
	font-weight: 300;
	color: var(--text-secondary);
	line-height: 1.5;
}
.form-check-label a {
	color: var(--gold);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.form-check.is-invalid .form-check-input { border-color: var(--danger); }
.form-check.is-invalid .form-check-label { color: var(--danger); }

.form-required {
	font-size: 12px;
	color: var(--text-muted);
	text-align: center;
	margin-top: 4px;
	margin-bottom: 20px;
}

.btn-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--charcoal);
	background: var(--gold);
	border: none;
	padding: 16px 32px;
	border-radius: var(--radius);
	cursor: pointer;
	transition: all 0.3s var(--ease-smooth);
	margin-top: 8px;
}
.btn-submit:hover {
	background: var(--gold-light);
	box-shadow: 0 8px 30px rgba(200, 165, 92, 0.2);
	transform: translateY(-1px);
}
.btn-submit:active { transform: translateY(0); }
.btn-submit svg {
	width: 16px;
	height: 16px;
	transition: transform 0.3s;
}
.btn-submit:hover svg { transform: translateX(3px); }

/* ─── FOOTER ─── */
.site-footer {
	background: var(--charcoal-light);
	border-top: 1px solid var(--border);
	padding: 72px 0 0;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1fr;
	gap: 40px;
}
.footer-brand p {
	font-size: 14px;
	font-weight: 300;
	color: var(--text-secondary);
	margin: 16px 0 24px;
	line-height: 1.6;
}
.footer-brand-logo img {
	height: 28px;
	width: auto;
}
.footer-contact-list {
	list-style: none;
}
.footer-contact-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: var(--text-secondary);
	padding: 6px 0;
}
.footer-contact-item svg {
	width: 14px;
	height: 14px;
	color: var(--gold);
	flex-shrink: 0;
}
.footer-heading {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 20px;
}
.footer-links {
	list-style: none;
}
.footer-links li { padding: 5px 0; }
.footer-links a {
	font-size: 14px;
	color: var(--text-secondary);
	transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
	margin-top: 56px;
	padding: 24px 0;
	border-top: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.footer-copyright {
	font-size: 12px;
	color: var(--text-muted);
}
.footer-bottom-links {
	display: flex;
	gap: 24px;
	list-style: none;
}
.footer-bottom-links a {
	font-size: 12px;
	color: var(--text-muted);
}
.footer-bottom-links a:hover { color: var(--gold); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
	.hero-stats { display: none; }
	.apply-layout {
		grid-template-columns: 1fr;
		gap: 48px;
	}
	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}
}

@media (max-width: 768px) {
	.benefits-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.benefit-card { padding: 28px 24px; }
	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px;
	}
	.why-section { padding: 80px 0; }
	.apply-section { padding: 80px 0; }
	.form-card { padding: 32px 24px; }
	.form-grid { gap: 16px; }
	.site-footer { padding: 48px 0 0; }
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.footer-bottom {
		flex-direction: column;
		gap: 12px;
		text-align: center;
		margin-top: 32px;
	}
}

@media (max-width: 480px) {
	.hero-content { padding: 120px 0 60px; }
	.hero-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
	.form-grid { grid-template-columns: 1fr; }
	.stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
	.stats-bar { padding: 48px 0; }
}
