/*
Theme Name: Forever Young
Theme URI: https://foreveryounglaw.com/
Author: Bent Tree
Description: Custom theme for Forever Young, Estate Planning and Medicaid Attorneys (Apopka and Ocala, FL). Plum and cool gray palette, practice area tiles, two-office layout, FAQ and questionnaire templates.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: forever-young
*/

:root {
	--plum: #453645;
	--plum-700: #564156;
	--plum-500: #5d445d;
	--plum-100: #ece7ec;
	--mist: #d9e0e0;
	--mist-50: #f1f4f4;
	--mist-300: #c3cdcd;
	--white: #fff;
	--ink: #2a202a;
	--ink-soft: #5a505a;
	--radius: 14px;
	--shadow: 0 1px 2px rgba(51, 36, 51, .06), 0 8px 24px rgba(51, 36, 51, .06);
	--max: 1200px;
	--font-head: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--plum-500); text-underline-offset: 3px; }
a:hover { color: var(--plum); }
h1, h2, h3, h4 {
	font-family: var(--font-head);
	color: var(--plum);
	line-height: 1.15;
	margin: 0 0 .5em;
	font-weight: 600;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--plum-500); outline-offset: 3px; }
.screen-reader-text { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 999; background: var(--white); padding: .6em 1em; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--mist { background: var(--mist); }
.section--soft { background: var(--mist-50); }
.section--plum { background: var(--plum); color: var(--mist); }
.section--plum h2, .section--plum h3 { color: var(--white); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.125rem; }
.section--plum .section-head p { color: var(--mist); }
.eyebrow {
	display: inline-block;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--plum-500);
	margin-bottom: 1em;
}
.section--plum .eyebrow, .hero .eyebrow { color: var(--mist-300); }

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	padding: .95em 1.7em;
	border-radius: 999px;
	border: 2px solid var(--plum);
	background: var(--plum);
	color: var(--white);
	font: 600 1rem/1 var(--font-body);
	text-decoration: none;
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--plum-700); color: var(--white); }
.btn--ghost { background: transparent; color: var(--plum); }
.btn--ghost:hover { background: var(--plum); color: var(--white); }
.btn--light { background: var(--mist); border-color: var(--mist); color: var(--plum); }
.btn--light:hover { background: var(--white); border-color: var(--white); color: var(--plum); }
.btn--ghost-light { background: transparent; border-color: var(--mist); color: var(--mist); }
.btn--ghost-light:hover { background: var(--mist); color: var(--plum); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6em; }

