/*
Theme Name: Jebsen Modern
Theme URI: http://jebsengroup.com/
Template: iconic-one
Author: Jebsen Group / Claude
Description: Modern child theme for JebsenGroup.com Version 1. A deep maritime navy design system with a heritage-driven, fully responsive front-end. Overrides the legacy Iconic One markup and styling.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jebsen
*/

/* =================================================================
   1. Design tokens
   ================================================================= */
:root {
	/* Deep maritime navy palette */
	--navy-950: #071427;
	--navy-900: #0a1e3a;
	--navy-800: #0d2748;
	--navy-700: #123256;
	--navy-600: #1b4272;
	--navy-500: #24568f;
	--navy-400: #4a76a8;

	/* Brass / gold accent */
	--gold-600: #a9822f;
	--gold-500: #c6a15b;
	--gold-400: #d8bd82;

	/* Neutrals */
	--ink: #12233d;
	--ink-soft: #46586f;
	--ink-muted: #60728b;
	--line: #e4e9f1;
	--line-strong: #cfd8e6;
	--paper: #ffffff;
	--paper-tint: #f5f8fc;
	--paper-blue: #eef3fa;

	/* Typography */
	--font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	/* Rhythm */
	--container: 1200px;
	--container-narrow: 860px;
	--radius: 4px;
	--radius-lg: 10px;
	--shadow-sm: 0 1px 3px rgba(10, 30, 58, .08);
	--shadow-md: 0 10px 30px rgba(10, 30, 58, .10);
	--shadow-lg: 0 24px 60px rgba(7, 20, 39, .18);
	--transition: .25s cubic-bezier(.4, 0, .2, 1);
	--header-h: 84px;
}

/* =================================================================
   2. Reset & base
   ================================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.jebsen-modern,
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

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

a { color: var(--navy-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-600); }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.12;
	color: var(--navy-900);
	margin: 0 0 .5em;
	letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--gold-400); color: var(--navy-950); }

/* =================================================================
   3. Layout helpers
   ================================================================= */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: var(--container-narrow); }
