/*
Theme Name: Expose FI
Theme URI: https://531digital.com
Author: 531 Digital
Author URI: https://531digital.com
Description: Website theme for Expose FI, fiduciary intelligence for self-funded pharmacy benefits. Every section, list, link, image and color is editable in Appearance → Customize under the three "Expose FI" panels. Activating the theme creates the site's pages, sets the home page and builds the menu.
Version: 1.2
Requires at least: 5.9
Tested up to: 6.8
Requires PHP: 7.4
License: Proprietary
Text Domain: exposefi
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--navy: #0D1A30;
	--ice: #BFD3F7;
	--gold: #C8962E;
	--paper: #F3F6FB;
	--navy-2: color-mix(in srgb, var(--navy) 86%, #ffffff);
	--navy-3: color-mix(in srgb, var(--navy) 72%, #ffffff);
	--ink: #14223B;
	--slate: #4F5F79;
	--line: #D6DFEE;
	--gold-ink: #8A6416;
	--white: #ffffff;

	--serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
	--sans: "Lato", "Helvetica Neue", Arial, sans-serif;

	--wrap: 1180px;
	--gutter: 16px;
	--space: clamp(64px, 9vw, 112px);
}

@media (min-width: 720px) { :root { --gutter: 32px; } }

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 {
	font-family: var(--serif);
	font-weight: 600;
	line-height: 1.15;
	margin: 0 0 .5em;
	letter-spacing: -0.01em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; line-height: 1.3; }
.lead { font-size: 1.15rem; color: var(--slate); max-width: 62ch; }
.fineprint { font-size: .9rem; color: var(--slate); max-width: 72ch; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

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

.skip-link {
	position: absolute; left: -9999px; top: 8px; z-index: 100;
	background: var(--gold); color: var(--navy); padding: 10px 16px; font-weight: 700;
}
.skip-link:focus { left: 8px; }

.visually-hidden {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}

/* ==========================================================================
   Buttons & links
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 12px 24px;
	font-family: var(--sans); font-weight: 700; font-size: 1rem; line-height: 1.2;
	text-decoration: none; border: 2px solid transparent; border-radius: 2px;
	cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .95rem; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: color-mix(in srgb, var(--gold) 85%, #ffffff); }
.btn-ghost { border-color: color-mix(in srgb, var(--ice) 55%, transparent); color: var(--white); }
.btn-ghost:hover { border-color: var(--ice); background: color-mix(in srgb, var(--ice) 10%, transparent); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row--end { justify-content: flex-start; }
@media (min-width: 900px) { .btn-row--end { justify-content: flex-end; } }

.text-link {
	font-weight: 700; color: var(--gold-ink);
	text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.text-link:hover { color: var(--navy); }
.section--navy .text-link, .cta .text-link { color: var(--gold); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	background: var(--navy); color: var(--white);
	position: sticky; top: 0; z-index: 50;
	border-bottom: 1px solid color-mix(in srgb, var(--ice) 14%, transparent);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { width: 168px; height: auto; }
.nav-toggle {
	display: inline-flex; align-items: center; gap: 10px;
	background: none; border: 1px solid color-mix(in srgb, var(--ice) 40%, transparent);
	color: var(--white); font: 700 .9rem var(--sans); padding: 8px 12px; border-radius: 2px; cursor: pointer;
}
.nav-toggle-bars { display: grid; gap: 4px; }
.nav-toggle-bars span { display: block; width: 18px; height: 2px; background: var(--ice); }
.nav-toggle-bars span:nth-child(2) { width: 22px; background: var(--gold); }

.site-nav { display: none; }
.site-nav.is-open {
	display: block; position: absolute; left: 0; right: 0; top: 100%;
	background: var(--navy); padding: 8px var(--gutter) 24px;
	border-bottom: 1px solid color-mix(in srgb, var(--ice) 14%, transparent);
}
.nav-list { list-style: none; margin: 0 0 16px; padding: 0; }
.nav-list a {
	display: block; padding: 12px 0; color: var(--white); text-decoration: none; font-weight: 700;
	border-bottom: 1px solid color-mix(in srgb, var(--ice) 12%, transparent);
}
.nav-list a:hover, .nav-list .current-menu-item > a, .nav-list a.is-current { color: var(--ice); }

@media (min-width: 1080px) {
	.nav-toggle { display: none; }
	.site-nav, .site-nav.is-open {
		display: flex; align-items: center; gap: 28px;
		position: static; padding: 0; border: 0; background: none;
	}
	.nav-list { display: flex; gap: 26px; margin: 0; }
	.nav-list a {
		padding: 6px 0; border: 0; font-weight: 400; font-size: .97rem;
		color: color-mix(in srgb, var(--white) 86%, var(--ice));
		border-bottom: 2px solid transparent;
	}
	.nav-list a:hover { color: var(--white); border-bottom-color: var(--ice); }
	.nav-list .current-menu-item > a, .nav-list a.is-current { color: var(--white); border-bottom-color: var(--gold); }
}

/* ==========================================================================
   Home hero + the claims illustration
   ========================================================================== */
