/* ==========================================================================
   BakerHostetler — single-page demo stylesheet
   Hand-written, dependency-free, responsive.
   ========================================================================== */

:root {
	--navy-deep: #08121f;
	--navy: #0e1c2f;
	--navy-soft: #16273d;
	--gold: #c2a35a;
	--gold-bright: #d9bc74;
	--ink: #16202e;
	--muted: #5c6878;
	--line: #e3e6eb;
	--bg-alt: #f5f6f8;
	--white: #ffffff;

	--font-serif: Georgia, "Times New Roman", "Songti SC", serif;
	--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--wrap: 1200px;
	--radius: 4px;
	--shadow: 0 18px 40px rgba(8, 18, 31, 0.10);
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
	font-family: var(--font-serif);
	font-weight: 400;
	line-height: 1.2;
	color: var(--navy);
	margin: 0 0 0.6em;
}

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

.eyebrow {
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--gold);
	margin: 0 0 14px;
}

/* ============================ HEADER ============================ */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100;
	transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.topbar {
	background: var(--navy-deep);
	color: rgba(255, 255, 255, 0.7);
	font-size: 12.5px;
	letter-spacing: 0.04em;
	transition: height 0.35s var(--ease), opacity 0.25s var(--ease);
	height: 38px;
	overflow: hidden;
}

.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 38px;
}

.topbar-tag { color: var(--gold-bright); letter-spacing: 0.14em; text-transform: uppercase; font-size: 11.5px; }

.topbar-links a { margin-left: 22px; transition: color 0.2s; }
.topbar-links a:hover { color: var(--white); }
.topbar-cta { color: var(--gold-bright); }

.nav-bar {
	background: rgba(14, 28, 47, 0.86);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
}

.brand { display: flex; align-items: center; gap: 14px; }

.brand-solo .brand-text strong { font-size: 22px; letter-spacing: 0.01em; }
.brand-solo .brand-text em { letter-spacing: 0.2em; }

.brand-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px; height: 46px;
	border: 1px solid var(--gold);
	color: var(--gold-bright);
	font-family: var(--font-serif);
	font-size: 17px;
	letter-spacing: 0.02em;
	border-radius: 2px;
	flex: none;
}
.brand-mark span { font-size: 12px; margin: 0 1px; }
.brand-mark.small { width: 40px; height: 40px; font-size: 15px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong {
	font-family: var(--font-serif);
	font-size: 19px;
	font-weight: 400;
	color: var(--white);
	letter-spacing: 0.02em;
}
.brand-text em {
	font-style: normal;
	font-size: 10.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

.main-nav { display: flex; align-items: center; gap: 6px; }

.main-nav a {
	color: rgba(255, 255, 255, 0.82);
	font-size: 14px;
	letter-spacing: 0.03em;
	padding: 10px 14px;
	position: relative;
	transition: color 0.2s;
}
.main-nav a::after {
	content: "";
	position: absolute;
	left: 14px; right: 14px; bottom: 4px;
	height: 1px;
	background: var(--gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ease);
}
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { transform: scaleX(1); }

.main-nav .nav-cta {
	border: 1px solid var(--gold);
	color: var(--gold-bright);
	border-radius: 2px;
	padding: 9px 20px;
	margin-left: 10px;
}
.main-nav .nav-cta::after { display: none; }
.main-nav .nav-cta:hover { background: var(--gold); color: var(--navy-deep); }

/* scrolled state */
.site-header.scrolled .topbar { height: 0; opacity: 0; }
.site-header.scrolled .nav-bar { background: rgba(8, 18, 31, 0.97); }

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px; height: 44px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}
.nav-toggle span {
	display: block;
	height: 2px;
	width: 24px;
	margin: 0 auto;
	background: var(--white);
	transition: transform 0.3s var(--ease), opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================ HERO ============================ */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	color: var(--white);
}

.hero-bg, .cta-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.04);
}
.hero-bg {
	background-image: url("../img/hero.jpg");
	animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, rgba(8,18,31,0.94) 0%, rgba(8,18,31,0.80) 45%, rgba(8,18,31,0.42) 100%);
}

.hero-inner { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 80px; }

