/* ==========================================================================
   ARI Water Solutions 2 - Core Custom Styles
   ========================================================================== */

/* ---------- Base Resets ---------- */
html {
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
}

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

img {
	max-width: 100%;
	height: auto;
}

/* ---------- Theme Tokens ---------- */
:root {
	--ari2-bg-page: #f8fafb;
	--ari2-bg-surface: #ffffff;
	--ari2-bg-elevated: #f0f4f7;
	--ari2-bg-inverse: #0a1628;
	--ari2-text-primary: #1a1d23;
	--ari2-text-muted: #4a5568;
	--ari2-text-inverse: #ffffff;
	--ari2-text-inverse-muted: rgba(255, 255, 255, 0.7);
	--ari2-border-soft: rgba(15, 33, 55, 0.14);
	--ari2-border-strong: rgba(15, 33, 55, 0.24);
	--ari2-glass-bg: rgba(255, 255, 255, 0.72);
	--ari2-glass-border: rgba(15, 33, 55, 0.08);
	--ari2-glass-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
	--ari2-nav-pill-bg: rgba(10, 22, 40, 0.05);
	--ari2-nav-pill-hover-bg: rgba(14, 165, 233, 0.12);
	--ari2-header-overlay-link: rgba(10, 22, 40, 0.8);
	--ari2-overlay-menu-bg: #f0f4f7;
	--ari2-overlay-link-color: #1a1d23;
	--ari2-logo-filter: brightness(1) contrast(0);
	--ari2-hero-bg: linear-gradient(180deg, #e9f5fe 0%, #d8edf9 60%, #f8fafb 100%);
	--ari2-hero-grid-color: rgba(14, 165, 233, 0.07);
	--ari2-hero-radial-1: rgba(14, 165, 233, 0.18);
	--ari2-hero-radial-2: rgba(56, 189, 248, 0.1);
	--ari2-dark-section-bg: #f3f7fa;
	--ari2-dark-section-text: #1a1d23;
	--ari2-dark-section-muted: #4a5568;
	--ari2-dark-section-link: #0ea5e9;
	--ari2-dark-section-link-hover: #0284c7;
	--ari2-dark-placeholder: rgba(26, 29, 35, 0.42);
	--ari2-dark-disclaimer: rgba(26, 29, 35, 0.55);
	--ari2-dark-card-bg: #ffffff;
	--ari2-dark-card-border: rgba(15, 33, 55, 0.12);
	--ari2-dark-card-hover-border: rgba(14, 165, 233, 0.35);
	--ari2-oilgas-overlay: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(248,250,251,0.45) 45%, rgba(240,244,247,0.75) 100%);
	--ari2-quote-text: rgba(26, 29, 35, 0.9);
	--ari2-quote-role: rgba(26, 29, 35, 0.6);
	--ari2-footer-bg: #eef4f8;
	--ari2-footer-text: #1a1d23;
	--ari2-footer-muted: #4a5568;
	--ari2-footer-link: #1a1d23;
	--ari2-footer-link-hover: #0ea5e9;
	--ari2-footer-social: #4a5568;
	--ari2-footer-heading: #0284c7;
}

html[data-theme="dark"] {
	--ari2-bg-page: #0a1628;
	--ari2-bg-surface: #0f2137;
	--ari2-bg-elevated: #152a45;
	--ari2-bg-inverse: #ffffff;
	--ari2-text-primary: #ffffff;
	--ari2-text-muted: rgba(255, 255, 255, 0.7);
	--ari2-text-inverse: #0a1628;
	--ari2-text-inverse-muted: rgba(10, 22, 40, 0.8);
	--ari2-border-soft: rgba(255, 255, 255, 0.12);
	--ari2-border-strong: rgba(255, 255, 255, 0.22);
	--ari2-glass-bg: rgba(10, 22, 40, 0.7);
	--ari2-glass-border: rgba(255, 255, 255, 0.12);
	--ari2-glass-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
	--ari2-nav-pill-bg: rgba(255, 255, 255, 0.06);
	--ari2-nav-pill-hover-bg: rgba(255, 255, 255, 0.14);
	--ari2-header-overlay-link: rgba(255, 255, 255, 0.7);
	--ari2-overlay-menu-bg: #0a1628;
	--ari2-overlay-link-color: #ffffff;
	--ari2-logo-filter: none;
	--ari2-hero-bg: linear-gradient(180deg, #0A1628 0%, #0F2137 60%, #0A1628 100%);
	--ari2-hero-grid-color: rgba(14, 165, 233, 0.04);
	--ari2-hero-radial-1: rgba(14, 165, 233, 0.12);
	--ari2-hero-radial-2: rgba(103, 232, 249, 0.06);
	--ari2-dark-section-bg: #0a1628;
	--ari2-dark-section-text: #ffffff;
	--ari2-dark-section-muted: rgba(255, 255, 255, 0.72);
	--ari2-dark-section-link: #67e8f9;
	--ari2-dark-section-link-hover: #38bdf8;
	--ari2-dark-placeholder: rgba(255, 255, 255, 0.35);
	--ari2-dark-disclaimer: rgba(255, 255, 255, 0.4);
	--ari2-dark-card-bg: rgba(255, 255, 255, 0.03);
	--ari2-dark-card-border: rgba(255, 255, 255, 0.08);
	--ari2-dark-card-hover-border: rgba(14, 165, 233, 0.3);
	--ari2-oilgas-overlay: linear-gradient(180deg, rgba(10,22,40,0.7) 0%, rgba(10,22,40,0.55) 40%, rgba(10,22,40,0.8) 100%);
	--ari2-quote-text: rgba(255, 255, 255, 0.9);
	--ari2-quote-role: rgba(255, 255, 255, 0.5);
	--ari2-footer-bg: #0a1628;
	--ari2-footer-text: #ffffff;
	--ari2-footer-muted: rgba(255, 255, 255, 0.65);
	--ari2-footer-link: rgba(255, 255, 255, 0.7);
	--ari2-footer-link-hover: #67e8f9;
	--ari2-footer-social: rgba(255, 255, 255, 0.5);
	--ari2-footer-heading: #67e8f9;
}

body {
	background: var(--ari2-bg-page);
	color: var(--ari2-text-muted);
}

/* ---------- Accessibility: Focus Visible ---------- */
:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
	border-radius: 2px;
}

:focus:not(:focus-visible) {
	outline: none;
}

/* Skip to content link */
.ari2-skip-link {
	position: absolute;
	top: -100%;
	left: 0;
	z-index: 999;
	padding: 0.75rem 1.5rem;
	background: var(--wp--preset--color--accent);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	transition: top 0.2s ease;
}

.ari2-skip-link:focus {
	top: 0;
}

.ari2-skip-link-wrap {
	margin: 0;
	height: 0;
	line-height: 0;
}

/* Screen reader only utility */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* ---------- Utility: Accent Text ---------- */
.accent-text {
	color: var(--wp--preset--color--accent-glow);
}

.accent-gradient {
	background: linear-gradient(135deg, var(--wp--preset--color--accent) 0%, var(--wp--preset--color--accent-glow) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.mono-text {
	font-family: var(--wp--preset--font-family--ibm-plex-mono);
}

/* ---------- Header: Floating Glass Navbar ---------- */
.ari2-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	padding: 1rem 2rem;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ari2-header.ari2-header--menu-open {
	z-index: 120;
}

.ari2-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0.625rem 1.5rem;
	border-radius: 60px;
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border: 1px solid transparent;
	box-shadow: none;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Logo - always visible */
.ari2-header__logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	margin-right: 1.5rem;
}

.ari2-header__logo .ari2-site-logo {
	display: flex;
	align-items: center;
}

.ari2-header__logo .ari2-site-logo img {
	width: 140px;
	min-width: 140px;
	height: auto;
	filter: var(--ari2-logo-filter);
	transition: filter 0.3s ease;
}

.ari2-header__logo .ari2-site-logo-image img {
	width: 140px;
	min-width: 140px;
	height: auto;
	filter: var(--ari2-logo-filter);
	transition: filter 0.3s ease;
}


/* Header Nav - ghost/frosted links */
.ari2-header__nav {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.ari2-header__nav p,
.ari2-header__cta p,
.ari2-mobile-menu__nav p {
	margin: 0;
}

.ari2-header__nav a {
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 0.8125rem;
	font-weight: 500;
	font-style: normal;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ari2-text-primary);
	text-decoration: none;
	background: var(--ari2-nav-pill-bg);
	padding: 0.5rem 1.125rem;
	border-radius: 50px;
	transition: all 0.25s ease;
	white-space: nowrap;
}

.ari2-header__nav a:hover {
	background: var(--ari2-nav-pill-hover-bg);
	color: var(--wp--preset--color--accent);
}

/* Header CTA */
.ari2-header__cta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-left: 0.5rem;
}

.ari2-theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-width: 40px;
	height: 40px;
	padding: 0 0.65rem;
	border-radius: 999px;
	border: 1px solid var(--ari2-border-soft);
	background: var(--ari2-nav-pill-bg);
	color: var(--ari2-text-primary);
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ari2-theme-toggle:hover {
	background: var(--ari2-nav-pill-hover-bg);
	border-color: var(--ari2-border-strong);
}

.ari2-theme-toggle__icon--moon {
	display: none;
}

html[data-theme="dark"] .ari2-theme-toggle__icon--sun {
	display: none;
}

html[data-theme="dark"] .ari2-theme-toggle__icon--moon {
	display: inline-flex;
}

.ari2-theme-toggle--mobile {
	margin: 0 auto 1.25rem;
	color: var(--ari2-overlay-link-color);
	border-color: var(--ari2-border-soft);
	background: transparent;
}

/* --- Dark header variant (over dark hero sections) --- */
.ari2-header--dark .ari2-header__nav a {
	background: transparent;
	border: none;
	color: var(--ari2-header-overlay-link);
}

.ari2-header--dark .ari2-header__nav a:hover {
	background: var(--ari2-nav-pill-hover-bg);
	color: var(--ari2-text-primary);
}

/* Light mode, dark header BEFORE scroll: white text over always-dark hero */
html[data-theme="light"] .ari2-header--dark:not(.ari2-header--scrolled) .ari2-header__nav a {
	color: rgba(255, 255, 255, 0.85);
}

html[data-theme="light"] .ari2-header--dark:not(.ari2-header--scrolled) .ari2-header__nav a:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