.hero { background: var(--navy); color: var(--white); padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 96px); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.hero-grid--solo { grid-template-columns: 1fr; max-width: 860px; }
.hero-title { max-width: 18ch; }
.hero-lead { font-size: 1.2rem; color: color-mix(in srgb, var(--white) 78%, var(--ice)); max-width: 54ch; margin: 0; }

.ledger {
	margin: 0; position: relative;
	background: var(--navy-2);
	padding: 24px 24px 20px;
	border-left: 6px solid var(--ice);
}
.ledger-cap { font-family: var(--serif); font-size: 1.15rem; color: var(--white); margin-bottom: 12px; }
.ledger-svg { width: 100%; height: auto; display: block; overflow: visible; }
.ledger-bench { stroke: var(--white); stroke-width: 1.5; stroke-dasharray: 4 5; opacity: .75; }
.ledger-bar { fill: var(--ice); }
.ledger-over { fill: var(--gold); }
.ledger-bench-label { fill: var(--white); font: 400 13px var(--sans); }
.ledger-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 18px 0 0; padding: 0; font-size: .9rem; color: color-mix(in srgb, var(--white) 80%, var(--ice)); }
.ledger-legend li { display: flex; align-items: center; gap: 8px; }
.key { width: 18px; height: 10px; display: inline-block; }
.key-ice { background: var(--ice); }
.key-gold { background: var(--gold); }

/* The one orchestrated moment: bars draw in on load, gold arrives last. */
@media (prefers-reduced-motion: no-preference) {
	.ledger-bar, .ledger-over { transform-box: fill-box; transform-origin: left center; }
	.ledger-bar { animation: efi-grow .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 70ms + 150ms); }
	.ledger-over { animation: efi-grow .45s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 70ms + 900ms); }
	@keyframes efi-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust { background: var(--navy-2); color: var(--white); }
.trust-list {
	list-style: none; margin: 0 auto; padding-top: 18px; padding-bottom: 18px;
	display: grid; gap: 10px 32px; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .trust-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .trust-list { grid-template-columns: repeat(4, auto); justify-content: space-between; } }
.trust-list li { display: flex; align-items: center; gap: 12px; font-size: .97rem; }
.trust-list li::before { content: ""; width: 14px; height: 8px; background: var(--gold); flex: none; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: var(--space) 0; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy .lead, .section--navy p { color: color-mix(in srgb, var(--white) 80%, var(--ice)); }
.section-head { margin-bottom: 48px; max-width: 760px; }
.section-head .lead { margin: 0; }
.section-foot { margin: 40px 0 0; }

/* Timeline (a real sequence: dates in order) */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.tl-item { position: relative; padding: 0 0 32px 36px; }
.tl-item::before {
	content: ""; position: absolute; left: 6px; top: 8px; bottom: -8px; width: 2px; background: var(--line);
}
.tl-item:last-child::before { display: none; }
.tl-node { position: absolute; left: 0; top: 4px; width: 14px; height: 14px; background: var(--navy); }
.tl-item:first-child .tl-node { background: var(--gold); }
.tl-date { font-family: var(--serif); font-weight: 600; color: var(--gold-ink); margin: 0 0 4px; font-size: 1.05rem; }
.tl-title { font-size: 1.15rem; margin-bottom: 6px; }
.tl-text { color: var(--slate); margin: 0; font-size: .97rem; }
@media (min-width: 960px) {
	.timeline { grid-template-columns: repeat(var(--n, 5), 1fr); gap: 28px; padding-top: 34px; }
	.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 40px; height: 2px; background: var(--line); }
	.tl-item { padding: 0; }
	.tl-item::before { display: none; }
	.tl-node { position: relative; display: block; top: auto; margin-bottom: 22px; }
}
.tl-foot { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: baseline; justify-content: space-between; }
.tl-foot .fineprint { margin: 0; }

