/* Goodwin's Deepsouth Roofing. Plain CSS, no build step.
   Colors come from the logo: iron, storm red, brass, steel. Light sections are galvanized gray, not cream.
   Headings in Oswald (OFL, self-hosted in fonts/), body in the system font. */

@font-face {
  font-family: "Oswald";
  src: url("fonts/oswald-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("fonts/oswald-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --iron: #1e2124;
  --iron-2: #2a2e32;
  --red: #a51f1b;
  --red-dark: #82140f;
  --brass: #c49a45;
  --steel: #b8bec3;
  --galv: #e8eaeb;
  --ink: #1a1c1e;
  --ink-soft: #4a4f54;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--galv);
  padding-bottom: 64px; /* room for the mobile call bar */
}
@media (min-width: 820px) { body { padding-bottom: 0; } }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0 0 0.4em; letter-spacing: 0.005em; }
h1 { font-size: clamp(2.5rem, 9vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 5.5vw, 2.8rem); }
h3 { font-size: 1.35rem; font-weight: 500; }
p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; display: block; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  padding: 13px 24px;
  border-radius: 4px;
  border: 2px solid var(--red);
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-line { background: transparent; border-color: var(--brass); color: #fff; }
.btn-line:hover { background: rgba(196, 154, 69, 0.15); border-color: var(--brass); }

/* Header */
.site-header { background: #0f0d0d; color: #fff; position: sticky; top: 0; z-index: 20; border-bottom: 2px solid var(--red); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 500; font-size: 1.1rem; letter-spacing: 0.02em; }
.brand img { width: 40px; height: 40px; }
.header-call { display: flex; align-items: center; gap: 8px; color: var(--brass); text-decoration: none; font-family: var(--display); font-weight: 500; font-size: 1.1rem; }
.header-call svg { width: 22px; height: 22px; }
@media (max-width: 560px) {
  .brand span { display: none; }
}

/* Hero: the original black with a red glow behind the logo (Matt, 2026-11-12) */
.hero {
  color: #fff;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(179, 34, 30, 0.38), transparent 60%),
    #0f0d0d;
}
.hero-inner { padding-top: 8px; padding-bottom: 8px; }
.hero-badge { width: 150px; height: 150px; margin-bottom: 20px; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.7)); }
.hero h1 { max-width: 12em; }
.lede { font-size: 1.2rem; color: var(--steel); max-width: 32em; margin-bottom: 1.4em; }
@media (min-width: 820px) {
  .hero { padding: 88px 0 96px; }
  .hero-inner { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: center; padding: 0 20px; }
  .hero-badge { order: 2; width: 320px; height: 320px; margin: 0; }
}

/* Storm strip */
.storm { background: var(--red); color: #fff; padding: 22px 0; }
.storm-row { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.storm-row p { margin: 0; }
.storm-icon svg { width: 34px; height: 34px; stroke: var(--brass); }
.storm-call { grid-column: 1 / -1; justify-self: start; color: #fff; font-family: var(--display); font-size: 1.15rem; border-bottom: 2px solid var(--brass); text-decoration: none; }
@media (min-width: 820px) {
  .storm-row { grid-template-columns: auto 1fr auto; gap: 20px; }
  .storm-call { grid-column: auto; }
}

/* Services: a list, with the free inspection called out beside it */
.services-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .services-grid { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.service-list { list-style: none; margin: 8px 0 0; padding: 0; }
.service-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-top: 2px solid #cfd3d6; }
.service-list li:last-child { border-bottom: 2px solid #cfd3d6; }
.service-list svg { width: 40px; height: 40px; color: var(--red); margin-top: 2px; }
.service-list h3 { margin-bottom: 0.15em; }
.service-list p { margin: 0; color: var(--ink-soft); }
.inspect { background: var(--iron); color: #fff; padding: 32px 28px; border-left: 6px solid var(--brass); }
.inspect svg { width: 48px; height: 48px; color: var(--brass); margin-bottom: 12px; }
.inspect h3 { font-size: 1.9rem; font-weight: 600; }
.inspect p { color: var(--steel); }

/* Work */
.work { background: var(--iron); color: #fff; }
.section-lede { color: var(--steel); }
.story { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin-top: 24px; }
.story figure, .air figure { margin: 0; position: relative; overflow: hidden; background: var(--iron-2); }
.story img, .air img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.story-main { grid-column: 1 / -1; }
.story-main img { aspect-ratio: 16 / 10; }
.story figcaption {
  position: absolute; left: 0; bottom: 0;
  background: var(--iron); color: #fff;
  font-family: var(--display); font-weight: 500; font-size: 1rem;
  padding: 6px 12px; border-top: 3px solid var(--red);
}
@media (min-width: 820px) {
  .story { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
  .story-main { grid-column: 1; grid-row: 1 / span 2; }
  .story-main img { aspect-ratio: auto; }
}
.air-title { margin-top: 56px; font-size: 1.6rem; }
.air { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.air img { aspect-ratio: 16 / 9; }

/* Area: the statement */
.area { background: var(--galv); }
.area-line { font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 8vw, 4.4rem); line-height: 1.05; margin: 0; }
.area-line + .area-line { color: var(--red); }
.area-note { margin-top: 20px; color: var(--ink-soft); font-size: 1.1rem; }

/* Contact */
.contact { background: #fff; border-top: 6px solid var(--brass); }
.big-phone {
  display: inline-block;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.6rem, 11vw, 5rem);
  line-height: 1.1;
  color: var(--red);
  text-decoration: none;
  margin: 8px 0 12px;
}
.big-phone:hover { color: var(--red-dark); }
.contact-email { display: block; color: var(--ink); font-size: 1.1rem; overflow-wrap: anywhere; margin-bottom: 28px; }
.owner { color: var(--ink-soft); margin: 0; }

/* Footer */
.site-footer { background: var(--iron); color: var(--steel); padding: 32px 0; font-size: 0.95rem; }
.footer-row { display: flex; align-items: center; gap: 16px; }
.site-footer p { margin: 0.15em 0; }
.site-footer strong { color: #fff; }

/* Mobile call bar */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.25);
}
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 60px;
  font-family: var(--display); font-weight: 500; font-size: 1.2rem; letter-spacing: 0.02em;
  text-decoration: none; color: #fff;
}
.callbar a:first-child { background: var(--red); }
.callbar a:last-child { background: var(--iron); color: var(--brass); }
.callbar svg { width: 22px; height: 22px; }
@media (min-width: 820px) { .callbar { display: none; } }
