:root {
  --red: #D0141B;
  --red-dark: #A80F15;
  --gold: #F2C94C;
  --ink: #000;
  --body: #262626;
  --muted: #5c5c5c;
  --line: #d9d9d9;
  --paper: #fff;
  --shingle: #2a2a2a;
  --shingle-2: #343434;
  --wrap: 1120px;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--body);
  background: var(--paper);
  font-variation-settings: "wdth" 100;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.1; letter-spacing: -0.01em; }
h1 { font-weight: 800; font-size: clamp(2.25rem, 1.2rem + 4vw, 4.25rem); font-variation-settings: "wdth" 112; letter-spacing: -0.02em; }
h2 { font-weight: 800; font-size: clamp(1.75rem, 1rem + 2.4vw, 2.75rem); font-variation-settings: "wdth" 110; }
h3 { font-weight: 700; font-size: 1.25rem; }
p { margin: 0; }
p + p { margin-top: .75em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }

.skip {
  position: absolute; left: 12px; top: -60px;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 4px; z-index: 100;
}
.skip:focus { top: 12px; }

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

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 10px 20px;
  background: rgba(255,255,255,.96);
  border-bottom: 3px solid var(--gold);
  backdrop-filter: blur(6px);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 96px; height: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; color: var(--ink); font-size: 1.05rem; font-variation-settings: "wdth" 105; white-space: nowrap; }
.brand-sub { font-size: .72rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.nav { display: none; gap: 22px; margin-left: auto; font-weight: 600; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--body); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--red); color: var(--ink); }
.topbar-call {
  display: none; flex-direction: column; align-items: flex-end; text-decoration: none; line-height: 1.15; white-space: nowrap;
}
.topbar-call-label { font-size: .72rem; color: var(--muted); font-weight: 600; }
.topbar-call-num { font-weight: 800; color: var(--red); font-size: 1.15rem; font-variation-settings: "wdth" 105; }
@media (min-width: 720px) { .brand img { width: 120px; } }
@media (min-width: 900px) {
  .topbar { padding: 12px 32px; }
  .nav { display: flex; }
  .topbar-call { display: flex; }
}
@media (max-width: 899px) { .brand-sub { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--paper); padding-block: 0; }
.hero-roof { width: 100%; height: auto; margin: 0 auto; }
.hero-body {
  max-width: var(--wrap); margin: 0 auto; padding: 8px 20px 56px;
}
.hero-kicker { font-size: .9rem; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.hero h1 { max-width: 16ch; }
.hero-lead { max-width: 60ch; margin-top: 22px; font-size: 1.15rem; color: var(--body); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 14px; margin-top: 32px; }
@media (min-width: 720px) {
  .hero-body { padding: 8px 32px 80px; }
  .hero-roof { max-height: 340px; }
}

/* Buttons */
.btn {
  display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 2px; text-decoration: none; font-weight: 700; line-height: 1.15;
  padding: 14px 22px; border-radius: 6px; border: 2px solid transparent; cursor: pointer;
  font-family: inherit; font-size: 1rem;
}
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-num { font-size: 1.25rem; font-weight: 800; font-variation-settings: "wdth" 105; }

/* Sections */
section { padding-block: 64px; }
@media (min-width: 720px) { section { padding-block: 96px; } }
.section-lead { max-width: 62ch; margin-top: 18px; font-size: 1.1rem; }

/* Services: dark shingle band */
.services { background: var(--shingle); color: #d6d6d6; }
.services h2, .services h3 { color: #fff; }
.services .section-lead { color: #e6e6e6; }
.service-list {
  margin-top: 48px;
  display: grid; gap: 0;
  border-top: 1px solid #4a4a4a;
}
.service { padding: 28px 0; border-bottom: 1px solid #4a4a4a; }
.service h3 { font-size: 1.35rem; }
.service p { margin-top: 10px; max-width: 60ch; }
@media (min-width: 820px) {
  .service-list { grid-template-columns: 1fr 1fr; column-gap: 64px; }
  .service:nth-child(3) { border-bottom: 1px solid #4a4a4a; }
}
.materials { margin-top: 56px; }
.materials h3 { font-size: 1.1rem; color: var(--gold); }
.materials ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 22px; }
.materials li { display: grid; gap: 4px; }
.materials strong { color: #fff; font-weight: 700; }
@media (min-width: 820px) { .materials ul { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* Owners */
.owner-grid { margin-top: 48px; display: grid; gap: 40px; }
.owner h3 { font-size: 1.6rem; }
.owner-role { color: var(--red); font-weight: 700; margin-top: 4px; }
.owner p:not(.owner-role) { margin-top: 14px; max-width: 52ch; }
.owner-phone { display: inline-block; margin-top: 18px; font-size: 1.35rem; font-weight: 800; color: var(--ink); text-decoration: none; font-variation-settings: "wdth" 105; }
.owner-phone:hover { color: var(--red); }
.owner-email { display: block; margin-top: 4px; color: var(--muted); font-size: .95rem; }
@media (min-width: 820px) { .owner-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

.facts {
  margin: 56px 0 0; padding-top: 28px; border-top: 3px solid var(--gold);
  display: grid; gap: 22px;
}
.facts div { display: grid; gap: 2px; }
.facts dt { font-size: .9rem; color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; font-size: 1.35rem; font-weight: 800; color: var(--ink); font-variation-settings: "wdth" 105; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* Area */
.area { background: #f1f1f1; }
.towns {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px 12px;
}
.towns li {
  padding: 10px 18px; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-weight: 600; color: var(--ink);
}
.area-note { margin-top: 24px; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.contact-block { margin-top: 28px; }
.contact-label { font-size: .9rem; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.contact-phone {
  display: block; font-size: 1.5rem; font-weight: 800; color: var(--ink); text-decoration: none;
  font-variation-settings: "wdth" 105; line-height: 1.3;
}
.contact-phone span { font-size: .95rem; font-weight: 500; color: var(--muted); margin-left: 8px; font-variation-settings: "wdth" 100; }
.contact-phone:hover { color: var(--red); }
address { font-style: normal; }

.estimate-form {
  background: #f1f1f1; padding: 28px 22px; border-radius: 8px; border-top: 5px solid var(--red);
  display: grid; gap: 18px;
}
@media (min-width: 720px) { .estimate-form { padding: 36px 32px; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .95rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #b8b8b8; border-radius: 6px; padding: 12px 14px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid var(--gold); outline-offset: 0; }
.field textarea { resize: vertical; min-height: 110px; }
.field.invalid input { border-color: var(--red); }
.field .err { color: var(--red); font-size: .9rem; display: none; }
.field.invalid .err { display: block; }
.estimate-form .btn { justify-self: start; }
.form-note { font-size: .9rem; color: var(--muted); }

/* Footer */
.footer { background: var(--ink); color: #c9c9c9; padding-block: 56px 40px; font-size: .95rem; }
.footer a { color: #fff; text-decoration: none; font-weight: 700; }
.footer a:hover { color: var(--gold); }
.footer-grid { display: grid; gap: 32px; }
.footer-logo { width: 160px; height: auto; filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer-name { color: #fff; font-weight: 800; font-size: 1.1rem; }
.footer p + p { margin-top: .6em; }
.footer-copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid #333; color: #8a8a8a; font-size: .85rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }

/* Mobile sticky call bar */
.mobile-call {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: block; text-align: center; text-decoration: none;
  background: var(--red); color: #fff; font-weight: 800; padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  font-variation-settings: "wdth" 105;
}
body { padding-bottom: 64px; }
@media (min-width: 900px) {
  .mobile-call { display: none; }
  body { padding-bottom: 0; }
}
