/*
Theme Name:    LGB Law
Theme URI:     https://leegodshallbennett.com
Author:        Lee & Godshall-Bennett LLP
Author URI:    https://leegodshallbennett.com
Description:   Dark, editorial theme for a civil-rights litigation firm.
Version:       1.0.2
License:       GNU General Public License v2 or later
License URI:   https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:   lgb-law
Tags:          one-column, custom-colors, custom-menu, editor-style, featured-images, full-width-template, translation-ready
*/


/* ============================================================
   1. RESET & CUSTOM PROPERTIES
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* ── Base palette ── */
  --bg:            #0D0D0D;
  --bg-alt:        #141414;
  --bg-card:       #111111;
  --cream:         #F2EDE3;
  --cream-dim:     #B8B0A2;
  --crimson:       #C41A1A;
  --crimson-hot:   #E02020;
  --muted:         #6A6460;
  --border:        rgba(242,237,227,0.07);

  /* ── Fonts ── */
  --ff-display:    'Bebas Neue', sans-serif;
  --ff-heading:    'Oswald', sans-serif;
  --ff-body:       'Cormorant Garamond', Georgia, serif;

  /* ── Layout ── */
  --nav-h:         76px;

  /* ── Easing ── */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap:     cubic-bezier(0.22, 1, 0.36, 1);

  /* ── Case status colors ── */
  --status-active:   #C41A1A;
  --status-appeal:   #C4881A;
  --status-resolved: #1A7A3C;
  --status-closed:   #6A6460;
}

html {
  font-size: 16px !important;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--ff-body);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  max-width: none;
}

/* ── WordPress.com default overrides ──
   WP.com Business injects global styles, block library CSS,
   and wrapper elements that can constrain width or override sizing.
   These rules force our intended full-bleed layout. ── */
#page,
.site,
.site-content,
.entry-content,
.post-content,
.wp-site-blocks,
.wp-site-blocks > *,
.is-layout-constrained > *,
.is-layout-flow > * {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Prevent WP block editor from adding its own content-width */
body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: none !important;
}

/* Disable WP's default body padding when admin bar is present */
html.wp-toolbar {
  padding-top: 0 !important;
}

/* Ensure WP's global styles don't override our font stack */
body,
body .wp-site-blocks {
  font-family: var(--ff-body) !important;
  font-size: inherit;
  line-height: inherit;
}


/* ── Film-grain overlay ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 9999;
}


/* ── Global typography resets ── */
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.93;
  letter-spacing: 0.02em;
}

.accent { color: var(--crimson); }


/* ============================================================
   2. NAVIGATION
============================================================ */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 72px);
  transition: background 0.45s ease, border-color 0.45s ease;
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  background: rgba(13, 13, 13, 0.97);
  border-color: var(--border);
  backdrop-filter: blur(8px);
}

.nav-brand {
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: clamp(14px, 1.5vw, 19px);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.3;
}

.nav-brand-sub {
  display: block;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 40px);
}

.nav-links a {
  font-family: var(--ff-heading);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--crimson);
  transition: width 0.25s var(--ease-out);
}

.nav-links a:hover {
  color: var(--cream);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--crimson) !important;
  color: var(--cream) !important;
  padding: 10px 22px !important;
  font-size: 11px !important;
  letter-spacing: 0.2em !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--crimson-hot) !important;
  color: var(--cream) !important;
}

.nav-cta::after {
  display: none !important;
}


/* ── Dropdown ── */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%; padding-top: 14px;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(13, 13, 13, 0.97);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  z-index: 300;
}

.dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  font-family: var(--ff-heading);
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim) !important;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, background 0.2s;
}

.dropdown-menu li a::after {
  display: none !important;
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu li a:hover {
  color: var(--cream) !important;
  background: rgba(242, 237, 227, 0.04);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown > a.active {
  color: var(--cream);
}

.nav-dropdown > a.active::after {
  width: 100%;
}


/* ── Hamburger toggle ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  z-index: 201;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--cream);
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ============================================================
   3. HERO (FULL-HEIGHT)
============================================================ */
.hero {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 20px) clamp(20px, 5vw, 72px) clamp(60px, 8vw, 110px);
  position: relative;
  overflow: hidden;
}

/* Subtle diagonal accent line */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: clamp(80px, 15vw, 200px);
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(196, 26, 26, 0.2) 40%, rgba(196, 26, 26, 0.08) 100%);
  pointer-events: none;
}

/* Very faint scan-line texture */
.hero-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0,0,0,0.025) 3px,
    rgba(0,0,0,0.025) 4px
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--ff-heading);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 28px;
  text-align: center;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out) 0.15s forwards;
}

.hero-eyebrow::after {
  display: none;
}

/* Each headline line clips up from below */
.hero-title {
  margin-bottom: 36px;
}

.hero-line-wrap {
  overflow: hidden;
  display: block;
  line-height: 1;
}

