/* ===================================================================
   BAWQLAW.com — Homepage CSS Bundle
   Generated from styles/main/*.css by scripts/build-main-css.js
   =================================================================== */
/* ===================================================================
   BAWQLAW.com — Premium Legal Design System
   =================================================================== */

/* --- Design Tokens --- */
:root {
  --bg: #12100d;
  --bg-elev: #1c1712;
  --panel: rgba(29, 24, 19, 0.9);
  --glass: rgba(38, 32, 26, 0.74);
  --text: #f2ede5;
  --text-muted: #c8bbab;
  --border: rgba(201, 182, 154, 0.2);
  --shadow-1: 0 14px 32px rgba(0, 0, 0, 0.24);
  --shadow-2: 0 20px 40px rgba(0, 0, 0, 0.3);
  --accent: #d4a85e;
  --accent-2: #8f6f44;
  --focus: rgba(212, 168, 94, 0.34);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  top: -120%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 0;
}

/* --- Utility: Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ===================================================================
   STICKY NAVIGATION
   =================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}

.site-nav.is-scrolled {
  background: var(--bg-elev);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-1);
  padding: 0.6rem 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  transition: height 0.3s ease, opacity 0.4s ease;
  opacity: 0;
}

.site-nav.is-scrolled .nav-logo-img {
  height: 36px;
  opacity: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex: 0 1 auto;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  position: relative;
  transition: color 0.3s ease;
}

.site-nav.is-scrolled .nav-links {
  gap: 1.2rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-links a.is-active {
  color: var(--accent);
}

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

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

/* Hamburger */
.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: all 0.3s ease;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===================================================================
   HERO SECTION — preserved layout, enhanced polish
   =================================================================== */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transition: transform 0.1s linear;
}

/* Gradient overlay for text contrast */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, var(--bg-elev) 0%, transparent 30%, transparent 60%, var(--bg) 100%);
  pointer-events: none;
}

.content {
  position: absolute;
  top: 156px;
  left: 2rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.65rem;
  width: 90%;
  max-width: 600px;
}

.category-nav {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
}

.hero-brand {
  width: min(100%, 27rem);
  margin-bottom: 0.25rem;
  transform-origin: left center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: none;
}

.hero-brand.is-hidden {
  opacity: 0;
  transform: translateY(-0.75rem);
  pointer-events: none;
}

.hero-text {
  text-align: left;
  color: var(--text);
  max-width: 450px;
}

.hero-text h1 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  text-shadow: none;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0;
  text-shadow: none;
  color: var(--text-muted);
  font-weight: 300;
}

.actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
}

.scroll-indicator svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
}

@media (max-width: 768px) {
  .site-nav .nav-links {
    justify-content: flex-start;
    align-items: stretch;
    max-height: 100vh;
    max-height: 100svh;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    gap: 0.85rem;
    padding: 4.35rem 1.35rem 1rem;
    padding: 4.35rem 1.35rem calc(1rem + env(safe-area-inset-bottom));
  }

  .site-nav .nav-links li {
    width: 100%;
  }

  .site-nav .nav-links a {
    width: 100%;
    min-height: 44px;
    padding: 0.62rem 0.5rem;
  }

}

/* ===================================================================
   BUTTONS — enhanced glassmorphism
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-elev);
  box-shadow: var(--shadow-1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: var(--accent);
  background: var(--bg-elev);
  color: var(--text);
}

.btn-category {
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  line-height: 1.15;
  min-height: 2.2rem;
  white-space: nowrap;
}

.btn-category:hover {
  border-color: var(--accent);
  color: var(--text);
}

.btn-primary {
  border-color: var(--border);
  background: var(--bg-elev);
  color: var(--text);
  box-shadow: var(--shadow-1);
  font-weight: 700;
  border-radius: 999px;
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--bg-elev);
  box-shadow: var(--shadow-2);
  border-color: var(--accent);
  color: var(--text);
}

.btn-secondary {
  background: var(--bg-elev);
  border-color: var(--border);
  box-shadow: var(--shadow-1);
  border-radius: 999px;
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-2);
  color: var(--text);
}

/* ===================================================================
   SECTION SHARED STYLES
   =================================================================== */
.section {
  padding: 6rem 2rem;
  position: relative;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.interactive-surface {
  --pointer-x: 50%;
  --pointer-y: 50%;
}

.interactive-surface::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--glass);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.interactive-surface:hover::after,
.interactive-surface:focus-visible::after {
  opacity: 1;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.2rem;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
  font-weight: 300;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 1.5rem 0 0 0;
  border: none;
}

