/* ============================================================
   The Buenker Law Firm — site styles
   Modern, fast, mobile-first. Texas feel: deep navy + sunset
   orange, Lone Star + Houston skyline accents, legal serif.
   ============================================================ */

:root {
  --ink:        #0f1b2d;   /* deep navy, primary text + headers   */
  --ink-soft:   #2a3a52;
  --sunset:     #c4561a;   /* Texas sunset orange, primary accent */
  --sunset-dk:  #a3440f;
  --gold:       #c9962f;   /* lone star gold, sparing accent      */
  --cream:      #faf7f1;   /* warm off-white background           */
  --cream-2:    #f1ebe0;
  --line:       #e2dccf;   /* warm hairline                       */
  --white:      #ffffff;
  --muted:      #5b6675;
  --maxw:       1140px;
  --radius:     14px;
  --shadow:     0 10px 30px rgba(15, 27, 45, .08);
  --shadow-lg:  0 24px 60px rgba(15, 27, 45, .14);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif {
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  color: var(--ink);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin-top: 0; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; }

a { color: var(--sunset-dk); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--sunset);
  font-family: "Inter", sans-serif;
  margin: 0 0 .6rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--sunset); color: #fff; box-shadow: 0 8px 20px rgba(196,86,26,.3); }
.btn-primary:hover { background: var(--sunset-dk); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--cream-2); color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,241,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 14px 24px; max-width: var(--maxw); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand .star { width: 34px; height: 34px; flex: none; }
.brand-mark { width: 50px; height: 50px; flex: none; border-radius: 50%; }
.footer-mark { width: 64px; height: 64px; margin-bottom: 14px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: "Libre Baskerville", serif; font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.brand-sub { font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--sunset); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 18px; }
.nav a.navlink {
  font-family: "Inter", sans-serif; font-weight: 600; font-size: .92rem;
  color: var(--ink); text-decoration: none;
}
.nav a.navlink:hover { color: var(--sunset); text-decoration: none; }
.nav .btn { padding: 11px 20px; }
.nav-phone { font-weight: 700; color: var(--ink); white-space: nowrap; }
.nav-phone:hover { color: var(--sunset); text-decoration: none; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #0f1b2d 0%, #1a2c47 55%, #243a5c 100%);
  color: #fff;
}
.hero .wrap { position: relative; z-index: 2; padding-top: 84px; padding-bottom: 150px; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero h1 .accent { color: var(--gold); }
.hero p.lede { font-size: 1.22rem; max-width: 52ch; color: #d9e0ea; }
.hero .eyebrow { color: var(--gold); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-trust { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 26px; color: #aebacb; font-size: .95rem; }
.hero-trust strong { color: #fff; font-size: 1.5rem; font-family: "Libre Baskerville", serif; display: block; }
.skyline {
  position: absolute; left: 0; right: 0; bottom: -1px; width: 100%;
  z-index: 1; opacity: .5; pointer-events: none;
}

/* ---------- Section scaffolding ---------- */
section { padding: 78px 0; }
.section-cream { background: var(--cream); }
.section-warm  { background: var(--cream-2); }
.section-ink   { background: var(--ink); color: #fff; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink .eyebrow { color: var(--gold); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); }
.section-ink .lead { color: #c3cdda; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .ico { width: 44px; height: 44px; margin-bottom: 16px; color: var(--sunset); }
.card h3 { margin: 0 0 .5rem; }
.card p { color: var(--muted); margin-bottom: .8rem; font-size: 1rem; }
.card a.more { font-weight: 700; color: var(--sunset-dk); font-size: .95rem; }

/* ---------- Stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-family: "Libre Baskerville", serif; font-size: 2.4rem; color: var(--gold); }
.stat span { color: #c3cdda; font-size: .98rem; }

/* ---------- Testimonials ---------- */
.quote {
  background: #fff; border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--line); box-shadow: var(--shadow); position: relative;
}
.quote .stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 10px; }
.quote p { font-size: 1.08rem; color: var(--ink-soft); font-style: italic; }
.quote cite { font-style: normal; font-weight: 700; color: var(--ink); display: block; margin-top: 12px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--sunset) 0%, var(--sunset-dk) 100%); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffe7d6; font-size: 1.15rem; max-width: 50ch; margin-inline: auto; }
.cta-band .btn-light { margin-top: 8px; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split .media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--ink); aspect-ratio: 4/3; }

/* Photo panel: a real portrait in a split media slot, with a caption over the base */
.split .media.photo-panel, .photo-panel { aspect-ratio: 4/5; position: relative; background: var(--cream-2); margin: 0; }
.photo-panel img { width: 100%; height: 100%; object-fit: cover; object-position: center 14%; display: block; }
.photo-panel figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 20px;
  background: linear-gradient(to top, rgba(11, 20, 33, .92) 30%, rgba(11, 20, 33, 0));
  color: #fff;
}
.photo-panel figcaption strong { display: block; font-family: "Libre Baskerville", serif; font-size: 1.15rem; }
.photo-panel figcaption span {
  display: block; margin-top: 4px; color: var(--gold); font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase; font-size: .74rem;
}

/* Small portrait card (contact and ask pages) */
.portrait-card {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-lg); margin: 0; max-width: 340px;
}
.portrait-card img { width: 100%; display: block; aspect-ratio: 1/1; object-fit: cover; object-position: center 20%; }
.portrait-card figcaption { padding: 18px 20px; }
.portrait-card figcaption strong { display: block; font-family: "Libre Baskerville", serif; font-size: 1.1rem; }
.portrait-card figcaption span { display: block; color: var(--sunset); font-weight: 700; font-size: .9rem; margin-top: 2px; }
.portrait-card figcaption p { margin: 10px 0 0; font-size: .95rem; color: var(--ink-soft); }

/* ---------- Attorney cards ---------- */
.atty { display: grid; grid-template-columns: 260px 1fr; gap: 34px; align-items: start; }
.atty .photo {
  width: 260px; height: 320px; border-radius: var(--radius); background: var(--cream-2);
  display: flex; align-items: center; justify-content: center; color: var(--muted);
  border: 1px solid var(--line); overflow: hidden;
}
.atty h3 { font-size: 1.5rem; margin-bottom: .2rem; }
.atty h4 { font-family: "Libre Baskerville", serif; font-size: 1.05rem; margin: 1.6rem 0 .7rem; color: var(--ink); }
.atty .role { color: var(--sunset); font-weight: 700; margin-bottom: 1rem; }

/* ---------- Lists ---------- */
.check { list-style: none; padding: 0; margin: 0; }
.check li { position: relative; padding-left: 32px; margin-bottom: 14px; color: var(--ink-soft); }
.check li::before {
  content: "★"; color: var(--sunset); position: absolute; left: 0; top: 0; font-size: 1.05rem;
}

/* ---------- Practice detail ---------- */
.pa { padding: 28px 0; border-bottom: 1px solid var(--line); }
.pa:last-child { border-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 1rem; font-family: inherit; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--sunset); border-color: var(--sunset); }
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.info-row .ic { color: var(--sunset); flex: none; width: 26px; height: 26px; margin-top: 3px; }
.info-row strong { display: block; }

