@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ink: #000000;
  --blue: #0a4fc0;
  --blue-deep: #073a8e;
  --concrete: #eceef1;
  --line: #c8cdd3;
  --paper: #ffffff;
  --muted: #4a5159;
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { color: var(--blue-deep); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}
.site-header .logo img { width: 9.5rem; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.site-nav a.text-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.site-nav a.text-link:hover { color: var(--blue); }

.btn {
  display: inline-block;
  padding: 0.8rem 1.35rem;
  background: var(--blue);
  color: var(--paper);
  font-weight: 700;
  font-stretch: 112%;
  text-decoration: none;
  border: 2px solid var(--blue);
  border-radius: 2px;
  line-height: 1.2;
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--paper); }
.btn.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn.secondary:hover { background: var(--ink); color: var(--paper); }
.btn.on-blue { background: var(--paper); color: var(--blue); border-color: var(--paper); }
.btn.on-blue:hover { background: var(--concrete); border-color: var(--concrete); color: var(--blue-deep); }

/* ---------- Hero: headline under the roof ---------- */
.hero { padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem); }
.roof {
  display: block;
  width: 100%;
  max-width: 46rem;
  height: auto;
  margin-bottom: clamp(1.5rem, 4vw, 2.75rem);
}
.roof .outer { stroke: var(--ink); }
.roof .inner { stroke: var(--blue); }
.roof path {
  fill: none;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .roof path { animation: draw 1.1s cubic-bezier(.6, 0, .2, 1) both; }
  .roof .inner { animation-delay: .25s; }
  @keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}

.hero h1 {
  margin: 0;
  max-width: 17ch;
  font-size: clamp(2.3rem, 6.4vw, 4.6rem);
  line-height: 1.02;
  font-weight: 800;
  font-stretch: 120%;
  letter-spacing: -0.01em;
}
.hero .lead {
  max-width: 34rem;
  margin: 1.5rem 0 2rem;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--muted);
}
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Sections ---------- */
section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  line-height: 1.1;
  font-weight: 800;
  font-stretch: 118%;
}
h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 750;
  font-stretch: 112%;
}
.intro { max-width: 38rem; margin: 0 0 2.5rem; color: var(--muted); }

/* Services: two columns, the shared roof idea as a top bar */
.services { background: var(--concrete); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 2.5rem 3rem;
}
.service { border-top: 6px solid var(--ink); padding-top: 1.25rem; }
.service.blue { border-top-color: var(--blue); }
.service p { margin: 0 0 1rem; max-width: 34rem; }
.service ul { margin: 0; padding-left: 1.1rem; }
.service li { margin-bottom: 0.35rem; }
.combo {
  margin-top: 2.75rem;
  padding: 1.25rem 1.5rem;
  background: var(--paper);
  border-left: 6px solid var(--blue);
  max-width: 46rem;
}
.combo p { margin: 0; }

/* Steps: a real sequence, so numbered */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 2rem;
  counter-reset: step;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: block;
  font-size: 3rem;
  line-height: 1;
  font-weight: 800;
  font-stretch: 125%;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.steps p { margin: 0; color: var(--muted); }

.area p { max-width: 40rem; margin: 0; }

/* Contact */
.contact { background: var(--blue); color: var(--paper); }
.contact h2 { color: var(--paper); }
.contact .intro { color: #dbe5f7; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem;
  align-items: start;
}
.contact dl { margin: 0; }
.contact dt { font-weight: 700; font-stretch: 112%; margin-top: 1rem; }
.contact dt:first-child { margin-top: 0; }
.contact dd { margin: 0.15rem 0 0; }
.contact a { color: var(--paper); }
.contact a.btn.on-blue { color: var(--blue); }

/* Footer */
.site-footer {
  padding: 2rem 0;
  font-size: 0.95rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}
.site-footer nav { display: flex; gap: 1.25rem; }
.site-footer a { color: var(--muted); }

/* Legal pages */
.legal { padding: clamp(2.5rem, 6vw, 4rem) 0 4rem; }
.legal .wrap > * { max-width: 44rem; }
.legal h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  font-stretch: 120%;
  line-height: 1.05;
  margin: 0 0 1.5rem;
}
.legal h2 { font-size: 1.35rem; margin-top: 2rem; font-stretch: 112%; }

@media (max-width: 40rem) {
  .site-nav a.text-link { display: none; }
  .site-header .logo img { width: 8rem; }
  .site-nav .btn { padding: 0.65rem 1rem; }
}

/* Coming soon */
.soon-page { min-height: 100vh; display: flex; flex-direction: column; }
.soon-page main { flex: 1; display: flex; align-items: center; }
.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  font-stretch: 118%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}
.soon-address { margin: 2rem 0 0; color: var(--muted); font-size: 0.95rem; }
.soon .roof { max-width: 30rem; }
