@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --ink: #191b1e;
  --muted: #51545a;
  --paper: #f8f7f2;
  --rule: #cccac1;
  --blue: #183f9f;
  --orange: #f4a137;
  --body: "Instrument Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--body); }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.frame { width: min(100% - 72px, 1200px); margin-inline: auto; }
.skip-link { position: absolute; top: -6rem; left: 1rem; padding: .5rem 1rem; background: var(--paper); z-index: 3; }
.skip-link:focus { top: 1rem; }
.site-header { min-height: 84px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ink); gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; line-height: 1.1; text-decoration: none; font-size: 1.16rem; }
.brand-mark { display: grid; place-items: center; width: 41px; height: 41px; background: var(--blue); color: white; font-size: 1.4rem; }
.brand-detail { display: block; color: var(--muted); font-size: .72rem; font-weight: 600; margin-top: 4px; }
nav { display: flex; align-items: center; gap: clamp(14px, 4vw, 42px); font-size: .9rem; font-weight: 600; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero { padding-block: clamp(48px, 7vw, 92px); display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(32px, 7vw, 92px); align-items: center; }
h1, h2 { font-weight: 700; letter-spacing: -.065em; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(3.2rem, 6.7vw, 6.25rem); }
h1 span { display: block; color: var(--blue); }
h2 { font-size: clamp(2.45rem, 4.9vw, 4.4rem); }
.intro { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 43ch; margin: 25px 0; }
.button { display: inline-flex; gap: 24px; align-items: center; padding: 11px 16px; background: var(--blue); color: white; font-size: .92rem; font-weight: 700; text-decoration: none; width: fit-content; }
.button:hover { background: #112b70; }
.hero-art {
  display: grid;
  grid-template: 1fr .48fr .65fr / 1fr .32fr .58fr;
  gap: clamp(5px, .65vw, 9px);
  padding: clamp(5px, .65vw, 9px);
  aspect-ratio: 1.19;
  background: var(--ink);
}
.art-blue { grid-area: 1 / 1 / 3 / 3; background: var(--blue); }
.art-white { grid-area: 1 / 3; background: #fff; }
.art-orange { grid-area: 2 / 3 / 4 / 4; background: var(--orange); }
.art-paper { grid-area: 3 / 1; background: #ebe8dd; }
.art-ink { grid-area: 3 / 2; background: #303237; }
.services, .approach { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(28px, 7vw, 100px); padding-block: clamp(38px, 6vw, 76px); border-top: 1px solid var(--ink); scroll-margin-top: 16px; }
.service-list, .steps { margin: 0; padding: 0; }
.service-list div, .steps li { padding: 17px 0; border-bottom: 1px solid var(--rule); }
.service-list div:first-child, .steps li:first-child { padding-top: 0; }
.service-list div:last-child, .steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.service-list dt, .steps h3 { margin: 0 0 4px; font-size: 1.18rem; font-weight: 700; }
.service-list dd, .steps p { margin: 0; color: var(--muted); }
.steps { list-style: none; }
.site-footer { display: flex; gap: 12px 24px; justify-content: space-between; flex-wrap: wrap; color: var(--muted); font-size: .8rem; padding-block: 27px; border-top: 1px solid var(--ink); }
@media (max-width: 760px) {
  .frame { width: calc(100% - 40px); }
  .site-header { min-height: 72px; }
  .hero, .services, .approach { grid-template-columns: 1fr; }
  .hero { padding-block: 48px 38px; gap: 32px; }
  .hero-art { aspect-ratio: 1.65; }
}
@media (max-width: 400px) {
  .frame { width: calc(100% - 32px); }
  .brand { font-size: 1rem; gap: 7px; }
  .brand-mark { width: 32px; height: 32px; font-size: 1.2rem; }
  nav { gap: 12px; font-size: .77rem; }
  h1 { font-size: clamp(2.65rem, 12vw, 3.2rem); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
