/* ============================================================
   Wilcox Dunakin Chrisopoulos LLP — Global Styles
   Palette: navy #2C5D87 / silver #A8A9AC / white
   A distinct design system — asymmetric layouts, ring motif,
   accordion practice list, magazine-style founder spreads.
   ============================================================ */

:root {
  --navy:        #2C5D87;
  --navy-deep:   #17324a;
  --navy-soft:   #4a80ac;
  --navy-pale:   #eef3f7;
  --silver:      #A8A9AC;
  --silver-soft: #d3d4d6;
  --silver-deep: #7d7e81;
  --ink:         #16232e;
  --muted:       #5b6572;
  --line:        #e4e6e8;
  --white:       #ffffff;
  --off:         #f7f8f8;

  --serif: "Fraunces", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --shadow-sm: 0 2px 10px rgba(23,50,74,.07);
  --shadow-md: 0 16px 44px rgba(23,50,74,.13);
  --shadow-lg: 0 34px 90px rgba(23,50,74,.2);

  --ease: cubic-bezier(.22,.61,.36,1);
  --maxw: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.05; color: var(--navy-deep); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--maxw), 92vw); margin-inline: auto; }

.eyebrow {
  font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .24em;
  text-transform: uppercase; color: var(--navy);
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow .num { color: var(--silver-deep); font-weight: 700; }
.eyebrow.on-dark { color: var(--silver-soft); }

.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--sans); font-weight: 600; font-size: .92rem; letter-spacing: .02em;
  padding: .95em 1.8em; border-radius: 2px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.btn svg { width: 17px; height: 17px; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-line:hover { background: rgba(255,255,255,.08); border-color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn:disabled { opacity: .55; cursor: default; transform: none !important; }

/* ============================================================
   NAV — thin, minimal, no dropdowns
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem clamp(1.2rem, 4vw, 3.2rem);
  background: #fff;
  box-shadow: 0 1px 0 rgba(23,50,74,.06);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.nav.scrolled {
  background: var(--navy-deep);
  box-shadow: 0 1px 0 rgba(0,0,0,.1), 0 10px 30px rgba(23,50,74,.2);
  padding-top: .9rem; padding-bottom: .9rem;
}
.nav-logo img { height: 44px; width: auto; filter: none; transition: filter .4s var(--ease); }
.nav.scrolled .nav-logo img { filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; gap: clamp(1.4rem, 2.8vw, 2.6rem); }
.nav-links a.link {
  position: relative; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy-deep); transition: color .3s var(--ease);
}
.nav.scrolled .nav-links a.link { color: rgba(255,255,255,.9); }
.nav-links a.link .n { color: var(--silver-deep); margin-right: .5em; font-weight: 400; }
.nav.scrolled .nav-links a.link .n { color: var(--silver-soft); }
.nav-links a.link:hover { color: var(--navy); }
.nav.scrolled .nav-links a.link:hover { color: var(--silver-soft); }
.nav-cta { padding: .55em 1.3em; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; border-radius: 2px; }
.nav.scrolled .nav-cta.btn-navy { background: #fff; color: var(--navy-deep); }
.nav.scrolled .nav-cta.btn-navy:hover { background: var(--navy-pale); }
.nav-toggle { display: none; }
.mobile-menu { display: none; }

/* ============================================================
   HERO — full-bleed coastline photo, navy motto over a light scrim
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  background: url("/wdc-law/hero.png") center 60% / cover no-repeat;
}
.hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
  opacity: 0; transition: opacity 1.1s var(--ease);
  pointer-events: none;
}
.hero-video.loaded { opacity: 1; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.86) 32%, rgba(255,255,255,.42) 58%, rgba(255,255,255,.12) 78%, rgba(255,255,255,0) 100%),
    linear-gradient(to top, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 30%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  padding: 9rem clamp(2rem, 5vw, 5.5rem) 5rem;
  max-width: 760px;
}
.hero-motto .line {
  font-family: var(--serif); font-weight: 600; color: var(--navy-deep);
  font-size: clamp(2.1rem, 4.4vw, 3.7rem); line-height: 1.02; letter-spacing: -.01em;
}
.hero-motto .line.dim { color: var(--navy); }
.hero-sub {
  max-width: 46ch; margin-top: 1.9rem; color: var(--muted); font-size: 1.06rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.4rem; }
.hero-facts {
  display: flex; gap: 2.4rem; margin-top: 3.4rem; padding-top: 2rem;
  border-top: 1px solid rgba(23,50,74,.14);
}
.hero-facts div b { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--navy-deep); }
.hero-facts div span { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 760px) {
  .hero::before {
    background:
      linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.9) 46%, rgba(255,255,255,.5) 72%, rgba(255,255,255,.15) 100%);
  }
  .hero-inner { padding-top: 7rem; }
}

/* ============================================================
   TICKER — auto-scrolling trust strip
   ============================================================ */
.ticker { background: var(--off); border-bottom: 1px solid var(--line); overflow: hidden; padding: 1.15rem 0; }
.ticker-track { display: flex; gap: 3.2rem; width: max-content; animation: ticker 32s linear infinite; }
.ticker-track span { display: flex; align-items: center; gap: .7em; font-size: .82rem; font-weight: 700; letter-spacing: .06em; color: var(--navy-deep); white-space: nowrap; }
.ticker-track span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--navy); flex-shrink: 0; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   FIRM OVERVIEW — pull-quote + stat row
   ============================================================ */
.overview { padding: 7rem 0 6rem; }
.overview-top { display: grid; grid-template-columns: .55fr 1fr; gap: 3.5rem; align-items: start; }
.overview-label h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-top: .7rem; max-width: 12ch; }
.overview-quote {
  font-family: var(--serif); font-weight: 500; font-style: italic;
  font-size: clamp(1.3rem, 2.3vw, 1.7rem); color: var(--navy-deep); line-height: 1.5;
  border-left: 3px solid var(--navy); padding-left: 1.6rem;
}
.overview-main { display: grid; grid-template-columns: 1fr 380px; gap: 3.5rem; align-items: start; margin-top: 2.6rem; }
.overview-body { color: var(--muted); font-size: 1.02rem; line-height: 1.85; max-width: 72ch; }
.overview-body p + p { margin-top: 1.1rem; }

