:root {
  --navy-deep: #0B193C;
  --navy: #1A1B49;
  --navy-line: #2C2E62;
  --slate: #555E85;
  --silver: #A4ABB5;
  --text: #2E3048;
  --text-muted: #4A5070;
  --light: #F1F2F6;
  --rule: #DCDEE5;
  --rule-light: #E6E7EC;
  --field-border: #8E95A8;
  --on-dark: #E3E5EE;
  --accent: #F4EF88;
  --serif: 'Libre Baskerville', Georgia, serif;
  --sans: Inter, 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--text); font: 17px/1.65 var(--sans); }
a { color: var(--navy); }
a:hover { color: var(--navy-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--navy); outline-offset: 3px;
}
.on-dark a:focus-visible, .on-dark button:focus-visible { outline-color: #fff; }
input, textarea, button { font: inherit; }
img { display: block; max-width: 100%; }
p { margin: 0; }

.wrap { max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.section { background: #fff; }
.section--tint { background: var(--light); border-top: 1px solid var(--rule-light); }
.section--ruled { border-top: 1px solid var(--rule-light); }
.section--tint-both { border-bottom: 1px solid var(--rule-light); }
.section .wrap { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.section--compact .wrap { padding-top: clamp(64px, 8vw, 96px); padding-bottom: clamp(64px, 8vw, 96px); }
.split { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.split > :first-child { flex: 1 1 280px; }
.split > :last-child { flex: 2 1 420px; max-width: 640px; }

.eyebrow { font-size: 12px; letter-spacing: 0.22em; color: var(--slate); font-weight: 500; text-transform: uppercase; margin-bottom: 20px; }
.h-serif { font-family: var(--serif); font-weight: 400; color: var(--navy); margin: 0; }
.h-xl { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.25; max-width: 760px; }
.h-lg { font-size: clamp(26px, 3vw, 34px); line-height: 1.3; }

/* Header */
.site-header, .hero { background: var(--navy-deep); }
.site-header { border-bottom: 1px solid var(--navy-line); }
.site-header .wrap { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; }
.brand { display: block; padding: 4px 0; }
.brand img { width: clamp(220px, 24vw, 280px); height: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 14px; letter-spacing: 0.04em; }
.nav a { color: var(--on-dark); text-decoration: none; padding: 12px 0; }
.nav a:hover { color: #fff; }
.nav .nav-cta { color: var(--navy-deep); background: #fff; padding: 11px 20px; font-weight: 500; border: 1px solid #fff; }
.nav .nav-cta:hover { color: var(--navy-deep); background: var(--rule); }

/* Hero */
.hero { color: #fff; }
.hero .wrap { padding-top: clamp(72px, 10vw, 136px); padding-bottom: clamp(64px, 8vw, 112px); }
.hero .eyebrow { color: var(--silver); margin-bottom: 28px; letter-spacing: 0.22em; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5.4vw, 64px); line-height: 1.15; letter-spacing: -0.01em; max-width: 760px; margin: 0; }
.hero-rule { width: 64px; height: 2px; background: var(--accent); margin: 40px 0; }
.hero-lede { max-width: 620px; font-size: 18px; line-height: 1.7; color: var(--on-dark); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 44px; }
.btn-light { color: var(--navy-deep); background: #fff; text-decoration: none; padding: 15px 28px; font-weight: 500; font-size: 15px; letter-spacing: 0.02em; }
.btn-light:hover { color: var(--navy-deep); background: var(--rule); }
.link-underline { color: #fff; text-decoration: none; font-size: 15px; padding: 12px 0; border-bottom: 1px solid var(--accent); }
.link-underline:hover { color: #fff; }
.hero-place { margin-top: 64px; font-size: 13px; letter-spacing: 0.12em; color: var(--silver); }
.hero-photo { display: none; }
@media (min-width: 960px) {
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: 64px; align-items: center; }
  .hero-photo { display: block; }
  .hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border: 1px solid var(--navy-line); background: var(--navy); }
}

/* Practice */
.section-intro { margin-top: 28px; max-width: 680px; }
.rows { margin-top: 56px; border-top: 1px solid var(--silver); }
.row { display: flex; flex-wrap: wrap; gap: 12px 48px; padding: 32px 0; border-bottom: 1px solid var(--rule); }
.row:last-child { border-bottom-color: var(--silver); }
.row h3 { margin: 0; flex: 1 1 240px; font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--navy); line-height: 1.35; }
.row p { flex: 2 1 380px; max-width: 640px; }

/* Approach */
.approach-body p + p { margin-top: 20px; }

/* Attorney */
.attorney { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 72px; }
.attorney-photo { flex: 0 1 380px; min-width: 240px; }
.attorney-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border: 1px solid var(--silver); background: var(--navy); }
.attorney-copy { flex: 1 1 380px; max-width: 620px; }
.attorney h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.2; }
.attorney-tag { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--slate); }
.thin-rule { width: 64px; height: 1px; background: var(--silver); margin: 32px 0; }
.attorney-copy p + p { margin-top: 20px; }

/* Firm */
.team { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--silver); }
.team > div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--rule); }
.team .name { font-family: var(--serif); font-size: 19px; color: var(--navy); }
.team .role { margin-top: 6px; font-size: 13px; letter-spacing: 0.12em; color: var(--slate); text-transform: uppercase; }

/* Payment */
.phone-large { display: inline-block; margin-top: 28px; font-family: var(--serif); font-size: clamp(26px, 3vw, 32px); color: var(--navy-deep); text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--silver); }
.note { margin-top: 20px; font-size: 15px; color: var(--text-muted); }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 48px 72px; }
.contact-info { flex: 1 1 300px; }
.contact-info .lede { margin-top: 24px; max-width: 420px; }
.contact-details { margin-top: 36px; border-top: 1px solid var(--silver); padding-top: 24px; display: flex; flex-direction: column; gap: 20px; }
.label-sm { font-size: 12px; letter-spacing: 0.18em; color: var(--slate); text-transform: uppercase; }
.contact-phone { display: inline-block; margin-top: 4px; font-family: var(--serif); font-size: 20px; color: var(--navy); text-decoration: none; padding: 6px 0; }
.contact-details address { font-style: normal; margin-top: 6px; color: var(--navy); }
.form-col { flex: 1.4 1 400px; max-width: 620px; }
.form { display: flex; flex-direction: column; gap: 20px; border-top: 1px solid var(--silver); padding-top: 28px; }
.form .eyebrow { margin: 0; }
.form-row { display: flex; flex-wrap: wrap; gap: 20px; }
.field { flex: 1 1 240px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; color: var(--navy); }
.field input, .field textarea { border: 1px solid var(--field-border); background: #fff; color: var(--navy); font-size: 16px; border-radius: 0; }
.field input { height: 48px; padding: 0 14px; }
.field textarea { padding: 12px 14px; line-height: 1.5; resize: vertical; }
.form-notice { font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.btn-dark { min-height: 50px; padding: 0 32px; background: var(--navy-deep); color: #fff; border: 1px solid var(--navy-deep); font-size: 15px; font-weight: 500; letter-spacing: 0.02em; cursor: pointer; border-radius: 0; }
.btn-dark:hover { background: var(--navy); }
.btn-dark:disabled { opacity: 0.6; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border: 1px solid var(--silver); background: var(--light); padding: 40px 32px; font-family: var(--serif); font-size: 22px; color: var(--navy); }
.form-error { font-size: 15px; color: #8A1F1F; }
[hidden] { display: none !important; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #D3D6E2; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 48px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; padding-bottom: 32px; border-bottom: 1px solid var(--navy-line); font-size: 14px; }
.footer-top img { width: 240px; height: auto; margin: -8px 0 4px; }
.footer-top p { margin-top: 2px; }
.footer-top img + p { margin-top: 8px; }
.footer-top a { display: inline-block; margin-top: 2px; color: #fff; text-decoration: none; padding: 4px 0; }
.disclaimer { margin-top: 28px; font-size: 13px; line-height: 1.6; color: var(--silver); max-width: 760px; }
.copyright { margin-top: 12px; font-size: 13px; color: var(--silver); }

/* Mobile navigation: hamburger */
.nav-toggle { display: none; background: none; border: 1px solid var(--navy-line); width: 44px; height: 44px; padding: 0; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 640px) {
  .js .nav-toggle { display: flex; }
  .js .site-header .wrap { justify-content: space-between; align-items: center; column-gap: 16px; row-gap: 0; }
  .js .brand { flex: 1 1 0; min-width: 0; }
  .js .brand img { width: 100%; max-width: 280px; }
  .js .nav-toggle { flex: 0 0 44px; }
  .js .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 12px; }
  .js .nav.is-open { display: flex; }
  .js .nav a { padding: 14px 0; border-top: 1px solid var(--navy-line); }
  .js .nav .nav-cta { margin-top: 12px; text-align: center; padding: 12px 20px; }
}
