/*
 * Digital Strategy Ltd. — main stylesheet
 *
 * Ported from the approved mockup HTML (class names and values kept verbatim wherever possible,
 * per RFP §4). Differences from the mockup are limited to:
 *   1. Page-switcher / show-hide scaffolding removed (mockup-only).
 *   2. Global `nav` and `section` selectors scoped (.site-nav, .section) so they don't hit
 *      breadcrumbs, pagination, or other <nav>/<section> elements WordPress outputs.
 *   3. WCAG AA floor: the mockup uses rgba(255,255,255,.2–.45) for small text on near-black
 *      (≈2–4:1). RFP §11 requires 4.5:1, so those are lifted to --dim (.5+). Marked "AA".
 *   4. FAQ uses <details> instead of JS toggle; mobile menu toggle added (mockup hides the nav <900px).
 *   5. Fonts are self-hosted @font-face (RFP §9 commitment: no fonts.googleapis.com / fonts.gstatic.com
 *      requests — LCP + GDPR) instead of the Google Fonts CDN import. Cormorant Garamond and Inter are
 *      variable woff2 files; IBM Plex Mono ships static 400/500.
 *   6. Nav logo: the mockup's compass mark + text lockup is replaced by the client-supplied master
 *      logo (assets/Digital-Strategy-Ltd.svg, inlined via dsl_logo_svg()) — client design decision,
 *      2026-11-01. See docs/build-notes.md.
 */

/* Self-hosted fonts — files in assets/fonts/, paths relative to this stylesheet. */
@font-face {
	font-family: 'Cormorant Garamond';
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url('../fonts/cormorantgaramond-var.woff2') format('woff2');
}
@font-face {
	font-family: 'Cormorant Garamond';
	font-style: italic;
	font-weight: 300 700;
	font-display: swap;
	src: url('../fonts/cormorantgaramond-var-italic.woff2') format('woff2');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url('../fonts/inter-var.woff2') format('woff2');
}
@font-face {
	font-family: 'IBM Plex Mono';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/ibmplexmono-400.woff2') format('woff2');
}
@font-face {
	font-family: 'IBM Plex Mono';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../fonts/ibmplexmono-500.woff2') format('woff2');
}

:root {
	color-scheme: light;
	--ink:    #1d1a16;   /* warm charcoal, brown-stone undertone */
	--paper:  #f3f0e9;   /* Cloud Dancer parchment — warm neutral */
	--gold:   #7d6541;   /* antique tarnished brass */
	--gold-lt:#c9a96c;   /* spec §-token: brighter brass for display contexts */
	--gold-hover:#a08560;/* hover/focus brass — split out from --gold-lt (M1/M2 variance item 3) */
	--gold-button-hover:#695437; /* AA: white button text needs a darker fill, not --gold-hover. */
	--mid:    #5c5751;   /* warm taupe body text */
	--light:  #e4ddd3;
	--rule:   #ccc5b8;
	--white:  #faf8f4;   /* warm cream, not pure white */
	--red:    #8a1a1a;

	/* AA floor for small text on dark surfaces (mockup values are lower; see header note). */
	--dim:    rgba(255,255,255,.5);
	--dim-2:  rgba(255,255,255,.6);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
	font-family: 'Inter', sans-serif;
	background: var(--paper);
	color: var(--ink);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
/* AA: dark outline plus light inner ring stays visible on both page palettes. */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 3px var(--white); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--gold); color: var(--white); padding: 12px 16px; }
.skip-link:focus { left: 16px; top: 16px; }

/* ── NOTICE BAR ── */
.notice {
	background: #110f0c;
	color: rgba(243,240,233,.5);
	text-align: center;
	padding: 8px 24px;
	font-family: 'Inter', sans-serif;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: .07em;
	border-bottom: 1px solid rgba(125,101,65,.2);
}

