/* ==========================================================================
   Lexvane Law Firm PLLC — site stylesheet
   Navy & gold, serif display type, generous spacing.
   ========================================================================== */

/* Self-hosted fonts (no third-party requests, GDPR-friendly) */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/lexvane/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/lexvane/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/lexvane/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lexvane/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/lexvane/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/lexvane/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --navy-950: #08121f;
  --navy-900: #0c1a2e;
  --navy-800: #13263f;
  --navy-700: #1d3556;
  --gold-500: #b8955a;
  --gold-400: #c9a96e;
  --gold-200: #e8dcc4;
  --ivory: #f8f6f1;
  --paper: #ffffff;
  --ink: #1b2230;
  --muted: #5d6676;
  --line: #e4e0d8;
  --line-dark: rgba(255, 255, 255, 0.12);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --radius: 2px;
  --shadow: 0 18px 40px -24px rgba(12, 26, 46, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy-900);
  margin: 0 0 0.5em;
  letter-spacing: -0.005em;
}

p { margin: 0 0 1.1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold-500);
  color: var(--navy-950);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }

/* ---------- Shared bits ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}
.center .eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

.section { padding: 110px 0; }
.section--ivory { background: var(--ivory); }
.section--navy { background: var(--navy-900); color: rgba(255, 255, 255, 0.78); }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 680px; margin-bottom: 60px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(34px, 4vw, 48px); }
.section-head p { color: var(--muted); font-size: 17px; }
.section--navy .section-head p { color: rgba(255, 255, 255, 0.7); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn--gold { background: var(--gold-500); color: var(--navy-950); }
.btn--gold:hover { background: var(--gold-400); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn--ghost:hover { border-color: var(--gold-400); color: var(--gold-400); }
.btn--navy { background: var(--navy-900); color: #fff; }
.btn--navy:hover { background: var(--navy-700); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-900);
  border-bottom: 1px solid var(--gold-500);
  padding-bottom: 4px;
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}
.link-arrow:hover { gap: 16px; color: var(--gold-500); }

/* ---------- Header ---------- */

.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 42px;
}
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.topbar i { color: var(--gold-500); margin-right: 8px; }
.topbar a:hover { color: #fff; }
.lang-switch { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; }
.lang-switch a { color: rgba(255, 255, 255, 0.55); }
.lang-switch [aria-current] { color: var(--gold-400); }
.lang-switch__sep { color: rgba(255, 255, 255, 0.25); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(12, 26, 46, 0.4); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
}

.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--navy-900); }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.brand__sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--gold-500);
  margin-top: 6px;
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; }
.nav ul a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 0;
}
.nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold-500);
  transition: width 0.3s var(--ease);
}
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { width: 100%; }
.nav ul a[aria-current="page"] { color: var(--navy-900); font-weight: 600; }
.nav .btn { padding: 13px 22px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 1.5px;
  background: var(--navy-900);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { content: ""; left: 0; top: -6px; }
.nav-toggle span::after { content: ""; left: 0; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--navy-900) url("../images/hero.jpg") center / cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(8, 18, 31, 0.96) 0%, rgba(12, 26, 46, 0.88) 45%, rgba(12, 26, 46, 0.55) 100%);
}
.hero .container { position: relative; padding-top: 80px; padding-bottom: 80px; }
.hero__content { max-width: 680px; }
.hero h1 {
  color: #fff;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 500;
  margin-bottom: 26px;
}
.hero h1 em { font-style: italic; color: var(--gold-400); }
.hero p { font-size: 18px; color: rgba(255, 255, 255, 0.78); max-width: 560px; margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line-dark);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.hero__meta strong {
  display: block;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  color: var(--gold-400);
  line-height: 1.1;
}

/* ---------- Page header (inner pages) ---------- */

.page-hero {
  position: relative;
  background: var(--navy-900) url("../images/hero.jpg") center 40% / cover no-repeat;
  color: #fff;
  padding: 110px 0 90px;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 18, 31, 0.96), rgba(12, 26, 46, 0.82));
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(40px, 5vw, 60px); font-weight: 500; margin-bottom: 14px; }
.page-hero p { max-width: 620px; color: rgba(255, 255, 255, 0.75); font-size: 17px; margin: 0; }
.breadcrumb {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--gold-500); }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb [aria-current] { color: var(--gold-400); }

