/* ==========================================================================
   FLETCHER LAW — Global Stylesheet
   Joseph M. Fletcher, Attorney at Law
   Design system: deep navy backgrounds, white content, royal-blue accents,
   gold highlights for key metrics. Serif display + clean sans body.
   ========================================================================== */

/* ---------- Design Tokens ------------------------------------------------ */
:root {
  /* Brand palette */
  --navy-900: #0a1b34;   /* deepest background */
  --navy-800: #102a4c;   /* primary navy */
  --navy-700: #163864;   /* raised navy panels */
  --navy-600: #1d4a80;   /* navy hover */
  --royal:    #1e64c8;   /* royal-blue accent / buttons */
  --royal-dark: #1550a8; /* button hover */
  --royal-light: #e8f0fb;/* tint backgrounds */
  --gold:     #f2b530;   /* highlight metrics */
  --gold-soft:#f6c95a;

  /* Neutrals */
  --white:    #ffffff;
  --paper:    #f5f7fa;   /* light section background */
  --paper-2:  #eef2f7;
  --line:     #d8e0ea;   /* borders */
  --ink:      #1a2436;   /* body text on light */
  --ink-soft: #52607a;   /* muted text */
  --ink-onDark: #cdd8e8; /* muted text on navy */

  /* Typography */
  --serif: "Cinzel", "Times New Roman", Georgia, serif;      /* engraved display caps */
  --sans:  "EB Garamond", "Georgia", "Times New Roman", serif; /* classical body serif */

  /* Structure */
  --maxw: 1200px;
  --radius: 8px;
  --radius-sm: 5px;
  --shadow-sm: 0 2px 8px rgba(16, 42, 76, 0.08);
  --shadow-md: 0 8px 24px rgba(16, 42, 76, 0.12);
  --shadow-lg: 0 18px 48px rgba(10, 27, 52, 0.28);
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

a { color: var(--royal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--royal-dark); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy-800);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}

p { margin: 0 0 1em; }

ul { margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
  line-height: 1.15;
}
.btn-primary { background: var(--royal); color: var(--white); }
.btn-primary:hover { background: var(--royal-dark); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-soft); color: var(--navy-900); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-outline { background: var(--white); color: var(--royal); border-color: var(--royal); }
.btn-outline:hover { background: var(--royal); color: var(--white); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 14px; font-size: 0.76rem; }

/* ==========================================================================
   TOP INFO BAR
   ========================================================================== */
.topbar {
  background: var(--navy-900);
  color: var(--ink-onDark);
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  flex-wrap: wrap;
}
.topbar-avail { display: flex; align-items: center; gap: 10px; }
.topbar-avail .pill {
  background: var(--gold);
  color: var(--navy-900);
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  font-size: 0.72rem;
  white-space: nowrap;
}
.topbar-avail span.msg { color: var(--ink-onDark); }
.topbar-phone {
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
  white-space: nowrap;
}
.topbar-phone:hover { color: var(--gold); }
.topbar-actions { display: flex; gap: 10px; }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 24px;
}

