/* ==========================================================================
   OPC Pipeline — main stylesheet
   Navy + safety orange · rounded everything · Inter / Inter Tight
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
	--navy-950: #06101d;
	--navy-900: #0a1a2f;
	--navy-800: #0f2542;
	--navy-700: #173459;
	--navy-600: #23497a;
	--paper: #f5f4f0;
	--paper-2: #ebe9e3;
	--white: #ffffff;
	--ink: #0a1a2f;
	--body: #364152;
	--muted: #667085;
	--muted-2: #8b95a5;
	--line: #e7e4dd;
	--line-2: #d9d5cc;
	--orange: #ff6a13;
	--orange-hover: #ff7f33;
	--orange-ink: #c2410c;
	--orange-50: #fff1e7;
	--green: #12b76a;
	--amber: #f79009;
	--red: #f04438;

	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--r-xs: 10px;
	--r-sm: 14px;
	--r-md: 20px;
	--r-lg: 28px;
	--r-xl: 32px;
	--pill: 999px;

	--inset: 12px;
	--container: 1240px;
	--gutter: 24px;

	--shadow-sm: 0 1px 2px rgba(10, 26, 47, .06), 0 1px 1px rgba(10, 26, 47, .04);
	--shadow-md: 0 12px 32px -14px rgba(10, 26, 47, .22);
	--shadow-lg: 0 30px 80px -30px rgba(10, 26, 47, .38);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 64px;
	--header-top: 12px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--body);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, video, svg { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--orange); color: var(--navy-950); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link {
	position: fixed; top: 16px; left: 16px; z-index: 999; padding: 12px 18px; border-radius: var(--pill);
	background: var(--navy-900); color: #fff; text-decoration: none; font-weight: 600; transform: translateY(-200%);
	transition: transform .2s;
}
.skip-link:focus { transform: none; }

/* ---------- 3. Layout & type utilities ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--read { max-width: 900px; }

.section { padding: clamp(80px, 10vw, 136px) 0; position: relative; }
.section--tight { padding: 48px 0 96px; }
section[id], [id].section { scroll-margin-top: 96px; }
.section--flush-top { padding-top: 0; }
.section--paper, .section--navy { margin: var(--inset); border-radius: var(--r-xl); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy-950); color: rgba(255, 255, 255, .72); overflow: hidden; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font: 600 12.5px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow--light { color: rgba(255, 255, 255, .78); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex: none; }
.dot--navy { background: var(--navy-950); }

.h-display {
	font: 700 clamp(36px, 5.2vw, 72px)/1.02 var(--font-display);
	letter-spacing: -0.045em; color: var(--ink); margin-top: 16px;
}
.h-display--md { font-size: clamp(30px, 3.6vw, 48px); }
.h-display .muted { color: var(--muted-2); }
.h-display--light { color: #fff; }
.h-display--light .muted, .section--navy .h-display .muted { color: rgba(255, 255, 255, .45); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.section-head--split { flex-wrap: wrap; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 4. Buttons, chips, icon buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font: 600 15.5px/1 var(--font-body); padding: 16px 26px; border-radius: var(--pill);
	border: 1px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .2s, color .2s, border-color .2s, transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon--arrow-right { transform: translateX(3px); }
.btn:hover .icon--arrow-up-right { transform: translate(2px, -2px); }
.btn--primary { background: var(--orange); color: var(--navy-950); }
.btn--primary:hover { background: var(--orange-hover); box-shadow: 0 12px 26px -12px rgba(255, 106, 19, .8); }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-700); }
.btn--light { background: #fff; color: var(--navy-950); }
.btn--light:hover { background: #f1f0ec; }
.btn--glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .34); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .22); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { padding: 11px 18px; font-size: 14.5px; }
.btn--block { width: 100%; }

.chip {
	display: inline-flex; align-items: center; gap: 6px; border-radius: var(--pill);
	font: 500 14px/1 var(--font-body); padding: 10px 15px; text-decoration: none; white-space: nowrap;
	transition: background-color .2s, color .2s, border-color .2s;
}
.chip--glass { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .24); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.chip--glass:hover { background: rgba(255, 255, 255, .22); }
.chip--soft { background: var(--paper); color: var(--ink); }
.chip--soft:hover { background: var(--paper-2); }
.chip--outline { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.chip--outline:hover { border-color: var(--ink); }
.chip--outline.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip--orange { background: var(--orange-50); color: var(--orange-ink); font-weight: 600; font-size: 13px; padding: 8px 14px; }
.chip--tiny { background: var(--orange-50); color: var(--orange-ink); font-weight: 600; font-size: 12px; padding: 6px 10px; }
.chip__count { font-size: 12px; color: var(--muted-2); }
.chip--outline.is-active .chip__count { color: rgba(255, 255, 255, .6); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row--topics { margin: 28px 0 0; }
.section .chip-row--topics { margin: -16px 0 36px; }

.icon-btn {
	width: 44px; height: 44px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center;
	background: rgba(10, 26, 47, .05); color: var(--ink); transition: background-color .2s;
}
.icon-btn:hover { background: rgba(10, 26, 47, .1); }

.round-btn {
	width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: var(--ink);
	display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
	transition: background-color .2s, color .2s, border-color .2s, opacity .2s, transform .2s;
}
.round-btn:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.round-btn[disabled] { opacity: .35; pointer-events: none; }
.round-btn--sm { width: 44px; height: 44px; }

.text-link {
	display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-weight: 600; font-size: 15px;
	color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 3px;
}
.text-link:hover .icon { transform: translateX(3px); }
.text-link .icon { transition: transform .25s var(--ease); }

.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); position: relative; flex: none; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--orange); opacity: 0; animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- 5. Header ---------- */
.site-header { position: fixed; top: var(--header-top); left: var(--inset); right: var(--inset); z-index: 100; pointer-events: none; }
body.admin-bar .site-header { top: calc(32px + var(--header-top)); }
.nav-shell {
	pointer-events: auto; position: relative; max-width: 1320px; margin: 0 auto; height: var(--header-h);
	display: flex; align-items: center; gap: 20px; padding: 0 10px 0 20px;
	background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
	border: 1px solid rgba(255, 255, 255, .7); border-radius: var(--r-md);
	box-shadow: 0 1px 0 rgba(10, 26, 47, .03), 0 12px 32px -16px rgba(10, 26, 47, .28);
	transition: box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled .nav-shell { background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 rgba(10, 26, 47, .04), 0 16px 40px -18px rgba(10, 26, 47, .35); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy-900); text-decoration: none; flex: none; }
