:root {
  --navy-950: #041323;
  --navy-900: #071b32;
  --navy-800: #0a2845;
  --emerald-700: #0d6f5d;
  --emerald-600: #11866e;
  --emerald-100: #dff2ea;
  --gold-500: #c9a24b;
  --gold-400: #ddb961;
  --gold-200: #ead69e;
  --cream: #f6f2e9;
  --paper: #fffdf8;
  --ink: #102132;
  --muted: #5c6872;
  --line: rgba(9, 40, 69, .14);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 999;
  background: var(--gold-400); color: var(--navy-950); padding: .7rem 1rem;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute; z-index: 20; width: 100%; top: 0; left: 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.header-inner {
  width: min(1180px, calc(100% - 2rem)); height: 104px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; color: white; }
.brand-mark {
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--gold-400); color: var(--gold-400); font: 700 .78rem/1 var(--sans);
  letter-spacing: .12em;
}
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; opacity: .8; }
.brand-copy span { font: 600 1.14rem/1.2 var(--serif); margin-top: .22rem; }
.primary-nav { display: flex; align-items: center; gap: 2rem; color: rgba(255,255,255,.88); }
.primary-nav a { font-size: .86rem; font-weight: 600; text-decoration: none; letter-spacing: .02em; }
.primary-nav > a:not(.nav-cta) { position: relative; padding: .8rem 0; }
.primary-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: .5rem; width: 0; height: 1px; background: var(--gold-400); transition: width .25s ease; }
.primary-nav > a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { border: 1px solid var(--gold-400); color: var(--gold-200); padding: .78rem 1rem; transition: .2s ease; }
.nav-cta:hover { background: var(--gold-400); color: var(--navy-950); }
.menu-toggle { display: none; background: none; border: 0; padding: .7rem; }
.menu-toggle > span:not(.sr-only) { display: block; width: 27px; height: 2px; background: white; margin: 5px 0; }

.hero {
  position: relative; min-height: 820px; display: grid; align-items: center; overflow: hidden;
  color: white; background: var(--navy-950);
}
.hero-image {
  position: absolute; inset: 0; background-image: url("hero-courthouse.webp");
  background-size: cover; background-position: center; opacity: .64; transform: scale(1.015);
}
.hero-image::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 77% 26%, rgba(18,134,110,.2), transparent 25%);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4,19,35,.98) 0%, rgba(4,19,35,.9) 40%, rgba(4,19,35,.28) 78%, rgba(4,19,35,.55) 100%),
              linear-gradient(0deg, rgba(4,19,35,.9) 0%, transparent 35%);
}
.hero-content { position: relative; z-index: 2; width: min(1180px, calc(100% - 2rem)); margin: 118px auto 0; }
.eyebrow { margin: 0 0 1.4rem; color: var(--gold-400); text-transform: uppercase; font-size: .75rem; font-weight: 700; letter-spacing: .2em; }
.eyebrow.dark { color: var(--emerald-700); }
.hero h1 {
  max-width: 850px; margin: 0; font: 600 clamp(3.4rem, 7.2vw, 6.75rem)/.98 var(--serif);
  letter-spacing: -.035em; text-wrap: balance;
}
.hero-lede { max-width: 700px; margin: 2rem 0 0; font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: rgba(255,255,255,.79); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 2rem; margin-top: 2.3rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 54px;
  padding: .85rem 1.35rem; text-decoration: none; font-size: .87rem; font-weight: 700;
  letter-spacing: .025em; transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold-400); color: var(--navy-950); }