.overview-photo {
  width: 380px; aspect-ratio: 1000 / 663; border-radius: 16px; flex-shrink: 0;
  background: conic-gradient(from 210deg, var(--navy) 0deg, var(--navy-soft) 140deg, var(--silver) 260deg, var(--navy) 360deg);
  padding: 6px;
}
.overview-photo .inner {
  width: 100%; height: 100%; border-radius: 11px; overflow: hidden; background: var(--white);
}
.overview-photo .inner img { width: 100%; height: 100%; object-fit: cover; display: block; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.stat-row div b { display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--navy); }
.stat-row div span { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 900px) {
  .overview-top { grid-template-columns: 1fr; gap: 2rem; }
  .overview-main { grid-template-columns: 1fr; gap: 2rem; }
  .overview-photo { width: 100%; max-width: 380px; margin-inline: auto; }
  .stat-row { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   FOUNDERS — magazine spread, alternating sides
   ============================================================ */
.founders { background: var(--navy-pale); padding: 7rem 0 4rem; }
.founders-head { max-width: 640px; margin-bottom: 3rem; }
.founders-head h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); margin-top: .7rem; }
.founders-head p { color: var(--muted); margin-top: 1rem; font-size: 1.03rem; }

.founder-row {
  display: grid; grid-template-columns: 280px 1fr; gap: 3.2rem; align-items: center;
  padding: 3rem 0; border-bottom: 1px solid rgba(23,50,74,.1);
}
.founder-row:first-of-type { padding-top: 0; }
.founder-row:last-of-type { border-bottom: none; padding-bottom: 0; }
.founder-row.rev { grid-template-columns: 1fr 280px; }
.founder-row.rev .founder-ring { order: 2; }
.founder-ring {
  width: 220px; height: 220px; border-radius: 50%; margin-inline: auto;
  display: grid; place-items: center; position: relative;
  background: conic-gradient(from 210deg, var(--navy) 0deg, var(--navy-soft) 140deg, var(--silver) 260deg, var(--navy) 360deg);
  padding: 6px;
}
.founder-ring .inner {
  width: 100%; height: 100%; border-radius: 50%; background: var(--white);
  display: grid; place-items: center; overflow: hidden;
}
.founder-ring .inner img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.founder-ring span {
  font-family: var(--serif); font-size: 3.2rem; font-weight: 700; color: var(--navy-deep);
}
.founder-index { font-size: .72rem; font-weight: 700; letter-spacing: .2em; color: var(--silver-deep); }
.founder-copy .role { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); }
.founder-copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: .4rem 0 .9rem; }
.founder-copy p { color: var(--muted); font-size: .96rem; line-height: 1.75; margin-bottom: .9rem; }
.founder-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; }
.founder-tags span {
  font-size: .68rem; font-weight: 600; color: var(--navy-deep); background: #fff;
  border: 1px solid var(--line); padding: .34em .8em; border-radius: 999px;
}

