/*
Theme Name: Nucleus
Theme URI: https://patriotmws.com/
Author: Nucleus Manufacturing Solutions
Description: A custom theme for the Nucleus Performance Program — The Center of Manufacturing Excellence. Built from the program's strategic summary deck: navy, red and steel palette, Oswald headlines, pill-style metric rows, a five-step program workflow, 3 Bids & 1 Buy sourcing, review cadence tabs, team profiles, a scrap & tooling savings estimator, FAQ and an assessment request form that saves every inquiry in the dashboard.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nucleus
Tags: business, one-column, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks, editor-style
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--navy-950: #061A33;
	--navy-900: #0A2240;
	--navy: #0B2A4E;
	--navy-700: #17406F;
	--navy-500: #2E5C8F;
	--ink: #0F172A;
	--slate-800: #1E293B;
	--steel: #475569;
	--steel-400: #64748B;
	--steel-300: #94A3B8;
	--line: #CBD5E1;
	--line-soft: #E2E8F0;
	--mist: #F1F5F9;
	--mist-2: #E9ECF1;
	--paper: #F8FAFC;
	--white: #FFFFFF;
	--red: #B91C1C;
	--red-dark: #991B1B;
	--red-bright: #C8102E;
	--red-tint: #FEF2F2;
	--teal: #3D8496;

	--font-display: "Oswald", "Roboto Condensed", "Arial Narrow", sans-serif;
	--font-condensed: "Roboto Condensed", "Arial Narrow", sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--radius: 14px;
	--radius-pill: 28px;
	--shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
	--shadow: 0 4px 10px rgba(15, 23, 42, .06), 0 10px 30px rgba(15, 23, 42, .08);
	--shadow-lg: 0 18px 50px rgba(6, 26, 51, .18);
	--container: 1200px;
	--gutter: clamp(20px, 4vw, 40px);
	--section: clamp(64px, 9vw, 112px);
	--header-h: 84px;
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--slate-800);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--navy); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: .005em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 3px; border-radius: 4px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.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:focus { clip: auto; clip-path: none; height: auto; width: auto; left: 12px; top: 12px; z-index: 1000; padding: 12px 18px; background: var(--white); color: var(--navy); font-weight: 700; box-shadow: var(--shadow); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.container--mid { max-width: 980px; }

/* ==========================================================================
   3. Buttons, chips, tiles, rules
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .9em 1.6em; border-radius: 8px; border: 2px solid transparent;
	font-family: var(--font-condensed); font-weight: 700; font-size: 1rem; letter-spacing: .07em; text-transform: uppercase;
	text-decoration: none; cursor: pointer; line-height: 1.1;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn--red { background: linear-gradient(180deg, var(--red-bright), var(--red)); color: var(--white); box-shadow: 0 6px 16px rgba(185, 28, 28, .28); }
.btn--red:hover { background: var(--red-dark); color: var(--white); transform: translateY(-1px); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); color: var(--white); }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--sm { padding: .7em 1.15em; font-size: .9rem; }
.btn--block { width: 100%; }

.rule { display: block; width: 120px; height: 4px; background: var(--red); border-radius: 2px; margin: 18px auto 0; }
.rule--left { margin-left: 0; margin-right: 0; }
.rule--top { width: 56px; height: 6px; margin: 0 0 18px; border-radius: 0; }

.eyebrow { font-family: var(--font-condensed); font-weight: 700; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--steel-400); margin: 0 0 .7em; }
.eyebrow--red, .eyebrow a { color: var(--red); text-decoration: none; }

.tile {
	display: inline-grid; place-items: center; flex: none;
	width: 72px; height: 72px; border-radius: 18px;
	background: linear-gradient(160deg, var(--navy-700), var(--navy) 55%, var(--navy-900));
	color: var(--white);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 6px 14px rgba(6, 26, 51, .25);
}
.tile .icon { width: 36px; height: 36px; }
.tile--sm { width: 42px; height: 42px; border-radius: 11px; }
.tile--sm .icon { width: 20px; height: 20px; }

.chip { display: inline-flex; align-items: center; padding: .45em 1em; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-family: var(--font-condensed); font-weight: 700; color: var(--navy); letter-spacing: .04em; }
.chip--navy { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip--red { background: var(--red); border-color: var(--red); color: var(--white); }

.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 3vw, 36px); }

/* ==========================================================================
   4. Top bar & header
   ========================================================================== */