/* ── NAV ── */
.site-nav {
	background: var(--ink);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 48px;
	height: 68px;
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-bar .site-nav { top: 32px; }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo-mark { flex-shrink: 0; line-height: 0; }
.nav-logo-mark svg { width: 182px; height: 38px; } /* client master logo lockup (240x50 viewBox) */
/* Wordmark inside the inline master logo (dsl_logo_svg) — light fills because the nav is always dark. */
.nav-logo-mark .dsl-name { font-family: 'Inter', system-ui, -apple-system, sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 2.2px; fill: #f3f0e9; }
.nav-logo-mark .dsl-ltd { font-family: 'Inter', system-ui, -apple-system, sans-serif; font-size: 9.5px; font-weight: 300; letter-spacing: 2.6px; fill: #c9a96c; }
.site-nav .nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.site-nav .nav-links a { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.7); text-decoration: none; letter-spacing: .02em; transition: color .15s; }
.site-nav .nav-links a:hover { color: var(--white); }
.site-nav .nav-links .nav-cta {
	background: transparent;
	color: var(--gold-hover);
	border: 1px solid rgba(125,101,65,.4);
	padding: 8px 18px;
	font-weight: 500;
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.site-nav .nav-links .nav-cta:hover { background: rgba(125,101,65,.1); border-color: var(--gold-hover); color: var(--gold-hover); }
.nav-toggle { display: none; background: none; border: 0; padding: 12px; color: var(--white); cursor: pointer; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; transition: transform .2s; }
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -7px; } .nav-toggle__bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
	background: var(--ink);
	min-height: 88vh;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	position: relative;
	overflow: hidden;
}
.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.022) 1px, transparent 0);
	background-size: 28px 28px;
	pointer-events: none;
	z-index: 0;
}
.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(135deg, rgba(125,101,65,.09) 0%, transparent 60%),
		radial-gradient(ellipse at 80% 50%, rgba(255,255,255,.025) 0%, transparent 60%);
	pointer-events: none;
}
.hero-content { padding: 80px 48px 80px 80px; position: relative; z-index: 1; }
.hero-eyebrow {
	font-family: 'Inter', sans-serif;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--gold-hover);
	margin-bottom: 24px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gold); opacity: .7; }
.hero-headline {
	font-family: 'Cormorant Garamond', serif;
	font-size: clamp(48px, 5.5vw, 76px);
	font-weight: 700;
	line-height: 1.0;
	color: var(--white);
	letter-spacing: -.01em;
	margin-bottom: 28px;
}
.hero-headline em { font-style: italic; font-weight: 700; color: var(--gold-lt); }
.hero-sub { font-size: 17px; line-height: 1.75; color: rgba(255,255,255,.65); max-width: 480px; margin-bottom: 40px; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.btn-primary {
	background: var(--gold);
	color: var(--white);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: 16px 32px;
	text-decoration: none;
	display: inline-block;
	transition: background .15s;
	border: 0;
	cursor: pointer;
	font-family: 'Inter', sans-serif;
	line-height: 1.6;
}
.btn-primary:hover, .btn-primary:focus-visible { background: var(--gold-button-hover); }
/* AA: two-tone focus ring remains visible on both light and dark sections. */
.btn-primary:focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 3px var(--white); }
.btn-ghost {
	color: var(--dim-2);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: color .15s;
}
.btn-ghost:hover { color: var(--white); }
.btn-ghost::after { content: '→'; }

.hero-right {
	position: relative;
	align-self: stretch;
	background: rgba(255,255,255,.03);
	border-left: 1px solid rgba(255,255,255,.08);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 60px 60px 60px 52px;
	z-index: 1;
}
.hero-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.06);
	margin-bottom: 40px;
}
.hero-stat { padding: 28px 24px; background: var(--ink); }
.hero-stat-num { font-family: 'Cormorant Garamond', serif; font-size: 44px; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 6px; }
.hero-stat-num span { color: var(--gold); }
.hero-stat-label { font-size: 11px; color: var(--dim); /* AA: mockup .4 */ letter-spacing: .08em; text-transform: uppercase; font-family: 'IBM Plex Mono', monospace; }
.hero-media-bar { display: flex; flex-direction: column; gap: 12px; }
.hero-media-label { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); /* AA: mockup .3 */ margin-bottom: 4px; }
.hero-media-logos { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; list-style: none; }
.media-logo { font-family: 'Cormorant Garamond', serif; font-size: 13px; font-weight: 700; color: var(--dim); /* AA: mockup .35 */ letter-spacing: .02em; white-space: nowrap; }
.hero-availability {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	color: var(--dim); /* AA: mockup .35 */
	font-family: 'IBM Plex Mono', monospace;
	letter-spacing: .06em;
	margin-top: 28px;
}
.pulse { width: 7px; height: 7px; background: #4ade80; border-radius: 50%; flex-shrink: 0; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

/* ── SECTION COMMONS ── */
.section { padding: 96px 80px; }
.section-eyebrow {
	font-family: 'Inter', sans-serif;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.section-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold); opacity: .7; }
