/* ==========================================================================
   aiscoutagency.com homepage — loaded only on page-home.php
   Tokens: bg #0a0a0a · orange #D4590A · font -apple-system/Inter
   ========================================================================== */

html {
	scroll-behavior: smooth;
}

body.ais-home {
	margin: 0;
	background: #0a0a0a;
	color: #ffffff;
	font-family: -apple-system, 'Inter', sans-serif;
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
}

.ais-home *,
.ais-home *::before,
.ais-home *::after {
	box-sizing: border-box;
}

.ais-home h1,
.ais-home h2,
.ais-home p {
	margin: 0;
}

.ais-orange {
	color: #D4590A;
}

/* Anchor targets clear the sticky nav */
#portfolio,
#about,
#contact {
	scroll-margin-top: 72px;
}

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

.ais-btn-primary {
	display: inline-block;
	background: #D4590A;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	padding: 11px 24px;
	border-radius: 4px;
	border: none;
	letter-spacing: 0.02em;
	cursor: pointer;
	text-decoration: none;
	line-height: normal;
}

.ais-btn-primary:hover {
	background: #b84b08;
	color: #fff;
}

.ais-btn-ghost {
	display: inline-block;
	background: transparent;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	padding: 11px 24px;
	border-radius: 4px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	letter-spacing: 0.02em;
	cursor: pointer;
	text-decoration: none;
	line-height: normal;
}

.ais-btn-ghost:hover {
	border-color: rgba(255, 255, 255, 0.6);
}

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

.ais-nav {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(10, 10, 10, 0.92);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	padding: 1.25rem 0;
}

.ais-nav-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 4rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.ais-nav-brand {
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.04em;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}

.ais-nav-links {
	display: flex;
	gap: 2rem;
}

.ais-nav-links a {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
	text-decoration: none;
}

.ais-nav-links a:hover {
	color: rgba(255, 255, 255, 0.8);
}

.ais-nav-links a.is-active {
	color: rgba(255, 255, 255, 0.8);
}

.ais-nav-right {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.ais-nav-burger {
	display: none;
	background: transparent;
	border: none;
	padding: 6px 4px;
	cursor: pointer;
	flex-direction: column;
	gap: 4px;
}

.ais-nav-burger span {
	display: block;
	width: 18px;
	height: 1.5px;
	background: rgba(255, 255, 255, 0.8);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.ais-nav-burger.is-open span:nth-child(1) {
	transform: translateY(5.5px) rotate(45deg);
}

.ais-nav-burger.is-open span:nth-child(2) {
	opacity: 0;
}

.ais-nav-burger.is-open span:nth-child(3) {
	transform: translateY(-5.5px) rotate(-45deg);
}

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

.ais-hero {
	position: relative;
	min-height: 500px;
	padding: 5rem 0 4.5rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
}

/* Content column — same 1100px axis as nav and sections; photo stays full bleed */
.ais-hero-inner {
	position: relative;
	z-index: 4;
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 4rem;
}

/* Layer order: opaque gradient base (0) → photo texture at 12% (1) → glow (2) → grid (3).
   The photo must sit ABOVE the gradient — under it, 12% opacity is imperceptible. */
.ais-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #0d0d0d 0%, #1a1208 40%, #0d0d0d 100%);
	z-index: 0;
}

.ais-hero-photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	opacity: 0.12;
	z-index: 1;
}

.ais-hero-glow {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 70% 40%, rgba(212, 89, 10, 0.08) 0%, transparent 65%);
	z-index: 2;
}

.ais-hero-grid {
	position: absolute;
	inset: 0;
	opacity: 0.04;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
	background-size: 40px 40px;
	z-index: 3;
}

.ais-hero-content {
	max-width: 680px;
}

.ais-hero-eyebrow {
	font-size: 14px;
	color: #D4590A;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 500;
	margin-bottom: 20px;
}

.ais-hero-h1 {
	font-size: 42px;
	font-weight: 300;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.ais-hero-h1-accent {
	color: #D4590A;
	font-weight: 500;
}

.ais-hero-sub {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.5);
	line-height: 1.8;
	max-width: 480px;
	margin: 1.25rem 0 2rem;
}

.ais-hero-btns {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Divider
   -------------------------------------------------------------------------- */

.ais-divider {
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(212, 89, 10, 0.4), transparent);
}