.topbar { background: var(--navy-900); color: #C7D2E1; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__tag { margin: 0; font-family: var(--font-condensed); letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
.topbar__contact { list-style: none; display: flex; gap: 22px; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 7px; color: #E2E8F0; text-decoration: none; }
.topbar__contact a:hover { color: var(--white); }
.topbar__contact .icon { width: 15px; height: 15px; color: #F87171; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-soft); transition: box-shadow .25s; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(15, 23, 42, .08); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--navy) 0 60%, var(--red) 60% 100%); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 58px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; letter-spacing: .06em; color: var(--navy); }
.brand__e { color: var(--red); }
.brand__tag { white-space: nowrap; font-family: var(--font-condensed); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); margin-top: 4px; }
.custom-logo-link img { max-height: 64px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav__cta { white-space: nowrap; }
.site-nav .menu { list-style: none; display: flex; gap: 4px; }
.site-nav .menu a { display: block; white-space: nowrap; padding: 10px 11px; font-family: var(--font-condensed); font-weight: 700; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-decoration: none; position: relative; }
.site-nav .menu a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.site-nav .menu a:hover::after, .site-nav .menu .current-menu-item > a::after, .site-nav .menu a.is-active::after { transform: scaleX(1); }
.site-nav .menu li { position: relative; }
.site-nav .sub-menu { list-style: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--white); box-shadow: var(--shadow); border-radius: 10px; padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { text-transform: none; letter-spacing: 0; font-weight: 500; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.nav-toggle .icon { width: 30px; height: 30px; }
.nav-toggle__close { display: none; }

@media (max-width: 1180px) {
	.nav-toggle { display: inline-flex; }
	.site-nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); border-top: 3px solid var(--red); box-shadow: 0 20px 40px rgba(15, 23, 42, .15); flex-direction: column; align-items: stretch; gap: 0; background: var(--white); padding: 18px var(--gutter) 40px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .menu a { padding: 16px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line-soft); }
	.site-nav .menu a::after { display: none; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 16px; }
	.site-nav__cta { margin-top: 24px; }
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: inline; }
	.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
	.topbar__tag { display: none; }
	.topbar__inner { justify-content: center; }
	.topbar__contact { gap: 16px; font-size: .8rem; }
	.brand__mark { width: 46px; }
	.brand__name { font-size: 1.55rem; }
	.brand__tag { font-size: .5rem; }
}

/* ==========================================================================
   5. Sections & backgrounds (the deck's soft steel planes + red corners)
   ========================================================================== */
.section { position: relative; padding: var(--section) 0; overflow: hidden; isolation: isolate; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--mist { background: linear-gradient(180deg, var(--mist) 0%, var(--mist-2) 100%); }
.section--mist::before,
.section--lines::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .9;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%2394A3B8' stroke-opacity='.28' stroke-width='1'%3E%3Cpath d='M0 640 L380 900'/%3E%3Cpath d='M0 520 L520 900'/%3E%3Cpath d='M1600 120 L1180 0'/%3E%3Cpath d='M1600 260 L1420 0'/%3E%3Cpath d='M1180 0 L1600 420'/%3E%3Cpath d='M0 120 L260 0'/%3E%3C/g%3E%3Cg fill='%23FFFFFF' fill-opacity='.55'%3E%3Cpath d='M1600 0 L1600 380 L1220 0Z'/%3E%3Cpath d='M0 900 L0 560 L420 900Z'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 100% 100%;
}
.section--lines { background: var(--paper); }
.section--lines::before { opacity: .7; }
.section--corners::after,
.section--corners-dark::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		linear-gradient(135deg, transparent 0 calc(100% - 140px), var(--red) calc(100% - 140px)) top right / 240px 240px no-repeat,
		linear-gradient(60deg, var(--red) 0 30%, transparent 30%) bottom left / 200px 110px no-repeat;
	opacity: .95;
}
.section--corners::after {
	background:
		linear-gradient(225deg, var(--red) 0 22%, transparent 22.2%) top right / 260px 300px no-repeat,
		linear-gradient(20deg, var(--red) 0 24%, transparent 24.2%) bottom left / 220px 200px no-repeat;
}
.section--corners-dark::after {
	background:
		linear-gradient(20deg, var(--slate-800) 0 18%, var(--red) 18% 26%, transparent 26.2%) bottom left / 320px 260px no-repeat,
		linear-gradient(200deg, var(--slate-800) 0 12%, var(--red) 12% 20%, transparent 20.2%) top right / 260px 260px no-repeat;
}
@media (max-width: 760px) {
	.section--corners::after, .section--corners-dark::after { opacity: .55; background-size: 140px 160px, 140px 120px; }
}

.section-head { margin: 0 auto clamp(36px, 5vw, 60px); max-width: 780px; }
.section-head--center { text-align: center; }
.section-head--left { margin-left: 0; max-width: none; }
.section-title { font-size: clamp(2.1rem, 4.2vw, 3.3rem); font-weight: 600; margin: 0; color: var(--navy); }
.section-intro { margin: 22px auto 0; font-size: 1.12rem; color: var(--steel); max-width: 680px; }
.section-head--left .section-intro { margin-left: 0; }
.section-head--light .section-title { color: var(--white); }
.section-head--light .section-intro { color: #C7D2E1; }
.section-head--light .eyebrow { color: #FCA5A5; }

/* ==========================================================================
   6. Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--paper), var(--mist)); isolation: isolate; }
.hero__shapes span { position: absolute; z-index: -1; background: var(--line); opacity: .55; }
.hero__shapes span:nth-child(1) { top: 0; right: 0; width: 34vw; height: 60%; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.hero__shapes span:nth-child(2) { bottom: 0; left: 0; width: 30vw; height: 62%; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.hero__shapes span:nth-child(3) { bottom: 0; right: 0; width: 16vw; height: 30%; background: var(--red); opacity: .92; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.hero__title { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 700; line-height: 1.02; color: var(--ink); margin: 0; letter-spacing: 0; }
.hero__text { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--steel); margin: 24px 0 32px; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__points { list-style: none; margin-top: 32px; display: grid; gap: 10px; }
.hero__points li { display: flex; align-items: center; gap: 12px; font-family: var(--font-condensed); font-size: 1.12rem; color: var(--ink); }
.hero__points .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--red); color: var(--white); stroke-width: 2.6; }
.hero__visual { position: relative; display: grid; place-items: center; }
.hero__logo { position: relative; width: min(100%, 520px); filter: drop-shadow(0 22px 40px rgba(6, 26, 51, .22)); animation: float 7s ease-in-out infinite; }
.hero__orbit { position: absolute; inset: 0; display: grid; place-items: center; }
.hero__orbit span { position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(11, 42, 78, .18); animation: spin 60s linear infinite; }
.hero__orbit span:nth-child(2) { width: 70%; border-style: solid; border-color: rgba(185, 28, 28, .14); animation-duration: 40s; animation-direction: reverse; }
.hero__orbit span::after { content: ""; position: absolute; top: 12%; left: 12%; width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(185, 28, 28, .15); }
.hero__orbit span:nth-child(2)::after { background: var(--navy-500); top: auto; bottom: 8%; left: auto; right: 18%; box-shadow: 0 0 0 6px rgba(46, 92, 143, .15); }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }

.pillars { background: var(--navy); color: var(--white); position: relative; }
.pillars::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--red); }
.pillars__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.pillars__list li { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 22px 12px; font-family: var(--font-condensed); font-weight: 700; font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; }
.pillars__list li + li { border-left: 1px solid rgba(255, 255, 255, .14); }
.pillars__list .icon { width: 28px; height: 28px; color: #F87171; }

@media (max-width: 900px) {
	.hero__inner { grid-template-columns: 1fr; text-align: left; }
	.hero__visual { order: -1; max-width: 300px; margin: 0 auto; }
	.pillars__list { grid-template-columns: repeat(2, 1fr); }
	.pillars__list li:nth-child(3) { border-left: 0; }
	.pillars__list li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
}
@media (max-width: 480px) { .pillars__list li { font-size: .85rem; letter-spacing: .06em; flex-direction: column; text-align: center; gap: 6px; } }

/* ==========================================================================
   7. Problem Solving
   ========================================================================== */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); }