html[data-theme="light"] .ari2-header--dark:not(.ari2-header--scrolled) .ari2-theme-toggle {
	color: rgba(255, 255, 255, 0.85);
	border-color: rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .ari2-header--dark:not(.ari2-header--scrolled) .ari2-theme-toggle:hover {
	background: rgba(255, 255, 255, 0.15);
	border-color: rgba(255, 255, 255, 0.35);
}

html[data-theme="light"] .ari2-header--dark:not(.ari2-header--scrolled) .ari2-header__logo .ari2-site-logo img {
	filter: none; /* Keep white logo on dark hero */
}

/* Themeable heroes in light mode use dark header contrast before scroll. */
html[data-theme="light"] body:has(.ari2-main > .ari2-page-hero-themeable:first-child) .ari2-header--dark:not(.ari2-header--scrolled) .ari2-header__nav a,
html[data-theme="light"] body:has(.ari2-main > .wp-block-post-content > .ari2-page-hero-themeable:first-child) .ari2-header--dark:not(.ari2-header--scrolled) .ari2-header__nav a {
	color: var(--ari2-text-primary);
}

html[data-theme="light"] body:has(.ari2-main > .ari2-page-hero-themeable:first-child) .ari2-header--dark:not(.ari2-header--scrolled) .ari2-header__nav a:hover,
html[data-theme="light"] body:has(.ari2-main > .wp-block-post-content > .ari2-page-hero-themeable:first-child) .ari2-header--dark:not(.ari2-header--scrolled) .ari2-header__nav a:hover {
	background: var(--ari2-nav-pill-hover-bg);
	color: var(--wp--preset--color--accent);
}

html[data-theme="light"] body:has(.ari2-main > .ari2-page-hero-themeable:first-child) .ari2-header--dark:not(.ari2-header--scrolled) .ari2-theme-toggle,
html[data-theme="light"] body:has(.ari2-main > .wp-block-post-content > .ari2-page-hero-themeable:first-child) .ari2-header--dark:not(.ari2-header--scrolled) .ari2-theme-toggle {
	color: var(--ari2-text-primary);
	border-color: var(--ari2-border-soft);
	background: var(--ari2-nav-pill-bg);
}

html[data-theme="light"] body:has(.ari2-main > .ari2-page-hero-themeable:first-child) .ari2-header--dark:not(.ari2-header--scrolled) .ari2-theme-toggle:hover,
html[data-theme="light"] body:has(.ari2-main > .wp-block-post-content > .ari2-page-hero-themeable:first-child) .ari2-header--dark:not(.ari2-header--scrolled) .ari2-theme-toggle:hover {
	background: var(--ari2-nav-pill-hover-bg);
	border-color: var(--ari2-border-strong);
}

html[data-theme="light"] body:has(.ari2-main > .ari2-page-hero-themeable:first-child) .ari2-header--dark:not(.ari2-header--scrolled) .ari2-header__logo .ari2-site-logo img,
html[data-theme="light"] body:has(.ari2-main > .wp-block-post-content > .ari2-page-hero-themeable:first-child) .ari2-header--dark:not(.ari2-header--scrolled) .ari2-header__logo .ari2-site-logo img {
	filter: var(--ari2-logo-filter);
}

/* Page-template fallback: /why /newsletter /about /discover use light hero in light mode, even if content is DB-authored. */
html[data-theme="light"] body.page-template-page-why .ari2-header--dark:not(.ari2-header--scrolled) .ari2-header__nav a,
html[data-theme="light"] body.page-template-page-newsletter .ari2-header--dark:not(.ari2-header--scrolled) .ari2-header__nav a,
html[data-theme="light"] body.page-template-page-about .ari2-header--dark:not(.ari2-header--scrolled) .ari2-header__nav a,
html[data-theme="light"] body.page-template-page-discover .ari2-header--dark:not(.ari2-header--scrolled) .ari2-header__nav a {
	color: var(--ari2-text-primary);
}

html[data-theme="light"] body.page-template-page-why .ari2-header--dark:not(.ari2-header--scrolled) .ari2-header__nav a:hover,
html[data-theme="light"] body.page-template-page-newsletter .ari2-header--dark:not(.ari2-header--scrolled) .ari2-header__nav a:hover,
html[data-theme="light"] body.page-template-page-about .ari2-header--dark:not(.ari2-header--scrolled) .ari2-header__nav a:hover,
html[data-theme="light"] body.page-template-page-discover .ari2-header--dark:not(.ari2-header--scrolled) .ari2-header__nav a:hover {
	background: var(--ari2-nav-pill-hover-bg);
	color: var(--wp--preset--color--accent);
}

html[data-theme="light"] body.page-template-page-why .ari2-header--dark:not(.ari2-header--scrolled) .ari2-theme-toggle,
html[data-theme="light"] body.page-template-page-newsletter .ari2-header--dark:not(.ari2-header--scrolled) .ari2-theme-toggle,
html[data-theme="light"] body.page-template-page-about .ari2-header--dark:not(.ari2-header--scrolled) .ari2-theme-toggle,
html[data-theme="light"] body.page-template-page-discover .ari2-header--dark:not(.ari2-header--scrolled) .ari2-theme-toggle {
	color: var(--ari2-text-primary);
	border-color: var(--ari2-border-soft);
	background: var(--ari2-nav-pill-bg);
}

html[data-theme="light"] body.page-template-page-why .ari2-header--dark:not(.ari2-header--scrolled) .ari2-theme-toggle:hover,
html[data-theme="light"] body.page-template-page-newsletter .ari2-header--dark:not(.ari2-header--scrolled) .ari2-theme-toggle:hover,
html[data-theme="light"] body.page-template-page-about .ari2-header--dark:not(.ari2-header--scrolled) .ari2-theme-toggle:hover,
html[data-theme="light"] body.page-template-page-discover .ari2-header--dark:not(.ari2-header--scrolled) .ari2-theme-toggle:hover {
	background: var(--ari2-nav-pill-hover-bg);
	border-color: var(--ari2-border-strong);
}

html[data-theme="light"] body.page-template-page-why .ari2-header--dark:not(.ari2-header--scrolled) .ari2-header__logo .ari2-site-logo img,
html[data-theme="light"] body.page-template-page-newsletter .ari2-header--dark:not(.ari2-header--scrolled) .ari2-header__logo .ari2-site-logo img,
html[data-theme="light"] body.page-template-page-about .ari2-header--dark:not(.ari2-header--scrolled) .ari2-header__logo .ari2-site-logo img,
html[data-theme="light"] body.page-template-page-discover .ari2-header--dark:not(.ari2-header--scrolled) .ari2-header__logo .ari2-site-logo img {
	filter: var(--ari2-logo-filter);
}

.ari2-header--dark .ari2-header__logo .ari2-site-logo img {
	filter: none;
}

/* All headers scrolled: glass morphism appears */
.ari2-header--scrolled .ari2-header__inner {
	background: var(--ari2-glass-bg);
	border-color: var(--ari2-glass-border);
	box-shadow: var(--ari2-glass-shadow);
	backdrop-filter: blur(24px) saturate(180%);
	-webkit-backdrop-filter: blur(24px) saturate(180%);
}

/* Dark header scrolled: override nav/logo for light glass background */
.ari2-header--dark.ari2-header--scrolled .ari2-header__nav a {
	background: var(--ari2-nav-pill-bg);
	border: none;
	color: var(--ari2-text-primary);
}

.ari2-header--dark.ari2-header--scrolled .ari2-header__nav a:hover {
	background: var(--ari2-nav-pill-hover-bg);
	color: var(--wp--preset--color--accent);
}

.ari2-header--dark.ari2-header--scrolled .ari2-header__logo .ari2-site-logo img {
	filter: var(--ari2-logo-filter);
}

.ari2-header--dark.ari2-header--scrolled .ari2-hamburger--light .ari2-hamburger__line {
	background: var(--wp--preset--color--contrast);
}

/* Remove WordPress root block gap between header/main/footer */
:where(.wp-site-blocks) > * {
	margin-block-start: 0 !important;
}

/* Guard against template-part/global-style top whitespace above hero sections */
.wp-site-blocks,
.wp-site-blocks > header.wp-block-template-part,
.wp-site-blocks > main.ari2-main {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.wp-site-blocks > header.wp-block-template-part {
	min-height: 0;
}

/* Standard pages: push content below fixed header */
.ari2-main {
	padding-top: 100px;
}

/* Hero pages: hero extends behind navbar, no top padding */
.ari2-main:has(> .ari2-hero:first-child),
.ari2-main:has(> .ari2-page-hero-dark:first-child),
.ari2-main:has(> [class*="page-hero"]:first-child),
.ari2-main:has(> .wp-block-post-content > .ari2-hero:first-child),
.ari2-main:has(> .wp-block-post-content > .ari2-page-hero-dark:first-child),
.ari2-main:has(> .wp-block-post-content > [class*="page-hero"]:first-child) {
	padding-top: 0;
}

/* Homepage fallback: avoid top gap even in browsers with limited :has() support */
body.home .ari2-main,
body.front-page .ari2-main {
	padding-top: 0;
}

/* ---------- Buttons ---------- */
/* WP Button wrapper — strip visual styles from outer div */
.wp-block-button.ari2-btn {
	background: transparent;
	border: none;
	padding: 0;
	border-radius: 0;
}

/* Base button link styles */
.ari2-btn .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 0.875rem;
	font-weight: 600;
	font-style: normal;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
	border: none;
	border-radius: 50px;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	white-space: nowrap;
}

/* Standalone .ari2-btn (non-WP, e.g. <a> or <button> with class="ari2-btn") */
a.ari2-btn,
button.ari2-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 0.875rem;
	font-weight: 600;
	font-style: normal;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
	border: none;
	border-radius: 50px;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	white-space: nowrap;
}

.ari2-btn--primary .wp-block-button__link,
a.ari2-btn--primary,
button.ari2-btn--primary {
	background: var(--wp--preset--color--accent) !important;
	color: #fff !important;
	border-color: var(--wp--preset--color--accent) !important;
}