/* ---------- Split (image + text) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split__media { position: relative; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.split__media::before {
  content: "";
  position: absolute;
  top: -22px;
  left: -22px;
  width: 60%;
  height: 60%;
  border: 1px solid var(--gold-500);
}
.split__badge {
  position: absolute;
  z-index: 2;
  right: -28px;
  bottom: 40px;
  background: var(--navy-900);
  color: #fff;
  padding: 26px 30px;
  max-width: 220px;
  box-shadow: var(--shadow);
}
.split__badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1;
  color: var(--gold-400);
}
.split__badge span { font-size: 13px; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.78); }
.split__body h2 { font-size: clamp(34px, 4vw, 46px); }
.split__body .lead { font-size: 19px; color: var(--ink); }
.split__body p { color: var(--muted); }

.checklist { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: baseline; }
.checklist i { color: var(--gold-500); font-size: 13px; }

/* ---------- Practice areas ---------- */

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.practice-card {
  position: relative;
  padding: 44px 38px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.practice-card__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-200);
  color: var(--gold-500);
  font-size: 20px;
  margin-bottom: 26px;
  transition: border-color 0.35s var(--ease);
}
.practice-card h3 { font-size: 26px; transition: color 0.35s var(--ease); }
.practice-card p { color: var(--muted); font-size: 15px; margin-bottom: 0; transition: color 0.35s var(--ease); }
.practice-card__num {
  position: absolute;
  top: 38px;
  right: 34px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-500);
  letter-spacing: 0.18em;
}
.practice-card:hover { background: var(--navy-900); }
.practice-card:hover h3 { color: #fff; }
.practice-card:hover p { color: rgba(255, 255, 255, 0.72); }
.practice-card:hover .practice-card__icon { border-color: var(--gold-500); }

.practice-card--cta {
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.practice-card--cta:hover { background: var(--ivory); }
.practice-card--cta:hover h3 { color: var(--navy-900); }
.practice-card--cta:hover p { color: var(--muted); }
.practice-card--cta .btn { align-self: flex-start; margin-top: 24px; }

/* ---------- Stats band ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  text-align: center;
  padding: 10px 20px;
  border-left: 1px solid var(--line-dark);
}
.stat:first-child { border-left: 0; }
.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  color: var(--gold-400);
  margin-bottom: 12px;
}
.stat span { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }

/* ---------- Values / why us ---------- */

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.value { padding-top: 28px; border-top: 1px solid var(--gold-500); }
.value i { color: var(--gold-500); font-size: 22px; margin-bottom: 18px; display: block; }
.value h3 { font-size: 24px; }
.value p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.attorney { text-align: left; }
.attorney__photo {
  position: relative;
  overflow: hidden;
  background: var(--ivory);
  margin-bottom: 20px;
}
.attorney__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(25%);
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}
.attorney__photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.attorney:hover .attorney__photo img { transform: scale(1.04); filter: grayscale(0); }
.attorney:hover .attorney__photo::after { transform: scaleX(1); }
.attorney h3 { font-size: 23px; margin-bottom: 2px; }
.attorney p {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin: 0;
}

/* ---------- Insights ---------- */

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.insight {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.insight:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.insight__img { overflow: hidden; }
.insight__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.insight__body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.insight__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 12px;
}
.insight h3 { font-size: 24px; }
.insight p { color: var(--muted); font-size: 15px; flex: 1; }
.insight .link-arrow { align-self: flex-start; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  padding: 90px 0;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(184, 149, 90, 0.25);
  transform: rotate(45deg);
}
.cta-band .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-band h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, 0.72); margin: 0; max-width: 560px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 16px; flex: none; }

/* ---------- Contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
}
.contact-card {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.78);
  padding: 50px 44px;
}
.contact-card h2 { color: #fff; font-size: 34px; }
.contact-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 26px; }
.contact-list li { display: flex; gap: 18px; }
.contact-list i {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184, 149, 90, 0.5);
  color: var(--gold-400);
}
.contact-list small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 2px;
}
.contact-list a:hover { color: #fff; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-900);
}
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(184, 149, 90, 0.15);
}
.field textarea { resize: vertical; min-height: 160px; }
/* Honeypot field: hidden from people, visible to naive bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: 13px; color: var(--muted); margin: 18px 0 0; }
.form-status {
  display: none;
  margin-top: 20px;
  padding: 14px 18px;
  border-left: 3px solid var(--gold-500);
  background: var(--ivory);
  font-size: 15px;
}
.form-status.is-visible { display: block; }

.map { line-height: 0; background: var(--navy-800); }
.map iframe { width: 100%; height: 440px; border: 0; filter: grayscale(0.6) contrast(1.05); }
.map__placeholder {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 50px 24px;
  text-align: center;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(rgba(12, 26, 46, 0.92), rgba(12, 26, 46, 0.92)),
    repeating-linear-gradient(45deg, rgba(184, 149, 90, 0.08) 0 1px, transparent 1px 26px);
}
.map__placeholder i { font-size: 30px; color: var(--gold-400); }
.map__placeholder h3 { color: #fff; font-size: 28px; margin: 0; }
.map__placeholder p { max-width: 460px; margin: 0; font-size: 14px; }

/* ---------- Process ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}
.process__step {
  position: relative;
  padding: 0 30px 0 0;
}
.process__step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--gold-500);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold-400);
  background: var(--navy-900);
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
}
.process__step::after {
  content: "";
  position: absolute;
  top: 32px;
  left: 64px;
  right: 0;
  height: 1px;
  background: var(--line-dark);
}
.process__step:last-child::after { display: none; }
.process__step h3 { font-size: 25px; }
.process__step p { font-size: 15px; margin: 0; }

/* ---------- Quote ---------- */

