/**
 * SPECOPS 3D Homepage
 * Version: 1.2.23
 *
 * Isolated landing styles for [specops_homepage].
 * Visual reference: templates/specops-landing-mockup.html
 *
 * Outputs main content only. SpecOps_Chrome supplies global header/footer.
 * Use Elementor Full Width (not Canvas). Do not restyle theme chrome here.
 *
 * New homepage rules are scoped under .specops-home.
 * Shared gallery/section rules remain under .specops-landing.
 * Do not restyle global body/headings/forms/Elementor/WooCommerce from this file.
 */

/* ==========================================================================
   Tokens — scoped to landing root
   ========================================================================== */

.specops-landing {
	--specops-bg: #070a0c;
	--specops-bg-elevated: #10161a;
	--specops-ink: #f2f6f7;
	--specops-ink-body: #ccd8db;
	--specops-ink-muted: #aabbc0;
	--specops-teal: #3eacb7;
	--specops-teal-bright: #61cbd5;
	--specops-on-teal: #071014;
	--specops-line: rgba(232, 238, 240, 0.12);
	--specops-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
	--specops-font-display: "Teko", sans-serif;
	--specops-font-body: "Barlow", sans-serif;
	--specops-max-width: 1120px;

	box-sizing: border-box;
	color: var(--specops-ink-body);
	font-family: var(--specops-font-body);
	line-height: 1.5;
	background:
		radial-gradient(1200px 700px at 70% 10%, rgba(62, 172, 183, 0.12), transparent 55%),
		radial-gradient(900px 500px at 10% 90%, rgba(42, 127, 136, 0.1), transparent 50%),
		var(--specops-bg);
	background-color: var(--specops-bg);
	padding: 0;
	margin: 0;
}

.specops-landing *,
.specops-landing *::before,
.specops-landing *::after {
	box-sizing: border-box;
}

.specops-landing img {
	display: block;
	max-width: 100%;
}

.specops-landing a {
	color: inherit;
	text-decoration: none;
}

.specops-screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ==========================================================================
   Hero — document flow, no waitlist promotion
   ========================================================================== */

.specops-home .specops-hero {
	position: relative;
	height: auto;
	min-height: 0;
	display: block;
	isolation: isolate;
}

.specops-home .specops-hero-media {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	background: var(--specops-bg-elevated);
	pointer-events: none;
}

.specops-home .specops-hero-media__img,
.specops-home .specops-hero-media .specops-image-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1.06);
	animation: specops-hero-drift 18s ease-in-out infinite alternate;
	max-width: none;
}

.specops-home .specops-hero-scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(7, 10, 12, 0.38) 0%, rgba(7, 10, 12, 0.28) 28%, rgba(7, 10, 12, 0.88) 78%, var(--specops-bg) 100%),
		linear-gradient(90deg, rgba(7, 10, 12, 0.78) 0%, rgba(7, 10, 12, 0.22) 55%, rgba(7, 10, 12, 0.5) 100%);
}

.specops-home .specops-hero-content {
	position: relative;
	z-index: 2;
	display: block;
	width: min(var(--specops-max-width), calc(100% - 2.5rem));
	max-width: var(--specops-max-width);
	margin: 0 auto;
	padding: calc(var(--specops-chrome-header-height, 4.75rem) + 6.875rem) 0 6.875rem;
}

.specops-home .specops-hero-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
	width: 100%;
	max-width: 42.5rem;
	text-align: left;
}

