/* ============================================
   DESIGN B · CIPHER (LIGHT)
   Warm off-white + deep navy + electric teal
   Same mono accents, data-grid aesthetic — warmer trust signals
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg: #f4f6fa;          /* bright cool off-white — page background */
  --paper: #ffffff;        /* pure white card surface */
  --paper-2: #e6ebf2;      /* soft gray accent / hover */
  --ink: #0f1722;          /* near-black slate ink */
  --ink-soft: #4a5566;     /* slightly softer body text on lighter bg */
  --mute: #6b7488;
  --line: rgba(15,23,34,0.10);
  --line-2: rgba(15,23,34,0.16);
  --cyan: #0e7490;         /* deep teal — readable on gray */
  --cyan-glow: rgba(14,116,144,0.22);
  --emerald: #047857;
  --radius: 8px;
  --radius-lg: 14px;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(15,23,34,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,34,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }

/* Utility bar */
.bar {
  background: #0a1a2f;
  color: #cdd5e2;
  font-size: 12px;
  font-family: var(--mono);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.bar a { color: var(--cyan); font-weight: 500; }
.bar .container { display: flex; justify-content: space-between; gap: 24px; }
.bar .left::before { content: '> '; color: var(--cyan); }
.bar a { color: var(--cyan); font-weight: 500; }
.bar .status { color: var(--emerald); }
.bar .status::before { content: '●'; margin-right: 6px; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Header */
.header {
  background: rgba(238,241,245,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header .container { display: flex; align-items: center; justify-content: space-between; padding: 18px 32px; }
.brand img { height: 50px; filter: invert(1) hue-rotate(180deg); }
/* Wait — invert would change colors. Instead, the SVG has dark elements; we'll just keep it and tweak via wrapper bg. */
.brand img { filter: none; }
.brand { background: transparent; }
/* ============================================
   LOGO — Pure typographic wordmark (Option E)
   ============================================ */
.brand { text-decoration: none; display: inline-block; }
.brand-logo {
  color: var(--ink);          /* SVG inherits via currentColor */
  width: 200px;
  max-width: 100%;
  display: block;
  transition: opacity .25s ease;
}
.brand-logo svg { width: 100%; height: auto; display: block; }
.brand:hover .brand-logo { opacity: 0.78; }

/* Footer variant — inverted color */
.footer-brand .brand-logo { color: #ffffff; width: 220px; }

.nav { display: flex; gap: 32px; }
.nav a {
  font-family: var(--mono);
  font-size: 13px; font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s;
  position: relative;
}
.nav a:hover { color: var(--cyan); }
.nav a::before { content: '/ '; color: var(--mute); }

.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  font-family: var(--mono);
  font-size: 13px; font-weight: 600;
  background: var(--ink);
  color: #ffffff;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s;
  letter-spacing: 0.02em;
}
.cta-btn:hover { background: var(--cyan); border-color: var(--cyan); transform: translateY(-1px); box-shadow: 0 4px 18px var(--cyan-glow); }
.cta-btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.cta-btn.ghost:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: none; }

/* Hero */
.hero {
  position: relative;
  padding: 120px 0 100px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 20%; left: 50%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(14,116,144,0.07), transparent 60%);
  filter: blur(60px);
  transform: translateX(-50%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  background: rgba(14,116,144,0.08);
  border: 1px solid rgba(14,116,144,0.28);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cyan);
  margin-bottom: 36px;
}
.hero-eyebrow::before { content: '◆'; font-size: 10px; }
.hero h1 {
  font-size: clamp(48px, 6.5vw, 88px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 1000px;
  margin-bottom: 32px;
  color: var(--ink);
}
.hero h1 .cyan { color: var(--cyan); }
.hero h1 .mono { font-family: var(--mono); font-weight: 500; }
.hero p.lede {
  font-size: 19px; line-height: 1.6;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Stats */
.stats { padding: 80px 0; border-bottom: 1px solid var(--line); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: 1px solid var(--line);
}
.stat {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .3s;
  position: relative;
}
.stat:hover { background: var(--paper); }
.stat::before {
  content: attr(data-key);
  position: absolute; top: 12px; right: 14px;
  font-family: var(--mono); font-size: 10px;
  color: var(--mute);
  letter-spacing: 0.1em;
}
.stat-num {
  font-family: var(--mono);
  font-size: 48px; font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 14px;
}
.stat-lbl { font-size: 13px; color: var(--ink-soft); font-weight: 500; }

/* Section heads */
.sec-head { padding: 100px 0 40px; }
.sec-head .kicker {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cyan);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.sec-head .kicker::before { content: '// '; }
.sec-head h2 {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 900px;
  color: var(--ink);
}
.sec-head p { margin-top: 20px; font-size: 17px; color: var(--ink-soft); max-width: 720px; }

/* Practice */
.practice { padding-bottom: 80px; }
.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--line);
}
@media (max-width: 1100px) {
  .practice-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .practice-grid { grid-template-columns: 1fr; }
}
.practice-card {
  padding: 40px 32px;
  background: var(--bg);
  transition: background .3s;
  position: relative;
}
.practice-card:hover { background: var(--paper); }
.practice-card .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}
.practice-card h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--ink);
}
.practice-card h3::after {
  content: '_';
  color: var(--cyan);
  margin-left: 4px;
  animation: blink 1.2s infinite;
}
.practice-card p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }

