:root {
  color-scheme: light;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #182134;
  background: #f4f6fa;
  font-synthesis: none;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.6; }
a { color: #294db0; text-underline-offset: .18em; overflow-wrap: anywhere; }
a:focus-visible { outline: 3px solid #315ecd; outline-offset: 5px; }
.shell { width: min(100% - 3rem, 69rem); margin-inline: auto; }
.site-header { background: #fff; border-bottom: 1px solid #dde3ed; }
.header-content, .contact-content { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.header-content { min-height: 4.5rem; }
.wordmark { display: inline-flex; gap: .65rem; align-items: center; color: #182134; font-weight: 750; letter-spacing: .045em; text-decoration: none; }
.mark { display: grid; place-items: center; width: 2rem; aspect-ratio: 1; background: #253e82; color: white; border-radius: .25rem; }
nav { display: flex; gap: 1.3rem; }
nav a { color: #303c53; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero { color: #f6f8ff; background: #16254b; }
.hero-grid { display: grid; grid-template-columns: 1.55fr 1fr; align-items: center; gap: clamp(2rem, 7vw, 6rem); padding-block: clamp(3.4rem, 9vw, 7.6rem); }
.eyebrow, .market-label { color: #c2d1fa; font-weight: 700; font-size: .9rem; letter-spacing: .1em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 1.35rem; font-size: clamp(2.5rem, 6.1vw, 4.6rem); line-height: 1.04; letter-spacing: -.055em; }
.intro { max-width: 34rem; color: #e0e7f9; font-size: 1.18rem; }
.primary-link { display: inline-block; margin-top: .65rem; padding: .65rem 1.25rem; border-radius: .35rem; background: #e4ebff; color: #172a58; font-weight: 700; text-decoration: none; }
.primary-link:hover { background: #fff; }
.market { padding: 1.65rem 1.5rem; border: 1px solid #7186b7; background: #223765; border-radius: .75rem; }
.market strong { display: block; margin: .15rem 0 1.1rem; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.15; }
.market-detail { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 1rem; padding-block: .7rem; border-top: 1px solid #7186b7; }
.market-detail span:first-child { color: #d0dcfa; }
.work { padding-block: 3.75rem; }
h2 { margin-bottom: 1.25rem; font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.12; letter-spacing: -.035em; }
h3 { margin-bottom: .6rem; font-size: 1.16rem; line-height: 1.25; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
article { padding: 1.4rem; border: 1px solid #dce3ef; border-radius: .45rem; background: #fff; }
article p, .contact p { margin-bottom: 0; color: #43516a; }
article a { display: inline-block; margin-top: .7rem; }
.contact { padding-block: 2.9rem; background: #e7edfb; }
.contact h2 { margin-bottom: .55rem; }
.contact-content > a { font-weight: 700; }
footer { display: flex; flex-wrap: wrap; gap: .35rem 1rem; padding-block: 1.4rem; color: #43516a; font-size: .9rem; }

@media (max-width: 48rem) {
  .hero-grid, .work-grid { grid-template-columns: 1fr; }
  .contact-content { align-items: flex-start; flex-direction: column; gap: .8rem; }
}

@media (max-width: 26rem) {
  .shell { width: calc(100% - 2rem); }
  .header-content, nav { gap: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