.specops-home .specops-hero-eyebrow {
	margin: 0;
	color: var(--specops-teal-bright);
	font-family: var(--specops-font-body);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1.35;
	text-transform: uppercase;
	text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.specops-home .specops-hero-title {
	margin: 0;
	color: var(--specops-ink);
	font-family: var(--specops-font-display);
	font-size: clamp(3rem, 6vw, 4.75rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 0.95;
	text-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
}

.specops-home .specops-hero-body {
	margin: 0;
	max-width: 38.75rem;
	color: var(--specops-ink-body);
	font-family: var(--specops-font-body);
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.55;
	text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.specops-home .specops-hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.75rem 1rem;
	width: 100%;
}

.specops-home a.specops-hero-button,
.specops-home a.specops-hero-button:link,
.specops-home a.specops-hero-button:visited,
.specops-home a.specops-hero-button:hover,
.specops-home a.specops-hero-button:focus,
.specops-home a.specops-hero-button:active {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 3rem;
	padding: 0.7rem 1.35rem;
	border: 1px solid transparent;
	border-radius: 2px;
	background: var(--specops-teal);
	color: var(--specops-on-teal);
	font-family: var(--specops-font-body);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 180ms ease, transform 180ms ease, color 180ms ease, border-color 180ms ease;
}

.specops-home a.specops-hero-button:hover,
.specops-home a.specops-hero-button:focus {
	background: var(--specops-teal-bright);
	color: var(--specops-on-teal);
	transform: translateY(-1px);
}

.specops-home a.specops-hero-button:active {
	background: var(--specops-teal-bright);
	color: var(--specops-on-teal);
	transform: none;
}

.specops-home a.specops-hero-button:focus-visible {
	outline: 2px solid var(--specops-teal-bright);
	outline-offset: 3px;
}

.specops-home a.specops-hero-button--secondary,
.specops-home a.specops-hero-button--secondary:link,
.specops-home a.specops-hero-button--secondary:visited {
	background: transparent;
	border-color: var(--specops-teal);
	color: var(--specops-teal-bright);
}

.specops-home a.specops-hero-button--secondary:hover,
.specops-home a.specops-hero-button--secondary:focus,
.specops-home a.specops-hero-button--secondary:active {
	background: rgba(62, 172, 183, 0.12);
	border-color: var(--specops-teal-bright);
	color: var(--specops-ink);
}

.specops-home .specops-hero-meta {
	margin: 0;
	color: var(--specops-ink-muted);
	font-size: 0.95rem;
	letter-spacing: 0.03em;
	font-family: var(--specops-font-body);
	line-height: 1.45;
}

/* ==========================================================================
   Section + gallery
   ========================================================================== */

.specops-landing .specops-section {
	width: min(var(--specops-max-width), calc(100% - 2.5rem));
	margin: 0 auto;
	padding: 5.5rem 0 4rem;
}

.specops-landing .specops-section-head {
	max-width: 34rem;
	margin-bottom: 2.25rem;
	animation: specops-rise 900ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.specops-landing .specops-section-head h2 {
	margin: 0 0 0.55rem;
	font-family: var(--specops-font-display);
	font-size: clamp(2.2rem, 5vw, 3.2rem);
	font-weight: 600;
	letter-spacing: 0.05em;
	line-height: 1;
	color: var(--specops-ink);
	text-transform: none;
}

.specops-landing .specops-section-head p {
	margin: 0;
	color: var(--specops-ink-muted);
	font-size: 1.05rem;
	font-family: var(--specops-font-body);
}

.specops-landing .specops-gallery {
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	gap: 1rem;
	min-height: 28rem;
}

.specops-landing .specops-gallery__item {
	margin: 0;
	position: relative;
	overflow: hidden;
	border-radius: 2px;
	background: var(--specops-bg-elevated);
	box-shadow: var(--specops-shadow);
}

.specops-landing .specops-gallery__item:first-child {
	grid-row: span 2;
}

.specops-landing .specops-gallery__img,
.specops-landing .specops-gallery__item .specops-image-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
	max-width: none;
}

.specops-landing .specops-gallery__item:hover .specops-gallery__img {
	transform: scale(1.035);
}

.specops-landing .specops-gallery__item figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 1.1rem 1rem;
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-family: var(--specops-font-body);
	font-weight: 500;
	color: var(--specops-ink);
	background: linear-gradient(180deg, transparent, rgba(7, 10, 12, 0.85));
}

/* ==========================================================================
   Bottom waitlist — scoped to homepage
   ========================================================================== */

.specops-home .specops-cta-band {
	border-top: 1px solid var(--specops-line);
	border-bottom: 1px solid var(--specops-line);
	background: var(--specops-bg-elevated);
}

.specops-home .specops-cta-band .specops-cta-band__inner {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: nowrap;
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}

.specops-home .specops-cta-band__content {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	min-height: 34rem;
	height: auto;
	overflow: visible;
	border-radius: 2px;
	display: flex;
	align-items: flex-end;
	background: var(--specops-bg);
}

.specops-home .specops-cta-band__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	border-radius: 2px;
	pointer-events: none;
}

