/* ============================================================
   Chris Hammond Law Firm — Site Styles (v3)
   Premium immigration law firm design
   ============================================================ */

:root {
  --navy: #2b3a5c;
  --navy-deep: #1f2a43;
  --gold: #c4a35a;
  --gold-light: #f0d89e;
  --ink: #1a2336;
  --muted: #5f6878;
  --line: #dbe2ec;
  --bg: #f3f5f9;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 14px 30px rgba(16, 30, 56, 0.08);
  --content-max: 1140px;
  --reading-max: 860px;
  --section-space: clamp(1.5rem, 3.2vw, 2.5rem);
  --stack-space: clamp(1rem, 2vw, 1.45rem);
}

/* ── Reset & base ─────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  max-width: 100vw;
  font-family: "Inter", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #f0f2f7;
  line-height: 1.68;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── Typography ───────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  color: var(--navy-deep);
  line-height: 1.22;
  margin: 0 0 .75rem;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(1.85rem, 4.2vw, 3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }
h4 { font-size: clamp(1rem, 1.8vw, 1.16rem); }
p  { margin: 0 0 1.05rem; }
a  { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-deep); }

/* ── Layout containers ────────────────────────────── */

.wrap    { width: min(var(--content-max), 92%); margin: 0 auto; }
.narrow  { width: min(var(--reading-max), 92%); margin: 0 auto; }
.section { padding: var(--section-space) 0 0; }
.section:last-child { padding-bottom: var(--section-space); }
.hero + .section,
.practice-hero + .section { padding-top: 0; }

/* ── Page container (white stage) ─────────────────── */

main {
  width: min(var(--content-max), 94%);
  margin: 0 auto;
  background: var(--white);
  border-left: 1px solid rgba(205, 215, 228, 0.45);
  border-right: 1px solid rgba(205, 215, 228, 0.45);
  border-bottom: 1px solid rgba(205, 215, 228, 0.45);
  box-shadow: 0 8px 40px rgba(16, 30, 56, 0.06);
  padding-bottom: 0;
}

main > .wrap,
main > .hero.wrap {
  width: min(calc(var(--content-max) - 4rem), 92%);
}

main > .narrow {
  width: min(var(--reading-max), 92%);
}

/* ── Section dividers (kept subtle and compact) ── */

main section + section { position: relative; }

main section + section::before {
  content: "";
  display: none;
}

/* ── Header / Nav ─────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 260;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(205,215,228,.5);
  box-shadow: 0 1px 8px rgba(16, 30, 56, 0.04);
}

.nav-wrap {
  display: flex; align-items: center;
  justify-content: space-between;
  min-height: 70px; gap: 1rem;
}

.brand img { width: auto; height: 54px; }

body.menu-open {
  overflow: hidden;
}

.site-nav {
  display: none;
  gap: 1.1rem;
  align-items: center;
}

.site-nav a {
  color: #2e3a53;
  font-weight: 600;
  font-size: .93rem;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

.site-nav a:hover {
  color: var(--navy);
  border-color: rgba(196,163,90,.5);
}

.nav-group {
  position: relative;
  display: grid;
  gap: .25rem;
}

.nav-parent-row {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.nav-group .nav-parent {
  display: inline-flex;
  align-items: center;
}

.nav-submenu-toggle {
  border: 1px solid #d6deea;
  background: #fff;
  color: #314261;
  border-radius: 8px;
  padding: .2rem .45rem;
  font-weight: 700;
  font-size: .82rem;
  line-height: 1;
  cursor: pointer;
}

.nav-submenu-toggle[aria-expanded="true"] {
  background: #eef3fb;
  border-color: #cbd7e7;
}

.nav-dropdown {
  display: none;
  gap: .18rem;
}

.nav-dropdown a {
  font-size: .86rem;
  font-weight: 600;
  color: #40506b;
  border: 0;
}

.nav-dropdown a:hover {
  color: var(--navy-deep);
  text-decoration: underline;
}

.nav-phone,
.nav-text {
  font-weight: 700 !important;
  font-size: .85rem !important;
}

.nav-phone {
  color: var(--navy-deep) !important;
}

.nav-text {
  display: none;
}

@media (max-width: 859px) {
  .nav-text {
    display: inline;
    color: var(--gold) !important;
    border-color: transparent !important;
    font-size: .95rem !important;
  }
}

.site-nav .btn { width: auto; }

/* Schedule CTA — high-contrast button */
.site-nav .btn.btn-sm,
.site-nav .btn.btn-sm:visited {
  min-width: 120px;
  padding: .58rem 1.1rem;
  border-radius: 10px;
  font-size: .84rem;
  letter-spacing: .015em;
  color: #fff !important;
  background: linear-gradient(135deg, #334a76, #1f2a43);
  border: 1px solid #1a2742;
  box-shadow: 0 8px 20px rgba(24,40,66,.2);
}

.site-nav .btn.btn-sm:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #405b8e, #223153);
  border-color: #16213a;
}