.hero h1 {
	font-size: clamp(38px, 6vw, 74px);
	color: var(--white);
	margin: 0 0 22px;
	letter-spacing: -0.01em;
	max-width: 16ch;
}

.hero-sub {
	font-size: clamp(16px, 1.6vw, 19px);
	color: rgba(255, 255, 255, 0.82);
	max-width: 60ch;
	margin: 0 0 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 30px;
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-weight: 600;
	border-radius: 2px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-bright); }

.btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-soft); }

.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.scroll-cue {
	position: absolute;
	left: 50%; bottom: 30px;
	transform: translateX(-50%);
	width: 24px; height: 40px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 12px;
	z-index: 2;
}
.scroll-cue span {
	position: absolute;
	left: 50%; top: 8px;
	width: 3px; height: 7px;
	margin-left: -1.5px;
	background: var(--gold-bright);
	border-radius: 2px;
	animation: cue 1.8s infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ============================ STATS ============================ */
.stats { background: var(--navy); color: var(--white); }

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}
.stat {
	padding: 44px 24px;
	text-align: center;
	border-left: 1px solid rgba(255, 255, 255, 0.09);
}
.stat:first-child { border-left: none; }
.stat-num {
	display: block;
	font-family: var(--font-serif);
	font-size: clamp(30px, 3.4vw, 46px);
	color: var(--gold-bright);
	line-height: 1;
}
.stat-label {
	display: block;
	margin-top: 10px;
	font-size: 12.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
}

/* ============================ SECTIONS ============================ */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.section-lede { color: var(--muted); font-size: 17px; margin: 0; }

/* ABOUT */
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: 70px;
	align-items: center;
}

.about-media { position: relative; }
.about-media img {
	width: 100%;
	height: 520px;
	object-fit: cover;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.about-badge {
	position: absolute;
	right: -22px; bottom: -22px;
	background: var(--navy);
	color: var(--white);
	padding: 22px 26px;
	text-align: center;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.about-badge span { display: block; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.about-badge strong { font-family: var(--font-serif); font-size: 30px; color: var(--gold-bright); font-weight: 400; }

.about-copy h2 { font-size: clamp(27px, 3.2vw, 38px); }
.about-copy p { color: var(--muted); }

.pillars { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 22px; }
.pillars li { padding-left: 20px; border-left: 2px solid var(--gold); }
.pillars h4 { margin: 0 0 4px; font-size: 18px; }
.pillars p { margin: 0; font-size: 14.5px; }

/* CARD GRIDS */
.card-grid { display: grid; gap: 26px; }

.practices { grid-template-columns: repeat(3, 1fr); }
.practice-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 38px 32px;
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.practice-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow);
	border-color: transparent;
}
.practice-icon {
	width: 52px; height: 52px;
	display: flex; align-items: center; justify-content: center;
	border: 1px solid var(--gold);
	color: var(--gold);
	border-radius: 50%;
	margin-bottom: 22px;
}
.practice-icon svg { width: 25px; height: 25px; }
.practice-card h3 { font-size: 21px; margin-bottom: 10px; }
.practice-card p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.card-link {
	display: inline-block;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--navy);
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), color 0.2s;
}
.practice-card:hover .card-link { opacity: 1; transform: none; }
.card-link:hover { color: var(--gold); }

/* ENTERPRISE ISSUES */
.issues { background: var(--navy); color: var(--white); padding: 100px 0; }
.issues .section-head.light { margin-bottom: 54px; }
.issues-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.1);
}
.issue {
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding: 30px 28px;
	background: var(--navy);
	transition: background 0.3s var(--ease);
}
.issue span {
	font-family: var(--font-serif);
	font-size: 15px;
	color: var(--gold);
	flex: none;
}
.issue h3 {
	font-size: 19px;
	color: var(--white);
	margin: 0;
	transition: color 0.25s;
}
.issue:hover { background: var(--navy-soft); }
.issue:hover h3 { color: var(--gold-bright); }

/* RESOURCE CENTERS */
.resources { grid-template-columns: repeat(3, 1fr); }
.resource {
	display: flex;
	flex-direction: column;
	padding: 38px 34px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.resource:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.resource h3 { font-size: 21px; margin-bottom: 12px; }
.resource p { margin: 0 0 24px; color: var(--muted); font-size: 15px; }
.resource-link {
	margin-top: auto;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--navy);
	transition: color 0.2s;
}
.resource:hover .resource-link { color: var(--gold); }

