/* Ament Law Group's editorial style, shared by its three probate resources.
   Keep colors, type and spacing aligned with ament.law/editorial.css. */
:root {
  --navy: #101b38;
  --navy-dark: #101b38;
  --navy-mid: #263955;
  --gold: #101b38;
  --canvas: #f3f5f8;
  --muted: #525e70;
  --radius: 0;
  --max: 1280px;
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}
body { background: #fff; }
.container { padding-inline: clamp(24px, 4vw, 56px); }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; }
h2 { font-size: clamp(2rem, 3.5vw, 3.4rem); line-height: 1.13; letter-spacing: -.025em; }
h3 { font-size: 1.5rem; line-height: 1.3; }
:is(p, li) a { text-decoration: underline; text-underline-offset: 4px; }
:is(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid #101b38; outline-offset: 4px; }
main section[id] { scroll-margin-top: 156px; }
header { background: #fff; backdrop-filter: none; }
.header-inner { min-height: 96px; height: auto; padding-block: 16px; }
.logo { flex-direction: row; align-items: center; gap: 14px; min-width: 0; flex-shrink: 1; }
.logo-mark { width: 58px; height: auto; flex-shrink: 0; }
.logo-copy { display: flex; flex-direction: column; }
.logo-name { font: 400 clamp(1.25rem, 2vw, 1.65rem)/1.15 var(--font-serif); letter-spacing: -.015em; }
.logo-tag { font-size: .75rem; line-height: 1.5; margin-top: 5px; letter-spacing: .06em; }
.header-phone { font-size: 1rem; font-weight: 500; }
.header-right { flex-shrink: 0; }
.nav-toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; margin-left: auto; }
nav#main-nav { background: #fff; border-top: 1px solid var(--border); }
nav#main-nav ul { justify-content: flex-start; gap: 0 24px; }
nav#main-nav a { color: #525e70; font-size: .9375rem; padding: 14px 0; }
nav#main-nav a:hover, nav#main-nav a.nav-active { color: #101b38; }
nav#main-nav a.nav-active { box-shadow: inset 0 -2px 0 #101b38; }
nav#main-nav a:focus-visible { outline-color: #101b38; }
:is(.btn-primary, .btn-secondary, .btn-outline, .btn-outline-light, .btn-submit) {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 22px; border-radius: 0; border-width: 1px;
  font: 500 1rem/1.4 var(--font); text-align: center; white-space: normal;
  text-decoration: none; box-shadow: none; transform: none;
}
.btn-primary { border: 1px solid #101b38; }
.btn-primary:hover { background: #263955; box-shadow: none; transform: none; }
.hero { background: #101b38; padding-block: clamp(48px, 6vw, 88px); }
.hero::before { display: none; }
.hero-content { max-width: 960px; }
.hero .firm-identity { font-size: 1rem; line-height: 1.6; margin-bottom: 28px; color: #dce3ee; max-width: 780px; padding-bottom: 24px; border-bottom: 1px solid #566177; }
.hero .firm-identity strong { color: #fff; font-weight: 500; }
.hero-eyebrow, .eyebrow { font-size: .875rem; font-weight: 500; letter-spacing: .075em; margin-bottom: 24px; }
.hero-eyebrow { color: #cbd3e2; margin-top: 28px; }
.hero h1 { font: 400 clamp(3rem, 5.3vw, 5.5rem)/1.06 var(--font-serif); letter-spacing: -.04em; max-width: 920px; text-wrap: balance; margin-bottom: 28px; }
.hero p:not(.firm-identity) { color: #e3e8f0; font-size: 1.0625rem; line-height: 1.75; max-width: 680px; margin-bottom: 28px; }
.hero .btn-primary { background: #fff; color: #101b38; border-color: #fff; }
.hero .btn-primary:hover { background: #e9edf3; border-color: #e9edf3; }
.hero .btn-outline { border-color: #a8b2c2; }
.hero-actions { gap: 20px; margin-bottom: 28px; }
.hero-meta { gap: 12px 28px; }
.hero-meta span { color: #cbd3e2; font-size: .875rem; }
.trust-bar { background: #f3f5f8; }
.trust-bar-inner { justify-content: space-between; gap: 20px 24px; }
.trust-item { display: block; }
.trust-item svg { display: none; }
.trust-item strong { font-size: .875rem; font-weight: 500; margin-bottom: 6px; }
.trust-item span { font-size: .875rem; }
.section { padding-block: clamp(56px, 7vw, 100px); }
.section-alt { background: #f3f5f8; border: 0; }
#process { background: #fff; }
.section-header { text-align: left; max-width: 860px; margin: 0 0 40px; }
.section-lead { font-size: 1.125rem; line-height: 1.75; color: #525e70; }
.three-col, .costs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.info-card, .info-card.accent-left, .cost-card, .attorney-card {
  background: transparent; border: 0; border-top: 1px solid #bdc5d2;
  border-radius: 0; padding: 24px 0; box-shadow: none; min-width: 0;
}
:is(.info-card, .cost-card) :is(p, li) { font-size: 1rem; line-height: 1.75; }
.info-card li, .cost-card li { margin-bottom: 12px; }
.cta-inline { background: transparent; border: 0; border-top: 1px solid #bdc5d2; border-radius: 0; padding: 28px 0 0; }
.cta-inline p { font-size: 1rem; }
.cta-inline .btn-secondary { flex-shrink: 0; }
.process-steps { max-width: 860px; margin: 0; border-top: 1px solid #bdc5d2; }
.process-step { padding-block: 28px; }
.step-num { width: 40px; height: auto; background: transparent; color: #556681; border-radius: 0; font: 400 2rem/1.2 var(--font-serif); align-items: flex-start; justify-content: flex-start; }
.step-body h3 { font-size: 1.5rem; margin-bottom: 12px; }
.step-body p { font-size: 1.0625rem; line-height: 1.8; }
.timeline-note, .checklist-cta, .johnson-box { background: #f3f5f8; border: 0; border-left: 3px solid #101b38; border-radius: 0; padding: 24px 28px; max-width: 860px; margin-inline: 0; font-weight: 400; font-size: 1rem; }
.johnson-box { margin-top: 24px; margin-bottom: 0; }
.checklist-cta > span, .remote-icon { display: none; }
.faq-container { max-width: 1056px; }
.faq-item { padding-block: 24px; }
.faq-item summary { font: 400 clamp(1.25rem, 2vw, 1.5rem)/1.4 var(--font-serif); }
.faq-item p { font-size: 1.0625rem; line-height: 1.8; }
.attorney-grid { max-width: 920px; margin: 0; gap: 40px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.attorney-card { border: 0; padding-top: 0; }
.attorney-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 15%; border: 0; border-radius: 0; background: #dce0e5; }
.attorney-card h3 { font: 400 1.5rem/1.3 var(--font-serif); margin-top: 8px; }
.attorney-card li { font-size: 1rem; }
.attorney-firm { font-size: .9375rem; }
.attorney-card .btn-secondary { align-self: flex-start; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.testimonial-card { border: 0; border-top: 1px solid #bdc5d2; border-radius: 0; background: transparent; padding: 24px 0; margin: 0; }
.testimonial-stars { color: #525e70; font-size: .875rem; letter-spacing: .12em; margin-bottom: 16px; }
.testimonial-card p { font: 400 1.25rem/1.65 var(--font-serif); color: #101b38; margin-bottom: 20px; }
.testimonial-card cite { font: 400 .875rem/1.5 var(--font); color: #525e70; }
.team-cta { text-align: left; margin-top: 12px; padding-top: 28px; }
.contact-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); }
.contact-info, .contact-form-wrap { min-width: 0; }
.contact-item a { overflow-wrap: anywhere; }
.contact-form-wrap { background: #fff; border: 1px solid #bdc5d2; border-radius: 0; padding: clamp(24px, 3vw, 40px); }
.court-info { background: #eef1f6; border: 0; border-left: 3px solid #101b38; border-radius: 0; font-size: .9375rem; line-height: 1.7; padding: 24px; }
.form-group label, .consent-label, .modal-consent { font-size: .9375rem; }
.form-group input, .form-group textarea, .form-group select, .modal-field input { border-radius: 0; font-size: 1rem; }
.form-disclaimer, .modal-note { font-size: .875rem; text-align: left; }
.remote-section, .referral-band, footer { background: #101b38; }
.remote-section .eyebrow { color: #cbd3e2; }
.remote-highlight { border-left-color: #cbd3e2; }
.remote-feature { border-top: 1px solid #566177; padding-top: 24px; }
.remote-feature p, .remote-text p, .referral-band p { color: #d9e0ed; font-size: 1rem; }
.referral-band h3 { font-size: 2rem; }
.referral-band { border-bottom: 1px solid #566177; }
.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-grid > div { min-width: 0; }
.footer-logo { font: 400 1.5rem/1.3 var(--font-serif); }
footer h4 { color: #cbd3e2; font-size: .875rem; }
footer p, footer li { font-size: .9375rem; }
footer a { color: #e3e8f0; overflow-wrap: anywhere; }
.footer-firm-link, .footer-firm-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom p { color: #cbd3e2; font-size: .875rem; }
:is(.hero, .remote-section, .referral-band, footer) :is(a, button):focus-visible { outline-color: #fff; }
.modal { border-radius: 0; max-height: calc(100dvh - 32px); overflow-y: auto; }
.modal h3 { font-size: 1.75rem; }
.modal-icon { display: none; }
.mobile-bar { z-index: 90; border-top: 1px solid #bdc5d2; padding-bottom: env(safe-area-inset-bottom); background: #101b38; }
.mobile-bar[hidden] { display: none; }
.mobile-bar a { min-height: 56px; font-weight: 500; padding: 12px; }
.mobile-bar-contact:focus-visible { outline-color: #fff; outline-offset: -4px; }
.legal-page main .container { max-width: 900px !important; font-size: 1.0625rem; line-height: 1.8; }
.legal-page h1 { font-size: clamp(2.75rem, 5vw, 4.2rem); line-height: 1.12; color: #101b38; margin-bottom: 24px; }
.legal-page h2 { font-size: 1.75rem !important; margin-bottom: 16px; }
.legal-page main { background: #f3f5f8; }
@media (max-width: 1024px) {
  .header-right .btn-primary { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  main section[id] { scroll-margin-top: 112px; }
  .header-inner { gap: 12px; min-height: 88px; }
  .logo-mark { width: 42px; }
  .logo { gap: 10px; }
  .logo-name { font-size: 1.25rem; }
  .logo-tag { font-size: .6875rem; letter-spacing: .02em; }
  .header-right { display: none; }
  nav#main-nav { max-height: calc(100dvh - 100px); overflow-y: auto; box-shadow: 0 12px 20px #101b3814; }
  nav#main-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .hero h1 { font-size: clamp(2.6rem, 8.6vw, 4.4rem); }
  .hero-actions { align-items: stretch; gap: 12px; }
  .hero-meta { gap: 8px; }
  .trust-bar-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: clamp(24px, 4vw, 56px); }
  .three-col, .costs-grid, .contact-layout, .remote-inner, .testimonial-grid { grid-template-columns: minmax(0, 1fr); }
  .three-col, .costs-grid { gap: 8px; }
  .attorney-grid { gap: 28px; }
  .attorney-card h3 { font-size: 1.3rem; }
  .attorney-card li { font-size: .9375rem; }
  .referral-band-inner { align-items: flex-start; }
  footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 480px) {
  .attorney-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .modal { padding: 28px 24px; }
  .step-num { width: 26px; }
  .process-step { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  header, .mobile-bar, .modal, .modal-backdrop, .hero-actions { display: none !important; }
  .hero, .remote-section, .referral-band, footer { background: #fff; color: #000; }
  :is(.hero, .remote-section, .referral-band, footer) :is(h1, h2, h3, h4, p, a, span, strong, div) { color: #000; }
  .section, .hero { padding-block: 24px; }
}


/* Consent stays in normal flow so it cannot cover a form or contact bar. */
.alg-consent { background: #f3f5f8; border-bottom: 1px solid #bdc5d2; padding-block: 20px; }
#load-office-map[hidden], .alg-consent[hidden], [data-analytics-preferences][hidden], #analytics-consent-close[hidden] { display: none; }
.alg-consent-layout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 32px; align-items: center; }
.alg-consent h2 { font: 500 1.125rem/1.4 var(--font); letter-spacing: 0; margin: 0 0 6px; }
.alg-consent p { font-size: .9375rem; line-height: 1.6; margin: 0; max-width: 720px; }
#analytics-consent-current { color: #525e70; font-size: .875rem; margin-top: 6px; }
.alg-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; max-width: 380px; }
.alg-consent-actions button { flex: 1 1 140px; min-height: 44px; border: 1px solid #101b38; border-radius: 0; padding: 10px 14px; background: #fff; color: #101b38; font: 500 .9375rem/1.4 var(--font); cursor: pointer; }
.alg-consent-actions button:hover { background: #e3e8f0; }
.alg-preferences-button { background: transparent; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
:is(.alg-consent button, .alg-preferences-button):focus-visible { outline: 2px solid #526887; outline-offset: 4px; }
.footer-bottom .alg-preferences-button:focus-visible { outline-color: #fff; }

html.alg-consent-pending .alg-consent[hidden] { display: block; }
.legal-page #analytics-consent-title { font-size: 1.125rem !important; }
@media (max-width: 800px) { .alg-consent-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; } .alg-consent-actions { max-width: none; } }
@media print { .alg-consent, html.alg-consent-pending .alg-consent[hidden], [data-analytics-preferences] { display: none; } }