@media (max-width: 860px) {
  .founder-row, .founder-row.rev { grid-template-columns: 1fr; text-align: center; }
  .founder-row.rev .founder-ring { order: 0; }
  .founder-tags { justify-content: center; }
}

/* ============================================================
   PRACTICE AREAS — accordion list
   ============================================================ */
.practice { padding: 7rem 0; }
.practice-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: start; }
.practice-aside h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-top: .7rem; }
.practice-aside p { color: var(--muted); margin-top: 1.1rem; font-size: 1.02rem; line-height: 1.8; }
.practice-aside .coming-soon-tag { margin-top: 1.6rem; }
.practice-map { width: 100%; max-width: 240px; height: auto; margin: 2.6rem auto 0; opacity: .92; }

.accordion-list { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.7rem 0; background: none; border: none; cursor: pointer; text-align: left;
}
.acc-q .num { font-family: var(--serif); font-size: 1.1rem; color: var(--silver-deep); flex-shrink: 0; width: 2.4rem; }
.acc-q h3 { font-size: 1.28rem; flex: 1; color: var(--navy-deep); font-weight: 600; }
.acc-q .chev { width: 18px; height: 18px; color: var(--navy); flex-shrink: 0; transition: transform .35s var(--ease); }
.acc-item.open .acc-q .chev { transform: rotate(45deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-a-inner { padding: 0 0 1.9rem 3.4rem; color: var(--muted); font-size: .96rem; line-height: 1.75; max-width: 60ch; }
.acc-view-more {
  display: inline-flex; align-items: center; gap: .35em; white-space: nowrap;
  font-weight: 700; color: var(--navy); margin-left: .3em;
}
.acc-view-more svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.acc-view-more:hover svg { transform: translateX(3px); }

/* ============================================================
   CLIENT SUCCESS — diagonal navy band, offset stats
   ============================================================ */
.success {
  position: relative; background: var(--navy-deep); color: #eef2f6;
  padding: 8rem 0 7rem;
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  margin: 2rem 0;
}
.success-head { max-width: 640px; margin-bottom: 4rem; }
.success-head h2 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.1rem); margin-top: .7rem; }
.success-head p { color: rgba(238,242,246,.75); margin-top: 1rem; font-size: 1.03rem; }

.success-zigzag { display: flex; flex-wrap: wrap; gap: 2rem; }
.success-item { flex: 1 1 220px; }
.success-item:nth-child(2) { margin-top: 2.2rem; }
.success-item:nth-child(4) { margin-top: 2.2rem; }
.success-item b { display: block; font-family: var(--serif); font-size: 2.8rem; color: var(--silver-soft); }
.success-item span { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(238,242,246,.65); }
.success-item p { margin-top: .6rem; color: rgba(238,242,246,.7); font-size: .92rem; max-width: 26ch; }