/* Results */
.results { padding: 100px 0; border-top: 1px solid var(--line); background: var(--paper); }
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 40px;
}
.result {
  padding: 36px 30px;
  background: var(--paper);
  transition: background .3s;
  position: relative;
}
.result:hover { background: var(--paper-2); }
.result::before {
  content: attr(data-id);
  position: absolute; top: 14px; right: 16px;
  font-family: var(--mono); font-size: 10px;
  color: var(--mute);
}
.result-amount {
  font-family: var(--mono);
  font-size: 38px; font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 12px;
}
.result-cat {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 8px;
}
.result-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

/* Pull quote */
.pull {
  padding: 120px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pull blockquote {
  max-width: 980px; margin: 0 auto;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-align: left;
  padding-left: 32px;
  border-left: 2px solid var(--cyan);
}
.pull blockquote .cyan { color: var(--cyan); }
.pull cite {
  display: block; margin-top: 32px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.05em;
}
.pull cite::before { content: '— '; }

/* CTA */
.cta-band {
  margin: 80px 32px;
  padding: 80px 60px;
  background: #0a1a2f;
  color: #f5f7fb;
  border: 1px solid #0a1a2f;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(34,211,238,0.18), transparent 60%);
  filter: blur(60px);
}
.cta-band > * { position: relative; }
.cta-band h2 {
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: #ffffff;
}
.cta-band h2 .cyan { color: #22d3ee; }
.cta-band p { font-size: 17px; color: #cdd5e2; max-width: 600px; margin-bottom: 36px; }
.cta-band .cta-btn { background: #22d3ee; color: #0a1a2f; border-color: #22d3ee; }
.cta-band .cta-btn:hover { background: #ffffff; color: #0a1a2f; border-color: #ffffff; }
.cta-band .cta-btn.ghost { background: transparent; color: #ffffff; border-color: rgba(255,255,255,0.3); }
.cta-band .cta-btn.ghost:hover { background: rgba(255,255,255,0.08); border-color: #ffffff; color: #ffffff; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Footer */
.footer {
  background: #0a1a2f;
  color: #cdd5e2;
  padding: 80px 0 32px;
  border-top: 1px solid var(--line);
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 0.9fr 1.2fr 0.9fr 0.9fr; gap: 48px; margin-bottom: 60px; }
.footer-brand .logo-text .name { color: #ffffff; }
.footer p { color: #cdd5e2; }
.footer ul li { color: #cdd5e2; }
.footer-bottom { color: #8590a8; border-top-color: rgba(255,255,255,0.08); }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 360px; margin-top: 20px; }
.footer h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--cyan);
  font-weight: 500;
  margin-bottom: 20px;
}
.footer h4::before { content: '// '; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 12px; font-size: 14px; }
.footer ul a:hover { color: var(--cyan); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  line-height: 1.7;
}

/* Design chip */
.design-chip {
  position: fixed; top: 20px; left: 20px; z-index: 100;
  padding: 10px 18px;
  background: rgba(15,20,36,0.95);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px; font-weight: 500;
  border-radius: var(--radius);
  box-shadow: 0 0 30px var(--cyan-glow);
}
.design-chip::before { content: '◆ '; }
.back-link {
  position: fixed; top: 20px; right: 20px; z-index: 100;
  padding: 10px 18px;
  background: rgba(15,20,36,0.95);
  border: 1px solid var(--line-2);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 12px;
  border-radius: var(--radius);
}
.back-link:hover { color: var(--cyan); border-color: var(--cyan); }

/* (old breakpoints superseded by the responsive block at the bottom) */

/* ============================================
   INNER PAGE STYLES
   ============================================ */
.page-hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -20%; left: 50%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(14,116,144,0.05), transparent 60%);
  filter: blur(60px);
  transform: translateX(-50%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.crumb {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mute);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.crumb a { color: var(--cyan); }
.crumb .sep { margin: 0 8px; color: var(--mute); }
.page-hero h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--ink);
  max-width: 1000px;
}
.page-hero h1 .cyan { color: var(--cyan); }
.page-hero p.intro {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 720px;
  line-height: 1.6;
}

/* Two-column content */
.content { padding: 80px 0; }
.content-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}
.content-grid aside {
  position: sticky;
  top: 100px;
  align-self: start;
}
.content-grid aside .kicker {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.content-grid aside .kicker::before { content: '// '; }
.content-grid aside h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.content-grid aside p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.prose h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 40px 0 16px;
}
.prose h3:first-child { margin-top: 0; }
.prose h3 .cyan { color: var(--cyan); }
.prose p { font-size: 16px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 18px; }
.prose ul { padding-left: 0; list-style: none; margin-bottom: 24px; }
.prose ul li {
  font-size: 15px;
  color: var(--ink-soft);
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.prose ul li::before {
  content: '◇';
  position: absolute;
  left: 0; top: 12px;
  color: var(--cyan);
  font-size: 12px;
}

/* Card grid (full practice areas) */
.deep-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.deep-card {
  padding: 48px 40px;
  background: var(--bg);
  transition: background .3s;
}
.deep-card:hover { background: var(--paper); }
.deep-card .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}
.deep-card h3 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--ink);
}
.deep-card h3 .cyan { color: var(--cyan); }
.deep-card p { font-size: 15px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 20px; }
.deep-card ul { list-style: none; }
.deep-card ul li {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cyan);
  padding: 6px 0;
}
.deep-card ul li::before { content: '> '; color: var(--mute); }

/* Full results table */
.results-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  border: 1px solid var(--line);
}
.results-table thead {
  background: var(--paper);
}
.results-table th {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cyan);
  text-align: left;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.results-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-soft);
  vertical-align: middle;
}
.results-table tr:hover { background: var(--paper); }
.results-table .amount {
  font-family: var(--mono);
  font-weight: 600;
  color: var(--cyan);
  font-size: 18px;
  letter-spacing: -0.02em;
}
.results-table .cat {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mute);
}

