/* Copperline Roofing — slate field, copper type, editorial rows */
:root {
  --bg: #101214;
  --bg-2: #181b1f;
  --ink: #f4efe8;
  --muted: #b9b2a8;
  --copper: #d4845a;
  --line: rgba(244, 239, 232, 0.14);
  --font: "Outfit", sans-serif;
  --display: "Fraunces", Georgia, serif;
  --pad: clamp(18px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.skip {
  position: absolute; left: 12px; top: -48px; z-index: 500;
  background: var(--copper); color: #1a100c; padding: 8px 12px;
}
.skip:focus { top: 12px; }
.samplebar {
  background: #2a1c14; color: #f0d2c0; font-size: 0.82rem;
  text-align: center; padding: 8px 16px;
}
.samplebar a { text-underline-offset: 2px; }
body::after {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 300;
  opacity: 0.14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.wrap { width: min(1120px, calc(100% - var(--pad) * 2)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 10px; letter-spacing: 0.18em; text-transform: uppercase;
  font-size: 0.72rem; color: var(--copper);
}
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
h1 { font-size: clamp(3rem, 8vw, 6.4rem); margin: 0 0 16px; }
h1 em { font-style: italic; font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin: 0 0 12px; }
h3 { font-size: 1.45rem; margin: 0 0 8px; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 38rem; }
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(16, 18, 20, 0.94);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.brand span { font-family: var(--display); font-size: 1.4rem; }
.brand small { color: var(--copper); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.62rem; margin-top: 5px; }
.nav__links { display: flex; align-items: center; gap: 22px; }
.nav__links a { text-decoration: none; color: var(--muted); font-size: 0.94rem; }
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__phone { color: var(--ink) !important; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px; text-decoration: none;
  background: var(--copper); color: #1a100c !important; font-weight: 600; border: 0; cursor: pointer;
}
.btn--ghost { background: transparent; color: var(--ink) !important; border: 1px solid var(--line); }
.nav__toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  position: relative; z-index: 60; padding: 0;
}
.nav__toggle span { display: block; width: 22px; height: 1.5px; margin: 6px auto; background: var(--ink); }
@media (max-width: 860px) {
  h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .section { padding: 40px 0; }
  .hero { min-height: 0; }
  .hero__copy, .pagehero__copy { padding: 18vh 0 32px; }
  .pagehero { min-height: 0; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 0; z-index: 55;
    background: #101214; flex-direction: column; align-items: flex-start; justify-content: flex-end;
    padding: 28px 28px 48px; gap: 16px;
    transform: translateY(-102%); visibility: hidden;
  }
  body.menu-open .nav__links { transform: none; visibility: visible; }
  body.menu-open { overflow: hidden; }
  .nav__links a { font-family: var(--display); font-size: 2rem; color: var(--ink); }
  .nav__links .btn { font-family: var(--font); font-size: 1rem; }
}
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; }
.hero img, .pagehero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade, .pagehero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,18,20,0.15) 0%, rgba(16,18,20,0.2) 40%, rgba(16,18,20,0.88) 100%);
}
.hero__copy, .pagehero__copy { position: relative; z-index: 1; padding: 12vh 0 56px; }
.hero__actions, .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.section { padding: 72px 0; }
.section--alt { background: var(--bg-2); }
.facts { display: grid; gap: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts article { padding: 22px 0; }
.facts strong { display: block; font-family: var(--display); font-size: 1.35rem; font-weight: 500; }
.facts span { color: var(--muted); font-size: 0.95rem; }
@media (min-width: 800px) {
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts article { padding: 28px 22px; }
  .facts article + article { border-left: 1px solid var(--line); }
}
.svc-row {
  display: grid; gap: 8px; padding: 26px 0; border-top: 1px solid var(--line);
  text-decoration: none;
}
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row em { font-style: normal; color: var(--copper); font-size: 0.82rem; letter-spacing: 0.14em; }
.svc-row strong { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 500; }
.svc-row span { color: var(--muted); }
.svc-row i { font-style: normal; color: var(--copper); }
@media (min-width: 860px) {
  .svc-row { grid-template-columns: 90px 1.1fr 1.5fr auto; gap: 24px; align-items: center; }
}
.svc-row:hover strong { color: var(--copper); }
.jobs { display: grid; gap: 12px; }
.jobs a { position: relative; display: block; min-height: 320px; overflow: hidden; color: inherit; text-decoration: none; }
.jobs img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.jobs .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
}
.jobs p { margin: 4px 0 0; color: #ddd6cc; font-size: 0.92rem; }
@media (min-width: 800px) {
  .jobs { grid-template-columns: 1.35fr 1fr; }
  .jobs a:first-child { grid-row: span 2; min-height: 640px; }
}
.steps { display: grid; gap: 28px; }
.steps span { font-family: var(--display); font-size: 2.6rem; color: var(--copper); display: block; line-height: 1; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq button {
  width: 100%; text-align: left; background: none; border: 0; color: var(--ink);
  padding: 18px 0; min-height: 48px; cursor: pointer;
  font-family: var(--display); font-size: 1.25rem; display: flex; justify-content: space-between; gap: 16px;
}
.faq button::after { content: "+"; color: var(--copper); }
.faq__item.is-open button::after { content: "–"; }
.faq__a { padding: 0 0 18px; color: var(--muted); max-width: 42rem; }
.band { background: #2a1c14; padding: 72px 0; }
.band__in { display: grid; gap: 28px; }
@media (min-width: 860px) { .band__in { grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; } }
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 6px; font-size: 0.84rem; color: var(--muted); }
.form input, .form textarea {
  width: 100%; background: #140e0b; border: 1px solid rgba(244,239,232,0.2);
  min-height: 48px; padding: 12px 14px;
}
.form textarea { min-height: 120px; resize: vertical; }
.prose { max-width: 42rem; }
.prose p, .split p { color: var(--muted); }
.split { display: grid; gap: 28px; }
@media (min-width: 860px) { .split { grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; } }
.frame { min-height: 360px; overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.pagehero { position: relative; min-height: 58vh; display: grid; align-items: end; }
.list { margin: 0; padding: 0; list-style: none; }
.list li { padding: 14px 0; border-top: 1px solid var(--line); color: var(--muted); }
.list strong { color: var(--ink); font-weight: 600; }
.related { display: grid; gap: 12px; }
@media (min-width: 700px) { .related { grid-template-columns: 1fr 1fr; } }
.related a { display: block; padding: 22px; border: 1px solid var(--line); text-decoration: none; }
.related a:hover { border-color: var(--copper); }
.gallery { display: grid; gap: 18px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.gallery figcaption { padding-top: 10px; color: var(--muted); font-size: 0.95rem; }
@media (min-width: 800px) { .gallery { grid-template-columns: 1fr 1fr; } }
.towns article { padding: 22px 0; border-top: 1px solid var(--line); }
.towns article:last-child { border-bottom: 1px solid var(--line); }
.foot { border-top: 1px solid var(--line); padding: 40px 0 28px; }
.foot__in { display: grid; gap: 22px; }
.foot a { text-decoration: none; }
.foot nav { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.fine { color: var(--muted); font-size: 0.82rem; }
@media (min-width: 800px) { .foot__in { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.thanks { min-height: 70vh; display: grid; align-items: center; padding: 64px 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .nav__links { transition: none; }
}
@media (max-width: 860px) {
  h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .section { padding: 40px 0; }
  .hero { min-height: 0; }
  .hero__copy, .pagehero__copy { padding: 18vh 0 32px; }
  .pagehero { min-height: 0; }
}
