/* Self-hosted variable fonts (fontsource) */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/fonts/playfair-display-latin-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 900; font-display: swap; src: url(/fonts/playfair-display-latin-wght-italic.woff2) format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/fonts/figtree-latin-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Hartley Law Office — site styles (v2)
   Navy + brand blue + gold. Playfair Display for headings, Figtree for body. */

:root {
  --navy: #0B2545;
  --navy-2: #102F5A;
  --blue: #0C4990;
  --blue-light: #1E63B8;
  --gold: #C9A24B;
  --gold-dark: #6F5615;
  --gold-tint: #F5EEDC;
  --cream: #F6F3EC;
  --ink: #1B2431;
  --slate: #5A6472;
  --line: #E1E5EB;
  --paper: #FFFFFF;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 6px;
  --shadow: 0 18px 44px rgba(11,37,69,.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .15em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--navy); color: #fff; padding: .75rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 2.25rem; height: 2px; background: var(--gold); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 2.25rem; height: 2px; background: var(--gold); }
.on-dark .eyebrow { color: var(--gold); }

.lede { font-size: 1.2rem; line-height: 1.6; color: var(--slate); max-width: 62ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.75rem; border-radius: var(--radius); font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none; line-height: 1; border: 2px solid var(--blue); background: var(--blue); color: #fff;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s; cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-1px); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn--outline-light:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn--light { background: #fff; border-color: #fff; color: var(--navy); }
.btn--light:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* ---------- Header ---------- */
.topbar { background: var(--navy); color: #AFC2DC; font-size: .85rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding-top: .45rem; padding-bottom: .45rem; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--gold); }

.site-header { background: var(--navy); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 0 rgba(255,255,255,.06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 50px; width: auto; }

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; padding: .7rem .95rem; border-radius: var(--radius); position: relative; }
.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .35rem; height: 2px; background: var(--gold); }
.nav .btn { margin-left: .75rem; padding: .7rem 1.2rem; background: var(--gold); border-color: var(--gold); color: var(--navy); }
.nav .btn:hover { background: #fff; border-color: #fff; color: var(--navy); }

.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.35); border-radius: var(--radius); padding: .55rem .75rem; font: inherit; font-weight: 600; color: #fff; cursor: pointer; }

/* Mega menu */
.has-menu { position: static; }
.has-menu > a::after { content: " ▾"; font-size: .7em; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--paper);
  border-top: 3px solid var(--gold); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.has-menu.is-open .mega, .has-menu:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: 1fr 1fr 1.05fr 1.05fr; gap: 2.5rem; padding-top: 2rem; padding-bottom: 2rem; }
.mega__col { align-self: start; }
.mega .mega__h { font-family: var(--font-display); font-size: 1.05rem; color: var(--navy); margin: 0 0 .75rem; padding-bottom: .5rem; border-bottom: 2px solid var(--gold); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.nav .mega li a { display: block; padding: .55rem .6rem; margin: 0 -.6rem; border-radius: var(--radius); color: var(--ink); font-weight: 400; }
.mega li a strong { display: block; font-weight: 700; color: var(--navy); }
.mega li a span { display: block; font-size: .85rem; color: var(--slate); line-height: 1.4; }
.nav .mega li a:hover { background: var(--cream); color: var(--navy); }
.mega li a::after { display: none; }
.mega__cta { background: var(--navy); color: #fff; padding: 1.5rem; border-radius: var(--radius); align-self: start; }
.mega__cta .mega__h { color: #fff; }
.mega__cta p { color: #AFC2DC; font-size: .95rem; margin-bottom: 1rem; }
.mega__cta .btn { width: 100%; margin: 0 0 .9rem; }
.nav .mega .mega__all { color: var(--gold); padding: 0; font-weight: 700; font-size: .9rem; }
.nav .mega .mega__all:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: .5rem; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; padding: .5rem var(--gutter) 1.25rem; gap: 0; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem .25rem; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav a[aria-current="page"]::after { display: none; }
  .has-menu > a::after { display: none; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; }
  .mega__inner { display: block; padding: 0 0 0 1rem; }
  .mega .mega__h { color: var(--gold); margin-top: .9rem; border-bottom: 0; padding-bottom: 0; font-size: .85rem; font-family: var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
  .nav .mega li a { margin: 0; padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 0; color: #fff; }
  .mega li a strong { color: #fff; font-weight: 500; }
  .mega li a span, .mega__cta { display: none; }
  .nav .btn { margin: 1rem 0 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy) center/cover no-repeat; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); z-index: -1; }
.hero .wrap { padding-top: clamp(5rem, 11vw, 9rem); padding-bottom: clamp(9rem, 15vw, 12rem); max-width: var(--max); }
.hero__inner { max-width: 640px; }
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lede { color: #D6E1F0; margin-bottom: 2.25rem; }
.hero__actions { display: flex; gap: .85rem; flex-wrap: wrap; }
.hero__tag { margin-top: 2.5rem; font-family: var(--font-display); font-size: 1.1rem; color: #D6E1F0; }
.hero__tag strong { color: var(--gold); font-weight: 600; }

/* Overlapping feature cards */
.features { margin-top: clamp(-7rem, -9vw, -5rem); position: relative; z-index: 2; }
.features .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature { background: var(--navy); color: #fff; padding: 2.25rem 2rem; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.feature svg { width: 52px; height: 52px; margin: 0 auto 1.1rem; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feature h2 { color: #fff; font-size: 1.4rem; margin-bottom: .6rem; }
.feature p { color: #C7D4E6; font-size: .975rem; }
@media (max-width: 860px) { .features .wrap { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section--cream { background: var(--cream); }
.section--navy, .on-dark { background: var(--navy); color: #fff; }
.on-dark h2, .on-dark h3 { color: #fff; }
.on-dark p { color: #C7D4E6; }
.section-head { max-width: 66ch; margin: 0 auto 3rem; text-align: center; }
.section-head p { color: var(--slate); font-size: 1.125rem; }
.section-head--left { margin-left: 0; text-align: left; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }

/* Practice cards with photos */
.pcard { background: var(--paper); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; box-shadow: 0 6px 20px rgba(11,37,69,.08); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.pcard__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); position: relative; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__img .tab { position: absolute; left: 1rem; bottom: -1rem; width: 48px; height: 48px; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; border-radius: var(--radius); box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.pcard__body { padding: 1.5rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.pcard h3 { font-size: 1.3rem; margin: 0; }
.pcard p { color: var(--slate); font-size: .975rem; }
.pcard .more { margin-top: auto; padding-top: .75rem; font-weight: 700; color: var(--gold-dark); font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; }
.pcard:hover .more { color: var(--blue); }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split--top { align-items: start; }
.split .photo { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split .photo-frame { position: relative; }
.split .photo-frame::before { content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border: 2px solid var(--gold); border-radius: var(--radius); z-index: -1; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split .photo-frame::before { display: none; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .75rem; }
.checklist li { padding-left: 2rem; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: .15em; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: .8rem; font-weight: 800; display: grid; place-items: center; }
.on-dark .checklist li { color: #E6EDF7; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.steps li { background: var(--paper); padding: 2.25rem 2rem; border-radius: var(--radius); border: 1px solid var(--line); position: relative; }
.steps li::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--gold); line-height: 1; display: block; margin-bottom: 1rem; }
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--slate); font-size: .975rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Why us columns */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.why div { border-left: 3px solid var(--gold); padding-left: 1.5rem; }
.why h3 { font-size: 1.3rem; }
@media (max-width: 760px) { .why { grid-template-columns: 1fr; } }

/* Photo band CTA */
.band { position: relative; color: #fff; background: var(--navy) center/cover no-repeat; isolation: isolate; }
.band::before { content: ""; position: absolute; inset: 0; background: rgba(11,37,69,.82); z-index: -1; }
.band .wrap { padding-top: clamp(4rem, 9vw, 7rem); padding-bottom: clamp(4rem, 9vw, 7rem); text-align: center; }
.band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); max-width: 22ch; margin: 0 auto 1rem; }
.band p { color: #D6E1F0; max-width: 60ch; margin: 0 auto 2rem; font-size: 1.15rem; }
.band .hero__actions { justify-content: center; }

/* Office card */
.office { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.office__head { background: var(--navy); color: #fff; padding: 1.1rem 1.5rem; font-family: var(--font-display); font-size: 1.2rem; border-bottom: 3px solid var(--gold); }
.office__body { padding: 1.5rem; display: grid; gap: 1.25rem; }
.office__body dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; }
.office__body dt { font-weight: 700; color: var(--navy); }
.office__body dd { margin: 0; color: var(--slate); }
.hours { width: 100%; border-collapse: collapse; font-size: .975rem; }
.hours td { padding: .45rem 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; color: var(--slate); }
.hours tr.closed td:last-child { color: #667080; }
.hours tr.today td { font-weight: 700; color: var(--blue); }

/* ---------- Inner page header ---------- */
.page-head { position: relative; color: #fff; background: var(--navy) center/cover no-repeat; isolation: isolate; padding: clamp(4.5rem, 10vw, 8rem) 0; }
.page-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,37,69,.92) 0%, rgba(11,37,69,.7) 60%, rgba(11,37,69,.45) 100%); z-index: -1; }
.page-head .wrap { display: grid; grid-template-columns: 88px 1fr; gap: 1.75rem; align-items: start; }
.page-head .tab { width: 88px; height: 88px; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; line-height: 1; border-radius: var(--radius); box-shadow: var(--shadow); }
.page-head h1 { color: #fff; margin-bottom: .75rem; }
.page-head .lede { color: #D6E1F0; }
.crumbs { font-size: .85rem; color: #AFC2DC; margin-bottom: .9rem; letter-spacing: .04em; }
.crumbs a { color: #AFC2DC; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { margin: 0 .45rem; color: var(--gold); }
@media (max-width: 640px) { .page-head .wrap { grid-template-columns: 1fr; } .page-head .tab { width: 64px; height: 64px; font-size: 1.75rem; } }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 4rem; padding: clamp(3rem, 6vw, 5rem) 0; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; gap: 2.5rem; } }

.article { max-width: 70ch; }
.article h2 { margin-top: 2.75rem; font-size: clamp(1.6rem, 2.6vw, 2rem); }
.article h2::after { content: ""; display: block; width: 3rem; height: 3px; background: var(--gold); margin-top: .6rem; }
.article h2:first-child { margin-top: 0; }
.article h3 { margin-top: 1.75rem; font-size: 1.25rem; }
.article ul, .article ol { padding-left: 1.4rem; }
.article li { margin-bottom: .45rem; }
.article li::marker { color: var(--gold-dark); font-weight: 700; }
.article dl { margin: 1.25rem 0; border-top: 1px solid var(--line); }
.article dt { font-weight: 700; padding-top: 1rem; color: var(--navy); }
.article dd { margin: .25rem 0 1rem; color: var(--slate); padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.article .note { background: var(--gold-tint); border-left: 4px solid var(--gold); padding: 1.1rem 1.35rem; margin: 1.75rem 0; border-radius: 0 var(--radius) var(--radius) 0; color: var(--navy); }

.faq details { border-top: 1px solid var(--line); padding: .25rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-dark); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--slate); padding-bottom: 1rem; }

.sidebar { display: grid; gap: 1.5rem; align-self: start; position: sticky; top: 104px; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; background: var(--paper); }
.side-box--blue { background: var(--navy); color: #fff; border-color: var(--navy); border-top: 4px solid var(--gold); box-shadow: var(--shadow); }
.side-box--blue h2, .side-box--blue h3 { color: #fff; }
.side-box--blue p { color: #C7D4E6; }
.side-box h2, .side-box h3 { font-size: 1.25rem; margin-bottom: .75rem; }
.side-box ul { list-style: none; padding: 0; margin: 0; }
.side-box li { border-top: 1px solid var(--line); }
.side-box li a { display: block; padding: .65rem 0; text-decoration: none; font-weight: 600; color: var(--navy); }
.side-box li a:hover { color: var(--gold-dark); }
.side-box .phone { font-family: var(--font-display); font-size: 1.9rem; display: block; color: var(--gold); text-decoration: none; margin: .25rem 0 .75rem; }
.side-box--blue .btn { width: 100%; }
@media (max-width: 900px) { .sidebar { position: static; } }

.disclaimer { font-size: .875rem; color: var(--slate); border-top: 1px solid var(--line); padding-top: 1.25rem; margin-top: 2.5rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .4rem; color: var(--navy); }
.form label .opt { font-weight: 400; color: var(--slate); }
.form input, .form select, .form textarea { width: 100%; padding: .85rem .95rem; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; color: var(--ink); background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold); outline: 3px solid var(--gold-tint); outline-offset: 0; }
.form textarea { min-height: 150px; resize: vertical; }
.form .hint { font-size: .875rem; color: var(--slate); }
.form .honey { position: absolute; left: -9999px; }
.form-status { padding: 1rem 1.25rem; border-radius: var(--radius); font-weight: 500; display: none; }
.form-status.is-ok { display: block; background: #E6F4EA; color: #1E5A2E; }
.form-status.is-error { display: block; background: #FBE9E7; color: #8A2A1B; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #AFC2DC; font-size: .95rem; border-top: 4px solid var(--gold); }
.site-footer .wrap { padding-top: 4rem; padding-bottom: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr .9fr 1.1fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .footer__h { color: var(--gold); font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: #E4ECF7; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer p a, .site-footer address a { text-decoration: underline; text-underline-offset: 2px; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-logo { margin-bottom: 1rem; }
.footer-logo img { height: 56px; width: auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; font-size: .8125rem; color: #8FA5C4; }
.footer-bottom p { margin: 0 0 .5rem; }

@media (max-width: 640px) {
  .topbar .wrap > span:first-child { display: none; }
  .topbar .wrap { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Simple dropdowns (Resources, Contact) */
.has-drop { position: relative; }
.has-drop > a::after { content: " ▾"; font-size: .7em; }
.drop { position: absolute; top: 100%; left: 0; min-width: 280px; list-style: none; margin: 0; padding: .5rem; background: var(--paper); border-top: 3px solid var(--gold); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.nav .drop a { display: block; padding: .6rem .75rem; color: var(--navy); font-weight: 600; border-radius: var(--radius); }
.nav .drop a:hover { background: var(--cream); color: var(--navy); }
.nav .drop a::after { display: none; }
.has-drop::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
@media (max-width: 900px) {
  .has-drop > a::after { display: none; }
  .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 1rem; min-width: 0; }
  .nav .drop a { color: #fff; font-weight: 500; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.1); padding: .6rem 0; }
}

/* Footer legal links */
.footer-legal { display: flex; flex-wrap: wrap; gap: .25rem 0; margin: 0 0 1rem !important; padding: 0; list-style: none; }
.footer-legal li { margin: 0; }
.footer-legal li + li::before { content: "|"; margin: 0 .75rem; color: #4E6588; }
.footer-legal a { color: #E4ECF7; }

/* Reviews */
.review { margin: 0; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 2rem 1.75rem; display: flex; flex-direction: column; }
.review__stars { color: var(--gold); letter-spacing: .15em; font-size: 1.1rem; margin-bottom: 1rem; }
.review p { color: #E6EDF7; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; line-height: 1.6; flex: 1; }
.review footer { margin-top: 1.5rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.review footer strong { color: #fff; }
.review footer span { font-size: .8rem; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; }

/* Attorney */
.photo--portrait { aspect-ratio: 4 / 5; object-position: top; }
.attorney { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: start; margin-bottom: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.attorney img { border-radius: var(--radius); box-shadow: var(--shadow); }
.attorney h2 { margin-top: 0; }
.attorney h2::after { display: none; }
.attorney__role { font-weight: 700; color: var(--gold-dark); margin-bottom: 1rem; }
@media (max-width: 640px) { .attorney { grid-template-columns: 1fr; } .attorney img { max-width: 260px; } }
.section-cta { text-align: center; margin-top: 2.5rem; }
.mega__inner--3 { grid-template-columns: 1.1fr 1.1fr 1fr; }
.mega__cta .btn { margin-bottom: .9rem; }

/* ---- v5: trust bar, service area, facts table, updated line, mobile call bar ---- */
.trustbar { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.trustbar li { border-left: 3px solid var(--gold); padding-left: .85rem; }
.trustbar strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.15rem; }
.trustbar span { color: #C7D4E6; font-size: .875rem; }
@media (max-width: 760px) { .trustbar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.article-narrow { max-width: 820px; }
.article-narrow h2 { margin-top: 2.5rem; }
.article-narrow h2:first-child { margin-top: 0; }
.article-narrow h3 { margin-top: 1.5rem; font-size: 1.2rem; }
.article-narrow p { margin-bottom: 1rem; }
.countygroup { margin-top: 1.75rem; }
.countygroup h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.citycards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.citycards a { display: block; padding: .85rem 1rem; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); text-decoration: none; background: var(--paper); }
.citycards a:hover { border-color: var(--blue); }
.citycards strong { display: block; color: var(--navy); }
.citycards span { color: var(--slate); font-size: .85rem; }
@media (max-width: 520px) { .citycards { grid-template-columns: 1fr; } }
.areamap-frame { position: relative; border: 2px solid var(--gold); border-radius: 14px; overflow: hidden; aspect-ratio: 640 / 420; background: #EEF3F9; }
.areamap { width: 100%; height: 100%; display: block; }
.areamap__bg { fill: #EEF3F9; }
.areamap .pin { fill: var(--blue); stroke: #fff; stroke-width: 2; transition: fill .2s; }
.areamap .pin--office { fill: none; stroke: var(--gold-dark); stroke-width: 3; }
.areamap text { font: 600 15px var(--font-body, sans-serif); fill: var(--navy); }
.areamap .pin__n { font-size: 11px; fill: #fff; pointer-events: none; }
.areamap a:hover text:not(.pin__n), .areamap a:focus text:not(.pin__n) { fill: var(--blue); text-decoration: underline; }
.areamap a.is-active .pin { fill: var(--gold-dark); }
.areamap-ctl { position: absolute; bottom: .75rem; left: .75rem; display: flex; gap: .4rem; }
.areamap-ctl button { font: inherit; font-size: .85rem; font-weight: 700; padding: .45rem .9rem; border-radius: 999px; border: 0; cursor: pointer; background: var(--navy); color: #fff; }
.areamap-ctl button:first-child { background: var(--gold); color: var(--navy); }
.areamap__key { font-size: .8rem; color: var(--slate); margin: .5rem 0 0; }
.flyto { margin-top: 1rem; background: var(--navy); border-radius: 14px; padding: 1.25rem 1.25rem 1rem; }
.flyto .eyebrow { color: var(--gold); margin-bottom: .75rem; }
.flyto__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.flyto__list button { font: inherit; font-weight: 600; font-size: .9rem; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: .45rem .8rem .45rem .5rem; cursor: pointer; display: flex; align-items: center; gap: .55rem; }
.flyto__list button span { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 7px; border: 1px solid var(--gold); color: var(--gold); font-size: .75rem; }
.flyto__list button:hover, .flyto__list button[aria-pressed="true"] { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.flyto__list button:hover span, .flyto__list button[aria-pressed="true"] span { border-color: var(--navy); color: var(--navy); }
.flyto__status { color: #D6E1F0; font-size: .9rem; min-height: 1.4em; margin: .8rem 0 0; }
.flyto__status a { color: var(--gold); font-weight: 700; }
.citycheck label { display: block; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.citycheck__row { display: flex; gap: .75rem; flex-wrap: wrap; }
.citycheck input { flex: 1 1 220px; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; background: #fff; }
.citycheck__out { min-height: 1.6em; font-weight: 600; color: var(--navy); margin-top: .9rem; }
.table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
table.facts { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.facts th, table.facts td { text-align: left; padding: .7rem .85rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.facts thead th { background: var(--navy); color: #fff; font-weight: 600; }
table.facts tbody th { color: var(--navy); width: 26%; }
table.facts td:last-child { width: 24%; font-size: .85rem; }
.updated { font-size: .875rem; color: var(--slate); margin-top: 1.75rem; }
.reviews__more { text-align: center; margin-top: 2rem; }
.reviews__more a { color: var(--gold); font-weight: 600; }
.form__submit { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form__submit .hint { font-size: .875rem; color: var(--slate); }
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--gold); color: var(--navy); text-align: center; font-weight: 800; padding: .9rem 1rem; text-decoration: none; box-shadow: 0 -4px 14px rgba(11,37,69,.25); }
  body { padding-bottom: 3.4rem; }
}

/* ---- 2026-11-13: hero sub-line and address line, hours note ---- */
.hero__sub { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.45rem); color: #fff; margin: .25rem 0 1rem; }
.hero__nap { font-size: .9rem; color: #C7D4E6; margin: -.25rem 0 1.5rem; }
.hours__note { font-size: .9rem; color: var(--slate); margin: .75rem 0 1rem; }

/* ---- 2026-11-16: Cognito Forms embed ("Hartley Law Contact Us", form 134) styled to the site theme ---- */
#contact-form { min-height: 30rem; }
#contact-form .cog-cognito, #contact-form .cog-form, #contact-form .cog-134 {
  --background-hsl: 0, 0%, 100%;
  --font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-size: 17px; --line-height: 1.5; --color: #1B2431;
  --primary: #0C4990; --primary-reverse: #fff;
  --highlight: #F5EEDC; --highlight-reverse: #0B2545;
  --border-radius: 6px; --border-width: 1px; --gutter: 18px;
  --form__margins: 0; --form__margins--responsive: 0; --form__background-color: transparent; --form__width: 100%;
  --label__color: #0B2545; --label__font-family: "Figtree", system-ui, sans-serif; --label__font-size: 15px; --label__font-weight: 700;
  --input__background-color: #fff; --input__color: #1B2431; --input__border-color: #E1E5EB; --input__border-radius: 6px;
  --input__border-width: 1px; --input__padding-v: 13px; --input__padding-h: 15px; --input__box-shadow: none;
  --input-focus__box-shadow: 0 0 0 3px #F5EEDC;
  --placeholder__color: #8A93A0;
  --button-primary__background-color: #0C4990; --button-primary__border-color: #0C4990; --button-primary__color: #fff;
  --button-primary__font-family: "Figtree", system-ui, sans-serif; --button-primary__font-size: 15px; --button-primary__font-weight: 700;
  --button-primary__border-radius: 6px; --button-primary__border-width: 2px;
  --a__color: #0C4990;
}
#contact-form .cog-button--primary { padding: 15px 28px; letter-spacing: .02em; }
#contact-form .cog-button--primary:hover { background: #0B2545; border-color: #0B2545; }
.cogform__note { font-size: .875rem; color: var(--slate); margin-top: .75rem; }