.problem { text-align: center; padding: 8px clamp(18px, 3vw, 44px) 12px; position: relative; }
.problem + .problem::before { content: ""; position: absolute; left: 0; top: 8%; bottom: 8%; width: 6px; border-left: 1px solid var(--navy-500); border-right: 1px solid var(--navy-500); opacity: .55; }
.problem + .problem::after { content: ""; position: absolute; left: -5px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%) rotate(45deg); border: 1px solid var(--navy-500); background: var(--mist); opacity: .8; }
.problem__icon { width: 104px; height: 104px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--navy); box-shadow: var(--shadow); position: relative; }
.problem__icon::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--red); border-right-color: var(--red); transform: rotate(-20deg); }
.problem__icon .icon { width: 52px; height: 52px; }
.problem__title { font-family: var(--font-condensed); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; color: var(--ink); letter-spacing: .01em; line-height: 1.08; }
.problem p { font-family: var(--font-condensed); font-size: 1.3rem; color: var(--slate-800); line-height: 1.3; margin: 0; }
@media (max-width: 820px) {
	.problems { grid-template-columns: 1fr; gap: 44px; }
	.problem + .problem::before { left: 15%; right: 15%; top: -24px; bottom: auto; width: auto; height: 6px; border: 0; border-top: 1px solid var(--navy-500); border-bottom: 1px solid var(--navy-500); }
	.problem + .problem::after { left: 50%; top: -29px; transform: translateX(-50%) rotate(45deg); }
}

/* ==========================================================================
   8. Core Vision (beveled navy / red panels on a shelf)
   ========================================================================== */