.site-nav.open {
  display: flex;
  position: fixed;
  left: 0;
  right: 0;
  top: 70px;
  z-index: 240;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.1rem 1.2rem;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  box-shadow: 0 12px 24px rgba(21,36,64,.07);
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}

.site-nav.open > a {
  padding: .55rem 0;
}

.site-nav.open .btn.btn-sm {
  width: 100%;
  text-align: center;
  margin-top: .35rem;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6deea;
  background: #fff;
  color: #314261;
  border-radius: 10px;
  padding: .45rem .72rem;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.menu-toggle span {
  transform: translateY(-.5px);
}

/* ── Buttons ──────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .42rem;
  background: linear-gradient(135deg, #2f436d, #1f2a43);
  color: #fff; padding: .76rem 1.15rem;
  border-radius: 10px; font-weight: 700;
  border: 1px solid transparent;
  transition: transform .18s, box-shadow .18s, background .18s;
  box-shadow: 0 8px 18px rgba(18,34,61,.12);
  font-size: .93rem;
}

.btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #3a5282, #213151);
  color: #fff;
}

.btn-ghost {
  background: #fff; color: var(--navy);
  border-color: #cdd8e7; box-shadow: none;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--navy-deep);
  background: #fffdf7;
}

.btn-sm { padding: .55rem .95rem; font-size: .88rem; }

/* ── Eyebrow / Lead ───────────────────────────────── */

.eyebrow {
  display: inline-block; margin-bottom: .5rem;
  text-transform: uppercase; letter-spacing: .16em;
  font-size: .7rem; font-weight: 700;
  color: #8e6e30;
}

.lead {
  font-size: clamp(1.06rem, 1.9vw, 1.24rem);
  color: #334159; max-width: 60ch;
}

.narrow-text {
  max-width: 65ch;
}

.section-centered {
  text-align: center;
}

.centered-text {
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
}

/* ── Full-width Hero ──────────────────────────────── */

.hero-full {
  background: linear-gradient(135deg, #1a2740 0%, #2b3a5c 50%, #1f2a43 100%);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
}

.hero-full::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(196,163,90,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-full-inner {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.hero-full h1 {
  color: #fff;
  max-width: 23ch;
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  margin-bottom: .75rem;
}

.eyebrow-light {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--gold-light);
  margin: 0 0 .5rem;
}

.lead-light {
  font-size: clamp(1.04rem, 1.8vw, 1.2rem);
  color: #c8d3e6;
  max-width: 56ch;
  line-height: 1.65;
  margin: 0 0 1rem;
}

.credentials-light {
  color: rgba(196,163,90,0.7);
  font-size: .82rem;
  letter-spacing: .06em;
  margin-top: .5rem;
}

.hero-photo-light {
  width: 100%;
  max-width: 420px;
  justify-self: center;
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 3px solid rgba(196,163,90,0.35);
  box-shadow: 0 0 0 8px rgba(196,163,90,0.08), 0 20px 50px rgba(0,0,0,0.25);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #d4af5e);
  color: #1a2336;
  font-weight: 700;
  border: 0;
  padding: .72rem 1.6rem;
  border-radius: 10px;
  font-size: .95rem;
  transition: transform .18s, box-shadow .18s;
  box-shadow: 0 6px 18px rgba(196,163,90,0.3);
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(196,163,90,0.4);
  color: #1a2336;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  padding: .72rem 1.6rem;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 600;
  transition: border-color .18s, background .18s;
}

.btn-outline-light:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
  color: #fff;
}

/* ── Testimonial ──────────────────────────────────── */

.testimonial-section {
  padding: clamp(1.5rem, 3vw, 2.25rem) 5%;
  position: relative;
  background: #faf8f4;
  border-top: 1px solid rgba(196,163,90,0.12);
  border-bottom: 1px solid rgba(196,163,90,0.12);
}

.testimonial-section::before {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 0 auto clamp(.75rem, 1.5vw, 1rem);
}

.testimonial-carousel {
  position: relative;
}

.testimonial {
  margin: 0;
  padding: 0;
  border: 0;
  text-align: center;
  display: none;
}

.testimonial.active {
  display: block;
}

.testimonial p {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
  color: var(--navy-deep);
  font-style: italic;
  margin: 0 0 .75rem;
}

.testimonial cite {
  font-style: normal;
  font-size: .86rem;
  color: var(--muted);
  letter-spacing: .04em;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.25rem;
}

.testimonial-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: background .2s;
}

.testimonial-dots .dot.active {
  background: var(--gold);
}

/* ── FAQ Accordion ────────────────────────────────── */

.faq-list {
  max-width: 720px;
  margin: .5rem auto 0;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.faq-item summary {
  padding: 1rem 0;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-deep);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform .2s;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 0 1rem;
  margin: 0;
  color: #3a4a66;
  line-height: 1.65;
  font-size: .95rem;
}

/* ── CTA Band ─────────────────────────────────────── */

.cta-band {
  background: linear-gradient(135deg, #1a2740 0%, #2b3a5c 50%, #1f2a43 100%);
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: #fff;
  margin: 0 0 .35rem;
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
}

.cta-band p {
  color: #b8c5dc;
  margin: 0;
  max-width: 50ch;
  font-size: .95rem;
}

.cta-band-actions {
  display: flex;
  gap: .75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ── Section Dividers ─────────────────────────────── */

main > section + section:not(.testimonial-section)::before {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 0 auto 0;
  grid-column: 1 / -1;
}

/* ── Legacy hero (practice area pages) ────────────── */

.hero {
  display: grid;
  gap: var(--stack-space);
  align-items: start;
  padding: clamp(1.2rem, 2.5vw, 2rem) 0 clamp(1rem, 2vw, 1.5rem);
}

.hero > div {
  max-width: 68ch;
}

.hero h1 { max-width: 23ch; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .68rem;
  margin-top: .9rem;
}

.hero-photo {
  width: 100%;
  max-width: 340px;
  justify-self: center;
  border-radius: 22px;
  border: 1px solid #d8e2ef;
  box-shadow: var(--shadow);
  background: #e8edf5;
}

/* ── Practice cards ───────────────────────────────── */

.practice-grid,
.blog-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.practice-card,
.post-card {
  background: #fff;
  border: 1px solid #dde4ef;
  border-radius: var(--radius);
  padding: 1.1rem;
  transition: border-color .18s, box-shadow .18s;
}

.practice-card {
  display: flex;
  flex-direction: column;
  border-left: 3px solid transparent;
  text-align: left;
}

.practice-card p { flex: 1; }

.practice-card:hover,
.post-card:hover {
  border-color: #c8d2e2;
  box-shadow: 0 10px 22px rgba(21,41,72,.08);
}

.practice-card:hover { border-left-color: var(--gold); }
.post-card { border-top: 3px solid transparent; }
.post-card:hover { border-top-color: var(--gold); }

.practice-card img {
  display: none;
}

.practice-card h3,
.post-card h2,
.post-card h3 { margin: 0 0 .45rem; }

/* ── Blog cards (index) ───────────────────────────── */

.post-card { display: flex; flex-direction: column; height: 100%; }

.post-card h2,
.post-card h3 {
  font-size: clamp(1.02rem, 1.9vw, 1.25rem);
  line-height: 1.3;
}

.post-card h2 a,
.post-card h3 a { color: var(--navy-deep); }

.post-card h2 a:hover,
.post-card h3 a:hover { color: var(--navy); }

.post-date,
.post-card .muted {
  color: #6f7788; font-size: .74rem;
  letter-spacing: .1em; text-transform: uppercase;
  font-weight: 700; margin: 0 0 .65rem;
}

.post-excerpt {
  color: #344258;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: .85rem;
  font-size: .95rem;
}

.read-more, .text-link { font-weight: 700; color: var(--navy); }
.read-more { margin-top: auto; font-size: .9rem; }

.tag {
  display: inline-block; margin-bottom: .55rem;
  color: #8e6e30;
  font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; font-weight: 700;
}

.muted { color: var(--muted); font-size: .93rem; }

/* ── Editorial lead (featured + stack on blog index) ── */

.editorial-lead {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.post-card-featured {
  border-color: #ced9eb;
  background: linear-gradient(156deg, #fff 0%, #f6f8fc 100%);
  padding: clamp(1.2rem, 2.4vw, 1.7rem);
  box-shadow: 0 12px 24px rgba(18,34,61,.08);
}

.post-card-featured .tag {
  color: #2a3f66;
}

.post-card-featured h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  line-height: 1.18; max-width: 24ch;
}

.post-card-featured .post-excerpt {
  -webkit-line-clamp: 4;
  max-width: 56ch; font-size: 1rem;
}

.editorial-stack { display: grid; gap: 1rem; }
.post-card-compact h2 { font-size: clamp(1.02rem, 1.9vw, 1.18rem); }

.blog-divider {
  display: flex; align-items: center; gap: .8rem;
  margin: 1rem 0 .8rem;
}

.blog-divider::before,
.blog-divider::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, #d4deed 0, #ecf1f9 100%);
}

.blog-divider span {
  color: #6a7487; font-size: .73rem;
  letter-spacing: .13em; text-transform: uppercase;
  font-weight: 700; white-space: nowrap;
}

.blog-grid-secondary { gap: .75rem; }

/* ── Split layout (about-firm / CTA sidebar) ────── */

.split {
  display: grid;
  gap: var(--stack-space);
}

.cta-box {
  background: linear-gradient(165deg, #f6f8fc 0%, #eef2f9 100%);
  border: 1px solid #dce5f1;
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem;
  box-shadow: 0 10px 20px rgba(16,30,56,.06);
  text-align: center;
}

.cta-box h3 { margin-bottom: .4rem; }
.cta-box p { margin-bottom: .75rem; }
.cta-box .btn { margin-bottom: .75rem; }
.cta-box p:last-child { margin-bottom: 0; }

.cta-box-centered {
  margin: 1.25rem auto 0;
  max-width: 540px;
}

/* ── Practice area single page (icon at top) ──────── */

/* Icons removed — gold accent under h1 instead */

.wrap.narrow.section h2 { margin-top: 1.5rem; }

main ul, main ol { padding-left: 1.25rem; margin: 0 0 1rem; }
main li { margin-bottom: .48rem; }

/* ── Long-form practice page layout ───────────────── */

.practice-hero {
  padding-bottom: .95rem;
}

.practice-hero::after {
  content: "";
  display: block;
  clear: both;
}

.practice-hero h1 {
  margin-bottom: .5rem;
}

.practice-hero h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin-top: .65rem;
}

.practice-hero .lead {
  margin-bottom: .35rem;
  max-width: 64ch;
}

.practice-layout {
  display: grid;
  gap: 1rem;
  align-items: start;
  width: min(var(--reading-max), 92%);
  margin: 0 auto;
  min-width: 0;
}

.practice-main {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.practice-panel {
  background: #fff;
  border: 1px solid #d8e2f0;
  border-radius: 16px;
  padding: clamp(1.1rem, 2.3vw, 1.65rem);
  box-shadow: 0 10px 22px rgba(13, 28, 53, .05);
  line-height: 1.67;
  min-width: 0;
  overflow-wrap: break-word;
}

/* About page: vary panel styles to break monotony */
#focused-experience,
#forward-thinking,
#build-future {
  background: transparent;
  border: none;
  border-left: 3px solid var(--gold);
  border-radius: 0;
  box-shadow: none;
  padding-left: 1.2rem;
}

#credentials {
  background: var(--navy-deep);
  color: #fff;
  border: none;
}
#credentials h2 { color: var(--gold-light); }
#credentials h3 { color: var(--gold-light); }
#credentials li { color: #fff; }
#credentials strong { color: #fff; }
#credentials a { color: var(--gold-light); }

.practice-panel h2 {
  margin-top: 0;
  margin-bottom: .7rem;
}

.practice-panel h3 {
  margin-top: 1.2rem;
  margin-bottom: .45rem;
}

.practice-panel h4 {
  margin-top: .95rem;
  margin-bottom: .35rem;
  color: #324666;
}

.practice-panel p,
.practice-panel li {
  color: #2a374e;
}

.practice-panel p {
  margin-bottom: 1rem;
}

.notice-box {
  background: linear-gradient(160deg, #f7f1e2 0%, #fcf8ee 100%);
  border: 1px solid #ead9b1;
  border-radius: 14px;
  padding: .9rem 1rem;
  margin: 1rem 0;
  color: #513f1a;
}

.notice-box strong {
  color: #3f2f11;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #d6dfec;
  border-radius: 12px;
  margin: .95rem 0 1rem;
}

.table-wrap table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  margin: 0;
}

.table-wrap th,
.table-wrap td {
  border: 1px solid #d6dfec;
  padding: .72rem .82rem;
  text-align: left;
}

.table-wrap th {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: #eef3fb;
  color: #283d61;
}

.quick-steps {
  margin: .4rem 0 0;
  padding-left: 1.2rem;
}

.quick-steps li {
  margin-bottom: .55rem;
  padding-left: .05rem;
}

.qa-item {
  margin: .9rem 0;
}

.qa-item p {
  margin-bottom: .5rem;
}

/* ── Credentials / inline descriptors (clean text, no pills) ── */

.credentials-line {
  margin-top: .6rem;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.58;
}

.credentials-line strong {
  color: #3a4a66;
  font-weight: 600;
}

/* ── Article (blog post detail) ───────────────────── */

.article {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: clamp(1.2rem, 2.6vw, 2rem) 0;
  box-shadow: none;
  position: relative;
  border-top: 3px solid;
  border-image: linear-gradient(90deg, var(--gold) 0%, var(--navy) 56%, var(--gold) 100%) 1;
}

.article > .eyebrow { margin-top: .25rem; }

.article > h1 {
  font-size: clamp(1.72rem, 3.5vw, 2.35rem);
  margin-bottom: .8rem;
}

/* Byline */
.article > .muted {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border-bottom: 1px solid #e0e8f3;
  padding: .35rem 0;
  background: transparent;
  color: #4f607b;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .74rem;
  font-weight: 700;
}

.article-content {
  font-size: 1.03rem;
  line-height: 1.68;
  color: #243249;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e8f3;
}

.article-content > div { margin: 0; }
.article-content > div > div { display: block; }
.article-content h1 { display: none; }

.article-content h2 {
  margin-top: 1.85rem;
  margin-bottom: .62rem;
  font-size: clamp(1.24rem, 2.3vw, 1.6rem);
}

.article-content h3 {
  margin-top: 1.5rem;
  margin-bottom: .48rem;
  font-size: clamp(1.1rem, 2vw, 1.28rem);
}

.article-content h4 {
  margin-top: 1.15rem;
  margin-bottom: .36rem;
  font-size: 1rem;
  color: #2b3f64;
}

.article-content p { margin-bottom: 1rem; }
.article-content p:empty { display: none; }
.article-content figure {
  margin: 1rem 0 1.15rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.article-content img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #dbe4ef;
}

.article-content table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: .92rem;
  margin: 1rem 0;
  box-shadow: inset 0 0 0 1px #d6deea;
}

.article-content th,
.article-content td {
  border: 1px solid #d6deea;
  padding: .68rem .76rem;
  text-align: left;
}

.article-content th {
  background: #eef3fb;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .74rem;
}

.article-content blockquote {
  margin: 1.15rem 0;
  padding-left: .95rem;
  border-left: 3px solid var(--gold);
  color: #354869;
  font-style: italic;
}

/* Related posts section within article */
.article hr {
  margin: 1.8rem 0 1.2rem; border: 0; height: 1px;
  background: linear-gradient(90deg, #dce5f2, rgba(220,229,242,0));
}

.article > h3 { margin-bottom: .75rem; font-size: 1.1rem; }

.article > ul {
  list-style: none; padding-left: 0;
  margin: 0 0 1.1rem; display: grid; gap: .55rem;
}

.article > ul li { margin: 0; }
.article > ul a { color: #253b60; font-weight: 600; }

/* ── About page inline photo ─────────────────────── */

.inline-photo {
  width: min(260px, 100%);
  max-width: 100%;
  float: none;
  margin: .45rem auto 1rem;
  border-radius: 16px;
  border: 1px solid #d5deea;
  box-shadow: 0 8px 20px rgba(17,34,60,.07);
}

/* ── Contact page ─────────────────────────────────── */

.contact-grid {
  display: grid; gap: 1rem; margin-top: 1.2rem;
}

.contact-card {
  background: #fff;
  border: 1px solid #d7e1f0;
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 10px 22px rgba(17,34,60,.06);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: ""; position: absolute;
  inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--navy));
}

.contact-card h2 { font-size: 1.1rem; margin-bottom: .9rem; }

.contact-list {
  list-style: none; margin: 0 0 1rem; padding: 0;
  display: grid; gap: .85rem;
}

.contact-list li { margin: 0; }

.contact-list span {
  display: block; font-size: .72rem;
  letter-spacing: .11em; text-transform: uppercase;
  color: #778195; font-weight: 700; margin-bottom: .22rem;
}

.contact-list a,
.contact-list address {
  font-style: normal; color: #223454;
  font-size: 1rem; line-height: 1.45; font-weight: 600;
}

.map-wrap { width: 100%; }

.map-panel {
  background: #fff;
  border: 1px solid #d7e1f0;
  border-radius: 16px;
  padding: .65rem;
  box-shadow: 0 10px 22px rgba(17,34,60,.06);
}

.map-wrap iframe {
  width: 100%; min-height: 280px; max-height: 350px;
  border: 0; border-radius: 14px;
}

.map-caption {
  margin: .55rem .3rem .15rem;
  color: #5f6878; font-size: .84rem;
}

/* ── Contact Form ─────────────────────────────────── */

.contact-form {
  display: grid;
  gap: .85rem;
  text-align: left;
}

.form-group {
  display: grid;
  gap: .3rem;
}

.form-group label {
  font-weight: 700;
  font-size: .85rem;
  color: var(--navy-deep);
  letter-spacing: .02em;
}

.form-group .optional {
  font-weight: 400;
  color: var(--muted);
  font-size: .8rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: .72rem .85rem;
  border: 1px solid #d0d9e6;
  border-radius: 10px;
  font-size: .95rem;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 163, 90, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9aa3b3;
}

.form-note {
  font-size: .82rem;
  color: var(--muted);
  margin: .25rem 0 0;
}

/* ── Mobile contact actions ───────────────────────── */

.contact-mobile-actions {
  display: none;
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy-deep);
  border: 1.5px solid #c0cce0;
  box-shadow: none;
}