/* Utility bar and header */
.utility { background: var(--plum); color: var(--mist); font-size: .9rem; }
.utility .container { display: flex; flex-wrap: wrap; gap: 6px 28px; justify-content: space-between; padding: 9px 0; }
.utility a { color: var(--mist); text-decoration: none; }
.utility a:hover { color: var(--white); text-decoration: underline; }
.utility-offices { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-header { background: var(--white); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--mist); }
.admin-bar .site-header { top: 32px; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.site-logo img { display: block; width: auto; height: 62px; }
.nav-toggle { display: none; background: none; border: 2px solid var(--plum); border-radius: 10px; padding: 8px 12px; color: var(--plum); font: 600 .95rem var(--font-body); cursor: pointer; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: .7em 1em; color: var(--plum); text-decoration: none; font-weight: 500; font-size: .98rem; border-radius: 8px; white-space: nowrap; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { background: var(--mist-50); }
.main-nav .menu-item-has-children > a::after { content: ''; display: inline-block; margin-left: .5em; width: .45em; height: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.main-nav .sub-menu { position: absolute; left: 0; top: 100%; min-width: 290px; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border: 1px solid var(--mist); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .nav-cta > a { background: var(--plum); color: var(--white); margin-left: 8px; padding-inline: 1.4em; }
.main-nav .nav-cta > a:hover { background: var(--plum-700); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--plum) 0%, var(--plum-700) 100%); color: var(--mist); overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: clamp(48px, 7vw, 96px) 0; }
.hero h1 { color: var(--white); }
.hero p.lead { font-size: 1.25rem; max-width: 34em; color: var(--mist); }
.hero-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden; background: var(--mist); box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-placeholder { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; color: var(--plum-500); font-size: .9rem; background: var(--mist); }
.photo-placeholder img { width: 45%; opacity: .9; }

/* Trust strip */
.strip { background: var(--mist); }
.strip ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 22px 0; text-align: center; color: var(--plum); font-weight: 500; font-size: .95rem; }

/* Practice tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tile { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius); padding: 30px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.tile:hover { transform: translateY(-4px); border-color: var(--plum-500); color: var(--ink); }
.tile--feature { grid-column: span 2; background: var(--plum); border-color: var(--plum); color: var(--mist); }
.tile--feature:hover { color: var(--mist); }
.tile--feature h3, .tile--feature .tile-icon { color: var(--white); }
.tile--feature .tile-more { color: var(--white); }
.tile-icon { width: 46px; height: 46px; color: var(--plum-500); margin-bottom: 18px; }
.tile h3 { margin-bottom: .35em; }
.tile p { color: inherit; opacity: .9; flex: 1; }
.tile-more { font-weight: 600; color: var(--plum); }
.tile-more::after { content: ' \2192'; }
.tile-badge { align-self: flex-start; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; background: var(--mist); color: var(--plum); padding: .35em .9em; border-radius: 999px; margin-bottom: 16px; font-weight: 600; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.imgtext-split.img-right { grid-template-columns: 1.3fr 1fr; }
.imgtext-split.img-right .portrait { order: 2; }
.imgtext-split .portrait img { object-position: 50% 35%; }

/* Full-width photo break: natural landscape ratio, no crop. */
.photo-break { margin: 8px 0 44px; max-width: 420px; margin-left: auto; margin-right: auto; text-align: center; }
.photo-break img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-break figcaption { margin-top: 14px; font-size: .95rem; font-style: italic; color: var(--ink-soft); }
.checklist { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: .65em; }
.checklist li { position: relative; padding-left: 2em; }
.checklist li::before { content: ''; position: absolute; left: 0; top: .5em; width: .9em; height: .5em; border-left: 2.5px solid var(--plum-500); border-bottom: 2.5px solid var(--plum-500); transform: rotate(-45deg); }
.section--plum .checklist li::before { border-color: var(--mist); }
.portrait { border-radius: var(--radius); overflow: hidden; background: var(--mist); aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Offices */
.offices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.office { background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.office h3 { margin-bottom: .6em; }
.office address { font-style: normal; margin-bottom: 1em; }
.office .phone { display: block; font-size: 1.25rem; font-weight: 600; color: var(--plum); text-decoration: none; margin-bottom: 1em; }
.map-frame { border: 0; width: 100%; height: 260px; border-radius: 10px; margin-top: 1.4em; background: var(--mist); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: rgba(255, 255, 255, .07); border: 1px solid rgba(217, 224, 224, .25); border-radius: var(--radius); padding: 30px; }
.quote p { font-family: var(--font-head); font-size: 1.35rem; line-height: 1.4; color: var(--white); }
.quote cite { font-style: normal; font-size: .9rem; color: var(--mist-300); }
.stars { color: #e3c987; letter-spacing: 2px; margin-bottom: 10px; }

/* FAQ */
.faq-list { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq-list details { background: var(--white); border: 1px solid var(--mist); border-radius: 12px; padding: 0 24px; }
.faq-list summary { cursor: pointer; padding: 20px 28px 20px 0; font-weight: 600; color: var(--plum); list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; }
.faq-list details[open] summary::after { content: '\2212'; }
.faq-list details p { color: var(--ink-soft); padding-bottom: 8px; }
.faq-group { margin-bottom: 56px; }
.faq-group > h2 { text-align: center; margin-bottom: 24px; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .btn-row { justify-content: center; }
.cta-band p { max-width: 640px; margin-inline: auto; font-size: 1.15rem; }

/* Page hero */
.page-hero { background: var(--mist); padding: clamp(20px, 3vw, 36px) 0; }
/* Match the hero container to the main content container below (which uses
   the base var(--max) .container) instead of a narrower max-width, so their
   left edges line up. Text was already left-aligned by default — only the
   container width was mismatched, which pushed the hero's left edge inward
   relative to the page content under it. */
.page-hero .container { max-width: var(--max); }
.page-hero p.lead { font-size: 1.25rem; color: var(--ink-soft); max-width: 40em; }

/* Optional hero background photo (set per practice page in the admin): a
   dark gradient keeps the left-aligned text readable over any photo. */
.page-hero--photo { position: relative; overflow: hidden; padding-block: clamp(36px, 5.5vw, 64px); }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.page-hero--photo::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(43, 30, 43, .88) 0%, rgba(43, 30, 43, .55) 55%, rgba(43, 30, 43, .25) 100%); }
.page-hero--photo .container { position: relative; z-index: 2; }
.page-hero--photo .breadcrumbs, .page-hero--photo .breadcrumbs a, .page-hero--photo .breadcrumbs span[aria-current] { color: var(--mist-300); }
.page-hero--photo .eyebrow { color: var(--mist-300); }
.page-hero--photo h1 { color: var(--white); }
.page-hero--photo p.lead { color: var(--mist); }
.breadcrumbs { font-size: .88rem; color: var(--ink-soft); margin-bottom: 1.2em; }
.breadcrumbs a { color: var(--ink-soft); }

/* Practice page body */
.practice-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.practice-body .block { margin-bottom: 44px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 18px; }
.card { background: var(--mist-50); border: 1px solid var(--mist); border-radius: 12px; padding: 22px 24px; }
.card h3 { font-size: 1.3rem; margin-bottom: .3em; }
.card p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 0 64px; min-height: 46px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--plum); color: var(--white); display: grid; place-content: center; font-family: var(--font-head); font-size: 1.4rem; }
.steps strong { display: block; color: var(--plum); }
.sidebar { position: sticky; top: 130px; display: grid; gap: 20px; }
.side-card { background: var(--plum); color: var(--mist); border-radius: var(--radius); padding: 28px; }
.side-card h3 { color: var(--white); }
.side-card--light { background: var(--mist-50); color: var(--ink); border: 1px solid var(--mist); }
.side-card--light h3 { color: var(--plum); }
.side-card a.phone { color: inherit; font-weight: 600; font-size: 1.15rem; text-decoration: none; display: block; margin-bottom: .4em; }
.side-card ul { list-style: none; margin: 0; padding: 0; }
.side-card li a { display: block; padding: .45em 0; text-decoration: none; border-bottom: 1px solid var(--mist); }
.side-card li:last-child a { border: 0; }

/* Forms */
.fy-form { display: grid; gap: 16px; }
.fy-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fy-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; color: var(--plum); }
.fy-form input, .fy-form select, .fy-form textarea { width: 100%; font: 400 1rem var(--font-body); padding: .85em 1em; border: 1.5px solid var(--mist-300); border-radius: 10px; background: var(--white); color: var(--ink); }
.fy-form input:focus, .fy-form select:focus, .fy-form textarea:focus { border-color: var(--plum-500); outline: none; box-shadow: 0 0 0 3px rgba(93, 68, 93, .2); }
.fy-form .hp { position: absolute; left: -9999px; }
.fy-form small { color: var(--ink-soft); font-weight: 400; }
.notice { padding: 16px 20px; border-radius: 10px; margin-bottom: 20px; font-weight: 500; }
.notice--ok { background: #e6f2ea; color: #1d4a2c; }
.notice--err { background: #f8e6e6; color: #6b2020; }
.form-card { background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }

/* Content pages / blog */
.entry { max-width: 780px; margin-inline: auto; }
.entry h2 { margin-top: 1.4em; }
.entry ul, .entry ol { padding-left: 1.3em; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { border: 1px solid var(--mist); border-radius: var(--radius); padding: 28px; background: var(--white); box-shadow: var(--shadow); }
.post-card h2 { font-size: 1.6rem; }
.post-card h2 a { text-decoration: none; }
.post-meta { font-size: .85rem; color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--plum); color: var(--mist); }
.footer-motto { text-align: center; padding: 56px 0 44px; border-bottom: 1px solid rgba(217, 224, 224, .2); }
.footer-motto p { font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.1rem); font-style: italic; color: var(--white); margin: 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 36px; padding: 56px 0; }
.footer-grid img { width: 230px; margin-bottom: 18px; }
.footer-grid .footer-title { font-family: var(--font-body); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mist-300); margin: 0 0 1em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5em; }
.footer-grid a { color: var(--mist); text-decoration: none; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; }
.footer-grid address { font-style: normal; margin-bottom: .8em; }
.footer-legal { border-top: 1px solid rgba(217, 224, 224, .2); padding: 28px 0 40px; font-size: .86rem; color: var(--mist-300); }
.footer-legal p { max-width: 980px; }
.footer-legal .links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 12px; }
.footer-legal a { color: var(--mist); }