.vision { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); max-width: 1000px; margin: 0 auto; padding-bottom: 40px; }
.vision__panel {
	position: relative; z-index: 1;
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 22px;
	min-height: 380px; padding: 48px clamp(24px, 4vw, 52px);
	border: 9px solid transparent; border-radius: 4px;
	background-clip: padding-box;
	box-shadow: 0 0 0 1px #9AA4B1, 0 0 0 9px #E4E8ED, 0 0 0 10px #9AA4B1, 0 20px 40px rgba(6, 26, 51, .25);
	color: var(--white);
}
.vision__panel--navy { background: radial-gradient(120% 90% at 50% 20%, #1C3F68, #0D2A47 60%, #0A2038); }
.vision__panel--red { background: radial-gradient(120% 90% at 50% 20%, #D21F27, #A90E14 60%, #8A0B10); }
.vision__panel::before { content: ""; position: absolute; top: 0; left: 6%; right: 6%; height: 7px; clip-path: polygon(0 0, 100% 0, 98% 100%, 2% 100%); }
.vision__panel--navy::before { background: var(--red); }
.vision__panel--red::before { background: var(--navy); }
.vision__icon { display: grid; place-items: center; width: 116px; height: 116px; border-radius: 6px; background: linear-gradient(180deg, #F3F5F8, #B9C2CD); color: var(--navy); box-shadow: inset 0 1px 0 #fff, 0 6px 16px rgba(0, 0, 0, .25); }
.vision__panel--red .vision__icon { background: none; box-shadow: none; color: var(--white); }
.vision__icon .icon { width: 64px; height: 64px; stroke-width: 1.5; }
.vision__panel p { font-family: var(--font-body); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.35; margin: 0; font-weight: 500; }
.vision__shelf { position: absolute; left: -4%; right: -4%; bottom: 0; height: 52px; background: linear-gradient(180deg, #FFFFFF, #DCE1E7); border-radius: 3px; box-shadow: 0 16px 30px rgba(15, 23, 42, .16); }
.vision__shelf::after { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 6px; background: var(--navy); }
@media (max-width: 760px) { .vision { grid-template-columns: 1fr; } .vision__panel { min-height: 300px; } .vision__shelf { display: none; } }

/* ==========================================================================
   9. Program Workflow
   ========================================================================== */
.workflow { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 22px; counter-reset: step; }
@supports (grid-template-rows: subgrid) { .workflow { grid-template-rows: auto auto; } .workflow > .workflow__step { display: grid; grid-row: span 2; grid-template-rows: subgrid; } }
.workflow__step { --c: color-mix(in srgb, var(--navy) calc(100% - var(--step) * 18%), var(--teal)); position: relative; display: flex; flex-direction: column; }
.workflow__card { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 46px 16px 22px; margin-top: 30px; border: 3px solid var(--c); border-radius: 18px; background: linear-gradient(180deg, #FFFFFF, #F1F5F9); box-shadow: var(--shadow); }
.workflow__num { position: absolute; top: -30px; left: 50%; transform: translateX(-50%); display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--white); border: 3px solid var(--c); font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--navy); box-shadow: var(--shadow-sm); }
.workflow__icon { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 16px; color: var(--c); }
.workflow__icon .icon { width: 72px; height: 72px; stroke-width: 1.3; }
.workflow__title { font-family: var(--font-condensed); font-weight: 800; font-size: 1.32rem; line-height: 1.12; color: var(--ink); margin: 0; }
.workflow__text { text-align: center; margin: 18px 4px 0; font-family: var(--font-condensed); font-size: 1.08rem; line-height: 1.35; color: var(--slate-800); }
.workflow__step:not(:last-child) .workflow__card::after { content: ""; position: absolute; right: -19px; top: 50%; width: 14px; height: 14px; border-top: 4px solid var(--teal); border-right: 4px solid var(--teal); transform: translateY(-50%) rotate(45deg); z-index: 2; }
.workflow__step:first-child .workflow__card::after { border-color: var(--red); }
@supports not (color: color-mix(in srgb, red, blue)) { .workflow__step { --c: var(--navy-500); } }
@media (max-width: 1100px) {
	.workflow { grid-template-columns: repeat(6, 1fr); }
	.workflow__step { grid-column: span 2; }
	.workflow__step:nth-child(4) { grid-column: 2 / span 2; }
	.workflow__step .workflow__card::after { display: none; }
}
@media (max-width: 680px) {
	.workflow { grid-template-columns: 1fr; gap: 12px; }
	.workflow__step, .workflow__step:nth-child(4) { grid-column: auto; }
	.workflow__card { flex-direction: row; text-align: left; gap: 16px; padding: 22px 18px 22px 46px; margin-left: 28px; margin-top: 0; }
	.workflow__num { left: -28px; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 1.4rem; }
	.workflow__icon { width: 56px; height: 56px; margin: 0; }
	.workflow__icon .icon { width: 50px; height: 50px; }
	.workflow__text { text-align: left; margin: 10px 0 18px 46px; }
}

/* ==========================================================================
   10. 3 Bids & 1 Buy
   ========================================================================== */
.sourcing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sourcing__card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 34px 34px 38px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.sourcing__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sourcing__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 26px; }
.sourcing__icon { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--mist); color: var(--ink); }
.sourcing__icon .icon { width: 34px; height: 34px; stroke-width: 2; }
.sourcing__num { font-family: var(--font-body); font-weight: 800; font-size: 3.6rem; line-height: .9; color: var(--red); letter-spacing: -.02em; }
.sourcing__title { font-family: var(--font-body); font-weight: 700; font-size: 1.45rem; color: var(--ink); letter-spacing: -.01em; }
.sourcing__card p { color: var(--slate-800); margin: 0; }
.sourcing__flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.sourcing__arrow { color: var(--steel-300); display: inline-flex; }
@media (max-width: 900px) { .sourcing { grid-template-columns: 1fr; } }

/* ==========================================================================
   11. Pill rows (Weekly/Monthly review, Primary Metrics)
   ========================================================================== */
.pill-list { list-style: none; display: grid; gap: 16px; }
.pill { display: flex; align-items: center; gap: 0; background: linear-gradient(180deg, #FFFFFF, #F4F6F9); border-radius: var(--radius-pill); box-shadow: 0 2px 0 rgba(255, 255, 255, .9) inset, 0 6px 14px rgba(15, 23, 42, .12); min-height: 84px; overflow: hidden; }
.pill__icon { display: grid; place-items: center; align-self: stretch; width: 128px; flex: none; border-radius: var(--radius-pill); background: linear-gradient(180deg, #FFFFFF, #E9EDF2); color: var(--navy); box-shadow: 4px 0 10px rgba(15, 23, 42, .12); }
.pill__icon .icon { width: 44px; height: 44px; stroke-width: 1.4; }
.pill__text { padding: 14px 28px; font-family: var(--font-condensed); font-size: clamp(1.2rem, 2.2vw, 1.75rem); color: var(--ink); line-height: 1.2; }
.pill__text strong { display: block; font-weight: 500; }
.pill__text small { display: block; font-family: var(--font-body); font-size: .95rem; color: var(--steel); margin-top: 4px; }
.pill-list--monthly .pill:nth-child(odd) .pill__icon { background: linear-gradient(180deg, #CBD5E1, #A8B6C8); }
.pill-list--monthly .pill:nth-child(2) .pill__icon { background: linear-gradient(180deg, #8EA3BE, #6D85A5); color: var(--navy-900); }
.pill-list--dark .pill__icon { background: linear-gradient(160deg, var(--navy-700), var(--navy) 55%, var(--navy-900)); color: var(--white); }
.pill-list--dark .pill { min-height: 88px; }
.pill-list--dark .pill__text { font-size: clamp(1.2rem, 2vw, 1.55rem); }
@media (max-width: 600px) { .pill__icon { width: 84px; } .pill__icon .icon { width: 34px; height: 34px; } .pill__text { padding: 12px 18px; } }

/* Tabs */
.tabs__list { display: flex; justify-content: center; gap: 0; margin: 0 auto 34px; background: var(--white); border-radius: 999px; padding: 6px; width: fit-content; box-shadow: var(--shadow-sm); }
.tabs__tab { border: 0; background: none; padding: 12px 28px; border-radius: 999px; font-family: var(--font-condensed); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); cursor: pointer; transition: .2s; }
.tabs__tab[aria-selected="true"] { background: var(--navy); color: var(--white); box-shadow: 0 4px 10px rgba(11, 42, 78, .3); }
.tabs__panel { animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

/* ==========================================================================
   12. Metrics + Opportunity Ranking
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.split .section-head { margin-bottom: 32px; }
.split .section-title { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.rank-list { list-style: none; display: grid; gap: 20px; }
.rank { display: flex; align-items: center; gap: 24px; padding: 14px 28px 14px 14px; background: linear-gradient(180deg, #FFFFFF, #F4F6F9); border-radius: 22px; box-shadow: 0 6px 14px rgba(15, 23, 42, .12); }
.rank .tile { width: 96px; height: 96px; border-radius: 20px; }
.rank .tile .icon { width: 48px; height: 48px; }
.rank__text { font-family: var(--font-condensed); font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--ink); line-height: 1.2; }
.rank--equal { padding: 14px 14px 14px 28px; justify-content: space-between; }
.rank__equation { display: flex; align-items: center; gap: 10px; }
.rank__equation .tile { width: 78px; height: 78px; }
.rank__equation .tile .icon { width: 40px; height: 40px; }
.rank__eq { font-family: var(--font-display); font-size: 2.4rem; color: var(--navy); line-height: 1; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .rank--equal { flex-direction: column; align-items: flex-start; } .rank .tile { width: 72px; height: 72px; } }

/* ==========================================================================
   13. Estimator
   ========================================================================== */
.section--navy { background: radial-gradient(90% 120% at 20% 0%, #163B66 0%, var(--navy) 45%, var(--navy-950) 100%); color: #E2E8F0; }
.section--navy__shapes { position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		linear-gradient(225deg, var(--red) 0 16%, transparent 16.2%) top right / 300px 300px no-repeat,
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='.06'%3E%3Cpath d='M0 700L500 900M0 400L900 900M1600 200L1000 0M1600 500L700 0'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100%;
}
.estimator { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.estimator > * { min-width: 0; }
.estimator__inputs { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.estimator__heading { display: flex; align-items: center; gap: 10px; color: var(--white); font-size: 1.35rem; margin-bottom: 22px; }
.estimator__heading .icon { color: #F87171; }
.estimator__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.estimator__field > span:first-child { display: block; font-family: var(--font-condensed); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: #C7D2E1; margin-bottom: 8px; }
.input-affix { display: flex; align-items: center; background: var(--white); border-radius: 10px; overflow: hidden; border: 2px solid transparent; transition: border-color .2s; }
.input-affix:focus-within { border-color: var(--red-bright); }
.input-affix__pre, .input-affix__suf { padding: 0 12px; color: var(--steel); font-weight: 600; }
.input-affix input { flex: 1; min-width: 0; border: 0; padding: 13px 14px; font-size: 1.1rem; font-weight: 600; color: var(--ink); background: transparent; outline: none; }
.input-affix__pre + input { padding-left: 0; }
.estimator__ranges { display: grid; gap: 20px; margin-top: 28px; }
.range__label { display: flex; justify-content: space-between; font-family: var(--font-condensed); font-size: 1rem; letter-spacing: .04em; color: #E2E8F0; margin-bottom: 8px; }
.range__label output { font-weight: 700; color: var(--white); background: var(--red); padding: 1px 10px; border-radius: 999px; }
.range input[type="range"] { width: 100%; accent-color: var(--red-bright); height: 6px; }
.estimator__results { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-lg); border-top: 6px solid var(--red); }
.result { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.result__label { font-family: var(--font-condensed); font-size: 1.05rem; color: var(--steel); line-height: 1.25; }
.result__value { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; color: var(--navy); white-space: nowrap; }
.result--muted .result__value { color: var(--red); }
.result--total { flex-direction: column; align-items: flex-start; gap: 4px; border: 0; background: var(--mist); border-radius: 12px; padding: 18px 20px; margin: 4px 0 6px; }
.result--total .result__label { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; color: var(--navy); }
.result--total .result__value { font-size: clamp(2.4rem, 4vw, 3.2rem); color: var(--ink); line-height: 1; }
.estimator__fine { font-size: .8rem; color: var(--steel-400); margin: 0; text-align: center; }
@media (max-width: 900px) { .estimator { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .estimator__grid { grid-template-columns: minmax(0, 1fr); } .result { flex-wrap: wrap; } }

.estimator__how { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); }
.estimator__how h4 { font-family: var(--font-condensed); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #FCA5A5; margin-bottom: 12px; }
.estimator__how ul { list-style: none; display: grid; gap: 8px; }
.estimator__how li { display: flex; gap: 10px; align-items: baseline; font-size: .93rem; color: #C7D2E1; }
.estimator__how li strong { color: var(--white); font-weight: 600; white-space: nowrap; }
.estimator__how li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--red-bright); transform: translateY(-1px) rotate(45deg); }

/* ==========================================================================
   14. Digital Process Package / Intelligence Database
   ========================================================================== */
.knowledge { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.knowledge__block { background: rgba(255, 255, 255, .7); border-radius: 22px; padding: 0 0 22px; box-shadow: var(--shadow); overflow: hidden; backdrop-filter: blur(4px); }
.knowledge__title { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 22px; padding: 22px 24px; font-family: var(--font-condensed); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2.1rem); text-align: center; color: var(--navy); border-bottom: 3px solid var(--red); background: var(--white); }
.knowledge__block--database .knowledge__title { background: #3A3A3C; color: var(--white); }
.knowledge__title .icon { width: 30px; height: 30px; color: var(--red); }
.knowledge__block--database .knowledge__title .icon { color: #F87171; }
.knowledge__rows { list-style: none; display: grid; gap: 16px; padding: 0 22px; }
.krow { display: flex; align-items: center; gap: 20px; background: linear-gradient(180deg, #FFFFFF, #F4F6F9); border-radius: 22px; padding: 10px 22px 10px 10px; box-shadow: 0 5px 12px rgba(15, 23, 42, .1); }
.krow__tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 132px; min-height: 112px; flex: none; border-radius: 18px; padding: 10px 8px; text-align: center; background: linear-gradient(160deg, var(--navy-700), var(--navy) 55%, var(--navy-900)); color: var(--white); box-shadow: 0 6px 14px rgba(6, 26, 51, .25); }
.knowledge__block--database .krow__tile { background: linear-gradient(160deg, #3B4B66, #2B3A55 55%, #1E2A40); }
.krow__tile .icon { width: 44px; height: 44px; stroke-width: 1.4; }
.krow__label { font-family: var(--font-condensed); font-size: .8rem; line-height: 1.15; letter-spacing: .02em; }
.krow__points { list-style: none; display: grid; gap: 4px; }
.krow__points li { position: relative; padding-left: 20px; font-family: var(--font-condensed); font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: var(--ink); line-height: 1.25; }
.krow__points li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
@media (max-width: 980px) { .knowledge { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .krow__tile { width: 96px; min-height: 96px; } .krow__label { font-size: .7rem; } }

/* ==========================================================================
   15. Team
   ========================================================================== */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 1080px; margin: 0 auto; }
.member { position: relative; background: var(--white); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; border-left: 7px solid var(--slate-800); }
.member--red { border-left-color: var(--red); }
.member__head { display: flex; align-items: center; gap: 18px; padding: 22px 26px; background: linear-gradient(180deg, #3B4250, #2F3540); color: var(--white); }
.member__badge, .member__photo { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; flex: none; object-fit: cover; font-family: var(--font-body); font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; background: var(--mist); color: var(--ink); border: 3px solid rgba(255, 255, 255, .85); }
.member--red .member__badge { background: var(--red-tint); color: var(--red); }
.member__name { font-family: var(--font-condensed); font-weight: 500; font-size: 1.8rem; color: var(--white); margin: 0; line-height: 1.05; }
.member__role { font-family: var(--font-condensed); font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: #FCA5A5; margin: 6px 0 0; }
.member__bio { padding: 22px 26px 0; color: var(--steel); margin: 0; flex: 1; }
.member__contact { list-style: none; padding: 18px 26px 24px; display: grid; gap: 8px; }
.member__contact a { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-condensed); font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.member__contact a:hover { color: var(--red); }
.member__contact .icon { width: 22px; height: 22px; color: var(--ink); }
@media (max-width: 820px) { .team { grid-template-columns: 1fr; } }

/* ==========================================================================
   16. FAQ
   ========================================================================== */
.faq { display: grid; gap: 14px; }
.faq__item { background: var(--white); border-radius: 14px; box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); overflow: hidden; }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; cursor: pointer; font-family: var(--font-condensed); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--mist); color: var(--navy); transition: transform .25s, background .25s; }
.faq__item[open] summary .icon { transform: rotate(180deg); background: var(--red); color: var(--white); }
.faq__item[open] { border-left: 5px solid var(--red); }
.faq__answer { padding: 0 26px 22px; color: var(--steel); }
.faq__answer p { margin: 0; }

/* ==========================================================================
   17. Contact
   ========================================================================== */
.contact { color: #E2E8F0; background: var(--navy-950); }
.contact__bg { position: absolute; inset: 0; z-index: -1; background:
	linear-gradient(20deg, var(--red) 0 14%, transparent 14.2%) bottom left / 360px 300px no-repeat,
	radial-gradient(80% 120% at 85% 10%, #1A4370 0%, var(--navy) 40%, var(--navy-950) 100%); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact .eyebrow { color: #FCA5A5; }
.contact .section-title { color: var(--white); font-size: clamp(2.1rem, 4vw, 3.1rem); }
.contact__lead { font-size: 1.15rem; color: #C7D2E1; margin: 22px 0 30px; }
.contact__steps { list-style: none; counter-reset: c; display: grid; gap: 16px; margin-bottom: 34px; }
.contact__steps li { counter-increment: c; position: relative; padding-left: 58px; display: flex; flex-direction: column; }
.contact__steps li::before { content: counter(c); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.contact__steps strong { font-family: var(--font-condensed); font-size: 1.2rem; color: var(--white); letter-spacing: .02em; }
.contact__steps span { color: #AEBBCD; font-size: .98rem; }
.contact__details { list-style: none; display: grid; gap: 14px; }
.contact__details li { display: flex; align-items: center; gap: 14px; }
.contact__details a, .contact__details span { color: var(--white); text-decoration: none; font-family: var(--font-condensed); font-size: 1.15rem; }
.contact__details .tile { background: rgba(255, 255, 255, .1); box-shadow: none; }
.contact__form { color: var(--slate-800); border-top: 6px solid var(--red); }
.contact__form-title { font-size: 1.7rem; margin-bottom: 22px; }
@media (max-width: 900px) { .contact__inner { grid-template-columns: 1fr; } }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 20px; }
.form-field--wide { grid-column: 1 / -1; }
.form-field label { display: block; font-family: var(--font-condensed); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.form-field .req { color: var(--red); }
.form-field input, .form-field select, .form-field textarea,
.search-field, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 9px; background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus, .search-field:focus, .comment-form textarea:focus, .comment-form input:focus { outline: none; border-color: var(--navy-500); background: var(--white); box-shadow: 0 0 0 4px rgba(46, 92, 143, .15); }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-fine { font-size: .82rem; color: var(--steel-400); text-align: center; margin: 12px 0 0; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 10px; margin-bottom: 18px; }
.form-notice p { margin: 0; }
.form-notice--success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.form-notice--success .icon { width: 24px; height: 24px; color: #059669; stroke-width: 2.4; }
.form-notice--error { background: var(--red-tint); color: var(--red-dark); border: 1px solid #FECACA; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.search-form { display: flex; gap: 10px; margin: 24px 0; }
.search-form .search-field { flex: 1; }

/* ==========================================================================
   18. Footer
   ========================================================================== */
.site-footer { position: relative; background: var(--ink); color: #94A3B8; padding-top: clamp(56px, 7vw, 88px); overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--red) 0 30%, var(--navy-500) 30%); }
.site-footer__shape { position: absolute; z-index: -1; right: 0; top: 0; width: 220px; height: 150px; background: var(--red); opacity: .9; clip-path: polygon(30% 0, 100% 0, 100% 100%); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.site-footer__grid:has(> :nth-child(4)) { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.footer-about { margin-top: 18px; max-width: 380px; }
.brand--footer .brand__name { color: var(--white); }
.brand--footer .brand__tag { color: #94A3B8; }
.footer-title { font-family: var(--font-condensed); font-weight: 700; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer-menu, .footer-contact { list-style: none; display: grid; gap: 10px; }
.footer-menu a, .footer-contact a { color: #CBD5E1; text-decoration: none; }
.footer-menu a:hover, .footer-contact a:hover { color: var(--white); }
.footer-contact { margin-bottom: 22px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: #F87171; margin-top: 3px; }
.site-footer .widget { color: #CBD5E1; }
.site-footer .widget a { color: #E2E8F0; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; padding-bottom: 20px; font-size: .88rem; }
.site-footer__bottom p { margin: 0; }
.to-top { color: #CBD5E1; text-decoration: none; font-family: var(--font-condensed); letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; }
@media (max-width: 900px) { .site-footer__shape { width: 120px; height: 80px; } .site-footer__grid, .site-footer__grid:has(> :nth-child(4)) { grid-template-columns: 1fr 1fr; } .footer-col--brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer__grid, .site-footer__grid:has(> :nth-child(4)) { grid-template-columns: 1fr; } .site-footer__bottom-inner { flex-direction: column; } }

/* ==========================================================================
   19. Blog, pages, content
   ========================================================================== */
.page-banner { position: relative; padding: clamp(56px, 7vw, 96px) 0 clamp(44px, 5vw, 64px); background: linear-gradient(180deg, var(--paper), var(--mist)); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line-soft); }
.page-banner::before { content: ""; position: absolute; z-index: -1; top: 0; right: 0; width: 38%; height: 100%; background: var(--line); opacity: .45; clip-path: polygon(30% 0, 100% 0, 100% 100%); }
.page-banner::after { content: ""; position: absolute; z-index: -1; bottom: 0; right: 0; width: 120px; height: 70px; background: var(--red); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.page-banner__title { font-size: clamp(2.3rem, 5vw, 3.8rem); color: var(--ink); margin: 0; font-weight: 700; }
.page-banner__sub { font-size: 1.15rem; color: var(--steel); margin: 16px 0 0; max-width: 680px; }
.page-banner__sub p { margin: 0; }
.entry-meta { font-size: .88rem; color: var(--steel-400); margin: 14px 0 0; display: flex; gap: 14px; flex-wrap: wrap; }
.entry-meta .byline::before { content: "•"; margin-right: 14px; color: var(--red); }

.layout { display: block; }
.layout--sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
@media (max-width: 980px) { .layout--sidebar { grid-template-columns: 1fr; } }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__media { display: block; aspect-ratio: 16 / 9; background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__placeholder { display: grid; place-items: center; height: 100%; color: rgba(255, 255, 255, .5); }
.post-card__placeholder .icon { width: 64px; height: 64px; }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__body .entry-meta { margin: 0 0 8px; }
.post-card__title { font-size: 1.45rem; margin: 0 0 10px; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--red); }
.post-card__excerpt { color: var(--steel); font-size: .98rem; flex: 1; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-condensed); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

.pagination, .nav-links { margin-top: 44px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); color: var(--navy); text-decoration: none; font-weight: 600; }
.page-numbers.current { background: var(--navy); border-color: var(--navy); color: var(--white); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 32px; border-top: 1px solid var(--line-soft); }
.post-navigation a { display: block; padding: 18px 20px; border-radius: 12px; background: var(--white); box-shadow: var(--shadow-sm); text-decoration: none; height: 100%; }
.post-navigation .nav-next { text-align: right; }
.nav-label { display: block; font-family: var(--font-condensed); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.nav-title { display: block; color: var(--ink); font-weight: 600; margin-top: 4px; }

.entry-hero { margin: 0 0 36px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.entry-hero img { width: 100%; }
.entry-content { font-size: 1.08rem; }
.entry-content > * { margin-top: 0; margin-bottom: 1.3em; }
.entry-content h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-top: 1.6em; }
.entry-content h3 { font-size: 1.55rem; margin-top: 1.4em; }
.entry-content h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--red); margin-top: 12px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: .4em; }
.entry-content ul li::marker { color: var(--red); }
.entry-content blockquote, .wp-block-quote { margin: 1.8em 0; padding: 8px 0 8px 26px; border-left: 5px solid var(--red); font-family: var(--font-condensed); font-size: 1.4rem; color: var(--ink); }
.entry-content blockquote cite { display: block; font-size: .95rem; color: var(--steel); margin-top: 8px; font-style: normal; }
.entry-content img { border-radius: 10px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.entry-content th, .entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.entry-content th { background: var(--navy); color: var(--white); font-family: var(--font-condensed); letter-spacing: .06em; text-transform: uppercase; font-size: .88rem; }
.entry-content pre { background: var(--ink); color: #E2E8F0; padding: 20px; border-radius: 10px; overflow-x: auto; }
.entry-content--full > * { max-width: none; }
.entry-content .wp-block-button__link { background: var(--red); color: var(--white); border-radius: 8px; font-family: var(--font-condensed); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; }
.entry-content .is-style-outline .wp-block-button__link { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.alignwide { margin-left: calc(-1 * min(120px, 8vw)); margin-right: calc(-1 * min(120px, 8vw)); max-width: none; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.has-navy-color { color: var(--navy) !important; } .has-navy-background-color { background-color: var(--navy) !important; }
.has-ink-color { color: var(--ink) !important; } .has-ink-background-color { background-color: var(--ink) !important; }
.has-red-color { color: var(--red) !important; } .has-red-background-color { background-color: var(--red) !important; }
.has-steel-color { color: var(--steel) !important; } .has-steel-background-color { background-color: var(--steel) !important; }
.has-mist-color { color: var(--mist) !important; } .has-mist-background-color { background-color: var(--mist) !important; }
.has-white-color { color: var(--white) !important; } .has-white-background-color { background-color: var(--white) !important; }
.wp-caption-text, figcaption { font-size: .88rem; color: var(--steel-400); text-align: center; margin-top: 8px; }
.sticky .post-card__title::before { content: "★ "; color: var(--red); }
.bypostauthor { display: block; }
.tag-list a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; border-radius: 999px; background: var(--mist); color: var(--navy); text-decoration: none; font-size: .88rem; }

.widget-area .widget { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.widget-title { font-family: var(--font-condensed); font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; padding-bottom: 12px; border-bottom: 3px solid var(--red); margin-bottom: 16px; }
.widget ul { list-style: none; display: grid; gap: 8px; }
.widget ul a { color: var(--ink); text-decoration: none; }
.widget ul a:hover { color: var(--red); }

.comments-area { margin-top: 56px; }
.comment-list { list-style: none; display: grid; gap: 18px; margin-bottom: 40px; }
.comment-list .children { list-style: none; margin-top: 18px; padding-left: 28px; display: grid; gap: 18px; }
.comment-body { background: var(--white); padding: 20px 22px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.comment-author img { border-radius: 50%; float: left; margin-right: 12px; }
.comment-metadata { font-size: .82rem; }
.comment-metadata a { color: var(--steel-400); }
.comment-respond { background: var(--white); padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

.cta-band { background: var(--navy); color: #C7D2E1; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: 0; top: 0; width: 200px; height: 100%; background: var(--red); clip-path: polygon(60% 0, 100% 0, 100% 100%, 20% 100%); opacity: .9; }
.cta-band__inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-top: 52px; padding-bottom: 52px; }
.cta-band__title { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 6px; }
.cta-band p { margin: 0; }
@media (max-width: 760px) { .cta-band__inner { flex-direction: column; align-items: flex-start; } .cta-band::after { width: 90px; } }

.notfound { text-align: center; background: linear-gradient(180deg, var(--paper), var(--mist)); }
.notfound__code { font-family: var(--font-display); font-weight: 700; font-size: clamp(6rem, 18vw, 11rem); line-height: 1; margin: 0; color: transparent; -webkit-text-stroke: 2px var(--navy); }
.notfound .search-form { max-width: 520px; margin: 32px auto; }
.nothing-found { text-align: center; }

/* ==========================================================================
   20. Motion
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; transition-delay: calc(var(--step, 0) * 70ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ==========================================================================
   21. Print
   ========================================================================== */
@media print {
	.topbar, .site-header, .nav-toggle, .estimator, .contact__form, .site-footer__shape, .hero__orbit { display: none !important; }
	.section { padding: 28px 0; }
	.js .reveal { opacity: 1; transform: none; }
}