.brand__mark { color: var(--navy-900); flex: none; }
.brand__mark circle:last-child { fill: var(--mark-core, #fff); }
.brand__text { font: 700 16px/1 var(--font-display); letter-spacing: -0.015em; white-space: nowrap; color: var(--ink); }
.brand__word--light { font-weight: 500; color: var(--muted); }
.brand__logo { max-height: 40px; width: auto; }
.brand--light, .brand--light .brand__text { color: #fff; }
.brand--light .brand__mark { color: #fff; --mark-core: var(--navy-950); }
.brand--light .brand__word--light { color: rgba(255, 255, 255, .6); }

.primary-nav { margin: 0 auto; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link {
	display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: var(--pill);
	font: 500 15px/1 var(--font-body); color: var(--ink); text-decoration: none; background: transparent; border: 0;
	transition: background-color .2s;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: rgba(10, 26, 47, .06); }
.nav-link .icon { transition: transform .25s var(--ease); opacity: .6; }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex: none; margin-left: auto; }
.primary-nav + .nav-actions { margin-left: 0; }
.menu-toggle { display: none; }

/* Mega menu */
.mega-layer { position: relative; max-width: 1320px; margin: 10px auto 0; pointer-events: none; }
.mega {
	position: absolute; top: 0; left: 0; right: 0;
	display: grid; grid-template-columns: 250px minmax(0, 1fr) 300px; gap: 24px;
	padding: 24px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
	border: 1px solid rgba(10, 26, 47, .06);
	opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.985); transform-origin: top center;
	transition: opacity .22s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .22s var(--ease), transform .3s var(--ease), visibility 0s; }
.mega__intro { padding: 12px 8px 12px 12px; display: flex; flex-direction: column; border-right: 1px solid var(--line); padding-right: 24px; }
.mega__title { font: 700 26px/1.1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); }
.mega__text { margin-top: 10px; color: var(--muted); font-size: 15px; }
.mega__all { margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--ink); text-decoration: none; }
.mega__all:hover { color: var(--orange-ink); }
.mega__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; align-content: start; }
.mega-link { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: var(--r-sm); text-decoration: none; transition: background-color .2s; }
.mega-link:hover { background: var(--paper); }
.mega-link__icon {
	width: 40px; height: 40px; flex: none; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
	background: var(--orange-50); color: var(--orange-ink); transition: background-color .2s, color .2s;
}
.mega-link:hover .mega-link__icon { background: var(--orange); color: var(--navy-950); }
.mega-link__label { display: block; font-weight: 600; font-size: 15px; color: var(--ink); line-height: 1.3; }
.mega-link__desc { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; margin-top: 3px; }
.mega-feature { display: flex; flex-direction: column; border-radius: var(--r-md); overflow: hidden; background: var(--navy-950); color: #fff; text-decoration: none; }
.mega-feature__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.mega-feature__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.mega-feature:hover .mega-feature__img { transform: scale(1.05); }
.mega-feature__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.mega-feature__eyebrow { font: 600 11.5px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.mega-feature__title { font: 650 17px/1.3 var(--font-display); letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mega-feature__cta { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .8); margin-top: 4px; }

.mega-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(6, 16, 29, .28); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s linear .25s; }
body.mega-open .mega-scrim { opacity: 1; visibility: visible; transition: opacity .25s, visibility 0s; }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 200; visibility: hidden; transition: visibility 0s linear .4s; }
.mobile-menu::before { content: ""; position: absolute; inset: 0; background: rgba(6, 16, 29, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.mobile-menu.is-open { visibility: visible; transition: visibility 0s; }
.mobile-menu.is-open::before { opacity: 1; }
.mobile-menu__panel {
	position: absolute; top: 8px; right: 8px; bottom: 8px; width: min(440px, calc(100% - 16px));
	background: #fff; border-radius: var(--r-lg); padding: 16px 20px 24px; overflow-y: auto;
	display: flex; flex-direction: column; gap: 16px;
	transform: translateX(calc(100% + 24px)); transition: transform .4s var(--ease);
}
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__panel > * { flex-shrink: 0; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__search { display: flex; align-items: center; gap: 10px; background: var(--paper); border-radius: var(--pill); padding: 0 18px; height: 50px; color: var(--muted); }
.mobile-menu__search input { flex: 1; border: 0; background: transparent; outline: none; font-size: 16px; color: var(--ink); min-width: 0; }
.m-group { border-bottom: 1px solid var(--line); }
.m-group summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 18px 4px; font: 600 19px/1.2 var(--font-display); letter-spacing: -0.02em; color: var(--ink); cursor: pointer; }
.m-group summary::-webkit-details-marker { display: none; }
.m-group summary .icon { transition: transform .25s var(--ease); color: var(--muted); }
.m-group[open] summary .icon { transform: rotate(180deg); }
.m-group ul { list-style: none; margin: 0 0 14px; padding: 0; }
.m-group li a { display: flex; align-items: center; gap: 12px; padding: 10px 4px; text-decoration: none; color: var(--body); font-weight: 500; }
.m-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--orange-50); color: var(--orange-ink); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.m-link { display: block; padding: 18px 4px; border-bottom: 1px solid var(--line); font: 600 19px/1.2 var(--font-display); letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.mobile-menu__cta { margin-top: auto; display: grid; gap: 10px; padding-top: 12px; }

/* Search overlay */
.search-overlay { position: fixed; inset: 0; z-index: 210; visibility: hidden; transition: visibility 0s linear .3s; }
.search-overlay.is-open { visibility: visible; transition: visibility 0s; }
.search-overlay__backdrop { position: absolute; inset: 0; background: rgba(6, 16, 29, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.search-overlay.is-open .search-overlay__backdrop { opacity: 1; }
.search-panel {
	position: relative; max-width: 720px; margin: 12vh auto 0; width: calc(100% - 32px);
	background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden;
	opacity: 0; transform: translateY(-12px) scale(.98); transition: opacity .25s var(--ease), transform .35s var(--ease);
}
.search-overlay.is-open .search-panel { opacity: 1; transform: none; }
.search-panel__form { display: flex; align-items: center; gap: 14px; padding: 0 20px 0 24px; height: 76px; border-bottom: 1px solid var(--line); color: var(--muted); }
.search-panel__form input { flex: 1; border: 0; outline: none; background: transparent; font: 500 20px/1 var(--font-body); color: var(--ink); min-width: 0; }
.search-panel__close { border: 1px solid var(--line-2); background: #fff; color: var(--muted); font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 8px; text-transform: uppercase; letter-spacing: .06em; }
.search-panel__body { padding: 20px 24px 26px; }
.search-panel__label { font: 600 12px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 6px 0 14px; }
.search-panel__body .chip-row { margin-bottom: 22px; }
.search-panel__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.search-panel__links a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink); }
.search-panel__links a:hover { background: var(--paper); }

/* ---------- 6. Hero ---------- */
.hero {
	position: relative; margin: var(--inset); border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
	min-height: max(680px, calc(100svh - 2 * var(--inset))); display: flex; align-items: flex-end;
	color: #fff; background: var(--navy-950);
}
body.admin-bar .hero { min-height: max(680px, calc(100svh - 2 * var(--inset) - 32px)); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.08); animation: heroZoom 16s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade {
	position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(180deg, rgba(6, 16, 29, .55) 0%, rgba(6, 16, 29, .05) 30%, rgba(6, 16, 29, .25) 55%, rgba(6, 16, 29, .9) 100%),
		linear-gradient(90deg, rgba(6, 16, 29, .65) 0%, rgba(6, 16, 29, 0) 65%);
}
.hero__inner { position: relative; padding-top: 150px; padding-bottom: 64px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
.hero__content { max-width: 760px; }
.hero__title { font: 700 clamp(52px, 8.6vw, 128px)/.9 var(--font-display); letter-spacing: -0.055em; color: #fff; margin: 22px 0 24px; }
.hero__lead { max-width: 580px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, .84); }
.hero-search {
	display: flex; align-items: center; gap: 10px; max-width: 580px; margin-top: 32px;
	background: rgba(255, 255, 255, .97); border-radius: var(--pill); padding: 6px 6px 6px 22px; color: var(--muted);
	box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
}
.hero-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 16.5px; color: var(--ink); height: 46px; }
.hero-search input::placeholder { color: var(--muted-2); }
.hero__chips { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-card {
	width: 380px; display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center;
	padding: 10px 14px 10px 10px; border-radius: 24px; color: #fff; text-decoration: none;
	background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
	-webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
	transition: background-color .25s, transform .3s var(--ease);
}
.hero-card:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }
.hero-card__media { width: 76px; height: 76px; border-radius: 16px; overflow: hidden; display: block; }
.hero-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-card__label { display: inline-flex; align-items: center; gap: 8px; font: 600 11.5px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.hero-card__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 8px; font: 600 15px/1.35 var(--font-display); }
.hero-card__arrow { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--navy-950); display: inline-flex; align-items: center; justify-content: center; }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .55); border-radius: var(--pill); z-index: 2; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

.js .hero-anim { opacity: 0; transform: translateY(20px); animation: fadeUp .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 90ms + 200ms); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- 7. Ticker ---------- */
.ticker { margin: 0 var(--inset); height: 56px; display: flex; align-items: center; gap: 4px; background: var(--paper); border-radius: var(--r-md); overflow: hidden; }
.ticker__label { flex: none; display: inline-flex; align-items: center; gap: 10px; height: 40px; margin-left: 8px; padding: 0 16px; border-radius: var(--pill); background: var(--navy-900); color: #fff; font: 600 12.5px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.ticker__viewport { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__track { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker__item { display: inline-flex; align-items: center; gap: 10px; padding: 0 28px; font-size: 14.5px; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; position: relative; }
.ticker__item::after { content: ""; position: absolute; right: 0; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--line-2); }
.ticker__item:hover { color: var(--orange-ink); }
.ticker__cat { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); }

