/*
Theme Name: WPistic
Theme URI: https://wordpressistic.com/wpistic
Author: WordPressistic
Author URI: https://wordpressistic.com
Description: Multi-purpose, design-token-driven parent theme for premium WordPress builds. Brother Tours runs on the brother-tours child theme. Warm editorial design system with light/dark modes.
Version: 2.5.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wpistic
Tags: custom-colors, custom-menu, editor-style, block-patterns, translation-ready, light-mode, dark-mode
*/

/* Tokens live in assets/css/tokens.css (loaded first). This file is the base + global skeleton.
   New PDF components live in assets/css/components.css; per-template CSS in assets/css/pages.css. */

/* ===== RESET / BASE ===== */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 96px;
}

body {
	background: var(--bg);
	color: var(--ink);
	font-family: var(--body);
	font-size: var(--body-base, 17px);
	font-weight: 400;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
	transition: background-color .4s var(--ease), color .4s var(--ease);
}

/* Subtle film grain (mode-aware via --grain-opacity). */
body::before {
	content: '';
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	opacity: var(--grain-opacity);
	mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/></filter><rect width='180' height='180' filter='url(%23n)' opacity='.5'/></svg>");
}

[data-theme="dark"] body::before {
	mix-blend-mode: overlay;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color .2s;
}

a:hover {
	color: var(--gold);
}

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

ul {
	list-style: none;
}

strong,
b {
	font-weight: 600;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--serif);
	font-weight: 500;
	line-height: 1.08;
	color: var(--ink);
}

h1 em,
h2 em,
h3 em,
h4 em {
	font-style: italic;
	color: var(--gold-accent);
}

p {
	margin: 0 0 1.2rem;
}

p:last-child {
	margin-bottom: 0;
}

.wrap {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 40px;
	width: 100%;
}

.site-main {
	position: relative;
	z-index: 1;
}

.u-narrow {
	max-width: 900px;
}

.u-mt-l {
	margin-top: 44px;
}

.u-mb-l {
	margin-bottom: 44px;
}

/* ===== ACCESSIBILITY ===== */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 300;
	background: var(--gold);
	color: var(--on-gold);
	padding: .75rem 1rem;
	font-family: var(--mono);
	font-size: .72rem;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.skip-link:focus {
	left: .5rem;
	top: .5rem;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
	border-radius: 1px;
}

/* ===== EYEBROW ===== */
.eyebrow {
	font-family: var(--mono);
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--gold-ink);
	display: flex;
	align-items: center;
	gap: 14px;
}

.eyebrow::before {
	content: '';
	width: 30px;
	height: 1px;
	background: currentColor;
	opacity: .8;
	flex-shrink: 0;
}

.eyebrow.center {
	justify-content: center;
}

.eyebrow.center::after {
	content: '';
	width: 30px;
	height: 1px;
	background: currentColor;
	opacity: .8;
	flex-shrink: 0;
}

.eyebrow.plain::before,
.eyebrow.plain::after {
	display: none;
}

.on-dark .eyebrow,
.eyebrow.on-dark {
	color: var(--gold-soft);
}

/* ===== BUTTONS ===== */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--mono);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	padding: 15px 28px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	cursor: pointer;
	transition: all .3s var(--ease);
	background: transparent;
	min-height: 46px;
	line-height: 1;
}

.btn .arr {
	transition: transform .3s var(--ease);
}

.btn:hover .arr {
	transform: translateX(4px);
}

.btn-solid {
	background: var(--gold);
	color: var(--on-gold);
	border-color: var(--gold);
}

.btn-solid:hover {
	background: var(--surface-dark);
	border-color: var(--surface-dark);
	color: var(--on-dark);
}

.btn-navy {
	background: var(--surface-dark);
	color: var(--on-dark);
	border-color: var(--surface-dark);
}

.btn-navy:hover {
	background: var(--surface-dark-2);
	color: var(--gold-soft);
}

.btn-green {
	background: var(--green);
	color: var(--on-green);
	border-color: var(--green);
}

.btn-green:hover {
	background: var(--green-bright);
	border-color: var(--green-bright);
	color: var(--on-green);
}

.btn-ghost {
	color: var(--ink);
	border-color: var(--rule-strong);
}

.btn-ghost:hover {
	border-color: var(--gold);
	color: var(--gold);
}