/* Report vs. check */
.gap-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .gap-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } }
.compare { display: grid; gap: 0; }
@media (min-width: 640px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare-col { padding: 28px; }
.compare-col h3 { font-size: 1.15rem; margin-bottom: 16px; }
.compare-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compare-col li { padding-left: 26px; position: relative; }
.compare-col--report { background: var(--paper); color: var(--slate); }
.compare-col--report li::before { content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 2px; background: var(--slate); }
.compare-col--check { background: var(--navy); color: var(--white); }
.compare-col--check li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; background: var(--gold); }

/* Numbered steps (sequences only) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
@media (min-width: 860px) {
	.steps--row { grid-template-columns: repeat(var(--n, 3), 1fr); gap: 40px; }
	.steps--grid { grid-template-columns: repeat(3, 1fr); gap: 40px 48px; }
}
.step { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.step-num {
	font-family: var(--serif); font-weight: 700; font-size: 2.6rem; line-height: 1;
	color: var(--gold-ink); min-width: 1.2em;
}
.section--navy .step-num { color: var(--gold); }
.step-title { margin-bottom: 6px; }
.step p { margin: 0; color: var(--slate); }
.section--navy .step p { color: color-mix(in srgb, var(--white) 78%, var(--ice)); }

/* Feature columns (unordered) */
.features { display: grid; gap: 32px; }
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(min(var(--n, 3), 4), 1fr); gap: 40px; } }
.feature { border-top: 3px solid var(--navy); padding-top: 20px; }
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; color: var(--slate); }
.features--soon .feature { border-top-style: dashed; border-top-color: var(--slate); }

/* Audience doors */
.doors { display: grid; gap: 20px; }
@media (min-width: 860px) { .doors { grid-template-columns: 1fr 1fr; } }
.door {
	display: flex; flex-direction: column; padding: 36px; min-height: 280px;
	text-decoration: none; transition: transform .15s ease;
}
.door h3 { font-size: 1.6rem; }
.door p { flex: 1; }
.door--navy { background: var(--navy); color: var(--white); }
.door--navy p { color: color-mix(in srgb, var(--white) 78%, var(--ice)); }
.door--ice { background: var(--ice); color: var(--navy); }
.door-cta { font-weight: 700; display: inline-flex; align-items: center; gap: 12px; }
.door-cta::after { content: ""; width: 28px; height: 8px; background: var(--gold); transition: width .15s ease; }
.door:hover .door-cta::after { width: 44px; }
.door--ice .door-cta::after { background: var(--navy); }

/* Partners strip */
.strip-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .strip-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.monograms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 24px 16px; }
.monograms li { display: grid; justify-items: start; gap: 8px; font-size: .9rem; }
.mono {
	width: 72px; height: 72px; display: grid; place-items: center; object-fit: cover;
	background: var(--navy); color: var(--ice); font: 600 1.4rem var(--serif);
}
.mono-name { color: var(--slate); line-height: 1.3; }

/* Closing CTA */
.cta { background: var(--navy); color: var(--white); padding: clamp(56px, 7vw, 88px) 0; }
.cta-inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 960px) { .cta-inner { grid-template-columns: auto 1fr auto; gap: 40px; } }
.cta-tag {
	justify-self: start; background: var(--gold); color: var(--navy);
	font: 700 1rem var(--sans); padding: 10px 16px;
}
.cta h2 { margin-bottom: 8px; }
.cta p { margin: 0; color: color-mix(in srgb, var(--white) 78%, var(--ice)); max-width: 60ch; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero {
	background: var(--navy); color: var(--white); position: relative; overflow: hidden;
	padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 7vw, 88px);
}
.page-hero h1 { max-width: 20ch; }
.page-hero .wrap { position: relative; z-index: 1; }
/* Echo of the E mark: three bars, the middle one extended in gold. */
.page-hero-mark {
	position: absolute; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
	bottom: 40px; display: none; gap: 14px; grid-template-columns: 1fr; width: 200px;
}
.page-hero-mark span { display: block; height: 18px; background: color-mix(in srgb, var(--ice) 22%, transparent); }
.page-hero-mark span:nth-child(1), .page-hero-mark span:nth-child(3) { width: 62%; }
.page-hero-mark span:nth-child(2) { width: 100%; background: linear-gradient(90deg, color-mix(in srgb, var(--ice) 22%, transparent) 0 70%, var(--gold) 70% 100%); }
@media (min-width: 1080px) { .page-hero-mark { display: grid; } }

