@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:wght@500;600&display=swap");

:root {
  --blue: #285488;
  --blue-dark: #1f416d;
  --blue-light: #e8eef5;

  --ink: #263238;
  --text: #48545e;
  --muted: #68737d;

  --paper: #f3f5f7;
  --surface: #f8fafb;
  --white: #ffffff;
  --line: #d5dce3;
  --line-dark: #52749a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  min-height: 82px;
  padding: 0 clamp(22px, 6vw, 90px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(243, 245, 247, 0.96);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-family: Georgia, serif;
  font-size: 13px;
}

.brand strong {
  display: block;
  font-size: 14px;
  letter-spacing: 0.03em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--blue);
  transition: right 180ms ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  right: 0;
}

.hero {
  min-height: 620px;
  display: grid;
  place-content: center;
  padding: 90px 24px;
  text-align: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.2), rgba(232, 238, 245, 0.14)),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.ornament {
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 17px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.hero h1,
h2,
h3 {
  font-family: Aptos Display, Aptos, "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  line-height: 1.15;
}


.hero h1 {
  margin: 0;
  font-size: clamp(43px, 6vw, 78px);
}

.hero h1 em {
  color: #4d6c90;
  font-style: normal;
  font-weight: 500;
}

.intro {
  max-width: 570px;
  margin: 28px auto;
  color: var(--muted);
  font-size: 22px;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  padding: 18px 24px;
  border: 1px solid var(--blue);
  color: var(--blue);
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.06em;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--blue-light);
}

.button.primary {
  background: var(--blue);
  color: var(--white);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.section {
  padding: 110px clamp(24px, 9vw, 140px);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
}

.section h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
}

.copy {
  max-width: 650px;
  color: var(--text);
}

.copy p {
  margin: 0 0 24px;
}

.copy strong {
  color: var(--ink);
}

.muted {
  color: var(--muted);
}

.section-heading {
  margin-bottom: 48px;
}

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

article {
  min-height: 190px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

article:hover {
  background: var(--blue-light);
  border-color: #b9c9da;
}

article span {
  color: var(--blue);
  font-size: 10px;
  letter-spacing: 0.15em;
}

article h3 {
  margin: 16px 0 8px;
  color: var(--ink);
  font-size: 25px;
}

article p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.credentials {
  padding-top: 38px;
  padding-bottom: 38px;
  background: var(--surface);
}

.credentials > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.credentials div div {
  display: flex;
  flex-direction: column;
}

.credentials span,
.contact-grid small {
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 9px;
  letter-spacing: 0.17em;
}

.credentials strong {
  font-size: 13px;
}

.contact {
  padding: 105px clamp(24px, 9vw, 140px);
  background: var(--blue-dark);
  color: var(--paper);
}

.contact .eyebrow {
  color: #b9cde2;
}

.contact h2 {
  margin: 0 0 15px;
  font-size: clamp(45px, 6vw, 75px);
}

.contact > p:not(.eyebrow) {
  color: #d2dce7;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 55px;
}

.contact-grid > * {
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
  color: var(--paper);
  text-decoration: none;
}

.contact-grid > a {
  transition: color 180ms ease;
}

.contact-grid > a:hover,
.contact-grid > a:focus-visible {
  color: #c9d9e9;
}

.contact-grid small {
  display: block;
  color: #b9cde2;
}

.contact-grid strong {
  font-size: 14px;
  font-weight: 500;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(24px, 6vw, 90px);
  background: var(--paper);
  color: var(--muted);
  font-size: 11px;
}

footer strong,
footer span {
  display: block;
  color: var(--ink);
}

footer span {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

@media (max-width: 760px) {
  .site-header {
    height: auto;
    padding: 18px 20px;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    min-height: 560px;
    padding: 75px 20px;
  }

  .hero h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .section {
    padding: 75px 20px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .credentials > div,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contact {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  footer {
    flex-direction: column;
  }
}

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