/* ==========================================================================
   BK Fence Experts — Design System
   Derived from STYLE-GUIDE.md  (Pine + Cedar · Archivo + Inter · Picket motif)
   ========================================================================== */

:root {
	/* Color — BK Fence Experts brand: Red + Black + White.
	   (Variable names kept from the original scaffold; values are now the real brand.) */
	--pine:        #18181B;   /* near-black: dark structural sections, hero panel */
	--pine-deep:   #0E0E11;   /* deepest black: footer, deep bands */
	--cedar:       #E00000;   /* BRAND RED: CTAs, accents, rails, links */
	--cedar-bright:#B70000;   /* red deep: hover/active */
	--paper:       #FAFAFA;   /* page background */
	--greige:      #F1F1F3;   /* card bg / alternating bands */
	--stone:       #6F6F77;   /* muted text */
	--ink:         #1A1A1D;   /* body text near-black */
	--line:        #E5E5E8;   /* borders */
	--white:       #FFFFFF;

	--success: #1E9E54;
	--warning: #E0A106;
	--danger:  #C0392B;

	/* Type */
	--font-display: 'Archivo', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, sans-serif;

	/* Spacing / layout */
	--wrap: 1200px;
	--gap: clamp(1rem, 3vw, 2rem);
	--section-y: clamp(3.5rem, 8vw, 7rem);
	--radius: 14px;
	--radius-sm: 8px;
	--shadow-sm: 0 2px 8px rgba(0,0,0,.08);
	--shadow: 0 10px 30px rgba(0,0,0,.12);
	--shadow-lg: 0 24px 60px rgba(0,0,0,.18);

	/* Picket motif: vertical slats (brand-red, subtle) */
	--picket: repeating-linear-gradient(90deg,
		transparent 0, transparent 14px,
		rgba(224,0,0,.16) 14px, rgba(224,0,0,.16) 18px);
}

