/* Prime Shine Solutions — site.css
   Dark automotive theme. Brand tokens below are PLACEHOLDERS until
   Hunter's Canva brand kit arrives; swap hex values here only. */

@font-face {
	font-family: 'Outfit';
	src: url('../fonts/outfit-var.woff2') format('woff2');
	font-weight: 300 800;
	font-display: swap;
}

:root {
	/* Brand tokens — from Hunter's Canva kit 2026-08-15.
	   Yellow #f6de5d (CTA accent), Vivid Azure #06ace4, Azure #5ecfdc,
	   Dark Azure #02506d, Black #000000. Var names kept from scaffold:
	   --gold = brand yellow, --navy = brand dark azure. */
	--gold: #f6de5d;
	--gold-deep: #e3c942;
	--navy: #02506d;
	--navy-soft: #04739c;
	--azure: #06ace4;

	/* Neutrals (near-black base to match the black logo field) */
	--bg: #0b0e12;
	--surface: #11161d;
	--surface-2: #171e27;
	--line: #24303f;
	--text: #eceff3;
	--muted: #9aa5b3;

	--radius: 14px;
	--wrap: 1200px;
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset-ish */
*, *::before, *::after { box-sizing: border-box; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: 'Outfit', system-ui, -apple-system, sans-serif;
	font-weight: 350;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration: none; }
p { margin: 0 0 1em; }

h1, h2, h3 {
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.1;
	margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.hero-copy h1 {
	font-size: clamp(2.8rem, 7vw, 4.6rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -0.01em;
}
.hero-copy .accent { color: var(--azure); }
.hero-eyebrow {
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--muted);
	margin-bottom: 1rem;
}
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.15rem; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }

/* Buttons */
.btn {
	display: inline-block;
	padding: 0.8rem 1.6rem;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.95rem;
	white-space: nowrap;
	transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-gold { background: var(--gold); color: #191204; }
.btn-gold:hover { background: var(--gold-deep); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); }

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}
.header-inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	height: 68px;
}
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand-mark {
	width: 84px; height: 84px;
	border-radius: 12px;
	background: #000 url('../img/logo.png') center / contain no-repeat;
	border: 1px solid var(--line);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
	flex-shrink: 0;
	align-self: flex-start;
	margin-top: 22px;
}
.brand-text { font-size: 1.15rem; }
.brand-text { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-text em { font-style: normal; color: var(--gold); }

.site-nav { margin-left: auto; }
.nav-menu {
	display: flex;
	gap: 1.6rem;
	list-style: none;
	margin: 0; padding: 0;
}
.nav-menu a { color: var(--muted); font-size: 0.95rem; transition: color 0.2s; }
.nav-menu a:hover { color: var(--text); }
.nav-toggle { display: none; }

/* Hero */
.hero { padding: 4.5rem 0 3.5rem; }
.hero-grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 3rem;
	align-items: center;
}
.hero-sub { color: var(--muted); font-size: 1.15rem; max-width: 32ch; }
.hero-ctas { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.6rem; }

.media-slot {
	background:
		linear-gradient(160deg, var(--navy-soft), var(--surface) 60%),
		var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	margin: 0;
}
.media-note {
	color: var(--muted);
	font-size: 0.8rem;
	text-align: center;
	opacity: 0.7;
}
.media-slot-hero { aspect-ratio: 6 / 7; }
.media-slot-logo {
	background: #000 url('../img/logo.png') center / contain no-repeat;
	border-color: var(--navy);
}
.hero-photo {
	width: 100%;
	aspect-ratio: 6 / 7;
	object-fit: cover;
	border-radius: var(--radius);
	border: 1px solid var(--line);
}
.card-photo {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 8px;
	margin-top: 1.2rem;
}