.coming-soon-tag {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); background: var(--navy-pale); padding: .42em 1.1em; border-radius: 999px;
}
.success .coming-soon-tag { background: rgba(255,255,255,.1); color: #fff; }

@media (max-width: 760px) {
  .success-item:nth-child(2), .success-item:nth-child(4) { margin-top: 0; }
  .success { clip-path: none; }
}

/* ============================================================
   CONTACT — overlapping card
   ============================================================ */
.contact { position: relative; padding: 2rem 0 7rem; }
.contact-band {
  background: var(--navy-deep); border-radius: 18px;
  padding: clamp(2.4rem, 5vw, 4.5rem); display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.5rem;
  box-shadow: var(--shadow-lg);
}
.contact-copy .eyebrow { color: var(--silver-soft); }
.contact-copy h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.8rem); margin-top: .7rem; }
.contact-copy p { color: rgba(255,255,255,.7); margin-top: 1.1rem; font-size: 1rem; line-height: 1.8; }
.contact-info { margin-top: 2.2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.contact-info .row { display: flex; align-items: center; gap: .9rem; }
.contact-info svg { width: 19px; height: 19px; color: var(--silver-soft); flex-shrink: 0; }
.contact-info .row span.label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.contact-info .row b { color: #fff; font-weight: 600; }

.contact-form {
  background: #fff; border-radius: 12px; padding: 2.4rem; box-shadow: var(--shadow-md);
}
.contact-form h3 { font-size: 1.45rem; }
.contact-form .sub { color: var(--muted); font-size: .9rem; margin-top: .4rem; margin-bottom: 1.6rem; }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: .78rem; font-weight: 600; margin-bottom: .5rem; color: var(--navy-deep); }
.field input, .field select, .field textarea {
  width: 100%; padding: .82em 1em; border-radius: 6px; border: 1px solid var(--line);
  font-family: var(--sans); font-size: .94rem; color: var(--ink); background: #fff;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(44,93,135,.14);
}
.field textarea { resize: vertical; min-height: 92px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field.invalid input, .field.invalid textarea { border-color: #c0392b; }
.err { color: #c0392b; font-size: .76rem; margin-top: .4rem; }
.form-success { text-align: center; padding: 1.2rem 0; }
.optional-tag { font-weight: 400; color: var(--muted); text-transform: none; }
.checkbox-label {
  display: flex; align-items: flex-start; gap: .65rem; cursor: pointer;
  font-size: .8rem; line-height: 1.5; color: var(--muted); font-weight: 400;
}
.checkbox-label input[type="checkbox"] {
  width: 17px; height: 17px; margin-top: .18rem; flex-shrink: 0; cursor: pointer;
  accent-color: var(--navy); padding: 0; border: none; background: none; box-shadow: none;
}
.field-consent.invalid .checkbox-label { color: #c0392b; }
.field-consent.invalid .checkbox-label input[type="checkbox"] { outline: 2px solid #c0392b; outline-offset: 2px; }
.form-success .check-big {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 1.1rem;
  background: var(--navy-pale); color: var(--navy); display: grid; place-items: center;
}
.form-success .check-big svg { width: 26px; height: 26px; }
.form-success h3 { font-size: 1.35rem; }
.form-success p { color: var(--muted); margin-top: .5rem; }

@media (max-width: 900px) {
  .contact-band { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-deep); color: rgba(238,242,246,.7); padding: 3.5rem 0 2rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2.5rem; padding-bottom: 2.4rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { max-width: 300px; }
.footer-brand img { height: 34px; margin-bottom: 1.1rem; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .9rem; }
.footer-col h4 { color: #fff; font-family: var(--sans); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a { display: block; font-size: .9rem; padding: .28rem 0; transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--silver-soft); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: .8rem; }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 2px; transition: color .25s var(--ease); }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.show { opacity: 1; transform: none; }

@media (max-width: 640px) {
  .practice-layout { grid-template-columns: 1fr; }
  .acc-a-inner { padding-left: 0; }
}

/* ============================================================
   MOBILE NAV
   ============================================================ */
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: grid; place-items: center;
    position: relative; z-index: 2;
    width: 44px; height: 44px; border-radius: 6px;
    background: rgba(255,255,255,.94); border: none; cursor: pointer;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ""; display: block; width: 20px; height: 2px; background: var(--navy-deep); position: relative;
  }
  .nav-toggle span::before { position: absolute; top: -6px; }
  .nav-toggle span::after { position: absolute; top: 6px; }

  .mobile-menu {
    position: fixed; inset: 0; z-index: 200;
    background: var(--navy-deep);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 1.8rem;
    opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
    overflow-y: auto; padding: 6rem 1.5rem 3rem;
  }
  .mobile-menu.open { opacity: 1; pointer-events: auto; }
  .mobile-menu a { color: #fff; font-family: var(--serif); font-size: 2rem; }
  .mobile-menu .close { position: absolute; top: 1.4rem; right: 1.6rem; font-size: 2rem; color: #fff; background: none; border: none; cursor: pointer; }

  .founder-row, .founder-row.rev { grid-template-columns: 1fr; text-align: center; }
  .founder-row.rev .founder-ring { order: 0; }
  .founder-tags { justify-content: center; }
  .success-zigzag { flex-direction: column; }
  .hero-facts { flex-wrap: wrap; gap: 1.6rem 2rem; }
}

/* ============================================================
   CLIENT SUCCESS PAGE — filterable case archive
   ============================================================ */
.cs-hero {
  position: relative; min-height: 79vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  background: url("/wdc-law/beach.png") center / cover no-repeat;
  color: #fff;
}
.cs-hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  opacity: 0; transition: opacity 1.1s var(--ease);
  pointer-events: none;
}
.cs-hero-video.loaded { opacity: 1; }
.cs-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(23,50,74,.88) 0%, rgba(23,50,74,.68) 38%, rgba(23,50,74,.4) 65%, rgba(23,50,74,.18) 100%),
    linear-gradient(to top, rgba(23,50,74,.5) 0%, rgba(23,50,74,0) 34%);
  pointer-events: none;
}
.cs-hero .wrap { position: relative; z-index: 2; }
.cs-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.8rem); margin-top: .8rem; max-width: 14ch; }
.cs-hero p { color: rgba(255,255,255,.85); max-width: 62ch; margin-top: 1.3rem; font-size: 1.05rem; line-height: 1.75; }
.cs-hero-stats { display: flex; gap: 2.6rem; margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.24); }
.cs-hero-stats div b { display: block; font-family: var(--serif); font-size: 1.9rem; color: #fff; }
.cs-hero-stats div span { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }

.cs-filters {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247,248,248,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding-top: 82px; margin-top: -82px;
}
.cs-filters-inner {
  display: flex; gap: .6rem; overflow-x: auto; padding: 1rem 0;
  scrollbar-width: thin;
}
.cs-filter-btn {
  flex-shrink: 0; padding: .55em 1.1em; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--navy-deep); font-family: var(--sans); font-weight: 600; font-size: .8rem;
  white-space: nowrap; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.cs-filter-btn:hover { border-color: var(--navy); }
.cs-filter-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.cs-filter-count { opacity: .65; font-weight: 500; margin-left: .3em; }

.cs-results { padding: 3.2rem 0 5rem; }
.cs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.cs-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 1.6rem 1.7rem; transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.cs-card:hover { box-shadow: var(--shadow-sm); border-color: var(--navy-soft); }
.cs-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; cursor: pointer; }
.cs-cat {
  display: inline-block; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy); background: var(--navy-pale); padding: .32em .75em; border-radius: 999px; margin-bottom: .7rem;
}
.cs-card h3 { font-size: 1.02rem; line-height: 1.4; font-weight: 600; color: var(--navy-deep); }
.cs-chev { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--navy-pale); color: var(--navy); display: grid; place-items: center; transition: transform .35s var(--ease); }
.cs-chev svg { width: 14px; height: 14px; }
.cs-card.open .cs-chev { transform: rotate(45deg); }
.cs-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.cs-body-inner { padding-top: .9rem; color: var(--muted); font-size: .92rem; line-height: 1.75; }