.hero-line {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(70px, 13.5vw, 178px);
  color: var(--cream);
  line-height: 0.9;
  transform: translateY(108%);
  animation: lineReveal 0.72s var(--ease-snap) forwards;
  will-change: transform;
}

.hero-line:nth-child(1) { animation-delay: 0.28s; }
.hero-line:nth-child(2) { animation-delay: 0.46s; }
.hero-line:nth-child(3) { animation-delay: 0.64s; }

.hero-line .accent {
  color: var(--crimson);
}

.hero-rule {
  height: 4px;
  background: var(--crimson);
  width: 0;
  margin-bottom: 36px;
  animation: barExpand 1s var(--ease-out) 1.05s forwards;
}

.hero-body {
  font-family: var(--ff-body);
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--cream-dim);
  max-width: 500px;
  line-height: 1.65;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.55s var(--ease-out) 1.05s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.55s var(--ease-out) 1.22s forwards;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: clamp(24px, 4vw, 48px);
  right: clamp(20px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 0.6s ease 1.5s forwards;
}

.hero-scroll span {
  font-family: var(--ff-heading);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--muted) 0%, transparent 100%);
  animation: scrollPulse 2s ease-in-out 1.8s infinite;
}


/* ============================================================
   4. PAGE HEADER (COMPACT HERO VARIANT)
============================================================ */
.page-header {
  min-height: min(42vh, 420px);
  background: var(--bg);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 48px) clamp(20px, 5vw, 72px) clamp(48px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: clamp(80px, 15vw, 200px);
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(196,26,26,0.2) 40%, rgba(196,26,26,0.08) 100%);
  pointer-events: none;
}

.page-header-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0,0,0,0.025) 3px,
    rgba(0,0,0,0.025) 4px
  );
}

.page-header-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  width: 100%;
}

.page-header-title {
  margin-bottom: 32px;
}

.page-header .hero-line {
  font-size: clamp(56px, 11vw, 148px);
}

.page-header-rule {
  height: 3px;
  background: var(--crimson);
  width: 0;
  margin-bottom: 28px;
  animation: barExpand 1s var(--ease-out) 0.95s forwards;
}

.page-header-sub {
  font-family: var(--ff-body);
  font-style: italic;
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--cream-dim);
  opacity: 0;
  animation: fadeUp 0.55s var(--ease-out) 1s forwards;
}


/* ============================================================
   5. BUTTONS
============================================================ */
.btn {
  display: inline-block;
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all 0.22s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--crimson);
  color: var(--cream);
  border: 2px solid var(--crimson);
  padding: 16px 38px;
}

.btn-primary:hover {
  background: transparent;
  color: var(--crimson);
}

.btn-ghost {
  background: transparent;
  color: var(--cream-dim);
  border: 2px solid var(--border);
  padding: 16px 38px;
}

.btn-ghost:hover {
  border-color: var(--cream-dim);
  color: var(--cream);
}

.btn-outline-cream {
  background: transparent;
  color: var(--cream);
  border: 2px solid var(--cream);
  padding: 18px 48px;
}

.btn-outline-cream:hover {
  background: var(--cream);
  color: var(--crimson);
}

.btn-card-link {
  font-family: var(--ff-heading);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--crimson);
  transition: letter-spacing 0.3s;
}

.btn-card-link:hover {
  letter-spacing: 0.2em;
}


/* ============================================================
   6. MEDIA CREDIBILITY STRIP
============================================================ */
.media-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 26px clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  overflow: hidden;
}

.strip-label {
  font-family: var(--ff-heading);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.strip-divider {
  width: 1px;
  height: 16px;
  background: var(--border);
  flex-shrink: 0;
}

.strip-outlets {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(6px, 1vw, 14px);
  font-family: var(--ff-heading);
  font-weight: 500;
  font-size: clamp(10px, 1vw, 12px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-dim);
  overflow: hidden;
}

.strip-dot {
  color: var(--crimson);
  opacity: 0.6;
  font-size: 10px;
}


/* ============================================================
   7. SECTION UTILITIES
============================================================ */
.s-pad {
  padding: clamp(80px, 11vw, 148px) clamp(20px, 5vw, 72px);
}

.section-header {
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-label {
  display: block;
  font-family: var(--ff-heading);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(52px, 7.5vw, 104px);
  color: var(--cream);
  line-height: 0.9;
}

.section-rule {
  display: block;
  height: 3px;
  background: var(--crimson);
  width: 0;
  margin-top: 28px;
  transition: width 1s var(--ease-out);
}

.section-rule.is-visible {
  width: 100%;
}


/* ============================================================
   8. SCROLL REVEAL ANIMATIONS
============================================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-56px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(56px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.reveal-fade.is-visible {
  opacity: 1;
}


/* ============================================================
   9. PRACTICE AREA CARDS
============================================================ */
.how-section {
  background: var(--bg);
  position: relative;
}

.practice-section {
  background: var(--bg);
  position: relative;
}

.practice-section--alt {
  background: var(--bg-alt);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.practice-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
  padding: clamp(36px, 4.5vw, 64px);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: background 0.28s ease;
}

/* Left-edge accent bar on hover */
.practice-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--crimson);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s var(--ease-out);
}