.section-title {
	font-family: 'Cormorant Garamond', serif;
	font-size: clamp(34px, 3.8vw, 52px);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -.01em;
	margin-bottom: 16px;
}
.section-sub { font-size: 16px; line-height: 1.75; color: var(--mid); max-width: 560px; }
.section-header { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-bottom: 56px; gap: 24px; }
.view-all {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--gold);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
	padding-bottom: 4px;
	border-bottom: 1px solid var(--gold);
}
.view-all::after { content: '→'; }

/* ── SERVICES ── */
.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--rule); border-bottom: none; }
.service-card {
	border-right: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
	padding: 32px 28px;
	text-decoration: none;
	color: inherit;
	transition: background .12s;
	position: relative;
	background: var(--white);
	display: block;
}
.service-card:nth-child(4n) { border-right: none; }
.service-card:hover, .service-card:focus-visible { background: #e8e3da; }
.service-card:hover .service-arrow, .service-card:focus-visible .service-arrow { opacity: 1; transform: translateX(0); }
.service-num { font-family: 'IBM Plex Mono', monospace; font-size: 10px; color: var(--gold); letter-spacing: .12em; margin-bottom: 16px; }
.service-title { font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 700; color: var(--ink); line-height: 1.2; margin-bottom: 10px; }
.service-desc { font-size: 13px; line-height: 1.65; color: var(--mid); }
.service-arrow { position: absolute; bottom: 24px; right: 24px; font-size: 16px; color: var(--gold); opacity: 0; transform: translateX(-4px); transition: all .12s; }

/* ── CREDIBILITY BAR ── */
.cred-bar { background: var(--ink); padding: 40px 80px; }
.cred-bar-inner { display: flex; align-items: center; gap: 48px; }
.cred-bar-label {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 9.5px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--dim); /* AA: mockup .3 */
	white-space: nowrap;
	flex-shrink: 0;
	padding-right: 48px;
	border-right: 1px solid rgba(255,255,255,.1);
}
.cred-logos { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; list-style: none; }
.cred-logo { font-family: 'Cormorant Garamond', serif; font-size: 14px; font-weight: 700; color: var(--dim); /* AA: mockup .3 */ letter-spacing: .02em; transition: color .15s; }
.cred-logo:hover { color: rgba(255,255,255,.8); }

/* ── CASES ── */
.cases { background: var(--paper); }
.cases-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.cases-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case-card { background: var(--white); padding: 36px 32px; text-decoration: none; color: inherit; transition: background .12s; display: flex; flex-direction: column; }
a.case-card:hover, a.case-card:focus-visible { background: #f0ece5; }
.case-tag {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 9.5px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 16px;
	padding: 4px 8px;
	border: 1px solid rgba(125,101,65,.25);
	display: inline-block;
	background: rgba(125,101,65,.07);
	align-self: flex-start;
}
.case-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 700; color: var(--ink); line-height: 1.2; margin-bottom: 12px; }
.case-desc { font-size: 13.5px; line-height: 1.7; color: var(--mid); flex: 1; margin-bottom: 20px; }
.case-link { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 6px; margin-top: auto; }
.case-link::after { content: '→'; }
.case-outcome { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); border-top: 1px solid var(--rule); padding-top: 14px; margin-top: auto; }

