@font-face {
  font-family: Barlow Condensed;
  src: url(fonts/barlow.woff2) format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url(fonts/source.woff2) format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #f5f5f2;
  --fog: #ececec;
  --carbon: #232627;
  --charcoal: #3d3d3d;
  --blue: #325365;
  --line: #c7cdcc;
  --edge: clamp(20px, 5vw, 64px);
  font-family: "Source Sans 3", Arial, sans-serif;
  color: var(--carbon);
  background: var(--paper);
  scroll-padding-top: 16px;
  scroll-padding-bottom: 80px;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 18px; line-height: 1.5; }
p, figure, dl, dd { margin: 0; }
a { color: inherit; }
a, button, input, textarea { touch-action: manipulation; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #7c9cb2; outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
h1, h2, dt {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 600;
  line-height: .99;
  text-wrap: balance;
}
h1 { font-size: clamp(54px, 5.3vw, 76px); }
h2 { font-size: clamp(48px, 5.4vw, 76px); }
.wrap { width: min(1200px, calc(100% - var(--edge) * 2)); margin-inline: auto; }
.section { padding-block: clamp(64px, 8vw, 120px); }
.skip { position: absolute; z-index: 4; top: 8px; left: 8px; padding: 12px 16px; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }

.header { background: var(--fog); color: var(--charcoal); }
.header-inner { min-height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.wordmark { font-family: Arial, sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -.045em; }
.header a, .wordmark { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.header a:hover, .wordmark:hover { text-decoration: underline; }
nav { display: flex; gap: 32px; }
.header-call { justify-self: end; font-weight: 700; }

.hero { position: relative; isolation: isolate; background: var(--carbon); color: white; }
.hero-photo { position: absolute; inset: 0 0 0 auto; width: 69%; height: 100%; object-fit: cover; object-position: center 44%; z-index: -1; }
.hero-content { min-height: 568px; display: flex; align-items: center; padding-block: 42px; }
.hero-panel {
  width: min(540px, 54%);
  padding: 34px clamp(26px, 4vw, 56px) 42px 0;
  background: var(--carbon);
  box-shadow: -18vw 0 0 var(--carbon);
}
.hero-panel h1 + p { max-width: 34ch; margin-block: 20px 26px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  color: #fff;
  background: var(--blue);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.button:hover, .mobile-call:hover { background: #223e4f; }
.button.light { color: var(--carbon); background: var(--paper); }
.button.light:hover { background: #d9e6eb; }

.proof { background: var(--blue); color: white; }
.proof-inner { display: grid; grid-template-columns: 1fr 1.35fr 1.13fr; align-items: stretch; font-weight: 650; }
.proof p { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 12px; padding: 19px 18px; border-left: 1px solid #75909e; }
.proof p:first-child { padding-inline-start: 0; border: 0; }
.proof span { color: #e0e9ed; font-weight: 400; }

.services, .contact { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 7vw, 100px); }
.intro { margin-top: 18px; max-width: 37ch; color: #424b4d; }
.service-list { border-top: 1px solid var(--line); }
.service-list div { border-bottom: 1px solid var(--line); padding-block: 19px 22px; }
dt { font-size: 33px; }
dd { margin-top: 7px; max-width: 62ch; color: #424b4d; }

.feature { background: var(--carbon); color: var(--paper); }
.feature-inner { display: grid; grid-template-columns: 1.18fr .82fr; gap: clamp(32px, 7vw, 100px); align-items: center; }
.feature img { aspect-ratio: 5 / 4; object-fit: cover; border-radius: 3px; }
.feature-copy > p { margin-top: 20px; max-width: 44ch; }
.feature figure { margin-top: 32px; padding: 16px 0 0 19px; border-left: 2px solid #8aa6b6; }
blockquote { margin: 0; font-size: 21px; }
figcaption { margin-top: 12px; color: #c5d6df; }

.contact-link { display: table; min-height: 44px; padding-block: 8px; color: var(--blue); overflow-wrap: anywhere; }
.contact-link:first-of-type { margin-top: 18px; }
form { background: var(--fog); border-radius: 3px; padding: clamp(20px, 3vw, 36px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
label { display: block; font-weight: 650; }
input, textarea { display: block; width: 100%; min-height: 48px; margin-top: 5px; border: 1px solid #727c80; border-radius: 3px; background: #fff; padding: 8px 10px; color: var(--carbon); font: inherit; font-weight: 400; }
textarea { resize: vertical; }
.form-note { margin-block: 14px 12px; }

.footer { background: var(--carbon); color: var(--paper); }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; padding-block: 38px; align-items: start; }
.footer a { display: table; min-height: 44px; padding-block: 8px; overflow-wrap: anywhere; }
.footer p + p { margin-top: 4px; }
.mobile-call { display: none; }

@media (max-width: 760px) {
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .header-inner { grid-template-columns: 1fr auto; column-gap: 8px; row-gap: 0; min-height: 0; padding-block: 8px 4px; }
  .header nav { gap: clamp(10px, 4vw, 22px); font-size: 16px; }
  .header .wordmark { grid-column: 1 / -1; font-size: 19px; border-bottom: 1px solid var(--line); }
  .header-call { font-size: 15px; }
  .hero { display: flex; flex-direction: column-reverse; }
  .hero-photo { position: static; width: 100%; height: clamp(212px, 56vw, 380px); object-position: center 38%; }
  .hero-content { display: block; padding-block: 32px; min-height: 0; }
  .hero-panel { width: auto; max-width: 560px; padding: 0; box-shadow: none; }
  h1 { font-size: clamp(38px, 11.8vw, 68px); }
  .hero-panel h1 + p { margin-block: 14px 20px; }
  .proof-inner { grid-template-columns: 1fr; padding-block: 8px; }
  .proof p { padding: 9px 0; border: 0; }
  .proof p + p { border-top: 1px solid #75909e; }
  .services, .contact, .feature-inner, .footer-inner { grid-template-columns: 1fr; }
  .feature img { aspect-ratio: 4 / 3; }
  .footer-inner { gap: 20px; }
  .mobile-call {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 2;
    inset: auto 0 0;
    min-height: calc(56px + env(safe-area-inset-bottom));
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--blue);
    color: white;
    border-top: 1px solid #8aa6b6;
    text-decoration: none;
    font-weight: 700;
  }
  .mobile-call:focus-visible { outline-offset: -5px; }
}
@media (max-width: 420px) {
  .form-row { grid-template-columns: 1fr; }
}