.button-gold:hover { background: #ebc976; }
.button-navy { background: var(--navy-900); color: white; }
.button-navy:hover { background: var(--emerald-700); }
.text-link { color: white; text-underline-offset: 5px; font-weight: 600; font-size: .9rem; }
.hero-proof {
  margin-top: 4rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px; border-top: 1px solid rgba(255,255,255,.22); padding-top: 1.35rem;
}
.hero-proof > div { display: grid; gap: .12rem; padding-right: 1.5rem; }
.hero-proof > div + div { border-left: 1px solid rgba(255,255,255,.18); padding-left: 1.5rem; }
.hero-proof strong { color: var(--gold-200); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.hero-proof span { color: rgba(255,255,255,.64); font-size: .8rem; }
.hero-monogram {
  position: absolute; z-index: 1; right: -1.5rem; bottom: -9.5rem;
  color: rgba(255,255,255,.035); font: 700 36rem/1 var(--serif); pointer-events: none;
}

.section-pad { padding: clamp(5rem, 9vw, 9rem) max(1rem, calc((100% - 1180px) / 2)); }
.intro { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(3rem, 8vw, 8rem); background: var(--cream); }
.section-number { position: absolute; top: 3rem; left: max(1rem, calc((100% - 1180px) / 2)); color: rgba(7,27,50,.18); font-size: .75rem; letter-spacing: .15em; }
.intro h2, .section-heading h2, .approach-panel h2, .attorney-copy h2, .cta-content h2 {
  margin: 0; color: var(--navy-900); font: 600 clamp(2.6rem, 5vw, 4.9rem)/1.05 var(--serif); letter-spacing: -.025em;
}
.intro h2 em { color: var(--emerald-700); font-weight: 600; }
.intro-copy { padding-top: 2.4rem; }
.intro-copy p { color: var(--muted); max-width: 620px; }
.lead { font-size: 1.18rem; line-height: 1.7; color: var(--ink) !important; }

.practice-section { background: var(--navy-900); color: white; }
.section-heading { display: grid; grid-template-columns: 1fr .8fr; gap: 5rem; align-items: end; margin-bottom: 4rem; }
.section-heading h2, .approach-panel h2, .cta-content h2 { color: white; }
.section-heading > p { margin: 0 0 .4rem; color: rgba(255,255,255,.65); max-width: 500px; }
.practice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid rgba(255,255,255,.15); }
.practice-card { position: relative; padding: 2.3rem; min-height: 540px; display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.02); transition: background .25s ease, transform .25s ease; }
.practice-card:last-child { border-right: 0; }
.practice-card:hover { background: rgba(255,255,255,.055); transform: translateY(-4px); }
.practice-card.featured { background: var(--emerald-700); }
.card-number { position: absolute; top: 1.2rem; right: 1.5rem; font-size: .72rem; color: rgba(255,255,255,.45); letter-spacing: .15em; }
.card-icon { width: 54px; height: 54px; border: 1px solid var(--gold-400); display: grid; place-items: center; color: var(--gold-400); font: 600 1.55rem/1 var(--serif); margin-bottom: 2.8rem; }
.practice-card h3 { font: 600 2rem/1.15 var(--serif); margin: 0 0 1rem; }
.practice-card p { color: rgba(255,255,255,.68); font-size: .94rem; }
.practice-card ul { margin: 1.4rem 0 2rem; padding: 0; list-style: none; color: rgba(255,255,255,.82); font-size: .87rem; }
.practice-card li { border-top: 1px solid rgba(255,255,255,.13); padding: .58rem 0; }
.practice-card a { margin-top: auto; color: var(--gold-200); font-weight: 700; font-size: .86rem; text-underline-offset: 4px; }

