/* Express Commercial Roofing & Contractors — Design DNA
   Mood: Commercial-industrial precision — a blueprint and skyline, not a
   residential shingle-and-ladder shop. Steel, not shingle-brown.
   Color: cool graphite-slate canvas, steel-blue brand + safety-orange
   accent (Committed cool-lane palette — distinct hue and dominant-neutral
   role from every warm/earthy build in this pool)
   Type: Barlow Condensed (display, industrial condensed) + Source Sans 3
   (body, workhorse sans)
   Layout: skyline silhouette hero band, spec-sheet service list (not a
   card grid), diagonal-cut CTA band
   Motion: calm, slow draw-in — quint easing
   Signature element: animated architectural skyline/roofline silhouette
   line-draw across the hero, with a single safety-orange measurement tick
*/

:root {
  --canvas: oklch(93% 0.008 230);
  --canvas-alt: oklch(88% 0.01 230);
  --panel: oklch(97% 0.005 230);
  --ink: oklch(18% 0.015 235);
  --ink-soft: oklch(40% 0.015 235);
  --slate: oklch(32% 0.03 230);
  --slate-dark: oklch(24% 0.025 230);
  --steel: oklch(48% 0.05 220);
  --orange: oklch(64% 0.17 40);
  --orange-dark: oklch(54% 0.17 38);
  --line: oklch(80% 0.012 230);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.6;
}

h1, h2, h3, .display {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 32px; }

/* ---- Nav ---- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  max-width: 1140px;
  margin: 0 auto;
}
.nav-brand { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; letter-spacing: 0.01em; }
.nav-brand span { color: var(--orange); }
.nav-links { display: flex; gap: 30px; font-size: 15px; }
.nav-links a { color: var(--ink-soft); transition: color 0.25s ease; }
.nav-links a:hover { color: var(--slate); }
.nav-cta {
  background: var(--slate);
  color: white !important;
  padding: 10px 20px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
}

/* ---- Hero ---- */
.hero {
  max-width: 1140px;
  margin: 16px auto 0;
  padding: 44px 32px 0;
}
.hero-copy { max-width: 720px; }
.hero-copy .section-label { color: var(--orange); }
.hero-copy h1 {
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.02;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) forwards;
}
.hero-copy .sub {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.18s forwards;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.34s forwards; }

.btn-primary {
  background: var(--orange);
  color: white;
  padding: 14px 26px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 15px;
  display: inline-block;
  transition: background 0.25s ease;
}
.btn-primary:hover { background: var(--orange-dark); }
.btn-secondary {
  border: 1.5px solid var(--slate);
  padding: 14px 26px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 15px;
  color: var(--slate);
  transition: background 0.25s ease;
}
.btn-secondary:hover { background: var(--slate); color: white; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Signature element: skyline band */
.skyline-band {
  position: relative;
  max-width: 1140px;
  margin: 50px auto 0;
  padding: 0 32px;
}
.skyline-svg { width: 100%; height: auto; display: block; }
.skyline-line {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: drawSkyline 2.2s ease-out 0.4s forwards;
}
.tick-mark { opacity: 0; animation: tickIn 0.5s ease-out 1.8s forwards; }
@keyframes drawSkyline { to { stroke-dashoffset: 0; } }
@keyframes tickIn { to { opacity: 1; } }

/* ---- Sections ---- */
section { padding: 76px 0; }
.section-alt { background: var(--canvas-alt); }
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
  color: var(--steel);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 16px; max-width: 640px; }
.section-head p { color: var(--ink-soft); font-size: 16.5px; max-width: 560px; }

/* ---- Spec-sheet service list ---- */
.spec-list { margin-top: 20px; }
.spec-row {
  display: grid;
  grid-template-columns: 70px 1fr 1.4fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.spec-row .num { font-family: 'Barlow Condensed', sans-serif; font-size: 24px; color: var(--orange); font-weight: 700; }
.spec-row h3 { font-size: 22px; margin-bottom: 6px; }
.spec-row p { color: var(--ink-soft); font-size: 15px; }

/* ---- Diagonal-cut CTA band ---- */
.cta-band {
  background: var(--slate);
  color: white;
  text-align: center;
  padding: 76px 32px 64px;
  clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 96%);
}
.cta-band h2 { color: white; font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 14px; }
.cta-band p { color: oklch(85% 0.015 230); margin-bottom: 26px; }
.cta-band .btn-primary { background: var(--orange); }
.cta-band .btn-primary:hover { background: var(--orange-dark); }

/* ---- Footer ---- */
footer {
  padding: 38px 32px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
  text-align: center;
  background: var(--slate-dark);
  color: oklch(78% 0.015 230);
}

/* ---- Inner pages ---- */
.page-header { padding: 56px 32px 36px; max-width: 780px; margin: 0 auto; }
.page-header h1 { font-size: clamp(32px, 4.6vw, 48px); margin-bottom: 14px; }
.page-header p { font-size: 17px; color: var(--ink-soft); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  max-width: 1140px;
  margin: 0 auto 76px;
  padding: 0 32px;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 34px;
  background: var(--panel);
}
.contact-card a.phone { font-family: 'Barlow Condensed', sans-serif; font-size: 30px; color: var(--orange); display: block; margin: 8px 0 22px; }
.contact-row { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.contact-row:last-child { border-bottom: none; }

form.light-form { display: flex; flex-direction: column; gap: 15px; }
form.light-form label { font-size: 14px; font-weight: 600; color: var(--ink); }
form.light-form input, form.light-form select, form.light-form textarea {
  border: 1.5px solid var(--line);
  border-radius: 2px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  background: var(--canvas);
}
form.light-form textarea { resize: vertical; min-height: 88px; }
form.light-form button {
  background: var(--orange);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.25s ease;
}
form.light-form button:hover { background: var(--orange-dark); }

@media (max-width: 780px) {
  .contact-layout { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; gap: 8px; }
  .nav-links { display: none; }
}
