:root {
  --navy: #0b1828;
  --navy-2: #13243a;
  --charcoal: #252a31;
  --ink: #1b2028;
  --muted: #69707a;
  --ivory: #f7f3ea;
  --paper: #ffffff;
  --line: #d8d2c6;
  --line-dark: rgba(255, 255, 255, 0.16);
  --gold: #a9894f;
  --gold-dark: #806535;
  --shadow: 0 18px 48px rgba(11, 24, 40, 0.11);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Arial, Helvetica, 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: 16px;
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration-color: rgba(169, 137, 79, 0.55);
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--gold-dark);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
}

h1 {
  max-width: 780px;
  font-size: 5.75rem;
}

h2 {
  font-size: 3.15rem;
}

h3 {
  font-size: 1.45rem;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  border: 1px solid var(--gold);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 210, 198, 0.86);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 38px rgba(11, 24, 40, 0.08);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.1;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border: 1px solid rgba(169, 137, 79, 0.35);
  background: var(--navy);
}

.brand span {
  max-width: 190px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  position: relative;
  padding: 12px 14px;
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 8px;
  left: 14px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 1px;
  background: var(--navy);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(11, 24, 40, 0.96), rgba(19, 36, 58, 0.93)),
    radial-gradient(circle at 82% 18%, rgba(169, 137, 79, 0.32), transparent 28%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background:
    linear-gradient(90deg, transparent 0 16%, rgba(255, 255, 255, 0.08) 16.08% 16.18%, transparent 16.25% 100%),
    linear-gradient(0deg, transparent 0 24%, rgba(255, 255, 255, 0.08) 24.08% 24.18%, transparent 24.25% 100%);
  background-size: 150px 150px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 70px;
  align-items: center;
  padding: 76px 0 88px;
}

.hero h1,
.hero h2,
.hero h3 {
  color: #fff;
}