/* RESULTS BAND */
.results { position: relative; overflow: hidden; color: var(--white); }
.results-bg { position: absolute; inset: 0; background: url("../img/band-results.jpg") center/cover; }
.results-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(8,18,31,0.94) 0%, rgba(8,18,31,0.88) 100%);
}
.results-inner { position: relative; z-index: 2; padding: 100px 24px; }
.section-head.light h2 { color: var(--white); }
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.result {
	margin: 0;
	padding: 34px 30px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-top: 2px solid var(--gold);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.03);
}
.result strong {
	display: block;
	font-family: var(--font-serif);
	font-size: clamp(30px, 3.4vw, 44px);
	color: var(--gold-bright);
	line-height: 1;
	margin-bottom: 16px;
}
.result p { margin: 0; color: rgba(255, 255, 255, 0.76); font-size: 15.5px; }

/* RECOGNITION */
.recognition { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0; }
.recognition-label {
	text-align: center;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 30px;
}
.recognition-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.recognition-item { text-align: center; }
.recognition-item strong {
	display: block;
	font-family: var(--font-serif);
	font-size: 19px;
	color: var(--navy);
	margin-bottom: 4px;
}
.recognition-item span { font-size: 12px; letter-spacing: 0.05em; color: var(--muted); }

/* OFFICES */
.office-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}
.office {
	display: block;
	padding: 30px 30px 32px;
	background: var(--white);
	transition: background 0.3s var(--ease);
}
.office h3 {
	font-size: 19px;
	margin: 0 0 12px;
	transition: color 0.25s;
}
.office p {
	margin: 0 0 14px;
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--muted);
}
.office span {
	font-size: 13px;
	letter-spacing: 0.04em;
	color: var(--navy);
	font-weight: 600;
}
.office:hover { background: var(--bg-alt); }
.office:hover h3 { color: var(--gold); }

/* PEOPLE */
.people { grid-template-columns: repeat(6, 1fr); gap: 22px; }
.person { text-align: center; }
.person-photo {
	overflow: hidden;
	border-radius: var(--radius);
	background: #dfe3e8;
	margin-bottom: 14px;
}
.person-photo img {
	width: 100%;
	height: auto;
	aspect-ratio: 161 / 179;
	object-fit: cover;
	object-position: top center;
	filter: grayscale(100%);
	transition: filter 0.45s var(--ease), transform 0.6s var(--ease);
}
.person:hover .person-photo img { filter: grayscale(0); transform: scale(1.05); }
.person h3 { font-size: 15.5px; margin: 0 0 3px; line-height: 1.35; }
.person-role { margin: 0; font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.people-more { text-align: center; margin: 52px 0 0; }
.people-more a {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--navy);
	border-bottom: 1px solid var(--gold);
	padding-bottom: 4px;
	transition: color 0.2s;
}
.people-more a:hover { color: var(--gold); }

/* INSIGHTS */
.insights { grid-template-columns: repeat(3, 1fr); }
.insight-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.insight-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.insight-media { display: block; overflow: hidden; }
.insight-media img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.6s var(--ease); }
.insight-card:hover .insight-media img { transform: scale(1.06); }
.insight-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.tag {
	align-self: flex-start;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold);
	border: 1px solid rgba(194, 163, 90, 0.5);
	padding: 4px 10px;
	border-radius: 2px;
	margin-bottom: 14px;
}
.insight-body h3 { font-size: 20px; margin-bottom: 10px; }
.insight-body h3 a { transition: color 0.2s; }
.insight-body h3 a:hover { color: var(--gold); }
.insight-body p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.date { margin-top: auto; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #9aa3b0; }

/* CTA BAND */
.cta-band { position: relative; overflow: hidden; color: var(--white); }
.cta-bg { background-image: url("../img/band-cta.jpg"); }
.cta-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(8,18,31,0.95) 0%, rgba(8,18,31,0.78) 60%, rgba(8,18,31,0.55) 100%);
}
.cta-inner { position: relative; z-index: 2; padding: 110px 24px; max-width: 820px; margin: 0 auto; text-align: center; }
.cta-inner h2 { color: var(--white); font-size: clamp(28px, 3.6vw, 44px); }
.cta-inner > p { color: rgba(255, 255, 255, 0.8); margin-bottom: 32px; }
.cta-inner .hero-actions { justify-content: center; }

