/**
 * InnerSanctum Entertainment — 2026 visual refresh
 * Works with Astra parent theme + WooCommerce.
 */

:root {
	--ise-navy: #021e73;
	--ise-navy-deep: #010d3a;
	--ise-cyan: #05aff2;
	--ise-cyan-soft: #6fd4ff;
	--ise-gold: #e8c547;
	--ise-ink: #0d0d0d;
	--ise-muted: #5c6478;
	--ise-surface: #f4f7fc;
	--ise-card: #ffffff;
	--ise-radius: 16px;
	--ise-radius-lg: 24px;
	--ise-shadow: 0 18px 50px rgba(2, 30, 115, 0.12);
	--ise-shadow-soft: 0 8px 24px rgba(2, 30, 115, 0.08);
	--ise-font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ise-font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

body {
	font-family: var(--ise-font-body);
	color: var(--ise-ink);
	background: linear-gradient(180deg, #f8fbff 0%, #ffffff 280px);
}

h1, h2, h3, h4, .ast-site-title-wrap .site-title {
	font-family: var(--ise-font-display);
	letter-spacing: -0.02em;
}

/* Header */
.site-header {
	background: rgba(255, 255, 255, 0.92) !important;
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(2, 30, 115, 0.08);
	box-shadow: var(--ise-shadow-soft);
}

.main-header-menu .menu-link,
.main-header-menu > .menu-item > .menu-link {
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--ise-navy) !important;
	transition: color 0.2s ease;
}

.main-header-menu .menu-link:hover,
.main-header-menu .current-menu-item > .menu-link {
	color: var(--ise-cyan) !important;
}

.custom-logo {
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(2, 30, 115, 0.15);
}

.site-title a {
	color: var(--ise-navy) !important;
	font-weight: 700;
}

.site-description {
	color: var(--ise-muted) !important;
	font-size: 0.9rem;
}

/* Hero band (injected by MU plugin) */
.ise-hero-band {
	margin: 0 auto 2.5rem;
	max-width: var(--ast-normal-container-width, 1200px);
	padding: 2.75rem clamp(1.25rem, 4vw, 3rem);
	border-radius: var(--ise-radius-lg);
	background:
		radial-gradient(circle at 10% 20%, rgba(5, 175, 242, 0.25), transparent 45%),
		radial-gradient(circle at 90% 0%, rgba(232, 197, 71, 0.18), transparent 40%),
		linear-gradient(135deg, var(--ise-navy-deep) 0%, var(--ise-navy) 55%, #043a9e 100%);
	color: #fff;
	box-shadow: var(--ise-shadow);
	position: relative;
	overflow: hidden;
}

.ise-hero-band::after {
	content: "";
	position: absolute;
	inset: auto -10% -40% auto;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	background: rgba(5, 175, 242, 0.12);
	pointer-events: none;
}

.ise-hero-band .ise-eyebrow {
	display: inline-block;
	margin: 0 0 0.75rem;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.18);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ise-hero-band h1 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.85rem, 4vw, 2.75rem);
	line-height: 1.15;
	color: #fff;
}

.ise-hero-band p {
	margin: 0 0 1.35rem;
	max-width: 58ch;
	font-size: 1.05rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88);
}

.ise-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.ise-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.85rem 1.35rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none !important;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ise-btn-primary {
	background: var(--ise-cyan);
	color: var(--ise-navy-deep) !important;
	box-shadow: 0 8px 24px rgba(5, 175, 242, 0.35);
}

.ise-btn-primary:hover {
	transform: translateY(-2px);
	background: var(--ise-cyan-soft);
}

.ise-btn-ghost {
	background: transparent;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.35);
}

.ise-btn-ghost:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: translateY(-2px);
}

.ise-hero-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.75rem;
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.ise-hero-stats span {
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.78);
}

.ise-hero-stats strong {
	color: #fff;
}

/* Homepage content sections */
.home .entry-content {
	max-width: var(--ast-normal-container-width, 1200px);
	margin-left: auto;
	margin-right: auto;
}

.home .entry-content > .wp-block-heading {
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	color: var(--ise-navy);
	font-size: clamp(1.45rem, 2.5vw, 2rem);
	text-align: center !important;
}

.home .entry-content > .wp-block-heading:first-of-type {
	display: none;
}

.home .entry-content > .wp-block-paragraph {
	max-width: 70ch;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.25rem;
	font-size: 1.05rem;
	line-height: 1.75;
	color: #2a3142;
	text-align: center;
}

.home .entry-content > .wp-block-image {
	margin: 1.5rem auto 2rem;
	padding: 1rem;
	background: var(--ise-card);
	border-radius: var(--ise-radius-lg);
	box-shadow: var(--ise-shadow-soft);
	border: 1px solid rgba(2, 30, 115, 0.06);
	max-width: 920px;
}

.home .entry-content > .wp-block-image img {
	border-radius: calc(var(--ise-radius-lg) - 8px);
}

.home .entry-content a {
	color: var(--ise-navy);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: rgba(5, 175, 242, 0.55);
	text-underline-offset: 3px;
}

.home .entry-content a:hover {
	color: var(--ise-cyan);
}

/* Service cards row (injected) */
.ise-service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
	margin: 2rem auto 2.5rem;
	max-width: var(--ast-normal-container-width, 1200px);
	padding: 0 1rem;
}