.practice-card:hover::before {
  transform: scaleY(1);
}

.practice-card:hover {
  background: #141414;
}

.card-num {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--crimson);
  display: block;
  margin-bottom: 28px;
}

.card-title {
  font-family: var(--ff-display);
  font-size: clamp(34px, 3.8vw, 58px);
  color: var(--cream);
  line-height: 0.92;
  margin-bottom: 22px;
}

.card-rule {
  height: 2px;
  background: var(--crimson);
  width: 40px;
  margin-bottom: 22px;
  transition: width 0.4s var(--ease-out);
}

.practice-card:hover .card-rule {
  width: 72px;
}

.card-desc {
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--cream-dim);
}


/* ============================================================
   10. MISSION / ABOUT SECTION
============================================================ */
.mission-section {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

/* Large faint monogram behind content */
.mission-section::before {
  content: 'LGB';
  position: absolute;
  right: -2%;
  bottom: -8%;
  font-family: var(--ff-display);
  font-size: clamp(200px, 30vw, 420px);
  color: rgba(242, 237, 227, 0.018);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

.mission-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
  position: relative;
}

.mission-quote {
  padding-left: clamp(24px, 3vw, 44px);
  border-left: 4px solid var(--crimson);
}

.mission-quote blockquote {
  font-family: var(--ff-display);
  font-size: clamp(34px, 4.5vw, 62px);
  color: var(--cream);
  line-height: 1.0;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.mission-quote cite {
  font-family: var(--ff-body);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-style: normal;
}

.mission-points {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mission-point {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.mission-point:first-child {
  border-top: 1px solid var(--border);
}

.mission-point-label {
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mission-point-label::before {
  content: '';
  display: block;
  width: 8px;
  height: 2px;
  background: var(--crimson);
  flex-shrink: 0;
}

.mission-point p {
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--cream-dim);
}


/* ============================================================
   10b. FOUNDING STORY (ABOUT PAGE)
============================================================ */
.founding-section {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

/* Faint monogram watermark */
.founding-section::before {
  content: 'LGB';
  position: absolute;
  right: -2%;
  bottom: -8%;
  font-family: var(--ff-display);
  font-size: clamp(200px, 30vw, 420px);
  color: rgba(242, 237, 227, 0.018);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

.founding-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
  position: relative;
}

.founding-quote {
  padding-left: clamp(24px, 3vw, 44px);
  border-left: 4px solid var(--crimson);
}

.founding-quote blockquote {
  font-family: var(--ff-display);
  font-size: clamp(34px, 4.5vw, 62px);
  color: var(--cream);
  line-height: 1.0;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.founding-quote cite {
  font-family: var(--ff-body);
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.founding-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.founding-body p {
  font-family: var(--ff-body);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.72;
  color: var(--cream-dim);
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.founding-body p:first-child {
  border-top: 1px solid var(--border);
}


/* ============================================================
   11. ATTORNEY COMPACT CARDS (HOMEPAGE)
============================================================ */
.team-section {
  background: var(--bg);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.attorney-card {
  background: var(--bg-card);
  padding: 0;
  overflow: hidden;
}

.attorney-photo,
.attorney-card .wp-post-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.attorney-card-body {
  padding: clamp(18px, 2vw, 30px);
}

.attorney-bar {
  height: 4px;
  background: var(--crimson);
  width: 0;
  margin-bottom: 20px;
  transition: width 1s var(--ease-out);
}

.attorney-bar.is-visible {
  width: 100%;
}

.attorney-num {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--crimson);
  margin-bottom: 8px;
  display: block;
}

.attorney-name {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3.2vw, 48px);
  color: var(--cream);
  line-height: 0.9;
  margin-bottom: 8px;
}

.attorney-jurisdiction {
  font-family: var(--ff-heading);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.attorney-creds {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cred-item {
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--cream-dim);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 14px;
  line-height: 1.5;
}

.cred-item:first-child {
  border-top: 1px solid var(--border);
}

.cred-dash {
  color: var(--crimson);
  font-family: var(--ff-heading);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.attorney-bio {
  font-family: var(--ff-body);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.72;
  color: var(--cream-dim);
  margin-bottom: 32px;
}

.attorney-media {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.attorney-media-label {
  font-family: var(--ff-heading);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.attorney-media-list {
  font-family: var(--ff-heading);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
  line-height: 1.8;
}


/* ============================================================
   12. ATTORNEY FULL-PAGE SECTIONS (OUR TEAM)
============================================================ */
.attorney-full {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  background: var(--bg);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.attorney-full::after {
  content: attr(data-num);
  position: absolute;
  font-family: var(--ff-display);
  font-size: clamp(280px, 38vw, 540px);
  color: rgba(242,237,227,0.018);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  bottom: -4%;
  right: 0%;
  letter-spacing: -0.04em;
}

.attorney-full.alt-bg {
  background: var(--bg-alt);
}

.attorney-full.flip {
  grid-template-columns: 1.25fr 1fr;
}

.attorney-full.flip .attorney-full-photo-col {
  order: 2;
}

.attorney-full.flip::after {
  right: auto;
  left: 0%;
}

.attorney-full-photo-col {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  overflow: hidden;
  align-self: start;
}

.attorney-full-photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.attorney-full-body {
  padding: clamp(72px, 9vw, 120px) clamp(48px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* ── Full-page attorney overrides ── */
.attorney-full .attorney-bar {
  margin-bottom: 40px;
}

.attorney-full .attorney-num {
  margin-bottom: 16px;
}

.attorney-full .attorney-name {
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.88;
  margin-bottom: 12px;
}

.attorney-full.flip .attorney-full-body {
  order: 1;
}

.attorney-full .attorney-jurisdiction {
  margin-bottom: 36px;
}

.attorney-full .attorney-creds {
  margin-bottom: 36px;
}

.attorney-full .cred-item {
  font-size: 16px;
  padding: 13px 0;
}


/* ============================================================
   13. FILTER BAR & CASE CARDS
============================================================ */
.filter-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px clamp(24px, 5vw, 80px);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--ff-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-dim);
  background: transparent;
  border: 1px solid var(--border);
  padding: 8px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: rgba(196,26,26,0.4);
  color: var(--cream);
}

.filter-btn.active {
  background: var(--crimson);
  border-color: var(--crimson);
  color: #fff;
}

.cases-section {
  padding: clamp(60px, 8vw, 120px) clamp(24px, 5vw, 80px);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.case-card {
  position: relative;
  padding: clamp(28px, 3.5vw, 44px);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.3s ease;
  text-decoration: none;
  overflow: hidden;
  color: inherit;
}

.case-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--crimson);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s var(--ease-out);
}

.case-card:hover {
  border-color: rgba(196,26,26,0.35);
}

.case-card:hover::before {
  transform: scaleY(1);
}

.case-card.hidden {
  display: none;
}

.case-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ff-heading);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot--active   { background: var(--status-active); }
.status-dot--appeal   { background: var(--status-appeal); }
.status-dot--resolved { background: var(--status-resolved); }
.status-dot--closed   { background: var(--status-closed); }

.status-label--active   { color: var(--status-active); }
.status-label--appeal   { color: var(--status-appeal); }
.status-label--resolved { color: var(--status-resolved); }
.status-label--closed   { color: var(--status-closed); }

.case-area-tag {
  font-family: var(--ff-heading);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.case-name {
  font-family: var(--ff-heading);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.case-excerpt {
  font-family: var(--ff-body);
  font-style: italic;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--cream-dim);
  line-height: 1.55;
  flex-grow: 1;
}

.case-link {
  font-family: var(--ff-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-top: 8px;
}


/* ============================================================
   14. CASE SINGLE TEMPLATE
============================================================ */
.case-back {
  display: block;
  font-family: var(--ff-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  padding: calc(var(--nav-h) + clamp(20px, 3vw, 32px)) clamp(20px, 5vw, 72px) 0;
  transition: color 0.2s;
}

.case-back:hover {
  color: var(--cream);
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  opacity: 0;
  animation: fadeUp 0.55s var(--ease-out) 1s forwards;
}

.hero-status-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ff-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-active);
  flex-shrink: 0;
}

.hero-status-label {
  color: var(--status-active);
}

.hero-area-tag {
  font-family: var(--ff-heading);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}


/* ── Case overview grid ── */
.case-overview {
  background: #111;
  border-bottom: 1px solid var(--border);
  padding: clamp(28px, 4vw, 48px) clamp(20px, 5vw, 72px);
}

.case-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.case-meta-label {
  display: block;
  font-family: var(--ff-heading);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.case-meta-value {
  font-family: var(--ff-heading);
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.05em;
}

.case-meta-value--active {
  color: var(--status-active);
}


/* ── Case description ── */
.case-description {
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 72px);
  max-width: 860px;
}

.case-description p {
  font-family: var(--ff-body);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.7;
  color: var(--cream-dim);
  margin-bottom: 1.5em;
}

.case-description p:last-child {
  margin-bottom: 0;
}


/* ── Timeline ── */
.timeline-section {
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--border);
}

.timeline {
  position: relative;
  padding-left: 40px;
  max-width: 800px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--crimson) 8%,
    var(--crimson) 92%,
    transparent 100%
  );
}

.timeline-entry {
  position: relative;
  padding-bottom: clamp(32px, 4vw, 48px);
  cursor: default;
}

.timeline-entry:last-child { padding-bottom: 0; }

.timeline-node {
  position: absolute;
  left: -46px;
  top: 5px;
  width: 10px;
  height: 10px;
  background: var(--crimson);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.timeline-entry:hover .timeline-node,
.timeline-entry.open .timeline-node {
  transform: rotate(45deg) scale(1.5);
  box-shadow: 0 0 12px rgba(196,26,26,0.5);
}

.timeline-date {
  display: block;
  font-family: var(--ff-heading);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.timeline-title {
  font-family: var(--ff-heading);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.04em;
  line-height: 1.3;
  transition: color 0.2s;
}

.timeline-entry:hover .timeline-title,
.timeline-entry.open .timeline-title {
  color: var(--cream);
}

.timeline-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--ease-out), opacity 0.3s ease;
}

.timeline-entry:hover .timeline-detail,
.timeline-entry.open .timeline-detail {
  max-height: 300px;
  opacity: 1;
}

.timeline-detail-inner {
  border-top: 1px solid var(--border);
  margin-top: 12px;
  padding-top: 16px;
}

.timeline-detail-text {
  font-family: var(--ff-body);
  font-style: italic;
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--cream-dim);
  line-height: 1.6;
  margin-bottom: 14px;
}

.filing-link {
  font-family: var(--ff-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--crimson);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease, color 0.2s;
}

.filing-link:hover {
  gap: 10px;
  color: var(--crimson-hot);
}


/* ============================================================
   15. PRESS / NEWS CARDS
============================================================ */
.press-section {
  background: var(--bg);
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
}

.press-card {
  padding: clamp(28px, 3.5vw, 44px);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.press-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--crimson);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s var(--ease-out);
}

.press-card:hover {
  border-color: rgba(196, 26, 26, 0.35);
}

.press-card:hover::before {
  transform: scaleY(1);
}

.press-outlet {
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: clamp(13px, 1.2vw, 16px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 6px;
}

.press-date {
  font-family: var(--ff-heading);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.press-headline {
  font-family: var(--ff-body);
  font-style: italic;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--cream-dim);
  margin-bottom: 20px;
  flex-grow: 1;
}

.press-link {
  font-family: var(--ff-heading);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-top: auto;
  transition: color 0.2s;
  display: inline-block;
}

.press-link:hover {
  color: var(--crimson-hot);
}


/* ── Video press card ── */
.press-card--video .video-thumb {
  position: relative;
  width: calc(100% + clamp(28px, 3.5vw, 44px) * 2);
  margin-left: calc(clamp(28px, 3.5vw, 44px) * -1);
  margin-top: calc(clamp(28px, 3.5vw, 44px) * -1);
  margin-bottom: 20px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a1a1a;
  flex-shrink: 0;
}

.press-card--video .video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.press-card--video:hover .video-thumb img {
  transform: scale(1.04);
  opacity: 0.85;
}

.video-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1414 0%, #2a1818 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.play-btn:hover {
  opacity: 0.85;
}

.play-btn-inner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease-out), background 0.2s;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.press-card--video:hover .play-btn-inner {
  transform: scale(1.1);
  background: #d41f1f;
}

.play-btn-inner svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  margin-left: 3px;
}

.video-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(196, 26, 26, 0.85);
  padding: 3px 8px;
  pointer-events: none;
}

.video-thumb-placeholder .outlet-watermark {
  font-family: var(--ff-heading);
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(242,237,227,0.08);
}


/* ============================================================
   16. TESTIMONIAL CARDS (HOMEPAGE COMPACT)
============================================================ */
.testimonials-section {
  background: var(--bg-alt);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
}

.testimonial-card {
  padding: clamp(28px, 3.5vw, 48px);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.testimonial-card:hover {
  border-color: rgba(196, 26, 26, 0.35);
}

.testimonial-mark {
  font-family: var(--ff-body);
  font-size: 72px;
  line-height: 0.7;
  color: var(--crimson);
  opacity: 0.3;
  display: block;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-text {
  font-family: var(--ff-body);
  font-size: clamp(16px, 1.5vw, 19px);
  font-style: italic;
  line-height: 1.65;
  color: var(--cream-dim);
  flex-grow: 1;
  margin-bottom: 28px;
}

.testimonial-author {
  font-family: var(--ff-heading);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cream);
}

.testimonial-role {
  display: block;
  font-family: var(--ff-heading);
  font-weight: 300;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-top: 4px;
}


/* ============================================================
   17. TESTIMONIAL STRIPES (FULL-PAGE)
============================================================ */
.testimonials-wrapper {}

.testimonial-stripe {
  display: grid;
  grid-template-columns: 28% 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(56px, 8vw, 112px) clamp(24px, 6vw, 80px);
  border-bottom: 1px solid var(--border);
}

.testimonial-stripe:nth-child(odd) {
  background: var(--bg);
}

.testimonial-stripe:nth-child(even) {
  background: var(--bg-alt);
}

.stripe-meta {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
}

.stripe-num {
  font-family: var(--ff-display);
  font-size: clamp(56px, 8vw, 120px);
  line-height: 1;
  color: var(--muted);
  opacity: 0.25;
  margin-bottom: 20px;
}

.stripe-rule {
  width: 40px;
  height: 2px;
  background: var(--crimson);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.stripe-author {
  font-family: var(--ff-heading);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.4;
}

.stripe-affiliation {
  font-family: var(--ff-body);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}

.stripe-quote {
  position: relative;
  padding-top: 8px;
}

.stripe-quote::before {
  content: '\201C';
  font-family: var(--ff-body);
  font-style: italic;
  font-size: clamp(80px, 12vw, 160px);
  line-height: 0.75;
  color: var(--crimson);
  opacity: 0.15;
  position: absolute;
  top: -8px;
  left: -16px;
  pointer-events: none;
}

.stripe-quote blockquote {
  font-family: var(--ff-body);
  font-style: italic;
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.75;
  color: var(--cream-dim);
  position: relative;
  z-index: 1;
}


/* ============================================================
   18. CONTACT GATE & FORM
============================================================ */
.hero--compact {
  min-height: min(42vh, 420px);
}

.hero--compact .hero-body {
  max-width: 560px;
}

.gate-section {
  background: var(--bg-alt);
  padding: clamp(64px,9vw,120px) clamp(20px,5vw,72px);
}

.gate-label {
  font-family: var(--ff-heading);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--crimson);
  display: block;
  margin-bottom: clamp(32px,4vw,52px);
  text-align: center;
}

.gate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
}

.gate-card {
  position: relative;
  padding: clamp(40px,5.5vw,80px) clamp(32px,4vw,64px);
  display: flex;
  flex-direction: column;
  transition: background 0.28s ease;
}

.gate-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s var(--ease-out);
}

.gate-card:hover::before {
  transform: scaleY(1);
}

.gate-card-legal {
  background: var(--bg-card);
}

.gate-card-legal::before {
  background: var(--crimson);
}

.gate-card-legal:hover {
  background: #141414;
}

.gate-card-general {
  background: var(--bg);
}

.gate-card-general::before {
  background: rgba(242,237,227,0.15);
}

.gate-card-general:hover {
  background: #0f0f0f;
}

.gate-card-num {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 28px;
}

.gate-card-legal .gate-card-num  { color: var(--crimson); }
.gate-card-general .gate-card-num { color: var(--muted); }

.gate-card-title {
  font-family: var(--ff-display);
  font-size: clamp(38px, 4.5vw, 68px);
  text-transform: uppercase;
  color: var(--cream);
  line-height: 0.92;
  margin-bottom: 24px;
}

.gate-card-general .gate-card-title { color: var(--cream-dim); }

.gate-card-rule {
  height: 2px;
  width: 40px;
  margin-bottom: 24px;
  transition: width 0.4s var(--ease-out);
}

.gate-card:hover .gate-card-rule { width: 72px; }

.gate-card-legal .gate-card-rule   { background: var(--crimson); }
.gate-card-general .gate-card-rule { background: rgba(242,237,227,0.2); }

.gate-card-desc {
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--cream-dim);
  margin-bottom: 40px;
  flex: 1;
}

.gate-card-uses {
  margin-bottom: 36px;
  flex: 1;
}

.gate-card-uses li {
  font-family: var(--ff-body);
  font-size: 16px;
  color: var(--cream-dim);
  line-height: 1.6;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.gate-card-uses li:last-child { border-bottom: none; }

.gate-card-uses li::before {
  content: '—';
  flex-shrink: 0;
}

.gate-card-legal .gate-card-uses li::before  { color: var(--crimson); }
.gate-card-general .gate-card-uses li::before { color: var(--muted); }

.btn-gate-primary {
  display: inline-block;
  align-self: flex-start;
  background: var(--crimson);
  color: var(--cream);
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 18px 40px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-gate-primary:hover {
  background: var(--crimson-hot);
}

.btn-gate-secondary {
  display: inline-block;
  align-self: flex-start;
  background: transparent;
  color: var(--cream-dim);
  font-family: var(--ff-heading);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 18px 40px;
  border: 1px solid rgba(242,237,227,0.2);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.btn-gate-secondary:hover {
  color: var(--cream);
  border-color: rgba(242,237,227,0.5);
}


/* ── Form section (animated reveal) ── */
#formSection {
  background: var(--bg-alt);
  padding: clamp(80px,11vw,148px) clamp(20px,5vw,72px);
  display: none;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

#formSection.active {
  display: block;
}

#formSection.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(48px, 7vw, 112px);
  max-width: 1200px;
}


/* ── Contact info sidebar ── */
.contact-info-label {
  font-family: var(--ff-heading);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--crimson);
  display: block;
  margin-bottom: 20px;
}

.contact-info-title {
  font-family: var(--ff-display);
  font-size: clamp(40px,5vw,68px);
  color: var(--cream);
  line-height: 0.92;
  margin-bottom: 24px;
}

.contact-info-rule {
  height: 3px;
  background: var(--crimson);
  width: 40px;
  margin-bottom: 32px;
}

.contact-info-body {
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--cream-dim);
  margin-bottom: 40px;
}