.section-heading--center {
  text-align: center;
}

.section-heading--center .section-subtitle {
  margin: 0 auto;
}

.section-heading--center .section-divider {
  margin: 1.5rem auto 0;
}

/* ===================================================================
   PRACTICE AREAS
   =================================================================== */
.section--practice {
  background: var(--bg);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.practice-card {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(46, 37, 27, 0.92) 0%, rgba(23, 19, 14, 0.98) 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.practice-card > * {
  position: relative;
  z-index: 1;
}

.practice-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(212, 168, 94, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 45%);
  pointer-events: none;
  opacity: 0.95;
}

.practice-card .practice-body {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.practice-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: var(--glass);
  border-radius: 12px;
  margin-bottom: 0.1rem;
}

.practice-icon svg {
  width: 20px;
  height: 20px;
}

.practice-card h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.2;
}

.practice-card-summary {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.practice-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-top: auto;
}

.practice-card-cta {
  min-height: 44px;
  padding: 0.78rem 1rem;
  font-size: 0.92rem;
}

.practice-card .learn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.7rem 0.85rem;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: gap 0.3s ease, transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.practice-card:hover .learn-more {
  gap: 0.75rem;
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.04);
}

/* ===================================================================
   WHY CHOOSE US
   =================================================================== */
.section--why {
  background: var(--bg-elev);
}

.trust-sources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.trust-source {
  display: block;
  padding: 1.1rem 1.2rem;
  text-decoration: none;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.trust-source:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
}

.trust-source-platform {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.trust-source strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text);
  font-size: 1.35rem;
}

.trust-source p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ===================================================================
   ATTORNEY SPOTLIGHT
   =================================================================== */
.section--attorneys {
  background: var(--bg);
}

.attorney-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.attorney-card {
  display: block;
  padding: 0;
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.attorney-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.attorney-photo {
  position: relative;
  display: grid;
  place-items: end start;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 1.5rem;
  overflow: hidden;
  background: var(--bg-elev);
}

.attorney-photo::before {
  content: "";
  position: absolute;
  inset: 16px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.attorney-photo-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.03) contrast(1.02) brightness(0.92);
}

.attorney-photo--marcus {
  background: #231b15;
}

.attorney-photo--teal {
  background: #2a2118;
}

.attorney-photo--violet {
  background: #33271d;
}

.attorney-info {
  padding: 1.6rem;
}

.attorney-info h3 {
  margin-bottom: 0.25rem;
  color: var(--text);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.375rem;
  font-weight: 600;
}

.attorney-title {
  margin-bottom: 0.8rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.attorney-info p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.attorney-links {
  margin-top: 1.35rem;
}

.attorney-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.attorney-contact:hover {
  gap: 0.6rem;
}

/* ===================================================================
   REPRESENTATIVE MATTERS
   =================================================================== */
.section--matters {
  background: var(--bg-elev);
}

.matters-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.matter-card {
  padding: 1.7rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-1);
}

.matter-card h3 {
  margin-bottom: 0.7rem;
  color: var(--text);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.375rem;
  font-weight: 600;
}

.matter-card p {
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.matter-outcome {
  margin-bottom: 0;
}

/* ===================================================================
   CONTACT / CTA SECTION
   =================================================================== */
.section--contact {
  background: var(--bg-elev);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}

#contact .contact-grid > * {
  min-width: 0;
}

.contact-info > h3 {
  margin-bottom: 1rem;
  color: var(--text);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 600;
}

.contact-info > p {
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.contact-process-heading {
  margin-bottom: 0.45rem;
  color: var(--text);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 600;
}

.contact-process-copy {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.contact-process-copy--compact {
  margin: 0 0 0.9rem;
}

.contact-stepper {
  display: grid;
  gap: 0.85rem;
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}

.contact-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.95rem 1rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.contact-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: var(--bg);
  font-size: 0.95rem;
  font-weight: 700;
  background: var(--accent);
  border-radius: 999px;
}

.contact-step-copy strong {
  display: block;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.35;
}

.contact-step-copy p {
  margin: 0.22rem 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  color: var(--text);
  text-decoration: none;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

#contact .contact-detail > span:last-child {
  min-width: 0;
  flex: 1 1 auto;
}

a.contact-detail:hover {
  color: var(--accent);
  transform: translateX(2px);
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  background: var(--glass);
  border-radius: 12px;
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
}

.contact-form {
  padding: 2.5rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-1);
}