/* Responsive */
@media (max-width: 1080px) {
	.tiles { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr 1fr; }
	.footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
	.nav-toggle { display: inline-block; }
	.main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--mist); padding: 12px 20px 20px; display: none; max-height: 80vh; overflow: auto; }
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; align-items: stretch; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
	.main-nav .menu-item-has-children > a::after { display: none; }
	.main-nav .nav-cta > a { margin: 8px 0 0; text-align: center; }
	.hero .container, .split, .practice-body { grid-template-columns: 1fr; }
	.hero-photo { max-width: 420px; margin-inline: auto; width: 100%; }
	.sidebar { position: static; }
	.quotes, .posts { grid-template-columns: 1fr; }
	.strip ul { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.tiles, .offices, .cards, .fy-form .row { grid-template-columns: 1fr; }
	.tile--feature { grid-column: auto; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.utility-offices { gap: 2px 14px; }
	.site-logo img { height: 50px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Homepage office sections (one per location) */
.office-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.office-section--flip .office-info { order: 2; }
.office-section--flip .office-map { order: 1; }
.office-lead { font-size: 1.15rem; max-width: 30em; }
.office-details { list-style: none; margin: 1.6em 0 0; padding: 0; display: grid; gap: 1em; }
.office-details li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding-bottom: 1em; border-bottom: 1px solid rgba(51, 36, 51, .18); }
.office-details span { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--plum-500); padding-top: .35em; }
.office-details address { font-style: normal; }
.office-details a { font-weight: 600; text-decoration: none; color: var(--plum); }
.office-details a:hover { text-decoration: underline; }
.section--plum .office-details li { border-bottom-color: rgba(217, 224, 224, .25); }
.section--plum .office-details span { color: var(--mist-300); }
.section--plum .office-details a { color: var(--white); }
.section--plum .office-lead { color: var(--mist); }
.office-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 6px solid var(--white); background: var(--white); }
.section--plum .office-map { border-color: var(--mist); }
.office-map iframe { display: block; width: 100%; height: 420px; border: 0; }
@media (max-width: 920px) {
	.office-split { grid-template-columns: 1fr; }
	.office-section--flip .office-info, .office-section--flip .office-map { order: 0; }
	.office-map iframe { height: 320px; }
}
@media (max-width: 480px) { .office-details li { grid-template-columns: 1fr; gap: 2px; } }

/* Hero promises + nav emphasis */
.hero-points { list-style: none; margin: 1.4em 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-points li { border: 1px solid rgba(217, 224, 224, .4); border-radius: 999px; padding: .4em 1.1em; font-size: .95rem; color: var(--mist); }
.main-nav .nav-primary > a { font-weight: 600; }


/* ===== Option B: light editorial ===== */
.design-b .utility { background: var(--mist); color: var(--plum); }
.design-b .utility a { color: var(--plum); font-weight: 600; }
.design-b .utility a:hover { color: var(--plum-700); }
.design-b .site-header { border-bottom: 0; box-shadow: 0 1px 0 var(--mist-300); }
.b-head { max-width: 760px; margin: 0 0 44px; }
.b-head--light h2, .b-process h2 { color: var(--white); }
.b-head--light p { color: var(--mist); font-size: 1.15rem; }
.b-process .eyebrow { color: var(--mist-300); }

.b-hero { background: var(--mist); position: relative; overflow: hidden; }
.b-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: clamp(48px, 7vw, 96px) 0; }
.b-hero h1 { font-size: clamp(2.8rem, 6.4vw, 5rem); letter-spacing: -.01em; }
.b-hero .lead { font-size: 1.2rem; max-width: 32em; color: var(--ink-soft); }
.b-points { list-style: none; margin: 2em 0 0; padding: 1.4em 0 0; border-top: 1px solid var(--mist-300); display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--plum); font-weight: 600; font-size: .95rem; }
.b-hero-photo { position: relative; padding: 0 0 24px 24px; }
.b-arch { position: relative; z-index: 1; aspect-ratio: 4 / 5; border-radius: 999px 999px 18px 18px; overflow: hidden; background: var(--white); border: 8px solid var(--white); box-shadow: 0 24px 50px rgba(51, 36, 51, .18); }
.b-arch img { width: 100%; height: 100%; object-fit: cover; }
.b-hero-photo::before { content: ''; position: absolute; inset: 40px 0 0 48px; border-radius: 999px 999px 18px 18px; background: var(--plum); }
.b-mark { position: absolute; z-index: 2; width: 90px; right: -10px; top: 10px; opacity: .95; filter: drop-shadow(0 2px 0 var(--mist)); }

.b-areas { background: var(--white); }
.b-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; background: var(--plum); color: var(--mist); border-radius: 20px; padding: clamp(28px, 5vw, 56px); text-decoration: none; margin-bottom: 22px; transition: transform .2s; }
.b-feature:hover { transform: translateY(-3px); color: var(--mist); }
.b-feature h3 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); }
.b-feature .tile-more { color: var(--white); }
.b-feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.b-feature-list li { background: rgba(217, 224, 224, .1); border: 1px solid rgba(217, 224, 224, .25); border-radius: 10px; padding: .8em 1em; font-size: .95rem; color: var(--white); }
.b-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.b-tile { position: relative; display: flex; flex-direction: column; background: var(--mist-50); border: 1px solid var(--mist); border-radius: 20px; padding: 32px; text-decoration: none; color: var(--ink); transition: transform .2s, background .2s; }
.b-tile:hover { transform: translateY(-4px); background: var(--mist); color: var(--ink); }
.b-tile p { flex: 1; color: var(--ink-soft); }
.b-num { position: absolute; top: 24px; right: 28px; font-family: var(--font-head); font-size: 2rem; color: var(--mist-300); }
.b-tile .tile-icon { background: var(--white); border-radius: 50%; padding: 11px; width: 56px; height: 56px; }

.b-process { background: var(--plum); color: var(--mist); }
.b-steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.b-steps li { border-top: 2px solid var(--mist); padding-top: 22px; }
.b-steps span { font-family: var(--font-head); font-size: 3rem; line-height: 1; color: var(--mist-300); }
.b-steps h3 { color: var(--white); margin-top: .3em; }

.b-about { background: var(--white); }
.b-frame { position: relative; padding: 0 20px 20px 0; }
.b-frame::before { content: ''; position: absolute; inset: 20px 0 0 20px; background: var(--mist); border-radius: var(--radius); }
.b-frame .portrait { position: relative; }

.b-office { position: relative; min-height: 460px; display: flex; align-items: center; }
.b-office iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.b-office .container { position: relative; z-index: 1; pointer-events: none; padding: 48px 0; }
.b-office-card { pointer-events: auto; max-width: 440px; background: var(--white); border-radius: 20px; padding: 36px; box-shadow: 0 24px 50px rgba(51, 36, 51, .25); }
.b-office--right .container { display: flex; justify-content: flex-end; }
.b-office-card address { font-style: normal; margin-bottom: .6em; }
.b-office-card .phone { display: block; font-size: 1.4rem; font-weight: 600; color: var(--plum); text-decoration: none; margin-bottom: .4em; }
.b-office-card--plum { background: var(--plum); color: var(--mist); }
.b-office-card--plum h2, .b-office-card--plum .phone { color: var(--white); }
.b-office-card--plum .eyebrow { color: var(--mist-300); }

.b-quotes { background: var(--mist-50); }
.b-quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.b-quote { margin: 0; background: var(--white); border-radius: 20px; padding: 30px; border: 1px solid var(--mist); }
.b-quote .stars { color: var(--plum-500); }
.b-quote blockquote { margin: 0 0 1em; font-family: var(--font-head); font-size: 1.4rem; line-height: 1.4; color: var(--plum); }
.b-quote figcaption { font-size: .9rem; color: var(--ink-soft); }

