/* ==========================================================================
   Law Firm Website — Public Stylesheet
   Design language: letterhead / legal-document inspired.
   Left-aligned structure, hairline rules instead of card shadows,
   serif display type paired with a grotesk sans for body/UI.
   ========================================================================== */

:root {
	--lf-ink:        #1B2A38;
	--lf-ink-80:     #2C3B49;
	--lf-paper:      #F7F5F0;
	--lf-paper-dim:  #EFEBE2;
	--lf-brass:      #A9822F;
	--lf-brass-dim:  #C9AD6E;
	--lf-charcoal:   #26292C;
	--lf-line:       #D8D2C4;
	--lf-white:      #FFFFFF;

	--lf-font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
	--lf-font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--lf-max-width: 1180px;
	--lf-gutter: 32px;
	--lf-radius: 2px;
}

@media (max-width: 640px) {
	:root { --lf-gutter: 20px; }
}

/* Reset (scoped implicitly — plugin templates render a full document) */
.lf-body, .lf-body * , .lf-body *::before, .lf-body *::after {
	box-sizing: border-box;
}
.lf-body {
	margin: 0;
	padding: 0;
	background: var(--lf-paper);
	color: var(--lf-charcoal);
	font-family: var(--lf-font-sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
.lf-body img { max-width: 100%; display: block; height: auto; }
.lf-body a { color: inherit; text-decoration: none; }
.lf-body ul { margin: 0; padding: 0; list-style: none; }
.lf-body h1, .lf-body h2, .lf-body h3, .lf-body h4 {
	font-family: var(--lf-font-serif);
	font-weight: 600;
	line-height: 1.15;
	margin: 0 0 0.5em;
	color: var(--lf-ink);
}
.lf-body :focus-visible {
	outline: 2px solid var(--lf-brass);
	outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
	.lf-body * { animation: none !important; transition: none !important; }
}

/* Layout helpers */
.lf-header__inner,
.lf-hero__inner,
.lf-section__inner,
.lf-page-header__inner,
.lf-footer__inner {
	max-width: var(--lf-max-width);
	margin: 0 auto;
	padding-left: var(--lf-gutter);
	padding-right: var(--lf-gutter);
}

/* ---------- Header ---------- */
.lf-header {
	background: var(--lf-paper);
	border-bottom: 1px solid var(--lf-line);
	position: sticky;
	top: 0;
	z-index: 40;
}
.lf-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 84px;
}
.lf-header__logo { display: flex; align-items: center; }
.lf-header__logo-img { max-height: 48px; width: auto; }
.lf-header__logo-text {
	font-family: var(--lf-font-serif);
	font-size: 22px;
	font-weight: 600;
	color: var(--lf-ink);
	letter-spacing: 0.2px;
}
.lf-nav__list {
	display: flex;
	gap: 36px;
}
.lf-nav__item a {
	font-size: 15px;
	color: var(--lf-ink-80);
	padding: 6px 0;
	border-bottom: 1px solid transparent;
	transition: border-color 0.15s ease, color 0.15s ease;
}
.lf-nav__item a:hover,
.lf-nav__item.is-current a {
	color: var(--lf-ink);
	border-bottom-color: var(--lf-brass);
}
.lf-header__toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}
.lf-header__toggle-bar {
	width: 24px;
	height: 2px;
	background: var(--lf-ink);
}

@media (max-width: 860px) {
	.lf-header__toggle { display: flex; }
	.lf-header__nav {
		display: none;
		position: absolute;
		top: 84px;
		left: 0;
		right: 0;
		background: var(--lf-paper);
		border-bottom: 1px solid var(--lf-line);
		padding: 12px var(--lf-gutter) 24px;
	}
	.lf-header__nav.is-open { display: block; }
	.lf-nav__list { flex-direction: column; gap: 4px; }
	.lf-nav__item a { display: block; padding: 10px 0; }
}

/* ---------- Hero ---------- */
.lf-hero {
	border-bottom: 1px solid var(--lf-line);
}
.lf-hero__inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 56px;
	align-items: center;
	padding-top: 72px;
	padding-bottom: 72px;
}
.lf-hero__heading {
	font-size: 44px;
	letter-spacing: -0.3px;
	max-width: 14ch;
}
.lf-hero__subtext {
	font-size: 18px;
	color: var(--lf-ink-80);
	max-width: 46ch;
	margin-bottom: 28px;
}
.lf-hero__media {
	border: 1px solid var(--lf-line);
}
.lf-hero__img { width: 100%; object-fit: cover; aspect-ratio: 4/3; }

@media (max-width: 860px) {
	.lf-hero__inner { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 40px; }
	.lf-hero__heading { font-size: 32px; }
}

/* ---------- Buttons / Links ---------- */
.lf-btn {
	display: inline-block;
	font-family: var(--lf-font-sans);
	font-size: 15px;
	font-weight: 600;
	padding: 14px 28px;
	border: 1px solid var(--lf-ink);
	border-radius: var(--lf-radius);
	transition: background 0.15s ease, color 0.15s ease;
}
.lf-btn--primary {
	background: var(--lf-ink);
	color: var(--lf-white);
}
.lf-btn--primary:hover {
	background: var(--lf-brass);
	border-color: var(--lf-brass);
}
.lf-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	font-size: 15px;
	color: var(--lf-ink);
	border-bottom: 1px solid var(--lf-brass);
	padding-bottom: 2px;
}
.lf-link-arrow::after {
	content: "";
	width: 8px;
	height: 8px;
	border-right: 1px solid var(--lf-ink);
	border-bottom: 1px solid var(--lf-ink);
	transform: rotate(-45deg);
	margin-left: 2px;
}

