/* Misty S. Ryan Law, PLLC: "Chambers" theme */

/* Self-hosted fonts (SIL Open Font License) */
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/instrument/instrument-serif-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/instrument/instrument-serif-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/instrument/instrument-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/instrument/instrument-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/instrument/instrument-sans-latin-600-normal.woff2') format('woff2'); }


:root {
	--bg: #093B46;
	--surface: #0C4553;
	--deep: #072F38;
	--brass: #C9A96E;
	--brass-hover: #D8BD8A;
	--text: #F1EDE5;
	--muted: #A9BEC3;
	--fine: #86A1A7;
	--hair: rgba(241, 237, 229, 0.12);
	--hair-brass: rgba(201, 169, 110, 0.45);
	--hair-header: rgba(201, 169, 110, 0.26);

	--serif: 'Instrument Serif', 'Times New Roman', serif;
	--sans: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;

	--pad: 64px;
	--gap: 24px;
	--section: 150px;
	--header-h: 92px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { list-style: none; padding: 0; }
address { font-style: normal; }
::selection { background: var(--brass); color: var(--deep); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.skip {
	position: absolute; left: 16px; top: -60px; z-index: 100;
	padding: 10px 16px; background: var(--brass); color: var(--deep); text-decoration: none; font-weight: 600;
}
.skip:focus { top: 16px; }

/* Icons */
.i { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 16px; height: 16px; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	height: 54px; padding: 0 28px; border-radius: 999px;
	font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: .01em;
	text-decoration: none; white-space: nowrap;
	transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn .i { transition: transform .35s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn-brass { background: var(--brass); color: var(--deep); }
.btn-brass:hover { background: var(--brass-hover); }
.btn-light { height: 44px; padding: 0 22px; background: var(--text); color: var(--bg); font-size: 14px; }
.btn-light:hover { background: #FFFFFF; }
.btn-ghost { border: 1px solid var(--hair); color: var(--text); font-weight: 500; }
.btn-ghost:hover { border-color: var(--hair-brass); }

/* Header */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 50;
	height: var(--header-h);
	display: flex; align-items: center; justify-content: space-between; gap: 32px;
	padding: 0 var(--pad);
	border-bottom: 1px solid transparent;
	transition: background-color .4s var(--ease), border-color .4s var(--ease), height .4s var(--ease);
}
.site-header.is-scrolled {
	background-color: rgba(9, 59, 70, 0.92);
	border-bottom-color: var(--hair-header);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}
.brand img { width: 224px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 500; }
.site-nav > a:not(.btn), .dropdown-toggle {
	position: relative; display: inline-flex; align-items: center; gap: 6px;
	color: var(--text); text-decoration: none; padding: 6px 0;
}
.site-nav > a:not(.btn)::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
	background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.site-nav > a:not(.btn):hover::after, .site-nav > a.is-active::after { transform: scaleX(1); }
.site-nav .pay { color: var(--brass); }
.site-nav .pay::after { display: none; }

.dropdown { position: relative; }
.dropdown-toggle .i { transition: transform .3s var(--ease); }
.dropdown.is-open .dropdown-toggle .i { transform: rotate(180deg); }
.dropdown-menu {
	position: absolute; top: calc(100% + 18px); left: 50%; width: 320px;
	padding: 10px; background: var(--deep); border: 1px solid var(--hair-header);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
	opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
	transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.dropdown.is-open .dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown-menu button {
	display: block; width: 100%; text-align: left; padding: 11px 14px;
	font-size: 14px; line-height: 1.4; color: var(--text); transition: background-color .2s, color .2s;
}
.dropdown-menu button:hover { background: var(--surface); color: var(--brass); }

.menu-toggle { display: none; width: 44px; height: 44px; position: relative; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 720px; max-height: 1080px; overflow: hidden; background: var(--bg); }
.hero-media, .interlude-media { position: absolute; inset: 0; overflow: hidden; background: var(--bg); }
.hero-img, .interlude-media img {
	width: 100%; height: 100%; object-fit: cover;
	filter: grayscale(1) contrast(1.1) brightness(.9);
	opacity: .55; mix-blend-mode: luminosity;
	will-change: transform;
}
.hero-img { transform: scale(1.12); transition: transform 2.4s var(--ease); }
.is-loaded .hero-img { transform: scale(1); }
.hero-tint { position: absolute; inset: 0; background: var(--bg); opacity: .35; mix-blend-mode: multiply; }
.hero-inner {
	position: relative; z-index: 1; height: 100%;
	display: flex; flex-direction: column; justify-content: flex-end; gap: 44px;
	padding: 0 var(--pad) 64px;
	will-change: transform, opacity;
}
.hero-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--brass); }
.hero h1 {
	font-family: var(--serif); font-weight: 400;
	font-size: clamp(60px, 11.2vw, 168px); line-height: .88; letter-spacing: -.03em;
}
.hero h1 em { font-style: italic; color: var(--brass); }
.hero-foot {
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end;
	padding-top: 32px; border-top: 1px solid var(--hair-header);
}
.hero-foot p { grid-column: span 5; font-size: 18px; line-height: 1.6; color: var(--muted); }
.hero-actions { grid-column: 8 / span 5; display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.hero-actions .btn { height: 58px; padding: 0 30px; }
.hero-eyebrow, .hero h1, .hero-foot { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.is-loaded .hero-eyebrow, .is-loaded .hero h1, .is-loaded .hero-foot { opacity: 1; transform: none; }
.is-loaded .hero h1 { transition-delay: .12s; }
.is-loaded .hero-foot { transition-delay: .28s; }

/* Layout */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.section { padding: var(--section) var(--pad); background: var(--bg); }
.section.bordered { border-top: 1px solid var(--hair); }
.section.surface { background: var(--surface); }
.stack { display: flex; flex-direction: column; gap: 26px; }
.stack-lg { display: flex; flex-direction: column; gap: 44px; }
.col-label { grid-column: span 3; }
.col-main { grid-column: 5 / span 8; }
.col-side { grid-column: span 4; }
.col-list { grid-column: 6 / span 7; }
.sticky { position: sticky; top: calc(var(--header-h) + 58px); align-self: start; }

/* Type */
.label { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--brass); }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 3.3vw, 46px); line-height: 1.1; letter-spacing: -.005em; }
h2.xl { font-size: clamp(40px, 3.7vw, 52px); }
.body { font-size: 16px; line-height: 1.75; color: var(--muted); }
.fine { font-size: 12px; line-height: 1.65; color: var(--muted); }
.statement { font-family: var(--serif); font-size: clamp(26px, 2.5vw, 36px); line-height: 1.3; }
.half { max-width: 50%; }
.serif { font-family: var(--serif); }

.text-link {
	display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
	padding-bottom: 6px; border-bottom: 1px solid var(--hair-brass);
	font-size: 14px; font-weight: 500; text-decoration: none;
}
.text-link .i { transition: transform .35s var(--ease), color .35s; }
.text-link:hover .i { transform: translateX(6px); color: var(--brass); }

/* Firm facts */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.facts > div { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 1px solid var(--hair); }
.facts dt { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-size: 16px; line-height: 1.55; }

/* Practice list */
.practice-list { border-bottom: 1px solid var(--hair); }
.practice-list li { border-top: 1px solid var(--hair); }
.pa {
	width: 100%; text-align: left;
	display: grid; grid-template-columns: 64px minmax(0, 1fr) 32px; align-items: start; gap: 24px;
	padding: 34px 0;
}
.pa-num { padding-top: 8px; font-size: 12px; font-weight: 500; letter-spacing: .08em; color: var(--brass); }
.pa-text { display: flex; flex-direction: column; gap: 10px; }
.pa-title { font-family: var(--serif); font-size: clamp(26px, 2.1vw, 30px); line-height: 1.15; transition: color .3s var(--ease); }
.pa-desc { max-width: 560px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.pa-arrow { margin-top: 10px; color: var(--muted); transition: transform .35s var(--ease), color .35s var(--ease); }
.pa:hover .pa-title { color: var(--brass-hover); }
.pa:hover .pa-arrow { transform: translateX(6px); color: var(--brass); }

/* Leadership */
.leadership { align-items: center; }
.portrait { grid-column: span 5; position: relative; aspect-ratio: 624 / 740; overflow: hidden; background: var(--deep); }
.portrait img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; object-position: center top; will-change: transform; }
.lead-copy { grid-column: 7 / span 5; }
.role { font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.rule { width: 56px; height: 1px; background: var(--hair-brass); }
.quote { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 28px); line-height: 1.4; }
.contact-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 8px; }
.contact-row .mail { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; text-decoration: none; }
.contact-row .mail:hover { color: var(--brass); }
.social { display: flex; gap: 8px; }
.social a {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
	border: 1px solid var(--hair); border-radius: 50%; transition: border-color .3s, color .3s;
}
.social a:hover { border-color: var(--hair-brass); color: var(--brass); }

/* Interlude */
.interlude { position: relative; height: 560px; overflow: hidden; background: var(--bg); }
.interlude-media img { position: absolute; left: 0; top: -15%; height: 130%; }
.interlude-inner { position: relative; height: 100%; align-items: center; padding: 0 var(--pad); }
.interlude-quote { grid-column: 2 / span 8; font-family: var(--serif); font-size: clamp(28px, 3.1vw, 44px); line-height: 1.25; }

/* Why us / Insights */
.head-row { align-items: end; margin-bottom: 80px; }
.head-main { grid-column: span 6; }
.head-aside { grid-column: 8 / span 5; }
.columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.col-item { display: flex; flex-direction: column; gap: 16px; padding-top: 26px; border-top: 1px solid var(--hair); }
.col-item.first { border-top-color: var(--hair-brass); }
.col-item .num { font-size: 12px; font-weight: 500; letter-spacing: .08em; color: var(--brass); }
.col-item .cat { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.col-item h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 1.8vw, 26px); line-height: 1.22; }
.col-item p { font-size: 15px; line-height: 1.75; color: var(--muted); }
#insights .head-row { margin-bottom: 64px; }