.cs-empty { text-align: center; padding: 3rem 0; color: var(--muted); }

.cs-cta {
  background: var(--navy-pale); text-align: center; padding: 4.5rem 1.5rem;
}
.cs-cta h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.cs-cta p { color: var(--muted); max-width: 500px; margin: .9rem auto 1.8rem; }

@media (max-width: 760px) {
  .cs-grid { grid-template-columns: 1fr; }
  .cs-hero-stats { gap: 1.6rem 2rem; flex-wrap: wrap; }
}

/* ============================================================
   NAV DROPDOWN — Practice Areas hover menu
   ============================================================ */
.nav-dropdown { position: relative; }
.nav-dropdown .link { display: inline-flex; align-items: center; gap: .4em; }
.nav-dropdown .chev { width: 11px; height: 11px; transition: transform .3s var(--ease); flex-shrink: 0; }
.nav-dropdown:hover .chev { transform: rotate(180deg); }
/* invisible bridge so the pointer stays "in" the dropdown while crossing the gap to the panel */
.nav-dropdown::after {
  content: ""; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%); width: 280px; height: 20px;
}

.dropdown-panel {
  position: absolute; top: calc(100% + 20px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 280px;
  background: var(--navy-deep);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  z-index: 60;
}
.nav-dropdown:hover .dropdown-panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.dropdown-panel a {
  padding: .72rem 1rem; border-radius: 6px;
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  color: rgba(255,255,255,.85);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.dropdown-panel a:hover { background: rgba(255,255,255,.08); color: #fff; }
.dropdown-panel a.soon { color: rgba(255,255,255,.4); cursor: default; }
.dropdown-panel a.soon:hover { background: none; color: rgba(255,255,255,.4); }

/* mobile dropdown */
.mobile-dropdown { display: flex; flex-direction: column; align-items: center; }
.mobile-dropdown-toggle {
  display: flex; align-items: center; gap: .5rem;
  background: none; border: none; cursor: pointer;
  color: #fff; font-family: var(--serif); font-size: 2rem;
}
.mobile-dropdown-toggle .chev { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.mobile-dropdown.open .mobile-dropdown-toggle .chev { transform: rotate(180deg); }
.mobile-dropdown-panel {
  max-height: 0; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  transition: max-height .4s var(--ease), margin .4s var(--ease);
  margin-top: 0;
}
.mobile-dropdown.open .mobile-dropdown-panel { max-height: 26rem; margin-top: 1.1rem; }
.mobile-dropdown-panel a {
  font-family: var(--sans); font-size: .9rem; font-weight: 600;
  letter-spacing: .04em; color: rgba(255,255,255,.65); text-align: center;
}
.mobile-dropdown-panel a:hover { color: #fff; }
.mobile-dropdown-panel a.soon { color: rgba(255,255,255,.32); }

/* ============================================================
   PRACTICE AREA PAGE — shared template
   ============================================================ */
.pa-hero {
  position: relative; min-height: 79vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  background: url("/wdc-law/hero.png") center 60% / cover no-repeat;
}
.pa-hero.bc-hero { background-image: url("/wdc-law/bushero.png"); background-position: center; }
.pa-hero.re-hero { background-image: url("/wdc-law/realestate.png"); background-position: center; }
.pa-hero.cl-hero { background-image: url("/wdc-law/civil.png"); background-position: center; }
.pa-hero.ins-hero { background-image: url("/wdc-law/insurance.png"); background-position: center; }
.pa-hero.hosp-hero { background-image: url("/wdc-law/hospitality.png"); background-position: center; }
.pa-hero.con-hero { background-image: url("/wdc-law/construction.png"); background-position: center; }
.pa-hero.off-hero { background-image: url("/wdc-law/offroad.png"); background-position: center; }
.pa-hero.amb-hero { background-image: url("/wdc-law/ambulance.png"); background-position: center; }
.pa-hero.emp-hero { background-image: url("/wdc-law/employment.png"); background-position: center; }
.pa-hero.prof-hero { background-image: url("/wdc-law/professional.png"); background-position: center; }
.pa-hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  opacity: 0; transition: opacity 1.1s var(--ease);
  pointer-events: none;
}
.pa-hero-video.loaded { opacity: 1; }
.pa-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(23,50,74,.92) 0%, rgba(23,50,74,.72) 38%, rgba(23,50,74,.42) 65%, rgba(23,50,74,.2) 100%),
    linear-gradient(to top, rgba(23,50,74,.55) 0%, rgba(23,50,74,0) 34%);
  pointer-events: none;
}
.pa-hero-inner { position: relative; z-index: 2; padding: 9rem clamp(1.5rem, 5vw, 3.2rem) 4.5rem; max-width: var(--maxw); margin-inline: auto; width: 100%; }
.pa-crumb { color: rgba(255,255,255,.6); font-size: .8rem; font-weight: 600; letter-spacing: .06em; }
.pa-crumb a { color: rgba(255,255,255,.85); }
.pa-crumb a:hover { color: #fff; }
.pa-hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); margin-top: 1rem; max-width: 16ch; }
.pa-hero p { color: rgba(255,255,255,.78); max-width: 56ch; margin-top: 1.3rem; font-size: 1.1rem; line-height: 1.7; }
.pa-hero .btn { margin-top: 2.2rem; }

.pa-hero.legal-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); min-height: 38vh; }