.ari2-btn--primary .wp-block-button__link:hover,
a.ari2-btn--primary:hover,
button.ari2-btn--primary:hover {
	background: var(--wp--preset--color--accent-light) !important;
	color: #fff !important;
	border-color: var(--wp--preset--color--accent-light) !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.ari2-btn--warm .wp-block-button__link,
a.ari2-btn--warm,
button.ari2-btn--warm {
	background: var(--wp--preset--color--accent) !important;
	color: #fff !important;
}

.ari2-btn--warm .wp-block-button__link:hover,
a.ari2-btn--warm:hover,
button.ari2-btn--warm:hover {
	background: var(--wp--preset--color--accent-light) !important;
	color: #fff !important;
	box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.ari2-btn--outline .wp-block-button__link,
a.ari2-btn--outline {
	background: transparent;
	color: var(--wp--preset--color--accent);
	border: 2px solid var(--wp--preset--color--accent);
}

.ari2-btn--outline .wp-block-button__link:hover,
a.ari2-btn--outline:hover {
	background: var(--wp--preset--color--accent);
	color: #fff;
}

.ari2-btn--outline-light .wp-block-button__link,
a.ari2-btn--outline-light {
	background: transparent !important;
	color: #fff !important;
	border: 2px solid rgba(255, 255, 255, 0.7) !important;
}

.ari2-btn--outline-light .wp-block-button__link:hover,
a.ari2-btn--outline-light:hover {
	background: rgba(255, 255, 255, 0.12) !important;
	border-color: #fff !important;
	box-shadow: none !important;
}

html[data-theme="light"] .ari2-btn--outline-light .wp-block-button__link,
html[data-theme="light"] a.ari2-btn--outline-light {
	color: var(--ari2-text-primary) !important;
	border-color: var(--ari2-border-strong) !important;
}

html[data-theme="light"] .ari2-btn--outline-light .wp-block-button__link:hover,
html[data-theme="light"] a.ari2-btn--outline-light:hover {
	background: rgba(10, 22, 40, 0.06) !important;
	border-color: var(--ari2-text-primary) !important;
}

/* Outline-light buttons inside always-dark heroes: keep white */
html[data-theme="light"] .ari2-page-hero-dark:not(.ari2-page-hero-themeable) a.ari2-btn--outline-light,
html[data-theme="light"] .ari2-hero a.ari2-btn--outline-light {
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.7) !important;
}

html[data-theme="light"] .ari2-page-hero-dark:not(.ari2-page-hero-themeable) a.ari2-btn--outline-light:hover,
html[data-theme="light"] .ari2-hero a.ari2-btn--outline-light:hover {
	background: rgba(255, 255, 255, 0.12) !important;
	border-color: #fff !important;
}

.ari2-btn svg {
	transition: transform 0.3s ease;
}

.ari2-btn:hover svg {
	transform: translateX(3px);
}

/* WP Buttons — global */
.wp-block-button__link {
	font-style: normal;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wp-block-button__link:hover {
	transform: translateY(-1px);
}

/* ---------- Hamburger Menu ---------- */
.ari2-hamburger {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	z-index: 110;
}

.ari2-hamburger__line {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--wp--preset--color--contrast);
	transition: all 0.3s ease;
	border-radius: 2px;
}

.ari2-hamburger--light .ari2-hamburger__line {
	background: #fff;
}

html[data-theme="light"] .ari2-hamburger--light .ari2-hamburger__line {
	background: var(--wp--preset--color--contrast);
}

html[data-theme="light"] .ari2-header--dark:not(.ari2-header--scrolled) .ari2-hamburger--light .ari2-hamburger__line {
	background: #fff;
}

.ari2-hamburger.is-active .ari2-hamburger__line:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.ari2-hamburger.is-active .ari2-hamburger__line:nth-child(2) {
	opacity: 0;
}

.ari2-hamburger.is-active .ari2-hamburger__line:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.ari2-hamburger.is-active .ari2-hamburger__line {
	background: var(--ari2-overlay-link-color);
}

/* ---------- Mobile Menu Overlay ---------- */
.ari2-mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 105;
	background: var(--ari2-overlay-menu-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

.ari2-mobile-menu.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.ari2-mobile-menu__inner {
	text-align: center;
}

@media (max-width: 768px) {
	.ari2-mobile-menu {
		align-items: flex-start;
		padding-top: calc(96px + env(safe-area-inset-top));
		padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
		overflow-y: auto;
	}

	.ari2-mobile-menu__inner {
		width: 100%;
		padding: 0 1.25rem;
	}
}

.ari2-mobile-menu__nav {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.ari2-mobile-menu__link {
	font-family: var(--wp--preset--font-family--outfit);
	font-size: clamp(1.5rem, 5vw, 2.5rem);
	font-weight: 600;
	color: var(--ari2-overlay-link-color);
	text-decoration: none;
	opacity: 0;
	transform: translateY(20px);
	transition: color 0.2s ease;
}

.ari2-mobile-menu__link:hover {
	color: var(--wp--preset--color--accent);
}

.ari2-mobile-menu.is-open .ari2-mobile-menu__link {
	opacity: 1;
	transform: translateY(0);
}

.ari2-mobile-menu__cta {
	opacity: 0;
	transform: translateY(20px);
}

.ari2-mobile-menu.is-open .ari2-mobile-menu__cta {
	opacity: 1;
	transform: translateY(0);
}

/* ---------- Forms ---------- */
.ari2-form-group {
	margin-bottom: 1.25rem;
}

.ari2-form-label {
	display: block;
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast-muted);
	margin-bottom: 0.5rem;
}

.ari2-form-input {
	width: 100%;
	padding: 0.875rem 1rem;
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 1rem;
	color: var(--wp--preset--color--contrast);
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--contrast-faint);
	border-radius: 6px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ari2-form-input:focus {
	outline: none;
	border-color: var(--wp--preset--color--accent);
	box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.ari2-form-textarea {
	resize: vertical;
	min-height: 120px;
}

.ari2-form-submit {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	justify-content: center;
	padding: 1rem 2rem;
	background: var(--wp--preset--color--accent);
	color: #fff;
	border: none;
	border-radius: 50px;
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 0.875rem;
	font-weight: 600;
	font-style: normal;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.3s ease;
}

.ari2-form-submit:hover {
	background: var(--wp--preset--color--accent-light);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.ari2-form-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.ari2-form-submit__arrow {
	transition: transform 0.3s ease;
}

.ari2-form-submit:hover .ari2-form-submit__arrow {
	transform: translateX(3px);
}

.ari2-form-disclaimer {
	margin-top: 0.75rem;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--contrast-muted);
}

.ari2-contact-form__status--success p {
	color: #22c55e;
	margin-bottom: 1rem;
	padding: 0.75rem 1rem;
	background: rgba(34, 197, 94, 0.1);
	border-radius: 6px;
}

.ari2-contact-form__status--error p {
	color: #ef4444;
	margin-bottom: 1rem;
	padding: 0.75rem 1rem;
	background: rgba(239, 68, 68, 0.1);
	border-radius: 6px;
}

/* ---------- Contact Form: Multi-Step + Game ---------- */

/* Honeypot — completely hidden */
.ari2-form-field-url {
	position: absolute;
	left: -9999px;
	opacity: 0;
	height: 0;
	overflow: hidden;
	pointer-events: none;
}

/* Progress dots */
.ari2-contact-progress {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.ari2-contact-progress__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.ari2-contact-progress__dot.is-active {
	background: var(--wp--preset--color--accent);
	transform: scale(1.3);
	box-shadow: 0 0 10px rgba(14, 165, 233, 0.4);
}

.ari2-contact-progress__dot.is-complete {
	background: var(--wp--preset--color--accent-glow);
}

/* Step containers */
.ari2-contact-step {
	display: none;
}

.ari2-contact-step.is-active {
	display: block;
	animation: ari2-step-fade-in 0.4s ease-out;
}

@keyframes ari2-step-fade-in {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Game intro text */
.ari2-game-intro {
	text-align: center;
	margin-bottom: 1.25rem;
}

.ari2-game-intro__title {
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1.25rem;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 0.5rem;
}

.ari2-game-intro__desc {
	font-size: 0.9375rem;
	color: var(--wp--preset--color--contrast-faint);
	line-height: 1.6;
	margin: 0;
}

/* Game canvas */
#ari2-game-canvas {
	display: block;
	width: 100%;
	max-width: 400px;
	height: auto;
	margin: 0 auto;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	image-rendering: pixelated;
	image-rendering: crisp-edges;
}

/* Game hint text */
.ari2-game-hint {
	text-align: center;
	font-family: var(--wp--preset--font-family--ibm-plex-mono);
	font-size: 0.75rem;
	color: var(--wp--preset--color--contrast-faint);
	margin-top: 0.75rem;
	letter-spacing: 0.05em;
}

.ari2-game-hint__mobile {
	display: none;
}

@media (hover: none) and (pointer: coarse) {
	.ari2-game-hint__desktop { display: none; }
	.ari2-game-hint__mobile { display: inline; }
}

/* Sending state */
.ari2-sending-state {
	text-align: center;
	padding: 3rem 1rem;
}

.ari2-sending-state__spinner {
	width: 48px;
	height: 48px;
	margin: 0 auto 1.5rem;
	border: 3px solid rgba(255, 255, 255, 0.1);
	border-top-color: var(--wp--preset--color--accent);
	border-radius: 50%;
	animation: ari2-spin 0.8s linear infinite;
}

@keyframes ari2-spin {
	to { transform: rotate(360deg); }
}

.ari2-sending-state__text {
	font-size: 1rem;
	color: var(--wp--preset--color--contrast-faint);
}

/* Contact result messages */
.ari2-contact-result {
	text-align: center;
	padding: 3rem 1rem;
}

.ari2-contact-result--success p {
	color: #22c55e;
	font-size: 1.125rem;
	font-weight: 600;
}

.ari2-contact-result--error p {
	color: #ef4444;
	font-size: 1rem;
	margin-bottom: 1rem;
}

.ari2-contact-retry {
	background: transparent;
	border: 1px solid var(--wp--preset--color--accent);
	color: var(--wp--preset--color--accent);
	padding: 0.625rem 1.5rem;
	border-radius: 50px;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.ari2-contact-retry:hover {
	background: var(--wp--preset--color--accent);
	color: #ffffff;
}

/* Responsive */
@media (max-width: 480px) {
	#ari2-game-canvas {
		max-width: 100%;
	}

	.ari2-game-intro__title {
		font-size: 1.125rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ari2-game-hint {
		display: none;
	}

	.ari2-contact-step.is-active {
		animation: none;
	}
}

/* ---------- FAQ ---------- */
.ari2-faq {
	max-width: 720px;
	margin: 0 auto;
}

.ari2-faq-item {
	border-bottom: 1px solid var(--wp--preset--color--contrast-faint);
}

.ari2-faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 1.25rem 0;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
	transition: color 0.2s ease;
}

.ari2-faq-question:hover {
	color: var(--wp--preset--color--accent);
}

.ari2-faq-question__icon {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--wp--preset--color--base-3);
	color: var(--wp--preset--color--contrast-muted);
	transition: all 0.3s ease;
}

.ari2-faq-question[aria-expanded="true"] .ari2-faq-question__icon {
	background: var(--wp--preset--color--accent);
	color: #fff;
	transform: rotate(45deg);
}

.ari2-faq-answer {
	overflow: hidden;
	height: 0;
	transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ari2-faq-answer__inner {
	padding-bottom: 1.25rem;
}

.ari2-faq-answer__inner p {
	color: var(--wp--preset--color--contrast-muted);
	line-height: 1.8;
}

/* ---------- Team Grid ---------- */
.ari2-team-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.ari2-team-card {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	background: var(--wp--preset--color--base-2);
	cursor: pointer;
}

.ari2-team-card__image {
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
}

.ari2-team-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.ari2-team-card:hover .ari2-team-card__image img {
	transform: scale(1.05);
}

.ari2-team-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.6) 50%, transparent 100%);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1.25rem;
	opacity: 0;
	pointer-events: none;
	z-index: 2;
	transition: opacity 0.4s ease;
}

.ari2-team-card:hover .ari2-team-card__overlay {
	opacity: 1;
}

.ari2-team-card__bio {
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.8125rem;
	line-height: 1.6;
	margin-bottom: 0.75rem;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ari2-team-card__links {
	display: flex;
	gap: 0.75rem;
	pointer-events: auto;
	position: relative;
	z-index: 3;
}

.ari2-team-card__link {
	color: rgba(255, 255, 255, 0.7);
	transition: color 0.2s ease;
}

.ari2-team-card__link:hover {
	color: var(--wp--preset--color--accent-glow);
}

.ari2-team-card__info {
	padding: 1rem 1.25rem;
}

.ari2-team-card__name {
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
	margin: 0 0 0.25rem;
}

.ari2-team-card__position {
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--wp--preset--color--accent);
	margin: 0;
}

.ari2-team-card__stretched-link {
	position: absolute;
	inset: 0;
	z-index: 1;
}

/* ---------- Post Cards ---------- */
.ari2-post-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--contrast-faint);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ari2-post-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
	border-color: var(--wp--preset--color--accent);
}

.ari2-post-card .wp-block-post-featured-image img {
	transition: transform 0.5s ease;
}

.ari2-post-card:hover .wp-block-post-featured-image img {
	transform: scale(1.05);
}

/* ---------- Single Post Hero ---------- */
.ari2-single__hero {
	position: relative;
}

.ari2-single__featured {
	min-height: 50vh;
}

.ari2-single__title-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 2;
}

/* ---------- Reading Progress Bar ---------- */
.ari2-reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	width: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--wp--preset--color--accent), var(--wp--preset--color--accent-glow));
	z-index: 200;
	transition: width 0.1s linear;
}

/* ---------- Single Post Hero (Dark Gradient) ---------- */
.ari2-single-hero {
	position: relative;
	min-height: 60vh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
}

.ari2-single-hero__bg {
	position: absolute;
	inset: 0;
	background: var(--ari2-hero-bg);
}