.btn-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--mono);
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gold-ink);
	border-bottom: 1px solid currentColor;
	padding-bottom: 3px;
}

.on-dark .btn-link,
.btn-link.on-dark {
	color: var(--gold-soft);
}

.btn-link .arr {
	transition: transform .3s var(--ease);
}

.btn-link:hover .arr {
	transform: translateX(4px);
}

/* On dark/navy surfaces */
.on-dark .btn-ghost,
.btn-ghost.on-dark {
	color: var(--on-dark);
	border-color: var(--rule-on-dark-strong);
}

.on-dark .btn-ghost:hover,
.btn-ghost.on-dark:hover {
	border-color: var(--gold-soft);
	color: var(--gold-soft);
}

/* ===== HEADER : utility bar + nav ===== */
.site-head {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
}

.util-bar {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 20px;
	padding: 8px 48px;
	font-family: var(--mono);
	font-size: .62rem;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
	background: var(--surface-dark-2);
	color: var(--on-dark-soft);
	border-bottom: 1px solid var(--rule-on-dark);
	transition: opacity .3s, transform .3s;
}

.util-bar a {
	color: var(--on-dark-soft);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.util-bar a:hover {
	color: var(--gold-soft);
}

.util-bar .util-locale {
	margin-right: auto;
	opacity: .8;
}

.util-bar .util-cta {
	color: var(--gold-soft);
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 48px;
	transition: background .4s, padding .3s, box-shadow .3s, color .3s;
	color: var(--ink);
}

.nav-logo {
	font-family: var(--serif);
	font-size: 21px;
	font-weight: 600;
	letter-spacing: .01em;
	color: inherit;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.nav-logo em {
	font-style: italic;
	color: var(--gold);
}

.nav-logo img {
	max-height: 42px;
	width: auto;
}

.nav-right {
	display: flex;
	align-items: center;
	gap: 28px;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 26px;
}

.nav-links li {
	margin: 0;
}

.nav-links a {
	font-family: var(--mono);
	font-size: .66rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: inherit;
	opacity: .82;
	transition: opacity .2s, color .2s;
	position: relative;
	padding: 4px 0;
}

.nav-links a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 100%;
	bottom: -2px;
	height: 1px;
	background: var(--gold);
	transition: right .3s var(--ease);
}

.nav-links a:hover,
.nav-links .current-menu-item>a {
	opacity: 1;
	color: var(--gold);
}

.nav-links a:hover::after,
.nav-links .current-menu-item>a::after {
	right: 0;
}

.nav-cta {
	font-family: var(--mono);
	font-size: .66rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	background: var(--gold);
	color: var(--on-gold);
	padding: 11px 22px;
	border: 1px solid var(--gold);
	border-radius: var(--radius);
	cursor: pointer;
	transition: all .25s;
	min-height: 42px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.nav-cta:hover {
	background: var(--gold-soft);
	border-color: var(--gold-soft);
	color: var(--surface-dark);
}

/* Theme toggle */
.theme-toggle {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid var(--rule-strong);
	background: transparent;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: border-color .25s, color .25s, transform .4s var(--ease);
}

.theme-toggle:hover {
	border-color: var(--gold);
	color: var(--gold);
	transform: rotate(18deg);
}

.theme-toggle svg {
	width: 18px;
	height: 18px;
}

.theme-toggle .icon-moon {
	display: none;
}

.theme-toggle .icon-sun {
	display: block;
}

[data-theme="dark"] .theme-toggle .icon-sun {
	display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
	display: block;
}

/* Hamburger */
.burger {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	min-width: 46px;
	min-height: 46px;
	color: inherit;
}

.burger span {
	display: block;
	width: 24px;
	height: 2px;
	background: currentColor;
	margin: 5px auto;
	transition: .3s var(--ease);
	border-radius: 2px;
}

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

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

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

/* Over a dark hero (default top state): light header text, transparent bg. */
body.has-dark-hero .nav {
	color: var(--on-dark);
}

body.has-dark-hero .nav .theme-toggle {
	border-color: var(--rule-on-dark-strong);
}

/* Scrolled / solid state (all pages): solid surface, themed text. */
.site-head.scrolled .util-bar {
	display: none;
}

.site-head.scrolled .nav,
body:not(.has-dark-hero) .nav {
	background: color-mix(in srgb, var(--bg) 90%, transparent);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	color: var(--ink);
	padding-top: 14px;
	padding-bottom: 14px;
	box-shadow: 0 1px 0 var(--rule);
}

.site-head.scrolled .nav .theme-toggle,
body:not(.has-dark-hero) .nav .theme-toggle {
	border-color: var(--rule-strong);
}

/* Mobile slide-in menu */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 199;
	background: var(--surface-dark);
	color: var(--on-dark);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-12px);
	transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
	padding: 80px 24px 120px;
}