/* --------------------------------------------------------------------------
   Section wrapper
   -------------------------------------------------------------------------- */

/* Section wrapper stays full width (border spans the viewport); inner constrains content */
.ais-section {
	padding: 2.5rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ais-section-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 4rem;
}

.ais-section-label {
	font-size: 10px;
	color: #D4590A;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-weight: 500;
	margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   Video
   -------------------------------------------------------------------------- */

.ais-video-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	align-items: center;
}

.ais-video-placeholder {
	aspect-ratio: 16 / 9;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Swapped-in iframe embed inherits the same frame */
.ais-video-grid iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 6px;
	display: block;
}

.ais-video-play {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid rgba(212, 89, 10, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
}

.ais-video-play svg {
	margin-left: 2px;
}

.ais-video-headline {
	font-size: 17px;
	font-weight: 300;
	line-height: 1.5;
	letter-spacing: -0.01em;
}

.ais-video-sub {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.4);
	line-height: 1.7;
	margin-top: 0.75rem;
}

/* --------------------------------------------------------------------------
   Portfolio cards
   -------------------------------------------------------------------------- */

.ais-portfolio-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 10px;
}

.ais-card {
	padding: 1.1rem 1.2rem;
	display: flex;
	flex-direction: column;
}

.ais-card--live {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-left: 2px solid #D4590A;
	border-radius: 0 6px 6px 0;
}

.ais-card--build {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-left: 2px solid rgba(212, 89, 10, 0.4);
	border-radius: 0 6px 6px 0;
}

.ais-card--soon {
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 6px;
	opacity: 0.55;
}

.ais-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.6rem;
}

.ais-card-name {
	font-size: 14px;
	font-weight: 500;
}

.ais-pill {
	font-size: 9px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 3px 8px;
	border-radius: 100px;
	white-space: nowrap;
}

.ais-pill--live {
	background: rgba(99, 193, 34, 0.15);
	color: #8fe05a;
	border: 1px solid rgba(99, 193, 34, 0.25);
}

.ais-pill--build {
	background: rgba(212, 89, 10, 0.15);
	color: #e07a3a;
	border: 1px solid rgba(212, 89, 10, 0.25);
}

.ais-pill--soon {
	background: rgba(255, 255, 255, 0.07);
	color: rgba(255, 255, 255, 0.4);
	border: 1px solid transparent;
}

.ais-card-desc {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.45);
	line-height: 1.65;
	flex: 1;
}

.ais-card-link {
	font-size: 12px;
	color: #D4590A;
	text-decoration: none;
	margin-top: 0.85rem;
}

.ais-card-link:hover {
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */

.ais-steps-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 1.5rem;
}

.ais-step-num {
	font-size: 10px;
	color: rgba(255, 255, 255, 0.2);
	letter-spacing: 0.12em;
	margin-bottom: 0.5rem;
}

.ais-step-title {
	font-size: 15px;
	font-weight: 400;
	margin-bottom: 0.5rem;
}

.ais-step-body {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.4);
	line-height: 1.7;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.ais-about-grid {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.75rem;
	align-items: start;
}

.ais-avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(212, 89, 10, 0.12);
	border: 1px solid rgba(212, 89, 10, 0.25);
	color: #D4590A;
	font-size: 18px;
	font-weight: 400;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Real headshot — 168px circle, orange hairline border */
.ais-avatar-img {
	width: 168px;
	height: 168px;
	border-radius: 50%;
	object-fit: cover;
	object-position: center top;
	border: 1px solid rgba(212, 89, 10, 0.25);
	display: block;
}

.ais-about-name {
	font-size: 15px;
	font-weight: 500;
}

.ais-about-title {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.3);
	margin-top: 2px;
}

.ais-about-bio {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.6);
	font-weight: 300;
	line-height: 1.85;
	margin-top: 0.9rem;
}

.ais-about-quote {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.35);
	font-style: italic;
	line-height: 1.85;
	margin-top: 0.9rem;
}

/* --------------------------------------------------------------------------
   CTA footer
   -------------------------------------------------------------------------- */

.ais-cta {
	padding: 4rem 2rem;
	text-align: center;
	background: radial-gradient(ellipse at center, rgba(212, 89, 10, 0.07) 0%, transparent 70%);
}