.specops-home .specops-cta-band__image,
.specops-home .specops-cta-band__media .specops-image-fallback {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: left 42%;
	display: block;
}

.specops-home .specops-cta-band__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		rgba(7, 10, 12, 0.18) 0%,
		rgba(7, 10, 12, 0.58) 36%,
		rgba(7, 10, 12, 0.97) 100%
	);
}

.specops-home .specops-cta-band__copy {
	position: relative;
	z-index: 2;
	padding: 1.5rem 1.75rem 1.75rem;
	max-width: 42rem;
	overflow: visible;
}

.specops-home .specops-home-offer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.85rem;
	width: 100%;
	max-width: 40rem;
	min-width: 0;
	color: var(--specops-ink-body);
	font-family: var(--specops-font-body);
	text-align: left;
}

.specops-home .specops-home-offer__badge {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0.28rem 0.7rem;
	border: 1px solid var(--specops-teal);
	border-radius: 2px;
	background: rgba(62, 172, 183, 0.1);
	color: var(--specops-teal-bright);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1.3;
	text-transform: uppercase;
}

.specops-home .specops-home-offer__heading {
	margin: 0;
	color: var(--specops-ink);
	font-family: var(--specops-font-display);
	font-size: clamp(2rem, 4.4vw, 2.9rem);
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1;
}

.specops-home .specops-home-offer__deal {
	margin: 0;
	color: var(--specops-teal-bright);
	font-family: var(--specops-font-display);
	font-size: clamp(2.6rem, 8vw, 4.25rem);
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 0.9;
	text-transform: uppercase;
	text-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.specops-home .specops-home-offer__body {
	margin: 0;
	max-width: 46ch;
	color: var(--specops-ink-body);
	font-size: 1.05rem;
	line-height: 1.55;
	overflow-wrap: break-word;
}

.specops-home .specops-home-offer__form {
	display: block;
	visibility: visible;
	opacity: 1;
	width: 100%;
	max-width: 100%;
	height: auto;
	overflow: visible;
}

.specops-home .specops-home-offer__form-label {
	margin: 0 0 0.65rem;
	color: var(--specops-ink);
	font-family: var(--specops-font-body);
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.specops-home #specops-waitlist,
.specops-home .specops-waitlist {
	display: block;
	visibility: visible;
	opacity: 1;
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	height: auto;
	min-height: 22rem;
	overflow: visible;
	scroll-margin-top: calc(var(--specops-chrome-header-height, 4.75rem) + 1.25rem);
}

.specops-home .specops-reach-form,
.specops-home #specops-waitlist [data-reach-form],
.specops-home .specops-waitlist [data-reach-form] {
	display: block;
	visibility: visible;
	opacity: 1;
	box-sizing: border-box;
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	height: auto;
	min-height: 22rem;
	overflow: visible;
}

.specops-home #specops-waitlist iframe,
.specops-home .specops-reach-form iframe,
.specops-home .specops-waitlist iframe {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	box-sizing: border-box;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: auto;
	min-height: 26rem;
	border: 0;
	position: relative;
	z-index: 2;
}

.specops-home #specops-waitlist input[type="email"],
.specops-home #specops-waitlist input[type="text"],
.specops-home #specops-waitlist input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]) {
	min-height: 3rem;
	width: 100%;
	max-width: 100%;
	padding: 0 1rem;
	border: 1px solid #35505a;
	border-radius: 2px;
	background: #070a0c;
	color: #f2f6f7;
	font-family: "Barlow", sans-serif;
	font-size: 1rem;
}

.specops-home #specops-waitlist input::placeholder {
	color: #8fa1a6;
}

