/*
Theme Name:  Murphy & Baker
Theme URI:   https://murphybaker.com
Author:      Murphy & Baker Law Firm
Author URI:  https://murphybaker.com
Description: Custom WordPress theme for Murphy & Baker Law Firm — criminal and juvenile defense attorneys in Tyler, Texas.
Version:     1.4.8
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: murphybaker
Tags:        dark, custom-menu, featured-images, custom-logo, full-width-template, editor-style
*/

/* ========================================
   00. FONT FACES
   ======================================== */

/* HK Grotesk Wide — 7 weights */
@font-face {
  font-family: 'HK Grotesk Wide';
  src: url('assets/fonts/HKGroteskWide-Light.woff2') format('woff2'),
       url('assets/fonts/HKGroteskWide-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'HK Grotesk Wide';
  src: url('assets/fonts/HKGroteskWide-Regular.woff2') format('woff2'),
       url('assets/fonts/HKGroteskWide-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'HK Grotesk Wide';
  src: url('assets/fonts/HKGroteskWide-Medium.woff2') format('woff2'),
       url('assets/fonts/HKGroteskWide-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'HK Grotesk Wide';
  src: url('assets/fonts/HKGroteskWide-SemiBold.woff2') format('woff2'),
       url('assets/fonts/HKGroteskWide-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'HK Grotesk Wide';
  src: url('assets/fonts/HKGroteskWide-Bold.woff2') format('woff2'),
       url('assets/fonts/HKGroteskWide-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'HK Grotesk Wide';
  src: url('assets/fonts/HKGroteskWide-ExtraBold.woff2') format('woff2'),
       url('assets/fonts/HKGroteskWide-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'HK Grotesk Wide';
  src: url('assets/fonts/HKGroteskWide-Black.woff2') format('woff2'),
       url('assets/fonts/HKGroteskWide-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ========================================
   01. CUSTOM PROPERTIES
   ======================================== */
:root {
  --bg:          #141414;
  --bg-soft:     #1c1c1c;
  --bg-warm:     #222020;
  --fg:          #e8e1d1;
  --fg-soft:     #b5ac99;
  --fg-dim:      #8a8174;
  --fg-muted:    #5a5248;
  --rule:        #2e2a25;
  --rule-bright: #3d3832;
  --accent:      #c89b5a;
  --accent-deep: #a07d3e;
  --serif:       'Playfair Display', 'Times New Roman', serif;
  --display:     'HK Grotesk Wide', system-ui, sans-serif;
  --sans:        'HK Grotesk Wide', system-ui, sans-serif;
  --mono:        'JetBrains Mono', monospace;
  --side:        40px;
  --prose-max:   820px;
  --section-gap: 120px;
  --surface:     #1c1c1c;
  --surface-hi:  #242424;
}
@media (max-width: 1100px) { :root { --side: 32px; } }
@media (max-width: 560px)  { :root { --side: 20px; } }

/* ========================================
   02. RESET & BASE
   ======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--fg); text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ========================================
   03. GRAIN OVERLAY
   ======================================== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ========================================
   04. UTILITY BAR
   ======================================== */
.utility {
  background: #0c0c0c;
  color: var(--fg);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  z-index: 30;
}
.utility-inner {
  padding: 0 var(--side);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.live-dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: #78b858;
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 2.2s infinite;
  vertical-align: middle;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.utility a { color: var(--fg); text-decoration: none; transition: color 0.2s; }
.utility a:hover { color: var(--accent); }

/* ========================================
   05. PRIMARY NAVIGATION
   ======================================== */
.site-header { background: var(--bg); }
nav.primary {
  padding: 28px var(--side);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--rule);
  position: relative;
  z-index: 20;
}
.custom-logo-link {
  display: inline-block;
  line-height: 0;
  transition: opacity 0.2s;
}
.custom-logo-link:hover { opacity: 0.85; }
.custom-logo {
  display: block;
  width: 240px;
  height: auto;
  max-width: 100%;
}
.footer .custom-logo { width: 160px; }
@media (max-width: 768px) {
  .custom-logo { width: 156px; }
}
.site-logo-fallback {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
}
.nav-links { display: flex; gap: 36px; font-size: 14px; font-weight: 500; }
.nav-links a {
  color: var(--fg);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta-wrap { display: flex; align-items: center; gap: 16px; }
.nav-cta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--bg);
  padding: 10px 18px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  border-radius: 2px;
  font-weight: 500;
}
.nav-cta:hover { background: var(--fg); color: var(--bg); }
.nav-burger {
  display: none;
  width: 28px; height: 20px;
  background: none; border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  z-index: 25;
}
.nav-burger span { display: block; width: 100%; height: 2px; background: var(--fg); transition: all 0.3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 21;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.nav-backdrop.open { opacity: 1; pointer-events: auto; }

/* ========================================
   06. HERO
   ======================================== */
.hero { position: relative; overflow: hidden; padding: 120px 0 80px; min-height: 100vh; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-bg-img {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,20,20,0.55) 0%, rgba(20,20,20,0.85) 100%);
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(200,105,80,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(200,155,90,0.08) 0%, transparent 50%),
    var(--bg);
  z-index: -1;
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
}
.hero-inner {
  padding: 60px var(--side) 40px;
  position: relative; z-index: 2;
}
.hero-label {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  display: flex; align-items: center; gap: 12px;
}
.hero-label::before { content: ''; width: 32px; height: 1px; background: var(--accent); flex-shrink: 0; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin-bottom: 40px;
  color: var(--fg);
  text-shadow: 0 4px 40px rgba(0,0,0,0.3);
}
.hero h1 em {
  font-style: normal;
  font-weight: 900;
  color: var(--accent);
}
.hero-sub {
  font-family: var(--sans);
  font-size: 20px; line-height: 1.5;
  max-width: 52ch;
  color: var(--fg-soft);
  font-weight: 400;
  margin-bottom: 56px;
}

/* ========================================
   07. SITUATION PICKER
   ======================================== */
.situation-box {
  border-top: 1px solid var(--fg);
  border-bottom: 1px solid var(--fg);
  padding: 40px 0; margin-top: 40px;
  background: rgba(12,12,12,0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.situation-label {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 24px; padding: 0 24px;
}
.situation-prompt {
  font-family: var(--display);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 28px;
  color: var(--fg);
  padding: 0 24px;
}
.situation-prompt::after {
  content: '';
  display: inline-block;
  width: 2px; height: 1em;
  background: var(--accent);
  margin-left: 6px;
  vertical-align: -0.15em;
  animation: blink 1.1s infinite;
}
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
.situation-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border-left: 1px solid var(--rule-bright);
  border-top: 1px solid var(--rule-bright);
}
.situation-option {
  border-right: 1px solid var(--rule-bright);
  border-bottom: 1px solid var(--rule-bright);
  padding: 24px 22px;
  cursor: pointer; background: transparent;
  text-align: left; font-family: var(--sans);
  transition: all 0.25s;
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 120px; color: var(--fg);
}
.situation-option:hover { background: var(--accent); color: var(--bg); }
.situation-option:hover .opt-num   { color: var(--bg); opacity: 0.7; }
.situation-option:hover .opt-sub   { color: var(--bg); opacity: 0.75; }
.situation-option:hover .opt-arrow { transform: translateX(6px); opacity: 1; color: var(--bg); }
.opt-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--accent); transition: color 0.25s; }
.opt-title { font-family: var(--display); font-size: 19px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.opt-sub { font-size: 13px; color: var(--fg-dim); margin-top: auto; transition: all 0.25s; }
.opt-arrow { position: absolute; right: 18px; top: 22px; font-family: var(--display); font-size: 22px; opacity: 0.4; transition: all 0.25s; color: var(--fg-dim); }

/* ========================================
   08. FIRST HOUR
   ======================================== */
.first-hour {
  background: var(--bg-warm);
  padding: 100px 0; margin-top: 80px;
  position: relative; overflow: hidden;
  border-top: 1px solid var(--rule-bright);
  border-bottom: 1px solid var(--rule-bright);
}
.first-hour::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.first-hour-inner {
  padding: 0 var(--side);
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px;
}
.fh-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 28px; }
.fh-headline { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5vw, 54px); line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 32px; color: var(--fg); }
.fh-headline em { font-style: normal; color: var(--accent); }
.fh-body { font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--fg-soft); max-width: 42ch; }
.fh-body p + p { margin-top: 16px; }
.fh-list { list-style: none; counter-reset: step; }
.fh-item {
  counter-increment: step;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule-bright);
  display: grid; grid-template-columns: 60px 1fr; gap: 24px; align-items: start;
}
.fh-item:first-child { border-top: 1px solid var(--rule-bright); }
.fh-item::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.05em; padding-top: 4px; }
.fh-item-title { font-family: var(--display); font-size: 22px; font-weight: 700; margin-bottom: 6px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--fg); }
.fh-item-desc { font-size: 15px; line-height: 1.55; color: var(--fg-soft); }
.fh-item-desc em { color: var(--fg); font-style: normal; }
.term { border-bottom: 1px dotted var(--accent); cursor: help; position: relative; color: var(--fg); }
.term:hover::after {
  content: attr(data-def);
  position: absolute; bottom: 130%; left: 0;
  background: var(--fg); color: var(--bg);
  padding: 10px 14px;
  font-size: 13px; font-family: var(--sans); font-style: normal;
  width: 280px; z-index: 10;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  line-height: 1.4;
}

/* ========================================
   09. CHARGES NAVIGATOR
   ======================================== */
.navigator { margin: 120px 0 0; padding: 0 var(--side); }
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 48px; padding-bottom: 24px;
  border-bottom: 1px solid var(--fg);
  gap: 40px;
}
.section-head-left h2 { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; color: var(--fg); }
.section-head-left h2 em { font-style: normal; color: var(--accent); }
.section-head-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 16px; }
.section-head-right { font-family: var(--sans); font-size: 16px; color: var(--fg-dim); max-width: 32ch; text-align: right; }
.charges-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--rule-bright); border-left: 1px solid var(--rule-bright); }
.charge-card {
  border-right: 1px solid var(--rule-bright);
  border-bottom: 1px solid var(--rule-bright);
  padding: 32px 28px;
  cursor: pointer; transition: background 0.3s;
  position: relative; background: var(--bg);
  text-decoration: none; display: block; color: var(--fg);
}
.charge-card:hover { background: var(--bg-soft); }
.charge-card:hover .charge-meta { opacity: 1; color: var(--fg-soft); }
.charge-code { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.08em; margin-bottom: 16px; }
.charge-name { font-family: var(--display); font-size: 22px; font-weight: 800; line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 16px; color: var(--fg); }
.charge-name em { font-style: normal; color: var(--fg); }
.charge-range { font-family: var(--mono); font-size: 12px; color: var(--fg-dim); letter-spacing: 0.03em; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px dashed var(--rule-bright); }
.charge-range strong { color: var(--fg); font-weight: 500; }
.charge-meta { font-size: 14px; line-height: 1.5; color: var(--fg-dim); opacity: 0.8; transition: all 0.3s; }
.charge-link { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-top: 20px; display: inline-block; text-decoration: none; }
.charge-link::after { content: ' →'; transition: margin-left 0.2s; }
.charge-card:hover .charge-link::after { margin-left: 4px; }