/* Reviews / testimonial cards */
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.review {
  padding: 36px 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}
.review::before {
  content: '"';
  position: absolute;
  top: 10px; left: 24px;
  font-family: var(--mono);
  font-size: 60px;
  color: var(--cyan);
  opacity: 0.3;
  line-height: 1;
}
.review-stars {
  color: var(--cyan);
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  position: relative;
}
.review-body {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
}
.review-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.04em;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.review-meta .name { color: var(--ink); font-weight: 500; }
.review-meta .case { color: var(--cyan); }

/* Why-us features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 40px;
}
.feature {
  padding: 40px 36px;
  background: var(--bg);
  transition: background .3s;
}
.feature:hover { background: var(--paper); }
.feature .num {
  font-family: var(--mono);
  font-size: 36px;
  font-weight: 500;
  color: var(--cyan);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1;
}
.feature h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--ink);
}
.feature p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 60px 0 100px;
}
.contact-info .block { margin-bottom: 40px; }
.contact-info h4 {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.contact-info h4::before { content: '// '; }
.contact-info .val {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.contact-info .val a { color: var(--ink); transition: color .2s; }
.contact-info .val a:hover { color: var(--cyan); }
.contact-info .sub { font-size: 13px; color: var(--mute); }

.contact-form {
  padding: 40px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.contact-form h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--ink);
}
.contact-form .row { margin-bottom: 20px; }
.contact-form label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.contact-form label::before { content: '> '; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: border-color .2s;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(14,116,144,0.18);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .submit {
  width: 100%;
  padding: 16px;
  background: var(--ink);
  color: #ffffff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  letter-spacing: 0.02em;
}
.contact-form .submit:hover { background: var(--cyan); box-shadow: 0 6px 20px var(--cyan-glow); }

/* (old inner-page breakpoints superseded by the responsive block at the bottom) */

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  margin-right: 16px;
  font-family: var(--mono);
  font-size: 12px;
}
.lang-toggle a {
  padding: 8px 12px;
  color: var(--mute);
  background: transparent;
  transition: all .2s;
  letter-spacing: 0.05em;
}
.lang-toggle a.active {
  background: var(--ink);
  color: var(--cyan);
  font-weight: 600;
}
.lang-toggle a:not(.active):hover { color: var(--cyan); }
.header .header-right { display: flex; align-items: center; gap: 0; }