/* Consultation */
.consult-copy { grid-column: span 5; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-top: 16px; }
.contact-cards a { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid var(--hair); text-decoration: none; }
.contact-cards .k { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact-cards .v { font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; transition: color .3s; }
.contact-cards .v.serif { font-size: 26px; line-height: 1.2; }
.contact-cards a:hover .v { color: var(--brass); }

.consult-form { grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; row-gap: 30px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 4px; }
.span-2 { grid-column: span 2; }
.field label { font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--muted); }
.field input, .field select, .field textarea {
	width: 100%; padding: 10px 0; background: transparent;
	border: 0; border-bottom: 1px solid rgba(241, 237, 229, 0.24); border-radius: 0;
	color: var(--text); font-family: var(--sans); font-size: 16px;
	transition: border-color .3s var(--ease);
	-webkit-appearance: none; appearance: none;
}
.field input, .field select { height: 46px; }
.field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AAB3C2' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 2px center; background-size: 16px; padding-right: 28px;
}
.field select option { color: var(--bg); }
.field textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #6F7B90; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--brass); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-bottom-color: #E8927C; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 8px; }
.form-foot .fine { max-width: 320px; }
.form-status { min-height: 1.5em; font-size: 14px; color: var(--muted); }
.form-status.ok { color: var(--brass); }
.form-status.err { color: #E8927C; }

/* Footer */
.site-footer { padding: 88px var(--pad) 36px; background: var(--deep); }
.footer-top { row-gap: 48px; }
.footer-brand { grid-column: span 4; display: flex; flex-direction: column; gap: 24px; }
.footer-brand img { width: 236px; height: auto; }
.footer-brand .social a { border: 0; width: auto; height: auto; color: var(--muted); }
.footer-brand .social { gap: 18px; }
.footer-col { grid-column: span 2; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.55; }
.footer-col:nth-of-type(1) { grid-column: 6 / span 2; }
.footer-col.wide { grid-column: 10 / span 3; }
.footer-col .k { margin-bottom: 6px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.footer-col a, .footer-col button { text-decoration: none; text-align: left; transition: color .3s; }
.footer-col a:hover, .footer-col button:hover { color: var(--brass); }
.footer-bottom {
	display: flex; justify-content: space-between; gap: 48px; margin-top: 72px; padding-top: 28px;
	border-top: 1px solid var(--hair); font-size: 12px; line-height: 1.6; color: var(--fine);
}
.footer-bottom span:last-child { max-width: 620px; text-align: right; }

/* Intake dialog */
.intake {
	width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px);
	padding: 48px; border: 1px solid var(--hair-header); background: var(--deep); color: var(--text);
	box-shadow: 0 40px 100px rgba(0, 0, 0, .5);
}
.intake::backdrop { background: rgba(7, 47, 56, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.intake[open] { animation: dlg .35s var(--ease); }
@keyframes dlg { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.intake > * + * { margin-top: 18px; }
.intake h2 { font-size: 34px; }
.intake-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.intake-close:hover { color: var(--text); }
.intake-list { border-top: 1px solid var(--hair); }
.intake-list li { border-bottom: 1px solid var(--hair); }
.intake-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; font-size: 15px; text-decoration: none; transition: color .25s; }
.intake-list a:hover { color: var(--brass); }
.intake .btn { margin-top: 28px; }

/* Reveal on scroll (enabled by JS) */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1180px) {
	:root { --pad: 40px; --section: 120px; }
	.site-nav { gap: 22px; font-size: 13px; }
	.brand img { width: 196px; }
	.col-label { grid-column: span 12; margin-bottom: 28px; }
	.col-main { grid-column: span 12; }
}

@media (max-width: 1024px) {
	.menu-toggle { display: block; z-index: 2; }
	.site-nav {
		position: fixed; inset: 0; z-index: 1;
		flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 4px;
		padding: calc(var(--header-h) + 24px) var(--pad) 40px;
		background: var(--deep); overflow-y: auto;
		font-size: 22px; font-family: var(--serif);
		opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
	}
	.nav-open .site-nav { opacity: 1; visibility: visible; }
	.nav-open { overflow: hidden; }
	.site-nav > a:not(.btn), .dropdown-toggle { padding: 10px 0; font-size: 26px; }
	.site-nav > a:not(.btn)::after { display: none; }
	.site-nav .pay { font-family: var(--sans); font-size: 16px; margin-top: 12px; }
	.site-nav .btn { margin-top: 16px; font-family: var(--sans); }
	.dropdown-menu { position: static; width: auto; transform: none; box-shadow: none; border: 0; padding: 0 0 8px; background: transparent; display: none; opacity: 1; visibility: visible; }
	.dropdown.is-open .dropdown-menu { display: block; transform: none; }
	.dropdown-menu button { font-family: var(--sans); font-size: 15px; padding: 9px 0; color: var(--muted); }
	.dropdown-menu button:hover { background: none; }
	.brand { position: relative; z-index: 2; }

	.hero-foot p, .hero-actions { grid-column: span 12; }
	.hero-actions { justify-content: flex-start; margin-top: 24px; }
	.col-side, .col-list { grid-column: span 12; }
	.col-side.sticky { position: static; margin-bottom: 48px; }
	.portrait { grid-column: span 12; max-width: 560px; margin-bottom: 56px; }
	.lead-copy { grid-column: span 12; }
	.head-main, .head-aside { grid-column: span 12; }
	.head-aside { margin-top: 24px; }
	.head-row { margin-bottom: 56px; }
	.columns { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
	.consult-copy, .consult-form { grid-column: span 12; }
	.consult-form { margin-top: 56px; }
	.interlude-quote { grid-column: span 12; }
	.footer-brand { grid-column: span 12; }
	.footer-col, .footer-col:nth-of-type(1), .footer-col.wide { grid-column: span 4; }
	.half { max-width: 100%; }
}

@media (max-width: 680px) {
	:root { --pad: 22px; --section: 96px; --header-h: 76px; }
	.brand img { width: 176px; }
	.hero { min-height: 640px; }
	.hero-inner { gap: 32px; padding-bottom: 40px; }
	.hero-eyebrow { font-size: 11px; letter-spacing: .22em; }
	.hero-foot p { font-size: 16px; }
	.hero-actions .btn { width: 100%; }
	.facts { grid-template-columns: 1fr; }
	.pa { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 28px 0; }
	.pa-arrow { display: none; }
	.columns { grid-template-columns: 1fr; row-gap: 44px; }
	.contact-cards { grid-template-columns: 1fr; }
	.consult-form { grid-template-columns: 1fr; }
	.span-2 { grid-column: span 1; }
	.form-foot { flex-direction: column; align-items: stretch; }
	.form-foot .btn { width: 100%; }
	.interlude { height: 440px; }
	.footer-col, .footer-col:nth-of-type(1), .footer-col.wide { grid-column: span 12; }
	.footer-bottom { flex-direction: column; gap: 12px; }
	.footer-bottom span:last-child { text-align: left; }
	.intake { padding: 36px 24px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
	.js .rv { opacity: 1; transform: none; }
	.hero-img { transform: none; }
}

/* Fixed-position mobile menu must not be trapped by the header's backdrop filter */
.nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: var(--deep); }

/* =====================================================================
   Page structure: clear light / dark rhythm, one header style per section
   ===================================================================== */

/* Section themes */
.theme-light {
	--text: #08303A;
	--muted: #4B5566;
	--brass: #86672F;
	--hair: rgba(8, 48, 58, 0.14);
	--hair-brass: rgba(134, 103, 47, 0.5);
	background: #F4F1EA; color: var(--text);
}
.theme-light ::selection { background: #08303A; color: #F4F1EA; }
.theme-dark { background: var(--bg); color: var(--text); }
.theme-deep { background: var(--deep); color: var(--text); }

/* Section header: number, name, rule across the page */
.sec-head {
	grid-column: 1 / -1;
	display: flex; align-items: center; gap: 18px;
	margin-bottom: 72px;
	font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
}
.sec-num { color: var(--brass); font-variant-numeric: tabular-nums; }
.sec-name { color: var(--text); }
.sec-rule { flex: 1; height: 1px; background: var(--hair); }
.theme-dark .sec-rule, .theme-deep .sec-rule { background: rgba(201, 169, 110, .35); }

/* The Firm */
.firm-statement { grid-column: 1 / span 8; font-size: clamp(28px, 2.7vw, 40px); line-height: 1.28; }
.firm-pull { grid-column: 10 / span 3; align-self: end; }
.firm-facts { grid-column: 1 / -1; margin-top: 88px; }
.pull {
	position: relative; padding-top: 22px;
	font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.45; color: var(--text);
}
.pull::before { content: ""; position: absolute; left: 0; top: 0; width: 48px; height: 1px; background: var(--brass); }

/* Practice Areas: sticky column starts below the section header */
#practice-areas .sticky { top: calc(var(--header-h) + 48px); }

/* Leadership: bright portrait, in front, sized to the screen */
#leadership.panel { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); padding-top: 56px; padding-bottom: 56px; align-content: center; }
#leadership .sec-head { margin-bottom: 48px; }
.portrait { max-height: calc(100vh - var(--header-h) - 200px); max-height: calc(100svh - var(--header-h) - 200px); box-shadow: 0 30px 70px rgba(8, 48, 58, .22); background: #E6E1D6; }
.portrait img { filter: none; }
/* Full-length portrait: frame matches the photo exactly, nothing cropped */
#leadership .portrait {
	grid-column: 1 / span 5; justify-self: center; align-self: start;
	position: relative; aspect-ratio: 836 / 1881; width: min(100%, 420px); height: auto;
	min-height: 0; max-height: none;
}
#leadership .portrait img { top: 0; height: 100%; object-fit: cover; object-position: 50% 50%; transform: none !important; }
.theme-light .social a { color: var(--text); }
.theme-light .contact-row .mail:hover { color: var(--brass); }

/* Insights: white cards on ivory */
#insights .head-row { margin-bottom: 56px; }
.col-item.card { padding: 32px 28px 36px; background: #FFFFFF; border: 1px solid var(--hair); border-top: 2px solid var(--brass); }

/* Why Us */
#why-us .head-row { margin-bottom: 72px; }

/* Photographic backgrounds: hard edges, photo stays pinned while the section scrolls */
.has-bg { position: relative; isolation: isolate; }
.sec-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; overflow: clip; }
.sec-bg-pin { position: sticky; top: 0; height: 100vh; max-height: 100%; overflow: hidden; }
.sec-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.sec-bg-tint { position: absolute; inset: 0; }
.bg-practice img { object-position: 40% 50%; }
.bg-practice .sec-bg-tint { background: linear-gradient(90deg, rgba(9, 59, 70, .66) 0%, rgba(9, 59, 70, .8) 34%, rgba(9, 59, 70, .94) 52%, rgba(9, 59, 70, .96) 100%); }
.bg-why img { object-position: 50% 30%; }
.bg-why .sec-bg-tint { background: rgba(9, 59, 70, .86); }
.bg-consult img { object-position: 30% 50%; }
.bg-consult .sec-bg-tint { background: linear-gradient(90deg, rgba(7, 47, 56, .78) 0%, rgba(7, 47, 56, .9) 40%, rgba(7, 47, 56, .96) 100%); }

/* Footer separates cleanly from the consultation section */
.site-footer { background: #05232A; border-top: 1px solid rgba(201, 169, 110, .3); }

@media (max-width: 1024px) {
	.firm-statement, .firm-pull { grid-column: 1 / -1; }
	.firm-pull { margin-top: 40px; max-width: 560px; }
	.firm-facts { margin-top: 56px; }
	.bg-practice .sec-bg-tint { background: rgba(9, 59, 70, .86); }
	#leadership.panel { min-height: 0; padding-top: var(--section); padding-bottom: var(--section); }
	.portrait { max-height: none; }
	#leadership .portrait { grid-column: 1 / -1; justify-self: start; height: auto; min-height: 0; width: min(100%, 380px); }
}
@media (max-width: 680px) {
	.sec-head { margin-bottom: 48px; }
}

/* Sections receive focus after an in-page link; no visible outline needed */
section[tabindex="-1"]:focus { outline: none; }

/* Leadership bio: first paragraph as the lead line, the rest as readable body text */
.quote.bio { font-style: normal; font-family: var(--sans); font-size: 16px; line-height: 1.75; color: var(--muted); display: flex; flex-direction: column; gap: 32px; }
.quote.bio p:first-child { font-family: var(--serif); font-style: italic; font-size: clamp(21px, 1.8vw, 25px); line-height: 1.4; color: var(--text); }
.quote.bio p:last-child { color: var(--text); }
/* Long bio: portrait aligns to the top and stays in view while the bio scrolls */
#leadership.leadership { align-items: start; align-content: start; }
#leadership .lead-copy { padding-top: 8px; }

/* Footer: two addresses, each with a small label */
.footer-col .addr { display: flex; flex-direction: column; gap: 4px; margin-bottom: 6px; }
.footer-col .addr-label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