.b-final { background: var(--mist); }

@media (max-width: 920px) {
	.b-hero-grid, .b-feature, .b-steps, .b-tiles, .b-quote-grid { grid-template-columns: 1fr; }
	.b-hero-photo { max-width: 420px; margin: 0 auto; width: 100%; }
	.b-office { flex-direction: column; align-items: stretch; min-height: 0; }
	.b-office iframe { position: static; height: 300px; }
	.b-office .container { padding: 0; width: 100%; }
	.b-office-card { max-width: none; border-radius: 0; box-shadow: none; }
	.b-office--right .container { display: block; }
}

/* Answer-first summary (AEO) and related links */
.quick-answer { background: var(--mist-50); border-left: 4px solid var(--plum); border-radius: 0 12px 12px 0; padding: 20px 24px; font-size: 1.1rem; margin: 0 0 40px; color: var(--ink); }
.breadcrumbs span[aria-current] { color: var(--plum); font-weight: 600; }
.related .checklist a { font-weight: 500; }

/* =====================================================================
   Responsive hardening (mobile 320+, tablet, laptop, desktop, large)
   ===================================================================== */
html, body { overflow-x: clip; }
.split > *, .tiles > *, .cards > *, .offices > *, .office-split > *, .practice-body > *, .hero .container > *, .b-hero-grid > *, .b-feature > *, .quotes > *, .b-quote-grid > *, .fy-form .row > *, .posts > * { min-width: 0; }
.office-details a, .office-details li, .office-card a, .footer-grid a, .phone, address, .form-card, .entry { overflow-wrap: anywhere; }
.fy-form .row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.fy-form input, .fy-form select, .fy-form textarea { font-size: 16px; }
[id] { scroll-margin-top: 110px; }
iframe, video, embed { max-width: 100%; }

/* Nav: switch to the compact menu below 1081px so tablets never get a cramped bar */
@media (min-width: 1081px) {
	.nav-toggle { display: none; }
	.main-nav li:nth-last-child(-n+3) > .sub-menu { left: auto; right: 0; }
	.main-nav .menu-item-has-children:hover > .sub-menu, .main-nav .menu-item-has-children:focus-within > .sub-menu, .main-nav .menu-item-has-children.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.sub-toggle { display: none; }
}
@media (min-width: 1081px) and (hover: none) {
	.main-nav .menu-item-has-children > a::after { display: none; }
	.sub-toggle { display: inline-flex; }
	/* .main-nav a is display:block, so without this the toggle button
	   (a sibling after the link, not inside it) drops to its own line
	   below the link instead of sitting beside it. */
	.main-nav .menu-item-has-children { display: flex; align-items: center; }
}
@media (max-width: 1080px) {
	.nav-toggle { display: inline-block; min-height: 44px; }
	.main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--mist); padding: 12px 20px 20px; display: none; max-height: calc(100vh - 140px); overflow: auto; box-shadow: 0 18px 30px rgba(51, 36, 51, .12); }
	.main-nav.is-open { display: block; animation: navIn .22s ease; }
	.main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav li { border-bottom: 1px solid var(--mist-50); }
	.main-nav a { padding: .95em .4em; }
	.main-nav .menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; }
	.main-nav .menu-item-has-children > a { flex: 1; }
	.main-nav .menu-item-has-children > a::after { display: none; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 14px; min-width: 0; flex-basis: 100%; }
	.js .main-nav .sub-menu { display: none; }
	.js .main-nav .is-open > .sub-menu { display: flex; animation: navIn .2s ease; }
	.main-nav .nav-cta > a { margin: 12px 0 4px; text-align: center; }
	.main-nav .nav-cta { border-bottom: 0; }
	.hero .container, .split, .practice-body, .office-split { grid-template-columns: 1fr; }
	.sidebar { position: static; }
	.quotes, .posts { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr 1fr; }
	.footer-grid > :first-child { grid-column: 1 / -1; }
	html.nav-open { overflow: hidden; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.sub-toggle { appearance: none; background: none; border: 0; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--plum); border-radius: 8px; flex-shrink: 0; }
.sub-toggle:hover { background: var(--mist-50); }
.sub-toggle span { width: .55em; height: .55em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.sub-toggle[aria-expanded='true'] span { transform: rotate(-135deg) translate(-2px, -2px); }
@media (max-width: 1080px) { .sub-toggle { display: inline-flex; } }

@media (min-width: 641px) and (max-width: 1080px) {
	.tiles { grid-template-columns: repeat(2, 1fr); }
	.tile--feature { grid-column: 1 / -1; }
	.b-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 920px) { .b-tiles, .b-steps, .b-quote-grid, .b-feature { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
	body { font-size: 1rem; }
	.section { padding: 48px 0; }
	.container { width: min(100% - 32px, var(--max)); }
	.btn { width: 100%; justify-content: center; padding: 1em 1.2em; min-height: 48px; }
	.btn-row { gap: 10px; }
	.btn-row .btn { flex: 1 1 100%; }
	.hero-points, .b-points { gap: 6px 10px; }
	.footer-grid { grid-template-columns: 1fr; }
	.office-details li { grid-template-columns: 1fr; gap: 2px; }
	.form-card, .office, .side-card { padding: 22px; }
	.b-office-card { padding: 24px; }
	.utility .container { justify-content: center; text-align: center; }
	.faq-list details { padding: 0 16px; }
	.quotes, .b-quote-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 8px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
	.quotes::-webkit-scrollbar, .b-quote-grid::-webkit-scrollbar { display: none; }
	.quote, .b-quote { scroll-snap-align: center; }
}
@media (max-width: 380px) { h1 { font-size: 2.1rem; } .site-logo img { height: 44px; } .utility { font-size: .8rem; } }
@media (min-width: 1600px) { :root { --max: 1360px; } html { font-size: 106%; } }
@media (min-width: 2200px) { :root { --max: 1520px; } html { font-size: 112%; } }
@media (hover: none) { .btn, .main-nav a, .faq-list summary, .footer-grid a { min-height: 44px; } }

/* =====================================================================
   Interactivity
   ===================================================================== */
.scroll-progress { position: fixed; z-index: 120; left: 0; top: 0; height: 3px; width: 100%; background: var(--plum-500); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.admin-bar .scroll-progress { top: 32px; }
.site-header { transition: box-shadow .25s, background .25s; }
.site-header .container { transition: min-height .25s; }
.site-logo img { transition: height .25s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(51, 36, 51, .1); }
.site-header.is-scrolled .container { min-height: 70px; }
.site-header.is-scrolled .site-logo img { height: 48px; }

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

.main-nav a { position: relative; transition: background .2s, color .2s; }
.btn { transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(51, 36, 51, .22); }
.btn:active { transform: translateY(0); box-shadow: none; }
.tile, .b-tile, .card, .post-card, .office { transition: transform .25s, box-shadow .25s, border-color .25s, background .25s; }
.card:hover, .post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile .tile-icon, .b-tile .tile-icon { transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.tile:hover .tile-icon, .b-tile:hover .tile-icon { transform: scale(1.12) rotate(-4deg); }
.tile-more::after { display: inline-block; transition: transform .2s; }
.tile:hover .tile-more::after, .b-tile:hover .tile-more::after, .b-feature:hover .tile-more::after { transform: translateX(5px); }
.b-feature { transition: transform .25s, box-shadow .25s; }
.b-feature:hover { box-shadow: 0 22px 44px rgba(51, 36, 51, .25); }
.hero-photo, .b-arch { transition: transform .5s; }
.hero-photo:hover, .b-hero-photo:hover .b-arch { transform: translateY(-4px); }
.steps li::before { transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), background .2s; }
.steps li:hover::before { transform: scale(1.12); background: var(--plum-500); }
.faq-list details { transition: box-shadow .25s, border-color .25s; }
.faq-list details:hover { border-color: var(--plum-500); }
.faq-list details[open] { box-shadow: var(--shadow); border-color: var(--plum-500); }
.faq-list details[open] p { animation: faqIn .3s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq-list summary { transition: color .2s; }
.faq-list summary:hover { color: var(--plum-500); }

/* Floating helpers */
.to-top { position: fixed; z-index: 80; right: 18px; bottom: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--plum); color: var(--white); cursor: pointer; box-shadow: 0 8px 22px rgba(51, 36, 51, .3); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s, background .2s; display: grid; place-content: center; }
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--plum-500); }
.mobile-bar { display: none; }
@media (max-width: 767px) {
	.mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; z-index: 100; left: 0; right: 0; bottom: 0; background: var(--plum); box-shadow: 0 -6px 20px rgba(0, 0, 0, .25); padding-bottom: env(safe-area-inset-bottom); }
	.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; color: var(--mist); text-decoration: none; font-size: .78rem; font-weight: 600; border-right: 1px solid rgba(217, 224, 224, .2); }
	.mobile-bar a:last-child { background: var(--mist); color: var(--plum); border: 0; }
	.mobile-bar svg { width: 18px; height: 18px; }
	body { padding-bottom: 64px; }
	.to-top { bottom: 76px; right: 12px; width: 44px; height: 44px; }
}