/* ── BRIAN ── */
.brian { background: var(--white); display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; min-height: 560px; }
.brian-image { background: var(--ink); position: relative; overflow: hidden; min-height: 480px; }
.brian-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brian-image-placeholder {
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, #222019 0%, #1d1a16 100%);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	padding: 40px;
}
.brian-image > img + .brian-image-placeholder { background: linear-gradient(0deg, rgba(29,26,22,.85) 0%, transparent 55%); }
.brian-img-caption { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); /* AA: mockup .4 */ margin-bottom: 8px; position: relative; }
.brian-img-name { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 600; color: var(--white); line-height: 1.1; position: relative; }
.brian-img-name span { display: block; font-size: 14px; font-weight: 400; color: var(--gold-lt); font-style: italic; margin-top: 4px; }
.brian-content { padding: 72px 64px; display: flex; flex-direction: column; justify-content: center; }
.brian-content .section-title { margin-bottom: 20px; }
.brian-bio { font-size: 15px; line-height: 1.8; color: var(--mid); margin-bottom: 28px; }
.brian-media { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; list-style: none; }
.brian-media-tag { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .1em; padding: 5px 10px; border: 1px solid var(--rule); color: var(--mid); }

/* ── INSIGHTS ── */
.insights { background: var(--paper); }
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.insight-card { background: var(--white); padding: 32px 28px; text-decoration: none; color: inherit; transition: box-shadow .12s; border: 1px solid var(--rule); display: flex; flex-direction: column; }
.insight-card:hover, .insight-card:focus-visible { box-shadow: 0 8px 32px rgba(0,0,0,.08); }
.insight-card:focus-visible { box-shadow: 0 0 0 3px var(--white), 0 8px 32px rgba(0,0,0,.08); }
.insight-type { font-family: 'IBM Plex Mono', monospace; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.insight-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; line-height: 1.25; margin-bottom: 12px; flex: 1; }
.insight-excerpt { font-size: 13px; line-height: 1.65; color: var(--mid); margin-bottom: 20px; }
.insight-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 16px;
	border-top: 1px solid var(--rule);
	font-size: 11px;
	color: rgba(92,87,81,.85); /* AA: mockup .5 */
	font-family: 'IBM Plex Mono', monospace;
}

/* ── CTA BAND ── */
.cta-band { background: var(--ink); padding: 80px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px; border-top: 1px solid rgba(255,255,255,.06); }
.cta-band-headline { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px, 3.5vw, 46px); font-weight: 600; color: var(--white); line-height: 1.1; letter-spacing: -.01em; }
.cta-band-headline em { font-style: italic; color: var(--gold-lt); }
.cta-band-sub { font-size: 15px; color: rgba(255,255,255,.5); margin-top: 10px; line-height: 1.6; }
.cta-band-actions { display: flex; gap: 16px; flex-direction: column; align-items: flex-start; }
.cta-band .availability { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); /* AA: mockup .3 */ display: flex; align-items: center; gap: 8px; }