/* Cluster headers for grouped practice areas */
.cluster-head {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  padding: 32px 0 16px;
  border-top: 1px solid rgba(34, 211, 238, 0.15);
  margin-top: 24px;
  opacity: 0.9;
}
.cluster-head:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

/* Make practice-card anchors keep their card look */
a.practice-card { text-decoration: none; color: inherit; display: block; }
a.practice-card:hover h3 { color: var(--cyan); }

/* ============================================
   MOBILE-FRIENDLY RESPONSIVE LAYER
   ============================================ */

/* Hamburger button — hidden on desktop, visible on mobile */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  position: relative;
  margin-right: 8px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--cyan);
  transition: transform .25s, opacity .25s;
  transform-origin: center;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 26, 47, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 48;
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
body.nav-open .nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Tablet breakpoint */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .header .container { padding: 14px 24px; }
  .hero { padding: 80px 0 70px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .practice-grid { grid-template-columns: 1fr 1fr; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .deep-grid, .review-grid, .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; max-width: 560px; }
  .content-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .content-grid aside { position: static; }
}

/* Mobile breakpoint — drawer nav kicks in */
@media (max-width: 768px) {
  .container { padding: 0 18px; }

  /* Utility bar — keep only phone, drop email/status text */
  .bar { padding: 8px 0; font-size: 11px; }
  .bar .container { padding: 0 18px; flex-direction: row; justify-content: center; gap: 12px; }
  .bar .left { display: none; }
  .bar a { white-space: nowrap; }

  /* Header layout */
  .header .container {
    padding: 12px 18px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .brand-logo { width: 160px; }
  .footer-brand .brand-logo { width: 180px; }

  /* Show hamburger, hide CTA text, show drawer nav */
  .nav-toggle {
    display: inline-flex;
    order: 3;
  }
  .header-right {
    order: 2;
    gap: 6px;
  }
  .lang-toggle { margin-right: 0; font-size: 11px; }
  .lang-toggle a { padding: 6px 9px; }
  .header .cta-btn {
    padding: 9px 14px;
    font-size: 11px;
  }

  /* Nav as slide-down drawer */
  .nav {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 78%;
    max-width: 320px;
    flex-direction: column;
    gap: 0;
    background: var(--ink);
    border-left: 1px solid var(--line-2);
    padding: 90px 28px 32px;
    z-index: 49;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
  }
  .nav a { color: #f5f7fb; border-bottom-color: rgba(255,255,255,0.08); }
  body.nav-open .nav { transform: translateX(0); }
  .nav a {
    font-size: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }
  .nav a::before { color: var(--cyan); }

  /* Single-column grids */
  .stats-grid,
  .practice-grid,
  .results-grid,
  .deep-grid,
  .review-grid,
  .features-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid { border-left: none; }
  .stat { border-left: 1px solid var(--line); padding: 28px 22px; }

  /* Hero scaling */
  .hero { padding: 56px 0 60px; }
  .hero h1 {
    font-size: clamp(34px, 9vw, 52px);
    line-height: 1.06;
    margin-bottom: 22px;
  }
  .hero p.lede { font-size: 16px; margin-bottom: 32px; }
  .hero-eyebrow { font-size: 11px; margin-bottom: 24px; padding: 6px 12px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .cta-btn { justify-content: center; width: 100%; }

  /* Section headers */
  .sec-head h2,
  .page-hero h1 {
    font-size: clamp(28px, 7vw, 40px);
    line-height: 1.1;
  }
  .sec-head p,
  .page-hero p.intro { font-size: 15px; }

  /* Sections - reduce padding */
  .stats { padding: 50px 0; }
  .practice, .results, .reviews, .features, .cta-band, .content { padding: 60px 0; }
  .page-hero { padding: 50px 0 40px; }

  /* Practice cards */
  .practice-card { padding: 28px 22px; }
  .practice-card h3 { font-size: 19px; }

  /* Deep cards (practice areas) */
  .deep-card { padding: 28px 22px; }
  .deep-card h3 { font-size: 22px; }
  .deep-card .num { font-size: 11px; }

  /* Results table — horizontal scroll */
  .results-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .results-table { font-size: 12px; min-width: 560px; }
  .results-table th, .results-table td { padding: 10px 12px; }

  /* CTA band */
  .cta-band h2 { font-size: clamp(28px, 7vw, 40px); }
  .cta-band p { font-size: 15px; margin-bottom: 28px; }
  .cta-band .actions { flex-direction: column; align-items: stretch; }
  .cta-band .actions .cta-btn { justify-content: center; }

  /* Contact form */
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px; /* prevents iOS zoom on focus */
  }
  .contact-form .submit { width: 100%; }

  /* Footer */
  .footer { padding: 50px 0 30px; }
  .footer-grid { gap: 32px; }
  .footer-bottom { font-size: 11px; line-height: 1.6; }

  /* Cluster headers */
  .cluster-head { font-size: 0.7rem; padding: 24px 0 12px; }
}

/* Very small phones */
@media (max-width: 420px) {
  .brand-logo { width: 140px; }
  .header .cta-btn { padding: 8px 10px; font-size: 10px; }
  .lang-toggle a { padding: 5px 7px; font-size: 10px; }
}

/* ============================================
   US MAP HERO BACKGROUND
   ============================================ */
.hero { overflow: hidden; }

.hero-map {
  position: absolute;
  top: 50%;
  right: -8%;
  transform: translateY(-50%);
  width: 62%;
  max-width: 880px;
  height: auto;
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 0 24px rgba(14,116,144,0.22));
}
.hero-map svg { width: 100%; height: auto; display: block; }
.hero-map path {
  fill: rgba(14,116,144,0.08);
  stroke: rgba(14,116,144,0.55);
  stroke-width: 0.8;
  vector-effect: non-scaling-stroke;
}

/* Pulse dots — case-location markers */
.hero-map .marker {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(14,116,144,0.22), 0 0 14px rgba(14,116,144,0.55);
  animation: marker-pulse 2.4s ease-in-out infinite;
}
.hero-map .marker::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(14,116,144,0.5);
  border-radius: 50%;
  animation: marker-ring 2.4s ease-out infinite;
}
@keyframes marker-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}
@keyframes marker-ring {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Stagger pulses */
.hero-map .marker:nth-child(2) { animation-delay: .4s; }
.hero-map .marker:nth-child(3) { animation-delay: .8s; }
.hero-map .marker:nth-child(4) { animation-delay: 1.2s; }
.hero-map .marker:nth-child(5) { animation-delay: 1.6s; }
.hero-map .marker:nth-child(6) { animation-delay: 2.0s; }

.hero-map .marker::after,
.hero-map .marker:nth-child(2)::after { animation-delay: inherit; }

/* Coverage badge */
.hero-coverage {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 10px 16px;
  background: rgba(15,23,34,0.04);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
}
.hero-coverage strong { color: var(--cyan); font-weight: 600; }
.hero-coverage::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald);
  animation: pulse 2s infinite;
}