.ais-cta-inner {
	max-width: 540px;
	margin: 0 auto;
}

.ais-cta .ais-section-label {
	margin-bottom: 14px;
}

.ais-cta-headline {
	font-size: 28px;
	font-weight: 300;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.ais-cta-body {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.4);
	line-height: 1.85;
	margin: 1rem 0 1.75rem;
}

.ais-cta-contact {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.2);
	letter-spacing: 0.04em;
	margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   Modal
   -------------------------------------------------------------------------- */

.ais-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
	z-index: 1000;
	overflow-y: auto;
	padding: 0 1rem;
}

.ais-modal-overlay[hidden] {
	display: none;
}

.ais-modal {
	position: relative;
	background: #111;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	padding: 2rem;
	max-width: 380px;
	margin: 60px auto;
}

.ais-modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
	background: transparent;
	border: none;
	color: rgba(255, 255, 255, 0.4);
	font-size: 14px;
	cursor: pointer;
	padding: 4px;
	line-height: 1;
}

.ais-modal-close:hover {
	color: #fff;
}

.ais-modal-title {
	font-size: 18px;
	font-weight: 500;
}

.ais-modal-sub {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.45);
	line-height: 1.6;
	margin: 0.4rem 0 1.25rem;
}

.ais-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ais-form input,
.ais-form select {
	font-family: inherit;
	font-size: 13px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.05);
	color: #fff;
	border-radius: 4px;
	padding: 10px 12px;
	width: 100%;
}

.ais-form input::placeholder {
	color: rgba(255, 255, 255, 0.3);
}

.ais-form select:invalid {
	color: rgba(255, 255, 255, 0.3);
}

.ais-form select option {
	background: #111;
	color: #fff;
}

.ais-form input:focus,
.ais-form select:focus {
	outline: none;
	border-color: rgba(212, 89, 10, 0.6);
}

.ais-form-submit {
	width: 100%;
	margin-top: 4px;
}

.ais-form-success p {
	font-size: 14px;
	color: #8fe05a;
	line-height: 1.6;
	margin: 0.5rem 0;
}

.ais-form-error p {
	font-size: 13px;
	color: #e07a3a;
	line-height: 1.6;
	margin: 0.75rem 0 0;
}

.ais-form-error a {
	color: #D4590A;
}

/* Submit button while request is in flight */
.ais-form-submit[disabled] {
	opacity: 0.6;
	cursor: default;
}

.ais-modal-alt {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.35);
	text-align: center;
	margin-top: 1.1rem;
}

.ais-modal-alt a {
	color: #D4590A;
	text-decoration: none;
}

.ais-modal-alt a:hover {
	text-decoration: underline;
}

/* Body scroll lock while modal is open */
body.ais-modal-open {
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   Mobile — single column below 768px, hamburger nav
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {

	.ais-nav {
		padding: 1rem 0;
	}

	.ais-nav-inner {
		padding: 0 1.25rem;
	}

	.ais-nav-burger {
		display: flex;
	}

	/* Dropdown anchors to the sticky nav bar (sticky = containing block) */
	.ais-nav-links {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		gap: 0;
		background: rgba(10, 10, 10, 0.97);
		border-bottom: 1px solid rgba(255, 255, 255, 0.07);
		padding: 0.5rem 0;
	}

	.ais-nav-links.is-open {
		display: flex;
	}

	.ais-nav-links a {
		padding: 0.85rem 1.25rem;
		font-size: 14px;
	}

	.ais-hero {
		padding: 3.5rem 0 3rem;
	}

	.ais-hero-inner {
		padding: 0 1.25rem;
	}

	.ais-hero-h1 {
		font-size: 30px;
	}

	.ais-hero-h1 br {
		display: none;
	}

	.ais-section {
		padding: 2.25rem 0;
	}

	.ais-section-inner {
		padding: 0 1.25rem;
	}

	.ais-video-grid,
	.ais-portfolio-grid,
	.ais-steps-grid {
		grid-template-columns: 1fr;
	}

	.ais-about-grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.ais-cta {
		padding: 3rem 1.25rem;
	}

	.ais-cta-headline {
		font-size: 24px;
	}
}