.btn-outline-navy:hover {
  border-color: var(--gold);
  background: #fffdf7;
  color: var(--navy-deep);
}

@media (max-width: 700px) {
  .contact-mobile-actions {
    display: grid;
    gap: .6rem;
    margin-bottom: 1.5rem;
  }

  .contact-action-btn {
    width: 100%;
    padding: .9rem 1rem;
    font-size: 1rem;
    justify-content: center;
  }

  .contact-form-card {
    display: none;
  }
}

/* ── Schedule page (Calendly) ─────────────────────── */

.calendly-inline-widget {
  border: 1px solid #dae2ee;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(16,30,56,.06);
  background: #fff;
  max-width: 100%;
}

/* ── Sticky mobile CTA bar ────────────────────────── */

.mobile-cta-bar {
  display: none;
}

@media (max-width: 859px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 250;
    background: linear-gradient(135deg, #1a2740, #2b3a5c);
    padding: .65rem .75rem calc(.65rem + env(safe-area-inset-bottom, 0px));
    gap: .5rem;
    box-shadow: 0 -4px 20px rgba(16, 30, 56, 0.25);
    border-top: 1px solid rgba(196,163,90,0.25);
  }

  .mobile-cta-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: 1rem .5rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    text-align: center;
    transition: transform .15s;
    min-height: 52px;
  }

  .mobile-cta-bar a:active {
    transform: scale(0.97);
  }

  .mobile-cta-bar .mobile-cta-call {
    background: linear-gradient(135deg, var(--gold), #d4af5e);
    color: #1a2336;
  }

  .mobile-cta-bar .mobile-cta-text {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.35);
  }

  /* Prevent content from being hidden behind the bar */
  .site-footer {
    padding-bottom: 5rem;
  }
}