.pa-section { padding: 6rem 0; }
.pa-section.alt { background: var(--off); }

.legal-content { max-width: 900px; margin-inline: auto; }
.legal-content h2 { font-size: 1.3rem; margin: 2.6rem 0 1rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--muted); font-size: .98rem; line-height: 1.85; margin-bottom: 1.2rem; }
.legal-content p strong { color: var(--navy-deep); }
.legal-content .legal-updated { font-size: .84rem; color: var(--muted); margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.pa-intro-grid { display: grid; grid-template-columns: .6fr 1fr; gap: 3.5rem; align-items: start; }
.pa-intro-grid h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-top: .7rem; max-width: 12ch; }
.pa-intro-grid .body { color: var(--muted); font-size: 1.03rem; line-height: 1.85; max-width: 62ch; }
.pa-intro-grid .body p + p { margin-top: 1.1rem; }

.pa-program {
  background: linear-gradient(155deg, var(--navy-deep), var(--navy));
  border-radius: 18px; padding: clamp(2.2rem, 5vw, 3.6rem);
  color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.pa-program.align-start { align-items: start; }
.pa-program .eyebrow { color: var(--silver-soft); }
.pa-program h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.4rem); margin-top: .7rem; }
.pa-program p { color: rgba(255,255,255,.75); margin-top: 1rem; font-size: 1rem; line-height: 1.75; }
.pa-program-list { display: flex; flex-direction: column; gap: 1.1rem; }
.pa-program-list.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.pa-program-list .item {
  display: flex; align-items: flex-start; gap: .9rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; padding: 1.1rem 1.2rem;
}
.pa-program-list .item svg { width: 20px; height: 20px; color: var(--silver-soft); flex-shrink: 0; margin-top: .1em; }
.pa-program-list .item b { display: block; font-size: .95rem; color: #fff; }
.pa-program-list .item span { display: block; font-size: .84rem; color: rgba(255,255,255,.65); margin-top: .2rem; }

.pa-services-head { max-width: 640px; margin-bottom: 3rem; }
.pa-services-head h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-top: .7rem; }
.pa-services-head p { color: var(--muted); margin-top: 1rem; font-size: 1.02rem; }
.pa-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.pa-service-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 1.4rem 1.5rem; display: flex; align-items: center; gap: 1rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.pa-service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--navy-soft); }
.pa-service-card .ic { width: 38px; height: 38px; border-radius: 8px; background: var(--navy-pale); color: var(--navy); display: grid; place-items: center; flex-shrink: 0; }
.pa-service-card .ic svg { width: 18px; height: 18px; }
.pa-service-card span { font-size: .92rem; font-weight: 600; color: var(--navy-deep); line-height: 1.3; }