/* Mobile — fade map further, push behind text */
@media (max-width: 900px) {
  .hero-map {
    right: -25%;
    width: 110%;
    max-width: none;
    opacity: 0.32;
    top: 55%;
  }
}
@media (max-width: 560px) {
  .hero-map { opacity: 0.22; }
}

/* ============================================
   LEGAL PAGES (privacy, terms, disclaimer, etc.)
   ============================================ */
.legal-prose {
  max-width: 820px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.75;
}
.legal-prose h3 {
  margin-top: 44px;
  margin-bottom: 14px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.legal-prose h3:first-child { margin-top: 0; }
.legal-prose p { margin-bottom: 14px; }
.legal-prose ul { padding-left: 22px; margin-bottom: 18px; }
.legal-prose ul li { margin-bottom: 8px; }
.legal-prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.legal-prose a:hover { text-decoration: none; }
.legal-updated {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.04em;
  margin-top: 18px;
}

/* ============================================
   FOOTER LEGAL BLOCK (multi-line disclosure)
   ============================================ */
.footer-bottom .legal-block {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.75;
  color: #8590a8;
  margin-bottom: 14px;
  max-width: 1100px;
}
.footer-bottom .rights {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.04em;
}
.footer .practice-list-footer { columns: 2; column-gap: 28px; }
.footer .practice-list-footer li { font-size: 13px; margin-bottom: 8px; break-inside: avoid; }
@media (max-width: 768px) {
  .footer .practice-list-footer { columns: 1; }
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  background: #0a1a2f;
  color: #cdd5e2;
  border: 1px solid rgba(14,116,144,0.45);
  border-radius: 10px;
  box-shadow: 0 14px 40px rgba(8,12,24,0.45);
  padding: 16px 20px;
  font-size: 13px;
  line-height: 1.6;
}
.cookie-banner .container {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}
.cookie-banner p { margin: 0; flex: 1 1 420px; }
.cookie-banner a { color: var(--cyan); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner .cta-btn { padding: 8px 14px; font-size: 12px; }
.cookie-banner .cta-btn.ghost { color: #cdd5e2; border-color: rgba(205,213,226,0.35); background: transparent; }
.cookie-banner .cta-btn.ghost:hover { color: var(--cyan); border-color: var(--cyan); }
@media (max-width: 640px) {
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 14px 16px; }
  .cookie-actions { width: 100%; }
  .cookie-banner .cta-btn { flex: 1; justify-content: center; }
}


/* ===== Firm Band: About + Highlights + Free Consultation ===== */
.firm-band {
  background: var(--bg);
  padding: 96px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.firm-band-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line-2);
  background: var(--paper);
  overflow: hidden;
}
.firm-about,
.firm-form {
  background: #0a1a2f;
  color: #cdd5e2;
  padding: 48px 40px;
}
.firm-about .kicker {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.firm-about h2 {
  color: #f3f5f9;
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 22px;
  font-weight: 600;
}
.firm-about h2 .cyan { color: var(--cyan); }
.firm-about-rule,
.firm-form-rule {
  width: 56px;
  height: 2px;
  background: var(--cyan);
  margin: 0 0 24px;
}
.firm-about p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #b6c0d0;
  margin: 0 0 14px;
}

/* Highlights (middle column) */
.firm-highlights {
  background: var(--paper);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-content: center;
}
.hl {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.hl:nth-child(2n) { border-right: none; }
.hl:nth-last-child(-n+2) { border-bottom: none; }
.hl-icon {
  width: 44px;
  height: 44px;
  color: var(--cyan);
  margin-bottom: 14px;
}
.hl p {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0;
}
.hl strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  margin-top: 3px;
}

/* Form (right column) */
.firm-form h2 {
  color: #f3f5f9;
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 18px;
  font-weight: 600;
}
.firm-form .kicker {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.consult-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}
.consult-form input,
.consult-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(205,213,226,0.25);
  color: #f3f5f9;
  font-family: inherit;
  font-size: 14px;
  padding: 10px 2px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  resize: none;
}
.consult-form input::placeholder,
.consult-form textarea::placeholder {
  color: #8590a8;
}
.consult-form input:focus,
.consult-form textarea:focus {
  border-bottom-color: var(--cyan);
}
.consult-form textarea {
  min-height: 70px;
}
.consult-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 8px 0 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8590a8;
}
.consult-radio-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8590a8;
  margin: 8px 0 0;
}
.consult-radio label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: #cdd5e2;
}
.consult-radio input[type="radio"] {
  accent-color: var(--cyan);
  width: 13px;
  height: 13px;
}
.consult-form button {
  margin-top: 12px;
  background: var(--cyan);
  color: #fff;
  border: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 22px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  align-self: flex-start;
  font-weight: 600;
}
.consult-form button:hover {
  background: #0891a8;
}
.consult-form button:active { transform: translateY(1px); }
.consult-fineprint {
  font-size: 11px;
  color: #8590a8;
  line-height: 1.5;
  margin: 14px 0 0;
}
.consult-success {
  display: none;
  padding: 20px 0;
  color: #cdd5e2;
}
.consult-success h3 {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.consult-success p { color: #b6c0d0; font-size: 14px; line-height: 1.6; margin: 0; }
.consult-form.sent { display: none; }
.consult-form.sent + .consult-success { display: block; }

/* Tablet — 2 columns */
@media (max-width: 1100px) {
  .firm-band-grid { grid-template-columns: 1fr 1fr; }
  .firm-highlights { grid-column: 1 / -1; order: 3; }
  .firm-highlights .hl { padding: 24px 14px; }
}

/* Mobile — single column */
@media (max-width: 720px) {
  .firm-band { padding: 64px 0; }
  .firm-band-grid {
    grid-template-columns: 1fr;
  }
  .firm-about,
  .firm-form {
    padding: 36px 24px;
  }
  .firm-about h2 { font-size: 24px; }
  .firm-form h2 { font-size: 22px; }
  .firm-highlights {
    padding: 16px;
    grid-column: auto;
    order: 0;
  }
  .hl { padding: 22px 12px; }
}

/* ===== Practice Detail Pages ===== */
/* Hero with background image */
.detail-hero {
  background-size: cover;
  background-position: center;
  background-color: #0a1a2f;
  padding: 96px 0 80px;
  color: #f3f5f9;
  border-bottom: 1px solid var(--line-2);
}
.detail-hero .container {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.detail-hero .crumb {
  color: rgba(243,245,249,0.65);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.detail-hero .crumb a {
  color: rgba(243,245,249,0.85);
  text-decoration: none;
}
.detail-hero .crumb a:hover { color: var(--cyan); }
.detail-hero .crumb .sep {
  margin: 0 10px;
  color: rgba(243,245,249,0.35);
}
.detail-kicker {
  display: inline-block;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.detail-title {
  color: #f3f5f9;
  font-size: 56px;
  line-height: 1.05;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 900px;
}

/* Overview band */
.detail-overview {
  background: var(--bg);
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.overview-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  align-items: start;
}
.overview-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--cyan);
  text-transform: uppercase;
  padding-top: 8px;
  border-top: 1px solid var(--cyan);
  width: max-content;
}
.overview-body p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
  max-width: 760px;
}

/* Panels (3-column) */
.detail-panels {
  background: var(--paper);
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.panel {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 40px 32px;
  position: relative;
}
.panel-num {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--cyan);
  margin-bottom: 14px;
}
.panel h2 {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.panel-list li {
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.panel-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22px;
  width: 10px;
  height: 1px;
  background: var(--cyan);
}
.panel-list li:last-child { border-bottom: none; }

/* Notes (Statute + Why Quickly) */
.detail-notes {
  background: var(--bg);
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.notes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.note { position: relative; }
.note-rule {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--cyan);
  margin-bottom: 18px;
}
.note h3 {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 14px;
  font-weight: 600;
  color: var(--ink);
}
.note p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

/* Related cards */
.detail-related {
  background: var(--paper);
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.related-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 40px;
}
.related-head h2 {
  font-size: 28px;
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.back-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--cyan);
}
.back-link:hover { color: #0891a8; border-color: #0891a8; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.related-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}
.related-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}
.related-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  filter: saturate(0.85);
}
.related-body { padding: 24px; }
.related-kicker {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.related-card h3 {
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 14px;
  font-weight: 600;
  color: var(--ink);
}
.related-more {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 4px;
}
.related-card:hover .related-more {
  color: var(--cyan);
  border-color: var(--cyan);
}

.cta-fineprint {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 28px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Practice grid — make titles clickable */
.practice-card h3 a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(var(--cyan), var(--cyan));
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.3s;
  padding-bottom: 2px;
}
.practice-card h3 a:hover { background-size: 100% 1px; color: var(--cyan); }
.practice-learn-more {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--cyan);
  padding-bottom: 3px;
}
.practice-learn-more:hover { color: #0891a8; border-color: #0891a8; }

/* Responsive */
@media (max-width: 1100px) {
  .detail-title { font-size: 44px; }
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .panel-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .notes-grid { grid-template-columns: 1fr; gap: 40px; }
  .related-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  .detail-hero { padding: 64px 0 56px; }
  .detail-hero .container { min-height: 240px; }
  .detail-title { font-size: 32px; }
  .detail-overview, .detail-panels, .detail-notes, .detail-related { padding: 56px 0; }
  .panel-grid { grid-template-columns: 1fr; gap: 24px; }
  .related-grid { grid-template-columns: 1fr; gap: 20px; }
  .related-head { flex-direction: column; gap: 18px; align-items: flex-start; }
  .overview-body p { font-size: 16px; }
}

/* ============================================================
   VERDICT DETAIL PAGE
   ============================================================ */

.verdict-amount {
  font-family: var(--mono);
  font-size: 48px;
  font-weight: 600;
  color: var(--cyan);
  margin-top: 24px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.verdict-stats {
  padding: 32px 0;
  background: var(--paper);
  border-bottom: 1px solid rgba(15, 23, 34, 0.08);
}
.vstats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.vstat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.vstat-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.vstat-value {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
}
.vstat-amount {
  color: var(--cyan);
  font-weight: 600;
  font-size: 20px;
}

/* 2-column panel grid for verdict pages (4 panels → 2×2) */
.panel-grid-2 {
  grid-template-columns: 1fr 1fr;
}
.panel-body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

/* Wide single note for "Key Case Factors" */
.notes-grid:has(.note-wide) {
  grid-template-columns: 1fr;
}
.note-wide {
  max-width: 100%;
}

/* Clickable rows on results table */
.results-table tbody tr.result-row {
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}
.results-table tbody tr.result-row:hover {
  background-color: rgba(14, 116, 144, 0.06);
}
.results-table tbody tr.result-row:hover td.amount {
  color: var(--cyan);
}

@media (max-width: 1100px) {
  .panel-grid-2 { grid-template-columns: 1fr; }
  .verdict-amount { font-size: 40px; }
}
@media (max-width: 720px) {
  .vstats-grid { grid-template-columns: 1fr; gap: 20px; }
  .verdict-amount { font-size: 32px; margin-top: 16px; }
  .verdict-stats { padding: 24px 0; }
}

/* Home page verdict cards — anchor form */
a.result {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.result:hover { background: var(--paper-2); }
a.result:hover .result-amount { color: var(--cyan); }
a.result:hover .result-desc { color: var(--ink); }
a.result:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

/* Home page "view all verdicts" link below grid */
.results-view-all {
  margin-top: 32px;
  text-align: right;
}
.results-view-all .cta-line {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: color .2s, border-color .2s;
}
.results-view-all .cta-line:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* Results table — each <td> now wraps content in an anchor so the whole row is clickable */
.results-table td { padding: 0 !important; }
.results-table td .row-link {
  display: block;
  padding: 16px 22px;
  color: inherit;
  text-decoration: none;
  width: 100%;
  height: 100%;
}
.results-table td.amount .row-link { text-align: right; }
.results-table tbody tr.result-row { cursor: pointer; }
.results-table tbody tr.result-row:hover .row-link { color: var(--ink); }
.results-table tbody tr.result-row:hover td.amount .row-link { color: var(--cyan); }
.results-table tbody tr.result-row:focus-within {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}
@media (max-width: 720px) {
  .results-table td .row-link { padding: 10px 12px; }
}

/* ===== Image enhancements (added) ===== */

/* Practice card thumbnails */
.practice-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: #0a1a2f;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  filter: saturate(0.85) contrast(1.05);
  transition: filter .35s ease, transform .6s ease;
  overflow: hidden;
}
.practice-card:hover .practice-thumb {
  filter: saturate(1) contrast(1.1);
}
@media (max-width: 720px) {
  .practice-thumb { margin-bottom: 18px; }
}

/* About panel — courthouse backdrop */
.firm-about {
  position: relative;
  overflow: hidden;
  background-color: #0a1a2f;
  background-image: linear-gradient(180deg, rgba(10,26,47,0.72) 0%, rgba(10,26,47,0.85) 60%, rgba(10,26,47,0.94) 100%), url('../images/editorial/about-courthouse.png');
  background-size: cover;
  background-position: center top;
}
.firm-about > * { position: relative; z-index: 1; }

/* Pull-quote — courtroom backdrop */
.pull {
  position: relative;
  overflow: hidden;
  background-color: #0a1a2f;
  background-image: linear-gradient(180deg, rgba(10,26,47,0.65) 0%, rgba(10,26,47,0.78) 55%, rgba(10,26,47,0.92) 100%), url('../images/editorial/pull-courtroom.png');
  background-size: cover;
  background-position: center;
}
.pull > .container { position: relative; z-index: 1; }
.pull blockquote {
  color: #f3f5f9;
  border-left-color: var(--cyan);
}
.pull blockquote .cyan { color: var(--cyan); }
.pull cite {
  color: #93a0b6;
}

/* ===== Practice page (practice.html) — side-rail thumbnails on deep-cards ===== */
.deep-card {
  /* turn each card into a 2-col grid: image rail | content body */
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}
.deep-card-thumb {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
  background-color: #0a1a2f;
  border: 1px solid var(--line);
  filter: saturate(0.85) contrast(1.05);
  transition: filter .35s ease;
  position: relative;
  overflow: hidden;
}
.deep-card:hover .deep-card-thumb {
  filter: saturate(1) contrast(1.1);
}
.deep-card-body {
  min-width: 0; /* allow flex children to shrink properly */
}

/* CTA card variant (no thumbnail) */
.deep-card.deep-card-cta {
  grid-template-columns: 1fr;
  background: var(--paper);
  border-left: 3px solid var(--cyan);
}
.deep-card.deep-card-cta:hover {
  background: var(--paper);
}
.deep-card.deep-card-cta h3 {
  font-size: 24px;
}

/* On tablet and below, stack vertically with a shorter banner thumb */
@media (max-width: 980px) {
  .deep-card {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .deep-card-thumb {
    aspect-ratio: 16 / 9;
    max-width: 100%;
  }
}

/* ===== Editorial band sections (firm, reviews) ===== */
.editorial-band {
  width: 100%;
  height: 360px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.editorial-band-firm {
  background-image: linear-gradient(180deg, rgba(10,26,47,0.20) 0%, rgba(10,26,47,0.10) 50%, rgba(10,26,47,0.25) 100%), url('../images/editorial/firm-hero-band.png');
}
.editorial-band-reviews {
  background-image: linear-gradient(180deg, rgba(10,26,47,0.55) 0%, rgba(10,26,47,0.35) 50%, rgba(10,26,47,0.65) 100%), url('../images/editorial/about-courthouse.png');
  background-position: center 30%;
}
@media (max-width: 720px) {
  .editorial-band { height: 220px; }
}