/* ========================================
   10. TWO VOICES (ATTORNEYS)
   ======================================== */
.two-voices { margin-top: 140px; padding: 100px 0; background: var(--bg-soft); border-top: 1px solid var(--rule-bright); border-bottom: 1px solid var(--rule-bright); }
.two-voices-inner { padding: 0 var(--side); }
.voices-intro { max-width: none; margin-bottom: 80px; }
.voices-intro h2 { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 4.5vw, 64px); line-height: 1.05; letter-spacing: 0.01em; text-transform: uppercase; margin-bottom: 28px; color: var(--fg); }
.voices-intro h2 em { font-style: normal; color: var(--accent); }
.voices-intro p { font-family: var(--sans); font-size: 19px; line-height: 1.55; color: var(--fg-soft); }
.voices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.voice { border-top: 2px solid var(--fg); padding-top: 32px; }
.voice-role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.voice-name { font-family: var(--display); font-size: 36px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1; margin-bottom: 8px; color: var(--fg); }
.voice-name em { font-style: normal; color: var(--accent); }
.voice-credentials { font-family: var(--mono); font-size: 12px; color: var(--fg-dim); letter-spacing: 0.05em; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--rule-bright); }
.voice-pullquote { font-family: var(--sans); font-size: 22px; line-height: 1.35; color: var(--fg-soft); font-weight: 400; font-style: normal; margin-bottom: 24px; position: relative; padding-left: 20px; }
.voice-pullquote::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: var(--accent); }
.voice-body { font-size: 15px; line-height: 1.6; color: var(--fg-soft); }