.ise-service-card {
	background: var(--ise-card);
	border: 1px solid rgba(2, 30, 115, 0.08);
	border-radius: var(--ise-radius);
	padding: 1.25rem 1.15rem;
	box-shadow: var(--ise-shadow-soft);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ise-service-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ise-shadow);
}

.ise-service-card h3 {
	margin: 0 0 0.45rem;
	font-size: 1.05rem;
	color: var(--ise-navy);
}

.ise-service-card p {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--ise-muted);
}

.ise-service-card a {
	display: inline-block;
	margin-top: 0.75rem;
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--ise-cyan) !important;
	text-decoration: none !important;
}

/* WooCommerce */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	background: var(--ise-card);
	border-radius: var(--ise-radius);
	border: 1px solid rgba(2, 30, 115, 0.08);
	box-shadow: var(--ise-shadow-soft);
	padding-bottom: 1rem;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: var(--ise-shadow);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	color: var(--ise-navy);
	font-family: var(--ise-font-display);
	padding: 0 1rem;
}

.woocommerce ul.products li.product .price {
	color: var(--ise-cyan) !important;
	font-weight: 700;
	padding: 0 1rem;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
	background: linear-gradient(135deg, var(--ise-navy) 0%, #043a9e 100%) !important;
	color: #fff !important;
	border-radius: 999px !important;
	border: none !important;
	font-weight: 700 !important;
	padding: 0.75rem 1.35rem !important;
	transition: transform 0.18s ease, box-shadow 0.18s ease !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(2, 30, 115, 0.25) !important;
	background: linear-gradient(135deg, #043a9e 0%, var(--ise-navy) 100%) !important;
}

.woocommerce span.onsale {
	background: var(--ise-gold) !important;
	color: var(--ise-navy-deep) !important;
	border-radius: 999px;
	font-weight: 700;
	min-height: 3em;
	min-width: 3em;
	line-height: 3em;
}

.woocommerce-message,
.woocommerce-info {
	border-top-color: var(--ise-cyan) !important;
}

/* Forms */
.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form input[type="tel"],
.wpcf7 form textarea,
.woocommerce form .input-text,
.woocommerce form select {
	border-radius: 12px !important;
	border: 1px solid rgba(2, 30, 115, 0.15) !important;
	padding: 0.75rem 1rem !important;
}

.wpcf7 form input:focus,
.wpcf7 form textarea:focus,
.woocommerce form .input-text:focus {
	border-color: var(--ise-cyan) !important;
	box-shadow: 0 0 0 3px rgba(5, 175, 242, 0.18) !important;
	outline: none !important;
}

/* Inner pages */
.page:not(.home) .entry-content h2,
.page:not(.home) .entry-content h3 {
	color: var(--ise-navy);
	margin-top: 1.75rem;
}

.page:not(.home) .entry-content {
	line-height: 1.75;
}

/* Footer */
.site-footer {
	background: linear-gradient(180deg, var(--ise-navy-deep) 0%, #000814 100%) !important;
	color: rgba(255, 255, 255, 0.82);
}

.site-footer a {
	color: var(--ise-cyan-soft) !important;
}

.site-footer .ast-footer-copyright,
.site-footer .site-footer-section {
	color: rgba(255, 255, 255, 0.75) !important;
}

.ise-footer-note {
	margin-top: 0.35rem;
	font-size: 0.85rem;
	opacity: 0.85;
}

#ast-scroll-top {
	background: var(--ise-cyan) !important;
	color: var(--ise-navy-deep) !important;
	border-radius: 999px;
	box-shadow: var(--ise-shadow-soft);
}

/* Sticky mobile CTA */
.ise-mobile-cta {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9998;
	padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
	background: rgba(255, 255, 255, 0.96);
	border-top: 1px solid rgba(2, 30, 115, 0.1);
	backdrop-filter: blur(10px);
	gap: 0.5rem;
}

.ise-mobile-cta a {
	flex: 1;
	text-align: center;
	padding: 0.75rem 0.5rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.88rem;
	text-decoration: none !important;
}

.ise-mobile-cta .ise-cta-shop {
	background: var(--ise-navy);
	color: #fff !important;
}

.ise-mobile-cta .ise-cta-contact {
	background: var(--ise-surface);
	color: var(--ise-navy) !important;
	border: 1px solid rgba(2, 30, 115, 0.12);
}

@media (max-width: 921px) {
	.ise-mobile-cta {
		display: flex;
	}

	body.admin-bar .ise-mobile-cta {
		bottom: 0;
	}
}

@media (max-width: 544px) {
	.ise-hero-band {
		padding: 2rem 1.15rem;
		border-radius: var(--ise-radius);
	}

	.home .entry-content > .wp-block-image {
		padding: 0.65rem;
	}
}

/* Accessibility & motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

/* Legacy utility classes from /css/main.css */
.bg-smokyblack { background-color: var(--ise-ink) !important; }
.bg-catalina { background-color: var(--ise-navy) !important; }
.bg-title { background-color: var(--ise-cyan) !important; }

.item li::before {
	content: "\2022" !important;
	color: var(--ise-cyan) !important;
	font-weight: bold !important;
	display: inline-block !important;
	width: 1em !important;
	margin-left: -1em !important;
}