/* ---------- 8. Homepage sections ---------- */
.statement { font: 650 clamp(28px, 3.7vw, 54px)/1.12 var(--font-display); letter-spacing: -0.035em; color: var(--ink); max-width: 1120px; }
.statement span { color: var(--muted-2); }

.hub { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 64px; }
.hub--compact { margin-top: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hub-tile {
	display: flex; flex-direction: column; gap: 10px; min-height: 290px; padding: 28px; border-radius: var(--r-lg);
	background: var(--paper); text-decoration: none; color: var(--body);
	transition: background-color .3s, transform .4s var(--ease), box-shadow .4s;
}
.hub--compact .hub-tile { min-height: 0; }
.hub-tile:hover { background: #fff; transform: translateY(-4px); box-shadow: var(--shadow-md), 0 0 0 1px var(--line); }
.hub-tile__icon { width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--orange-ink); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; transition: background-color .3s, color .3s; }
.hub-tile:hover .hub-tile__icon { background: var(--orange); color: var(--navy-950); }
.hub-tile__title { font: 650 22px/1.2 var(--font-display); letter-spacing: -0.02em; color: var(--ink); }
.hub-tile__text { font-size: 15.5px; color: var(--muted); }
.hub-tile__cta { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--ink); }
.hub-tile__cta .icon { transition: transform .25s var(--ease); }
.hub-tile:hover .hub-tile__cta .icon { transform: translateX(4px); }

/* Scroller */
.scroller-nav { display: flex; gap: 10px; }
.scroller {
	display: grid; grid-auto-flow: column; grid-auto-columns: min(80vw, 400px); gap: 16px;
	overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
	padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
	scroll-padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
	scrollbar-width: none; padding-bottom: 4px;
}
.scroller::-webkit-scrollbar { display: none; }
.sys-card {
	position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
	color: #fff; text-decoration: none; scroll-snap-align: start; background: var(--navy-900);
}
.sys-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.sys-card:hover .sys-card__img { transform: scale(1.06); }
.sys-card__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 16, 29, .1) 30%, rgba(6, 16, 29, .88) 100%); }
.sys-card__tag { position: absolute; top: 18px; left: 18px; padding: 8px 13px; border-radius: var(--pill); background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 12.5px; font-weight: 600; }
.sys-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 84px 28px 28px; display: flex; flex-direction: column; gap: 8px; }
.sys-card__num { font: 600 13px/1 var(--font-body); color: var(--orange); letter-spacing: .08em; }
.sys-card__title { font: 700 28px/1.05 var(--font-display); letter-spacing: -0.035em; }
.sys-card__text { font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .78); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sys-card__btn { position: absolute; right: 22px; bottom: 26px; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--navy-950); display: inline-flex; align-items: center; justify-content: center; transition: background-color .25s, transform .3s var(--ease); }
.sys-card:hover .sys-card__btn { background: var(--orange); transform: translateX(3px); }