/* ========================================
   11. OUTCOMES
   ======================================== */
.outcomes { margin: 140px 0 0; padding: 0 var(--side); }
.outcomes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 20px; }
.outcome-stat { border-top: 3px solid var(--accent); padding-top: 20px; }
.outcome-stat:nth-child(2) { border-color: var(--accent); }
.outcome-stat:nth-child(3) { border-color: var(--fg); }
.outcome-stat:nth-child(4) { border-color: var(--fg-dim); }
.outcome-number { font-family: var(--display); font-size: 72px; font-weight: 900; line-height: 0.9; letter-spacing: -0.03em; margin-bottom: 12px; color: var(--fg); }
.outcome-number em { font-style: normal; color: var(--accent); }
.outcome-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 12px; }
.outcome-desc { font-size: 14px; line-height: 1.5; color: var(--fg-soft); }
.outcomes-disclaimer { font-family: var(--mono); font-size: 11px; color: var(--fg-dim); letter-spacing: 0.05em; margin-top: 32px; padding-top: 24px; border-top: 1px dashed var(--rule-bright); max-width: 64ch; line-height: 1.6; }

/* ========================================
   12. FAMILY CALLOUT
   ======================================== */
.family { margin: 140px 0 0; padding: 0 var(--side); }
.family-card { background: #0c0c0c; color: var(--fg); padding: 80px; position: relative; overflow: hidden; border: 1px solid var(--accent); border-radius: 2px; }
.family-card::before { content: ''; position: absolute; top: -200px; right: -200px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(200,105,80,0.15) 0%, transparent 60%); pointer-events: none; }
.family-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.family-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; }
.family h2 { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 4.5vw, 58px); line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; color: var(--fg); }
.family h2 em { font-style: normal; color: var(--accent); }
.family-copy { font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--fg-soft); margin-bottom: 28px; }
.family-link { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 4px; transition: color 0.2s, border-color 0.2s; }
.family-link:hover { color: var(--fg); border-color: var(--fg); }

/* ========================================
   13. TESTIMONIALS
   ======================================== */
.testimonials { margin: 140px 0 0; padding: 0 var(--side); }
.test-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px 80px; margin-top: 60px; }
.test-item { position: relative; }
.test-quote { font-family: var(--serif); font-size: 21px; line-height: 1.45; letter-spacing: -0.005em; color: var(--fg); margin-bottom: 20px; font-weight: 400; }
.test-quote .drop { font-family: var(--serif); font-size: 64px; line-height: 0.8; float: left; padding: 8px 10px 0 0; color: var(--accent); font-weight: 400; }
.test-attr { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-dim); padding-top: 16px; border-top: 1px solid var(--rule-bright); }
.test-attr strong { color: var(--fg); font-weight: 500; }