.specops-home #specops-waitlist input:focus,
.specops-home #specops-waitlist input:focus-visible {
	outline: 2px solid #61cbd5;
	outline-offset: 2px;
	border-color: #61cbd5;
}

.specops-home #specops-waitlist button,
.specops-home #specops-waitlist input[type="submit"],
.specops-home #specops-waitlist [type="submit"] {
	min-height: 3rem;
	width: 100%;
	max-width: 100%;
	padding: 0 1.2rem;
	border: 0;
	border-radius: 2px;
	background: #3eacb7;
	color: #071014;
	font-family: "Barlow", sans-serif;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
}

.specops-home #specops-waitlist button:hover,
.specops-home #specops-waitlist input[type="submit"]:hover,
.specops-home #specops-waitlist [type="submit"]:hover {
	background: #61cbd5;
	color: #071014;
}

.specops-home .specops-waitlist-confirm {
	margin: 1rem 0 0;
	padding: 0.9rem 1rem;
	border-left: 3px solid var(--specops-teal);
	background: var(--specops-bg-elevated);
	color: var(--specops-ink-body);
	font-size: 1rem;
	line-height: 1.55;
}

.specops-home .specops-waitlist-confirm[hidden] {
	display: none;
}

.specops-home .specops-form-placeholder {
	margin: 0;
	color: var(--specops-ink-muted);
}

.specops-home a.specops-home-offer__button,
.specops-home a.specops-home-offer__button:link,
.specops-home a.specops-home-offer__button:visited,
.specops-home a.specops-home-offer__button:hover,
.specops-home a.specops-home-offer__button:focus,
.specops-home a.specops-home-offer__button:active {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	margin: 0.65rem 0 0;
	padding: 0.7rem 1.2rem;
	border: 0;
	border-radius: 2px;
	background: var(--specops-teal);
	color: var(--specops-on-teal);
	font-family: var(--specops-font-body);
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-decoration: none;
	text-transform: uppercase;
}

.specops-home a.specops-home-offer__button:hover,
.specops-home a.specops-home-offer__button:focus {
	background: var(--specops-teal-bright);
	color: var(--specops-on-teal);
}

.specops-home a.specops-home-offer__button:focus-visible {
	outline: 2px solid var(--specops-teal-bright);
	outline-offset: 3px;
}

.specops-home .specops-home-offer__fine {
	margin: 0;
	max-width: 46ch;
	color: var(--specops-ink-muted);
	font-size: 0.82rem;
	line-height: 1.5;
}

/* ==========================================================================
   Missing-image fallbacks
   ========================================================================== */

.specops-landing .specops-image-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--specops-bg-elevated);
	color: var(--specops-ink-muted);
	min-height: 3rem;
}