.contact-form h3 {
  margin-bottom: 0.8rem;
  color: var(--text);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.375rem;
  font-weight: 600;
}

.form-badge {
  margin-bottom: 0.8rem;
  padding: 0.85rem 1rem;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.6;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.form-channel-note {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.form-group {
  margin-bottom: 1.2rem;
}

.hp-field-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hp-field {
  padding: 0;
  margin: 0;
  border: 0;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  box-shadow: 0 0 0 3px var(--focus);
}

.form-textarea {
  min-height: 120px;
}

.form-select {
  appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239aa3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

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

.btn-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1rem;
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-1);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: var(--accent);
}

.form-helper,
.form-status {
  margin-top: 0.9rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.form-helper a {
  color: var(--accent);
  text-decoration: none;
}

.form-status {
  min-height: 1.3em;
}

.compliance-notice {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.compliance-notice h4 {
  margin: 0 0 0.55rem;
  color: var(--text);
  font-size: 0.84rem;
  letter-spacing: 0.03em;
}

.compliance-notice p {
  margin: 0.4rem 0 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  padding: 4rem 2rem 2rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  width: auto;
  height: 50px;
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 300px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  margin-bottom: 1.2rem;
  color: var(--text);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 600;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--accent);
}

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

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-compliance {
  flex: 1 1 560px;
  display: grid;
  gap: 0.45rem;
}

.footer-compliance p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.9rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  color: var(--accent);
}

.sticky-action-bar {
  display: none;
}

/* ===================================================================
   WALNUT SHEEN
   =================================================================== */
.practice-card,
.trust-source,
.attorney-card,
.matter-card,
.contact-detail,
.contact-form,
.compliance-notice,
.footer-social a {
  background-image: linear-gradient(
    180deg,
    rgba(242, 237, 229, 0.14) 0%,
    rgba(242, 237, 229, 0.04) 20%,
    rgba(0, 0, 0, 0.16) 100%
  );
  background-blend-mode: soft-light;
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1180px) {
  .site-nav {
    padding: 0.9rem 1.4rem;
  }

  .site-nav.is-scrolled {
    padding: 0.58rem 1.4rem;
  }

  .nav-links {
    gap: 1rem;
  }
}

@media (max-width: 1024px) {
  .nav-links {
    gap: 0.85rem;
  }

  .nav-links a {
    font-size: 0.88rem;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 1.25rem;
  }

  .btn-category {
    min-height: 2.75rem;
    padding: 0.62rem 0.9rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(360px, 100vw);
    height: 100vh;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0.85rem;
    padding: 4.35rem 1.35rem 1rem;
    padding: 4.35rem 1.35rem calc(1rem + env(safe-area-inset-bottom));
    background: var(--bg-elev);
    border-left: 1px solid var(--border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    max-height: 100vh;
    max-height: 100svh;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      right 0.4s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.2s ease,
      visibility 0s linear 0.4s;
  }

  .nav-links.is-open {
    right: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      right 0.4s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.2s ease,
      visibility 0s linear 0s;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 0.62rem 0.5rem;
    line-height: 1.25;
  }

  .nav-links a::after {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .trust-sources,
  .attorney-grid,
  .matters-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-top: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-col ul {
    gap: 0.25rem;
  }

  .footer-col a {
    display: inline-flex;
    align-items: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0.2rem 0;
  }

  .footer-social a {
    min-width: 44px;
    min-height: 44px;
  }

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

  .sticky-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
    gap: 0.65rem;
    padding: 0.75rem 1rem 0.75rem;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(18, 16, 13, 0.96);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0s linear 0.35s;
  }

  .sticky-action-bar.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0s linear 0s;
  }

  .sticky-action-bar.is-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    pointer-events: none;
  }

  .sticky-action-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.82rem 0.95rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
  }

  .sticky-action-bar__primary {
    color: var(--bg);
    background: var(--accent);
    border: 1px solid transparent;
    box-shadow: var(--shadow-1);
  }

  .sticky-action-bar__secondary {
    color: var(--text);
    background: var(--bg-elev);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-1);
  }

  .site-footer {
    padding-bottom: 6.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 3.2rem 1rem;
  }

  .practice-grid,
  .attorney-grid,
  .matters-grid {
    margin-top: 2.4rem;
    gap: 1.25rem;
  }

  .trust-sources,
  .contact-details {
    gap: 1rem;
  }

  .matter-card,
  .contact-detail,
  .contact-form {
    padding: 1.15rem;
  }

  .attorney-info {
    padding: 1.3rem;
  }

  .hero {
    height: clamp(560px, 92vh, 760px);
    height: clamp(560px, 92svh, 760px);
    min-height: 560px;
  }

  .content {
    top: 104px;
    left: 1rem;
    gap: 0.7rem;
    width: calc(100% - 2rem);
  }

  .hero-brand {
    width: min(100%, 16.5rem);
    margin-bottom: 0;
  }

  .category-nav {
    width: 100%;
    gap: 0.4rem;
  }

  .btn-category {
    min-height: 2.75rem;
    padding: 0.56rem 0.8rem;
    font-size: 0.88rem;
  }

  .hero-text h1 {
    max-width: 16.5ch;
    margin-bottom: 0.45rem;
    font-size: clamp(1.58rem, 1.36rem + 1.2vw, 1.82rem);
    line-height: 1.16;
    letter-spacing: -0.01em;
  }

  .hero-text p {
    max-width: 44ch;
    font-size: clamp(0.95rem, 0.88rem + 0.45vw, 1.03rem);
    line-height: 1.52;
    letter-spacing: 0.002em;
  }

  .section.section--practice .section-title,
  .section.section--why .section-title,
  .section.section--attorneys .section-title,
  .section.section--matters .section-title,
  .section.section--contact .section-title {
    font-size: clamp(1.5rem, 1.28rem + 1.3vw, 1.76rem);
    line-height: 1.2;
    letter-spacing: 0.005em;
  }

  .section.section--attorneys .attorney-info h3,
  .section.section--matters .matter-card h3 {
    font-size: clamp(1.02rem, 0.94rem + 0.45vw, 1.16rem);
    line-height: 1.32;
    letter-spacing: 0.003em;
  }

  .actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: auto;
    min-height: 44px;
    padding: 0.82rem 1.05rem;
    font-size: 0.96rem;
  }

  .practice-card .practice-body {
    gap: 0.72rem;
    padding: 1rem;
  }

  .practice-card h3 {
    font-size: 1.32rem;
  }

  .practice-card-summary {
    font-size: 0.9rem;
    line-height: 1.58;
  }

  .practice-card-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .practice-card-cta,
  .practice-card .learn-more {
    width: 100%;
  }

  .attorney-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    align-items: stretch;
  }

  .attorney-photo {
    aspect-ratio: auto;
    min-height: 100%;
    padding: 0;
  }

  .attorney-photo::before {
    display: none;
  }

  .attorney-info {
    padding: 1rem 1rem 1rem 0.95rem;
  }

  .contact-stepper {
    gap: 0.7rem;
    margin-bottom: 1rem;
  }

  .contact-step {
    padding: 0.8rem 0.9rem;
  }

  .contact-process-copy {
    margin-bottom: 0.9rem;
  }
}