.split { display: grid; gap: 40px; }
@media (min-width: 960px) { .split { grid-template-columns: 1.2fr .8fr; gap: 64px; } }
.split--center { align-items: center; }

.panel { padding: 32px; }
.panel--navy { background: var(--navy); color: var(--white); }
.panel--navy h3 { color: var(--white); }

.list-title { font-size: 1.1rem; margin-top: 32px; }
.q-list { margin: 0; padding-left: 1.4em; display: grid; gap: 8px; }
.q-list li::marker { font-family: var(--serif); font-weight: 700; color: var(--gold-ink); }

.check-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.check-list li { padding-left: 28px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; background: var(--gold); }

.statement { background: var(--ice); color: var(--navy); padding: clamp(48px, 7vw, 80px) 0; }
.statement-inner { max-width: 900px; }
.statement-big { font: 600 clamp(1.6rem, 3.2vw, 2.4rem)/1.2 var(--serif); margin-bottom: 16px; }
.statement-small { font-size: 1.1rem; margin: 0; max-width: 62ch; }

.faq { border-top: 1px solid var(--line); margin-top: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
	cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
	font: 600 1.15rem/1.35 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: ""; position: absolute; right: 4px; top: 50%; width: 16px; height: 2px; background: var(--navy);
	box-shadow: none; transform: translateY(-50%);
}
.faq summary::before {
	content: ""; position: absolute; right: 11px; top: 50%; width: 2px; height: 16px; background: var(--navy);
	transform: translateY(-50%); transition: transform .15s ease;
}
.faq details[open] summary::before { transform: translateY(-50%) scaleY(0); }
.faq details p { margin: 0 0 20px; color: var(--slate); max-width: 64ch; }

.facts { margin: 0; border-top: 2px solid var(--navy); }
.fact { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .fact { grid-template-columns: 260px 1fr; gap: 32px; } }
.fact dt { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.fact dd { margin: 0; color: var(--slate); max-width: 68ch; }
.source { margin-top: 20px; }
.source a { color: var(--gold-ink); }

.sample-vs { display: grid; gap: 24px; }
.sv-row { display: grid; gap: 10px; }
.sv-label { font-size: .9rem; color: color-mix(in srgb, var(--white) 75%, var(--ice)); }
.sv-dots { display: grid; grid-template-columns: repeat(20, 1fr); gap: 5px; }
.sv-dots i { display: block; aspect-ratio: 1; background: color-mix(in srgb, var(--ice) 16%, transparent); }
.sv-dots i.on { background: var(--ice); }
.sv-dots--sample i.on { background: var(--gold); }

.services { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.service { display: grid; gap: 12px; padding: 32px 20px; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .service { grid-template-columns: 380px 1fr; gap: 48px; } }
.service-name { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: baseline; align-content: start; }
.service-num { font: 700 1.5rem var(--serif); color: var(--gold-ink); grid-row: span 3; }
.service-name h3 { margin: 0; font-size: 1.4rem; }
.service-name .tag { justify-self: start; margin-top: 8px; }
.service-when { grid-column: 2; margin: 6px 0 0; color: var(--slate); font-size: .95rem; }
.service-body p { margin: 0; max-width: 64ch; }
.service-note {
	margin-top: 14px !important; padding: 12px 16px; background: var(--paper);
	border-left: 4px solid var(--gold); color: var(--slate); font-size: .95rem;
}
.service--featured { background: linear-gradient(90deg, var(--paper), transparent 70%); }
.tag { display: inline-block; background: var(--gold); color: var(--navy); font-weight: 700; font-size: .85rem; padding: 3px 10px; }

.story-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .story-grid { grid-template-columns: 1.3fr .7fr; gap: 72px; align-items: start; } }
.story-copy p { font-size: 1.08rem; line-height: 1.75; max-width: 64ch; }
.story-copy p:first-of-type { font-family: var(--serif); font-size: 1.35rem; line-height: 1.5; color: var(--navy); }
.story-quote {
	margin: 0; padding: 28px 0 0; border-top: 6px solid var(--gold);
	position: sticky; top: 110px;
}
.story-quote p { font: 600 clamp(1.4rem, 2.4vw, 1.8rem)/1.3 var(--serif); color: var(--navy); margin: 0; }

.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px 28px; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); }
.person-photo {
	width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 18px; display: block;
	background: var(--navy); filter: grayscale(.15);
}
.person-photo--initials { display: grid; place-items: center; color: var(--ice); font: 600 3rem var(--serif); }
.person h3 { margin-bottom: 2px; }
.person-role { color: var(--gold-ink); font-weight: 700; font-size: .95rem; margin-bottom: 10px; }
.person-bio { color: var(--slate); font-size: .97rem; margin: 0; }