/* ========================================
   14. FINAL CTA
   ======================================== */
.final-cta { margin-top: 160px; padding: 120px var(--side); text-align: center; background: var(--bg-soft); border-top: 1px solid var(--fg); border-bottom: 1px solid var(--fg); }
.final-cta-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 32px; }
.final-cta h2 { font-family: var(--display); font-weight: 900; font-size: clamp(36px, 5vw, 72px); line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; max-width: 20ch; margin: 0 auto 40px; color: var(--fg); }
.final-cta h2 em { font-style: normal; color: var(--accent); }
.final-cta-phone { font-family: var(--display); font-size: clamp(40px, 7vw, 56px); font-weight: 900; letter-spacing: -0.02em; color: var(--fg); text-decoration: none; display: inline-block; padding: 16px 32px; border-top: 2px solid var(--fg); border-bottom: 2px solid var(--fg); margin-bottom: 20px; transition: color 0.25s, border-color 0.25s; }
.final-cta-phone:hover { color: var(--accent); border-color: var(--accent); }
.final-cta-sub { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--fg-dim); text-transform: uppercase; }

/* ========================================
   15. FOOTER
   ======================================== */
.site-footer { background: #0c0c0c; color: var(--fg); padding: 80px var(--side) 40px; border-top: 1px solid var(--rule); }
.footer-inner {}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid var(--rule); }
.footer-brand .logo { margin-bottom: 16px; display: block; }
.footer-brand p { font-size: 14px; color: var(--fg-dim); line-height: 1.6; max-width: 36ch; }
.footer-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; font-weight: 500; }
.footer-col a { display: block; color: var(--fg); text-decoration: none; font-size: 14px; margin-bottom: 10px; opacity: 0.7; transition: opacity 0.2s; }
.footer-col a:hover { opacity: 1; }
.footer-social { display: flex; gap: 16px; margin-top: 20px; }
.footer-social a { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-dim); opacity: 1; transition: color 0.2s; }
.footer-social a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--rule); margin-top: 60px; padding: 32px 0 0; display: flex; flex-direction: column; gap: 20px; }
.footer-disclaimer { font-family: var(--mono); font-size: 10px; line-height: 1.7; letter-spacing: 0.05em; color: var(--fg-dim); max-width: 100ch; }
.footer-copyright { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-dim); }

/* ========================================
   16. GENERIC PAGE & ENTRY CONTENT
   ======================================== */
.site-main { min-height: 60vh; }
.page-wrap { padding: 80px var(--side) 120px; }
.page-header { padding-bottom: 48px; margin-bottom: 56px; border-bottom: 1px solid var(--rule-bright); }
.entry-title, .page-title { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; color: var(--fg); margin-top: 16px; }
.entry-title em, .page-title em { font-style: normal; color: var(--accent); }
.entry-content, .page-content-body { font-family: var(--sans); font-size: 18px; line-height: 1.65; color: var(--fg-soft); max-width: 72ch; }
.entry-content h2 { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3.5vw, 38px); line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; color: var(--fg); margin-top: 60px; margin-bottom: 24px; }
.entry-content h3 { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; color: var(--fg); margin-top: 40px; margin-bottom: 16px; }
.entry-content p { margin-bottom: 20px; }
.entry-content a { color: var(--accent); border-bottom: 1px solid var(--accent); }
.entry-content a:hover { color: var(--fg); border-color: var(--fg); }
.entry-content strong { color: var(--fg); font-weight: 500; }
.entry-content ul, .entry-content ol { padding-left: 24px; margin-bottom: 20px; }
.entry-content li { margin-bottom: 8px; }
.entry-content blockquote { border-left: 2px solid var(--accent); padding-left: 20px; margin: 32px 0; font-style: normal; color: var(--fg); font-size: 20px; line-height: 1.4; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 14px; margin: 32px 0; overflow-x: auto; display: block; }
.entry-content table th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); padding: 12px 16px; border-bottom: 1px solid var(--rule-bright); background: var(--bg-soft); text-align: left; white-space: nowrap; }
.entry-content table td { padding: 12px 16px; border-bottom: 1px solid var(--rule); color: var(--fg-soft); vertical-align: top; line-height: 1.45; }
.entry-content table tr:hover td { background: var(--bg-soft); }

/* DWI / Penalty table */
.penalty-table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 13px; margin: 32px 0; overflow-x: auto; display: block; white-space: nowrap; }
.penalty-table thead th { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); padding: 12px 14px; border-bottom: 2px solid var(--rule-bright); background: var(--bg-soft); text-align: left; }
.penalty-table tbody td { padding: 12px 14px; border-bottom: 1px solid var(--rule); color: var(--fg-soft); vertical-align: top; line-height: 1.45; white-space: normal; }
.penalty-table tbody tr:hover td { background: rgba(255,255,255,0.02); }
.penalty-table tbody td:first-child { color: var(--fg); max-width: 240px; }
.penalty-table tbody td:nth-child(2) { font-family: var(--mono); font-size: 11px; color: var(--accent); white-space: nowrap; }
.superfine-note { font-family: var(--mono); font-size: 12px; color: var(--fg-dim); letter-spacing: 0.03em; line-height: 1.65; border-top: 1px dashed var(--rule-bright); padding-top: 24px; margin-top: 8px; max-width: 80ch; }
.superfine-note strong { color: var(--fg-soft); }
.superfine-note ul { list-style: disc; padding-left: 20px; margin-top: 12px; }
.superfine-note li { margin-bottom: 6px; }

