:root {
  --ink: #17212b;
  --muted: #66717d;
  --line: #d9dde1;
  --surface: #f3f4f5;
  --white: #ffffff;
  --accent: #a7894d;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: 150px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 42px);
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: opacity 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 0.58;
}

.hero {
  min-height: 68vh;
  display: grid;
  align-items: center;
  padding: 110px 0 90px;
}

.hero-inner {
  max-width: 920px;
}

.eyebrow,
.section-label {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 900px;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.98;
}

.lead {
  margin-top: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  color: var(--accent);
}

.intro {
  max-width: 710px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.section {
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(40px, 8vw, 100px);
  align-items: start;
}

h2 {
  max-width: 690px;
  font-size: clamp(2.15rem, 4vw, 4rem);
  line-height: 1.08;
}

.section p:not(.section-label) {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.office-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 38px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.office-list span {
  padding: 24px 16px;
  text-align: center;
  font-weight: 600;
  border-right: 1px solid var(--line);
}

.office-list span:last-child {
  border-right: 0;
}

.contact-section {
  padding-bottom: 110px;
}

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.78rem;
}

@media (max-width: 760px) {
  .nav-wrap {
    min-height: auto;
    padding: 20px 0 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-logo {
    width: 138px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .site-nav a {
    white-space: nowrap;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 60vh;
    padding: 78px 0 64px;
  }

  .section {
    padding: 64px 0;
  }

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

  .office-list {
    grid-template-columns: 1fr 1fr;
  }

  .office-list span {
    border-bottom: 1px solid var(--line);
  }

  .office-list span:nth-child(even) {
    border-right: 0;
  }

  .office-list span:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .footer-inner {
    padding: 24px 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .container,
  .nav-wrap {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.3rem);
  }

  .office-list {
    grid-template-columns: 1fr;
  }

  .office-list span,
  .office-list span:nth-child(even) {
    border-right: 0;
  }

  .office-list span:last-child {
    grid-column: auto;
  }
}