/* ── Footer ───────────────────────────────────────── */

.site-footer {
  background: linear-gradient(180deg, #1a2740, #131d31);
  color: #d8dfed;
  padding: 3rem 0 1.5rem;
  font-size: .94rem;
  width: 100%;
  margin: 0 auto;
  border-radius: 0;
}

.site-footer .footer-grid::before {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  grid-column: 1 / -1;
  margin-bottom: 1.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.footer-grid h3 {
  font-size: .82rem;
  margin: 0 0 .55rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #f0d89e;
  font-family: "Inter", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
}

.footer-grid p {
  margin: 0 0 .55rem;
  color: #d8dfed;
  line-height: 1.55;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .38rem;
}

.footer-links a,
.site-footer a {
  color: #f0d89e;
}

.footer-links a:hover,
.site-footer a:hover {
  color: #fff2cc;
}

.footer-meta {
  margin-top: 1.2rem;
  padding-top: .8rem;
  border-top: 1px solid rgba(240, 216, 158, .2);
  display: flex;
  flex-wrap: wrap;
  gap: .55rem .95rem;
  color: #b6c3dc;
  font-size: .86rem;
}

.footer-meta p {
  margin: 0;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (min-width: 860px) {
  .menu-toggle { display: none; }

  .site-nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    padding: 0;
    border: 0;
    box-shadow: none;
    align-items: center;
  }

  .nav-group {
    display: inline-flex;
    align-items: center;
  }

  .nav-parent-row {
    display: inline-flex;
    align-items: center;
    width: auto;
  }

  .nav-group .nav-parent {
    height: 70px;
    display: inline-flex;
    align-items: center;
    margin-bottom: -2px;
    gap: .3rem;
  }

  .nav-group .nav-parent::after {
    content: "▾";
    font-size: .72rem;
    color: #637089;
    transform: translateY(-1px);
  }

  .nav-submenu-toggle {
    display: none;
  }

  .nav-dropdown {
    display: grid;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 280px;
    background: #fff;
    border: 1px solid #d7e1ee;
    border-radius: 14px;
    box-shadow: 0 14px 26px rgba(16, 30, 56, .14);
    padding: .7rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    z-index: 90;
  }

  .nav-group:hover .nav-dropdown,
  .nav-group:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-dropdown a {
    padding: .44rem .48rem;
    border-radius: 8px;
    white-space: nowrap;
  }

  .nav-dropdown a:hover {
    background: #f4f7fd;
    text-decoration: none;
  }

  .hero-full-inner {
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 2.5rem;
  }

  .hero-photo-light {
    max-width: 400px;
    width: 100%;
    justify-self: end;
  }

  .hero {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 2rem;
  }

  .hero-photo {
    max-width: 520px;
    width: 100%;
    justify-self: end;
  }

  .inline-photo {
    width: 280px;
    float: right;
    margin: .15rem 0 .9rem 1.4rem;
  }

  .practice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-lead {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr);
  }

  .split {
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1.2fr .9fr 1fr;
    gap: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 1100px) {
  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .blog-grid-secondary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 859px) {
  .editorial-lead { gap: .9rem; }

  .site-nav.open .nav-group {
    border-top: 1px solid #e6ebf4;
    border-bottom: 1px solid #e6ebf4;
    padding: .5rem 0 .6rem;
    margin: .2rem 0;
  }

  .site-nav.open .nav-parent-row {
    width: 100%;
    justify-content: center;
    gap: .5rem;
  }

  .site-nav.open .nav-parent {
    font-weight: 700;
  }

  .site-nav.open .nav-dropdown {
    margin: .35rem 0 0;
    padding-left: .75rem;
    border-left: 2px solid #dfe6f2;
  }

  .site-nav.open .nav-group.submenu-open .nav-dropdown {
    display: grid;
  }

  .site-nav.open .nav-dropdown a {
    padding: .18rem 0;
  }
}

@media (max-width: 859px) {
  .table-wrap table {
    min-width: 520px;
  }

  .table-wrap th,
  .table-wrap td {
    font-size: .86rem;
    padding: .58rem .6rem;
  }
}

@media (max-width: 700px) {
  body { line-height: 1.64; text-align: center; }

  main {
    width: 100%;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }

  main > .wrap {
    width: min(var(--content-max), 90%);
  }

  .site-footer {
    width: 100%;
  }

  .wrap { width: min(var(--content-max), 90%); }
  .narrow { width: min(var(--reading-max), 90%); }

  .hero-full {
    padding: clamp(1.5rem, 6vw, 2.5rem) 0;
    text-align: center;
  }

  .hero-full h1 {
    max-width: none;
    font-size: clamp(1.6rem, 6.5vw, 2.2rem);
  }

  .lead-light { max-width: none; }

  .hero-photo-light {
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-full .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-full .hero-cta .btn-gold,
  .hero-full .hero-cta .btn-outline-light {
    width: 100%;
    text-align: center;
    padding: .75rem 1rem;
  }

  .cta-band-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .cta-band-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-band-actions .btn-gold,
  .cta-band-actions .btn-outline-light {
    width: 100%;
    text-align: center;
  }

  .section { text-align: center; }
  .section ul, .section ol { text-align: left; display: inline-block; }
  .cta-box { text-align: center; }
  .cta-box-centered { max-width: none; }
  .split { text-align: center; }
  .practice-card { text-align: left; }

  .inline-photo {
    width: min(240px, 100%);
    margin: .3rem auto .9rem;
  }

  .hero {
    gap: .75rem;
    padding: clamp(1.2rem, 5vw, 1.8rem) 0 clamp(1rem, 3vw, 1.4rem);
    text-align: center;
  }

  .hero > div {
    display: grid;
    gap: .65rem;
  }

  .hero > div > * {
    margin: 0;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 6.5vw, 2.2rem);
    max-width: none;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    margin-top: .3rem;
    gap: .5rem;
  }

  .hero .hero-cta .btn {
    width: 100%;
    text-align: center;
    padding: .75rem 1rem;
    font-size: .95rem;
  }

  .hero .credentials-line {
    margin-top: .25rem;
    font-size: .82rem;
    line-height: 1.52;
  }

  .hero-photo {
    max-width: 280px;
    margin: 0 auto;
  }

  .practice-hero h1::after {
    margin-left: auto;
    margin-right: auto;
  }

  .practice-panel,
  .cta-box,
  .contact-card,
  .map-panel,
  .article {
    border-radius: 14px;
  }

  .practice-panel {
    padding: clamp(.98rem, 4.2vw, 1.3rem);
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .post-card-featured h2 {
    font-size: clamp(1.25rem, 5.2vw, 1.62rem);
  }

  .blog-divider { margin-top: .8rem; }

  .article {
    padding: clamp(1rem, 4vw, 1.4rem);
  }

  .article > .muted {
    line-height: 1.4;
    white-space: normal;
    padding: .3rem 0;
  }

  .article-content {
    font-size: 1rem;
  }

  .article-content table {
    min-width: 520px;
    font-size: .86rem;
  }

  .contact-card { padding: 1.05rem; text-align: left; }
  .contact-grid { text-align: left; }
}
