/* Abraham & Latimore Law Group: shared site styles */
:root {
  --navy: #0A2342;
  --link: #1F4E7F;
  --text: #1F2630;
  --muted: #4A5664;
  --line: #DCE3EA;
  --tint: #EEF2F6;
  --alt: #F6F8FA;
  --on-navy: #C9D3DF;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', Arial, Helvetica, sans-serif;
  --radius: 4px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; }
a { color: var(--link); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); font-weight: 600; line-height: 1.2; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Buttons */
.btn { display: inline-block; background: var(--navy); color: #fff; text-decoration: none; font-weight: 600; padding: 14px 24px; border-radius: var(--radius); border: 1px solid var(--navy); font-family: var(--sans); font-size: 16px; cursor: pointer; line-height: 1.3; }
.btn:hover { background: #12345E; color: #fff; }
.btn-outline { background: #fff; color: var(--navy); }
.btn-outline:hover { background: var(--tint); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--tint); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.more { font-weight: 600; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.logo img { width: 168px; display: block; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--navy); }
.header-cta { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.header-cta .phone { color: var(--navy); font-weight: 600; text-decoration: none; }
.header-cta .btn { padding: 11px 18px; font-size: 15px; }
.menu-toggle { display: none; }
@media (max-width: 960px) {
  .site-header .wrap { flex-wrap: nowrap; }
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .menu-toggle summary { list-style: none; cursor: pointer; font-weight: 600; color: var(--navy); border: 1px solid var(--navy); border-radius: var(--radius); padding: 10px 16px; }
  .menu-toggle summary::-webkit-details-marker { display: none; }
  .menu-panel { position: absolute; left: 0; right: 0; top: 84px; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 24px; z-index: 20; display: flex; flex-direction: column; gap: 2px; }
  .menu-panel a { color: var(--navy); text-decoration: none; font-weight: 500; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-panel .btn { margin-top: 14px; text-align: center; color: #fff; border-bottom: 0; }
  .site-header { position: relative; }
}
@media (min-width: 961px) { .menu-panel { display: none; } }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.tint { background: var(--tint); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 32px; }
.section-head h2 { font-size: 34px; }
.section-head p { color: var(--muted); margin-top: 8px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.lede { font-size: 19px; line-height: 1.6; color: #34404E; }
.prose p + p { margin-top: 16px; }
.prose h2 { font-size: 28px; margin: 36px 0 12px; }
.prose h3 { font-size: 22px; margin: 28px 0 10px; }
.prose ul, .prose ol { padding-left: 22px; margin: 14px 0; }
.prose li + li { margin-top: 6px; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.split > * { flex: 1 1 380px; min-width: 0; }
.split.center { align-items: center; }

/* Home hero */
.hero { background: var(--tint); padding: 88px 0; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-text { flex: 1 1 560px; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: 52px; line-height: 1.15; max-width: 640px; }
.hero .lede { max-width: 600px; }

/* Interior page hero */
.page-hero { background: var(--tint); padding: 64px 0; }
.page-hero h1 { font-size: 44px; line-height: 1.15; max-width: 820px; }
.page-hero .lede { margin-top: 18px; max-width: 760px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }

/* Cards and panels */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.offices { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; }
.offices h2 { font-size: 22px; }
.office { display: flex; flex-direction: column; gap: 2px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.office:last-of-type { border-bottom: 0; padding-bottom: 0; }
.office strong { color: var(--navy); font-weight: 600; }
.office .hours { font-size: 15px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-decoration: none; color: var(--text); }
a.card:hover { border-color: var(--navy); color: var(--text); }
.card .title { font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--navy); }
.card .text { font-size: 15px; }
.card.feature { background: var(--navy); border-color: var(--navy); color: #fff; }
.card.feature .title { color: #fff; }
.card.feature .text { color: var(--on-navy); }
.quote-box { background: var(--navy); color: #fff; padding: 40px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 18px; }
.quote-box blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.55; }
.quote-box .by { font-size: 15px; color: var(--on-navy); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }

/* Lists */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px 40px; }
.checklist li { position: relative; padding-left: 26px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 10px; width: 12px; height: 2px; background: var(--navy); }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.values .panel h3 { font-size: 20px; margin-bottom: 8px; }

/* Attorneys */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.person { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.person img { width: 120px; height: 146px; object-fit: cover; object-position: center top; border-radius: var(--radius); display: block; }
.person h3 { font-size: 22px; }
.person .role { color: var(--muted); }
.bio-head { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.bio-head img { width: 220px; height: 268px; object-fit: cover; object-position: center top; border-radius: var(--radius); display: block; }
.bio-contact { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }

/* Reviews */
.review { display: flex; flex-direction: column; gap: 16px; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.55; color: var(--navy); }
.review .by { font-weight: 600; color: #34404E; }
.review-note { font-size: 13px; color: var(--muted); margin-top: 6px; }
.talk { display: flex; flex-direction: column; gap: 20px; }
.talk h2 { font-size: 26px; }
.talk .btn { align-self: flex-start; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; padding: 56px 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; font-size: 28px; font-weight: 400; }
.cta-band p { color: var(--on-navy); margin-top: 6px; }

/* Forms */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; color: var(--navy); }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; color: var(--text); border: 1px solid #A9B6C4; border-radius: var(--radius); padding: 12px 14px; background: #fff; min-height: 48px; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--link); outline-offset: 1px; }
.form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--text); font-size: 14px; }
.form .check input { min-height: 0; margin-top: 4px; }
.hidden { display: none; }
.signup { display: flex; flex-wrap: wrap; gap: 12px; }
.signup input { flex: 1 1 240px; font: inherit; border: 1px solid #A9B6C4; border-radius: var(--radius); padding: 12px 14px; min-height: 48px; }

/* Insights */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filters button { font: inherit; font-weight: 600; font-size: 15px; background: #fff; color: var(--navy); border: 1px solid var(--navy); border-radius: var(--radius); padding: 10px 18px; cursor: pointer; min-height: 44px; }
.filters button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.post-list { display: grid; gap: 20px; }
.post-meta { font-size: 14px; color: var(--muted); }
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); background: var(--tint); padding: 3px 8px; border-radius: 3px; margin-right: 8px; }
.empty { border: 1px dashed #A9B6C4; border-radius: var(--radius); padding: 40px; color: var(--muted); }
.article { max-width: 760px; }

/* Footer */
.site-footer { background: #071A33; color: var(--on-navy); font-size: 15px; }
.site-footer .wrap { padding-top: 64px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.footer-grid div, .footer-grid nav { display: flex; flex-direction: column; gap: 4px; }
.site-footer a { color: #fff; }
.site-footer .name { font-family: var(--serif); font-weight: 600; font-size: 19px; color: #fff; }
.site-footer .label { font-weight: 600; color: #fff; margin-bottom: 4px; }
.footer-signup { display: flex; flex-direction: column; gap: 10px; }
.footer-signup .signup input { border-color: #fff; }
.footer-signup .btn { border-color: #fff; }
.legal { border-top: 1px solid #23395A; padding-top: 24px; font-size: 13px; color: #AEBBCB; display: flex; flex-direction: column; gap: 8px; }

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { padding: 56px 0; }
  .hero h1 { font-size: 38px; }
  .page-hero h1 { font-size: 34px; }
  .section-head h2 { font-size: 28px; }
  .quote-box, .panel { padding: 24px; }
  .cards, .people, .checklist { grid-template-columns: 1fr; }
}