/* CONTACT */
.contact-simple { background: var(--white); padding: 100px 0; }
.contact-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.contact-inner h2 { font-size: clamp(28px, 3.6vw, 42px); }
.contact-inner > p { color: var(--muted); font-size: 17px; margin-bottom: 32px; }
.contact-inner .hero-actions { justify-content: center; }

/* FOOTER */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.62); padding-top: 72px; font-size: 14.5px; }
.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 54px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .brand-mark { margin-bottom: 16px; }
.footer-brand p { margin: 0; line-height: 1.7; }
.footer-brand strong { color: var(--white); font-family: var(--font-serif); font-weight: 400; font-size: 17px; }
.footer-addr { margin-top: 16px !important; font-size: 13.5px; color: rgba(255, 255, 255, 0.42); line-height: 1.6 !important; }
.footer-col h5 {
	font-family: var(--font-sans);
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--gold-bright);
	margin-bottom: 18px;
}
.footer-col a { display: block; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding-top: 26px;
	padding-bottom: 40px;
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.45);
}
.footer-bottom p { margin: 0; max-width: 62ch; }

/* ============================ REVEAL ANIM ============================ */
.reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
	.hero-bg { animation: none; }
	.scroll-cue span { animation: none; }
}

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1024px) {
	.practices { grid-template-columns: repeat(2, 1fr); }
	.issues-grid { grid-template-columns: repeat(2, 1fr); }
	.resources { grid-template-columns: repeat(2, 1fr); }
	.office-list { grid-template-columns: repeat(2, 1fr); }
	.people { grid-template-columns: repeat(4, 1fr); }
	.insights { grid-template-columns: repeat(2, 1fr); }
	.recognition-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
	.about-grid { grid-template-columns: 1fr; gap: 54px; }
	.about-media img { height: 400px; }
	.about-badge { right: 20px; bottom: -22px; }
}

@media (max-width: 820px) {
	.nav-toggle { display: flex; }
	.main-nav {
		position: fixed;
		top: 0; right: 0;
		height: 100vh;
		width: min(320px, 82vw);
		background: var(--navy-deep);
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		padding: 100px 26px 26px;
		gap: 4px;
		transform: translateX(100%);
		transition: transform 0.4s var(--ease);
		border-left: 1px solid rgba(255, 255, 255, 0.1);
	}
	.main-nav.open { transform: translateX(0); }
	.main-nav a { padding: 15px 8px; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
	.main-nav a::after { display: none; }
	.main-nav .nav-cta { border: none; padding: 15px 8px; margin: 0; text-align: left; }

	.topbar-tag { display: none; }
	.topbar-inner { justify-content: flex-end; }

	.section { padding: 74px 0; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(3) { border-left: none; }
	.stat { border-top: 1px solid rgba(255,255,255,0.09); }
	.stat:nth-child(-n+2) { border-top: none; }

	.office-list { grid-template-columns: 1fr; }
	.issues-grid { grid-template-columns: 1fr; }
	.resources { grid-template-columns: 1fr; }
	.people { grid-template-columns: repeat(3, 1fr); }
	.insights { grid-template-columns: 1fr; }
	.practices { grid-template-columns: 1fr; }
	.results-grid { grid-template-columns: 1fr; gap: 20px; }

	.footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
	.footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
	.brand-text em { display: none; }
	.brand-solo .brand-text strong { font-size: 19px; }
	.people { grid-template-columns: repeat(2, 1fr); }
	.recognition-grid { grid-template-columns: 1fr; }
	.hero { min-height: 92vh; }
	.cta-inner { padding: 80px 24px; }
}

/* ==========================================================================
   SUBPAGES — shared building blocks
   ========================================================================== */

/* page banner */
.page-hero {
	position: relative;
	background: var(--navy);
	color: var(--white);
	padding: 192px 0 84px;
	overflow: hidden;
}
.page-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(880px 400px at 88% -12%, rgba(194, 163, 90, 0.20), transparent 62%),
		linear-gradient(180deg, rgba(8, 18, 31, 0.15) 0%, rgba(8, 18, 31, 0.62) 100%);
	pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 {
	font-size: clamp(30px, 4.2vw, 52px);
	color: var(--white);
	margin: 0 0 16px;
	max-width: 24ch;
}
.page-lede { color: rgba(255, 255, 255, 0.78); font-size: 17px; max-width: 64ch; margin: 0; }
.page-hero .eyebrow { color: var(--gold-bright); }

/* page banner with photographic background */
.page-hero.has-bg { padding: 264px 0 100px; }
.page-hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.03);
}
.page-hero.has-bg::after {
	background: linear-gradient(180deg, rgba(8, 18, 31, 0.86) 0%, rgba(8, 18, 31, 0.72) 42%, rgba(8, 18, 31, 0.95) 100%);
}