.mobile-menu.open {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.mobile-menu ul {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	width: 100%;
}

.mobile-menu a {
	font-family: var(--serif);
	font-size: 30px;
	font-weight: 500;
	color: var(--on-dark);
	padding: 8px 0;
}

.mobile-menu a:hover {
	color: var(--gold-soft);
}

.mobile-menu .btn {
	margin-top: 24px;
}

.mobile-menu .mobile-util {
	margin-top: 26px;
	display: flex;
	gap: 18px;
	font-family: var(--mono);
	font-size: .64rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--on-dark-soft);
}

.mobile-menu .mobile-util a:hover,
.mobile-menu .mobile-util button:hover {
	color: var(--gold-soft);
}

.mobile-menu .mobile-util button {
	background: none;
	border: none;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	cursor: pointer;
	padding: 0;
}

/* Spacer so fixed header doesn't overlap non-hero pages */
.head-spacer {
	height: 112px;
}

body.has-dark-hero .head-spacer {
	display: none;
}

body.home-v2 .head-spacer {
	display: none;
}

/* V2's hero padding clears the solid header */

/* ===== HERO (dark editorial masthead) ===== */
.hero {
	position: relative;
	min-height: clamp(580px, 90vh, 900px);
	display: flex;
	align-items: flex-end;
	background: var(--surface-dark);
	color: var(--on-dark);
	overflow: hidden;
	isolation: isolate;
}

.hero-bg {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.hero-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(1100px 700px at 78% 8%, rgba(47, 93, 80, .55), transparent 60%),
		radial-gradient(900px 600px at 8% 90%, rgba(16, 42, 67, .7), transparent 55%),
		linear-gradient(180deg, rgba(11, 30, 48, .55) 0%, rgba(11, 30, 48, .2) 38%, rgba(8, 22, 38, .92) 100%);
}

.hero .wrap {
	padding-top: 150px;
	padding-bottom: 92px;
	position: relative;
}

.hero-content {
	max-width: 720px;
}

.hero-eyebrow {
	color: var(--gold-soft);
	margin-bottom: 22px;
}

.hero-h1 {
	font-family: var(--serif);
	font-size: calc(clamp(44px, 7vw, 92px) * var(--display-scale, 1));
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -.01em;
	color: var(--on-dark);
	margin-bottom: 20px;
}

.hero-h1 em {
	font-style: italic;
	color: var(--gold-soft);
}

.hero-tagline {
	font-family: var(--serif);
	font-size: clamp(18px, 2.1vw, 24px);
	font-style: italic;
	color: var(--on-dark-soft);
	margin-bottom: 18px;
}

.hero-sub {
	font-size: 16px;
	color: var(--on-dark-soft);
	line-height: 1.75;
	max-width: 520px;
	margin-bottom: 30px;
}

.hero-btns {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	align-items: center;
}

.hero-trust {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 30px;
	font-family: var(--mono);
	font-size: .64rem;
	font-weight: 500;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--on-dark-muted);
}

.hero-trust span {
	display: inline-flex;
	align-items: center;
	gap: 16px;
}

.hero-trust span+span::before {
	content: '';
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--gold);
	opacity: .7;
	margin-right: 16px;
}

/* Floating host card */
.hero-host {
	position: absolute;
	right: 48px;
	bottom: 92px;
	width: 230px;
	z-index: 2;
	background: var(--bg-card);
	color: var(--ink);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-float);
}

.hero-host-img {
	aspect-ratio: 4 / 5;
	background: linear-gradient(155deg, var(--clay), var(--gold-deep));
	position: relative;
}

.hero-host-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-host-tag {
	position: absolute;
	top: 12px;
	left: 12px;
	font-family: var(--mono);
	font-size: .52rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(16, 42, 67, .7);
	padding: 4px 9px;
	border-radius: 2px;
}

.hero-host-body {
	padding: 16px 16px 18px;
}

.hero-host-name {
	font-family: var(--serif);
	font-size: 20px;
	font-weight: 600;
}