.quiz-section { display: flex; align-items: center; gap: 3rem; padding: 3rem max(1rem, calc((100% - 1180px) / 2)); background: var(--cream); border-bottom: 3px solid var(--gold-500); }
.quiz-section > div { flex: 1; min-width: 0; }
.quiz-section h2 { margin: 0; color: var(--navy-900); font: 600 clamp(1.8rem, 3vw, 2.7rem)/1.2 var(--serif); }
.quiz-section .eyebrow { margin-bottom: .8rem; }
.quiz-section .quiz-note { font-size: .875rem; color: var(--muted); max-width: 740px; }
.quiz-section .button { flex-shrink: 0; }
@media (max-width: 900px) { .quiz-section { flex-direction: column; align-items: flex-start; gap: 1rem; } }
.approach-section { display: grid; grid-template-columns: 1.12fr .88fr; background: var(--emerald-700); color: white; }
.approach-panel { padding: clamp(4rem, 8vw, 8rem) max(2rem, calc((100vw - 1180px) / 2)); padding-right: clamp(3rem, 7vw, 7rem); }
.approach-lede { max-width: 660px; color: rgba(255,255,255,.76); font-size: 1.08rem; }
.values-list { margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.2); }
.values-list > div { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; padding: 1.35rem 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.values-list span { color: var(--gold-200); font-size: .75rem; letter-spacing: .1em; }
.values-list h3 { margin: 0; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.values-list p { margin: .2rem 0 0; color: rgba(255,255,255,.62); font-size: .9rem; }
blockquote { margin: 0; padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 6vw, 6rem); background: var(--cream); color: var(--navy-900); display: flex; flex-direction: column; justify-content: center; }
.quote-mark { display: block; color: var(--gold-500); font: 600 7rem/.5 var(--serif); }
blockquote p { font: 600 clamp(1.8rem, 3.3vw, 3rem)/1.25 var(--serif); margin: 2rem 0; }
blockquote cite { color: var(--emerald-700); font-style: normal; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .78rem; }

.attorney-section { display: grid; grid-template-columns: .84fr 1.16fr; gap: clamp(3rem, 9vw, 9rem); align-items: center; background: var(--paper); }
.attorney-visual { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(145deg, var(--navy-900), #0e3c55); overflow: hidden; display: grid; place-items: center; color: white; }
.attorney-visual::before, .attorney-visual::after { content: ""; position: absolute; width: 80%; aspect-ratio: 1; border: 1px solid rgba(201,162,75,.22); transform: rotate(45deg); }
.attorney-visual::after { width: 57%; border-color: rgba(17,134,110,.55); }
.attorney-portrait { aspect-ratio: auto; border: 1px solid var(--gold-500); }
.attorney-portrait::before, .attorney-portrait::after { display: none; }
.attorney-portrait img { display: block; width: 100%; height: auto; }
.initials { z-index: 1; color: var(--gold-200); font: 600 clamp(3.2rem, 7vw, 6rem)/1 var(--serif); letter-spacing: .04em; }
.gold-frame { position: absolute; inset: 1.2rem; border: 1px solid var(--gold-500); }
.attorney-visual > span { position: absolute; bottom: 2.2rem; z-index: 1; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.attorney-copy h2 { font-size: clamp(2.8rem, 5vw, 5rem); }
.title-line { color: var(--gold-500); text-transform: uppercase; font-weight: 700; letter-spacing: .15em; font-size: .75rem; margin: .65rem 0 2rem; }
.attorney-copy > p:not(.eyebrow):not(.title-line) { max-width: 680px; }
.credentials { display: flex; flex-wrap: wrap; gap: .65rem; margin: 2rem 0; }
.credentials span { border: 1px solid var(--line); padding: .55rem .7rem; color: var(--navy-800); font-size: .76rem; font-weight: 700; }

.cta-section { display: grid; grid-template-columns: 1.35fr .65fr; background: var(--navy-950); color: white; }
.cta-content { padding: clamp(4rem, 8vw, 7rem) max(2rem, calc((100vw - 1180px) / 2)); padding-right: clamp(3rem, 7vw, 7rem); }
.cta-content h2 { max-width: 760px; }
.cta-content > p:not(.eyebrow) { color: rgba(255,255,255,.66); max-width: 600px; margin: 1.5rem 0 2rem; }
.cta-location { padding: 4rem; background: var(--gold-400); color: var(--navy-950); display: flex; flex-direction: column; justify-content: center; }
.cta-location span { text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; }
.cta-location strong { font: 600 clamp(2.5rem, 4vw, 4rem)/1.1 var(--serif); margin: .7rem 0 1rem; }
.cta-location address { max-width: 250px; margin: 0; font-style: normal; font-weight: 600; }

.site-footer { background: #020d18; color: rgba(255,255,255,.7); padding: 3rem max(1rem, calc((100% - 1180px) / 2)) 2rem; }
.footer-main { display: flex; justify-content: space-between; gap: 2rem; padding-bottom: 2.5rem; }
.footer-links { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.footer-links a { font-size: .78rem; color: rgba(255,255,255,.65); text-decoration: none; }
.footer-links a:hover { color: var(--gold-200); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.4rem; display: grid; grid-template-columns: .55fr 1.45fr; gap: 2rem; font-size: .69rem; line-height: 1.55; }
.footer-legal p { margin: 0; }

@media (max-width: 900px) {
  .header-inner { height: 84px; }
  .menu-toggle { display: block; z-index: 30; }
  .primary-nav { position: absolute; display: none; inset: 84px 0 auto 0; background: var(--navy-950); padding: 1.3rem 1rem 1.6rem; align-items: stretch; flex-direction: column; gap: .3rem; border-top: 1px solid rgba(255,255,255,.12); }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: .8rem 0; }
  .nav-cta { text-align: center; margin-top: .5rem; }
  .hero { min-height: 760px; }
  .hero-content { margin-top: 95px; }
  .hero h1 { max-width: 700px; }
  .intro, .section-heading, .approach-section, .attorney-section, .cta-section { grid-template-columns: 1fr; }
  .intro-copy { padding-top: 0; }
  .section-heading { gap: 2rem; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-card { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .practice-card:last-child { border-bottom: 0; }
  .approach-panel, .cta-content { padding-left: max(1rem, calc((100% - 720px) / 2)); padding-right: max(1rem, calc((100% - 720px) / 2)); }
  .attorney-visual { max-width: 520px; width: 100%; }
  .cta-location { padding: 3.5rem max(1rem, calc((100% - 720px) / 2)); }
  .footer-main { align-items: flex-start; }
}

@media (max-width: 620px) {
  .brand-copy span { font-size: .97rem; }
  .brand-mark { width: 42px; height: 42px; }
  .hero { min-height: 800px; align-items: start; }
  .hero-content { margin-top: 145px; }
  .hero h1 { font-size: clamp(3.15rem, 15vw, 4.4rem); }
  .hero-lede { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 1.2rem; }
  .button { width: 100%; }
  .text-link { text-align: center; }
  .hero-proof { grid-template-columns: 1fr; gap: .9rem; margin-top: 2.5rem; }
  .hero-proof > div + div { border-left: 0; padding-left: 0; }
  .hero-proof > div { border-bottom: 1px solid rgba(255,255,255,.14); padding-bottom: .8rem; }
  .section-pad { padding-top: 5rem; padding-bottom: 5rem; }
  .intro { gap: 2rem; }
  .section-number { top: 2rem; }
  .practice-card { padding: 2rem 1.35rem; }
  blockquote { padding: 5rem 1.25rem; }
  .attorney-section { gap: 2.5rem; }
  .footer-main { flex-direction: column; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-template-columns: 1fr; gap: .8rem; }
}

.contact-page .site-header { position: static; background: var(--navy-950); }
.contact-main { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact-intro h1 { color: var(--navy-900); font: 600 clamp(2.5rem, 5vw, 4rem)/1.12 var(--serif); margin: 0 0 2rem; }
.contact-intro address { font-style: normal; }
.contact-intro a, .consultation-form a { overflow-wrap: anywhere; }
.consultation-form { padding: clamp(1rem, 3vw, 2.5rem); background: var(--cream); border-top: 3px solid var(--gold-500); }
.consultation-form h2 { font: 600 1.8rem/1.2 var(--serif); margin: 0; }
.consultation-form label { display: block; font-weight: 600; margin-top: 1.2rem; }
.consultation-form input, .consultation-form select, .consultation-form textarea { font: inherit; width: 100%; padding: .7rem; border: 1px solid #87919a; border-radius: 0; background: white; color: var(--ink); }
.consultation-form textarea { resize: vertical; }
.consultation-form button { border: 0; cursor: pointer; font-family: inherit; }
.consultation-form :focus-visible { outline: 3px solid var(--emerald-700); outline-offset: 3px; }
@media(max-width: 900px) { .contact-main { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