.section { padding: clamp(64px, 9vw, 130px) 0; }
.section-tint { background: var(--paper-tint); }
.section-blue { background: var(--paper-blue); }
.section-navy { background: var(--navy-900); color: #dbe4f1; }
.section-navy h1, .section-navy h2, .section-navy h3 { color: #fff; }

.eyebrow {
	display: inline-block;
	font-family: var(--font-body);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--gold-600);
	margin-bottom: 1rem;
}
.section-navy .eyebrow { color: var(--gold-400); }

.section-head { max-width: 760px; margin-bottom: 3.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.2rem; color: var(--ink-soft); line-height: 1.65; }
.section-navy .lead { color: #b9c6da; }

.rule { width: 64px; height: 3px; background: var(--gold-500); border: 0; margin: 0 0 1.8rem; }
.center .rule { margin-left: auto; margin-right: auto; }

/* =================================================================
   4. Buttons
   ================================================================= */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.btn {
	display: inline-flex; align-items: center; gap: .5em;
	font-family: var(--font-body); font-weight: 600; font-size: .95rem;
	letter-spacing: .02em;
	padding: 14px 30px; border-radius: var(--radius);
	cursor: pointer; border: 1.5px solid transparent;
	transition: all var(--transition);
}
.btn-primary { background: var(--gold-500); color: var(--navy-950); border-color: var(--gold-500); }
.btn-primary:hover { background: var(--gold-400); border-color: var(--gold-400); color: var(--navy-950); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
.btn-dark { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.btn-dark:hover { background: var(--navy-950); color: #fff; transform: translateY(-2px); }
.link-arrow { font-weight: 600; color: var(--navy-600); display: inline-flex; align-items: center; gap: .4em; }
.link-arrow::after { content: "\2192"; transition: transform var(--transition); }
.link-arrow:hover::after { transform: translateX(4px); }

/* =================================================================
   5. Site header / navigation
   ================================================================= */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	height: var(--header-h);
	display: flex; align-items: center;
	transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.brand .brand-plate {
	display: inline-flex; align-items: center; background: #fff;
	padding: 9px 14px; border-radius: var(--radius);
	box-shadow: 0 2px 10px rgba(7, 20, 39, .18);
}
.brand .brand-logo { height: 30px; width: auto; display: block; }
.brand .brand-sub {
	font-size: .64rem; letter-spacing: .26em; text-transform: uppercase;
	color: var(--gold-400); font-weight: 600; white-space: nowrap;
}
.site-header.is-solid .brand .brand-plate { padding: 7px 12px; }
.site-header.is-solid .brand .brand-logo { height: 26px; }

/* Primary menu */
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.primary-nav li { position: relative; }
.primary-nav a {
	display: block; padding: 10px 13px; font-size: .92rem; font-weight: 500;
	color: rgba(255, 255, 255, .82); border-radius: var(--radius); letter-spacing: .01em;
	white-space: nowrap;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a { color: #fff; }
.primary-nav > ul > li > a::after {
	content: ""; position: absolute; left: 13px; right: 13px; bottom: 6px; height: 2px;
	background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.primary-nav > ul > li:hover > a::after,
.primary-nav > ul > li.current-menu-item > a::after,
.primary-nav > ul > li.current_page_item > a::after { transform: scaleX(1); }

/* Dropdowns */
.primary-nav ul ul {
	position: absolute; top: 100%; left: 0; min-width: 230px;
	background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
	padding: 8px; display: block; flex-direction: column; gap: 0;
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all var(--transition);
	border: 1px solid var(--line);
}
.primary-nav li:hover > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-nav ul ul a { color: var(--ink-soft); padding: 10px 14px; border-radius: var(--radius); }
.primary-nav ul ul a:hover { background: var(--paper-blue); color: var(--navy-800); }

/* Header states: transparent over hero -> solid on scroll */
.has-hero-header .site-header { background: transparent; }
.site-header.is-solid,
body:not(.has-hero-header) .site-header {
	background: var(--navy-900);
	box-shadow: 0 2px 20px rgba(7, 20, 39, .25);
	height: 72px;
}

/* Mobile toggle */
.nav-toggle {
	display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
	padding: 0; position: relative;
}
.nav-toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: #fff; transition: all var(--transition); }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =================================================================
   6. Hero (home)
   ================================================================= */
.hero {
	position: relative; min-height: 92vh; display: flex; align-items: center;
	color: #fff; padding: calc(var(--header-h) + 40px) 0 80px;
	background: var(--navy-950);
	overflow: hidden;
}
/* Photographic slideshow background (reused from the old slider) */
.hero-bg { position: absolute; inset: -14% 0; z-index: 0; will-change: transform; }
.hero-slide {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	opacity: 0;
	animation: heroCycle 40s ease-in-out infinite;
	will-change: opacity;
}
@keyframes heroCycle {
	0%   { opacity: 0; }
	6%   { opacity: 1; }
	20%  { opacity: 1; }
	26%  { opacity: 0; }
	100% { opacity: 0; }
}
/* Navy colour wash over the photos so the brand tone is retained + text stays readable */
.hero-overlay {
	position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background:
		radial-gradient(1100px 600px at 80% 12%, rgba(198, 161, 91, .18), transparent 60%),
		linear-gradient(115deg, rgba(7, 20, 39, .93) 0%, rgba(10, 30, 58, .82) 42%, rgba(18, 58, 110, .60) 100%),
		linear-gradient(to top, rgba(7, 20, 39, .75), transparent 46%);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 820px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .kicker {
	font-size: .82rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 600;
	color: var(--gold-400); margin-bottom: 1.4rem; display: block;
}
.hero p { font-size: 1.25rem; line-height: 1.65; color: #c7d3e4; max-width: 640px; }

/* Inner-page hero */
.page-hero {
	position: relative; color: #fff; padding: calc(var(--header-h) + 70px) 0 80px;
	background: linear-gradient(120deg, var(--navy-950), var(--navy-700));
	overflow: hidden;
}
.page-hero::before {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(900px 500px at 85% 0%, rgba(198, 161, 91, .16), transparent 60%);
}
.page-hero .container { position: relative; z-index: 2; max-width: 900px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #c7d3e4; font-size: 1.2rem; max-width: 640px; margin-bottom: 0; }
.breadcrumb { font-size: .82rem; letter-spacing: .04em; color: var(--gold-400); margin-bottom: 1.2rem; text-transform: uppercase; font-weight: 600; }
.breadcrumb a { color: rgba(255, 255, 255, .7); }
.breadcrumb a:hover { color: #fff; }

/* =================================================================
   7. Components
   ================================================================= */
/* Feature / capability cards */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	padding: 38px 32px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card .icon {
	width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
	background: var(--paper-blue); color: var(--navy-600); margin-bottom: 20px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-soft); font-size: .98rem; margin-bottom: 0; }

/* Split content + media */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media {
	border-radius: var(--radius-lg); overflow: hidden; min-height: 400px;
	background: var(--navy-800) center / cover no-repeat;
	box-shadow: var(--shadow-md); position: relative;
}
.split-media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(7, 20, 39, .78) 0%, rgba(7, 20, 39, .12) 45%, transparent 70%);
}
.split-media.pattern { background: linear-gradient(135deg, var(--navy-800), var(--navy-500)); }
.split-media.pattern::after {
	background: radial-gradient(500px 300px at 30% 20%, rgba(198, 161, 91, .28), transparent 60%);
}
.split-media .media-caption {
	position: absolute; left: 28px; bottom: 24px; z-index: 2; color: #fff;
	font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .01em;
}

/* Values / list grid */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.value { background: #fff; padding: 34px 30px; transition: background var(--transition); }
.value:hover { background: var(--paper-tint); }
.value .num { font-family: var(--font-display); color: var(--gold-500); font-size: 1.05rem; font-weight: 600; }
.value h3 { margin: .3rem 0 .4rem; font-family: var(--font-display); font-size: 1.25rem; }
.value p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px; text-align: center; }
.stat .n { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 600; color: #fff; line-height: 1; }
.stat .l { color: var(--gold-400); letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; font-weight: 600; margin-top: .6rem; }

/* Factsheet (heritage) — grounded key/value rows instead of vanity metrics */
.factsheet { margin: 0; }
.factsheet > div { display: grid; grid-template-columns: 132px 1fr; gap: 20px; align-items: baseline; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .13); }
.factsheet > div:last-child { border-bottom: 1px solid rgba(255, 255, 255, .13); }
.factsheet dt { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-400); font-weight: 600; }
.factsheet dd { margin: 0; font-family: var(--font-display); font-size: 1.28rem; color: #eef3fa; line-height: 1.3; }
.section-navy .link-arrow { color: var(--gold-400); }
.section-navy .link-arrow:hover { color: #fff; }
@media (max-width: 560px) {
	.factsheet > div { grid-template-columns: 1fr; gap: 4px; padding: 15px 0; }
}

/* Timeline (Our Story) */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold-500), var(--line)); }
.tl-item { position: relative; padding: 0 0 46px 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold-500); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gold-500); }
.tl-item .year { font-family: var(--font-display); color: var(--navy-600); font-weight: 600; font-size: 1.4rem; margin-bottom: .3rem; }
.tl-item h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: .4rem; }
.tl-item p { color: var(--ink-soft); }

/* Business / detail cards */
.biz { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.biz-head { padding: 34px 36px; background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #fff; }
.biz-head h3 { color: #fff; margin: 0; }
.biz-head .tag { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-400); font-weight: 600; margin-bottom: .5rem; display: block; }
.biz-body { padding: 34px 36px; }
.biz-body p { color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { font-size: .82rem; font-weight: 500; padding: 7px 15px; border-radius: 999px; background: var(--paper-blue); color: var(--navy-700); border: 1px solid var(--line); }

/* Contact / office cards */
.office { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.office:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.office .office-top { height: 120px; background: linear-gradient(135deg, var(--navy-800), var(--navy-500)); position: relative; }
.office .office-top::after { content: ""; position: absolute; inset: 0; background: radial-gradient(300px 160px at 70% 30%, rgba(198,161,91,.3), transparent 65%); }
.office .office-body { padding: 26px 28px 30px; }
.office .city { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy-900); }
.office .country { color: var(--gold-600); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; margin-bottom: .8rem; }
.office p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* Leadership */
.leader { display: grid; grid-template-columns: 300px 1fr; gap: 50px; align-items: start; }
.leader .portrait { aspect-ratio: 3/4; border-radius: var(--radius-lg); background: linear-gradient(150deg, var(--navy-800), var(--navy-500)) center / cover no-repeat; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.leader .portrait::after { content: ""; position: absolute; inset: 0; background: radial-gradient(260px 200px at 50% 20%, rgba(198,161,91,.25), transparent 60%); }
.leader .portrait.has-photo { background-size: cover; background-position: center top; }
.leader .portrait.has-photo::after { background: linear-gradient(to top, rgba(7,20,39,.28), transparent 42%); }
.quote { border-left: 3px solid var(--gold-500); padding: 8px 0 8px 28px; margin: 28px 0; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.4; color: var(--navy-800); font-style: italic; }

/* Prose (default page.php) */
.prose { max-width: var(--container-narrow); margin: 0 auto; }
.prose h2 { margin-top: 2em; }
.prose ul { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose img { border-radius: var(--radius-lg); margin: 1.5em 0; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy-900), var(--navy-600)); color: #fff; text-align: center; border-radius: var(--radius-lg); padding: clamp(48px, 7vw, 88px) 32px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c7d3e4; max-width: 560px; margin: 0 auto 1.5rem; }
.cta-band .btn-row { justify-content: center; }

/* =================================================================
   8. Footer
   ================================================================= */
.site-footer { background: var(--navy-950); color: #9fb0c8; padding: 76px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 56px; }
.site-footer .brand-name { color: #fff; }
.footer-about p { color: #8fa2bd; font-size: .95rem; margin-top: 18px; max-width: 320px; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: #9fb0c8; font-size: .95rem; }
.footer-col a:hover { color: var(--gold-400); }
.footer-office { color: #8fa2bd; font-size: .93rem; margin-bottom: 16px; }
.footer-office strong { color: #fff; display: block; font-weight: 600; font-family: var(--font-display); font-size: 1.05rem; }
.footer-bar { border-top: 1px solid rgba(255, 255, 255, .1); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #7688a0; }
.footer-bar a { color: #7688a0; }
.footer-bar a:hover { color: var(--gold-400); }

/* =================================================================
   9. Reveal on scroll
   ================================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Staggered reveal: a container fades its direct children in sequence */
.stagger-group > * { opacity: 0; transform: translateY(20px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
.stagger-group.in > * { opacity: 1; transform: none; }
.stagger-group.in > *:nth-child(1) { transition-delay: .04s; }
.stagger-group.in > *:nth-child(2) { transition-delay: .12s; }
.stagger-group.in > *:nth-child(3) { transition-delay: .20s; }
.stagger-group.in > *:nth-child(4) { transition-delay: .28s; }
.stagger-group.in > *:nth-child(5) { transition-delay: .36s; }
.stagger-group.in > *:nth-child(6) { transition-delay: .44s; }

/* =================================================================
   10. Responsive
   ================================================================= */
@media (max-width: 980px) {
	.grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
	.split, .leader { grid-template-columns: 1fr; }
	.split.reverse .split-media { order: 0; }
	.leader .portrait { max-width: 320px; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 1024px) {
	:root { --header-h: 70px; }

	.nav-toggle { display: block; }
	.primary-nav {
		position: fixed; inset: 0 0 0 auto; width: min(360px, 84vw);
		background: var(--navy-900); padding: calc(var(--header-h) + 20px) 26px 40px;
		transform: translateX(100%); transition: transform var(--transition);
		box-shadow: var(--shadow-lg); overflow-y: auto; z-index: 90;
	}
	body.nav-open .primary-nav { transform: translateX(0); }
	body.nav-open { overflow: hidden; }
	.primary-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
	.primary-nav a { padding: 14px 12px; font-size: 1.02rem; border-bottom: 1px solid rgba(255,255,255,.07); }
	.primary-nav > ul > li > a::after { display: none; }
	.primary-nav ul ul {
		position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
		background: transparent; border: 0; padding: 0 0 0 14px; min-width: 0;
	}
	.primary-nav ul ul a { color: rgba(255,255,255,.62); }
	.primary-nav ul ul a:hover { background: transparent; color: #fff; }

	.nav-scrim { position: fixed; inset: 0; background: rgba(7,20,39,.5); opacity: 0; visibility: hidden; transition: opacity var(--transition); z-index: 80; }
	body.nav-open .nav-scrim { opacity: 1; visibility: visible; }
}

@media (max-width: 560px) {
	body { font-size: 16px; }
	.container { padding: 0 20px; }
	.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.hero { min-height: 88vh; }
	.hero p { font-size: 1.1rem; }
	.btn { width: 100%; justify-content: center; }
	.btn-row { flex-direction: column; }
}

/* Accessibility */
.sr-only { position: absolute; 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; background: var(--gold-500); color: var(--navy-950); padding: 12px 20px; z-index: 200; font-weight: 600; }
.skip-link:focus { left: 12px; top: 12px; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; }
	.stagger-group > * { opacity: 1; transform: none; }
	.hero-slide:first-child { opacity: 1; transform: none; }
	.hero-slide:not(:first-child) { display: none; }
}