.hero-host-role {
	font-family: var(--mono);
	font-size: .56rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ink-muted);
	margin: 4px 0 10px;
}

.hero-host-quote {
	font-family: var(--serif);
	font-style: italic;
	font-size: 14px;
	color: var(--ink-soft);
	line-height: 1.5;
}

/* Scroll cue */
.hero-scroll {
	position: absolute;
	bottom: 28px;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0 48px;
	z-index: 2;
	color: var(--on-dark-muted);
}

.hero-scroll-line {
	width: 44px;
	height: 1px;
	background: var(--gold-soft);
	opacity: .6;
	animation: pulse 2.5s ease-in-out infinite;
}

.hero-scroll-label {
	font-family: var(--mono);
	font-size: .56rem;
	letter-spacing: .24em;
	text-transform: uppercase;
}

@keyframes pulse {

	0%,
	100% {
		opacity: .35;
		transform: scaleX(1);
	}

	50% {
		opacity: .9;
		transform: scaleX(.6);
	}
}

/* ===== SECTIONS ===== */
.section {
	padding: var(--section-pad, 100px) 0;
	position: relative;
	z-index: 1;
}

.section.tight {
	padding: 72px 0;
}

.section-sand {
	background: var(--bg-raise);
}

.section-navy {
	background: var(--surface-dark);
	color: var(--on-dark);
}

.section-navy h1,
.section-navy h2,
.section-navy h3 {
	color: var(--on-dark);
}

.section-head {
	margin-bottom: 56px;
	max-width: 720px;
}

.section-head.center {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.section-head.center .eyebrow {
	justify-content: center;
}

.section-head.center .eyebrow::before {
	display: none;
}

.section-head .eyebrow {
	margin-bottom: 16px;
}

.sec-h2 {
	font-family: var(--serif);
	font-size: calc(clamp(28px, 4.4vw, 50px) * var(--display-scale, 1));
	font-weight: 500;
	line-height: 1.08;
	color: var(--ink);
}

.sec-h2 em {
	font-style: italic;
	color: var(--gold-accent);
}

.section-navy .sec-h2 {
	color: var(--on-dark);
}

.section-navy .sec-h2 em,
.section-navy h1 em,
.section-navy h2 em,
.section-navy h3 em {
	color: var(--gold-soft);
}

.sec-lead {
	font-size: 17px;
	color: var(--ink-soft);
	line-height: 1.75;
	max-width: 580px;
	margin-top: 18px;
}

.section-head.center .sec-lead {
	margin-left: auto;
	margin-right: auto;
}

.section-navy .sec-lead {
	color: var(--on-dark-soft);
}

.section-navy .eyebrow {
	color: var(--gold-soft);
}

.sec-head-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 48px;
}

.sec-head-row .section-head {
	margin-bottom: 0;
}

/* ===== FOOTER ===== */
.site-footer {
	background: var(--surface-dark);
	color: var(--on-dark-soft);
	padding: 76px 0 30px;
	position: relative;
	z-index: 1;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr repeat(4, 1fr);
	gap: 40px;
	padding-bottom: 44px;
	border-bottom: 1px solid var(--rule-on-dark);
	margin-bottom: 26px;
}

.footer-brand {
	font-family: var(--serif);
	font-size: 24px;
	font-weight: 600;
	color: var(--on-dark);
	margin-bottom: 6px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.footer-brand em {
	font-style: italic;
	color: var(--gold-soft);
}

.footer-brand img {
	max-height: 40px;
	width: auto;
}

.footer-tagline {
	font-family: var(--mono);
	font-size: .6rem;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--gold-soft);
	margin-bottom: 16px;
}

.footer-desc {
	font-size: 14px;
	color: var(--on-dark-muted);
	line-height: 1.75;
	margin-bottom: 18px;
	max-width: 320px;
}

.footer-contact {
	font-family: var(--mono);
	font-size: .64rem;
	letter-spacing: .04em;
	color: var(--on-dark-soft);
	line-height: 2;
}

.footer-contact a:hover {
	color: var(--gold-soft);
}

.footer-col-title {
	font-family: var(--mono);
	font-size: .6rem;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--gold-soft);
	margin-bottom: 18px;
}

.footer-links,
.site-footer__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-links a,
.site-footer__list a {
	font-size: 14px;
	color: var(--on-dark-muted);
	transition: color .2s;
}