.quote {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.quote__mark {
  font-family: var(--serif);
  font-size: 110px;
  line-height: 0.6;
  color: var(--gold-500);
  display: block;
  margin-bottom: 18px;
}
.quote blockquote {
  margin: 0 0 26px;
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 38px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  color: var(--navy-900);
}
.quote cite {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
}

/* ---------- Practice detail (services page) ---------- */

.area-nav {
  position: sticky;
  top: 110px;
  align-self: start;
  border-left: 1px solid var(--line);
}
.area-nav h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
  padding-left: 22px;
  margin-bottom: 16px;
}
.area-nav ul { list-style: none; margin: 0; padding: 0; }
.area-nav a {
  display: block;
  padding: 9px 22px;
  margin-left: -1px;
  border-left: 1px solid transparent;
  font-size: 15px;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}
.area-nav a:hover { color: var(--navy-900); border-color: var(--gold-500); }

.areas-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 80px;
}
.area {
  padding: 0 0 70px;
  margin-bottom: 70px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 120px;
}
.area:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.area__head { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; }
.area__head .practice-card__icon { margin: 0; flex: none; }
.area__head h2 { font-size: clamp(30px, 3.4vw, 40px); margin: 0; }
.area > p { color: var(--muted); font-size: 17px; max-width: 720px; }
.area__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}
.area__cols h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-900);
  margin-bottom: 14px;
}
.area__cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.area__cols li { position: relative; padding-left: 22px; color: var(--ink); font-size: 15px; }
.area__cols li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 1px;
  background: var(--gold-500);
}
.area .link-arrow { margin-top: 30px; }

/* ---------- FAQ ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.faq-group + .faq-group { margin-top: 60px; }
.faq-group > h2 { font-size: 30px; margin-bottom: 18px; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-200);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  color: var(--gold-500);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.faq details[open] summary::after { content: "\2212"; background: var(--navy-900); border-color: var(--navy-900); color: var(--gold-400); }
.faq details > div { padding: 0 60px 26px 0; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Attorney profiles ---------- */

.profile {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
  padding: 70px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 110px;
}
.profile:first-child { padding-top: 0; }
.profile:last-child { border-bottom: 0; padding-bottom: 0; }
.profile .attorney__photo { margin: 0; }
.profile__role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 8px;
}
.profile h2 { font-size: clamp(34px, 3.6vw, 44px); }
.profile p { color: var(--muted); }
.profile__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 30px 0;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.profile__meta h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy-900);
  margin-bottom: 10px;
}
.profile__meta ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }

/* ---------- Long-form legal pages ---------- */

.prose { max-width: 780px; }
.prose h2 { font-size: 30px; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 22px; margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink); }
.prose ul { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--navy-900); border-bottom: 1px solid var(--gold-500); }
.prose .updated { font-size: 14px; color: var(--muted); }
.todo {
  background: #fbf3e2;
  border: 1px dashed var(--gold-500);
  padding: 1px 6px;
  font-size: 0.92em;
}

/* ---------- 404 ---------- */