/* ========================================
   17. WORDPRESS UTILITY STYLES
   ======================================== */
.alignleft  { float: left;  margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
.alignwide  { margin-left: calc(50% - 50vw + 32px); margin-right: calc(50% - 50vw + 32px); }
.alignfull  { margin-left: calc(50% - 50vw);        margin-right: calc(50% - 50vw); }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-family: var(--mono); font-size: 11px; color: var(--fg-dim); letter-spacing: 0.05em; margin-top: 8px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ========================================
   18. RESPONSIVE — max-width: 900px
   ======================================== */
@media (max-width: 900px) {
  .utility-inner  { font-size: 10px; gap: 12px; justify-content: center; }
  .utility-left   { display: none; }
  nav.primary     { padding: 18px var(--side); }
  .nav-burger     { display: flex; }
  .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: min(340px, 85vw); background: #0c0c0c; flex-direction: column; padding: 100px 32px 40px; gap: 0; transition: right 0.35s cubic-bezier(0.3,0.8,0.3,1); z-index: 22; border-left: 1px solid var(--rule); overflow-y: auto; }
  .nav-links.open { right: 0; }
  .nav-links a { font-family: var(--display); font-weight: 700; font-size: 20px; padding: 18px 0; border-bottom: 1px solid var(--rule); width: 100%; letter-spacing: -0.01em; }
  .nav-links a::after { display: none; }
  .nav-cta { font-size: 11px; padding: 8px 12px; }
  .hero { padding: 60px 0 40px; }
  .hero-inner { padding: 32px var(--side); }
  .hero-label { margin-bottom: 24px; font-size: 10px; }
  .hero h1 { font-size: clamp(40px, 11vw, 60px); margin-bottom: 28px; max-width: 100%; }
  .hero-sub { font-size: 17px; margin-bottom: 40px; }
  .situation-box { padding: 28px 0; margin-top: 32px; }
  .situation-label, .situation-prompt { padding: 0 var(--side); }
  .situation-prompt { font-size: 22px; margin-bottom: 20px; }
  .situation-options { grid-template-columns: 1fr; border-left: none; }
  .situation-option { min-height: auto; padding: 20px; border-right: none; border-left: 3px solid transparent; }
  .situation-option:active, .situation-option:hover { border-left-color: var(--accent); }
  .opt-arrow { top: 20px; right: 16px; font-size: 20px; }
  .opt-title { font-size: 18px; padding-right: 30px; }
  .first-hour { padding: 72px 0; margin-top: 56px; }
  .first-hour-inner { grid-template-columns: 1fr; gap: 48px; }
  .fh-headline { font-size: 36px; }
  .fh-body { font-size: 16px; }
  .fh-item { grid-template-columns: 50px 1fr; gap: 16px; padding: 24px 0; }
  .fh-item-title { font-size: 20px; }
  .term:hover::after { width: calc(100vw - 2 * var(--side)); max-width: 300px; left: 50%; transform: translateX(-50%); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 24px; padding-bottom: 20px; margin-bottom: 36px; }
  .section-head-right { text-align: left; font-size: 15px; max-width: 100%; }
  .navigator { margin-top: 80px; }
  .charges-grid { grid-template-columns: repeat(2, 1fr); }
  .charge-card { padding: 28px var(--side); }
  .charge-name { font-size: 24px; }
  .two-voices { padding: 72px 0; margin-top: 80px; }
  .voices-intro { margin-bottom: 48px; }
  .voices-intro p { font-size: 17px; }
  .voices-grid { grid-template-columns: 1fr; gap: 56px; }
  .voice-name { font-size: 36px; }
  .voice-pullquote { font-size: 20px; }
  .outcomes { margin-top: 80px; }
  .outcomes-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .outcome-number { font-size: 56px; }
  .family { margin-top: 80px; }
  .family-card { padding: 44px 28px; }
  .family-inner { grid-template-columns: 1fr; gap: 32px; }
  .testimonials { margin-top: 80px; }
  .test-grid { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
  .test-quote { font-size: 19px; }
  .test-quote .drop { font-size: 52px; padding: 6px 8px 0 0; }
  .final-cta { margin-top: 80px; padding: 72px var(--side); }
  .final-cta h2 { font-size: 40px; margin-bottom: 32px; }
  .final-cta-phone { font-size: 30px; padding: 14px 20px; display: block; }
  .site-footer { padding: 56px var(--side) 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; padding-bottom: 40px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { gap: 16px; }
  .page-wrap { padding: 60px var(--side) 80px; }
  .entry-content { font-size: 17px; }
}

/* ========================================
   18b. HERO BACKGROUND PHOTO
   ======================================== */

/*
 * .hero-bg-photo is an <img> element sitting behind the gradient overlay.
 * Keeping the photo as a separate element from the gradient means
 * filter: grayscale only affects the photo, not the dark overlay.
 * <img> also lets the browser eager-fetch it as a high-priority resource.
 */
.hero-bg-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(100%) brightness(0.5);
}
@media (max-width: 768px) {
  /* Hero background photo */
  .hero {
    min-height: 90vh;
    min-height: 90dvh;
  }
  .hero-bg-photo {
    object-position: center center;
    filter: grayscale(100%) brightness(0.35);
  }
  .hero-bg-img {
    background: linear-gradient(
      180deg,
      rgba(20,20,20,0.7) 0%,
      rgba(20,20,20,0.95) 100%
    );
  }

  /* Slim header + utility bar */
  nav.primary      { padding: 12px var(--side); }
  .nav-cta         { padding: 8px 14px; font-size: 11px; letter-spacing: 0.04em; }
  .utility         { padding: 6px 0; font-size: 10px; }

  /* Hero text */
  .hero-label      { font-size: 10px; letter-spacing: 0.12em; }
  .hero h1         { font-size: clamp(36px, 9vw, 56px); line-height: 1; letter-spacing: -0.02em; }
}

@media (max-width: 480px) {
  .charges-grid    { grid-template-columns: 1fr; }
  .custom-logo     { width: 132px; }
  .nav-cta         { padding: 6px 12px; font-size: 10px; }
  .utility         { font-size: 9px; }
  .hero-label      { font-size: 9px; letter-spacing: 0.1em; line-height: 1.4; }
}

/* ========================================
   18c. NAV & FOOTER — WP_NAV_MENU OUTPUT
   ======================================== */

/* Desktop primary nav: <ul> inside .nav-links becomes the flex row */
.nav-links > ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; align-items: center; gap: 36px;
}
.nav-links > ul > li { position: relative; list-style: none; }

/* Close button — hidden on desktop */
.nav-close {
  display: none;
  position: absolute;
  top: 24px; right: 24px;
  background: none; border: none;
  color: var(--fg-soft); cursor: pointer;
  padding: 8px; line-height: 0;
  transition: color 0.2s;
}
.nav-close:hover { color: var(--accent); }

/* Footer nav menus */
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { display: block; }

@media (max-width: 900px) {
  .nav-links > ul { flex-direction: column; gap: 0; width: 100%; }
  .nav-links > ul > li { width: 100%; }
  .nav-close { display: block; }
}

/* ========================================
   19. RESPONSIVE — max-width: 560px
   ======================================== */
@media (max-width: 560px) {
  .outcomes-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid   { grid-template-columns: 1fr; }
  .footer-brand  { grid-column: span 1; }
  .hero h1       { font-size: clamp(36px, 12vw, 52px); }
  .fh-headline   { font-size: 30px; }
  .voice-name    { font-size: 32px; }
  .final-cta h2  { font-size: 34px; }
}

/* ========================================
   20. RESPONSIVE — max-width: 900px (page templates)
   ======================================== */
@media (max-width: 900px) {
  .pt-related-grid  { grid-template-columns: 1fr 1fr; }
  .pt-county-grid   { grid-template-columns: 1fr 1fr; }
  .pt-contact-split { grid-template-columns: 1fr; gap: 48px; }
  .pt-attorney-full { grid-template-columns: 1fr; }
  .pt-attorney-full .pt-attorney-photo { max-width: 320px; }
}

/* ========================================
   21. PAGE TEMPLATES — pt- prefix
   ======================================== */

/* ---- Page Header (dark band) ---- */
.pt-page-header {
  background: var(--bg-dark, #0b0c0e);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 72px var(--side) 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pt-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.pt-page-title {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fg);
  margin: 0 0 0;
}
.pt-page-title em {
  font-style: normal;
  color: var(--accent);
}
/* Functional H1 — HK Grotesk Wide Black, uppercase, used on practice area / contact / utility pages */
.pt-page-title.h1-functional {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}
.pt-subtitle {
  margin-top: 20px;
  font-size: 18px;
  color: var(--fg-soft);
  max-width: 620px;
  line-height: 1.6;
}

/* ---- Two-column layout for practice area pages ---- */
.pt-page-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px var(--side) var(--section-gap);
}
.pt-prose-col {
  min-width: 0;
}
.pt-prose-col .pt-prose-wrap {
  padding: 0;
}
.pt-prose-col .pt-prose {
  max-width: none;
}

/* Sidebar */
.pt-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.pt-side-module {
  background: var(--bg-soft);
  border: 1px solid var(--rule-bright);
  padding: 24px;
}
.pt-side-kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.pt-side-heading {
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--fg);
  margin-bottom: 16px;
}