.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	font-size: 11.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
	margin: 0 0 20px;
}
.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold-bright); }
.breadcrumb i { color: rgba(255, 255, 255, 0.28); font-style: normal; }
.breadcrumb b { color: rgba(255, 255, 255, 0.86); font-weight: 600; }

.section-tight { padding: 76px 0; }
.section-head.left { text-align: left; margin: 0 0 44px; max-width: 720px; }

/* filter / toolbar */
.filter-bar { background: var(--white); border-bottom: 1px solid var(--line); }
.filter-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 16px 0; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
	font: inherit;
	font-size: 13px;
	letter-spacing: 0.03em;
	padding: 8px 16px;
	border: 1px solid var(--line);
	background: var(--white);
	color: var(--muted);
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.22s var(--ease), color 0.22s, border-color 0.22s;
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.filter-select, .search-field {
	font: inherit;
	font-size: 13.5px;
	padding: 9px 15px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	color: var(--ink);
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.search-field { flex: 1; min-width: 200px; max-width: 330px; }
.filter-select:focus, .search-field:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194, 163, 90, 0.16); }
.filter-spacer { margin-left: auto; }
.result-count { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.person[hidden], .insight-card[hidden], .office-row[hidden] { display: none; }

.empty-state { text-align: center; padding: 64px 0; color: var(--muted); }
.empty-state[hidden] { display: none; }

/* ==========================================================================
   SUBPAGE — Professionals
   ========================================================================== */
.people-dir { grid-template-columns: repeat(5, 1fr); gap: 34px 24px; }
a.person { display: block; color: inherit; }
.person-office {
	margin: 5px 0 0;
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #9aa3b0;
}

/* ==========================================================================
   SUBPAGE — Professional bio
   ========================================================================== */
.bio-grid { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: start; }
.bio-aside { position: sticky; top: 128px; }
.bio-photo { border-radius: var(--radius); overflow: hidden; background: #dfe3e8; box-shadow: var(--shadow); }
.bio-photo img { width: 100%; height: auto; aspect-ratio: 161 / 179; object-fit: cover; object-position: top center; }
.bio-contact { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 20px; }
.bio-contact div { display: flex; gap: 12px; padding: 6px 0; font-size: 14.5px; }
.bio-contact b {
	flex: none;
	min-width: 76px;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--navy);
	padding-top: 3px;
}
.bio-contact span { color: var(--muted); }
.bio-contact a { color: var(--navy); border-bottom: 1px solid var(--gold); }

.bio-main h1 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 10px; }
.bio-title { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }
.bio-sub { color: var(--muted); font-size: 14.5px; margin: 0 0 30px; }
.bio-section { margin-top: 44px; }
.bio-section h2 { font-size: 21px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.bio-section p { margin: 0 0 18px; color: #2a3746; }
.bio-section ul { margin: 0; padding-left: 20px; }
.bio-section li { margin-bottom: 9px; color: #2a3746; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.chips li, .chips a { font-size: 13px; padding: 7px 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); transition: border-color 0.2s, color 0.2s; }
.chips a:hover { border-color: var(--gold); color: var(--navy); }

/* ==========================================================================
   SUBPAGE — Practice groups
   ========================================================================== */
.practice-card .practice-count {
	display: block;
	margin-top: 18px;
	font-size: 11.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #9aa3b0;
}
.service-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 44px 0; }
.service-facts div { background: var(--white); padding: 26px 24px; }
.service-facts strong { display: block; font-family: var(--font-serif); font-size: 30px; color: var(--navy); line-height: 1; margin-bottom: 8px; }
.service-facts span { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ==========================================================================
   SUBPAGE — Insights & articles
   ========================================================================== */
.prose { max-width: 74ch; font-size: 17px; color: #2a3746; }
.prose h2 { font-size: 26px; margin: 46px 0 14px; }
.prose h3 { font-size: 20px; margin: 34px 0 12px; }
.prose p { margin: 0 0 20px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 22px; }
.prose li { margin-bottom: 9px; }
.prose blockquote {
	margin: 32px 0;
	padding: 4px 0 4px 24px;
	border-left: 3px solid var(--gold);
	font-family: var(--font-serif);
	font-size: 20px;
	line-height: 1.5;
	color: var(--navy);
}

.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: 64px; align-items: start; }
.article-aside { position: sticky; top: 128px; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.article-aside h4 { font-size: 15px; margin: 0 0 16px; }
.article-aside .chips { gap: 8px; }
.article-head { max-width: 840px; }
.article-head h1 { font-size: clamp(30px, 4vw, 46px); }
.article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	margin: 20px 0 0;
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}
.article-meta .tag { margin-bottom: 0; }
.article-hero { border-radius: var(--radius); overflow: hidden; margin: 42px 0 0; box-shadow: var(--shadow); }
.article-hero img { width: 100%; height: 420px; object-fit: cover; }

/* ==========================================================================
   SUBPAGE — Offices
   ========================================================================== */
.office-row {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 1px;
	background: var(--line);
	border-bottom: 1px solid var(--line);
	transition: background 0.3s var(--ease);
}
.office-row > * { background: var(--white); padding: 26px 28px; transition: background 0.3s var(--ease); }
.office-row:hover > * { background: var(--bg-alt); }
.office-row h3 { font-size: 19px; margin: 0 0 4px; transition: color 0.25s; }
.office-row:hover h3 { color: var(--gold); }
.office-row p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.office-row .office-tel { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.office-head { background: var(--navy) !important; }
.office-head h3, .office-head p { color: var(--white); }
.office-head p { color: rgba(255, 255, 255, 0.6); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; }

.office-detail { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; }
.office-facts { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px; }
.office-facts h2 { font-size: 18px; margin: 0 0 18px; }
.fact { display: flex; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; }
.fact:first-of-type { border-top: none; }
.fact b {
	flex: none;
	min-width: 76px;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--navy);
	padding-top: 3px;
}
.fact span, .fact a { color: var(--muted); }
.fact a { border-bottom: 1px solid var(--gold); }

/* shared subpage helpers */
.pager {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-top: 52px;
	padding-top: 34px;
	border-top: 1px solid var(--line);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.pager a { color: var(--navy); transition: color 0.2s; }
.pager a:hover { color: var(--gold); }
.pager .pager-next { margin-left: auto; }

/* subpage responsive */
@media (max-width: 1024px) {
	.people-dir { grid-template-columns: repeat(4, 1fr); }
	.bio-grid { grid-template-columns: 260px 1fr; gap: 44px; }
	.article-layout { grid-template-columns: 1fr; gap: 46px; }
	.article-aside { position: static; }
	.office-detail { grid-template-columns: 1fr; gap: 40px; }
	.office-row { grid-template-columns: 1fr 1fr; }
	.office-row > .office-tel { grid-column: 1 / -1; }
	.service-facts { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
	.page-hero { padding: 158px 0 62px; }
	.page-hero.has-bg { padding: 196px 0 72px; }
	.people-dir { grid-template-columns: repeat(3, 1fr); }
	.bio-grid { grid-template-columns: 1fr; gap: 36px; }
	.bio-aside { position: static; max-width: 320px; }
	.article-hero img { height: 280px; }
	.prose { font-size: 16px; }
}

@media (max-width: 520px) {
	.people-dir { grid-template-columns: repeat(2, 1fr); }
	.office-row { grid-template-columns: 1fr; }
	.filter-inner { flex-direction: column; align-items: stretch; }
	.search-field { max-width: none; }
	.filter-spacer { margin-left: 0; }
	.pager { flex-direction: column; }
	.pager .pager-next { margin-left: 0; }
}