.ari2-single-hero__gradient {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 60% at 50% 40%, var(--ari2-hero-radial-1) 0%, transparent 70%),
		radial-gradient(ellipse 60% 50% at 30% 60%, var(--ari2-hero-radial-2) 0%, transparent 60%);
}

.ari2-single-hero__grid-pattern {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(var(--ari2-hero-grid-color) 1px, transparent 1px),
		linear-gradient(90deg, var(--ari2-hero-grid-color) 1px, transparent 1px);
	background-size: 60px 60px;
	mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
}

.ari2-single-hero__content {
	position: relative;
	z-index: 2;
}

.ari2-single-hero__back {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #67E8F9;
	text-decoration: none;
	transition: color 0.3s ease, gap 0.3s ease;
}

.ari2-single-hero__back:hover {
	color: var(--ari2-text-primary);
	gap: 0.75rem;
}

.ari2-single-hero__category {
	margin-bottom: 1rem;
}

/* ---------- Single Post Featured Image (Wide) ---------- */
.ari2-single__featured-wrap {
	position: relative;
	z-index: 3;
	background: transparent !important;
}

.ari2-single__featured-wide {
	overflow: hidden;
	position: relative;
	z-index: 3;
	margin-top: -4rem !important;
	margin-block-start: -4rem !important;
	clip-path: inset(6% 4% 6% 4% round 16px);
	opacity: 0;
	transform: scale(1.06) translateY(30px);
	will-change: clip-path, transform, opacity;
}

.ari2-single__featured-wide.is-revealed {
	box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

.ari2-single__featured-wide img {
	width: 100%;
	height: auto;
	display: block;
	transform: scale(1.08);
	transition: transform 6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.ari2-single__featured-wide.is-revealed img {
	transform: scale(1);
}

/* ---------- Single Post Body Typography ---------- */
.ari2-single__body .wp-block-post-content {
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 1.0625rem;
	line-height: 1.9;
	color: var(--wp--preset--color--contrast-muted);
}

.ari2-single__body h2 {
	font-family: var(--wp--preset--font-family--outfit);
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 700;
	color: var(--wp--preset--color--contrast);
	margin-top: 3rem;
	margin-bottom: 1.25rem;
	line-height: 1.2;
}

.ari2-single__body h3 {
	font-family: var(--wp--preset--font-family--outfit);
	font-size: clamp(1.375rem, 3vw, 1.75rem);
	font-weight: 700;
	color: var(--wp--preset--color--contrast);
	margin-top: 2.5rem;
	margin-bottom: 1rem;
}

.ari2-single__body h4 {
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}

.ari2-single__body p {
	margin-bottom: 1.5rem;
}

.ari2-single__body ul,
.ari2-single__body ol {
	padding-left: 1.5rem;
	margin-bottom: 1.5rem;
}

.ari2-single__body li {
	margin-bottom: 0.5rem;
	line-height: 1.8;
}

.ari2-single__body li strong {
	color: var(--wp--preset--color--contrast);
}

.ari2-single__body blockquote,
.ari2-single__body .wp-block-quote {
	border-left: 3px solid var(--wp--preset--color--accent);
	padding: 1.5rem 2rem;
	margin: 2.5rem 0;
	background: var(--wp--preset--color--base-2);
	border-radius: 0 8px 8px 0;
	font-size: 1.125rem;
	font-style: italic;
	color: var(--wp--preset--color--contrast);
	line-height: 1.8;
}

.ari2-single__body figure {
	margin: 2.5rem 0;
}

.ari2-single__body figure img {
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.ari2-single__body figcaption {
	text-align: center;
	font-size: 0.875rem;
	color: var(--wp--preset--color--contrast-muted);
	margin-top: 0.75rem;
	font-style: italic;
}

/* First paragraph styled blue */
.ari2-single__body .wp-block-post-content > p:first-of-type {
	color: var(--wp--preset--color--accent);
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.7;
}

/* ---------- Single Post Tags ---------- */
.ari2-single__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.ari2-single__tags a {
	display: inline-block;
	padding: 0.375rem 0.875rem;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--wp--preset--color--accent);
	background: rgba(14, 165, 233, 0.08);
	border: 1px solid rgba(14, 165, 233, 0.15);
	border-radius: 100px;
	transition: background 0.3s ease, color 0.3s ease;
}

.ari2-single__tags a:hover {
	background: var(--wp--preset--color--accent);
	color: #fff;
}

/* ---------- 404 Page ---------- */
.ari2-404__content {
	position: relative;
	text-align: center;
	min-height: 80vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.ari2-404__wave-bg {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	pointer-events: none;
}

.ari2-404__waves {
	width: 100%;
	height: 200px;
}

.ari2-404__wave--1 {
	animation: ari2-wave 8s ease-in-out infinite;
}

.ari2-404__wave--2 {
	animation: ari2-wave 10s ease-in-out infinite reverse;
}

@keyframes ari2-wave {
	0%, 100% { transform: translateX(0); }
	50% { transform: translateX(-20px); }
}

.ari2-404__droplet {
	margin-bottom: 2rem;
	animation: ari2-float 3s ease-in-out infinite;
}

.ari2-404__drop-path {
	stroke-dasharray: 200;
	stroke-dashoffset: 200;
	animation: ari2-draw 2s ease forwards;
}

@keyframes ari2-draw {
	to { stroke-dashoffset: 0; }
}

@keyframes ari2-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

/* ---------- Footer ---------- */
.ari2-footer {
	background: var(--ari2-footer-bg) !important;
	color: var(--ari2-footer-text) !important;
}

.ari2-footer .has-base-color,
.ari2-footer .has-white-color,
.ari2-footer .has-text-color {
	color: var(--ari2-footer-text) !important;
}

.ari2-footer .has-contrast-faint-color {
	color: var(--ari2-footer-muted) !important;
}

.ari2-footer__logo img {
	filter: var(--ari2-logo-filter);
}

.ari2-footer a {
	color: var(--ari2-footer-link);
	text-decoration: none;
	transition: color 0.2s ease;
}

.ari2-footer a:hover {
	color: var(--ari2-footer-link-hover);
}

/* Kill ALL borders/separators in footer */
.ari2-footer hr,
.ari2-footer .wp-block-separator,
.ari2-footer__partners,
.ari2-footer__copyright-bar {
	border: none !important;
	border-top: none !important;
	border-bottom: none !important;
}

/* 2-column grid: Brand | Right (links + contact rows) */
.ari2-footer__grid {
	gap: 3rem;
	align-items: flex-start;
}

.ari2-footer__logo {
	margin-left: -20px;
}

/* Right column sections */
.ari2-footer__right {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding-top: 0.25rem;
	align-items: flex-end;
}

.ari2-footer__section {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	align-items: flex-end;
}

.ari2-footer__heading {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ari2-footer-heading);
	margin: 0;
	font-family: var(--wp--preset--font-family--dm-sans);
}

/* Horizontal inline links row */
.ari2-footer__inline-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.5rem 1.5rem;
}

.ari2-footer__inline-links a {
	color: var(--ari2-footer-link);
	text-decoration: none;
	font-size: 0.875rem;
	transition: color 0.2s ease;
	white-space: nowrap;
}

.ari2-footer__inline-links a:hover {
	color: var(--ari2-footer-link-hover);
}

/* Social icons row in brand column */
.ari2-footer__social-icons {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 1rem;
}

.ari2-footer__social-icons a {
	color: var(--ari2-footer-social);
	transition: color 0.2s ease;
}

.ari2-footer__social-icons a:hover {
	color: var(--ari2-footer-link-hover);
}

.ari2-footer__location {
	color: var(--ari2-footer-muted);
	font-size: 0.875rem;
}

/* Copyright */
.ari2-footer__copyright {
	margin: 0;
	color: var(--ari2-footer-muted) !important;
	border: none !important;
	border-top: none !important;
	border-bottom: none !important;
}

/* ---------- GSAP Animation Classes ---------- */
.gsap-fade-up {
	will-change: transform, opacity;
}

/* ==========================================================================
   Homepage Section Styles
   ========================================================================== */

/* ---------- Section Labels ---------- */
.ari2-label {
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* ---------- Hero Section ---------- */
.ari2-hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
}

.ari2-hero__video-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.ari2-hero__video-bg video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.03) translateY(-10px);
	transform-origin: center top;
}

.ari2-hero__video-bg.wp-block-video {
	margin: 0;
}

.ari2-hero__overlay {
	position: absolute;
	inset: 0;
	margin: 0 !important;
	background: linear-gradient(
		180deg,
		rgba(10, 22, 40, 0.75) 0%,
		rgba(10, 22, 40, 0.45) 50%,
		rgba(10, 22, 40, 0.85) 100%
	);
}

.ari2-hero__content {
	position: relative;
	z-index: 2;
	padding-top: clamp(8rem, 20vh, 14rem);
	padding-bottom: clamp(4rem, 10vh, 8rem);
}

.ari2-hero__content h1 {
	color: #fff;
	margin-bottom: 1.25rem;
}

.ari2-hero__content .ari2-hero__subtitle {
	margin-top: 0;
	margin-bottom: 2rem;
}

.ari2-hero__content .ari2-hero__actions {
	margin-top: 0.5rem;
}

.ari2-hero__trusted {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	padding: 0 var(--wp--preset--spacing--30);
	padding-bottom: 3rem;
	max-width: 900px;
	margin: 0 auto;
}

.ari2-hero__trusted-label {
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
	white-space: nowrap;
	text-align: center;
	opacity: 0;
	animation: ari2-trusted-label-in 0.5s ease forwards 1.6s;
}

.ari2-hero__trusted-logos {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 3.5rem;
	flex-wrap: wrap;
}

.ari2-hero__trusted-logos .wp-block-column {
	flex: 0 0 auto !important;
	width: auto !important;
	margin: 0 !important;
}

.ari2-hero__trusted-logos .wp-block-image {
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ari2-hero__trusted-logos img {
	height: auto;
	width: auto !important;
	max-height: 36px;
	max-width: 100%;
	object-fit: contain;
	filter: brightness(0) invert(1);
	opacity: 0.82;
	transform: none;
	animation: none;
	transition: opacity 0.3s ease;
}

.ari2-hero__trusted-logos img:nth-child(1) { animation-delay: 1.8s; }
.ari2-hero__trusted-logos img:nth-child(2) { animation-delay: 2.0s; }
.ari2-hero__trusted-logos img:nth-child(3) { animation-delay: 2.2s; }
.ari2-hero__trusted-logos img:nth-child(4) { animation-delay: 2.4s; }
.ari2-hero__trusted-logos img:nth-child(5) { animation-delay: 2.6s; }

.ari2-hero__trusted-logos img:first-child {
	max-height: 52px;
}

@media (max-width: 781px) {
	.ari2-hero__trusted-logos.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
		flex-basis: auto !important;
	}
}

.ari2-hero__trusted-logos img:hover {
	opacity: 1;
}

@keyframes ari2-trusted-fade-in {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 0.82;
		transform: translateY(0);
	}
}

@keyframes ari2-trusted-label-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ari2-hero__trusted-label,
	.ari2-hero__trusted-logos img {
		animation: none;
		opacity: 0.82;
		transform: none;
	}
	.ari2-hero__trusted-label {
		opacity: 1;
	}
}

.ari2-hero__scroll-indicator {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	animation: ari2-hero-pulse 2s ease-in-out infinite;
}