/* On this page */
.toc { background: var(--mist-50); border: 1px solid var(--mist); border-radius: var(--radius); padding: 20px 22px; }
.toc-title { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--plum-500); margin: 0 0 .6em; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: .4em 0 .4em 14px; text-decoration: none; color: var(--ink-soft); font-size: .95rem; border-left: 2px solid var(--mist); transition: color .2s, border-color .2s; }
.toc a:hover, .toc a.is-active { color: var(--plum); border-left-color: var(--plum); font-weight: 600; }
.toc--inline { margin: 0 0 2em; }
@media (max-width: 1080px) { .sidebar .toc { display: none; } }

/* Maps */
.office-map, .b-office, .map-frame-wrap { position: relative; }
.map-lock { position: absolute; inset: 0; z-index: 0; width: 100%; border: 0; background: rgba(51, 36, 51, 0); color: transparent; cursor: pointer; display: grid; place-content: end center; padding: 0 0 14px; font: 600 .85rem var(--font-body); transition: background .2s, color .2s; }
.map-lock:hover, .map-lock:focus-visible { background: rgba(51, 36, 51, .35); color: var(--white); }
@media (hover: none) { .map-lock { color: var(--white); background: linear-gradient(to top, rgba(51, 36, 51, .55), transparent 40%); } }
.office-map .map-lock { z-index: 2; }

/* Forms */
.fy-form [aria-invalid='true'] { border-color: #b3261e; background: #fdf4f3; }
.field-error { color: #b3261e; font-size: .85rem; font-weight: 500; }
.fy-form button[disabled] { opacity: .7; cursor: progress; }

/* Questionnaire checklist */
.check-progress { height: 8px; background: var(--mist); border-radius: 99px; overflow: hidden; margin: 0 0 1.2em; }
.check-fill { height: 100%; width: 0; background: var(--plum); border-radius: 99px; transition: width .35s ease; }
.check-label { font-weight: 600; color: var(--plum); margin: 1.2em 0 .4em; }
.checklist.is-interactive li { padding-left: 0; }
.checklist.is-interactive li::before { display: none; }
.checklist .tick { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: .55em .7em; border-radius: 10px; transition: background .2s; }
.checklist .tick:hover { background: var(--mist-50); }
.checklist .tick input { appearance: none; flex: 0 0 24px; width: 24px; height: 24px; margin-top: 2px; border: 2px solid var(--plum-500); border-radius: 7px; background: var(--white); display: grid; place-content: center; cursor: pointer; transition: background .2s; }
.checklist .tick input::after { content: ''; width: 11px; height: 6px; border-left: 3px solid var(--white); border-bottom: 3px solid var(--white); transform: rotate(-45deg) scale(0); transition: transform .15s; margin-top: -2px; }
.checklist .tick input:checked { background: var(--plum); border-color: var(--plum); }
.checklist .tick input:checked::after { transform: rotate(-45deg) scale(1); }
.checklist .tick input:checked + span { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: var(--mist-300); }

/* FAQ search */
.faq-tools { max-width: 860px; margin: 0 auto 40px; }
.faq-search { position: relative; }
.faq-search input { width: 100%; font: 400 1.05rem var(--font-body); padding: 1em 1.2em 1em 3em; border: 1.5px solid var(--mist-300); border-radius: 999px; background: var(--white); }
.faq-search input:focus { border-color: var(--plum-500); outline: none; box-shadow: 0 0 0 3px rgba(93, 68, 93, .2); }
.faq-search svg { position: absolute; left: 1.1em; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--plum-500); }
.faq-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; justify-content: center; }
.faq-chips a { padding: .5em 1.1em; border-radius: 999px; border: 1.5px solid var(--mist-300); text-decoration: none; color: var(--plum); font-weight: 500; font-size: .92rem; transition: background .2s, color .2s, border-color .2s; }
.faq-chips a:hover { background: var(--plum); color: var(--white); border-color: var(--plum); }
.faq-status { text-align: center; color: var(--ink-soft); margin: 10px 0 0; min-height: 1.4em; font-size: .92rem; }

/* Practice tiles: feature fills two columns and two rows; last tile fills the gap */
@media (min-width: 1081px) {
	.tiles > .tile--feature { grid-column: span 2; grid-row: span 2; }
	.tiles > .tile--feature h3 { font-size: 2rem; }
	.tiles > .tile--feature p { font-size: 1.1rem; }
}
.tile-more::after { margin-left: .35em; }
.section--plum a:not(.btn) { color: var(--mist); }
.section--plum a:not(.btn):hover { color: var(--white); }
.b-office-card--plum a:not(.btn) { color: var(--mist); }
.office-section .office-lead a, .section--mist .office-lead a { color: var(--plum); font-weight: 600; }