.specops-landing .specops-image-fallback__note {
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.5rem;
	text-align: center;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes specops-hero-drift {
	from {
		transform: scale(1.06) translate3d(0, 0, 0);
	}
	to {
		transform: scale(1.12) translate3d(-1.5%, -1%, 0);
	}
}

@keyframes specops-rise {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.specops-home .specops-hero-copy {
	animation: specops-rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 800px) {
	.specops-landing .specops-gallery {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.specops-landing .specops-gallery__item:first-child {
		grid-row: auto;
		min-height: 20rem;
	}

	.specops-landing .specops-gallery__item {
		min-height: 14rem;
	}

	.specops-home .specops-cta-band .specops-cta-band__inner {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
		gap: 0;
		padding-top: 0;
		padding-bottom: 1.5rem;
	}

	.specops-home .specops-cta-band__content {
		width: 100%;
		min-height: auto;
		height: auto;
		overflow: visible;
		flex: 1 0 auto;
		flex-direction: column;
		align-items: stretch;
	}

	.specops-home .specops-cta-band__media {
		position: relative;
		inset: auto;
		width: 100%;
		flex: 0 0 auto;
		min-height: 12rem;
		aspect-ratio: 16 / 10;
		overflow: hidden;
	}

	.specops-home .specops-cta-band__copy {
		padding: 1.35rem 1.25rem 1.5rem;
		max-width: none;
		background: var(--specops-bg);
	}
}

@media (max-width: 767px) {
	.specops-home .specops-hero {
		height: auto;
		min-height: 0;
	}

	.specops-home .specops-hero-content {
		width: calc(100% - 2.5rem);
		max-width: none;
		padding: calc(var(--specops-chrome-header-height, 4.75rem) + 4.5rem) 0 4.5rem;
	}

	.specops-home .specops-hero-copy {
		max-width: 100%;
		gap: 1.25rem;
	}

	.specops-home .specops-hero-title {
		font-size: clamp(2.5rem, 9vw, 3rem);
	}

	.specops-home .specops-hero-body {
		max-width: 100%;
		font-size: 1.05rem;
	}

	.specops-home .specops-hero-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.specops-home a.specops-hero-button,
	.specops-home a.specops-hero-button:link,
	.specops-home a.specops-hero-button:visited {
		width: 100%;
		max-width: 100%;
	}

	.specops-home .specops-home-waitlist,
	.specops-home .specops-cta-band,
	.specops-home .specops-cta-band__copy,
	.specops-home .specops-home-offer,
	.specops-home .specops-home-offer__form,
	.specops-home #specops-waitlist,
	.specops-home .specops-waitlist,
	.specops-home .specops-reach-form {
		display: block;
		visibility: visible;
		opacity: 1;
		width: 100%;
		max-width: 100%;
		height: auto;
		overflow: visible;
	}

	.specops-home .specops-cta-band__copy {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.specops-home .specops-home-offer__heading {
		font-size: clamp(1.75rem, 8vw, 2.35rem);
	}

	.specops-home .specops-home-offer__deal {
		font-size: clamp(2rem, 10vw, 3rem);
	}

	.specops-home #specops-waitlist,
	.specops-home .specops-reach-form,
	.specops-home .specops-waitlist [data-reach-form] {
		min-height: 24rem;
	}

	.specops-home #specops-waitlist input[type="email"],
	.specops-home #specops-waitlist input[type="text"],
	.specops-home #specops-waitlist input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]) {
		width: 100%;
		font-size: 16px;
	}

	.specops-home #specops-waitlist button,
	.specops-home #specops-waitlist input[type="submit"],
	.specops-home #specops-waitlist [type="submit"],
	.specops-home a.specops-home-offer__button {
		width: 100%;
		min-height: 48px;
	}
}

@media (max-width: 360px) {
	.specops-home .specops-hero-content,
	.specops-landing .specops-section {
		width: calc(100% - 2.5rem);
	}

	.specops-home .specops-hero-title {
		font-size: clamp(2.5rem, 11vw, 3rem);
	}

	.specops-home .specops-cta-band__copy {
		padding: 1.15rem 1.25rem 1.35rem;
	}

	.specops-home .specops-cta-band__image {
		object-position: 18% 42%;
	}

	.specops-home .specops-cta-band__media {
		min-height: 10rem;
	}

	.specops-home .specops-home-offer__deal {
		font-size: clamp(1.85rem, 11vw, 2.45rem);
	}

	.specops-home .specops-home-offer__body {
		font-size: 0.98rem;
	}
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	.specops-home .specops-hero-media__img,
	.specops-home .specops-hero-copy,
	.specops-landing .specops-section-head,
	.specops-landing .specops-gallery__img,
	.specops-home a.specops-hero-button {
		animation: none !important;
		transition: none !important;
		transform: none !important;
	}

	.specops-landing .specops-gallery__item:hover .specops-gallery__img {
		transform: none !important;
	}

	.specops-home a.specops-hero-button:hover,
	.specops-home a.specops-hero-button:focus {
		transform: none;
	}
}

.specops-home.specops-reduced-motion .specops-hero-media__img,
.specops-home.specops-reduced-motion .specops-hero-copy,
.specops-landing.specops-reduced-motion .specops-hero-media__img,
.specops-landing.specops-reduced-motion .specops-hero-content,
.specops-landing.specops-reduced-motion .specops-section-head,
.specops-landing.specops-reduced-motion .specops-gallery__img {
	animation: none !important;
	transition: none !important;
	transform: none !important;
}