/* Before/after drag slider */
.ba-slider { width: 100%; max-width: 560px; justify-self: end; }
.ba-frame { width: 100%; }
.ba-frame {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line);
}
.ba-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ba-before-wrap {
	position: absolute;
	inset: 0;
	clip-path: inset(0 calc(100% - var(--ba-pos, 50%)) 0 0);
}
.ba-handle {
	position: absolute;
	top: 0; bottom: 0;
	left: var(--ba-pos, 50%);
	width: 3px;
	background: var(--gold);
	transform: translateX(-50%);
}
.ba-handle::after {
	content: '\2194';
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: 40px; height: 40px;
	border-radius: 999px;
	background: var(--gold);
	color: #191204;
	font-size: 1.1rem;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ba-tag {
	position: absolute;
	top: 12px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
	background: rgba(11, 14, 18, 0.75);
}
.ba-tag-before { left: 12px; color: var(--muted); }
.ba-tag-after { right: 12px; color: var(--gold); }
.ba-range-label { display: block; margin-top: 0.8rem; }
.ba-range { width: 100%; accent-color: var(--gold); cursor: ew-resize; }
.screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

/* Gallery page */
.gallery-ba { padding: 1rem 0 3rem; }
.ba-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.2rem;
	margin-top: 1.6rem;
}
.ba-item { margin: 0; }
.ba-item img { border-radius: var(--radius); border: 1px solid var(--line); }
.ba-item figcaption { color: var(--muted); font-size: 0.9rem; padding-top: 0.5rem; }
.gallery-grid-section { padding: 3rem 0 4.5rem; background: var(--surface); border-block: 1px solid var(--line); }
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.2rem;
	margin-top: 1.6rem;
}
.gallery-item { margin: 0; }
.gallery-item img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	transition: transform 0.3s var(--ease);
}
.gallery-item img:hover { transform: scale(1.02); }
.media-slot-card { aspect-ratio: 16 / 9; margin-top: 1.2rem; }
.media-slot-result { aspect-ratio: 4 / 3; }
.media-caption {
	position: absolute;
	top: 10px; left: 12px;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.is-after .media-caption { color: var(--gold); }

/* Trust band */
.trust-band { border-block: 1px solid var(--line); background: var(--surface); }
.trust-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	padding-block: 1.6rem;
}
.trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.15rem; }
.trust-item strong { font-size: 1.7rem; font-weight: 700; color: var(--gold); }
.trust-item span { color: var(--muted); font-size: 0.88rem; }

/* Services */
.services { padding: 5rem 0; }
.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: auto;
	gap: 1.2rem;
	margin-top: 2rem;
}
.service-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.6rem;
	transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.service-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.service-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.service-card-featured {
	grid-row: span 2;
	background: linear-gradient(170deg, var(--navy-soft), var(--surface) 70%);
}

/* Results */
.results { padding: 4rem 0 5rem; background: var(--surface); border-block: 1px solid var(--line); }
.results-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 3rem;
	align-items: center;
	padding-top: 1rem;
}
.results-copy p { color: var(--muted); max-width: 36ch; }
.results-copy .btn { margin-top: 0.5rem; }
.results-pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}
.results-pair .is-after { transform: translateY(1.4rem); }

/* How it works */
.how { padding: 5rem 0; }
.how-list {
	list-style: none;
	counter-reset: step;
	margin: 2rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}
.how-list li {
	counter-increment: step;
	border-top: 2px solid var(--line);
	padding-top: 1.2rem;
	position: relative;
}
.how-list li::before {
	content: counter(step, decimal-leading-zero);
	position: absolute;
	top: -0.85rem;
	left: 0;
	background: var(--bg);
	padding-right: 0.6rem;
	color: var(--gold);
	font-weight: 700;
	font-size: 0.95rem;
}
.how-list p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Service area */
.area { padding: 4rem 0 5rem; background: var(--surface); border-block: 1px solid var(--line); }
.area-grid {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 3rem;
	align-items: start;
	padding-top: 1rem;
}
.area-copy p { color: var(--muted); max-width: 30ch; }
.area-list {
	list-style: none;
	margin: 0; padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}
.area-list li {
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 0.45rem 1.1rem;
	font-size: 0.92rem;
	color: var(--muted);
	background: var(--bg);
}