/* Brand / logo lockup */
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--navy-800);
  text-transform: uppercase;
}
.brand-sub {
  font-size: 0.68rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.brand-tag {
  font-size: 0.62rem;
  color: var(--royal);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Nav */
.main-nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block;
  padding: 10px 12px;
  color: var(--navy-800);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}
.nav-list > li > a:hover,
.nav-list > li.current > a { color: var(--royal); }
.nav-list > li.current > a { border-bottom: 2px solid var(--royal); border-radius: 0; }

/* Dropdown */
.has-dropdown > a::after {
  content: "▾";
  font-size: 0.7em;
  margin-left: 5px;
  color: var(--ink-soft);
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 120;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.has-dropdown.open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 12px;
  color: var(--navy-800);
  font-weight: 500;
  font-size: 0.86rem;
  border-radius: var(--radius-sm);
  text-transform: none;
  letter-spacing: 0;
}
.dropdown li a:hover { background: var(--royal-light); color: var(--royal-dark); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 3px;
  background: var(--navy-800);
  border-radius: 3px;
  transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(10,27,52,0.55) 0%, rgba(10,27,52,0.82) 100%),
    radial-gradient(1200px 600px at 30% 20%, #24548f 0%, #12305a 45%, #0a1b34 100%);
  color: var(--white);
  overflow: hidden;
}
/* NOTE: swap the radial-gradient above for a real lighthouse photo when ready:
   background: linear-gradient(...) , url("../img/hero-lighthouse.jpg") center/cover; */

/* Decorative "lighthouse beam" accent so the CSS hero reads intentionally */
.hero::after {
  content: "";
  position: absolute;
  right: -10%; top: -20%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(242,181,48,0.18) 0%, rgba(242,181,48,0) 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 40px;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 24px 90px;
}
.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 14px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.hero-title .accent { color: var(--gold); }
.hero-practice {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--gold-soft);
  margin-bottom: 16px;
}
.hero-lead {
  font-size: 1.08rem;
  color: var(--ink-onDark);
  max-width: 560px;
  margin-bottom: 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero side widgets */
.hero-aside {
  background: rgba(10, 22, 44, 0.72);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-lg);
}
.hero-widget {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.hero-widget:last-child { border-bottom: 0; padding-bottom: 0; }
.hero-widget:first-child { padding-top: 0; }
.hero-widget .icon {
  flex: 0 0 42px;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: rgba(30,100,200,0.22);
  border: 1px solid rgba(120,170,240,0.35);
  border-radius: 50%;
  color: var(--gold);
}
.hero-widget h4 {
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 2px 0 4px;
}
.hero-widget p { color: var(--ink-onDark); font-size: 0.82rem; margin: 0; }

/* ==========================================================================
   SECTION SCAFFOLD
   ========================================================================== */
.section { padding: 72px 0; }
.section-light { background: var(--paper); }
.section-navy { background: var(--navy-800); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head .eyebrow {
  display: inline-block;
  color: var(--royal);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-navy .section-head .eyebrow { color: var(--gold); }
.section-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.section-navy .section-head p { color: var(--ink-onDark); }
.section-head .rule {
  width: 64px; height: 3px; background: var(--gold);
  margin: 16px auto 0; border-radius: 3px;
}

/* ==========================================================================
   PRACTICE AREAS GRID (4-col)
   ========================================================================== */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.practice-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--royal);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.practice-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.practice-card .pc-icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: var(--royal-light);
  color: var(--royal);
  border-radius: 50%;
  margin-bottom: 16px;
}
.practice-card h3 {
  font-size: 1.15rem;
  text-align: center;
  min-height: 2.4em;
  display: flex; align-items: center; justify-content: center;
}
.practice-card .pc-list {
  list-style: none;
  margin: 6px 0 20px;
  flex: 1 1 auto;
}
.practice-card .pc-list li {
  position: relative;
  padding: 5px 0 5px 22px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
}
.practice-card .pc-list li::before {
  content: "";
  position: absolute; left: 0; top: 11px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--royal);
  opacity: 0.85;
}
.practice-card .pc-actions { display: flex; flex-direction: column; gap: 8px; }

/* ==========================================================================
   WHY CHOOSE (5-col)
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.why-item { text-align: center; padding: 10px; }
.why-item .why-icon {
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 2px solid var(--gold);
  color: var(--gold);
}
.section-light .why-item .why-icon {
  background: var(--white);
  border-color: var(--royal);
  color: var(--royal);
  box-shadow: var(--shadow-sm);
}
.why-item h4 {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.why-item p { font-size: 0.84rem; color: var(--ink-onDark); }
.section-light .why-item p { color: var(--ink-soft); }

/* ==========================================================================
   CTA STRIP
   ========================================================================== */