.hero-copy {
  display: grid;
  gap: 24px;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.heritage {
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.hero-lede {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.button-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
}

.button-quiet {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}

.hero .button-quiet,
.error-page .button-quiet {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
}

.button-quiet:hover {
  color: var(--gold-dark);
  border-color: var(--gold);
}

.hero .button-quiet:hover,
.error-page .button-quiet:hover {
  color: #fff;
  border-color: var(--gold);
}

.button-light {
  margin-top: 28px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.button-light:hover {
  color: #fff;
  border-color: var(--gold);
}

.trust-line {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

.hero-panel {
  position: relative;
  min-height: 520px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.2);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(169, 137, 79, 0.35);
  pointer-events: none;
}

.linework {
  position: absolute;
  top: 36px;
  right: 36px;
  width: 170px;
  height: 170px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.linework::before,
.linework::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(169, 137, 79, 0.45);
}

.linework::before {
  inset: 26px -16px -16px 26px;
}

.linework::after {
  inset: 58px -34px -34px 58px;
}

.profile-list {
  position: relative;
  z-index: 1;
  display: grid;
  height: 100%;
  margin: 0;
  align-content: end;
}

.profile-list div {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.profile-list dt {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.profile-list dd {
  margin: 4px 0 0;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.38rem;
  line-height: 1.2;
}

.section {
  padding: 104px 0;
}

.section-ivory {
  background: var(--ivory);
  border-block: 1px solid var(--line);
}

.section-navy {
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(120deg, rgba(11, 24, 40, 0.98), rgba(19, 36, 58, 0.96)),
    linear-gradient(90deg, transparent, rgba(169, 137, 79, 0.18));
}

.section-navy h2,
.section-navy h3 {
  color: #fff;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
}

.section-kicker {
  display: grid;
  align-content: start;
  gap: 18px;
}

.section-head {
  width: min(760px, 100%);
  display: grid;
  gap: 18px;
  margin-bottom: 44px;
}

.copy-block {
  display: grid;
  gap: 18px;
  color: var(--charcoal);
  font-size: 1.04rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 30px;
  background: #fff;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  position: relative;
  z-index: 1;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card p,
.value p,
.service-item p {
  color: var(--muted);
}

.jurisdiction-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.jurisdiction-preview span {
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 16px;
  color: #fff;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--serif);
}

.contact-strip {
  padding: 54px 0;
  color: #fff;
  background: var(--navy);
}

.contact-strip h2 {
  color: #fff;
  font-size: 2.45rem;
}

.contact-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.page-hero {
  padding: 112px 0 76px;
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(120deg, rgba(11, 24, 40, 0.98), rgba(19, 36, 58, 0.94)),
    linear-gradient(90deg, transparent, rgba(169, 137, 79, 0.2));
  border-bottom: 4px solid var(--gold);
}

.page-hero .container {
  display: grid;
  gap: 20px;
}

.page-hero h1 {
  color: #fff;
  font-size: 4.6rem;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.value {
  min-height: 250px;
  display: grid;
  gap: 15px;
  align-content: start;
  padding: 32px;
  background: var(--ivory);
}

.value span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-item {
  min-height: 220px;
  padding: 30px;
  background: #fff;
}

.service-item h2 {
  margin-bottom: 16px;
  font-size: 1.65rem;
}

.jurisdiction-map {
  padding: 34px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.jurisdiction-map h3 {
  margin-bottom: 24px;
}

.jurisdiction-map ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.jurisdiction-map li {
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--charcoal);
  font-family: var(--serif);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 40px;
  align-items: start;
}

.contact-panel {
  display: grid;
  gap: 18px;
  padding: 34px;
  color: #fff;
  background: var(--navy);
}

.contact-panel h2 {
  color: #fff;
  font-size: 2rem;
}

.contact-panel ul {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}

.contact-panel li {
  color: rgba(255, 255, 255, 0.78);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--ivory);
}

.field,
.form-actions {
  display: grid;
  gap: 8px;
}

.field-full,
.form-actions {
  grid-column: 1 / -1;
}

label {
  color: var(--charcoal);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c9c1b3;
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

textarea {
  resize: vertical;
}

.form-actions {
  align-items: start;
}

.form-actions .button {
  width: fit-content;
  cursor: pointer;
}

.form-message {
  color: var(--charcoal);
  min-height: 1.5em;
}

.legal-copy {
  max-width: 880px;
}

.legal-copy h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: 1.65rem;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy p {
  color: var(--charcoal);
}

.error-page {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  padding: 92px 0;
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(120deg, rgba(11, 24, 40, 0.98), rgba(19, 36, 58, 0.94)),
    radial-gradient(circle at 75% 18%, rgba(169, 137, 79, 0.25), transparent 28%);
}

.error-page .narrow {
  display: grid;
  gap: 24px;
}

.error-page h1 {
  color: #fff;
}

.site-footer {
  padding: 56px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #08111d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 38px;
  align-items: start;
}

.site-footer h2 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 8px 20px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}

@media (max-width: 980px) {
  h1 {
    font-size: 4.25rem;
  }

  h2 {
    font-size: 2.65rem;
  }

  .page-hero h1 {
    font-size: 3.55rem;
  }

  .contact-strip h2 {
    font-size: 2.15rem;
  }

  .header-inner {
    min-height: 74px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .two-column,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-panel {
    min-height: 430px;
  }

  .service-grid,
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jurisdiction-preview,
  .jurisdiction-map ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: 3rem;
  }

  h2,
  .page-hero h1 {
    font-size: 2.35rem;
  }

  .contact-strip h2 {
    font-size: 1.85rem;
  }

  .container,
  .narrow {
    width: min(100% - 28px, 1160px);
  }

  .brand span {
    max-width: 150px;
    font-size: 0.96rem;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .hero-grid {
    padding: 54px 0 62px;
  }

  .hero-actions,
  .contact-strip-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .contact-strip .button {
    width: 100%;
  }

  .section {
    padding: 70px 0;
  }

  .page-hero {
    padding: 78px 0 54px;
  }

  .service-grid,
  .service-list,
  .values-grid,
  .jurisdiction-preview,
  .jurisdiction-map ul,
  .contact-form,
  .footer-grid,
  .site-footer nav {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .card,
  .value,
  .service-item,
  .jurisdiction-map,
  .contact-panel,
  .contact-form {
    padding: 24px;
  }

  .hero-panel {
    min-height: 390px;
  }

  .linework {
    width: 120px;
    height: 120px;
  }

  .footer-grid {
    gap: 26px;
  }
}