/* CTA band */
.cta-band { padding: 5.5rem 0; text-align: center; }
.cta-inner h2 { max-width: 22ch; margin-inline: auto; }
.cta-inner .hero-ctas { justify-content: center; }

/* FAQ */
.faq { padding: 4.5rem 0 2rem; }
.faq-list { max-width: 760px; margin-top: 1.5rem; }
.faq-list details {
	border-top: 1px solid var(--line);
	padding: 1rem 0;
}
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
	cursor: pointer;
	font-weight: 600;
	font-size: 1.05rem;
	list-style: none;
	position: relative;
	padding-right: 2rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
	content: '+';
	position: absolute;
	right: 0.2rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--gold);
	font-weight: 400;
	font-size: 1.3rem;
	transition: transform 0.25s var(--ease);
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { color: var(--muted); margin: 0.8rem 0 0; max-width: 62ch; }

/* Contact page */
.contact-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 3rem;
	padding-bottom: 4.5rem;
	align-items: start;
}
.contact-info p { color: var(--muted); max-width: 40ch; }
.contact-list { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: 0.7rem; }
.contact-label {
	display: inline-block;
	min-width: 80px;
	color: var(--muted);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.contact-list a { color: var(--gold); }
.contact-social { display: flex; gap: 0.6rem; }

.quote-form {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 2rem;
}
.quote-form h2 { font-size: 1.3rem; }
.field { display: grid; gap: 0.4rem; margin-bottom: 1.1rem; }
.field label { font-size: 0.9rem; font-weight: 600; }
.field input, .field select {
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: 8px;
	color: var(--text);
	padding: 0.7rem 0.9rem;
	font: inherit;
	font-size: 0.95rem;
}
.field input::placeholder { color: #6b7686; }
.field input:focus, .field select:focus {
	outline: 2px solid var(--gold);
	outline-offset: 1px;
	border-color: var(--gold);
}
.quote-form .btn { width: 100%; text-align: center; margin-top: 0.4rem; }
.form-note { color: var(--muted); font-size: 0.85rem; margin: 0.8rem 0 0; text-align: center; }

/* Interior pages */
.page-hero { padding: 3.5rem 0 1rem; border-bottom: 1px solid var(--line); margin-bottom: 2.5rem; }
.page-body { padding-bottom: 4rem; max-width: 760px; }
.page-body a { color: var(--gold); }
.page-lede { color: var(--muted); font-size: 1.1rem; max-width: 52ch; margin-top: -0.3rem; padding-bottom: 1.5rem; }

/* Services page */
.deliverables { padding: 1rem 0 4rem; }
.deliver-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.2rem;
	margin-top: 1.6rem;
}
.durations { padding: 4rem 0; background: var(--surface); border-block: 1px solid var(--line); }
.durations-grid {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 3rem;
	align-items: start;
}
.durations-copy p { color: var(--muted); max-width: 30ch; }
.durations-list { display: grid; }
.duration-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	padding: 1.1rem 0.2rem;
	border-bottom: 1px solid var(--line);
}
.duration-row:first-child { border-top: 1px solid var(--line); }
.duration-name { font-weight: 600; font-size: 1.05rem; }
.duration-time { color: var(--gold); font-weight: 600; }

/* About page */
.story { padding: 1rem 0 4rem; }
.story-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 3rem;
	align-items: center;
}
.story-copy p { color: var(--muted); max-width: 56ch; }
.media-slot-story { aspect-ratio: 1 / 1; max-width: 420px; margin-left: auto; }
.motto-band {
	padding: 4.5rem 0;
	background: var(--surface);
	border-block: 1px solid var(--line);
	text-align: center;
}
.motto-text {
	font-size: clamp(2rem, 5vw, 3.2rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	line-height: 1.1;
	margin: 0 0 0.6rem;
}
.motto-text .accent { color: var(--azure); }
.motto-sub { color: var(--muted); max-width: 52ch; margin-inline: auto; }
.mobile-promise { padding: 4.5rem 0; }
.mobile-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 3rem;
	align-items: start;
}
.mobile-copy p { color: var(--muted); max-width: 42ch; }
.mobile-list { list-style: none; margin: 0.4rem 0 0; padding: 0; display: grid; }
.mobile-list li {
	padding: 0.9rem 0 0.9rem 1.7rem;
	border-bottom: 1px solid var(--line);
	position: relative;
	color: var(--text);
}
.mobile-list li:first-child { border-top: 1px solid var(--line); }
.mobile-list li::before {
	content: '';
	position: absolute;
	left: 0.2rem;
	top: 1.35rem;
	width: 7px; height: 7px;
	border-radius: 999px;
	background: var(--gold);
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 2.5rem;
	padding-block: 3rem 2rem;
}
.footer-tag { color: var(--muted); font-size: 0.92rem; max-width: 34ch; }
.footer-heading {
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--muted);
	margin-bottom: 0.8rem;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.footer-list a { color: var(--text); font-size: 0.95rem; }
