/* Gable Media — flat editorial system: deep navy, safety orange, photography-led */
:root {
  --navy: #0b1c30;
  --navy-2: #10263f;
  --orange: #f26a1b;
  --orange-dark: #cf520c;
  --orange-soft: #fff1e6;
  --ink: #1a2433;
  --muted: #5c6b82;
  --bg: #ffffff;
  --tint: #f4f6f9;
  --line: #e2e7ef;
  --radius: 4px;
  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; margin-bottom: 0.7rem; }
h2.light { color: #fff; }
h3 { font-size: 1.15rem; font-weight: 700; }
img { max-width: 100%; display: block; }
iframe { max-width: 100%; }
a { color: inherit; }

.container { width: min(1140px, 92%); margin: 0 auto; }
.container.narrow { width: min(780px, 92%); }
.section { padding: 5.5rem 0; }
.section-tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-navy { background: var(--navy); color: #e9eff7; }
.section-sub { color: var(--muted); font-size: 1.08rem; max-width: 620px; margin: 0.5rem 0 0; }
.section-sub.light { color: #a9b8cf; }
.h2-narrow { max-width: 640px; }

/* Kicker */
.kicker {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 0.75rem; font-weight: 800;
  color: var(--orange-dark); margin-bottom: 1.1rem;
}
.kicker-light { color: var(--orange); }
.kicker-rule { display: inline-block; width: 2.2rem; height: 3px; background: currentColor; }

/* Buttons — flat, square, no shadows */
.btn {
  display: inline-block;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  text-decoration: none; border-radius: var(--radius);
  padding: 0.9rem 1.9rem; cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }
.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.05rem; }
.btn-xl { padding: 1.15rem 2.5rem; font-size: 1.15rem; }
.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.92rem; }
.btn-block { display: block; text-align: center; width: 100%; margin-top: 1.5rem; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 3px solid var(--orange);
}
.nav-inner {
  width: min(1140px, 92%); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 0;
}
.logo { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.logo-mark { width: 30px; height: 30px; }
.logo-text { font-family: var(--font-head); font-weight: 900; color: #fff; letter-spacing: 0.06em; font-size: 1.05rem; }
.logo-text em { font-style: normal; color: var(--orange); }
.nav-links { display: flex; gap: 1.7rem; }
.nav-links a { color: #c9d5e8; text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 0.8rem; }
.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 0.4rem; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* Hero — full-bleed photo */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: url("images/hero-roofer.jpg") center 30% / cover no-repeat;
}
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,20,36,0.92) 0%, rgba(8,20,36,0.72) 45%, rgba(8,20,36,0.25) 100%);
}
.hero-inner { position: relative; padding: 7.5rem 0 6.5rem; max-width: 1140px; }
.hero-inner h1 { max-width: 13em; }
.hero-inner .accent { color: var(--orange); }
.lede { font-size: 1.2rem; color: #d5deee; max-width: 620px; margin: 1.5rem 0 2.3rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-meta { margin-top: 2rem; color: #9fb0c9; font-size: 0.93rem; letter-spacing: 0.02em; }

/* Stat band — flat navy strip, hairline dividers */
.statband { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.12); color: #fff; }
.statband-inner {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 1.5rem 0;
}
.stat { padding: 0.4rem 2rem; border-left: 1px solid rgba(255,255,255,0.16); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { display: block; font-family: var(--font-head); font-weight: 900; font-size: 1.65rem; color: var(--orange); }
.stat-label { font-size: 0.93rem; color: #b9c6db; }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-reverse > .split-media { order: 2; }
.split-reverse > .split-body { order: 1; }
.split-media img { width: 100%; border-radius: var(--radius); }
.img-caption { font-size: 0.88rem; color: var(--muted); margin-top: 0.7rem; border-left: 3px solid var(--orange); padding-left: 0.8rem; }

/* Problem — numbered rows, no cards */
.fail-list { list-style: none; margin-top: 2.2rem; }
.fail-item {
  display: flex; gap: 1.4rem; align-items: flex-start;
  padding: 1.5rem 0; border-top: 1px solid var(--line);
}
.fail-item:last-child { border-bottom: 1px solid var(--line); }
.fail-num {
  font-family: var(--font-head); font-weight: 900; font-size: 1rem;
  color: var(--orange-dark); padding-top: 0.2rem; letter-spacing: 0.05em;
  flex-shrink: 0;
}
.fail-item h3 { margin-bottom: 0.35rem; }
.fail-item p { color: var(--muted); font-size: 0.99rem; }

/* Before / After */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 2.8rem; }
.ba-panel { border-radius: var(--radius); padding: 2.4rem 2.2rem; }
.ba-before { background: var(--navy); color: #e9eff7; }
.ba-after { background: var(--orange-soft); border: 1px solid #f0d3ae; }
.ba-tag {
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 0.75rem; margin-bottom: 1.2rem;
}
.ba-before .ba-tag { color: #ff8f8f; }
.ba-after .ba-tag { color: var(--orange-dark); }
.ba-panel ul { list-style: none; }
.ba-panel li { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.15rem 0; }
.ba-before li { border-top: 1px solid rgba(255,255,255,0.12); }
.ba-before li:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.ba-after li { border-top: 1px solid #e8c9a0; }
.ba-after li:last-child { border-bottom: 1px solid #e8c9a0; }
.ba-mark { flex-shrink: 0; font-weight: 900; font-size: 1.1rem; line-height: 1.7; }
.ba-no { color: #ff8f8f; }
.ba-yes { color: var(--orange-dark); }
.ba-panel h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.ba-before h3 { color: #fff; }
.ba-panel li p { font-size: 0.95rem; }
.ba-before li p { color: #b9c6db; }
.ba-after li p { color: var(--muted); }
.ba-cta { margin-top: 2.4rem; }

/* Work / portfolio */
.work-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 3.5rem; margin-top: 2.8rem; align-items: start; }
.work-copy h3 { margin-bottom: 1rem; }
.check-list { list-style: none; margin-bottom: 2rem; }
.check-list li {
  padding: 0.55rem 0 0.55rem 1.8rem; position: relative;
  border-bottom: 1px solid var(--line); font-size: 1rem;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0.2rem; top: 0.55rem;
  color: var(--orange-dark); font-weight: 800;
}
.work-photo { border-radius: var(--radius); margin-bottom: 0.7rem; }
.work-copy .img-caption { margin-bottom: 1.6rem; }
.work-copy h3 + .why-list { margin-top: 0.4rem; }
.why-list { list-style: none; margin-bottom: 2rem; }
.why-list li {
  padding: 0.75rem 0 0.75rem 1.8rem; position: relative;
  border-bottom: 1px solid var(--line); font-size: 0.99rem; color: var(--muted);
}
.why-list li::before {
  content: "→"; position: absolute; left: 0.2rem; top: 0.72rem;
  color: var(--orange-dark); font-weight: 800;
}
.why-list strong { color: var(--ink); }
.browser-frame {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid #c9d2e0; background: #fff;
}
.browser-bar {
  display: flex; align-items: center; gap: 0.45rem;
  background: #e9edf3; padding: 0.65rem 1rem; border-bottom: 1px solid #c9d2e0;
}
.browser-bar span { width: 11px; height: 11px; border-radius: 50%; background: #b9c2d2; }
.browser-bar span:first-child { background: #ff5f57; }
.browser-bar span:nth-child(2) { background: #febc2e; }
.browser-bar span:nth-child(3) { background: #28c840; }
.browser-bar em { font-style: normal; font-size: 0.8rem; color: var(--muted); margin-left: 0.6rem; background: #fff; border: 1px solid #c9d2e0; border-radius: 4px; padding: 0.15rem 0.8rem; }
.browser-frame iframe { width: 100%; height: 540px; border: 0; display: block; background: #fff; }

/* Pricing — flat cards, hairlines, no glow */
.price-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2.8rem; align-items: stretch; }
.price-card {
  background: var(--navy-2); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius); padding: 2.2rem 1.9rem;
  display: flex; flex-direction: column; position: relative;
}
.price-card.featured { border-top: 5px solid var(--orange); background: #14304e; }
.plan-tag {
  display: inline-block; align-self: flex-start;
  background: var(--orange); color: #fff; font-family: var(--font-head);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.3rem 0.8rem; border-radius: 3px; margin-bottom: 1rem;
}
.price-card h3 { color: #fff; margin-bottom: 0.3rem; }
.price { font-family: var(--font-head); font-weight: 900; font-size: 1.9rem; color: #fff; margin-bottom: 1.2rem; }
.price span { font-size: 0.95rem; font-weight: 600; color: #a9b8cf; }
.price-card ul { list-style: none; flex: 1; }
.price-card li { color: #d3ddee; padding: 0.5rem 0 0.5rem 1.6rem; position: relative; font-size: 0.96rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 800; }
.pricing-note { text-align: left; color: #a9b8cf; margin-top: 2rem; max-width: 620px; }

/* Process — numbered rows */
.step-list { list-style: none; margin: 2.2rem 0; }
.step-row {
  display: flex; gap: 1.4rem; align-items: flex-start;
  padding: 1.5rem 0; border-top: 1px solid var(--line);
}
.step-row:last-child { border-bottom: 1px solid var(--line); }
.step-num {
  flex-shrink: 0; width: 44px; height: 44px;
  background: var(--navy); color: #fff;
  font-family: var(--font-head); font-weight: 900; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
}
.step-row h3 { margin-bottom: 0.35rem; }
.step-row p { color: var(--muted); font-size: 0.99rem; }

/* Full-bleed photo band */
.photoband { position: relative; color: #fff; overflow: hidden; }
.photoband-bg {
  position: absolute; inset: 0;
  background: url("images/neighborhood-roofs.jpg") center 60% / cover no-repeat;
}
.photoband-shade { position: absolute; inset: 0; background: rgba(8,20,36,0.78); }
.photoband-inner { position: relative; padding: 5.5rem 0; max-width: 800px; }
.math-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 2rem 0 1.6rem; }
.math-item { border-left: 4px solid var(--orange); padding-left: 1.2rem; }
.math-num { display: block; font-family: var(--font-head); font-weight: 900; font-size: 2rem; color: #fff; letter-spacing: -0.01em; }
.math-label { color: #c3cfe3; font-size: 0.95rem; display: block; margin-top: 0.3rem; }
.photoband-quote {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -0.01em; line-height: 1.2;
  border-left: 5px solid var(--orange); padding-left: 1.4rem; margin-bottom: 1rem;
}
.photoband-sub { color: #c3cfe3; font-size: 1.1rem; padding-left: calc(1.4rem + 5px); }

/* FAQ */
.faq { margin-top: 2.2rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.3rem 0.2rem; font-family: var(--font-head); font-weight: 700;
  font-size: 1.08rem; color: var(--ink); text-align: left;
}
.faq-q:hover { color: var(--orange-dark); }
.faq-icon { color: var(--orange-dark); font-size: 1.6rem; font-weight: 400; line-height: 1; transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq-a p { padding: 0 0.2rem 1.4rem; color: var(--muted); max-width: 640px; }

/* Final CTA */
.cta-final { background: var(--navy); color: #fff; padding: 5.5rem 0; border-top: 5px solid var(--orange); }
.cta-final-sub { color: #b9c6db; font-size: 1.08rem; margin: 1rem 0 2rem; max-width: 480px; }
.cta-final .split-media img { border-radius: var(--radius); }

/* Footer */
.footer { background: #081425; color: #93a3bd; padding: 3rem 0 1.5rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.footer-brand p { margin-top: 0.6rem; font-size: 0.95rem; max-width: 320px; }
.footer-nav p { margin-bottom: 0.5rem; }
.footer-nav strong { color: #d5deee; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; }
.footer-nav a { display: block; color: #93a3bd; text-decoration: none; font-size: 0.95rem; padding: 0.22rem 0; }
.footer-nav a:hover { color: #fff; }
.footer-contact p { margin-bottom: 0.3rem; }
.footer-contact strong { color: #d5deee; }
.footer-contact a { color: var(--orange); text-decoration: none; font-weight: 600; }
.footer-contact a:hover { text-decoration: underline; }
.footer-base { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.3rem; font-size: 0.86rem; }
.photo-credit { color: #5f6f88; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-reverse > .split-media { order: 0; }
  .work-grid { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .price-row { grid-template-columns: 1fr; max-width: 520px; }
  .browser-frame iframe { height: 480px; }
}
@media (max-width: 760px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy); flex-direction: column; gap: 0;
    border-bottom: 3px solid var(--orange);
    max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  }
  .nav-links.open { max-height: 340px; }
  .nav-links a { padding: 0.95rem 4%; border-top: 1px solid rgba(255,255,255,0.08); }
  .hamburger { display: block; }
  .section { padding: 3.75rem 0; }
  .hero-inner { padding: 5rem 0 4.5rem; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .statband-inner { grid-template-columns: 1fr; gap: 0; padding: 1rem 0; }
  .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,0.14); padding: 1rem 0; }
  .stat:first-child { border-top: 0; }
  .photoband-inner { padding: 4rem 0; }
  .math-row { grid-template-columns: 1fr; gap: 1.2rem; }
  .cta-final { padding: 4rem 0; }
}