/* ---------- Breadcrumb / page hero ---------- */
.page-hero { background: var(--ink); color: #fff; padding: 60px 0; }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero p { color: #c3cdda; margin: 10px 0 0; max-width: 60ch; }
.page-hero .eyebrow { color: var(--gold); }

/* ---------- Blog ---------- */
.post { background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); display:flex; flex-direction:column; }
.post .post-body { padding: 24px; }
.post .tag { display:inline-block; font-size:.72rem; text-transform:uppercase; letter-spacing:1.5px; font-weight:700; color:var(--sunset); margin-bottom:10px; }
.post h3 { margin:0 0 .5rem; font-size:1.2rem; }
.post p { color: var(--muted); font-size:.98rem; }
.post .date { color: var(--muted); font-size:.85rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1421; color: #aebacb; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; font-family: "Inter", sans-serif; font-size: .95rem; text-transform: uppercase; letter-spacing: 1.5px; margin: 0 0 16px; }
.site-footer a { color: #aebacb; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-brand .brand-name { color:#fff; }
.footer-bottom { border-top: 1px solid #1d2a3d; margin-top: 44px; padding-top: 22px; font-size: .85rem; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.badge-es { display:inline-block; background: var(--sunset); color:#fff; font-weight:700; font-size:.8rem; padding:4px 12px; border-radius:999px; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--muted); }
.hide { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .atty { grid-template-columns: 1fr; }
  .atty .photo { width: 100%; max-width: 280px; height: 340px; }
}
@media (max-width: 680px) {
  body { font-size: 17px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    background: var(--cream); flex-direction: column; align-items: flex-start;
    padding: 90px 28px 28px; gap: 22px; transform: translateX(100%);
    transition: transform .25s ease; box-shadow: var(--shadow-lg);
  }
  .nav.open { transform: translateX(0); }
  .nav-toggle { display: block; z-index: 60; }
  .hero .wrap { padding-bottom: 110px; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    background: var(--cream); flex-direction: column; align-items: flex-start;
    padding: 90px 28px 28px; gap: 22px; transform: translateX(100%);
    transition: transform .25s ease; box-shadow: var(--shadow-lg);
  }
  .nav.open { transform: translateX(0); }
  .nav-toggle { display: block; z-index: 60; }
}

/* ============================================================
   Visual polish layer
   ============================================================ */

/* Accent bar under section headings */
.section-head h2 { position: relative; padding-bottom: 20px; }
.section-head h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 56px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--sunset), var(--gold));
}
.section-head.center h2::after { left: 50%; transform: translateX(-50%); }