.orgs { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.org { border-left: 6px solid var(--ice); padding: 4px 0 4px 24px; }
.org-name { font: 700 1.6rem var(--serif); margin: 0 0 6px; color: var(--navy); }
.org-role { color: var(--gold-ink) !important; font-weight: 700; font-size: .95rem; margin: 0 0 10px !important; }
.org-logo { max-height: 48px; width: auto; margin-bottom: 12px; }
.org p { color: var(--slate); margin-bottom: 8px; }
.independence { margin: 56px 0 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--slate); max-width: 72ch; }

/* Snapshot form */
.form-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .form-grid { grid-template-columns: 1.4fr .6fr; gap: 56px; align-items: start; } }
.form-card { background: var(--white); padding: clamp(24px, 4vw, 40px); border-top: 6px solid var(--navy); }
.snapshot-form { display: grid; gap: 18px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; }
.field[hidden] { display: none; }
.field input, .field select, .field textarea {
	font: 400 1rem var(--sans); color: var(--ink);
	padding: 12px 14px; border: 1px solid #B7C3D8; border-radius: 2px; background: var(--white); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid color-mix(in srgb, var(--gold) 60%, transparent); outline-offset: 0; border-color: var(--navy); }
.seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.seg legend { font-weight: 700; font-size: .95rem; margin-bottom: 8px; width: 100%; }
.seg label {
	display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
	padding: 10px 14px; border: 1px solid #B7C3D8; border-radius: 2px;
}
.seg label:has(input:checked) { border-color: var(--navy); background: var(--paper); box-shadow: inset 4px 0 0 var(--gold); }
.hp { position: absolute; left: -9999px; }
.form-success { background: var(--paper); border-left: 6px solid var(--gold); padding: 20px; font-size: 1.1rem; }
.form-error { background: #FBEDEA; border-left: 6px solid #B3402A; padding: 14px 18px; margin-bottom: 18px; }
.form-side h2 { font-size: 1.4rem; }
.mini-steps { list-style: none; counter-reset: s; margin: 0 0 40px; padding: 0; display: grid; gap: 22px; }
.mini-steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; }
.mini-steps li::before { content: counter(s); grid-row: span 2; font: 700 1.4rem/1.2 var(--serif); color: var(--gold-ink); }
.mini-steps h3 { font-size: 1.05rem; margin: 0 0 4px; }
.mini-steps p { margin: 0; color: var(--slate); font-size: .95rem; }
.contact-box { border-top: 1px solid var(--line); padding-top: 24px; }
.contact-box p { margin: 0 0 6px; }
.contact-box a { color: var(--gold-ink); font-weight: 700; }

.entry { font-size: 1.05rem; }
.entry h2 { margin-top: 1.5em; }
.post-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.post-item h2 a { text-decoration: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: color-mix(in srgb, var(--navy) 88%, #000); color: color-mix(in srgb, var(--white) 78%, var(--ice)); padding: 64px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; } }
.footer-brand img { width: 190px; margin-bottom: 16px; }
.footer-brand p { max-width: 34ch; }
.footer-h { font: 700 1rem var(--sans); color: var(--white); margin-bottom: 14px; letter-spacing: 0; }
.footer-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { color: var(--white); text-decoration: underline; }
.footer-legal {
	margin-top: 48px; padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--ice) 16%, transparent);
	display: grid; gap: 8px; font-size: .85rem;
}
@media (min-width: 860px) { .footer-legal { grid-template-columns: 1fr auto; gap: 40px; } }
.footer-legal p { margin: 0; max-width: 80ch; }

/* Preview-only page switching (static HTML preview) */
.page-view[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