@media (max-width: 480px) {
  .practice-grid {
    grid-template-columns: 1fr;
  }

  .category-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(320px, 100%);
    gap: 0.5rem;
  }

  .scroll-indicator {
    display: none;
  }

  .site-nav {
    padding: 0.8rem 1rem;
  }

  .btn-category {
    width: 100%;
    font-size: 0.84rem;
    letter-spacing: 0;
  }

  .nav-links {
    width: 100vw;
    border-left: none;
  }

  .sticky-action-bar {
    grid-template-columns: 1fr 1fr;
    padding-inline: 0.8rem;
  }

  .sticky-action-bar a {
    font-size: 0.84rem;
    padding-inline: 0.72rem;
  }
}

/* --- Focus / Accessibility --- */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn:focus-visible {
  box-shadow: 0 0 0 3px var(--focus);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
    transition-delay: 0ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .nav-links,
  .nav-links.is-open,
  .hamburger,
  .hamburger span,
  .nav-logo-img,
  .hero-brand,
  .hero-bg,
  .sticky-action-bar,
  .sticky-action-bar a {
    transition: none !important;
  }
}

@media (forced-colors: active) {
  .hamburger {
    border: 1px solid ButtonText;
    border-radius: 8px;
    background: Canvas;
  }

  .hamburger span {
    background: ButtonText;
  }

  .nav-links {
    border-left-color: ButtonText;
  }

  .nav-links a {
    color: ButtonText;
    background: Canvas;
    border: 1px solid ButtonText;
    border-radius: 10px;
    forced-color-adjust: auto;
  }

  .sticky-action-bar {
    border-top-color: ButtonText;
    background: Canvas;
  }

  .sticky-action-bar a {
    border: 1px solid ButtonText;
    background: Canvas;
    color: ButtonText;
    forced-color-adjust: auto;
  }
}