.tile-pills { list-style: none; margin: 0 0 1.4em; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tile-pills li { border: 1px solid rgba(217, 224, 224, .35); border-radius: 999px; padding: .35em 1em; font-size: .9rem; color: var(--mist); }
@media (max-width: 1080px) { .tile-pills { display: none; } }

/* Hero photo: landscape source inside a tall arch. Keep the subject (right of frame) in view. */
.hero-photo img, .b-arch img { object-fit: cover; object-position: 70% 15%; }
@media (max-width: 920px) { .hero-photo, .b-arch { aspect-ratio: 4 / 5; } }

/* =====================================================================
   Option C: editorial (square corners, serif headings, photo-led hero)
   ===================================================================== */
.design-c { --font-head: 'Newsreader', Georgia, 'Times New Roman', serif; --font-body: 'Figtree', 'Inter', system-ui, sans-serif; --c-tile: #f0f3f3; font-weight: 300; color: #4a404a; }
.design-c h1, .design-c h2, .design-c h3 { font-weight: 500; letter-spacing: -.012em; color: var(--plum); }
/* Dark-background components (interior pages only — the homepage's own
   dark sections use their own c-prefixed classes) already set their
   headings to white/light text for contrast; restate that here with
   matching specificity so the blanket .design-c heading color above
   (tuned for the light sections most headings sit on) doesn't win and
   silently make them unreadable against their own dark background. */
.design-c .section--plum h2, .design-c .section--plum h3, .design-c .side-card:not(.side-card--light) h3, .design-c .tile--feature h3, .design-c .page-hero--photo h1 { color: var(--white); }
/* header + top bar */
.design-c .utility { background: var(--plum); }
.design-c .utility .container { justify-content: center; }
.design-c .utility-center { letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; color: var(--mist); }
.design-c .site-header { border-bottom: 1px solid #e6eaea; box-shadow: none; }
.design-c .site-header .container { min-height: 110px; gap: 32px; }
.design-c .site-logo img { height: 74px; }
.design-c .site-header.is-scrolled .container { min-height: 78px; }
.design-c .site-header.is-scrolled .site-logo img { height: 52px; }
.design-c .main-nav { margin-inline: auto; }
.design-c .main-nav a { font-weight: 400; font-size: .98rem; border-radius: 0; background: none !important; padding: .7em 1em; }
.design-c .main-nav a:hover { color: var(--plum-500); }
.design-c .main-nav .nav-cta > a { background: none !important; color: var(--plum); margin: 0; padding: .7em 1em; }
.design-c .main-nav .nav-primary > a { font-weight: 400; }
.c-btn { display: inline-flex; align-items: center; gap: .8em; padding: 1.05em 1.7em; background: var(--plum); color: var(--white); border: 1px solid var(--plum); border-radius: 0; font: 400 1rem/1 var(--font-body); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s, color .2s; }
.c-btn:hover { background: var(--plum-700); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(51, 36, 51, .22); }
.c-btn .arr, .c-textlink .arr, .c-more .arr { transition: transform .2s; flex: none; }
.c-btn:hover .arr, .c-textlink:hover .arr, .c-tile:hover .c-more .arr { transform: translateX(4px); }
.c-btn--light { background: var(--white); color: var(--plum); border-color: var(--white); }
.c-btn--light:hover { background: var(--mist); color: var(--plum); }
.c-textlink { display: inline-flex; align-items: center; gap: .6em; color: var(--ink); text-decoration: none; font-size: .95rem; padding-bottom: 6px; border-bottom: 1px solid #c9cfcf; transition: border-color .2s, color .2s; }
.c-textlink:hover { border-color: var(--plum); color: var(--plum); }
.design-c .c-hdr-btn { margin-left: 8px; }
.c-eyebrow { display: block; font: 700 .72rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--plum); margin: 0 0 1.1em; }
.c-eyebrow--lg { font-size: .98rem; letter-spacing: .16em; color: var(--plum-500); }
.c-kicker { display: block; font: 400 .72rem/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #7d737d; }
.c-body { font-size: 1.12rem; line-height: 1.75; color: #5d535d; }

/* hero */
.c-hero { position: relative; background: var(--white); overflow: hidden; }
.c-hero-photo { position: absolute; inset: 0 0 0 36%; }
.c-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 18%; display: block; }
.c-hero-fallback { width: 100%; height: 100%; background: var(--mist); }
.c-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, #fff 38%, rgba(255, 255, 255, .88) 48%, rgba(255, 255, 255, .35) 62%, rgba(255, 255, 255, 0) 78%); pointer-events: none; }
.c-hero-inner { position: relative; z-index: 2; min-height: 560px; display: flex; align-items: center; padding: 64px 0; }
.c-hero-copy { max-width: 760px; }
.c-hero h1 { font-size: clamp(2.6rem, 4.6vw, 4.2rem); line-height: 1.05; margin: 0 0 .5em; }
.c-hero h1 em { display: block; font-style: italic; font-weight: 400; color: #7a627a; }
.c-lead { font-size: 1.2rem; line-height: 1.75; color: #6a606a; max-width: 30em; margin: 0 0 2em; }
.c-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.c-strip { background: var(--white); border-top: 1px solid #e6eaea; border-bottom: 1px solid #e6eaea; position: relative; z-index: 3; }
.c-strip ul { list-style: none; margin: 0; padding: 18px 0; display: flex; justify-content: space-between; gap: 12px 40px; flex-wrap: wrap; font-size: .88rem; color: #857b85; }
.c-strip li { position: relative; flex: 1; text-align: center; }
.c-strip li:first-child { text-align: left; }
.c-strip li:last-child { text-align: right; }
.c-strip li.is-strong { color: var(--plum); font-weight: 500; }
.c-strip li + li::before { content: ''; position: absolute; left: -20px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: #9a909a; }
.c-video-wrap { position: relative; width: 100%; max-width: 820px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.c-video-wrap iframe, .c-video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* sections */
.c-section { padding: clamp(64px, 8vw, 104px) 0; }
.c-section--mist { background: var(--mist); }
.c-head { margin-bottom: 40px; }
.c-head h2, .c-care h2, .c-ep h2, .c-about h2, .c-faqwrap h2, .c-start h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.12; margin: 0 0 .5em; }
.c-head--split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.c-head--split p { margin: 0; font-size: 1.12rem; color: #5d535d; padding-bottom: 6px; }
.c-head--cta { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.c-head--cta .c-body { max-width: 30em; margin-bottom: 0; }

/* tiles */
.c-tiles { display: grid; grid-template-columns: 1.36fr 1fr 1fr; grid-auto-rows: minmax(220px, auto); gap: 12px; }
.c-tile { display: flex; flex-direction: column; background: var(--c-tile); border: 1px solid #cfd7d7; padding: 28px 30px 26px; text-decoration: none; color: #5d535d; transition: transform .25s, box-shadow .25s, border-color .25s; }
.c-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(51, 36, 51, .14); border-color: var(--plum-500); color: #5d535d; }
.c-tile h3 { font-size: 1.55rem; margin: 1.1em 0 .35em; line-height: 1.2; }
.c-tile p { flex: 1; margin: 0 0 1.2em; font-size: 1.02rem; line-height: 1.6; }
.c-more { display: inline-flex; align-items: center; gap: .6em; font-weight: 500; font-size: .85rem; color: var(--plum); }
.c-tile--core { grid-row: span 2; background: var(--plum); border-color: var(--plum); color: var(--mist); justify-content: flex-start; padding: 34px 36px; }
.c-tile--core:hover { color: var(--mist); border-color: var(--plum); }
.c-tile--core .c-kicker { color: var(--mist-300); }
.c-tile--core h3 { color: var(--white); font-size: 2.1rem; margin-top: auto; }
.c-tile--core p { flex: 0; font-size: 1.1rem; max-width: 20em; margin-bottom: auto; }
.c-tile--core .c-more { color: var(--white); margin-top: 2.5em; }

/* long-term care */
.c-care { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.c-stat { position: relative; background: var(--plum); color: var(--mist); padding: 40px 36px; overflow: hidden; max-width: 440px; }
.c-stat::after { content: ''; position: absolute; right: -30px; top: -70px; width: 130px; height: 130px; border: 1px solid rgba(217, 224, 224, .35); border-radius: 50%; }
.c-stat .c-kicker { color: var(--mist-300); }
.c-stat-num { font-family: var(--font-head); font-size: clamp(2.8rem, 5vw, 3.8rem); color: var(--white); margin: .5em 0 .3em; line-height: 1; }
.c-stat-text { margin: 0; max-width: 16em; color: var(--mist); }
.c-quote { margin: 1.6em 0 2em; padding: 4px 0 4px 20px; border-left: 2px solid var(--mist-300); font-family: var(--font-head); font-size: 1.2rem; line-height: 1.6; color: #5d535d; }

/* estate list */
.c-ep { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 7vw, 96px); align-items: start; }
.c-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid #b9c4c4; }
.c-list li { display: grid; grid-template-columns: 58px 1fr; gap: 0; padding: 22px 0; border-top: 1px solid #b9c4c4; transition: background .2s, padding .2s; }
.c-list li:hover { background: rgba(255, 255, 255, .35); padding-left: 10px; }
.c-num { font-family: var(--font-head); font-size: 1.1rem; color: #7a707a; padding-top: 2px; }
.c-list h3 { font-size: 1.4rem; margin: 0 0 .3em; }
.c-list p { margin: 0; color: #5d535d; font-size: 1.02rem; }

/* about */
.c-about { display: grid; grid-template-columns: 1.05fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.c-panel { background: var(--mist); padding: 17px; aspect-ratio: 4 / 3.1; }
.c-panel-inner { height: 100%; border: 1px solid #aebbbb; padding: 22px 26px; display: flex; flex-direction: column; justify-content: space-between; background: #dde4e4; }
.c-panel-title { font-family: var(--font-head); font-weight: 600; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; color: var(--plum); margin: 0; max-width: 6em; }
.c-panel--photo { padding: 0; aspect-ratio: 4 / 4.4; }
.c-panel--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.c-edu { margin-top: 2em; padding-top: 1.4em; border-top: 1px solid #d8dede; }
.c-edu-title { font: 700 .72rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--plum); margin: 0 0 1em; }
.c-edu ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.c-edu li { position: relative; padding: 10px 0 10px 16px; font-size: .86rem; line-height: 1.45; border-bottom: 1px solid #e3e8e8; color: #6a606a; }
.c-edu li::before { content: ''; position: absolute; left: 0; top: 1.05em; width: 4px; height: 4px; border-radius: 50%; background: var(--plum-500); }

/* offices */
.c-offices { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #b9c4c4; background: #eef2f2; }
.c-office { padding: 30px 32px 28px; }
.c-office + .c-office { border-left: 1px solid #b9c4c4; }
.c-office h3 { font-size: 1.7rem; margin: .5em 0 .5em; }
.c-office address { font-style: normal; line-height: 1.7; color: #5d535d; margin-bottom: 1em; }
.c-office-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; }
.c-office-links a { font-size: .85rem; color: var(--plum); text-decoration: none; border-bottom: 1px solid #b9c4c4; padding-bottom: 3px; overflow-wrap: anywhere; transition: border-color .2s; }
.c-office-links a:hover { border-color: var(--plum); }

/* FAQ + form */
.c-faqwrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.c-faq { margin: 0 0 1.6em; border-bottom: 1px solid #d3d9d9; }
.c-faq details { border-top: 1px solid #d3d9d9; }
.c-faq summary { list-style: none; cursor: pointer; padding: 17px 36px 17px 0; font-family: var(--font-head); font-size: 1.15rem; color: var(--plum); position: relative; }
.c-faq summary::-webkit-details-marker { display: none; }
.c-faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 300 1.5rem var(--font-body); color: #857b85; }
.c-faq details[open] summary::after { content: '\2212'; }
.c-faq details p { margin: 0 0 1.1em; color: #5d535d; }
.c-faq summary:hover { color: var(--plum-500); }
.c-start { background: var(--mist); padding: 38px 40px 40px; }
.c-start h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.c-form { display: grid; gap: 14px; margin-top: 1.4em; }
.c-form label { display: grid; gap: 6px; font-size: .78rem; color: #6a606a; }
.c-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.c-form input, .c-form select { width: 100%; font: 400 .95rem var(--font-body); padding: 1em 1em; border: 1px solid #c3cdcd; border-radius: 0; background: var(--white); color: var(--ink); }
.c-form input:focus, .c-form select:focus { border-color: var(--plum-500); outline: none; box-shadow: 0 0 0 3px rgba(93, 68, 93, .18); }
.c-form .c-btn { justify-self: start; margin-top: 6px; }
.c-note { font-size: .8rem; color: #6a606a; margin: 6px 0 0; }
.c-note a { color: var(--plum); }

/* closing band + footer */
.c-band { background: var(--plum); color: var(--mist); padding: clamp(60px, 7vw, 92px) 0; }
.c-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.c-band h2 { color: var(--white); font-size: clamp(2rem, 3.6vw, 3rem); max-width: 17em; margin: 0 0 .4em; }
.c-band .c-eyebrow { color: var(--mist); }
.c-band p { margin: 0; color: var(--mist); font-size: 1.1rem; }
.c-footer { background: var(--plum); border-top: 1px solid rgba(217, 224, 224, .25); }
.c-foot-grid { display: grid; grid-template-columns: 1.4fr 1.1fr 1fr 1fr; gap: 40px; padding: 56px 0 44px; }
.c-foot-grid img { width: 210px; margin-bottom: 20px; }
.c-purpose { border: 1px dashed rgba(217, 224, 224, .5); padding: 14px 16px; font-size: .8rem; display: grid; gap: 6px; color: var(--mist); max-width: 270px; }
.c-purpose strong { letter-spacing: .1em; text-transform: uppercase; font-size: .68rem; color: var(--white); }
.c-motto { font-family: var(--font-head); font-style: italic; font-size: 1.2rem; color: var(--white); max-width: 16em; }
.c-foot-title { font-family: var(--font-head); font-size: 1.2rem; color: var(--white); margin: 0 0 1em; }
.c-foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7em; font-size: .86rem; color: var(--mist); }
.c-foot-grid a, .c-foot-legal a { color: var(--mist); text-decoration: none; }
.c-foot-grid a:hover, .c-foot-legal a:hover { color: var(--white); text-decoration: underline; }
.c-social { display: flex; gap: 14px; margin-top: 18px; }
.c-social a { color: var(--mist); display: inline-flex; }
.c-social a:hover { color: var(--white); }
.c-avvo-badge { margin-top: 20px; }
.c-foot-legal { display: flex; justify-content: space-between; gap: 12px 30px; flex-wrap: wrap; padding: 22px 0 36px; border-top: 1px solid rgba(217, 224, 224, .25); font-size: .74rem; color: var(--mist-300); }

/* Option C responsive */
@media (max-width: 1080px) {
	.design-c .site-header .container { min-height: 84px; }
	.design-c .site-logo img { height: 58px; }
	.design-c .c-hdr-btn { display: none; }
	.design-c .main-nav { margin: 0; }
	.c-hero-photo { inset: 0; }
	.c-hero::after { background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .92) 45%, rgba(255, 255, 255, .55) 100%); }
	.c-tiles { grid-template-columns: 1fr 1fr; }
	.c-tile--core { grid-column: 1 / -1; grid-row: auto; }
	.c-tile--core h3 { margin-top: 1.6em; }
	.c-care, .c-ep, .c-about, .c-faqwrap { grid-template-columns: 1fr; }
	.c-head--split { grid-template-columns: 1fr; gap: 14px; }
	.c-foot-grid { grid-template-columns: 1fr 1fr; }
	.c-foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
	.c-hero-inner { min-height: 0; padding: 330px 0 48px; align-items: flex-end; }
	.c-hero-photo { inset: 0 0 auto 0; height: 340px; }
	.c-hero-photo img { object-position: 68% 12%; }
	.c-hero::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 240px, #fff 340px); }
	.c-actions { gap: 18px; }
	.c-actions .c-btn { width: 100%; justify-content: space-between; }
	.c-strip ul { flex-direction: column; gap: 6px; }
	.c-strip li, .c-strip li:first-child, .c-strip li:last-child { text-align: left; }
	.c-strip li + li::before { display: none; }
	.c-tiles, .c-offices, .c-row, .c-edu ul { grid-template-columns: 1fr; }
	.c-office + .c-office { border-left: 0; border-top: 1px solid #b9c4c4; }
	.c-head--cta .c-btn, .c-band .c-btn, .c-form .c-btn { width: 100%; justify-content: space-between; }
	.c-start { padding: 26px 22px; }
	.c-foot-grid { grid-template-columns: 1fr; }
	.c-foot-legal { flex-direction: column; }
	.c-list li { grid-template-columns: 44px 1fr; }
}
@media (prefers-reduced-motion: reduce) { .c-tile, .c-btn, .c-list li { transition: none; } }

/* About portrait: wide source in a 4:5 frame, keep the subject in view */
.portrait img, .c-panel--photo img { object-position: 70% 15%; }

/* Five practice areas: feature tile + four tiles */
@media (min-width: 1081px) { .b-tiles { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 641px) and (max-width: 1080px) { .b-tiles { grid-template-columns: repeat(2, 1fr); } }

/* One featured review: centered, comfortable reading width */
.quotes.is-single, .b-quote-grid.is-single { grid-template-columns: minmax(0, 760px); justify-content: center; }
.quotes.is-single .quote p, .b-quote-grid.is-single .b-quote blockquote { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.quote cite::before, .b-quote figcaption::before { content: '— '; }
@media (max-width: 640px) { .quotes.is-single, .b-quote-grid.is-single { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; overflow: visible; margin-inline: 0; padding-inline: 0; } }

.b-quote-grid.is-single { justify-content: start; }

/* WPForms consultation form — styled to match the former .fy-form */
.fy-wpf-wrap, #form .wpforms-container { margin: 0; }
#form .wpforms-container .wpforms-form .wpforms-field-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
#form .wpforms-container .wpforms-field { padding: 0; margin: 0; grid-column: 1 / -1; }
#form .wpforms-container .wpforms-field.fy-half { grid-column: auto; }
#form .wpforms-container .wpforms-field-label { display: block; margin: 0 0 6px; font: 600 .95rem var(--font-body); color: var(--plum); }
#form .wpforms-container .wpforms-required-label { color: var(--plum); }
#form .wpforms-container input[type=text], #form .wpforms-container input[type=email], #form .wpforms-container input[type=tel], #form .wpforms-container select, #form .wpforms-container textarea { width: 100%; max-width: 100%; font: 400 1rem var(--font-body); padding: .85em 1em; height: auto; border: 1.5px solid var(--mist-300); border-radius: 10px; background: var(--white); color: var(--ink); box-shadow: none; box-sizing: border-box; }
#form .wpforms-container textarea { min-height: 0; }
#form .wpforms-container input:focus, #form .wpforms-container select:focus, #form .wpforms-container textarea:focus { border-color: var(--plum-500); outline: none; box-shadow: 0 0 0 3px rgba(93, 68, 93, .2); }
#form .wpforms-container .fy-form-note { display: block; color: var(--ink-soft); font-weight: 400; }
#form .wpforms-container .wpforms-submit-container { padding: 0; margin-top: 16px; }
#form .wpforms-container button.wpforms-submit { cursor: pointer; }
#form .wpforms-container label.wpforms-error, #form .wpforms-container .wpforms-error-container { color: #6b2020; font-size: .9rem; }
#form .wpforms-container input.wpforms-error, #form .wpforms-container select.wpforms-error, #form .wpforms-container textarea.wpforms-error { border-color: #b33a3a; }
#form .wpforms-container .wpforms-form button.wpforms-submit { display: inline-flex; align-items: center; gap: .5em; padding: .95em 1.7em; height: auto; border-radius: 999px; border: 2px solid var(--plum); background: var(--plum); color: var(--white); font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer; box-shadow: none; transition: background .2s, color .2s, border-color .2s; }
#form .wpforms-container .wpforms-form button.wpforms-submit:hover, #form .wpforms-container .wpforms-form button.wpforms-submit:focus { background: var(--plum-700); border-color: var(--plum-700); color: var(--white); }