/* Card icon chips + slightly deeper hover */
.card { position: relative; }
.card .ico {
  width: 54px; height: 54px; padding: 14px; margin-bottom: 18px;
  background: rgba(196, 86, 26, .10); border-radius: 14px; color: var(--sunset);
}
.card:hover { transform: translateY(-5px); }

/* Hero depth: warm glow + faint Lone Star watermark */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 82% 15%, rgba(201, 150, 47, .20), transparent 55%);
}
.hero::after {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  top: 6%; right: -50px; width: 360px; height: 360px; opacity: .06;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c9962f' d='M12 1l2.9 7.1 7.6.5-5.8 4.9 1.9 7.4L12 17.8 5.4 20.9l1.9-7.4L1.5 8.6l7.6-.5z'/%3E%3C/svg%3E") no-repeat center / contain;
}
@media (max-width: 680px) { .hero::after { display: none; } }

/* Decorative quotation mark on testimonials */
.quote::before {
  content: "\201C"; position: absolute; top: 2px; right: 22px;
  font-family: "Libre Baskerville", serif; font-size: 4.6rem; line-height: 1;
  color: rgba(196, 86, 26, .13);
}

/* Subtle dividers between stats on wide screens */
@media (min-width: 901px) {
  .stats .stat + .stat::before {
    content: ""; position: absolute; left: -10px; top: 12%; height: 76%;
    width: 1px; background: rgba(255, 255, 255, .12);
  }
  .stats .stat { position: relative; }
}

