:root {
  --navy: #240661;
  --navy-deep: #170440;
  --ink: #1d1b2a;
  --muted: #5d5a6e;
  --line: #e3e0ea;
  --paper: #ffffff;
  --paper-alt: #f6f5f9;
  --gold: #b08d3e;
  --max: 1120px;
  --serif: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--navy-deep); }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
.wrap { width: min(var(--max), 100% - 2rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .5rem 1rem; }
.skip:focus { left: 1rem; z-index: 100; }

/* Header */
.topbar { background: var(--navy-deep); color: #d7d2e6; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand img { height: 36px; width: auto; }
.brand span { font-family: var(--serif); font-size: 1.05rem; color: var(--navy-deep); letter-spacing: .02em; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.8rem; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--gold); color: var(--navy); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; padding: .45rem .6rem; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 4px 0; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--navy-deep); overflow: hidden; }
.hero picture img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: .35; filter: grayscale(.2); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(23,4,64,.95) 0%, rgba(36,6,97,.75) 55%, rgba(36,6,97,.35) 100%); }
.hero .wrap { position: relative; z-index: 1; padding: clamp(4rem, 10vw, 8rem) 0; max-width: 760px; margin-left: max(1rem, (100% - var(--max)) / 2); }
.hero .eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; color: #d4c27f; margin-bottom: 1rem; }
.hero h1 { color: #fff; margin-bottom: .4rem; }
.hero .sub { font-family: var(--serif); font-size: 1.5rem; color: #e6e1f2; margin-bottom: 2rem; }
.btn { display: inline-block; padding: .85rem 1.6rem; border-radius: 4px; font-weight: 600; text-decoration: none; font-size: .95rem; transition: background .15s, color .15s; }
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: #9a7a33; }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.5); margin-left: .6rem; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }

/* Page header */
.page-head { background: var(--paper-alt); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding: 3.5rem 0 2.5rem; }
.page-head p { color: var(--muted); max-width: 60ch; margin: 0; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--paper-alt); }
.section-head { max-width: 62ch; margin-bottom: 2.5rem; }
.section-head .eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 600; margin-bottom: .5rem; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 2rem; }
.card h3 { margin-top: 0; }
.card .rule { width: 42px; height: 3px; background: var(--gold); margin-bottom: 1.2rem; }
.card ul { padding-left: 1.2rem; margin: .5rem 0 0; color: var(--muted); }
.card .more { font-weight: 600; text-decoration: none; }

/* Attorney profiles */
.attorney { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; padding: 3rem 0; border-top: 1px solid var(--line); }
.attorney:first-of-type { border-top: 0; padding-top: 0; }
.attorney h2 { margin-bottom: .2rem; }
.attorney .role { color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin-bottom: 1.2rem; }
.creds { background: var(--paper-alt); border-radius: 8px; padding: 1.5rem; font-size: .93rem; align-self: start; position: sticky; top: 96px; }
.creds dt { font-weight: 700; color: var(--navy-deep); margin-top: 1rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.creds dt:first-child { margin-top: 0; }
.creds dd { margin: .3rem 0 0; color: var(--ink); }
.attorney-index { display: flex; gap: 1rem; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.attorney-index a { text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; font-size: .9rem; font-weight: 500; }
.attorney-index a:hover { border-color: var(--navy); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.form-row { margin-bottom: 1.1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
input, textarea { width: 100%; font: inherit; padding: .7rem .85rem; border: 1px solid #c9c5d6; border-radius: 6px; background: #fff; }
input:focus, textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 1rem; font-weight: 500; min-height: 1.5em; }
.form-status.ok { color: #1b6e3a; }
.form-status.err { color: #a32626; }
.info-card { background: var(--paper-alt); border-radius: 8px; padding: 1.8rem; }
.info-card address { font-style: normal; line-height: 1.8; }
.map { border: 0; width: 100%; aspect-ratio: 4/3; border-radius: 8px; margin-top: 1.2rem; }

/* CTA band */
.cta { background: var(--navy); color: #fff; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 3rem 0; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0; }
.cta p { margin: .3rem 0 0; color: #d7d2e6; }
.cta .btn-primary { white-space: nowrap; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c6c0d8; font-size: .9rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding: 3rem 0 2rem; }
.site-footer h3 { color: #fff; font-size: 1rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .12em; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; flex-wrap: wrap; font-size: .8rem; }

@media (max-width: 860px) {
  .attorney, .contact-grid { grid-template-columns: 1fr; }
  .creds { position: static; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: .5rem 1rem 1rem; }
  .nav a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .form-grid { grid-template-columns: 1fr; }
  .brand span { display: none; }
  .btn-ghost { margin-left: 0; margin-top: .6rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