/* ── FOOTER ── */
.site-footer {
	background: #13110e;
	padding: 48px 80px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr auto;
	gap: 48px;
	align-items: start;
	border-top: 1px solid rgba(255,255,255,.05);
}
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.footer-tagline { font-size: 12px; color: var(--dim); /* AA: mockup .3 */ line-height: 1.6; margin-bottom: 16px; }
.footer-address { font-family: 'IBM Plex Mono', monospace; font-size: 10px; color: var(--dim); /* AA: mockup .25 */ line-height: 1.8; letter-spacing: .04em; font-style: normal; }
.footer-col-title { font-family: 'IBM Plex Mono', monospace; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); /* AA: mockup .25 */ margin-bottom: 16px; font-weight: 400; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.55); /* AA: mockup .45 */ text-decoration: none; transition: color .12s; }
.footer-links a:hover { color: var(--white); }
.footer-social { display: flex; gap: 16px; margin-top: 4px; list-style: none; }
.footer-social a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.55); /* AA: mockup .35 */ text-decoration: none; transition: all .12s; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold-hover); }
.footer-bottom { background: #13110e; padding: 16px 80px; border-top: 1px solid rgba(255,255,255,.04); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-family: 'IBM Plex Mono', monospace; font-size: 10px; color: var(--dim); /* AA: mockup .2 */ letter-spacing: .06em; }
.footer-bottom a:hover { color: var(--white); }

/* ── INNER-PAGE HERO (service / vertical / generic) ── */
.sp-hero { background: var(--ink); padding: 60px 80px 80px; border-bottom: 1px solid rgba(255,255,255,.08); }
.sp-breadcrumb { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); /* AA: mockup .3 */ margin-bottom: 28px; display: block; }
.sp-breadcrumb a { color: rgba(255,255,255,.65); transition: color .12s; }
.sp-breadcrumb > span > span:first-child a { color: var(--dim); }
.sp-breadcrumb a:hover { color: var(--white); }
.sp-breadcrumb .sep { margin: 0 10px; }
.sp-breadcrumb .breadcrumb_last, .sp-breadcrumb strong { color: rgba(255,255,255,.8); font-weight: 400; }
.sp-breadcrumb .sep { color: rgba(255,255,255,.65); }
.sp-eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hover); margin-bottom: 20px; }
.sp-headline {
	font-family: 'Cormorant Garamond', serif;
	font-size: clamp(40px, 4.5vw, 64px);
	font-weight: 600;
	line-height: 1.0;
	color: var(--white);
	max-width: 700px;
	letter-spacing: -.01em;
	margin-bottom: 20px;
}
.sp-sub { font-size: 17px; line-height: 1.75; color: rgba(255,255,255,.6); max-width: 560px; margin-bottom: 36px; }
.sp-meta { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 20px; }

.sp-body { display: grid; grid-template-columns: 2fr 1fr; gap: 0; background: var(--white); }
.sp-main { padding: 64px 56px; min-width: 0; }
.sp-sidebar, .bio-sidebar { padding: 64px 40px; border-left: 1px solid var(--rule); background: var(--paper); }
.sp-section-title {
	font-family: 'Cormorant Garamond', serif;
	font-size: 30px;
	font-weight: 700;
	color: var(--ink);
	margin-bottom: 16px;
	margin-top: 40px;
	padding-top: 40px;
	border-top: 1px solid var(--rule);
}
.sp-section-title:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.sp-p, .entry p { font-size: 15px; line-height: 1.85; color: var(--mid); margin-bottom: 16px; }
.sp-list, .entry ul { list-style: none; margin-bottom: 16px; }
.sp-list li, .entry ul li { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; color: var(--mid); display: flex; align-items: flex-start; gap: 12px; line-height: 1.6; }
.sp-list li::before, .entry ul li::before { content: '—'; color: var(--gold); opacity: .7; font-size: 13px; flex-shrink: 0; margin-top: 2px; }
.entry h2 { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 700; margin: 40px 0 16px; padding-top: 40px; border-top: 1px solid var(--rule); }
.entry > h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.entry h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 700; margin: 28px 0 10px; line-height: 1.25; }
.entry ol { margin: 0 0 16px 22px; font-size: 14.5px; color: var(--mid); line-height: 1.7; }
.entry a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.entry blockquote { margin: 24px 0; padding-left: 20px; border-left: 2px solid var(--gold); font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 22px; line-height: 1.4; color: var(--ink); }
.entry img { margin: 24px 0; }
.entry .wp-block-image, .entry figure { margin: 24px 0; }
/* Legacy YouTube oEmbeds have fixed HTML dimensions; preserve their ratio on phones. */
.entry iframe[src^="https://www.youtube.com/embed/"] { max-width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* FAQ (native <details>; same look as mockup's JS accordion) */
.sp-faq { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--rule); }
.sp-faq .sp-section-title { margin-top: 0; padding-top: 0; border-top: none; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
	font-family: 'Cormorant Garamond', serif;
	font-size: 18px;
	font-weight: 600;
	padding: 20px 0;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; color: var(--gold); font-size: 20px; font-family: 'Inter', sans-serif; font-weight: 300; flex-shrink: 0; }
.faq-item[open] > .faq-q::after { content: '−'; }
.faq-a { font-size: 14px; line-height: 1.8; color: var(--mid); padding-bottom: 20px; }
.faq-a p { margin-bottom: 10px; }

/* Sidebar widgets */
.sidebar-widget { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--rule); }
.sidebar-widget:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sidebar-widget-title { font-family: 'IBM Plex Mono', monospace; font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--mid); margin-bottom: 16px; font-weight: 400; }
.sidebar-widget p { font-size: 13px; line-height: 1.65; color: var(--mid); margin-bottom: 12px; }
.sidebar-widget address { font-size: 13px; color: var(--mid); line-height: 1.7; font-style: normal; }
.sidebar-widget p strong { color: var(--ink); }
.sidebar-link { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.sidebar-cta { background: var(--ink); padding: 28px 24px; margin-bottom: 24px; }
.sidebar-cta p { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; color: var(--white); line-height: 1.25; margin-bottom: 16px; }
.sidebar-cta .btn-primary { width: 100%; text-align: center; display: block; padding: 14px 24px; }
.related-service { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); font-size: 13.5px; font-weight: 500; transition: color .12s; }
.related-service:hover { color: var(--gold); }
.related-service::after { content: '→'; color: var(--gold); font-size: 12px; }

