:root {
  color-scheme: light;
  --ink: #111e30;
  --muted: #495b70;
  --dark: #101d2f;
  --accent: #fb805f;
  --paper: #fff;
  --mist: #edf2f6;
  --line: #d4dde6;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #2576bc; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
h2 { font-size: clamp(1.95rem, 4vw, 3.1rem); letter-spacing: -.045em; }
h3 { font-size: 1.3rem; letter-spacing: -.025em; }
.wrap { width: min(100% - 3rem, 75rem); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; transform: translateY(-150%); z-index: 1; padding: .65rem 1rem; background: white; }
.skip:focus { transform: none; }

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  min-height: 4.6rem;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-size: 1.18rem; font-weight: 800; letter-spacing: .17em; }
.brand img { object-fit: contain; }
nav { display: flex; flex-wrap: wrap; gap: .25rem clamp(.85rem, 3vw, 2rem); }
nav a { padding-block: .5rem; text-decoration: none; font-weight: 600; }
nav a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: .26em; }

.hero { background: var(--dark); color: #fff; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(1.75rem, 5vw, 5rem); padding-block: clamp(3rem, 7vw, 6.35rem); }
.hero h1 { font-size: clamp(2.65rem, 6vw, 5.4rem); letter-spacing: -.065em; line-height: 1.02; }
.hero h1::before { content: ""; display: block; width: 3rem; height: 4px; margin-bottom: 1.4rem; background: var(--accent); }
.hero-content p { max-width: 36ch; margin-top: 1.4rem; color: #dbe4ee; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-visual { overflow: hidden; border: 1px solid #49637e; border-radius: .65rem; background: #172e46; }
.hero-visual img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 38% center; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.9rem; }
.button { display: inline-flex; align-items: center; min-height: 3rem; padding: .62rem 1.15rem; border: 1px solid transparent; border-radius: .35rem; font-weight: 700; text-decoration: none; }
.primary { background: var(--accent); color: #18202b; }
.primary:hover { background: #ff9b81; }
.secondary { color: #fff; border-color: #7b8da1; }
.secondary:hover { background: #2a3a4d; }
.hero a:focus-visible { outline-color: #fff; }

.section { padding-block: clamp(3rem, 7vw, 6rem); }
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.8rem; }
.service { padding: 1.38rem; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: .35rem; }
.service h3 a { text-decoration: none; }
.service h3 a:hover { text-decoration: underline; text-underline-offset: .18em; }
.service p { margin-top: .7rem; color: var(--muted); }
.service-page { max-width: 52rem; }
.service-page h1 { font-size: clamp(2.35rem, 5vw, 4.5rem); letter-spacing: -.055em; }
.service-page h1::after { content: ""; display: block; width: 3rem; height: 4px; margin-top: 1.2rem; background: var(--accent); }
.service-page .lead { margin-top: 1.35rem; font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); }
.service-page h2 { margin-top: 2.8rem; font-size: clamp(1.55rem, 3vw, 2.25rem); }
.service-page p, .service-page ul { margin-top: .9rem; }
.service-page ul { padding-left: 1.25rem; color: var(--muted); }
.service-page .button { margin-top: 1.5rem; }
.service-section { background: var(--mist); }
.service-layout, .contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 6vw, 6rem); }
.intro { max-width: 46ch; margin-top: .85rem; font-size: 1.1rem; color: var(--muted); }
.text-link { font-weight: 700; text-underline-offset: .23em; }
.service-layout .text-link { display: inline-block; margin-top: 1rem; }
.service-list { margin: 0; }
.service-list div { padding-block: .85rem; border-top: 1px solid #abbaca; }
.service-list div:last-child { border-bottom: 1px solid #abbaca; }
.service-list dt { font-weight: 750; }
.service-list dd { margin: .2rem 0 0; color: var(--muted); }
.contact .button { margin-top: 1.3rem; }
address { display: grid; align-content: center; gap: .2rem; padding: 1.3rem 1.5rem; border-left: 3px solid var(--accent); background: var(--mist); font-style: normal; }
address strong { font-size: 1.2rem; }
address a { justify-self: start; }
.site-footer { color: #e7edf4; background: var(--dark); }
.site-footer a { text-decoration: none; }
.site-footer a:focus-visible { outline-color: #fff; }

@media (max-width: 56rem) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .wide-break { display: none; }
}
@media (max-width: 42rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { flex-direction: column; align-items: flex-start; justify-content: center; padding-block: .7rem; }
  nav { font-size: .94rem; }
  .hero-inner, .service-layout, .contact { grid-template-columns: 1fr; }
  .hero-visual img { aspect-ratio: 16 / 9; }
}
@media (max-width: 29rem) {
  .services { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.3rem, 12vw, 3.5rem); }
}