.footer-links a:hover,
.site-footer__list a:hover {
	color: var(--on-dark);
}

.footer-news {
	margin-top: 18px;
}

.footer-news label {
	display: block;
	font-family: var(--mono);
	font-size: .58rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--on-dark-muted);
	margin-bottom: 8px;
}

.footer-news-row {
	display: flex;
	gap: 8px;
}

.footer-news input {
	flex: 1;
	min-width: 0;
	padding: 11px 14px;
	background: rgba(244, 236, 221, .06);
	border: 1px solid var(--rule-on-dark);
	color: var(--on-dark);
	font-family: var(--body);
	font-size: 14px;
	border-radius: var(--radius);
}

.footer-news input::placeholder {
	color: var(--on-dark-muted);
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: var(--mono);
	font-size: .58rem;
	letter-spacing: .08em;
	color: var(--on-dark-muted);
	flex-wrap: wrap;
	gap: 12px;
	text-transform: uppercase;
}

.footer-bottom a:hover {
	color: var(--gold-soft);
}

.footer-social {
	display: flex;
	gap: 16px;
}

.footer-bottom .tagline {
	color: var(--gold-soft);
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
	position: fixed;
	bottom: 16px;
	left: 16px;
	right: 16px;
	max-width: 560px;
	margin-inline: auto;
	background: var(--bg-card);
	border: 1px solid var(--rule-strong);
	border-radius: var(--radius);
	padding: 18px 20px;
	z-index: 150;
	display: flex;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	box-shadow: var(--shadow-float);
}

.cookie-consent[hidden] {
	display: none;
}

.cookie-consent p {
	margin: 0;
	font-size: 14px;
	color: var(--ink-soft);
	flex: 1;
	min-width: 200px;
}

.cookie-consent__actions {
	display: flex;
	gap: 8px;
}

.cookie-consent .wpistic-cta,
.cookie-consent .wpistic-ghost {
	font-family: var(--mono);
	font-size: .64rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	padding: 10px 18px;
	min-height: 40px;
	border-radius: var(--radius);
	cursor: pointer;
	border: 1px solid var(--rule-strong);
	background: transparent;
	color: var(--ink);
}

.cookie-consent .wpistic-cta {
	background: var(--gold);
	color: var(--on-gold);
	border-color: var(--gold);
}

/* ===== REVEAL / MOTION ===== */
.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.in {
	opacity: 1;
	transform: translateY(0);
}

.reveal.d1 {
	transition-delay: .08s;
}

.reveal.d2 {
	transition-delay: .16s;
}

.reveal.d3 {
	transition-delay: .24s;
}

.reveal.d4 {
	transition-delay: .32s;
}

.reveal.d5 {
	transition-delay: .40s;
}

.reveal.d6 {
	transition-delay: .48s;
}

@media (prefers-reduced-motion: reduce) {
	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	html {
		scroll-behavior: auto;
	}

	.hero-scroll-line {
		animation: none;
	}

	* {
		scroll-behavior: auto !important;
	}
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {

	.util-bar,
	.nav {
		padding-left: 32px;
		padding-right: 32px;
	}

	.hero-host {
		width: 200px;
		right: 32px;
	}
}

@media (max-width: 920px) {
	.util-bar {
		display: none;
	}

	.nav {
		padding: 14px 22px;
	}

	.nav-links,
	.nav-cta {
		display: none;
	}

	.burger {
		display: block;
	}

	.theme-toggle {
		display: none;
	}

	.wrap {
		padding: 0 22px;
	}

	.section {
		padding: 68px 0;
	}

	.hero .wrap {
		padding-top: 120px;
		padding-bottom: 72px;
	}

	.hero>.hero-host {
		display: none;
	}

	/* V1 decorative overlay only — V2's structural host card stays */
	.head-spacer {
		height: 70px;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}

	.footer-brand-col {
		grid-column: 1 / -1;
	}
}

@media (max-width: 560px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.hero {
		min-height: 82vh;
	}

	.hero .wrap {
		padding-top: 104px;
		padding-bottom: 56px;
	}

	.hero-btns {
		width: 100%;
	}

	.hero-btns .btn {
		flex: 1 1 auto;
		justify-content: center;
	}

	.sec-head-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.hero-v2 {
		padding-top: 96px;
	}

	.mag-hero {
		padding-top: 92px;
	}
}