/* Quick Facts */
.pt-quick-facts dl {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pt-quick-facts dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 4px;
}
.pt-quick-facts dd {
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-soft);
  margin: 0;
}

/* CTA */
.pt-side-cta {
  text-align: center;
  background: var(--bg);
  border-color: var(--accent);
}
.pt-side-cta-heading {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--fg);
  margin-bottom: 0;
}
.pt-side-phone {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--accent);
  text-decoration: none;
  margin: 14px 0;
  transition: color 0.2s;
}
.pt-side-phone:hover { color: var(--fg); }
.pt-side-cta-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
  line-height: 1.6;
}

/* Related charges */
.pt-side-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pt-side-related li {
  border-bottom: 1px dashed var(--rule);
}
.pt-side-related li:last-child { border-bottom: none; }
.pt-side-related a {
  display: block;
  padding: 11px 0;
  color: var(--fg-soft);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  transition: color 0.15s, padding-left 0.15s;
}
.pt-side-related a:hover {
  color: var(--accent);
  padding-left: 6px;
}
.pt-side-related a::before {
  content: '→ ';
  color: var(--fg-dim);
}

@media (max-width: 960px) {
  .pt-page-body {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 40px;
  }
  .pt-sidebar {
    position: static;
    top: auto;
  }
}

/* ---- Prose ---- */
.pt-prose-wrap {
  padding: 56px var(--side) var(--section-gap);
}
.pt-prose {
  max-width: var(--prose-max);
  margin: 0;
}
.pt-prose-narrow {
  max-width: 720px;
  margin: 0;
}
.pt-prose table,
.pt-prose-narrow table {
  max-width: none;
  width: 100%;
  overflow-x: auto;
  display: block;
}
.pt-prose p,
.pt-prose-narrow p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-soft);
  margin: 0 0 1.2em;
  max-width: 65ch;
}
.pt-prose h1,
.pt-prose-narrow h1 {
  font-family: var(--display);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase !important;
  line-height: 1.1;
  color: var(--fg);
  margin: 0 0 0.8em;
}
.pt-prose h2,
.pt-prose-narrow h2 {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase !important;
  color: var(--fg);
  margin: 2em 0 0.8em;
  line-height: 1.1;
}
.pt-prose h3,
.pt-prose-narrow h3 {
  font-family: var(--display);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase !important;
  line-height: 1.2;
  color: var(--fg);
  margin: 1.6em 0 0.5em;
}
.pt-prose ul,
.pt-prose-narrow ul {
  padding-left: 1.4em;
  color: var(--fg-soft);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 1.4em;
}
.pt-prose strong,
.pt-prose-narrow strong { color: var(--fg); font-weight: 600; }