.notfound {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
  background: var(--ivory);
}
.notfound .code {
  font-family: var(--serif);
  font-size: clamp(110px, 18vw, 200px);
  line-height: 1;
  color: var(--gold-500);
  margin-bottom: 10px;
}
.notfound h1 { font-size: clamp(32px, 4vw, 46px); }
.notfound p { color: var(--muted); max-width: 520px; margin: 0 auto 34px; }
.notfound .hero__actions { justify-content: center; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  padding-top: 90px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 50px;
  padding-bottom: 70px;
}
.site-footer .brand { color: #fff; margin-bottom: 24px; }
.site-footer h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 24px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact i { color: var(--gold-500); margin-top: 6px; width: 14px; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 26px 0;
  font-size: 13px;
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom ul { display: flex; gap: 24px; }
.disclaimer { font-size: 12px; color: rgba(255, 255, 255, 0.45); margin-top: 18px; max-width: 360px; }

/* ==========================================================================
   Motion
   Calm and deliberate: entrances, staggered reveals, count-ups, a slow
   hero drift. Everything is disabled for prefers-reduced-motion.
   ========================================================================== */

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes rise-sm { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes from-left { from { opacity: 0; transform: translateX(-34px); } to { opacity: 1; transform: none; } }
@keyframes from-right { from { opacity: 0; transform: translateX(34px); } to { opacity: 1; transform: none; } }
@keyframes zoom-in { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes kenburns { from { scale: 1.12; } to { scale: 1; } }
@keyframes spin-slow { to { rotate: 405deg; } }
@keyframes scroll-cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(0.6); opacity: 0; } 70% { transform: scale(1.06); opacity: 1; } 100% { transform: scale(1); } }

/* Scroll reveal. Uses animations (not transitions) so elements keep their own
   hover transitions; fill-mode "backwards" only holds the start state during
   the stagger delay. --d is set per element by main.js for staggering. */
.reveal { opacity: 0; }
.reveal.is-in { opacity: 1; animation: rise 0.9s var(--ease) var(--d, 0s) backwards; }
.reveal--left.is-in { animation-name: from-left; }
.reveal--right.is-in { animation-name: from-right; }
.reveal--zoom.is-in { animation-name: zoom-in; }
.no-js .reveal { opacity: 1; }

/* Hero: slow zoom-out on the photo, subtle parallax, staggered entrance */
.hero { background-image: none; }
.hero::after {
  content: "";
  position: absolute;
  inset: -6% 0;
  background: url("../images/hero.jpg") center / cover no-repeat;
  animation: kenburns 18s var(--ease) both;
  translate: 0 var(--parallax, 0px);
  will-change: translate, scale;
  z-index: 0;
}
.hero::before { z-index: 1; }
.hero .container { z-index: 2; }
.hero__content > * { animation: rise 1s var(--ease) both; }
.hero__content > :nth-child(1) { animation-delay: 0.15s; }
.hero__content > :nth-child(2) { animation-delay: 0.3s; }
.hero__content > :nth-child(3) { animation-delay: 0.5s; }
.hero__content > :nth-child(4) { animation-delay: 0.65s; }
.hero__content > :nth-child(5) { animation-delay: 0.85s; }
.hero h1 em { display: inline-block; animation: rise 1.1s var(--ease) 0.55s both; }

.hero__scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 28px;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  animation: rise-sm 1s var(--ease) 1.3s both;
}
.hero__scroll span {
  position: relative;
  width: 1px;
  height: 46px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
.hero__scroll span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold-400);
  animation: scroll-cue 2.2s cubic-bezier(0.6, 0, 0.3, 1) infinite;
}
.hero__scroll:hover { color: #fff; }

/* Inner page headers */
.page-hero .breadcrumb, .page-hero h1, .page-hero p { animation: rise 0.9s var(--ease) both; }
.page-hero h1 { animation-delay: 0.12s; }
.page-hero p { animation-delay: 0.26s; }

/* Gold rule beside eyebrows draws in */
.eyebrow::before { transform-origin: left; }
.center .eyebrow::after { transform-origin: right; }
.hero .eyebrow::before,
.is-in .eyebrow::before, .is-in .eyebrow::after { animation: grow-x 0.9s var(--ease) 0.25s both; }

/* Split sections: photo wipes in, badge rises after it */
.split__media.is-in img { animation: wipe 1.3s cubic-bezier(0.7, 0, 0.2, 1) both; }
.split__media::before { transition: transform 1.2s var(--ease) 0.4s, opacity 1.2s var(--ease) 0.4s; }
.split__media.reveal:not(.is-in)::before { transform: translate(18px, 18px); opacity: 0; }
.split__media.is-in .split__badge { animation: rise 0.9s var(--ease) 0.75s both; }

/* Practice cards: gold rule grows, icon fills on hover */
.practice-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.practice-card:hover::after { transform: scaleX(1); }
.practice-card__icon { transition: border-color 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), transform 0.5s var(--ease); }
.practice-card:hover .practice-card__icon { background: var(--gold-500); color: var(--navy-950); transform: rotate(-8deg); }
.practice-card--cta::after { display: none; }

/* Stats count up (main.js); tabular figures stop the width jittering */
.stat strong, .hero__meta strong, .split__badge strong { font-variant-numeric: tabular-nums; }