.footer-list a:hover { color: var(--gold); }
.footer-legal {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	border-top: 1px solid var(--line);
	padding-block: 1.2rem;
	color: var(--muted);
	font-size: 0.85rem;
}
.footer-legal p { margin: 0; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--gold); }

/* Motion layer — all gated behind prefers-reduced-motion */
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }

	/* Scroll reveals: JS adds .reveal-init only to below-fold elements */
	.reveal-init { opacity: 0; transform: translateY(22px); }
	.reveal-in {
		opacity: 1;
		transform: none;
		transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
	}

	/* Hero entrance: pure CSS, always completes */
	.hero-eyebrow, .hero-copy h1, .hero-sub, .hero-ctas, .hero-media {
		animation: pss-rise 0.7s var(--ease) both;
	}
	.hero-copy h1 { animation-delay: 0.08s; }
	.hero-sub { animation-delay: 0.16s; }
	.hero-ctas { animation-delay: 0.24s; }
	.hero-media { animation-delay: 0.2s; }

	.btn { transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
	.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(246, 222, 93, 0.18); }
}

@keyframes pss-rise {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

/* Mobile */
@media (max-width: 900px) {
	.hero-grid, .results-grid, .area-grid, .contact-grid, .durations-grid, .story-grid, .mobile-grid { grid-template-columns: 1fr; gap: 2rem; }
	.services-grid, .deliver-grid { grid-template-columns: 1fr 1fr; }
	.media-slot-story { margin-left: 0; }
	.gallery-grid { grid-template-columns: 1fr 1fr; }
	.ba-slider { margin-left: 0; }
	.service-card-featured { grid-row: auto; grid-column: span 2; }
	.how-list { grid-template-columns: 1fr; gap: 2.4rem; }
	.footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
	.trust-grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.4rem; }
}

@media (max-width: 720px) {
	.header-cta { display: none; }
	.nav-toggle {
		display: inline-flex;
		align-items: center;
		gap: 0.5rem;
		background: none;
		border: 1px solid var(--line);
		border-radius: 999px;
		color: var(--text);
		padding: 0.45rem 1rem;
		font: inherit;
		font-size: 0.9rem;
	}
	.nav-toggle-bar {
		width: 16px; height: 2px;
		background: var(--gold);
		box-shadow: 0 5px 0 var(--gold), 0 -5px 0 var(--gold);
	}
	.brand-mark { width: 60px; height: 60px; margin-top: 16px; }
	.nav-menu {
		display: none;
		position: absolute;
		top: 68px; left: 0; right: 0;
		flex-direction: column;
		gap: 0;
		background: var(--surface);
		border-bottom: 1px solid var(--line);
		padding: 0.5rem 20px 1rem;
	}
	.nav-menu.is-open { display: flex; }
	.nav-menu a { display: block; padding: 0.7rem 0; font-size: 1.05rem; }
	.hero { padding-top: 3rem; }
	.services-grid, .deliver-grid { grid-template-columns: 1fr; }
	.service-card-featured { grid-column: auto; }
	.ba-grid, .gallery-grid { grid-template-columns: 1fr; }
	.results-pair .is-after { transform: none; }
	.footer-legal { flex-direction: column; gap: 0.3rem; }
}