/* Drop cap */
.pt-drop-cap > p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 4.4em;
  font-weight: 400;
  line-height: 0.78;
  float: left;
  margin-right: 0.1em;
  color: var(--accent);
}

/* ---- Related charges ---- */
.pt-related {
  padding: var(--section-gap) var(--side);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.pt-related-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}
.pt-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.pt-related-card {
  background: var(--surface);
  padding: 32px 28px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.2s;
}
.pt-related-card:hover { background: var(--surface-hi, #1e2026); }
.pt-related-card-code {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
}
.pt-related-card-name {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fg);
  line-height: 1.2;
}
.pt-related-card-name em {
  font-style: normal;
  color: var(--accent);
}
.pt-related-card-arrow {
  margin-top: auto;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
}

/* ---- County grid ---- */
.pt-county-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 48px;
}
.pt-county-card {
  background: var(--surface);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pt-county-name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg);
}
.pt-county-sub {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.5;
}

/* ---- Contact split ---- */
.pt-contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: var(--section-gap) var(--side);
}
.pt-contact-info-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}
.pt-contact-info-row {
  margin-bottom: 28px;
}
.pt-contact-info-row-title {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 6px;
  font-family: var(--mono);
}
.pt-contact-info-row-body {
  font-size: 16px;
  color: var(--fg-soft);
  line-height: 1.6;
}
.pt-contact-info-row-body a {
  color: var(--fg);
  text-decoration: none;
}
.pt-contact-info-row-body a:hover { color: var(--accent); }
.pt-contact-form-box {
  background: var(--surface);
  padding: 48px 40px;
}
.pt-contact-form-box h2 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fg);
  margin: 0 0 24px;
}

/* ---- Blog post grid ---- */
.pt-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-bright);
  border-left: 1px solid var(--rule-bright);
  margin-top: 24px;
}
.pt-post-card {
  border-right: 1px solid var(--rule-bright);
  border-bottom: 1px solid var(--rule-bright);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  text-decoration: none;
  transition: background 0.2s;
}
.pt-post-card:hover { background: var(--bg-soft, #111316); }
.pt-post-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 16px;
}
.pt-post-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 16px;
  flex-grow: 1;
}
.pt-post-title a {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.2s;
}
.pt-post-title a:hover { color: var(--accent); }
.pt-post-excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-soft);
  margin-bottom: 20px;
}
.pt-post-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  align-self: flex-start;
}
.pt-post-link:hover { color: var(--fg); }
@media (max-width: 1024px) {
  .pt-post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pt-post-grid { grid-template-columns: 1fr; }
  .pt-post-card { min-height: auto; }
}

/* ---- Pagination ---- */
.pt-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 56px var(--side);
}
.pt-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg-soft);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.2s, color 0.2s;
}
.pt-pagination .page-numbers:hover,
.pt-pagination .page-numbers.current {
  border-color: var(--accent);
  color: var(--accent);
}
.pt-pagination .page-numbers.dots {
  border-color: transparent;
  pointer-events: none;
}