/* ── BIO PAGE ── */
.bio-hero { background: var(--ink); padding: 72px 80px; display: grid; grid-template-columns: auto 1fr; gap: 60px; align-items: end; border-bottom: 1px solid rgba(255,255,255,.08); }
.bio-portrait { width: 220px; height: 280px; background: linear-gradient(160deg, #222019 0%, #1d1a16 100%); border: 1px solid rgba(255,255,255,.1); position: relative; flex-shrink: 0; overflow: hidden; }
.bio-portrait img { width: 100%; height: 100%; object-fit: cover; }
.bio-portrait--empty::after { content: 'Photo'; position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.bio-name { font-family: 'Cormorant Garamond', serif; font-size: clamp(44px, 5vw, 66px); font-weight: 600; color: var(--white); line-height: 1.0; letter-spacing: -.01em; margin-bottom: 10px; }
.bio-title { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hover); margin-bottom: 20px; }
.bio-lead { font-size: 17px; line-height: 1.75; color: rgba(255,255,255,.6); max-width: 560px; }
.bio-body { display: grid; grid-template-columns: 2fr 1fr; background: var(--white); }
.bio-main { padding: 64px 56px; min-width: 0; }
.bio-section-title { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 700; color: var(--ink); margin-bottom: 16px; margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--rule); }
.bio-section-title:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.bio-main .entry p { margin-bottom: 20px; }
.media-list { list-style: none; }
.media-item { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.media-outlet { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); padding: 3px 8px; border: 1px solid rgba(125,101,65,.3); white-space: nowrap; margin-top: 2px; }
.media-title { font-size: 13.5px; color: var(--ink); font-weight: 500; line-height: 1.5; }
.media-title a { color: inherit; text-decoration: none; }
.media-title a:hover { color: var(--gold); }
.expertise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; list-style: none; }
.expertise-item { padding: 10px 12px; background: var(--paper); font-size: 12.5px; color: var(--mid); line-height: 1.4; border: 1px solid var(--rule); }