.contact-direct {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  margin-top: 8px;
}

.contact-direct-label {
  font-family: var(--ff-heading);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}

.contact-direct a {
  font-family: var(--ff-body);
  font-size: 17px;
  color: var(--cream-dim);
  transition: color 0.2s;
}

.contact-direct a:hover { color: var(--crimson); }


/* ── Form styles ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-family: var(--ff-heading);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--cream);
  font-family: var(--ff-body);
  font-size: 17px;
  padding: 14px 18px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(196,26,26,0.5);
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236A6460' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-field textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.6;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-submit {
  background: var(--crimson);
  color: var(--cream);
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 18px 48px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover {
  background: var(--crimson-hot);
}

.form-disclaimer {
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 300px;
}

.form-result {
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.6;
  padding: 20px 24px;
  display: none;
}

.form-result.success {
  display: block;
  background: rgba(196,26,26,0.08);
  border-left: 3px solid var(--crimson);
  color: var(--cream-dim);
}

.form-result.error {
  display: block;
  background: rgba(180,60,60,0.08);
  border-left: 3px solid #c44;
  color: var(--cream-dim);
}


/* ============================================================
   19. LEGAL / DISCLAIMER CONTENT
============================================================ */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 120px) clamp(20px, 5vw, 72px);
}

.legal-section {
  padding-bottom: clamp(44px, 6vw, 72px);
  margin-bottom: clamp(44px, 6vw, 72px);
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-label {
  display: block;
  font-family: var(--ff-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 20px;
  border-left: 2px solid var(--crimson);
  padding-left: 12px;
}

.legal-body {
  font-family: var(--ff-body);
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.8;
  color: var(--cream-dim);
}


/* ============================================================
   19b. GENERIC PAGE CONTENT (page.php fallback)
============================================================ */
.page-content {
  background: var(--bg);
}

.content-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.content-wrap p {
  font-family: var(--ff-body);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.8;
  color: var(--cream-dim);
  margin-bottom: 1.4em;
}

.content-wrap h2,
.content-wrap h3,
.content-wrap h4 {
  color: var(--cream);
  margin-top: 2em;
  margin-bottom: 0.6em;
}

.content-wrap h2 {
  font-size: clamp(22px, 2.5vw, 32px);
}

.content-wrap h3 {
  font-size: clamp(18px, 1.8vw, 24px);
}

.content-wrap a {
  color: var(--crimson);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.content-wrap a:hover {
  color: var(--crimson-hot);
}

.content-wrap ul,
.content-wrap ol {
  font-family: var(--ff-body);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.8;
  color: var(--cream-dim);
  margin-bottom: 1.4em;
  padding-left: 1.5em;
}

.content-wrap ul {
  list-style: disc;
}

.content-wrap ol {
  list-style: decimal;
}

.content-wrap li {
  margin-bottom: 0.4em;
}

.content-wrap blockquote {
  border-left: 3px solid var(--crimson);
  padding-left: 24px;
  margin: 1.4em 0;
  font-style: italic;
  color: var(--cream);
}


/* ============================================================
   20. QUOTE BLOCK (REMOVAL DEFENSE / SERVICE PAGES)
============================================================ */
.quote-section {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.quote-block {
  max-width: 860px;
  margin: 0 auto;
  border-left: 4px solid var(--crimson);
  padding-left: clamp(28px, 4vw, 56px);
}

.quote-block blockquote {
  font-family: var(--ff-body);
  font-size: clamp(22px, 3vw, 38px);
  font-style: italic;
  line-height: 1.5;
  color: var(--cream);
  margin-bottom: 24px;
}

.quote-block cite {
  font-family: var(--ff-heading);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted);
  font-style: normal;
}


/* ── Section background modifiers for service pages ── */
.approach-section {
  background: var(--bg);
}

.why-section {
  background: var(--bg-alt);
}


/* ============================================================
   21. CTA SECTION
============================================================ */
.cta-section {
  text-align: center;
  background: var(--crimson);
  padding: clamp(80px, 13vw, 180px) clamp(20px, 5vw, 72px);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(0,0,0,0.04) 40px,
    rgba(0,0,0,0.04) 41px
  );
  pointer-events: none;
}

.cta-title {
  font-family: var(--ff-display);
  font-size: clamp(72px, 13vw, 172px);
  text-transform: uppercase;
  color: var(--cream);
  line-height: 0.88;
  margin-bottom: 36px;
  position: relative;
}

.cta-body {
  font-family: var(--ff-body);
  font-size: clamp(17px, 1.7vw, 22px);
  color: rgba(242, 237, 227, 0.72);
  line-height: 1.6;
  max-width: 460px;
  margin: 0 auto 52px;
  position: relative;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}


/* ============================================================
   22. FOOTER
============================================================ */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 52px clamp(20px, 5vw, 72px) 40px;
}

.site-footer--alt {
  background: var(--bg-alt);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.5;
}

.footer-brand span {
  display: block;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--muted);
  margin-top: 4px;
}