/* Stats */
.stats-head { margin-bottom: 72px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stat { border-left: 1px solid rgba(255, 255, 255, .14); padding: 4px 0 4px 24px; }
.stat__num { font: 700 clamp(48px, 5.6vw, 84px)/1 var(--font-display); letter-spacing: -0.055em; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stat__unit { font-size: .36em; font-weight: 600; letter-spacing: -0.01em; color: var(--orange); margin-left: 6px; }
.stat__label { margin-top: 16px; max-width: 250px; font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, .66); }

/* Essentials */
.essentials { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.essential-feature { position: relative; border-radius: var(--r-xl); background: var(--paper); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.essential-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.essential-feature__media { position: relative; margin: 12px; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 10; }
.essential-feature__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.essential-feature:hover .essential-feature__img { transform: scale(1.04); }
.badge { position: absolute; top: 16px; left: 16px; background: var(--orange); color: var(--navy-950); font: 700 11.5px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; padding: 9px 13px; border-radius: var(--pill); }
.essential-feature__body { padding: 16px 32px 32px; }
.essential-feature__title { font: 700 clamp(26px, 2.6vw, 36px)/1.1 var(--font-display); letter-spacing: -0.035em; margin: 16px 0 12px; }
.essential-feature__title a { text-decoration: none; color: var(--ink); }
.essential-feature__title a::after { content: ""; position: absolute; inset: 0; }
.essential-feature__excerpt { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
.essential-list { display: flex; flex-direction: column; gap: 12px; }

/* Cards */
.card {
	position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg);
	border: 1px solid var(--line); overflow: hidden;
	transition: transform .4s var(--ease), box-shadow .4s, border-color .3s;
}
.section--paper .card { border-color: transparent; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__media { margin: 10px 10px 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper-2); }
.card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.card:hover .card__img { transform: scale(1.05); }
.img-fallback { display: block; background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 24px 26px; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13px; color: var(--muted); }
.card__time { display: inline-flex; align-items: center; gap: 5px; }
.card__title { font: 650 20px/1.28 var(--font-display); letter-spacing: -0.02em; margin: 14px 0 10px; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__title a:focus-visible { outline: none; }
.card:focus-within { outline: 3px solid var(--orange); outline-offset: 2px; }
.card__excerpt { font-size: 15px; line-height: 1.6; color: var(--muted); margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.card__more .icon { transition: transform .25s var(--ease); }
.card:hover .card__more .icon { transform: translateX(4px); }

.card--row { display: grid; grid-template-columns: 136px minmax(0, 1fr); align-items: center; gap: 4px; border-radius: var(--r-md); }
.card--row .card__media { margin: 10px; aspect-ratio: 1 / 1; border-radius: var(--r-sm); }
.card--row .card__body { padding: 12px 20px 12px 10px; }
.card--row .card__title { font-size: 17.5px; margin: 10px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card--row:hover { transform: translateX(4px); }

.card--feature { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; margin-bottom: 24px; border-radius: var(--r-xl); background: var(--paper); border-color: transparent; }
.card--feature .card__media { margin: 12px; aspect-ratio: 16 / 10; border-radius: var(--r-lg); }
.card--feature .card__body { padding: 28px 44px 28px 20px; }
.card--feature .card__title { font: 700 clamp(26px, 3vw, 40px)/1.08 var(--font-display); letter-spacing: -0.04em; margin: 18px 0 14px; }
.card--feature .card__excerpt { font-size: 16.5px; -webkit-line-clamp: 4; }

/* Tabs / quick reference */
.tabs { text-align: center; }
.tabs__list { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 6px; background: #fff; border-radius: var(--pill); box-shadow: var(--shadow-sm); margin-bottom: 28px; }
.tabs__list [role="tab"] { border: 0; background: transparent; padding: 12px 20px; border-radius: var(--pill); font-weight: 600; font-size: 15px; color: var(--muted); transition: background-color .25s, color .25s; }
.tabs__list [role="tab"]:hover { color: var(--ink); }
.tabs__list [role="tab"][aria-selected="true"] { background: var(--navy-900); color: #fff; }
.tab-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 16px; text-align: left; background: #fff; border-radius: var(--r-xl); animation: panelIn .5s var(--ease); }
.tab-panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ref-visual { background: var(--navy-950); color: #fff; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; min-height: 360px; }
.ref-visual__cap { font: 600 12px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 28px; }
.ref-visual--donut { flex-direction: row; align-items: center; gap: 32px; }
.donut { width: 210px; height: 210px; flex: none; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 14; }
.donut__track { stroke: rgba(255, 255, 255, .1); }
.donut__val { stroke: var(--orange); stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1.4s var(--ease); }
.tabs.is-seen .tab-panel:not([hidden]) .donut__val, html:not(.js) .donut__val { stroke-dasharray: var(--v) 100; }
.donut__label strong { display: block; font: 700 clamp(38px, 4vw, 54px)/1 var(--font-display); letter-spacing: -0.05em; white-space: nowrap; }
.donut__label span { display: block; margin-top: 10px; color: rgba(255, 255, 255, .7); max-width: 200px; }
.ladder__row { display: grid; grid-template-columns: minmax(0, 1fr) 48px; align-items: center; gap: 10px 16px; margin-bottom: 24px; }
.ladder__row span { grid-column: 1 / -1; font-size: 14.5px; color: rgba(255, 255, 255, .82); }
.ladder__row i, .range-chart__track { display: block; height: 12px; border-radius: var(--pill); background: rgba(255, 255, 255, .1); position: relative; overflow: hidden; }
.ladder__row i::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #ff9b52, var(--orange)); animation: grow 1.1s var(--ease) both; transform-origin: left; }
.ladder__row b { font-weight: 600; font-size: 14px; text-align: right; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.range-chart__row { display: grid; grid-template-columns: 132px minmax(0, 1fr) 70px; align-items: center; gap: 14px; margin-bottom: 20px; }
.range-chart__label { font-size: 14px; color: rgba(255, 255, 255, .82); }
.range-chart__track { height: 14px; }
.range-chart__track i { position: absolute; top: 0; bottom: 0; left: var(--l); width: var(--w); border-radius: var(--pill); background: linear-gradient(90deg, #ff9b52, var(--orange)); animation: grow 1.1s var(--ease) both; transform-origin: left; }
.range-chart__val { font-size: 14px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.range-chart__axis { display: flex; justify-content: space-between; margin: 6px 84px 0 146px; font-size: 12px; color: rgba(255, 255, 255, .45); }
.ref-body { padding: 20px 16px 16px; }
.ref-body h3 { font: 650 26px/1.15 var(--font-display); letter-spacing: -0.03em; margin-bottom: 10px; }
.ref-body--full { grid-column: 1 / -1; padding-top: 4px; text-align: center; }
.ref-body--full .text-link { margin-top: 8px; }
.ref-list { list-style: none; margin: 0; padding: 0; }
.ref-list li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.ref-list strong { color: var(--ink); font-weight: 600; }
.ref-list__k { font-weight: 700; font-size: 13px; color: var(--orange-ink); padding-top: 2px; font-variant-numeric: tabular-nums; }
.std-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.std { background: var(--paper); border-radius: var(--r-md); padding: 26px; }
.std__icon { width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--orange-ink); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 26px; }
.std__code { font: 700 21px/1.15 var(--font-display); letter-spacing: -0.02em; color: var(--ink); }
.std__text { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* Compare table */
.compare { border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; background: #fff; }
.compare__scroll { overflow-x: auto; }
.compare__table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 15px; }
.compare__table th, .compare__table td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare__table tbody tr:last-child th, .compare__table tbody tr:last-child td { border-bottom: 0; }
.compare__table thead th { font: 600 12px/1.2 var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: var(--paper); }
.compare__table tbody th { font: 650 16px/1.3 var(--font-display); color: var(--ink); position: sticky; left: 0; background: #fff; z-index: 1; min-width: 230px; }
.compare__table tbody th .chip { margin-top: 8px; display: inline-flex; }
.compare__table tr.is-highlight th, .compare__table tr.is-highlight td { background: #fff6ef; }
.compare__table tbody tr:not(.is-highlight):hover th, .compare__table tbody tr:not(.is-highlight):hover td { background: #fbfaf8; }
.compare__table .num { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.uv { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.uv i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-2); }
.uv--high i { background: var(--green); }
.uv--mid i { background: var(--amber); }
.uv--low i { background: var(--red); }

/* Sponsor */
.sponsor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--r-xl); overflow: hidden; background: var(--navy-950); color: rgba(255, 255, 255, .74); min-height: 580px; }
.sponsor__media { position: relative; min-height: 320px; }
.sponsor__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sponsor__logo { position: absolute; top: 22px; left: 22px; padding: 10px 16px; border-radius: var(--pill); background: rgba(6, 16, 29, .55); border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; font: 800 14px/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.sponsor__body { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.sponsor__title { font: 700 clamp(32px, 3.4vw, 46px)/1.04 var(--font-display); letter-spacing: -0.045em; color: #fff; margin: 18px 0 18px; }
.sponsor__text { font-size: 17px; max-width: 520px; }
.checks { list-style: none; margin: 28px 0 34px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, .88); }
.checks .icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: rgba(255, 106, 19, .16); color: var(--orange); flex: none; }

/* Duo */
.duo { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
.duo-card { position: relative; display: flex; align-items: flex-end; min-height: 460px; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-xl); overflow: hidden; isolation: isolate; text-decoration: none; color: #fff; transition: transform .4s var(--ease); }
.duo-card:hover { transform: translateY(-4px); }
.duo-card--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.duo-card--image:hover img { transform: scale(1.05); }
.duo-card__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 16, 29, .05) 20%, rgba(6, 16, 29, .88) 100%); }
.duo-card--orange { background: var(--orange); color: var(--navy-950); flex-direction: column; align-items: flex-start; justify-content: space-between; }
.duo-card--orange .eyebrow { color: rgba(6, 16, 29, .7); }
.duo-card__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--navy-950); color: var(--orange); display: inline-flex; align-items: center; justify-content: center; }
.duo-card__body { display: flex; flex-direction: column; align-items: flex-start; }
.duo-card__title { display: block; font: 700 clamp(30px, 3.2vw, 46px)/1.02 var(--font-display); letter-spacing: -0.045em; margin: 16px 0 12px; color: inherit; }
.duo-card__text { display: block; max-width: 470px; font-size: 16px; line-height: 1.55; opacity: .86; margin-bottom: 26px; }

/* Band */
.band { position: relative; display: flex; align-items: center; min-height: 540px; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; color: #fff; background: var(--navy-950); }
.band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 16, 29, .9) 0%, rgba(6, 16, 29, .55) 55%, rgba(6, 16, 29, .1) 100%); }
.band__body { max-width: 680px; padding: clamp(32px, 6vw, 80px); }
.band__title { font: 700 clamp(34px, 4.4vw, 60px)/1.02 var(--font-display); letter-spacing: -0.045em; color: #fff; margin: 18px 0 18px; }
.band__text { font-size: 17px; color: rgba(255, 255, 255, .8); margin-bottom: 30px; max-width: 560px; }

/* ---------- 9. Page hero, archives ---------- */
.page-hero {
	position: relative; margin: var(--inset); border-radius: var(--r-xl); background: var(--paper);
	padding: 150px 0 64px; overflow: hidden; isolation: isolate;
}
.page-hero::after {
	content: ""; position: absolute; z-index: -1; right: -120px; top: 50%; width: 520px; height: 520px; margin-top: -260px; border-radius: 50%;
	background: radial-gradient(circle, transparent 0 96px, rgba(255, 106, 19, .14) 97px 132px, transparent 133px 176px, rgba(10, 26, 47, .06) 177px 250px, transparent 251px);
	pointer-events: none;
}
.page-hero__title { font: 700 clamp(40px, 6vw, 80px)/1 var(--font-display); letter-spacing: -0.05em; color: var(--ink); margin-top: 18px; max-width: 18ch; }
.page-hero__lead { margin-top: 20px; max-width: 660px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--muted); }
.page-hero--404 .page-hero__title { max-width: none; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs__sep { margin: 0 10px; opacity: .45; }
.crumbs [aria-current] { color: var(--ink); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pill-search {
	display: flex; align-items: center; gap: 10px; max-width: 620px; margin-top: 32px; padding: 6px 6px 6px 20px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--pill); color: var(--muted);
	transition: border-color .2s, box-shadow .2s;
}
.pill-search:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 106, 19, .15); }
.pill-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 16px; color: var(--ink); height: 42px; }

.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers { min-width: 48px; height: 48px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--pill); border: 1px solid var(--line); font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; transition: border-color .2s, background-color .2s, color .2s; }
a.page-numbers:hover { border-color: var(--ink); }
.page-numbers.current { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.page-numbers.dots { border-color: transparent; }

.empty { text-align: center; max-width: 560px; margin: 24px auto; padding: 56px 32px; background: var(--paper); border-radius: var(--r-xl); }
.empty__icon { width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--orange-ink); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.empty h2 { font-size: 28px; letter-spacing: -0.03em; margin-bottom: 10px; }
.empty p { color: var(--muted); margin-bottom: 24px; }

/* ---------- 10. Single article ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 150; pointer-events: none; }
body.admin-bar .read-progress { top: 32px; }
.read-progress span { display: block; height: 100%; background: var(--orange); transform-origin: left; transform: scaleX(var(--p, 0)); }

.post-hero { padding: 150px 0 40px; text-align: center; }
.post-hero .crumbs { justify-content: center; }
.post-hero__title { font: 700 clamp(36px, 5.2vw, 66px)/1.04 var(--font-display); letter-spacing: -0.045em; color: var(--ink); margin: 22px auto 0; max-width: 960px; }
.post-hero__deck { margin: 20px auto 0; max-width: 700px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--muted); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 26px; margin-top: 32px; font-size: 14.5px; color: var(--muted); }
.post-meta__author { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; text-align: left; }
.post-meta__avatar { width: 40px; height: 40px; border-radius: 50%; }
.post-meta__by { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.post-meta__item { display: inline-flex; align-items: center; gap: 7px; }
.post-cover { margin: 8px auto 0; }
.post-cover__img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r-xl); display: block; background: var(--paper); }
.post-cover figcaption { margin-top: 12px; text-align: center; font-size: 14px; color: var(--muted); }

.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 72px; max-width: 1140px; padding-top: 56px; padding-bottom: 88px; }
.post-main { min-width: 0; max-width: 760px; }
.post-aside { min-width: 0; }
.aside-sticky { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 28px; }
body.admin-bar .aside-sticky { top: 142px; }
.toc__title { font: 600 12px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); max-height: 52vh; overflow-y: auto; }
.toc a { display: block; margin-left: -2px; padding: 7px 0 7px 16px; border-left: 2px solid transparent; font-size: 14.5px; line-height: 1.4; color: var(--muted); text-decoration: none; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); font-weight: 600; border-left-color: var(--orange); }
.aside-card { background: var(--navy-950); color: #fff; border-radius: var(--r-md); padding: 24px; }
.aside-card__eyebrow { font: 600 11.5px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.aside-card__title { font: 650 19px/1.3 var(--font-display); letter-spacing: -0.015em; margin: 10px 0 18px; }
.toc-mobile { display: none; background: var(--paper); border-radius: var(--r-md); padding: 4px 20px; margin-bottom: 32px; }
.toc-mobile summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 14px 0; font-weight: 600; color: var(--ink); cursor: pointer; }
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile summary .icon:last-child { margin-left: auto; transition: transform .25s; }
.toc-mobile[open] summary .icon:last-child { transform: rotate(180deg); }
.toc-mobile ol { margin: 0 0 16px; padding-left: 20px; }
.toc-mobile li { margin: 8px 0; }
.toc-mobile a { color: var(--body); text-decoration: none; }

/* Article typography */
.entry-content { font-size: 18px; line-height: 1.78; color: #2d3748; }
.entry-content > * + * { margin-top: 1.35em; }
.entry-content > :first-child { margin-top: 0; }
.entry-content p { margin: 0; }
.entry-content > p + p { margin-top: 1.1em; }
.entry-content h2 { font: 700 clamp(26px, 2.4vw, 32px)/1.2 var(--font-display); letter-spacing: -0.03em; margin-top: 2.1em; margin-bottom: .2em; scroll-margin-top: 120px; }
.entry-content h3 { font: 650 clamp(21px, 1.8vw, 24px)/1.3 var(--font-display); letter-spacing: -0.02em; margin-top: 1.8em; margin-bottom: .1em; scroll-margin-top: 120px; }
.entry-content h4 { font: 650 19px/1.35 var(--font-display); margin-top: 1.6em; }
.entry-content h2 + *, .entry-content h3 + *, .entry-content h4 + * { margin-top: .6em; }
.entry-content a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: color .2s; }
.entry-content a:hover { color: var(--orange-ink); }
.entry-content strong, .entry-content b { color: var(--ink); font-weight: 650; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin: .45em 0; padding-left: .2em; }
.entry-content li::marker { color: var(--orange); font-weight: 700; }
.entry-content blockquote, .entry-content .wp-block-quote { margin-left: 0; margin-right: 0; padding: 26px 30px; border-left: 4px solid var(--orange); background: var(--paper); border-radius: 0 var(--r-md) var(--r-md) 0; font-size: 20px; line-height: 1.6; color: var(--ink); }
.entry-content blockquote p + p { margin-top: .8em; }
.entry-content blockquote cite { display: block; margin-top: 12px; font-size: 14px; font-style: normal; color: var(--muted); }
.entry-content .wp-block-pullquote { border: 0; padding: 32px; background: var(--navy-950); color: #fff; border-radius: var(--r-lg); text-align: left; }
.entry-content .wp-block-pullquote blockquote { background: none; border: 0; padding: 0; color: #fff; font: 650 26px/1.3 var(--font-display); }
.entry-content img { border-radius: var(--r-md); }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption, .entry-content .wp-element-caption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); text-align: center; }
.entry-content hr, .entry-content .wp-block-separator { border: 0; height: 1px; background: var(--line); margin: 3em 0; opacity: 1; }
.entry-content code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: var(--paper); padding: 2px 7px; border-radius: 6px; }
.entry-content pre { background: var(--navy-950); color: #e6edf6; padding: 22px; border-radius: var(--r-md); overflow-x: auto; font-size: 14.5px; line-height: 1.6; }
.entry-content pre code { background: none; padding: 0; color: inherit; }
.entry-content table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15.5px; line-height: 1.5; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.entry-content .wp-block-table { overflow-x: auto; border-radius: var(--r-sm); }
.entry-content .wp-block-table table { border: 1px solid var(--line); min-width: 560px; }
.entry-content th, .entry-content td { padding: 13px 16px; text-align: left; border: 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.entry-content thead th, .entry-content thead td, .entry-content table tr:first-child th { background: var(--paper); color: var(--ink); font-weight: 650; font-size: 14.5px; }
.entry-content tbody tr:last-child td, .entry-content tbody tr:last-child th { border-bottom: 0; }
.entry-content tbody tr:nth-child(even) td { background: #fcfbf9; }
.entry-content .wp-block-table thead { border-bottom: 0; }
.entry-content .wp-block-table figcaption { text-align: left; }

/* Gutenberg blocks */
.entry-content .wp-block-image img { border-radius: var(--r-md); }
.entry-content .wp-block-cover, .entry-content .wp-block-cover-image { border-radius: var(--r-lg); overflow: hidden; padding: clamp(28px, 5vw, 56px); min-height: 280px; margin-bottom: 2em; }
.entry-content .wp-block-cover:not(:has(.wp-block-cover__image-background)):not(:has(.wp-block-cover__video-background)) .wp-block-cover__background { background: radial-gradient(circle at 85% 20%, rgba(255, 106, 19, .35), transparent 45%), linear-gradient(135deg, var(--navy-800), var(--navy-950)) !important; opacity: 1 !important; }
.entry-content .wp-block-cover h1, .entry-content .wp-block-cover h2, .entry-content .wp-block-cover h3, .entry-content .wp-block-cover p { color: #fff; }
.entry-content .wp-block-cover h1 { font: 700 clamp(30px, 3.6vw, 46px)/1.08 var(--font-display); letter-spacing: -0.04em; }
.entry-content .wp-block-columns { gap: 20px; margin-top: 1.6em; }
.entry-content .wp-block-column { min-width: 0; }
.entry-content .wp-block-columns .wp-block-column > :first-child { margin-top: 0; }
.entry-content .wp-block-columns.has-background, .entry-content .wp-block-group.has-background, .entry-content .wp-block-column.has-background { border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); }
.entry-content .wp-block-columns > .wp-block-column { background: var(--paper); border-radius: var(--r-lg); padding: 26px 28px; font-size: 16px; line-height: 1.65; }
.entry-content .wp-block-columns > .wp-block-column > * + * { margin-top: .7em; }
.entry-content .wp-block-columns > .wp-block-column h3 { margin-top: 0; }
.entry-content .wp-block-buttons { gap: 10px; }
.entry-content .wp-block-button__link { border-radius: var(--pill) !important; padding: 15px 26px; background: var(--navy-900); color: #fff !important; font: 600 15.5px/1 var(--font-body); text-decoration: none; transition: background-color .2s, transform .2s; }
.entry-content .wp-block-button__link:hover { background: var(--navy-700); transform: translateY(-1px); }
.entry-content .is-style-outline .wp-block-button__link { background: transparent; color: var(--ink) !important; border: 1px solid var(--line-2); }
.entry-content .has-text-align-center { text-align: center; }
.entry-content .alignwide { width: min(1140px, calc(100vw - 48px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignfull { width: calc(100vw - 2 * var(--inset)); max-width: none; margin-left: 50%; transform: translateX(-50%); border-radius: var(--r-xl); }
.post-main .entry-content .alignwide, .post-main .entry-content .alignfull { width: 100%; margin-left: 0; transform: none; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.entry-content .alignleft { float: left; margin: .4em 1.6em 1em 0; max-width: 50%; }
.entry-content .alignright { float: right; margin: .4em 0 1em 1.6em; max-width: 50%; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content iframe { max-width: 100%; border-radius: var(--r-md); }
.entry-content .wp-block-embed__wrapper iframe { width: 100%; }

/* Post end */
.post-end { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 28px; }
.share-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; color: var(--ink); }
.share-bar__btns { display: flex; gap: 8px; }
.round-btn.is-copied { background: var(--green); border-color: var(--green); color: #fff; }
.inline-sponsor { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; background: var(--navy-950); color: rgba(255, 255, 255, .72); border-radius: var(--r-lg); }
.inline-sponsor__eyebrow { font: 600 11.5px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.inline-sponsor__title { font: 650 22px/1.25 var(--font-display); letter-spacing: -0.02em; color: #fff; margin: 10px 0 6px; }
.inline-sponsor__text { font-size: 15px; }
.post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.post-nav__link { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border-radius: var(--r-md); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background-color .2s, border-color .2s; }
.post-nav__link:hover { background: var(--paper); border-color: var(--paper); }
.post-nav__link--next { text-align: right; align-items: flex-end; }
.post-nav__dir { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-nav__title { font: 600 16.5px/1.35 var(--font-display); letter-spacing: -0.01em; }

/* Comments */
.comments__title, .comment-reply-title { font: 700 28px/1.2 var(--font-display); letter-spacing: -0.03em; margin-bottom: 24px; }
.comment-list { list-style: none; margin: 0 0 40px; padding: 0; }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-body { padding: 22px 24px; background: var(--paper); border-radius: var(--r-md); margin-bottom: 12px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.comment-author .avatar { border-radius: 50%; }
.comment-metadata { font-size: 13px; margin: 4px 0 10px; }
.comment-metadata a { color: var(--muted); text-decoration: none; }
.reply a { font-weight: 600; font-size: 14px; color: var(--orange-ink); text-decoration: none; }
.comment-form label { display: block; font-weight: 600; font-size: 14.5px; color: var(--ink); margin-bottom: 6px; }
.comment-form p { margin-bottom: 16px; }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; }

/* ---------- 11. Pages, contact, forms ---------- */
.page-body { padding: 64px 0 96px; }
.page-body .entry-content { max-width: 800px; margin: 0 auto; }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: start; }
.contact__cards { display: flex; flex-direction: column; gap: 12px; }
.contact-card { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 22px; border-radius: var(--r-md); background: var(--paper); color: var(--ink); text-decoration: none; transition: background-color .25s, box-shadow .25s, transform .3s var(--ease); }
.contact-card:hover { background: #fff; box-shadow: var(--shadow-md), 0 0 0 1px var(--line); transform: translateY(-2px); }
.contact-card__icon { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--orange-ink); display: inline-flex; align-items: center; justify-content: center; }
.contact-card__title { display: block; font: 650 17px/1.3 var(--font-display); }
.contact-card__text { display: block; margin-top: 3px; font-size: 14.5px; color: var(--muted); }
.contact-card__arrow { color: var(--muted); }
.contact-card--dark { background: var(--navy-950); color: #fff; }
.contact-card--dark:hover { background: var(--navy-900); }
.contact-card--dark .contact-card__icon { background: rgba(255, 255, 255, .1); color: var(--orange); }
.contact-card--dark .contact-card__text, .contact-card--dark .contact-card__arrow { color: rgba(255, 255, 255, .65); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-md); }
.form-card__title { font: 700 30px/1.1 var(--font-display); letter-spacing: -0.035em; }
.form-card__text { margin: 8px 0 24px; color: var(--muted); }

/* Generic + WPForms fields */
.wpforms-container {
	--wpforms-field-border-radius: 14px;
	--wpforms-field-border-color: var(--line-2);
	--wpforms-field-size-input-height: 52px;
	--wpforms-label-color: var(--ink);
	--wpforms-button-background-color: var(--orange);
	--wpforms-button-text-color: var(--navy-950);
	--wpforms-button-border-radius: 999px;
	--wpforms-button-size-height: 54px;
	--wpforms-button-size-padding-h: 30px;
	--wpforms-button-size-font-size: 16px;
	margin: 0 !important;
}
.entry-content input[type="text"], .entry-content input[type="email"], .entry-content input[type="tel"], .entry-content input[type="url"], .entry-content input[type="number"], .entry-content input[type="search"], .entry-content textarea, .entry-content select,
.form-card input[type="text"], .form-card input[type="email"], .form-card input[type="tel"], .form-card input[type="url"], .form-card input[type="number"], .form-card textarea, .form-card select,
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; max-width: 100% !important; padding: 13px 16px; min-height: 52px; border: 1px solid var(--line-2) !important; border-radius: 14px !important;
	background: #fff !important; font-size: 16px !important; color: var(--ink) !important; box-shadow: none !important; transition: border-color .2s, box-shadow .2s;
}
.entry-content textarea, .form-card textarea, .comment-form textarea { min-height: 140px; }
.entry-content input:focus, .entry-content textarea:focus, .entry-content select:focus, .form-card input:focus, .form-card textarea:focus, .form-card select:focus, .comment-form input:focus, .comment-form textarea:focus {
	outline: none; border-color: var(--orange) !important; box-shadow: 0 0 0 4px rgba(255, 106, 19, .15) !important;
}
.wpforms-container .wpforms-field-label { font-weight: 600 !important; font-size: 14.5px !important; color: var(--ink) !important; margin-bottom: 6px !important; }
.wpforms-container .wpforms-field-sublabel { font-size: 12.5px !important; color: var(--muted) !important; }
.wpforms-container .wpforms-field { padding: 8px 0 !important; }
.wpforms-container .wpforms-field-row, .wpforms-container .wpforms-field-medium, .wpforms-container .wpforms-field-large, .wpforms-container .wpforms-field-small { max-width: 100% !important; }
.wpforms-container .wpforms-field-row { display: flex !important; gap: 14px; }
.wpforms-container .wpforms-field-row .wpforms-field-row-block { flex: 1 1 0; width: auto !important; padding: 0 !important; margin: 0 !important; }
.wpforms-container .wpforms-field-row::before, .wpforms-container .wpforms-field-row::after { display: none !important; }
.wpforms-container button[type="submit"], .wpforms-container .wpforms-submit {
	background: var(--orange) !important; color: var(--navy-950) !important; border: 0 !important; border-radius: 999px !important;
	padding: 16px 30px !important; height: auto !important; font: 600 16px/1 var(--font-body) !important; cursor: pointer; transition: background-color .2s, transform .2s !important;
}
.wpforms-container button[type="submit"]:hover { background: var(--orange-hover) !important; transform: translateY(-1px); }
.wpforms-container .wpforms-error, .wpforms-container label.wpforms-error { color: var(--red) !important; font-size: 13px !important; }

/* ---------- 12. Footer ---------- */
.site-footer { position: relative; margin: var(--inset); border-radius: var(--r-xl); background: var(--navy-950); color: rgba(255, 255, 255, .7); padding: 72px 0 28px; overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; z-index: -1; top: -240px; right: -160px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 106, 19, .18), transparent 62%); pointer-events: none; }
.footer-cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-cta__title { font: 700 clamp(30px, 3.6vw, 50px)/1.04 var(--font-display); letter-spacing: -0.045em; color: #fff; max-width: 660px; margin-top: 16px; }
.footer-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand p { font-size: 15px; line-height: 1.6; max-width: 360px; margin: 20px 0 22px; }
.footer-search { display: flex; align-items: center; gap: 10px; height: 50px; max-width: 340px; padding: 0 18px; border-radius: var(--pill); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .55); transition: border-color .2s; }
.footer-search:focus-within { border-color: var(--orange); }
.footer-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: #fff; font-size: 15px; }
.footer-search input::placeholder { color: rgba(255, 255, 255, .45); }
.footer-col__title { font: 600 12.5px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 11px 0; }
.footer-col a { color: rgba(255, 255, 255, .68); text-decoration: none; font-size: 15px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.footer-legal, .footer-legal ul { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
.footer-legal li { margin: 0; padding: 0; }
.footer-legal a { color: rgba(255, 255, 255, .68); text-decoration: none; }
.footer-legal a:hover { color: #fff; }
.footer-sponsor { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .68); text-decoration: none; }
.footer-sponsor strong { color: #fff; font-weight: 700; }
.footer-sponsor:hover { color: #fff; }

/* ---------- 13. Motion helpers ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--navy-900); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s var(--ease), visibility 0s linear .3s, background-color .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease), visibility 0s, background-color .2s; }
.to-top:hover { background: var(--orange); color: var(--navy-950); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.js .reveal, .js .hero-anim { opacity: 1; transform: none; }
	.ticker__track { animation: none; }
}

/* ---------- 14. Responsive ---------- */
@media (max-width: 1240px) {
	.nav-link { padding: 10px 11px; font-size: 14.5px; }
	.nav-shell { gap: 12px; }
}
@media (max-width: 1120px) {
	.primary-nav { display: none; }
	.menu-toggle { display: inline-flex; }
	.mega-layer, .mega-scrim { display: none; }
	.nav-actions, .primary-nav + .nav-actions { margin-left: auto; }
}
@media (max-width: 1024px) {
	.hub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
	.essentials { grid-template-columns: 1fr; }
	.tab-panel { grid-template-columns: 1fr; }
	.std-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sponsor { grid-template-columns: 1fr; }
	.sponsor__media { aspect-ratio: 16 / 9; min-height: 0; }
	.duo { grid-template-columns: 1fr; }
	.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.card--feature { grid-template-columns: 1fr; }
	.card--feature .card__body { padding: 12px 28px 32px; }
	.post-layout { grid-template-columns: 1fr; gap: 0; }
	.post-aside { display: none; }
	.post-main { max-width: 760px; margin: 0 auto; width: 100%; }
	.toc-mobile:not([hidden]) { display: block; }
	.footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer-brand { grid-column: 1 / -1; }
	.contact { grid-template-columns: 1fr; }
	.hub--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.hero__inner { grid-template-columns: 1fr; padding-top: 130px; padding-bottom: 48px; }
	.hero-card { width: 100%; max-width: 440px; }
	.hero__scroll { display: none; }
	.footer-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 782px) {
	body.admin-bar .site-header { top: calc(46px + var(--header-top)); }
	body.admin-bar .read-progress { top: 46px; }
}
@media (max-width: 720px) {
	:root { --inset: 8px; --gutter: 20px; --r-xl: 26px; --r-lg: 22px; --header-h: 60px; --header-top: 8px; }
	.nav-shell { padding: 0 8px 0 16px; }
	.brand__text { font-size: 15px; }
	.section { padding: 76px 0; }
	.section--tight { padding: 32px 0 72px; }
	.section-head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
	.section-head--center { align-items: center; }
	.hero { min-height: max(620px, calc(100svh - 16px)); }
	.hero__title { font-size: clamp(46px, 14vw, 72px); }
	.hero-search { padding-left: 16px; }
	.hero-search .btn { padding: 13px 16px; }
	.hero-card { display: none; }
	.ticker__label { padding: 0 12px; }
	.hub { grid-template-columns: 1fr; margin-top: 40px; }
	.hub-tile { min-height: 0; }
	.stats { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
	.stat { padding-left: 16px; }
	.stat__num { font-size: clamp(30px, 9.2vw, 44px); }
	.br-d { display: none; }
	.scroller-nav { display: none; }
	.hub-tile { padding: 22px; gap: 6px; }
	.hub-tile__icon { width: 46px; height: 46px; }
	.hub-tile__title { font-size: 19px; }
	.hub-tile__text { font-size: 14.5px; }
	.stat__label { font-size: 14px; }
	.grid--3 { grid-template-columns: 1fr; }
	.card--row { grid-template-columns: 104px minmax(0, 1fr); }
	.card--row .card__title { font-size: 16px; }
	.essential-feature__body { padding: 12px 22px 26px; }
	.ref-visual { min-height: 0; }
	.ref-visual--donut { flex-direction: column; align-items: flex-start; }
	.donut { width: 160px; height: 160px; }
	.range-chart__row { grid-template-columns: 100px minmax(0, 1fr) 60px; gap: 10px; }
	.range-chart__axis { margin: 6px 70px 0 110px; }
	.ref-list li { grid-template-columns: 64px minmax(0, 1fr); }
	.std-grid { grid-template-columns: 1fr; }
	.tabs__list { border-radius: var(--r-md); }
	.tabs__list [role="tab"] { padding: 10px 14px; font-size: 14px; }
	.tab-panel { padding: 10px; }
	.checks { grid-template-columns: 1fr; }
	.duo-card { min-height: 400px; }
	.band { min-height: 0; }
	.band__shade { background: linear-gradient(180deg, rgba(6, 16, 29, .55), rgba(6, 16, 29, .9)); }
	.page-hero { padding: 120px 0 44px; }
	.page-hero::after { width: 360px; height: 360px; margin-top: -180px; right: -170px; }
	.post-hero { padding: 116px 0 28px; }
	.post-cover__img { aspect-ratio: 16 / 10; }
	.post-layout { padding-top: 36px; padding-bottom: 64px; }
	.entry-content { font-size: 17px; }
	.inline-sponsor { flex-direction: column; align-items: flex-start; padding: 24px; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav__link--next { text-align: left; align-items: flex-start; }
	.share-bar { flex-direction: column; align-items: flex-start; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
	.footer-grid .footer-col:last-child { grid-column: 1 / -1; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
	.search-panel { margin-top: 10vh; }
	.search-panel__links { grid-template-columns: 1fr; }
	.hub--compact { grid-template-columns: 1fr; }
	.entry-content .alignleft, .entry-content .alignright { float: none; margin: 1.4em 0; max-width: 100%; }
	.to-top { right: 16px; bottom: 16px; }
}
@media (max-width: 560px) {
	.nav-cta { display: none; }
	.compare__table tbody th { min-width: 180px; }
}
@media (max-width: 380px) {
	.brand__word--light { display: none; }
}