/* ---- Attorney full-page blocks ---- */
.pt-attorney-full {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  padding: var(--section-gap) var(--side);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pt-attorney-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  border: 1px solid var(--rule-bright);
}
/* Stack photo above bio on tablet/mobile. Declared after the desktop base rule
   (.pt-attorney-full grid-template-columns: 360px 1fr) so it wins on source
   order at <=900px, where the earlier max-900 rule would otherwise be overridden. */
@media (max-width: 900px) {
  .pt-attorney-full  { grid-template-columns: 1fr; gap: 40px; }
  .pt-attorney-photo { max-width: 360px; }
}
.pt-attorney-photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-dim);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.pt-attorney-body {}
.pt-attorney-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.pt-attorney-name {
  font-family: var(--display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fg);
  margin: 0 0 8px;
  line-height: 1.05;
}
.pt-attorney-name em {
  font-style: normal;
  color: var(--accent);
}
.pt-attorney-role {
  font-size: 14px;
  color: var(--fg-dim);
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}
.pt-attorney-creds {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-dim);
  line-height: 1.8;
  margin-bottom: 40px;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
}
.pt-attorney-pullquote {
  font-family: var(--serif);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 400;
  color: var(--fg-soft);
  line-height: 1.5;
  margin-bottom: 40px;
}
.pt-attorney-bio {
  font-size: 17px;
  color: var(--fg-soft);
  line-height: 1.75;
}
.pt-attorney-bio p { margin: 0 0 1.2em; }

/* ---- Testimonials full-page ---- */
.pt-test-masonry {
  column-count: 2;
  column-gap: 2px;
  padding: var(--section-gap) var(--side);
}

/* ---- Testimonials grid (new 2-col border-box) ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-bright);
  border-left: 1px solid var(--rule-bright);
  margin-top: 32px;
}
.testimonial-card {
  border-right: 1px solid var(--rule-bright);
  border-bottom: 1px solid var(--rule-bright);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}
.testimonial-quote { font-size: 16px; line-height: 1.65; color: var(--fg-soft); margin-bottom: 24px; }
.testimonial-quote p { margin-bottom: 12px; }
.testimonial-quote p:last-child { margin-bottom: 0; }
.testimonial-author { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); padding-top: 16px; border-top: 1px solid var(--rule-bright); }
@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ---- Contact form ---- */
.mb-contact-form { max-width: 600px; margin-top: 32px; }
.mb-form-row { margin-bottom: 24px; }
.mb-form-row label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--fg-soft); margin-bottom: 8px; }
.mb-form-row .required { color: var(--accent); }
.mb-form-row input[type="text"],
.mb-form-row input[type="email"],
.mb-form-row input[type="tel"],
.mb-form-row select,
.mb-form-row textarea {
  width: 100%;
  background: var(--bg-soft, #111316);
  border: 1px solid var(--rule-bright);
  border-radius: 0;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--fg);
  transition: border-color 0.2s, background 0.2s;
}
.mb-form-row input:focus,
.mb-form-row select:focus,
.mb-form-row textarea:focus { outline: none; border-color: var(--accent); background: var(--bg); }
.mb-form-row textarea { resize: vertical; min-height: 120px; font-family: var(--sans); }
.mb-form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c89b5a'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
}
.mb-form-submit { margin-top: 32px; }
.mb-form-button { background: var(--accent); color: var(--bg); border: none; padding: 16px 40px; font-family: var(--display); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; transition: background 0.2s, transform 0.1s; }
.mb-form-button:hover { background: var(--accent-deep, #a07840); }
.mb-form-button:active { transform: translateY(1px); }
.mb-form-disclaimer { margin-top: 20px; font-size: 12px; line-height: 1.5; color: var(--fg-dim); max-width: 60ch; }

/* ---- Magic Words callout ---- */
.mb-magic-words {
  margin: 48px auto;
  padding: 36px 32px;
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  text-align: center;
  max-width: 720px;
}

.mb-magic-words-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.mb-magic-words-quote {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.25;
  color: var(--fg);
  letter-spacing: 0.005em;
  margin: 0;
}

@media (max-width: 640px) {
  .mb-magic-words {
    margin: 32px auto;
    padding: 28px 20px;
  }
}

/* ---- More Info pill ---- */
.mb-more-info {
  margin: 32px 0;
}

.mb-more-info-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  background: var(--bg-soft);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.mb-more-info-link:hover {
  border-color: var(--accent);
  background: var(--bg);
}

.mb-more-info-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

.mb-more-info-text {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--fg);
  flex: 1;
}

.mb-more-info-arrow {
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 480px) {
  .mb-more-info-link { flex-wrap: wrap; gap: 6px; }
  .mb-more-info-arrow { display: none; }
}

/* ---- Responsive — 560px ---- */
@media (max-width: 560px) {
  .pt-page-header { padding: 48px var(--side) 40px; }
  .pt-related-grid  { grid-template-columns: 1fr; }
  .pt-county-grid   { grid-template-columns: 1fr; }
  .pt-test-masonry  { column-count: 1; }
  .pt-contact-form-box { padding: 32px 24px; }
  .pt-attorney-full { grid-template-columns: 1fr; gap: 40px; }
}