/* Branded panel (fills the split media box, reusable) */
.brand-panel {
  background: linear-gradient(160deg, #16273f 0%, #0f1b2d 100%);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 40px; position: relative; overflow: hidden;
}
.brand-panel::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 28%, rgba(201, 150, 47, .18), transparent 60%);
}
.brand-panel-inner { position: relative; z-index: 1; max-width: 320px; }
.brand-panel-inner .bp-star { width: 62px; height: 62px; margin: 0 auto 20px; display: block; }
.brand-panel-inner p {
  color: #fff; font-family: "Libre Baskerville", serif;
  font-size: 1.35rem; line-height: 1.35; margin: 0 0 14px;
}
.brand-panel-inner span {
  color: var(--gold); font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; font-size: .78rem;
}

/* Scroll reveal (class is added by JS, so no-JS keeps content visible) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* Header gains a soft shadow once the page is scrolled */
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15, 27, 45, .09); }

/* Sticky mobile call bar — appears only on phones */
.call-bar { display: none; }
@media (max-width: 680px) {
  .call-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    box-shadow: 0 -6px 20px rgba(15, 27, 45, .22);
  }
  .call-bar a {
    flex: 1; text-align: center; padding: 16px 10px; font-family: "Inter", sans-serif;
    font-weight: 700; font-size: 1rem; text-decoration: none;
  }
  .call-bar a:hover { text-decoration: none; }
  .cb-call { background: var(--ink); color: #fff; }
  .cb-review { background: var(--sunset); color: #fff; }
  .site-footer { padding-bottom: 100px; }
}

/* Accessible keyboard focus ring */
a:focus-visible, .btn:focus-visible, button:focus-visible,
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px;
}

/* ============================================================
   Video cards (2026-10-22): Know Your Pay and the podcast.
   Used by videos.html and the homepage. A card is a 16:9
   thumbnail; with no video yet it shows a placeholder.
   ============================================================ */
.vid-card { display: block; color: inherit; text-decoration: none; }
.vid-thumb {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 12px; border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
}
.vid-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid-play, .vid-mic {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.vid-play::after {
  content: ""; position: absolute; left: 22px; top: 17px;
  border-left: 16px solid var(--sunset); border-top: 11px solid transparent; border-bottom: 11px solid transparent;
}
.vid-mic::after {
  content: ""; position: absolute; left: 21px; top: 13px; width: 14px; height: 22px;
  border-radius: 7px; background: var(--sunset);
}
.vid-soon {
  position: absolute; left: 0; right: 0; bottom: 12px; text-align: center;
  color: #fff; font-size: .85rem; font-weight: 600; letter-spacing: .3px; opacity: .9;
}
.vid-card:hover .vid-play, .vid-card:hover .vid-mic { transform: translate(-50%, -50%) scale(1.06); }
.vid-title { display: block; margin-top: 10px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.vid-meta { display: block; margin-top: 3px; font-size: .88rem; color: var(--muted); }
.vid-embed { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--ink); }
.vid-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-embed video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #000; }

.vid-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.vid-feature-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center; }
.ep-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ep-item {
  display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
}
.series-note { font-size: .88rem; color: var(--muted); margin-top: 18px; }
@media (max-width: 900px) {
  .vid-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vid-feature-row { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 600px) {
  .vid-grid { grid-template-columns: 1fr; }
  .ep-item { grid-template-columns: 1fr; }
}

/* ============================================================
   Menu fit (2026-10-22). Adding Videos made seven menu links plus the
   phone and button. Below about 1240px they no longer fit on one line,
   so labels wrapped onto two or three lines and at 900px the menu ran
   off the screen. Labels now never wrap, the header row is a little
   wider, and the slide-out menu takes over below 1240px.
   ============================================================ */
.header-inner { max-width: 1280px; }
.nav { gap: 14px; }
.nav a.navlink { white-space: nowrap; }
.nav .btn { white-space: nowrap; }
@media (max-width: 1240px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    background: var(--cream); flex-direction: column; align-items: flex-start;
    padding: 90px 28px 28px; gap: 22px; transform: translateX(100%);
    transition: transform .25s ease; box-shadow: var(--shadow-lg);
  }
  .nav.open { transform: translateX(0); }
  .nav-toggle { display: block; z-index: 60; }
}