/* ---------- Reset / base ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
/* Base inline-icon size — explicit class sizes (.svc-card__icon, .btn svg, etc.) override this. */
svg { width: 1.1em; height: 1.1em; }
a { color: var(--pine); text-decoration-color: rgba(224,0,0,.4); text-underline-offset: 3px; }
a:hover { color: var(--cedar); }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.08; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; overflow-wrap: break-word; }
h1 { font-size: clamp(2.25rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--pine { background: var(--pine); color: #F2F2F3; }
.section--pine h1,.section--pine h2,.section--pine h3 { color: #fff; }
.section--deep { background: var(--pine-deep); color: #D7D7DA; }
.section--greige { background: var(--greige); }
.eyebrow {
	font-family: var(--font-display); font-weight: 800; font-size: .8rem;
	letter-spacing: .14em; text-transform: uppercase; color: var(--cedar); margin: 0 0 .9rem;
	display: inline-flex; align-items: center; gap: .5rem;
}
.eyebrow svg { width: 1.15em; height: 1.15em; flex: none; }
.section--pine .eyebrow, .section--deep .eyebrow { color: #FF4D4D; }
.lead { font-size: clamp(1.05rem,1.6vw,1.25rem); color: #52525B; max-width: 60ch; }
.section--pine .lead, .section--deep .lead { color: #C8C8CD; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
	padding: .92rem 1.6rem; border-radius: var(--radius-sm); border: 2px solid transparent;
	cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
	line-height: 1;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--cedar); color: #fff; box-shadow: 0 6px 16px rgba(224,0,0,.28); }
.btn--primary:hover { background: var(--cedar-bright); color:#fff; transform: translateY(-3px); box-shadow: 0 12px 26px rgba(224,0,0,.34); }
.btn--ghost { background: transparent; color: var(--pine); border-color: rgba(0,0,0,.25); }
.btn--ghost:hover { border-color: var(--pine); transform: translateY(-3px); color: var(--pine); }
.btn--on-dark { background: #fff; color: var(--pine); }
.btn--on-dark:hover { background: var(--paper); color: var(--pine-deep); transform: translateY(-3px); }
.btn--ghost-dark { background: transparent; color:#fff; border-color: rgba(255,255,255,.4); }
.btn--ghost-dark:hover { border-color:#fff; transform: translateY(-3px); color:#fff; }
.btn:active { transform: scale(.97); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(250,250,250,.92); backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; padding-block: .7rem; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__logo { height: 48px; width: auto; display: block; }
.footer__brand .brand__logo { height: 44px; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--pine); line-height: 1; letter-spacing: -.01em; }
.brand__name span { color: var(--cedar); }
.brand__tag { display:block; font-family: var(--font-body); font-weight: 500; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { font-family: var(--font-display); font-weight: 600; font-size: .98rem; color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--cedar); }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-phone { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-display); font-weight: 800; color: var(--pine); text-decoration: none; font-size: 1.05rem; }
.header-phone svg { width: 18px; height: 18px; color: var(--cedar); }
.nav-toggle { display: none; }

/* ---------- Hero (split) ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; min-height: min(86vh, 760px); }
.hero__panel { background: var(--pine); color: #F2F2F3; display: flex; align-items: center; padding: clamp(2rem,5vw,4.5rem); position: relative; overflow: hidden; }
.hero__panel::before { /* picket motif underlay */
	content:""; position:absolute; inset:0; background: var(--picket); opacity:.5; mix-blend-mode: screen; pointer-events:none;
}
.hero__content { position: relative; max-width: 38rem; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 em { color: var(--cedar); font-style: normal; }
.hero__sub { font-size: clamp(1.05rem,1.5vw,1.25rem); color: #C8C8CD; margin-bottom: 1.6rem; max-width: 42ch; }
.hero__media { position: relative; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content:""; position:absolute; inset:0; background: linear-gradient(100deg, var(--pine) 0%, rgba(0,0,0,.15) 22%, transparent 45%); }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.1rem 1.5rem; margin-top: 1.8rem; }
.hero__trust div { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .92rem; color: #D7D7DA; }
.hero__trust svg { width: 20px; height: 20px; color: #FF4D4D; flex:none; }

/* ---------- Stat bar ---------- */
.stats { background: var(--pine-deep); }
.stats__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; padding-block: 2rem; text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem,4vw,3rem); color: #fff; line-height: 1; }
.stat__num span { color: var(--cedar); }
.stat__label { color: #A6A6AD; font-size: .9rem; margin-top: .4rem; }

/* ---------- Section heading block ---------- */
.s-head { max-width: 42rem; margin-bottom: 2.5rem; }
.s-head.center { margin-inline: auto; }
/* post-and-rail accent */
.rail { display: inline-block; width: 64px; height: 4px; background: var(--cedar); border-radius: 4px; position: relative; margin-bottom: 1.1rem; }
.rail::before,.rail::after { content:""; position:absolute; top:-4px; width:4px; height:12px; background: var(--pine); border-radius:2px; }
.rail::before { left: 0; } .rail::after { right: 0; }
.center .rail { margin-inline: auto; display:block; }

/* ---------- Services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.3rem; }
.svc-card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
	display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
	text-decoration: none; color: var(--ink);
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d8d0c0; }
.svc-card__img { aspect-ratio: 16/10; overflow: hidden; }
.svc-card__img img { width:100%; height:100%; object-fit: cover; transition: transform .4s ease; }
.svc-card:hover .svc-card__img img { transform: scale(1.05); }
.svc-card__body { padding: 1.2rem 1.3rem 1.4rem; display:flex; flex-direction:column; flex:1; }
.svc-card__icon { width: 34px; height: 34px; color: var(--cedar); margin-bottom: .5rem; }
.svc-card h3 { margin-bottom: .35rem; }
.svc-card p { color: #56565E; font-size: .96rem; margin-bottom: 1rem; }
.svc-card__more { margin-top:auto; font-family: var(--font-display); font-weight:700; color: var(--cedar); font-size:.95rem; display:inline-flex; align-items:center; gap:.35rem; }
.svc-card:hover .svc-card__more { gap:.6rem; }

/* ---------- Pillars (why us) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; }
.pillar { padding: 1.4rem; }
.pillar__icon { width: 56px; height: 56px; color: var(--cedar); margin-bottom: .9rem; }
.section--pine .pillar p { color: #C8C8CD; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; counter-reset: step; }
.step { position: relative; padding-top: .5rem; }
.step__n { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--cedar); line-height: 1; opacity:.9; }
.step h3 { font-size: 1.2rem; margin: .4rem 0 .3rem; }
.step p { color: #56565E; font-size: .95rem; }

/* ---------- Split feature (craft / proof) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width:100%; aspect-ratio: 4/3; object-fit: cover; }
.quote { border-left: 4px solid var(--cedar); padding: .3rem 0 .3rem 1.2rem; margin: 1.4rem 0; font-size: 1.15rem; font-weight: 500; font-style: italic; color: var(--ink); }
.quote cite { display:block; font-style: normal; font-weight:700; font-family: var(--font-display); color: var(--pine); margin-top:.6rem; font-size: .95rem; }
.stars { color: var(--warning); letter-spacing: 2px; font-size: 1.1rem; }

/* ---------- Service area ---------- */
.areas { display:flex; flex-wrap:wrap; gap:.6rem; margin-top: 1.4rem; }
.area-chip { background:#fff; border:1px solid var(--line); border-radius: 999px; padding:.5rem 1rem; font-weight:600; font-size:.92rem; color: var(--pine); }
.section--pine .area-chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color:#F2F2F3; }

/* ---------- Final CTA ---------- */
.cta-band { text-align:center; }
.cta-band h2 { color:#fff; }
.cta-band .lead { margin: 0 auto 1.6rem; color:#C8C8CD; }
.cta-phone { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem,3vw,2.2rem); color:#fff; text-decoration:none; display:inline-flex; align-items:center; gap:.6rem; }
.cta-phone svg { width: 30px; height:30px; color: var(--cedar); }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-deep); color: #B7C2B7; position: relative; }
.site-footer::before { content:""; display:block; height: 10px; background: var(--picket); background-color: var(--pine); opacity:.6; }
.footer__grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding-block: 3.2rem 2rem; }
.footer__grid h4 { color:#fff; font-size: 1rem; letter-spacing:.04em; margin-bottom: 1rem; }
.footer a { color:#B7C2B7; text-decoration:none; }
.footer a:hover { color: var(--cedar-bright); }
.footer ul { list-style:none; padding:0; margin:0; }
.footer li { margin-bottom: .5rem; font-size:.95rem; }
.footer__brand .brand__name { color:#fff; }
.footer__brand p { color:#9aa89a; font-size:.92rem; margin-top:.8rem; max-width: 30ch; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.2rem; display:flex; flex-wrap:wrap; gap:.6rem 1.5rem; justify-content:space-between; font-size:.85rem; color:#8a988a; }
.footer__contact div { display:flex; align-items:center; gap:.5rem; margin-bottom:.55rem; font-size:.95rem; }
.footer__contact svg { width:18px; height:18px; color: var(--cedar-bright); flex:none; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta { display:none; }

/* ---------- Reveal animation defaults (progressive enhancement) ---------- */
/* Only hide when JS is active; without JS, content stays visible. */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	/* Integrated mobile hero: full-bleed photo with the content overlaid on it (one unit) */
	.hero { display: block; position: relative; min-height: 0; background: var(--pine); }
	.hero__media { position: absolute; inset: 0; height: 100%; }
	.hero__media img { height: 100%; width: 100%; object-fit: cover; }
	.hero__media::after {
		background: linear-gradient(180deg,
			rgba(24,24,27,.32) 0%,
			rgba(24,24,27,.58) 40%,
			rgba(24,24,27,.93) 100%);
	}
	.hero__panel {
		position: relative; z-index: 1; background: transparent;
		display: block; padding: 1.4rem 1.4rem 2.4rem;   /* size to content: small gap under nav */
	}
	.hero__panel::before { display: none; }              /* no picket motif over the photo (kills the red lines) */
	.hero__sub { color: #E7E7E9; }
	.svc-grid { grid-template-columns: repeat(2,1fr); }
	.pillars { grid-template-columns: 1fr; gap: 1rem; }
	.steps { grid-template-columns: repeat(2,1fr); }
	.split { grid-template-columns: 1fr; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.stats__grid { grid-template-columns: repeat(2,1fr); gap: 1.6rem; }
}
@media (max-width: 760px) {
	.hero h1 { font-size: 2.05rem; }
	.eyebrow-extra { display: none; }
	.eyebrow { font-size: .74rem; letter-spacing: .1em; flex-wrap: wrap; }
	.nav, .header-phone span { display: none; }
	.nav-toggle { display: inline-flex; }
	.svc-grid { grid-template-columns: 1fr; }
	.footer__grid { grid-template-columns: 1fr; }
	.mobile-cta {
		display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.12);
		padding: .55rem .7rem; gap: .55rem;
	}
	.mobile-cta .btn { flex: 1; padding: .8rem; }
	body { padding-bottom: 68px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
	.btn, .svc-card, .svc-card__img img { transition: none !important; }
}

/* ---------- Brand-red refinements (BK Fence Experts) ---------- */
.hero .eyebrow { color: #FF4D4D; }
.btn--ghost-dark { border-color: rgba(255,255,255,.45); }
@media (max-width: 760px) {
	.brand__logo { height: 38px; }
}

/* ========================================================================
   Sonic Boom (Stage 3.5) — conversion components
   ======================================================================== */
.pain-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; margin-top: 2.5rem; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.3rem; text-align: left; transition: transform .18s ease, box-shadow .18s ease; }
.pain:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pain__icon { width: 34px; height: 34px; color: var(--cedar); margin-bottom: .6rem; }
.pain h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.pain p { color: #56565E; font-size: .95rem; margin: 0; }
.pain p strong { color: var(--ink); }
.pain-cta { margin-top: 2.2rem; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; }
.pain-cta a { color: var(--cedar); white-space: nowrap; }

.beforeafter { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.ba { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ba img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.ba__tag { position: absolute; top: .9rem; left: .9rem; font-family: var(--font-display); font-weight: 800; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; padding: .4rem .85rem; border-radius: 999px; color: #fff; }
.ba__tag--before { background: rgba(24,24,27,.86); }
.ba__tag--after { background: var(--cedar); }

.form-reassure { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: .45rem; margin: .35rem 0 0; color: #C8C8CD; font-size: .85rem; }
.form-reassure svg { width: 15px; height: 15px; color: #FF4D4D; flex: none; }

@media (max-width: 960px) { .pain-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pain-grid { grid-template-columns: 1fr; } .beforeafter { grid-template-columns: 1fr; } }

/* ========================================================================
   Service / location template (Stage 4)
   ======================================================================== */
.hero--service { min-height: min(62vh, 540px); }

.svc-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }

/* Article body typography */
.entry-content { font-size: 1.08rem; color: #2c2c30; max-width: 70ch; }
.entry-content > h2 { font-size: clamp(1.5rem,2.6vw,2rem); margin: 2.6rem 0 .9rem; padding-top: 1.2rem; border-top: 3px solid var(--cedar); display: inline-block; }
.entry-content > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.entry-content h3 { font-size: 1.2rem; margin: 1.6rem 0 .5rem; }
.entry-content p { margin: 0 0 1.1rem; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.entry-content li { margin-bottom: .5rem; }
.entry-content a { color: var(--cedar-bright); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(224,0,0,.35); }
.entry-content a:hover { color: var(--cedar); }
.entry-content strong { color: var(--ink); }
.entry-content .faq-q { font-weight: 700; font-family: var(--font-display); margin-top: 1.4rem; }

/* Sidebar */
.svc-aside { position: sticky; top: 88px; display: grid; gap: 1.2rem; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.3rem; box-shadow: var(--shadow-sm); }
.aside-card--form { background: var(--pine); color: #EDEDEE; border-color: transparent; }
.aside-title { font-size: 1.15rem; margin-bottom: .2rem; }
.aside-card--form .aside-title { color: #fff; }
.aside-sub { font-size: .9rem; color: #BDBDC2; margin-bottom: 1rem; }
.aside-form { display: grid; gap: .6rem; margin-bottom: .9rem; }
.aside-form input { padding: .75rem .9rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.96); font: inherit; }
.aside-form .btn { width: 100%; }
.aside-or { text-align: center; color: #9a9aa2; font-size: .82rem; margin: .4rem 0; }
.aside-phone { display: flex; align-items: center; justify-content: center; gap: .45rem; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: #fff; text-decoration: none; }
.aside-phone svg { width: 20px; height: 20px; color: #FF4D4D; }
.aside-hours { display: flex; align-items: center; justify-content: center; gap: .4rem; color: #BDBDC2; font-size: .82rem; margin: .6rem 0 0; }
.aside-hours svg { width: 14px; height: 14px; color: #FF4D4D; }
.aside-links { list-style: none; padding: 0; margin: 0; }
.aside-links li { margin-bottom: .55rem; border-bottom: 1px solid var(--line); padding-bottom: .55rem; }
.aside-links li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.aside-links a { color: var(--ink); text-decoration: none; font-weight: 600; display: flex; justify-content: space-between; }
.aside-links a:hover { color: var(--cedar); }

@media (max-width: 960px) {
	.svc-layout { grid-template-columns: 1fr; }
	.svc-aside { position: static; order: 2; }
}

/* ========================================================================
   Navigation dropdowns + mobile menu (Stage 5)
   ======================================================================== */
.nav-drop { position: relative; }
.nav-drop__btn { font-family: var(--font-display); font-weight: 600; font-size: .98rem; color: var(--ink); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: .28rem; padding: 0; }
.nav-drop__btn:hover { color: var(--cedar); }
.nav-drop__menu { position: absolute; top: 100%; left: 0; margin-top: .7rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: .5rem; min-width: 240px; display: none; z-index: 60; }
.nav-drop:hover .nav-drop__menu, .nav-drop:focus-within .nav-drop__menu { display: block; }
.nav-drop:hover .nav-drop__menu--cols, .nav-drop:focus-within .nav-drop__menu--cols { display: grid; grid-template-columns: 1fr 1fr; min-width: 320px; }
.nav-drop__menu a { display: block; padding: .55rem .7rem; border-radius: 8px; font-size: .95rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav-drop__menu a:hover { background: var(--greige); color: var(--cedar); }
.header-quote { padding: .65rem 1.1rem; }

@media (max-width: 760px) {
	.nav-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 9px;
		background: #fff; color: var(--pine); cursor: pointer; flex: none;
	}
	.nav-toggle svg { width: 22px; height: 22px; }
	.site-header.nav-open .nav {
		display: flex; flex-direction: column; align-items: stretch;
		position: absolute; top: 100%; left: 0; right: 0;
		background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow);
		padding: .6rem 1.25rem 1.1rem; gap: 0; max-height: 78vh; overflow: auto;
	}
	.site-header.nav-open .nav > a { padding: .8rem 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; }
	.site-header.nav-open .nav-drop { width: 100%; }
	.site-header.nav-open .nav-drop__btn { width: 100%; justify-content: space-between; padding: .8rem 0; border-bottom: 1px solid var(--line); }
	.site-header.nav-open .nav-drop__menu, .site-header.nav-open .nav-drop__menu--cols {
		position: static; display: block; box-shadow: none; border: 0; padding: .2rem 0 .5rem .8rem; min-width: 0; margin: 0;
	}
	.site-header.nav-open .nav-drop__menu a { padding: .5rem 0; }
	.header-quote { display: none; }   /* sticky bottom bar + menu cover the quote CTA on mobile */
}

/* ========================================================================
   Accessibility (Stage 6 QA) — visible keyboard focus
   ======================================================================== */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, .btn:focus-visible, .svc-card:focus-visible, .nav-drop__btn:focus-visible {
	outline: 3px solid var(--cedar);
	outline-offset: 2px;
	border-radius: 4px;
}
/* On dark sections, use a lighter focus ring for contrast */
.section--pine a:focus-visible, .section--deep a:focus-visible,
.hero__panel a:focus-visible, .aside-card--form a:focus-visible, .aside-card--form input:focus-visible,
.site-footer a:focus-visible, .btn--ghost-dark:focus-visible, .btn--on-dark:focus-visible {
	outline-color: #FF6A4D;
}