@keyframes ari2-hero-pulse {
	0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
	50% { opacity: 0.5; transform: translateX(-50%) translateY(8px); }
}

.ari2-hero__scroll-dot {
	animation: ari2-scroll-dot 2s ease-in-out infinite;
}

@keyframes ari2-scroll-dot {
	0%, 100% { cy: 12; }
	50% { cy: 26; opacity: 0.3; }
}

/* ---------- Stats Section ---------- */
.ari2-stats__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3rem;
	text-align: center;
}

.ari2-stat__unit {
	display: block;
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--ari2-dark-section-muted);
	margin-bottom: 0.25rem;
}

.ari2-stats .ari2-stat__number {
	color: var(--wp--preset--color--accent) !important;
}

/* ---------- Product Showcase ---------- */
.ari2-product-scroll {
	padding: 0.5rem var(--wp--preset--spacing--30);
}

.ari2-product-scroll__track {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0.5rem;
}

.ari2-product-card {
	background: var(--ari2-dark-card-bg);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--ari2-dark-card-border);
	border-radius: 16px;
	overflow: hidden;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ari2-product-card:hover {
	border-color: var(--card-accent, rgba(14, 165, 233, 0.4));
	box-shadow: inset 0 0 30px rgba(14, 165, 233, 0.06), 0 0 0 1px rgba(14, 165, 233, 0.15);
}

.ari2-product-card__media {
	aspect-ratio: 16/10;
	overflow: hidden;
	background: var(--ari2-dark-section-bg);
}

.ari2-product-card__media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ari2-product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ari2-product-card__media .ari2-product-media-fallback,
.ari2-product-detail__media .ari2-product-media-fallback {
	display: none;
}

.ari2-product-card__content {
	padding: 1.5rem;
}

.ari2-product-card__badge {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--card-accent, #0EA5E9);
	background: rgba(14, 165, 233, 0.1);
	padding: 0.25rem 0.75rem;
	border-radius: 4px;
	margin-bottom: 0.75rem;
}

.ari2-product-card__title {
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--ari2-dark-section-text);
	margin: 0 0 0.75rem;
}

.ari2-product-card__desc {
	font-size: 0.9375rem;
	color: var(--ari2-dark-section-muted);
	line-height: 1.7;
	margin-bottom: 1rem;
}

.ari2-product-card__specs {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem;
}

.ari2-product-card__specs li {
	font-size: 0.8125rem;
	color: var(--ari2-dark-section-muted);
	padding: 0.375rem 0;
	border-bottom: 1px solid var(--ari2-dark-card-border);
}

.ari2-product-card__specs li:last-child {
	border-bottom: none;
}

.ari2-product-card__actions {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.ari2-product-card__actions .ari2-btn {
	font-size: 0.75rem;
	padding: 0.625rem 1.25rem;
}

/* ---------- How It Works ---------- */
.ari2-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	position: relative;
	max-width: 1100px;
	margin: 0 auto;
}

.ari2-step {
	text-align: center;
	position: relative;
	z-index: 1;
	padding: 2.5rem 2rem 2rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(14, 165, 233, 0.18);
	border-radius: 20px;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.ari2-step:hover {
	transform: translateY(-6px);
	border-color: rgba(14, 165, 233, 0.3);
	box-shadow: 0 20px 60px rgba(14, 165, 233, 0.1), 0 0 40px rgba(14, 165, 233, 0.05);
}

.ari2-step__icon-wrap {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 1.5rem;
}

.ari2-step__number {
	font-size: 0.75rem;
	font-weight: 700;
	color: #0EA5E9;
	letter-spacing: 0.1em;
	margin-bottom: 1rem;
	display: block;
}

.ari2-step__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	border-radius: 24px;
	background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(56, 189, 248, 0.05));
	border: 1px solid rgba(14, 165, 233, 0.2);
	position: relative;
	transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.ari2-step:hover .ari2-step__icon {
	box-shadow: 0 0 30px rgba(14, 165, 233, 0.25), 0 0 60px rgba(14, 165, 233, 0.1);
	transform: scale(1.05);
}

.ari2-step__icon svg {
	width: 48px;
	height: 48px;
}

.ari2-step__title {
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-size: 1.375rem;
	font-weight: 600;
	color: #ffffff;
	margin: 0 0 0.75rem;
}

.ari2-step__desc {
	font-size: 0.9375rem;
	color: #94a3b8;
	line-height: 1.75;
}

.ari2-step__connector {
	display: none;
}

/* ---------- Bento Grid ---------- */
.ari2-bento__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

.ari2-bento__item {
	background: linear-gradient(180deg, rgba(14, 165, 233, 0.03) 0%, var(--wp--preset--color--base-2) 100%);
	border: 1px solid rgba(14, 165, 233, 0.12);
	border-radius: 16px;
	padding: 2rem;
	position: relative;
	overflow: hidden;
	transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.ari2-bento__item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #0EA5E9, #38BDF8, #67E8F9);
	opacity: 0;
	transition: opacity 0.4s ease;
}

.ari2-bento__item:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 48px rgba(14, 165, 233, 0.1), 0 4px 16px rgba(0, 0, 0, 0.04);
	border-color: rgba(14, 165, 233, 0.3);
}

.ari2-bento__item:hover::before {
	opacity: 1;
}

.ari2-bento__item--large {
	grid-column: span 2;
}

.ari2-bento__icon-wrap {
	margin-bottom: 1.5rem;
}

.ari2-bento__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	border-radius: 20px;
	background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(56, 189, 248, 0.04));
	border: 1px solid rgba(14, 165, 233, 0.18);
	transition: box-shadow 0.4s ease, transform 0.4s ease, border-color 0.4s ease;
}

.ari2-bento__icon svg {
	width: 44px;
	height: 44px;
}

.ari2-bento__item:hover .ari2-bento__icon {
	transform: scale(1.08);
	border-color: rgba(14, 165, 233, 0.35);
	box-shadow: 0 0 24px rgba(14, 165, 233, 0.15), 0 0 48px rgba(14, 165, 233, 0.06);
}

.ari2-bento__item h3 {
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--wp--preset--color--dark);
	margin: 0 0 0.75rem;
}

.ari2-bento__item p {
	font-size: 0.9375rem;
	color: var(--wp--preset--color--contrast-muted);
	line-height: 1.7;
	margin: 0;
}

/* ---------- Marquee ---------- */
.ari2-marquee {
	overflow: hidden;
	padding: 1rem 0;
}

.ari2-marquee__item {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 140px;
	padding: 0 1rem;
}

.ari2-marquee__item img {
	height: 40px;
	width: auto;
	filter: grayscale(100%);
	opacity: 0.5;
	transition: filter 0.3s ease, opacity 0.3s ease;
}

.ari2-marquee__item:hover img {
	filter: grayscale(0%);
	opacity: 1;
}

.ari2-marquee--reverse .ari2-marquee__track {
	animation-direction: reverse;
}

/* ---------- Partners ---------- */
.ari2-partners {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.5rem;
}

.ari2-partner {
	text-align: center;
}

.ari2-partner__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 60px;
	margin-bottom: 1rem;
}

.ari2-partner__logo img {
	max-height: 50px;
	width: auto;
}

.ari2-partner__title {
	font-family: var(--wp--preset--font-family--outfit);
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
	margin: 0 0 0.5rem;
}

.ari2-partner__desc {
	font-size: 0.875rem;
	color: var(--wp--preset--color--contrast-muted);
	line-height: 1.7;
}

/* ---------- Social Proof Quote ---------- */
.ari2-quote {
	text-align: center;
	position: relative;
}

.ari2-quote.wp-block-quote {
	border-left: none;
	border-inline-start: none;
	padding-left: 0;
	margin-left: 0;
}

.ari2-quote__mark {
	margin: 0 auto 2rem;
	display: block;
}

.ari2-quote__text {
	border: none;
	padding: 0;
	margin: 0 0 2rem;
}

.ari2-quote__text p {
	font-family: var(--wp--preset--font-family--outfit);
	font-size: clamp(1.25rem, 3vw, 2rem);
	font-weight: 400;
	color: var(--ari2-quote-text);
	line-height: 1.6;
	font-style: italic;
}

.ari2-quote__attribution {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.ari2-quote__author {
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 1rem;
	font-weight: 600;
	color: var(--ari2-dark-section-text);
}

.ari2-quote__role {
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 0.875rem;
	color: var(--ari2-quote-role);
}

.ari2-quote.wp-block-quote cite {
	color: var(--ari2-quote-role) !important;
	font-family: var(--wp--preset--font-family--dm-sans);
	font-size: 0.9375rem;
	font-style: normal;
}

/* ---------- Contact Split Layout ---------- */
.ari2-contact-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: start;
}

.ari2-contact-split__heading {
	margin-top: 0;
}

.ari2-contact-info-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.ari2-contact-info-item a:hover {
	color: var(--wp--preset--color--accent-glow) !important;
}

html[data-theme="light"] .ari2-contact-cta .ari2-contact-info-item a,
html[data-theme="light"] .ari2-contact-cta .ari2-contact-info-item span {
	color: var(--ari2-text-primary) !important;
}

html[data-theme="light"] .ari2-contact-cta .ari2-contact-info-item a {
	font-weight: 600;
}

html[data-theme="light"] .ari2-contact-cta .ari2-contact-info-item a:hover {
	color: var(--wp--preset--color--accent) !important;
}

/* Dark section form overrides */
.dark-section .ari2-form-input,
.dark-section--gradient .ari2-form-input {
	background: var(--ari2-dark-card-bg);
	border-color: var(--ari2-dark-card-border);
	color: var(--ari2-dark-section-text);
}