/* ---------- Sections ---------- */
.lf-section { padding: 64px 0; border-bottom: 1px solid var(--lf-line); }
.lf-section:last-of-type { border-bottom: none; }
.lf-section__heading { font-size: 30px; margin-bottom: 32px; }
.lf-section__heading--small { font-size: 22px; margin-bottom: 20px; }
.lf-section__inner--split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: start;
}
@media (max-width: 860px) {
	.lf-section__inner--split { grid-template-columns: 1fr; }
	.lf-section { padding: 40px 0; }
}
.lf-prose { color: var(--lf-ink-80); max-width: 62ch; }
.lf-prose p { margin: 0 0 1em; }

.lf-section--cta {
	background: var(--lf-ink);
	border-bottom: none;
}
.lf-section--cta .lf-section__heading { color: var(--lf-white); margin-bottom: 24px; }
.lf-section--cta .lf-section__inner { text-align: left; }
.lf-section--cta .lf-btn--primary {
	background: var(--lf-brass);
	border-color: var(--lf-brass);
	color: var(--lf-ink);
}
.lf-section--cta .lf-btn--primary:hover { background: var(--lf-brass-dim); }

/* ---------- Grid / Cards ---------- */
.lf-grid { display: grid; gap: 28px; }
.lf-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .lf-grid--3 { grid-template-columns: 1fr; } }

.lf-card {
	display: block;
	border: 1px solid var(--lf-line);
	background: var(--lf-white);
	transition: border-color 0.15s ease;
}
.lf-card:hover { border-color: var(--lf-brass); }
.lf-card__media { aspect-ratio: 16/10; overflow: hidden; border-bottom: 1px solid var(--lf-line); }
.lf-card__media img { width: 100%; height: 100%; object-fit: cover; }
.lf-card__title { font-size: 19px; margin: 18px 20px 8px; }
.lf-card__excerpt { font-size: 15px; color: var(--lf-ink-80); margin: 0 20px 20px; }

.lf-empty-state {
	grid-column: 1 / -1;
	padding: 40px;
	text-align: center;
	color: var(--lf-ink-80);
	border: 1px dashed var(--lf-line);
	font-size: 15px;
}

.lf-section__cta { margin-top: 32px; }

/* ---------- Page header (About/Practices/Areas/Contact) ---------- */
.lf-page-header { padding: 56px 0 40px; border-bottom: 1px solid var(--lf-line); }
.lf-page-header__heading { font-size: 38px; margin-bottom: 8px; }
.lf-page-header__intro { color: var(--lf-ink-80); max-width: 60ch; font-size: 17px; }

/* ---------- Contact ---------- */
.lf-contact-list li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 16px 0;
	border-bottom: 1px solid var(--lf-line);
}
.lf-contact-list li:first-child { padding-top: 0; }
.lf-contact-list__label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--lf-brass);
}
.lf-contact-list a { font-size: 17px; }
.lf-contact-list a:hover { color: var(--lf-brass); }

.lf-map {
	width: 100%;
	aspect-ratio: 4/3;
	border: 1px solid var(--lf-line);
	margin-bottom: 16px;
	background: var(--lf-paper-dim);
}

/* ---------- Footer ---------- */
.lf-footer { background: var(--lf-ink); color: var(--lf-paper); }
.lf-footer__inner {
	display: grid;
	grid-template-columns: 1.3fr repeat(3, auto);
	gap: 48px;
	padding-top: 40px;
	padding-bottom: 28px;
}
.lf-footer__brand { display: flex; flex-direction: column; align-items: flex-start; }
.lf-footer__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--lf-brass);
	border-radius: 50%;
	color: var(--lf-brass);
	font-family: var(--lf-font-serif);
	font-size: 16px;
	margin-bottom: 14px;
}
.lf-footer__firm-name { font-family: var(--lf-font-serif); font-size: 16px; font-weight: 600; color: var(--lf-white); line-height: 1.5; }
.lf-footer__attorney-name { font-family: var(--lf-font-serif); font-size: 16px; color: var(--lf-white); line-height: 1.5; }
.lf-footer__heading {
	color: var(--lf-brass);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 14px;
	font-family: var(--lf-font-sans);
	font-weight: 700;
}
.lf-footer__list li { margin-bottom: 10px; font-size: 15px; }
.lf-footer__list li:last-child { margin-bottom: 0; }
.lf-footer__list a,
.lf-footer__hours { color: var(--lf-paper); font-size: 15px; }
.lf-footer__hours { margin: 0; }
.lf-footer__list a:hover { color: var(--lf-brass-dim); }
.lf-footer__social { display: flex; gap: 14px; margin-top: 16px; }
.lf-footer__social a { color: #B9C2CA; font-size: 12px; }
.lf-footer__social a:hover { color: var(--lf-brass-dim); }
.lf-footer__bottom {
	border-top: 1px solid #33465A;
	padding: 18px var(--lf-gutter);
	text-align: center;
}
.lf-footer__bottom p { margin: 0; font-size: 14px; color: var(--lf-paper); }

@media (max-width: 860px) {
	.lf-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
	.lf-footer__inner { grid-template-columns: 1fr; }
}

.screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}
