:root {
  --ink: #16202a;
  --muted: #5d6874;
  --line: #dbe1e7;
  --paper: #ffffff;
  --wash: #f4f7f9;
  --accent: #255d88;
  --accent-dark: #194565;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
}

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

.wordmark {
  color: var(--ink);
  font-size: 1.06rem;
  font-weight: 680;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.site-header nav a,
.site-footer nav a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"],
.site-footer nav a:hover,
.site-footer nav a[aria-current="page"] {
  color: var(--ink);
}

.hero {
  padding: clamp(90px, 13vw, 168px) 0 clamp(84px, 11vw, 140px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: clamp(48px, 8vw, 116px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 720;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 610;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 620;
}

h3 {
  font-size: 1.28rem;
  font-weight: 650;
}

.hero-copy {
  padding-bottom: 9px;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-copy p {
  margin-bottom: 28px;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 650;
  text-decoration-thickness: 1px;
}

.section {
  padding: clamp(76px, 10vw, 124px) 0;
  border-top: 1px solid var(--line);
}

.section-tinted {
  background: var(--wash);
}

.section-heading {
  max-width: 670px;
  margin-bottom: 50px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 250px;
  padding: 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-card h3 {
  max-width: 390px;
  margin: 52px 0 16px;
}

.service-card p {
  max-width: 390px;
  margin-bottom: 0;
  color: var(--muted);
}

.service-number {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.engagement-note {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 36px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.engagement-note h3,
.engagement-note p {
  margin-bottom: 0;
}

.engagement-note p {
  max-width: 660px;
  color: var(--muted);
}

.split-layout,
.contact-grid,
.legal-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(56px, 10vw, 136px);
}

.split-layout .section-heading {
  margin-bottom: 0;
}

.prose {
  color: #35414d;
}

.prose p {
  margin-bottom: 1.25em;
}

.compact-prose {
  max-width: 700px;
  font-size: 1.04rem;
}

.contact-section {
  background: var(--ink);
  color: var(--paper);
}

.contact-section .eyebrow {
  color: #8fc2e8;
}

.contact-intro {
  max-width: 430px;
  color: #c8d0d7;
  font-size: 1.05rem;
}

address {
  margin-top: 42px;
  color: #c8d0d7;
  font-style: normal;
}

address strong {
  color: var(--paper);
}

.contact-form {
  display: grid;
  gap: 22px;
}

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

.form-field label {
  font-size: 0.86rem;
  font-weight: 650;
}

input,
textarea {
  width: 100%;
  border: 1px solid #53616d;
  border-radius: 2px;
  color: var(--paper);
  background: #202c36;
  font: inherit;
}

input {
  min-height: 48px;
  padding: 10px 13px;
}

textarea {
  min-height: 164px;
  padding: 12px 13px;
  resize: vertical;
}

input:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #8fc2e8;
  outline-offset: 3px;
}

button {
  justify-self: start;
  min-height: 48px;
  padding: 11px 22px;
  border: 1px solid #8fc2e8;
  border-radius: 2px;
  color: var(--ink);
  background: #a9d5f4;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  background: #c2e3fa;
}

.form-note {
  max-width: 540px;
  margin-bottom: 0;
  color: #aeb9c2;
  font-size: 0.84rem;
}

.form-note a {
  color: #dceeff;
}

.legal-page {
  padding: clamp(76px, 10vw, 128px) 0;
}

.legal-intro h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 5.4rem);
}

.legal-intro > p:last-child {
  color: var(--muted);
  font-size: 0.88rem;
}

.legal-content {
  max-width: 720px;
}

.legal-content > p:first-child {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.1rem;
}

.legal-content h2 {
  margin: 48px 0 16px;
  font-size: 1.5rem;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
}

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

.footer-inner p {
  margin-bottom: 0;
  font-size: 0.86rem;
}

.footer-name {
  color: var(--ink);
  font-weight: 650;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  .header-inner {
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-header nav {
    gap: 5px 18px;
  }

  .hero-grid,
  .split-layout,
  .contact-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .split-layout,
  .contact-grid,
  .legal-grid {
    gap: 44px;
  }

  .hero {
    padding-top: 76px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 220px;
    padding: 28px;
  }

  .engagement-note {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .copyright {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