.pa-notes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2.6rem; }
.pa-note-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 1.8rem 2rem; border-top: 3px solid var(--navy);
}
.pa-note-card h3 { font-size: 1.25rem; margin: .6rem 0 .8rem; }
.pa-note-card p { color: var(--muted); font-size: .94rem; line-height: 1.7; }
.pa-note-card p em { font-style: italic; color: var(--navy-deep); }
.pa-note-invite {
  max-width: 68ch; margin: 2.6rem auto 0; text-align: center;
  font-family: var(--serif); font-weight: 500; font-style: italic;
  font-size: 1.2rem; color: var(--navy-deep); line-height: 1.6;
}

.pa-cta { background: var(--navy-pale); text-align: center; padding: 4.5rem 1.5rem; }
.pa-cta h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.pa-cta p { color: var(--muted); max-width: 500px; margin: .9rem auto 1.8rem; }

.pa-forums-grid { grid-template-columns: repeat(4, 1fr); }

.pa-urgent {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 6rem 1.5rem;
}
.pa-urgent-inner { max-width: 700px; margin-inline: auto; text-align: center; }
.pa-urgent .eyebrow { color: var(--silver-soft); justify-content: center; }
.pa-urgent h2 { color: #fff; font-size: clamp(2rem, 3.8vw, 2.8rem); margin-top: .8rem; }
.pa-urgent p { color: rgba(255,255,255,.75); font-size: 1.03rem; line-height: 1.8; margin: 1.3rem 0 2rem; }

@media (max-width: 900px) {
  .pa-intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pa-program { grid-template-columns: 1fr; }
  .pa-program-list.two-col { grid-template-columns: 1fr; }
  .pa-services-grid { grid-template-columns: 1fr 1fr; }
  .pa-forums-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .pa-services-grid { grid-template-columns: 1fr; }
  .pa-forums-grid { grid-template-columns: 1fr; }
  .pa-notes-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   COMING SOON TOAST
   ============================================================ */
.coming-soon-toast {
  position: fixed; top: 92px; left: 50%; z-index: 999;
  transform: translateX(-50%) translateY(-14px);
  background: var(--navy-deep); color: #fff;
  padding: .85rem 1.5rem; border-radius: 8px;
  font-size: .88rem; font-weight: 600; letter-spacing: .01em;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.coming-soon-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
