:root {
  --ink: #162536;
  --muted: #475664;
  --paper: #faf9f6;
  --line: #cbd0d1;
  --sand: #e8d9bf;
  --navy: #101e2d;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; }
::selection { color: var(--navy); background: var(--sand); }
a { color: inherit; text-underline-offset: .26em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid #5188a5; outline-offset: 5px; }
img { display: block; width: 100%; height: auto; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.03; letter-spacing: -.035em; margin: 0; }
h2 { font-size: clamp(2.4rem, 5vw, 4.5rem); margin-bottom: .65em; }
h3 { font-weight: 600; font-size: 1.17rem; line-height: 1.25; margin: 0 0 .55rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.wrap { width: min(100% - 112px, 1240px); margin-inline: auto; }
.top, .bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; }
.brand { font-family: var(--display); font-size: 1.4rem; white-space: nowrap; text-decoration: none; }
.brand span { color: var(--muted); }
nav { display: flex; gap: clamp(1rem, 3vw, 3rem); }
nav a { font-size: .94rem; text-decoration: none; }
nav a:hover, .brand:hover { text-decoration: underline; }
.top-contact { font-size: .94rem; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: var(--paper); }
.hero-photo { position: absolute; z-index: -2; inset: 0; height: 100%; object-fit: cover; object-position: center 26%; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #101e2dfb 0%, #101e2ded 28%, #101e2d91 47%, #101e2d00 72%); }
.hero-inner { min-height: clamp(570px, 54vw, 750px); display: flex; align-items: center; padding-block: 56px; }
.hero-copy { width: min(43%, 440px); }
h1 { font-size: clamp(4rem, 7vw, 6rem); }
.subtitle { color: var(--sand); font-size: clamp(1.13rem, 2vw, 1.5rem); margin-top: 1.15rem; }
.lead { color: #eef0f1; font-size: 1.06rem; max-width: 37ch; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; margin-top: 1rem; padding: 11px 22px; background: var(--sand); color: var(--navy); text-decoration: none; font-weight: 600; }
.button:hover { background: #f6e8d0; }
.section { padding-block: clamp(60px, 8vw, 112px); }
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 9vw, 140px); }
.about img { max-height: 560px; object-fit: cover; object-position: 50% 30%; }
.about p, article p { color: var(--muted); }
.about p { font-size: 1.12rem; max-width: 52ch; }
.services { background: #eaf0f1; }
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); }
.rows article { border-top: 1px solid var(--line); padding-block: 20px; }
.rows article:last-child { border-bottom: 1px solid var(--line); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 60px); }
.principles article { border-top: 1px solid var(--line); padding-top: 18px; }
.partners { border-top: 1px solid var(--line); }
.contact { color: var(--paper); background: var(--navy); }
.contact p { color: #d3dee6; max-width: 33ch; }
address { font-style: normal; }
address a { display: grid; grid-template-columns: 90px minmax(0,1fr); align-items: baseline; gap: 10px; padding-block: 13px; border-top: 1px solid #52616f; text-decoration: none; }
address a:last-child { border-bottom: 1px solid #52616f; }
address a:hover strong { text-decoration: underline; }
address span { color: var(--sand); }
address strong { font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 500; overflow-wrap: anywhere; }
.bottom { font-size: .875rem; color: var(--muted); }
@media (max-width: 940px) { .wrap { width: calc(100% - 64px); } .hero-photo { object-position: 62% 25%; } }
@media (max-width: 820px) {
  .wrap { width: calc(100% - 40px); }
  .top { flex-wrap: wrap; row-gap: 8px; padding-block: 12px; }
  nav { order: 2; width: 100%; flex-wrap: wrap; column-gap: 22px; row-gap: 0; }
  nav a, .top-contact { display: inline-flex; align-items: center; min-height: 44px; }
  .hero { display: flex; flex-direction: column; }
  .hero::after { display: none; }
  .hero-photo { position: static; height: auto; aspect-ratio: 1.32; object-position: 79% 22%; }
  .hero-inner { min-height: 0; padding-block: 30px 42px; }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(2.6rem, 11vw, 4.2rem); }
  h1 br { display: none; }
  .about, .split, .principles { grid-template-columns: 1fr; gap: 24px; }
  .about img { order: 1; width: min(100%, 450px); max-height: 490px; }
  .split h2 { margin-bottom: 0; }
  .contact h2 { margin-bottom: .35em; }
  .services h2 br { display: none; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
