:root {
  --navy: #0E1E45;
  --navy-2: #1A2C58;
  --gold: #B98A3E;
  --gold-dark: #9E7431;
  --paper: #F5F6F8;
  --white: #FFFFFF;
  --ink: #1B2233;
  --slate: #586379;
  --line: #DCE0E7;
  --field: #C7CDD8;
  --muted: #EEF0F3;
  --display: "Marcellus", "Trajan Pro", Georgia, serif;
  --title: "Cinzel", "Marcellus", Georgia, serif;
  --body: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}

*, ::before, ::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--body); }
main { flex: 1; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; color: var(--navy); text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 20; background: var(--white); padding: 8px 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn { display: inline-block; padding: 14px 22px; font: 600 14px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; text-align: center; border: 1px solid transparent; border-radius: 2px; background: var(--gold); color: var(--white); cursor: pointer; }
.btn:hover { background: var(--gold-dark); }
.btn-big { display: inline-flex; align-items: center; justify-content: center; padding: 22px 30px; font: 700 clamp(17px, 2vw, 21px)/1.2 var(--title); letter-spacing: .08em; text-transform: none; border-radius: 4px; background: var(--navy); box-shadow: 0 10px 24px rgba(14,30,69,.22), inset 0 -3px 0 var(--gold); transition: transform .15s, box-shadow .15s, background .15s; }
.btn-big:hover { background: var(--navy-2); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(14,30,69,.28), inset 0 -3px 0 var(--gold); }
@media (prefers-reduced-motion: reduce) { .btn-big, .btn-big:hover { transition: none; transform: none; } }

/* Header banner */
.top { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; min-height: 96px; padding-block: 12px; }
.brand img { display: block; height: 64px; width: auto; }
.top nav ul { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.top nav a { display: block; padding: 12px 18px; font-size: 17px; font-weight: 500; letter-spacing: .04em; text-decoration: none; color: var(--navy); border-bottom: 2px solid transparent; }
.top nav a:hover { border-bottom-color: var(--gold); }
.top nav a.cta { margin-left: 6px; background: var(--navy); color: var(--white); border-radius: 2px; border-bottom: 0; }
.top nav a.cta:hover { background: var(--navy-2); }
.menu-btn { display: none; }
.reach { display: grid; gap: 6px; }
.reach a { display: flex; align-items: center; gap: 9px; font-size: 15px; color: var(--navy); text-decoration: none; white-space: nowrap; }
.reach a:hover { color: var(--gold-dark); }
.reach svg { flex: 0 0 auto; width: 17px; height: 17px; fill: var(--gold); }
.reach svg.line-ico { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linejoin: round; }
@media (min-width: 1181px) {
  .top .wrap { flex-wrap: nowrap; gap: 28px; }
  .brand img { height: 58px; }
  .head-reach { margin-left: auto; margin-right: 8px; }
  .top nav ul { flex-wrap: nowrap; }
  .top nav a { padding: 12px 14px; font-size: 16px; white-space: nowrap; }
}

@media (max-width: 1180px) {
  .top .wrap { min-height: 72px; }
  .top .brand { margin-right: auto; }
  .brand img { height: 44px; }
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: none; border: 1px solid var(--line); border-radius: 2px; cursor: pointer; }
  .menu-btn span { display: block; height: 2px; background: var(--navy); }
  .head-reach { order: 3; width: 100%; grid-template-columns: auto auto; justify-content: start; gap: 6px 22px; padding-bottom: 4px; }
  .head-reach a { font-size: 14px; }
  .menu-btn { order: 2; }
  .top nav { display: none; width: 100%; order: 4; }
  .top nav.open { display: block; }
  .top nav ul { flex-direction: column; gap: 0; padding-bottom: 8px; }
  .top nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .top nav a.cta { margin: 10px 0 0; text-align: center; }
}

/* Splash picture */
.hero { position: relative; background: var(--navy); }
.hero picture { display: block; max-width: var(--wrap); margin-inline: auto; }
.hero img { display: block; width: 100%; height: clamp(340px, 48vw, 560px); object-fit: cover; object-position: 50% 22%; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--gold); }

/* Sections */
.band { padding-block: 48px; }
.band.alt { background: var(--white); }
.band.intro { padding-block: 28px 30px; }
.intro .wrap { display: grid; justify-items: center; gap: 18px; text-align: center; }
.intro h1 { max-width: 24em; font: 700 clamp(26px, 3.6vw, 44px)/1.2 var(--title); letter-spacing: .02em; }

/* Diamond divider */
.rule { display: flex; align-items: center; gap: 14px; }
.rule::before, .rule::after { content: ""; width: 64px; height: 1px; background: var(--gold); }
.rule span { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }

.sec-head { max-width: 640px; margin-bottom: 20px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
.bio { display: grid; gap: 18px; max-width: 760px; font-size: clamp(18px, 1.8vw, 20px); line-height: 1.7; }
.bio strong { font-weight: 600; color: var(--navy); }
#about .bio { max-width: 820px; font-size: clamp(19px, 2vw, 22px); }
#about .bio p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 600px) { #about .bio p { text-align: left; } }
.bio h3 { margin-top: 18px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
#about .sec-head h2, #about .bio h3 { text-decoration: underline 2px var(--gold); text-underline-offset: 10px; text-decoration-skip-ink: none; padding-bottom: 6px; }
.inline-link { color: var(--navy); font-weight: 600; text-decoration: underline 1px var(--gold); text-underline-offset: 4px; }
.inline-link:hover { color: var(--gold-dark); }

/* Practice areas */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.card h3 { margin-bottom: 0; font: 700 20px/1.3 var(--title); }
.card p { color: var(--slate); }

/* Mediation */
.mediation { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.mediation > div { flex: 1 1 520px; }

/* Contact */
.contact { display: grid; gap: 28px; }
.contact > * { width: 100%; max-width: 640px; }
.lines { border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line span { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.line a { font-size: 17px; color: var(--navy); text-decoration: none; word-break: break-word; }
.line a:hover { text-decoration: underline; }

.form { display: grid; gap: 18px; padding: 28px; background: var(--white); border: 1px solid var(--line); }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.form input, .form textarea { width: 100%; padding: 12px 14px; font: 16px/1.5 var(--body); color: var(--ink); text-transform: none; letter-spacing: 0; background: var(--white); border: 1px solid var(--field); border-radius: 2px; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.form textarea { resize: vertical; min-height: 140px; }
.form .btn { justify-self: start; min-width: 140px; }
.fine { font-size: 13px; color: var(--slate); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-left: 4px solid; background: var(--white); }
.notice.ok { border-color: #2E6A4E; color: #1F4A36; }
.notice.err { border-color: #B52B27; color: #8A1F1C; }

/* Footer */
.site-footer { padding-block: 40px 28px; background: var(--navy); color: #AEB9CF; font-size: 13px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer img { display: block; height: 56px; width: auto; }
.site-footer .reach { display: grid; gap: 10px; }
.site-footer .reach a { font-size: 16px; color: var(--white); text-decoration: none; }
.site-footer .reach a:hover { color: var(--gold); }
.site-footer .legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
@media (max-width: 600px) { .site-footer img { height: 40px; } }