/* Attorney overview cards and individual bio pages (2026-11-02) */
.atty-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.atty-card { display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 24px rgba(16, 28, 48, .08); color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.atty-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(16, 28, 48, .14); }
.atty-card-photo { aspect-ratio: 4/5; max-height: 420px; background: var(--cream-2); overflow: hidden; }
.atty-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.atty-card-photo-empty { display: flex; align-items: center; justify-content: center; color: var(--ink-soft); font-size: .95rem; }
.atty-card-body { padding: 24px 26px 28px; }
.atty-card-body h3 { font-size: 1.4rem; margin-bottom: .2rem; }
.atty-card-body .role { color: var(--sunset); font-weight: 700; margin-bottom: .8rem; }
.atty-card-body p { color: var(--ink-soft); }
.atty-card-link { display: inline-block; margin-top: 6px; color: var(--sunset); font-weight: 700; }
.atty-back { margin: 0 0 28px; }
.atty-back a { color: var(--sunset); font-weight: 600; text-decoration: none; }
@media (max-width: 760px) { .atty-cards { grid-template-columns: 1fr; } }

/* Phone menu fix (2026-11-02). The header's backdrop-filter made the header the
   containing block for the fixed .nav panel, so on phones the menu was trapped in
   the 118px header strip and its links floated over the page with no panel behind
   them. Below the menu breakpoint the header drops the blur and goes opaque, and
   the panel fills the screen height. */
@media (max-width: 860px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
  .nav { height: 100vh; height: 100dvh; overflow-y: auto; }
}

/* ============================================================
   Site colors, 2026-11-02: navy in place of the sunset orange,
   khaki hero areas, light header with navy lines, navy bottom
   band and footer with a white line between them. Worked out
   on the test homepage and rolled site-wide on Joe's word.
   Redefining --sunset turns every former orange accent navy.
   ============================================================ */
:root {
  --sunset:    #1f3a5f;   /* navy accent, a shade lighter than the --ink text */
  --sunset-dk: #142a47;
  --khaki:     #d9ccaa;
  --khaki-dk:  #b9a97f;
}
.site-header { background: #fdfbf6; border-top: 3px solid var(--sunset); border-bottom: 3px solid var(--sunset); }
.header-inner { padding-top: 24px; padding-bottom: 24px; }
.site-header .nav a.navlink { color: var(--ink); }
.site-header .nav a.navlink:hover, .nav-phone:hover { color: var(--sunset-dk); text-decoration: underline; }
.btn-primary { box-shadow: 0 8px 20px rgba(20, 42, 71, .28); }
.card .ico { background: rgba(31, 58, 95, .10); }
.quote::before { color: rgba(31, 58, 95, .13); }

/* Interior page heroes: khaki with navy print, matching the homepage hero. */
.page-hero { background: var(--khaki); color: var(--ink); border-bottom: 1px solid var(--khaki-dk); }
.page-hero h1 { color: var(--ink); }
.page-hero p { color: var(--ink-soft); }
.page-hero .eyebrow { color: var(--sunset); }
.page-hero a { color: var(--sunset-dk); }

/* Bottom band and footer in navy, a white line between them. */
.cta-band { background: var(--sunset); }
.cta-band p { color: #d8e0ea; }
.site-footer { background: var(--sunset); color: #c9d3e0; border-top: 3px solid #fff; }
.site-footer a { color: #c9d3e0; }
.footer-bottom { border-top-color: rgba(255, 255, 255, .18); }

/* Attorney bio photo below the text (Tom's page), 2026-11-03 */
.atty-figure { margin: 1.6rem 0 0; }
.atty-figure img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 10px 28px rgba(15,27,45,.14); }

/* Responsible-attorney line (Rule 7.02(a)), 2026-11-11: own line under the footer-bottom pair. */
.footer-bottom .footer-resp { flex-basis: 100%; }