.dark-section .ari2-form-input:focus,
.dark-section--gradient .ari2-form-input:focus {
	border-color: var(--wp--preset--color--accent);
	box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.dark-section .ari2-form-input::placeholder,
.dark-section--gradient .ari2-form-input::placeholder {
	color: var(--ari2-dark-placeholder);
}

.dark-section .ari2-form-label,
.dark-section--gradient .ari2-form-label {
	color: var(--ari2-dark-section-muted);
}

.dark-section .ari2-form-disclaimer,
.dark-section--gradient .ari2-form-disclaimer {
	color: var(--ari2-dark-disclaimer);
}

/* Dark section gradient background */
.dark-section--gradient {
	background: var(--ari2-hero-bg);
}

.dark-section,
.ari2-dark-section {
	background-color: var(--ari2-dark-section-bg);
	color: var(--ari2-dark-section-text);
}

.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4,
.dark-section h5,
.dark-section h6,
.ari2-dark-section h1,
.ari2-dark-section h2,
.ari2-dark-section h3,
.ari2-dark-section h4,
.ari2-dark-section h5,
.ari2-dark-section h6 {
	color: var(--ari2-dark-section-text);
}

.dark-section p,
.ari2-dark-section p {
	color: var(--ari2-dark-section-muted);
}

.dark-section a:not(.ari2-btn),
.ari2-dark-section a:not(.ari2-btn) {
	color: var(--ari2-dark-section-link);
}

.dark-section a:not(.ari2-btn):hover,
.ari2-dark-section a:not(.ari2-btn):hover {
	color: var(--ari2-dark-section-link-hover);
}

/* Gutenberg dark utility classes remain theme-aware in light mode & editor. */
html[data-theme="light"] .has-dark-background-color,
html[data-theme="light"] .has-dark-2-background-color,
html:not([data-theme]) .has-dark-background-color,
html:not([data-theme]) .has-dark-2-background-color {
	background-color: var(--ari2-dark-section-bg) !important;
}

html[data-theme="light"] .has-base-color,
html[data-theme="light"] .has-white-color,
html:not([data-theme]) .has-base-color,
html:not([data-theme]) .has-white-color {
	color: var(--ari2-dark-section-text) !important;
}

html[data-theme="light"] .ari2-hero .has-base-color,
html[data-theme="light"] .ari2-hero .has-white-color,
html[data-theme="light"] .ari2-page-hero-dark:not(.ari2-page-hero-themeable) .has-base-color,
html[data-theme="light"] .ari2-page-hero-dark:not(.ari2-page-hero-themeable) .has-white-color,
html[data-theme="light"] .ari2-discover-hero .has-base-color,
html[data-theme="light"] .ari2-discover-hero .has-white-color,
html[data-theme="light"] .ari2-newsletter-hero .has-base-color,
html[data-theme="light"] .ari2-newsletter-hero .has-white-color,
html[data-theme="light"] .ari2-single-hero .has-base-color,
html[data-theme="light"] .ari2-single-hero .has-white-color,
html[data-theme="light"] .ari2-oilgas-hero .has-base-color,
html[data-theme="light"] .ari2-oilgas-hero .has-white-color {
	color: #fff !important;
}

html[data-theme="light"] .ari2-hero__title {
	color: #fff !important;
}

/* ---------- Dark section text overrides for light mode & editor ---------- */
/* Override inline white text on headings/paragraphs in dark-section containers
   that become light-background in light mode. Also applies in block editor
   where html has no data-theme attribute. Exclude hero sections (always dark). */
html[data-theme="light"] .dark-section:not(.ari2-hero):not(.ari2-page-hero-dark) h1,
html[data-theme="light"] .dark-section:not(.ari2-hero):not(.ari2-page-hero-dark) h2,
html[data-theme="light"] .dark-section:not(.ari2-hero):not(.ari2-page-hero-dark) h3,
html[data-theme="light"] .dark-section:not(.ari2-hero):not(.ari2-page-hero-dark) h4,
html[data-theme="light"] .dark-section:not(.ari2-hero):not(.ari2-page-hero-dark) h5,
html[data-theme="light"] .dark-section:not(.ari2-hero):not(.ari2-page-hero-dark) h6,
html[data-theme="light"] .dark-section:not(.ari2-hero):not(.ari2-page-hero-dark) p,
html[data-theme="light"] .dark-section:not(.ari2-hero):not(.ari2-page-hero-dark) li,
html:not([data-theme]) .dark-section:not(.ari2-hero):not(.ari2-page-hero-dark) h1,
html:not([data-theme]) .dark-section:not(.ari2-hero):not(.ari2-page-hero-dark) h2,
html:not([data-theme]) .dark-section:not(.ari2-hero):not(.ari2-page-hero-dark) h3,
html:not([data-theme]) .dark-section:not(.ari2-hero):not(.ari2-page-hero-dark) h4,
html:not([data-theme]) .dark-section:not(.ari2-hero):not(.ari2-page-hero-dark) h5,
html:not([data-theme]) .dark-section:not(.ari2-hero):not(.ari2-page-hero-dark) h6,
html:not([data-theme]) .dark-section:not(.ari2-hero):not(.ari2-page-hero-dark) p,
html:not([data-theme]) .dark-section:not(.ari2-hero):not(.ari2-page-hero-dark) li {
	color: var(--ari2-dark-section-text) !important;
}

html[data-theme="light"] .dark-section .ari2-product-detail__media,
html:not([data-theme]) .dark-section .ari2-product-detail__media {
	background: var(--ari2-dark-card-bg) !important;
	border-color: var(--ari2-dark-card-border) !important;
}

/* ---------- Heroes: Always Dark (even in light mode) ---------- */
html[data-theme="light"] .ari2-page-hero-dark:not(.ari2-page-hero-themeable) {
	background-color: #0a1628 !important;
}

html[data-theme="light"] .ari2-page-hero-dark:not(.ari2-page-hero-themeable) .ari2-discover-hero__bg {
	background: linear-gradient(180deg, #0A1628 0%, #0F2137 60%, #0A1628 100%);
}

html[data-theme="light"] .ari2-page-hero-dark:not(.ari2-page-hero-themeable) .ari2-discover-hero__gradient {
	background:
		radial-gradient(ellipse 80% 60% at 50% 40%, rgba(14, 165, 233, 0.12) 0%, transparent 70%),
		radial-gradient(ellipse 60% 50% at 30% 60%, rgba(103, 232, 249, 0.06) 0%, transparent 60%);
}

html[data-theme="light"] .ari2-page-hero-dark:not(.ari2-page-hero-themeable) .ari2-discover-hero__grid-pattern {
	background-image:
		linear-gradient(rgba(14, 165, 233, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(14, 165, 233, 0.04) 1px, transparent 1px);
}

/* Themeable heroes switch to true light treatment in light mode. */
html[data-theme="light"] .ari2-page-hero-dark.ari2-page-hero-themeable {
	background-color: transparent !important;
}

/* Themeable cover heroes (About/Why/Discover/Newsletter patterns) */
html[data-theme="light"] .ari2-page-hero-dark.ari2-page-hero-themeable .wp-block-cover__background {
	background: linear-gradient(180deg, #edf7fe 0%, #dff0fb 58%, #f8fafb 100%) !important;
	opacity: 1 !important;
}

html[data-theme="light"] .ari2-page-hero-dark.ari2-page-hero-themeable .wp-block-cover__inner-container h1,
html[data-theme="light"] .ari2-page-hero-dark.ari2-page-hero-themeable .wp-block-cover__inner-container h2,
html[data-theme="light"] .ari2-page-hero-dark.ari2-page-hero-themeable .wp-block-cover__inner-container h3,
html[data-theme="light"] .ari2-page-hero-dark.ari2-page-hero-themeable .wp-block-cover__inner-container p,
html[data-theme="light"] .ari2-page-hero-dark.ari2-page-hero-themeable .wp-block-cover__inner-container span {
	color: var(--ari2-text-primary) !important;
}

html[data-theme="light"] .ari2-page-hero-dark.ari2-page-hero-themeable .wp-block-cover__inner-container .ari2-label {
	color: var(--wp--preset--color--accent) !important;
}

html[data-theme="light"] .ari2-page-hero-dark.ari2-page-hero-themeable .wp-block-cover__inner-container .accent-gradient {
	background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

html[data-theme="light"] .ari2-page-hero-dark.ari2-page-hero-themeable .ari2-discover-hero__bg {
	background: linear-gradient(180deg, #edf7fe 0%, #dff0fb 58%, #f8fafb 100%);
}

html[data-theme="light"] .ari2-page-hero-dark.ari2-page-hero-themeable .ari2-discover-hero__gradient {
	background:
		radial-gradient(ellipse 80% 60% at 50% 40%, rgba(14, 165, 233, 0.2) 0%, transparent 70%),
		radial-gradient(ellipse 60% 50% at 30% 60%, rgba(56, 189, 248, 0.11) 0%, transparent 60%);
}

html[data-theme="light"] .ari2-page-hero-dark.ari2-page-hero-themeable .ari2-discover-hero__grid-pattern {
	background-image:
		linear-gradient(rgba(14, 165, 233, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(14, 165, 233, 0.08) 1px, transparent 1px);
}

html[data-theme="light"] .ari2-page-hero-dark.ari2-page-hero-themeable .ari2-discover-hero__content h1,
html[data-theme="light"] .ari2-page-hero-dark.ari2-page-hero-themeable .ari2-discover-hero__content h2,
html[data-theme="light"] .ari2-page-hero-dark.ari2-page-hero-themeable .ari2-discover-hero__content h3,
html[data-theme="light"] .ari2-page-hero-dark.ari2-page-hero-themeable .ari2-discover-hero__content p,
html[data-theme="light"] .ari2-page-hero-dark.ari2-page-hero-themeable .ari2-discover-hero__content span {
	color: var(--ari2-text-primary) !important;
}

html[data-theme="light"] .ari2-page-hero-dark.ari2-page-hero-themeable .ari2-discover-hero__content .ari2-label {
	color: var(--wp--preset--color--accent) !important;
}

html[data-theme="light"] .ari2-page-hero-dark.ari2-page-hero-themeable .ari2-discover-hero__content .has-base-color,
html[data-theme="light"] .ari2-page-hero-dark.ari2-page-hero-themeable .ari2-discover-hero__content .has-white-color {
	color: var(--ari2-text-primary) !important;
}

html[data-theme="light"] .ari2-page-hero-dark.ari2-page-hero-themeable .ari2-discover-hero__scroll rect {
	stroke: rgba(10, 22, 40, 0.28) !important;
}

html[data-theme="light"] .ari2-page-hero-dark.ari2-page-hero-themeable a.ari2-btn--outline-light {
	color: var(--ari2-text-primary) !important;
	border-color: var(--ari2-border-strong) !important;
	background: rgba(255, 255, 255, 0.72) !important;
}

html[data-theme="light"] .ari2-page-hero-dark.ari2-page-hero-themeable a.ari2-btn--outline-light:hover {
	background: rgba(10, 22, 40, 0.08) !important;
	border-color: var(--ari2-text-primary) !important;
}

html[data-theme="light"] body.page-template-page-why .ari2-page-hero-dark,
html[data-theme="light"] body.page-template-page-newsletter .ari2-page-hero-dark,
html[data-theme="light"] body.page-template-page-about .ari2-page-hero-dark,
html[data-theme="light"] body.page-template-page-discover .ari2-page-hero-dark {
	background-color: transparent !important;
}

html[data-theme="light"] body.page-template-page-why .ari2-page-hero-dark .ari2-discover-hero__bg,
html[data-theme="light"] body.page-template-page-newsletter .ari2-page-hero-dark .ari2-discover-hero__bg,
html[data-theme="light"] body.page-template-page-about .ari2-page-hero-dark .ari2-discover-hero__bg,
html[data-theme="light"] body.page-template-page-discover .ari2-page-hero-dark .ari2-discover-hero__bg {
	background: linear-gradient(180deg, #edf7fe 0%, #dff0fb 58%, #f8fafb 100%);
}

html[data-theme="light"] body.page-template-page-why .ari2-page-hero-dark .ari2-discover-hero__gradient,
html[data-theme="light"] body.page-template-page-newsletter .ari2-page-hero-dark .ari2-discover-hero__gradient,
html[data-theme="light"] body.page-template-page-about .ari2-page-hero-dark .ari2-discover-hero__gradient,
html[data-theme="light"] body.page-template-page-discover .ari2-page-hero-dark .ari2-discover-hero__gradient {
	background:
		radial-gradient(ellipse 80% 60% at 50% 40%, rgba(14, 165, 233, 0.2) 0%, transparent 70%),
		radial-gradient(ellipse 60% 50% at 30% 60%, rgba(56, 189, 248, 0.11) 0%, transparent 60%);
}

html[data-theme="light"] body.page-template-page-why .ari2-page-hero-dark .ari2-discover-hero__grid-pattern,
html[data-theme="light"] body.page-template-page-newsletter .ari2-page-hero-dark .ari2-discover-hero__grid-pattern,
html[data-theme="light"] body.page-template-page-about .ari2-page-hero-dark .ari2-discover-hero__grid-pattern,
html[data-theme="light"] body.page-template-page-discover .ari2-page-hero-dark .ari2-discover-hero__grid-pattern {
	background-image:
		linear-gradient(rgba(14, 165, 233, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(14, 165, 233, 0.08) 1px, transparent 1px);
}

html[data-theme="light"] body.page-template-page-why .ari2-page-hero-dark .ari2-discover-hero__content h1,
html[data-theme="light"] body.page-template-page-why .ari2-page-hero-dark .ari2-discover-hero__content h2,
html[data-theme="light"] body.page-template-page-why .ari2-page-hero-dark .ari2-discover-hero__content h3,
html[data-theme="light"] body.page-template-page-why .ari2-page-hero-dark .ari2-discover-hero__content p,
html[data-theme="light"] body.page-template-page-why .ari2-page-hero-dark .ari2-discover-hero__content span,
html[data-theme="light"] body.page-template-page-newsletter .ari2-page-hero-dark .ari2-discover-hero__content h1,
html[data-theme="light"] body.page-template-page-newsletter .ari2-page-hero-dark .ari2-discover-hero__content h2,
html[data-theme="light"] body.page-template-page-newsletter .ari2-page-hero-dark .ari2-discover-hero__content h3,
html[data-theme="light"] body.page-template-page-newsletter .ari2-page-hero-dark .ari2-discover-hero__content p,
html[data-theme="light"] body.page-template-page-newsletter .ari2-page-hero-dark .ari2-discover-hero__content span,
html[data-theme="light"] body.page-template-page-about .ari2-page-hero-dark .ari2-discover-hero__content h1,
html[data-theme="light"] body.page-template-page-about .ari2-page-hero-dark .ari2-discover-hero__content h2,
html[data-theme="light"] body.page-template-page-about .ari2-page-hero-dark .ari2-discover-hero__content h3,
html[data-theme="light"] body.page-template-page-about .ari2-page-hero-dark .ari2-discover-hero__content p,
html[data-theme="light"] body.page-template-page-about .ari2-page-hero-dark .ari2-discover-hero__content span,
html[data-theme="light"] body.page-template-page-discover .ari2-page-hero-dark .ari2-discover-hero__content h1,
html[data-theme="light"] body.page-template-page-discover .ari2-page-hero-dark .ari2-discover-hero__content h2,
html[data-theme="light"] body.page-template-page-discover .ari2-page-hero-dark .ari2-discover-hero__content h3,
html[data-theme="light"] body.page-template-page-discover .ari2-page-hero-dark .ari2-discover-hero__content p,
html[data-theme="light"] body.page-template-page-discover .ari2-page-hero-dark .ari2-discover-hero__content span {
	color: var(--ari2-text-primary) !important;
}

html[data-theme="light"] body.page-template-page-why .ari2-page-hero-dark .ari2-discover-hero__content .ari2-label,
html[data-theme="light"] body.page-template-page-newsletter .ari2-page-hero-dark .ari2-discover-hero__content .ari2-label,
html[data-theme="light"] body.page-template-page-about .ari2-page-hero-dark .ari2-discover-hero__content .ari2-label,
html[data-theme="light"] body.page-template-page-discover .ari2-page-hero-dark .ari2-discover-hero__content .ari2-label {
	color: var(--wp--preset--color--accent) !important;
}

html[data-theme="light"] body.page-template-page-why .ari2-page-hero-dark a.ari2-btn--outline-light,
html[data-theme="light"] body.page-template-page-newsletter .ari2-page-hero-dark a.ari2-btn--outline-light,
html[data-theme="light"] body.page-template-page-about .ari2-page-hero-dark a.ari2-btn--outline-light,
html[data-theme="light"] body.page-template-page-discover .ari2-page-hero-dark a.ari2-btn--outline-light {
	color: var(--ari2-text-primary) !important;
	border-color: var(--ari2-border-strong) !important;
	background: rgba(255, 255, 255, 0.72) !important;
}

html[data-theme="light"] body.page-template-page-why .ari2-page-hero-dark a.ari2-btn--outline-light:hover,
html[data-theme="light"] body.page-template-page-newsletter .ari2-page-hero-dark a.ari2-btn--outline-light:hover,
html[data-theme="light"] body.page-template-page-about .ari2-page-hero-dark a.ari2-btn--outline-light:hover,
html[data-theme="light"] body.page-template-page-discover .ari2-page-hero-dark a.ari2-btn--outline-light:hover {
	background: rgba(10, 22, 40, 0.08) !important;
	border-color: var(--ari2-text-primary) !important;
}

html[data-theme="light"] body.page-template-page-why .ari2-page-hero-dark .ari2-discover-hero__scroll rect,
html[data-theme="light"] body.page-template-page-newsletter .ari2-page-hero-dark .ari2-discover-hero__scroll rect,
html[data-theme="light"] body.page-template-page-about .ari2-page-hero-dark .ari2-discover-hero__scroll rect,
html[data-theme="light"] body.page-template-page-discover .ari2-page-hero-dark .ari2-discover-hero__scroll rect {
	stroke: rgba(10, 22, 40, 0.28) !important;
}

html[data-theme="light"] .ari2-oilgas-hero__overlay {
	background: linear-gradient(180deg, rgba(10,22,40,0.7) 0%, rgba(10,22,40,0.55) 40%, rgba(10,22,40,0.8) 100%);
}

/* Noise overlay for dark sections */
.dark-section--has-noise {
	position: relative;
}

.dark-section--has-noise::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url('../images/noise-texture.png');
	background-repeat: repeat;
	opacity: 0.03;
	pointer-events: none;
	z-index: 0;
}

.dark-section--has-noise > * {
	position: relative;
	z-index: 1;
}

/* ---------- Team Profile (Single) ---------- */
.ari2-team-profile {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 3rem;
	align-items: start;
}

.ari2-team-profile__image {
	border-radius: 12px;
	overflow: hidden;
	border: 3px solid var(--wp--preset--color--accent);
}

.ari2-team-profile__photo {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 1;
	object-fit: cover;
}

.ari2-team-profile__name {
	font-family: var(--wp--preset--font-family--outfit);
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	color: var(--wp--preset--color--contrast);
	margin: 0 0 0.5rem;
}

.ari2-team-profile__position {
	font-size: 1rem;
	font-weight: 600;
	color: var(--wp--preset--color--accent);
	margin: 0 0 1.5rem;
}

.ari2-team-profile__bio {
	font-size: 1rem;
	line-height: 1.8;
	color: var(--wp--preset--color--contrast-muted);
	margin: 0 0 2rem;
}

.ari2-team-profile__links {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}

/* ---------- Page Hero (shared for archive/search) ---------- */
.ari2-page-hero {
	position: relative;
}

/* ---------- Search Form Styling ---------- */
.ari2-search-form .wp-block-search__inside-wrapper {
	border: 1px solid var(--wp--preset--color--contrast-faint);
	border-radius: 6px;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ari2-search-form .wp-block-search__inside-wrapper:focus-within {
	border-color: var(--wp--preset--color--accent);
	box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.ari2-search-form .wp-block-search__input {
	border: none;
	padding: 0.875rem 1rem;
	font-size: 1rem;
}

.ari2-search-form .wp-block-search__button {
	background: var(--wp--preset--color--accent);
	border: none;
	color: #fff;
	padding: 0 1.25rem;
	cursor: pointer;
	transition: background 0.2s ease;
}

.ari2-search-form .wp-block-search__button:hover {
	background: var(--wp--preset--color--accent-light);
}

/* ---------- Search Results ---------- */
.ari2-search-result {
	transition: background-color 0.2s ease;
}

.ari2-search-result:hover {
	background: var(--wp--preset--color--base-2);
}

/* ---------- Pagination Styling ---------- */
.wp-block-query-pagination {
	gap: 0.5rem;
}

.wp-block-query-pagination-numbers .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.5rem;
	border-radius: 6px;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--wp--preset--color--contrast-muted);
	text-decoration: none;
	transition: all 0.2s ease;
}

.wp-block-query-pagination-numbers .page-numbers:hover {
	background: var(--wp--preset--color--base-2);
	color: var(--wp--preset--color--accent);
}

.wp-block-query-pagination-numbers .page-numbers.current {
	background: var(--wp--preset--color--accent);
	color: #fff;
}

.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--wp--preset--color--accent);
	text-decoration: none;
	transition: color 0.2s ease;
}

.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-next:hover {
	color: var(--wp--preset--color--accent-light);
}

/* ---------- Interior page product detail ---------- */
.ari2-product-detail {
	margin-bottom: 0;
}

.ari2-product-detail__media video {
	width: 100%;
	display: block;
}

.ari2-product-detail__media img {
	width: 100%;
	display: block;
	height: auto;
}

/* ---------- Discover Page Hero ---------- */
.ari2-discover-hero {
	position: relative;
	min-height: 80vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: clamp(8rem, 20vh, 14rem) var(--wp--preset--spacing--30) clamp(4rem, 8vh, 6rem);
	overflow: hidden;
}

.ari2-discover-hero__bg {
	position: absolute;
	inset: 0;
	background: var(--ari2-hero-bg);
}

.ari2-discover-hero__gradient {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 60% at 50% 40%, var(--ari2-hero-radial-1) 0%, transparent 70%),
		radial-gradient(ellipse 60% 50% at 30% 60%, var(--ari2-hero-radial-2) 0%, transparent 60%);
}

.ari2-discover-hero__grid-pattern {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(var(--ari2-hero-grid-color) 1px, transparent 1px),
		linear-gradient(90deg, var(--ari2-hero-grid-color) 1px, transparent 1px);
	background-size: 60px 60px;
	mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
}

.ari2-discover-hero--ripples .ari2-rain-ripples {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow: hidden;
	pointer-events: none;
}

.ari2-discover-hero--ripples .ari2-ripple {
	position: absolute;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	border: 1px solid rgba(103, 232, 249, 0.32);
	box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.18), 0 0 30px rgba(14, 165, 233, 0.18);
	opacity: 0;
	will-change: transform, opacity;
}

.ari2-discover-hero__content {
	position: relative;
	z-index: 2;
	max-width: 800px;
}

.ari2-discover-hero__scroll {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	animation: ari2-hero-pulse 2s ease-in-out infinite;
}

.ari2-discover-hero__scroll-dot {
	animation: ari2-scroll-dot 2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
	.ari2-discover-hero--ripples .ari2-rain-ripples {
		display: none;
	}
}

/* ---------- Oil & Gas Hero (Fixed BG Image) ---------- */
.ari2-oilgas-hero {
	position: relative;
	min-height: 90vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: clamp(8rem, 20vh, 14rem) var(--wp--preset--spacing--30) clamp(4rem, 8vh, 6rem);
	overflow: hidden;
}

.ari2-oilgas-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

.ari2-oilgas-hero__overlay {
	position: absolute;
	inset: 0;
	background: var(--ari2-oilgas-overlay);
}

.ari2-oilgas-hero__content {
	position: relative;
	z-index: 2;
	max-width: 800px;
}

/* ---------- WBD Media Carousel (video → photos loop) ---------- */
.ari2-wbd-carousel {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	background: var(--ari2-dark-card-bg);
	border: 1px solid var(--ari2-dark-card-border);
}

.ari2-wbd-carousel__item {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}

.ari2-wbd-carousel__item:first-child {
	position: relative;
}

.ari2-wbd-carousel__item.is-active {
	opacity: 1;
	z-index: 2;
}

.ari2-wbd-carousel__item video,
.ari2-wbd-carousel__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ari2-wbd-carousel__item video {
	aspect-ratio: 16 / 10;
}

.ari2-wbd-carousel__item img {
	aspect-ratio: 16 / 10;
}

/* ---------- About Founder Image ---------- */
.ari2-founder-image {
	width: min(100%, 224px);
	margin: 0 auto 1.25rem;
}

.ari2-founder-image img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center 18%;
	border-radius: 50%;
}

@media (max-width: 1024px) {
	.ari2-oilgas-hero__bg {
		background-attachment: scroll;
	}
}

@media (max-width: 768px) {
	.ari2-oilgas-hero {
		min-height: 85vh;
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}
}

/* ---------- Discover Product Sections ---------- */
.ari2-product-section {
	padding: var(--wp--preset--spacing--80) var(--wp--preset--spacing--30);
	background: #FFFFFF;
	scroll-margin-top: 120px;
}

.ari2-product-section.dark-section {
	background: var(--ari2-dark-section-bg);
}

.ari2-product-section__inner {
	max-width: 1200px;
	margin: 0 auto;
}

.ari2-product-detail {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.ari2-product-detail--flipped .ari2-product-detail__media {
	order: 2;
}

.ari2-product-detail__media {
	border-radius: 16px;
	overflow: hidden;
	background: #0A1628;
	border: 1px solid rgba(14, 165, 233, 0.1);
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
	transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.dark-section .ari2-product-detail__media {
	background: var(--ari2-dark-card-bg);
	border-color: var(--ari2-dark-card-border);
}

.ari2-product-detail__media video {
	width: 100%;
	display: block;
}

.ari2-product-detail__media:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 60px rgba(0, 0, 0, 0.2);
}

.ari2-product-detail__badge {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	background: rgba(14, 165, 233, 0.08);
	padding: 0.3rem 0.875rem;
	border-radius: 6px;
	margin-bottom: 1.25rem;
}

.dark-section .ari2-product-detail__badge {
	background: rgba(14, 165, 233, 0.12);
}

.ari2-product-detail__title {
	font-family: var(--wp--preset--font-family--outfit);
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 700;
	color: var(--wp--preset--color--contrast);
	margin: 0 0 1rem;
	line-height: 1.15;
}

.dark-section .ari2-product-detail__title {
	color: var(--ari2-dark-section-text);
}

.ari2-product-detail__desc {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--wp--preset--color--contrast-muted);
	margin-bottom: 1.75rem;
}

.dark-section .ari2-product-detail__desc {
	color: var(--ari2-dark-section-muted);
}

.ari2-product-detail__features {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
}

.ari2-product-detail__features li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.5rem 0;
	font-size: 0.9375rem;
	color: var(--wp--preset--color--contrast-muted);
}

.dark-section .ari2-product-detail__features li {
	color: var(--ari2-dark-section-muted);
}

.ari2-product-detail__check {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	flex-shrink: 0;
}

/* Dark mode: all product sections become dark */
html:not([data-theme="light"]) .ari2-product-section {
	background: var(--ari2-dark-section-bg);
}

html:not([data-theme="light"]) .ari2-product-section.dark-section {
	background: var(--wp--preset--color--dark-2);
}

html:not([data-theme="light"]) .ari2-product-detail__title {
	color: var(--ari2-dark-section-text);
}

html:not([data-theme="light"]) .ari2-product-detail__desc {
	color: var(--ari2-dark-section-muted);
}

html:not([data-theme="light"]) .ari2-product-detail__features li {
	color: var(--ari2-dark-section-muted);
}

html:not([data-theme="light"]) .ari2-product-detail__media {
	background: var(--ari2-dark-card-bg);
	border-color: var(--ari2-dark-card-border);
}

@media (max-width: 768px) {
	.ari2-product-detail {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.ari2-product-detail--flipped .ari2-product-detail__media {
		order: 0;
	}
}

/* ---------- Discover CTA Section ---------- */
.ari2-discover-cta {
	position: relative;
	overflow: hidden;
}

.ari2-discover-cta::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
	pointer-events: none;
}

.ari2-discover-cta__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0.5rem;
}

.ari2-discover-cta__icon svg {
	filter: drop-shadow(0 0 20px rgba(14, 165, 233, 0.3));
}

/* ---------- Why Page Pillar Cards ---------- */
.ari2-why-pillar {
	padding: 2.5rem 2rem;
	background: var(--ari2-dark-card-bg);
	border: 1px solid var(--ari2-dark-card-border);
	border-radius: 20px;
	transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.ari2-why-pillar h3 {
	color: var(--ari2-dark-section-text);
	margin-bottom: 0.75rem;
}

.ari2-why-pillar p {
	color: var(--ari2-dark-section-muted);
	line-height: 1.7;
}

.ari2-why-pillar:hover {
	transform: translateY(-6px);
	border-color: rgba(14, 165, 233, 0.3);
	box-shadow: 0 20px 60px rgba(14, 165, 233, 0.1), 0 0 40px rgba(14, 165, 233, 0.05);
}

/* ---------- Newsletter Hero — lighter blue variant ---------- */
.ari2-newsletter-hero {
	position: relative;
	min-height: 80vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: clamp(8rem, 20vh, 14rem) var(--wp--preset--spacing--30) clamp(4rem, 8vh, 6rem);
	overflow: hidden;
}

.ari2-newsletter-hero__bg {
	position: absolute;
	inset: 0;
	background: var(--ari2-hero-bg);
}

.ari2-newsletter-hero__gradient {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 60% at 50% 40%, var(--ari2-hero-radial-1) 0%, transparent 70%),
		radial-gradient(ellipse 60% 50% at 70% 60%, var(--ari2-hero-radial-2) 0%, transparent 60%);
}

/* ---------- Newsletter Dark Post Cards ---------- */
.ari2-post-card--dark {
	background: var(--ari2-dark-card-bg);
	border: 1px solid var(--ari2-dark-card-border);
	border-bottom: 3px solid transparent;
	transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.ari2-post-card--dark:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 60px rgba(14, 165, 233, 0.12), 0 0 40px rgba(14, 165, 233, 0.06);
	border-bottom-color: #0EA5E9;
}

.ari2-post-card--dark .wp-block-post-featured-image img {
	transition: transform 0.5s ease;
}

.ari2-post-card--dark:hover .wp-block-post-featured-image img {
	transform: scale(1.05);
}

.ari2-post-card--dark .wp-block-post-excerpt__more-link {
	display: none;
}

/* Read Article arrow hover */
.ari2-post-card--dark:hover p a span {
	transform: translateX(4px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.ari2-team-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ari2-bento__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ari2-bento__item--large {
		grid-column: span 1;
	}

	.ari2-contact-split {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.ari2-steps {
		grid-template-columns: 1fr;
		max-width: 480px;
	}


	/* Why page pillar cards */
	.ari2-why-pillars {
		grid-template-columns: 1fr !important;
		max-width: 480px;
		margin-left: auto;
		margin-right: auto;
	}

	/* About page founder grid */
	.ari2-about-founder {
		grid-template-columns: 1fr !important;
		gap: 2.5rem !important;
		text-align: center;
	}

	/* Interior page product detail grids */
	.ari2-product-detail {
		grid-template-columns: 1fr !important;
		gap: 2rem !important;
	}

	.ari2-product-detail__media {
		order: 0 !important;
	}
}

@media (max-width: 768px) {
	.ari2-header {
		padding: 0.75rem 1rem;
	}

	.ari2-header__inner {
		padding: 0.5rem 0.75rem;
	}

	.ari2-header__logo {
		margin-right: 0;
	}

	.ari2-header__logo .ari2-site-logo img,
	.ari2-header__logo .ari2-site-logo-image img {
		width: 112px;
		min-width: 112px;
	}

	.ari2-header__cta {
		margin-left: auto;
		gap: 0.5rem;
	}

	.ari2-header__cta p {
		margin: 0;
		display: flex;
		align-items: center;
	}

	.ari2-header__cta .wp-block-buttons {
		display: none !important;
	}

	.ari2-hamburger {
		display: flex;
		padding: 6px;
	}

	.ari2-header__nav {
		display: none !important;
	}

	.ari2-header__cta .ari2-btn {
		display: none;
	}

	.ari2-team-grid {
		grid-template-columns: 1fr;
	}

	.ari2-team-card__overlay {
		opacity: 1;
	}

	.ari2-team-profile {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.ari2-team-profile__image {
		max-width: 200px;
		margin: 0 auto;
	}

	.ari2-team-profile__links {
		justify-content: center;
	}

	.ari2-footer__grid {
		flex-direction: column;
		gap: 2rem;
	}

	.ari2-stats__grid,
	.ari2-why-stats {
		grid-template-columns: 1fr !important;
		gap: 2rem !important;
	}

	.ari2-partners {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.ari2-hero__trusted {
		gap: 0.75rem;
		align-items: center;
	}

	.ari2-hero__trusted-logos {
		justify-content: center;
		flex-wrap: wrap;
		gap: 1.5rem;
	}

	.ari2-hero__trusted-logos img {
		max-height: 26px;
	}

	.ari2-hero__trusted-logos img:first-child {
		max-height: 38px;
	}

	.ari2-bento__grid {
		grid-template-columns: 1fr;
	}

	/* Collapse inline two-column grids used across page patterns. */
	.gsap-fade-up[style*="grid-template-columns: 1fr 1fr"] {
		grid-template-columns: 1fr !important;
		gap: 2rem !important;
	}

	/* Single post body responsive */
	.ari2-single__body h2 {
		margin-top: 2.5rem;
	}

	.ari2-single__body blockquote,
	.ari2-single__body .wp-block-quote {
		padding: 1rem 1.25rem;
		margin: 2rem 0;
	}
}

@media (max-width: 640px) {
	.ari2-post-grid {
		grid-template-columns: 1fr !important;
	}

	.ari2-product-card {
		flex: 0 0 90vw;
	}

	/* Tighter hero padding on small screens */
	.ari2-hero__content {
		padding-top: clamp(6rem, 18vh, 10rem);
		padding-bottom: clamp(2rem, 6vh, 4rem);
	}

	/* Hero buttons stack */
	.ari2-hero__actions {
		flex-direction: column;
		align-items: flex-start;
	}

	.ari2-product-scroll__track {
		grid-template-columns: 1fr;
	}

	/* Single post hero */
	.ari2-single__featured {
		min-height: 35vh;
	}

	/* Discover hero responsive */
	.ari2-discover-hero {
		min-height: 70vh;
		padding-top: clamp(7rem, 18vh, 10rem);
	}

	.ari2-discover-hero__scroll {
		display: none;
	}

	/* Newsletter hero responsive */
	.ari2-newsletter-hero {
		min-height: 70vh;
		padding-top: clamp(7rem, 18vh, 10rem);
	}

	/* Single post hero responsive */
	.ari2-single-hero {
		min-height: 50vh;
	}

	.ari2-single__featured-wide {
		margin-top: -2rem !important;
		margin-block-start: -2rem !important;
	}

}

/* ---------- Video Performance on Mobile ---------- */
@media (max-width: 768px) {
	/* Show poster, hide heavy video on very slow connections */
	video[preload="none"] {
		background: var(--ari2-dark-section-bg);
	}
}

/* ---------- Print Styles ---------- */
@media print {
	.ari2-header,
	.ari2-footer,
	.ari2-mobile-menu,
	.ari2-reading-progress,
	.ari2-hero__scroll-indicator {
		display: none !important;
	}

	.ari2-hero {
		min-height: auto;
	}

	.ari2-hero__video-bg {
		display: none;
	}

	body {
		color: #000;
		background: #fff;
	}
}