.cta-strip {
  background: linear-gradient(90deg, var(--royal) 0%, var(--navy-700) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}
.cta-strip h3 { color: var(--white); font-size: 1.6rem; margin: 0 0 4px; }
.cta-strip p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-strip .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ==========================================================================
   GENERIC PAGE HEADER (interior pages)
   ========================================================================== */
.page-hero {
  background:
    linear-gradient(180deg, rgba(10,27,52,0.72) 0%, rgba(10,27,52,0.9) 100%),
    radial-gradient(900px 400px at 70% 10%, #24548f 0%, #12305a 50%, #0a1b34 100%);
  color: var(--white);
  padding: 64px 0;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: var(--ink-onDark); max-width: 640px; font-size: 1.05rem; }
.breadcrumb {
  font-size: 0.82rem;
  color: var(--ink-onDark);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--gold-soft); }
.breadcrumb span { opacity: 0.6; }

/* ==========================================================================
   CONTENT LAYOUT (interior pages)
   ========================================================================== */
.content-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.prose h2 { font-size: 1.8rem; margin-top: 1.4em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.2em; }
.prose ul { margin: 0 0 1.2em; padding-left: 0; list-style: none; }
.prose ul li {
  position: relative;
  padding: 6px 0 6px 26px;
  color: var(--ink-soft);
}
.prose ul li::before {
  content: "✓";
  position: absolute; left: 0; top: 6px;
  color: var(--royal);
  font-weight: 700;
}
.prose .lead { font-size: 1.15rem; color: var(--ink); }

/* Sidebar */
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-card.navy { background: var(--navy-800); color: var(--white); border: 0; }
.sidebar-card h3 { font-size: 1.1rem; margin-bottom: 14px; }
.sidebar-card.navy h3 { color: var(--white); }
.sidebar-links { list-style: none; }
.sidebar-links li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--navy-800);
  font-weight: 500;
  font-size: 0.92rem;
}
.sidebar-links li a:hover { color: var(--royal); padding-left: 4px; }
.sidebar-links li a::after { content: "→"; color: var(--ink-soft); }
.sidebar-card.navy p { color: var(--ink-onDark); }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 32px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-800);
  letter-spacing: 0.02em;
}
.form-field label .req { color: #c0392b; }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--royal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(30,100,200,0.15);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field .error-msg { color: #c0392b; font-size: 0.76rem; display: none; }
.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea { border-color: #c0392b; }
.form-field.invalid .error-msg { display: block; }
.form-consent { font-size: 0.8rem; color: var(--ink-soft); }
.form-status {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.form-status.success { display: block; background: #e6f4ea; color: #1e7e34; border: 1px solid #b7e0c2; }
.form-status.error { display: block; background: #fdecea; color: #c0392b; border: 1px solid #f5c6c0; }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q:hover { color: var(--royal); }
.faq-q .chev { transition: transform var(--transition); color: var(--royal); flex: 0 0 auto; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner { padding: 0 22px 20px; color: var(--ink-soft); }

/* ==========================================================================
   CARDS (reviews / blog)
   ========================================================================== */
.card-grid { display: grid; gap: 24px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.review-card blockquote { margin: 0 0 16px; font-size: 0.98rem; color: var(--ink); font-style: italic; }
.review-meta { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-700); color: var(--white);
  display: grid; place-items: center; font-weight: 700;
}
.review-name { font-weight: 700; color: var(--navy-800); font-size: 0.92rem; }
.review-case { font-size: 0.78rem; color: var(--ink-soft); }

.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--navy-700), var(--royal));
  display: grid; place-items: center;
  color: rgba(255,255,255,0.9);
}
.blog-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-tag {
  align-self: flex-start;
  background: var(--royal-light); color: var(--royal-dark);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; padding: 3px 10px; border-radius: 20px;
  margin-bottom: 12px;
}
.blog-body h3 { font-size: 1.18rem; }
.blog-meta { font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 10px; }
.blog-body p { color: var(--ink-soft); font-size: 0.92rem; flex: 1; }
.blog-more { margin-top: 14px; font-weight: 600; font-size: 0.86rem; }

/* Stat band */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-family: var(--serif); font-size: 2.6rem; font-weight: 800; color: var(--gold); line-height: 1; }
.stat .label { font-size: 0.86rem; color: var(--ink-onDark); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 8px; }

/* Two-col intro (about) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.portrait-frame {
  background: linear-gradient(135deg, var(--navy-700), var(--royal));
  border-radius: var(--radius);
  min-height: 420px;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.85);
  box-shadow: var(--shadow-md);
  position: relative;
}
.portrait-frame .ph-note { position: absolute; bottom: 14px; font-size: 0.72rem; opacity: 0.7; }

/* Attorney photo variant — framed portrait on brand panel */
.portrait-frame.has-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 420px;
  padding: 32px;
  background: linear-gradient(135deg, var(--navy-700), var(--royal));
}
.portrait-frame.has-photo img {
  width: 250px;
  max-width: 82%;
  height: auto;
  border-radius: 8px;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-md);
  background: var(--white);
}
.portrait-frame.has-photo figcaption {
  color: var(--white);
  text-align: center;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   DISCLAIMER BLOCK
   ========================================================================== */
.disclaimer-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.disclaimer {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.disclaimer h4 {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--sans); text-transform: uppercase;
  letter-spacing: 0.05em; font-size: 0.95rem; color: var(--navy-800);
  margin-bottom: 12px;
}
.disclaimer h4 .warn { color: var(--gold); }
.disclaimer p { font-size: 0.84rem; color: var(--ink-soft); margin-bottom: 0.8em; }
.disclaimer p strong { color: var(--navy-800); }
.norel {
  background: var(--navy-800);
  color: var(--white);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.norel h4 { color: var(--white); text-transform: uppercase; font-family: var(--sans); font-size: 0.95rem; letter-spacing: 0.05em; }
.norel p { color: var(--ink-onDark); font-size: 0.84rem; }
.norel .norel-links { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.norel .norel-links a {
  display: flex; justify-content: space-between;
  color: var(--white); border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 14px; border-radius: var(--radius-sm); font-size: 0.86rem;
}
.norel .norel-links a:hover { background: rgba(255,255,255,0.08); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--navy-900); color: var(--ink-onDark); padding: 56px 0 0; }
.footer-brand-row {
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; text-align: center;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 40px; gap: 10px;
}
.footer-brand-row .brand-name { color: var(--white); font-size: 1.7rem; }
.footer-brand-row .brand-tag { color: var(--gold-soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-col h4 {
  color: var(--white); font-family: var(--sans);
  font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: var(--ink-onDark); font-size: 0.88rem; }
.footer-col ul li a:hover { color: var(--gold-soft); }
.footer-contact p { font-size: 0.88rem; margin-bottom: 8px; display: flex; gap: 8px; }
.footer-contact .ic { color: var(--gold); flex: 0 0 auto; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08); color: var(--white);
}
.footer-social a:hover { background: var(--royal); }
.footer-bottom {
  margin-top: 44px; padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; font-size: 0.8rem;
}
.footer-bottom .legal-links { display: flex; gap: 18px; }
.footer-bottom .legal-links a { color: var(--ink-onDark); }
.footer-bottom .legal-links a:hover { color: var(--gold-soft); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-aside { max-width: 480px; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .content-wrap { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .disclaimer-wrap { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .topbar-actions { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 84vw);
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 80px 20px 24px;
    transition: right 0.3s ease;
    overflow-y: auto;
    z-index: 110;
  }
  .main-nav.open { right: 0; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list > li > a { padding: 12px 10px; font-size: 0.9rem; }
  .nav-list > li.current > a { border-bottom: 0; color: var(--royal); }
  .dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0;
    max-height: 0; overflow: hidden; padding: 0 0 0 12px;
    transition: max-height 0.3s ease;
  }
  .has-dropdown.open > .dropdown { max-height: 600px; }
  .nav-backdrop {
    display: none;
    position: fixed; inset: 0;
    background: rgba(10,27,52,0.5);
    z-index: 900;
  }
  .nav-backdrop.show { display: block; }
}

/* ==========================================================================
   EXACT-MATCH TYPOGRAPHY  (classical engraved-serif look, per client mockup)
   ========================================================================== */
body { font-size: 17px; letter-spacing: 0.005em; }
h1, h2, h3, h4 { letter-spacing: 0.02em; }
.brand-name { letter-spacing: 0.09em; }
.brand-sub { font-style: italic; }
/* nav + buttons in the engraved caps face */
.nav-list > li > a { font-family: var(--serif); letter-spacing: 0.05em; font-size: 0.76rem; font-weight: 600; }
.dropdown li a { font-family: var(--sans); letter-spacing: 0; }
.btn { font-family: var(--serif); letter-spacing: 0.05em; font-weight: 600; }
/* small labels that read as engraved caps in the mockup */
.section-head .eyebrow,
.why-item h4,
.hero-widget h4,
.topbar-avail .pill,
.footer-col h4,
.disclaimer h4,
.norel h4 { font-family: var(--serif); }
/* hero "With" reads smaller than REPRESENTATION / CARE */
.hero-title .sm { font-size: 0.58em; font-weight: 600; }


/* ==== Joseph M. Fletcher, PLLC — official logo ==== */
.brand-logo { height: 62px; width: auto; display: block; }
.footer-logo { width: 300px; max-width: 82%; height: auto; display: block; margin: 0 auto; border-radius: 4px; }
@media (max-width: 860px){ .brand-logo { height: 48px; } }
@media (max-width: 620px){ .brand-logo { height: 42px; } }


/* ==========================================================================
   MOBILE REFINEMENTS  (phone-friendly sizing for the wide serif + logo)
   ========================================================================== */
@media (max-width: 860px) {
  .brand-logo { height: 46px; }
  .hero-inner { padding: 54px 20px 60px; }
  .hero-title { font-size: 2.2rem; line-height: 1.08; }
  .page-hero { padding: 44px 0; }
}
@media (max-width: 620px) {
  .brand-logo { height: 40px; }
  .header-inner { padding: 10px 16px; }
  .topbar-inner { padding: 8px 16px; gap: 6px 14px; font-size: 0.78rem; }
  .hero-title { font-size: 1.95rem; }
  .hero-title .sm { font-size: 0.6em; }
  .hero-lead { font-size: 1rem; }
  .hero-practice { font-size: 0.92rem; }
  .section-head h2 { font-size: 1.55rem; }
  .cta-strip h3 { font-size: 1.3rem; }
  .footer-logo { width: 260px; }
  h1, h2, h3, h4 { letter-spacing: 0.01em; }
}
@media (max-width: 400px) {
  .hero-title { font-size: 1.65rem; }
  .brand-logo { height: 36px; }
}