.footer-nav {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  flex-wrap: wrap;
}

.footer-nav a {
  font-family: var(--ff-heading);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--cream);
}

.footer-nav a.active { color: var(--cream); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-email a {
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--cream-dim);
  transition: color 0.2s;
}

.footer-email a:hover {
  color: var(--crimson);
}

.footer-copy {
  font-family: var(--ff-body);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.footer-copy a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.footer-copy a:hover {
  color: var(--cream-dim);
}


/* ============================================================
   23. WORDPRESS UTILITY CLASSES
============================================================ */

/* ── Accessibility ── */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* ── Alignment ── */
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1em;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1em;
}

/* ── Captions ── */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--muted);
  margin-top: 0.5em;
}

/* ── Gallery ── */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5em;
}

.gallery-item {
  flex: 1 0 calc(33.333% - 8px);
}

.gallery-item img {
  width: 100%;
  height: auto;
}

.gallery-caption {
  font-family: var(--ff-body);
  font-size: 13px;
  color: var(--muted);
}

/* ── Sticky posts ── */
.sticky {
  border-left: 4px solid var(--crimson);
}


/* ============================================================
   24. KEYFRAME ANIMATIONS
============================================================ */
@keyframes lineReveal {
  to { transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes barExpand {
  to { width: 100%; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); transform-origin: top; }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}


/* ============================================================
   25. RESPONSIVE – 960px
============================================================ */
@media (max-width: 960px) {
  .practice-grid {
    grid-template-columns: 1fr;
  }

  .mission-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .founding-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

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

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

  .attorney-full,
  .attorney-full.flip {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .attorney-full-photo-col {
    position: static;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .attorney-full.flip .attorney-full-photo-col {
    order: 0;
  }

  .attorney-full.flip .attorney-full-body {
    order: 0;
  }

  .attorney-full::after {
    font-size: clamp(150px, 25vw, 300px);
  }
}


/* ============================================================
   26. RESPONSIVE – 900px
============================================================ */
@media (max-width: 900px) {
  .gate-grid {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   27. RESPONSIVE – 768px
============================================================ */
@media (max-width: 768px) {
  /* ── Navigation mobile ── */
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    z-index: 199;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 16px;
    letter-spacing: 0.18em;
  }

  .nav-links .nav-cta {
    padding: 14px 32px !important;
  }

  /* Mobile dropdown */
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: all;
    backdrop-filter: none;
    background: transparent;
    border: none;
    min-width: 0;
    display: none;
  }

  .nav-dropdown:hover .dropdown-menu, .nav-dropdown.open .dropdown-menu {
    display: block;
    transform: none;
  }

  .dropdown-menu li a {
    font-size: 13px !important;
    padding: 10px 0;
    border-bottom: none;
    color: var(--muted) !important;
    letter-spacing: 0.14em;
  }

  .nav-toggle {
    display: flex;
  }

  /* ── Hero adjustments ── */
  .hero-scroll {
    display: none;
  }

  /* ── Footer stacking ── */
  .footer-top {
    flex-direction: column;
    gap: 28px;
  }

  /* ── Media strip stacks ── */
  .media-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .strip-divider { display: none; }

  /* ── Cases grid ── */
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    gap: 8px;
  }

  .filter-btn {
    font-size: 10px;
    padding: 7px 14px;
  }

  /* ── Case template ── */
  .case-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ── Timeline mobile (tap-to-toggle, no hover) ── */
  .timeline {
    padding-left: 28px;
  }

  .timeline-node {
    left: -34px;
  }

  .timeline-entry:hover .timeline-detail {
    max-height: 0;
    opacity: 0;
  }

  .timeline-entry.open .timeline-detail {
    max-height: 300px;
    opacity: 1;
  }

  .timeline-entry {
    cursor: pointer;
  }

  /* ── Testimonial stripes ── */
  .testimonial-stripe {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: clamp(40px, 8vw, 64px) clamp(20px, 5vw, 40px);
  }

  .stripe-num {
    font-size: 48px;
    opacity: 0.18;
    margin-bottom: 12px;
  }

  .stripe-quote::before {
    font-size: 80px;
    top: -4px;
    left: -8px;
  }

  /* ── Form rows ── */
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-submit {
    flex-direction: column;
    align-items: flex-start;
  }

  /* ── Attorney full-page ── */
  .attorney-full-body {
    padding: clamp(48px, 8vw, 72px) clamp(20px, 5vw, 40px);
  }
}


/* ============================================================
   28. RESPONSIVE – 580px
============================================================ */
@media (max-width: 580px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .press-grid {
    grid-template-columns: 1fr;
  }

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

  .legal-content {
    padding-left: 20px;
    padding-right: 20px;
  }
}


/* ============================================================
   29. RESPONSIVE – 480px
============================================================ */
@media (max-width: 480px) {
  .case-overview-grid {
    grid-template-columns: 1fr;
  }
}