/* ── CONTACT FORM (CF7 / Gravity) ── */
.contact-form { margin-top: 32px; }
.contact-form label { display: block; font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 14px; }
.contact-form input:not([type="submit"]):not([type="checkbox"]), .contact-form textarea, .contact-form select { width: 100%; margin-top: 6px; padding: 13px 14px; font: 15px 'Inter', sans-serif; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); border-radius: 0; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--gold-hover); outline-offset: 0; border-color: var(--gold-hover); }
.contact-form input[type="submit"], .contact-form button[type="submit"] { background: var(--gold); color: var(--white); border: 0; padding: 16px 32px; font: 600 12px 'Inter', sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.contact-form input[type="submit"]:hover, .contact-form button[type="submit"]:hover,
.contact-form input[type="submit"]:focus-visible, .contact-form button[type="submit"]:focus-visible { background: var(--gold-button-hover); }
.contact-form input[type="submit"]:focus-visible, .contact-form button[type="submit"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 3px var(--white); }
.notice-box { margin-top: 32px; padding: 20px 24px; border-left: 2px solid var(--gold); background: var(--paper); font-size: 13px; line-height: 1.7; color: var(--mid); }
.notice-box .sidebar-widget-title { margin-bottom: 8px; }
.notice-box p:last-child { margin: 0; }

/* ── Misc ── */
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pagination .page-numbers { padding: 8px 16px; border: 1px solid var(--rule); background: var(--white); color: var(--ink); font-size: 13px; }
.pagination a:hover, .pagination a:focus-visible { border-color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.pagination a:focus-visible { outline-color: var(--gold); }
.pagination .current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.article-media { margin: 0 0 32px; }
.article-media img { width: 100%; }
.hero-actions .btn-primary, .sp-hero .btn-primary { margin-top: 0; }

/* ── RESPONSIVE (mockup breakpoint 900px) ── */
@media (max-width: 900px) {
	.site-nav { padding: 0 24px; }
	.nav-logo-mark svg { width: 144px; height: 30px; }
	.nav-toggle { display: block; }
	.site-nav .nav-links {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: var(--ink);
		padding: 8px 24px 24px;
		border-bottom: 1px solid rgba(255,255,255,.08);
	}
	.site-nav .nav-links.is-open { display: flex; }
	.site-nav .nav-links li > a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 15px; }
	.site-nav .nav-links li:last-child { margin-top: 16px; }
	.site-nav .nav-links .nav-cta { text-align: center; border-bottom: 1px solid rgba(125,101,65,.4); }
	.hero { grid-template-columns: 1fr; }
	.hero-right { display: none; }
	.hero-content { padding: 60px 24px; }
	.section { padding: 64px 24px; }
	.section-header { grid-template-columns: 1fr; }
	.services-grid { grid-template-columns: 1fr 1fr; }
	.service-card:nth-child(4n) { border-right: 1px solid var(--rule); }
	.service-card:nth-child(2n) { border-right: none; }
	.cases-grid { grid-template-columns: 1fr; }
	.brian { grid-template-columns: 1fr; }
	.brian-image { display: none; }
	.brian-content { padding: 48px 24px; }
	.insights-grid { grid-template-columns: 1fr; }
	.cta-band { grid-template-columns: 1fr; padding: 48px 24px; }
	.site-footer { grid-template-columns: 1fr 1fr; padding: 48px 24px; }
	.footer-bottom { padding: 16px 24px; }
	.cred-bar { padding: 32px 24px; }
	.cred-bar-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
	.cred-bar-label { border-right: none; padding-right: 0; white-space: normal; }
	.sp-body { grid-template-columns: 1fr; }
	.sp-main { padding: 40px 24px; }
	.sp-sidebar, .bio-sidebar { padding: 40px 24px; border-left: none; border-top: 1px solid var(--rule); }
	.sp-hero { padding: 48px 24px; }
	.bio-hero { grid-template-columns: 1fr; padding: 48px 24px; gap: 32px; }
	.bio-portrait { display: none; }
	.bio-body { grid-template-columns: 1fr; }
	.bio-main { padding: 40px 24px; }
	.expertise-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.services-grid { grid-template-columns: 1fr; }
	.service-card, .service-card:nth-child(n) { border-right: none; }
}

/* Optional analytics: equal-weight choices, native buttons and existing focus treatment. */
#dsl-analytics[hidden], .analytics-panel[hidden] { display: none; }
.analytics-manage { background: none; border: 0; color: var(--dim); font: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }
.analytics-panel { position: fixed; z-index: 250; bottom: 16px; right: 16px; width: min(440px, calc(100% - 32px)); max-height: 70vh; overflow-y: auto; padding: 24px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); box-shadow: 0 4px 24px rgba(0,0,0,.15); }
.analytics-panel h2 { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 600; margin-bottom: 12px; }
.analytics-panel p { font-size: 13px; line-height: 1.6; margin-bottom: 16px; }
.analytics-panel a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.analytics-panel p:empty { display: none; }
.analytics-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.analytics-actions .btn-primary { flex: 1 1 150px; min-height: 44px; padding: 12px; text-align: center; cursor: pointer; }
.analytics-actions button:disabled { opacity: .65; cursor: not-allowed; }