/* Values: gold top rule draws across */
.value { border-top-color: transparent; position: relative; }
.value::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold-500);
  transform-origin: left;
}
.value.is-in::before { animation: grow-x 1s var(--ease) calc(var(--d, 0s) + 0.2s) both; }
.value i { transition: transform 0.5s var(--ease); }
.value:hover i { transform: translateY(-4px); }

/* Process: circles pop, connectors draw left to right */
.process__step.is-in::before { animation: pop 0.7s var(--ease) var(--d, 0s) both; }
.process__step::after { transform-origin: left; }
.process__step.is-in::after { animation: grow-x 0.9s var(--ease) calc(var(--d, 0s) + 0.35s) both; }

/* Insights */
.insight__img img { transition: transform 0.8s var(--ease); }
.insight:hover .insight__img img { transform: scale(1.06); }
.insight .link-arrow i { transition: transform 0.3s var(--ease); }
.insight:hover .link-arrow i { transform: translateX(4px); }

/* Quote */
.quote.is-in .quote__mark { animation: pop 0.9s var(--ease) 0.1s both; }
.quote.is-in blockquote { animation: rise 1s var(--ease) 0.25s both; }
.quote.is-in cite { animation: rise-sm 0.9s var(--ease) 0.55s both; }

/* CTA band: the outline diamond turns very slowly */
.cta-band::after { transform: none; rotate: 45deg; animation: spin-slow 90s linear infinite; }

/* Buttons: soft light sweep on hover */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn--gold::after, .btn--navy::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn--gold:hover::after, .btn--navy:hover::after { transform: translateX(120%); }
.btn i { transition: transform 0.3s var(--ease); }
.btn:hover .fa-arrow-right { transform: translateX(4px); }

/* Header compacts after scrolling */
.site-header .container { transition: min-height 0.35s var(--ease); }
.site-header.is-scrolled .container { min-height: 70px; }
.brand__mark { transition: transform 0.6s var(--ease); }
.brand:hover .brand__mark { transform: scale(1.08); }

/* Mobile menu slides in */
.nav-open .nav { animation: menu-in 0.35s var(--ease) both; }

/* FAQ answers glide open (progressive: browsers without support just snap) */
:root { interpolate-size: allow-keywords; }
.faq details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.45s var(--ease), content-visibility 0.45s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }
.faq summary::after { transition: transform 0.35s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(180deg); }

/* Scroll progress bar and back-to-top (both created by main.js) */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 60;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  pointer-events: none;
}
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 55;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-500);
  background: var(--navy-900);
  color: var(--gold-400);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s, background 0.25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-500); color: var(--navy-950); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .hero::after { translate: none; }
  .hero__scroll span::after { display: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav ul { gap: 22px; }
}

@media (max-width: 960px) {
  .section { padding: 80px 0; }
  .topbar .topbar__hours { display: none; }

  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 28px;
    display: none;
  }
  .nav-open .nav { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav ul a::after { display: none; }
  .nav .btn { margin-top: 20px; }

  .split, .contact-layout { grid-template-columns: 1fr; gap: 60px; }
  .split__media { max-width: 520px; }
  .split__badge { right: 16px; }
  .practice-grid, .insight-grid { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stat:nth-child(3) { border-left: 0; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .process__step:nth-child(2)::after { display: none; }
  .areas-layout, .faq-layout { grid-template-columns: 1fr; gap: 50px; }
  .area-nav { position: static; }
  .area-nav ul { display: flex; flex-wrap: wrap; }
  .profile { grid-template-columns: 260px 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .topbar ul { gap: 18px; }
  .topbar .topbar__email { display: none; }
  .site-header .container { min-height: 72px; }
  .brand__name { font-size: 23px; }
  .brand__mark { width: 34px; height: 34px; }
  .hero { min-height: 0; }
  .hero__scroll { display: none; }
  .hero__meta { gap: 28px; }
  .practice-grid, .insight-grid, .values, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .attorney h3 { font-size: 20px; }
  .practice-card { padding: 36px 26px; }
  .stat strong { font-size: 44px; }
  .contact-card { padding: 40px 26px; }
  .split__media::before { display: none; }
  .process { grid-template-columns: 1fr; }
  .process__step::after { display: none; }
  .area__cols, .profile__meta { grid-template-columns: 1fr; gap: 24px; }
  .area__head { flex-direction: column; align-items: flex-start; }
  .profile { grid-template-columns: 1fr; gap: 30px; }
  .profile .attorney__photo { max-width: 320px; }
  .faq summary { font-size: 20px; }
  .faq details > div { padding-right: 0; }
  .map__placeholder { min-height: 300px; }
}
