:root {
  --orange: #ff5300;
  --orange-dark: #d94300;
  --ink: #101010;
  --graphite: #1e2024;
  --muted: #62666c;
  --paper: #f5f4f1;
  --white: #ffffff;
  --line: #deddd8;
  --display: "Arial Black", "Bahnschrift", Impact, sans-serif;
  --body: Arial, Helvetica, sans-serif;
  --shadow: 0 24px 70px rgba(16, 16, 16, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; min-width: 320px; overflow-x: clip; color: var(--ink); background: var(--white); font: 400 16px/1.65 var(--body); }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { max-width: 100%; font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.05; }
h1, h2 { font-family: var(--display); letter-spacing: -.035em; text-transform: uppercase; }
h1 { max-width: 920px; margin-bottom: 22px; font-size: clamp(2.65rem, 10vw, 5.8rem); }
h2 { margin-bottom: 22px; font-size: clamp(2rem, 7vw, 3.8rem); }
h3 { margin-bottom: 12px; font-size: 1.22rem; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 14px; color: var(--white); background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.shell { width: min(calc(100% - 32px), 1240px); margin-inline: auto; }
.section { padding: 78px 0; }
.section--tight { padding: 58px 0; }
.section--paper { background: var(--paper); }
.section--dark { color: #d9dadd; background: var(--ink); }
.section--dark h2, .section--dark h3, .section--dark p { color: inherit; }
.eyebrow { display: inline-flex; gap: 9px; align-items: center; margin-bottom: 16px; color: var(--orange-dark); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { width: 28px; height: 3px; content: ""; background: currentColor; }
.eyebrow--light { color: #ff7a39; }
.lead { max-width: 750px; color: var(--muted); font-size: clamp(1.05rem, 2.8vw, 1.25rem); }
.section--dark .lead { color: #c9cbd0; }
.btn { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border: 2px solid transparent; text-decoration: none; font-size: .82rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--orange { color: var(--white); background: var(--orange); }
.btn--orange:hover { background: var(--orange-dark); }
.btn--dark { color: var(--white); background: var(--ink); }
.btn--line { color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--line:hover { color: var(--ink); background: var(--white); }
.btn__arrow { font-size: 1.15em; }

.topbar { display: none; background: var(--ink); }
.topbar__inner { min-height: 38px; align-items: center; justify-content: space-between; color: #d7d7d7; font-size: .76rem; }
.topbar a { text-decoration: none; }
.site-header { position: sticky; z-index: 100; top: 0; border-top: 4px solid var(--orange); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.header__inner { display: flex; min-height: 76px; min-width: 0; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: block; width: 180px; min-width: 0; }
.brand img { width: 100%; }
.nav-toggle { display: grid; width: 48px; height: 48px; place-items: center; border: 0; color: var(--ink); background: var(--paper); }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 22px; height: 2px; content: ""; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -7px; }
.nav-toggle__bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }
.site-nav { position: absolute; top: 100%; left: 0; width: 100%; max-height: 0; overflow: hidden; visibility: hidden; border-bottom: 1px solid var(--line); background: var(--white); transition: max-height .28s ease, visibility .28s ease; }
.site-nav.is-open { max-height: 620px; visibility: visible; }
.site-nav ul { width: min(calc(100% - 32px), 1240px); margin: 0 auto; padding: 18px 0 26px; list-style: none; }
.site-nav a { display: block; padding: 13px 4px; border-bottom: 1px solid #ecebe7; text-decoration: none; font-size: .83rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.site-nav a[aria-current="page"] { color: var(--orange-dark); }
.header-cta { display: none; }

.hero { position: relative; min-height: 680px; isolation: isolate; color: var(--white); background: var(--graphite) url('../images/roofing-hero.webp') center/cover no-repeat; }
.hero::before { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, rgba(15,16,18,.93) 0%, rgba(15,16,18,.73) 52%, rgba(15,16,18,.12) 100%); }
.hero::after { position: absolute; right: 0; bottom: 0; left: 0; height: 7px; content: ""; background: var(--orange); clip-path: polygon(0 100%, 34% 100%, 38% 0, 100% 0, 100% 100%); }
.hero__inner { display: grid; min-height: 680px; min-width: 0; align-items: center; padding: 72px 0 96px; }
.hero__content { max-width: 780px; min-width: 0; }
.hero h1 { color: var(--white); }
.hero__accent { color: var(--orange); }
.hero__text { max-width: 650px; margin-bottom: 30px; color: #e3e4e7; font-size: clamp(1.05rem, 2.7vw, 1.25rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__markers { display: grid; gap: 1px; margin-top: 42px; background: rgba(255,255,255,.18); }
.hero__marker { padding: 13px 15px; color: #eee; background: rgba(20,20,22,.74); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.split { display: grid; min-width: 0; gap: 38px; align-items: center; }
.split > * { min-width: 0; }
.media-frame { position: relative; min-width: 0; }
.media-frame::before { position: absolute; z-index: -1; top: -14px; right: -8px; width: 62%; height: 62%; content: ""; background: var(--orange); clip-path: polygon(22% 0,100% 0,100% 78%,78% 100%,0 100%,0 22%); }
.media-frame img { width: 100%; aspect-ratio: 3/2; object-fit: cover; box-shadow: var(--shadow); }
.media-label { position: absolute; right: 0; bottom: 0; padding: 12px 17px; color: var(--white); background: var(--ink); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.feature-list { display: grid; gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 28px; color: #383b40; }
.feature-list li::before { position: absolute; top: .55em; left: 0; width: 13px; height: 8px; content: ""; border-bottom: 3px solid var(--orange); border-left: 3px solid var(--orange); transform: rotate(-45deg); }

.services-rail { display: grid; min-width: 0; gap: 18px; margin-top: 38px; }
.service-card { position: relative; min-width: 0; overflow: hidden; color: var(--white); background: var(--ink); box-shadow: var(--shadow); }
.service-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; opacity: .68; transition: transform .6s ease, opacity .3s ease; }
.service-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 25%, rgba(10,10,10,.94) 100%); }
.service-card__content { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 26px; }
.service-card h3, .service-card p { color: var(--white); }
.service-card h3 { font-family: var(--display); font-size: clamp(1.4rem, 5vw, 2rem); text-transform: uppercase; }
.service-card p { margin-bottom: 18px; color: #e0e0e0; }
.service-card a { color: #ff7a39; font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.service-card:hover img { transform: scale(1.04); opacity: .78; }

.process-grid, .service-grid, .values-grid { display: grid; min-width: 0; gap: 18px; margin-top: 38px; }
.process-card, .info-card { min-width: 0; padding: 28px; border: 1px solid var(--line); color: var(--ink); background: var(--white); }
.process-card h3 { color: var(--ink); }
.process-card__num { display: block; margin-bottom: 34px; color: var(--orange); font: 900 2.25rem/1 var(--display); }
.process-card p, .info-card p { color: var(--muted); }
.info-card { position: relative; overflow: hidden; }
.info-card::before { position: absolute; top: 0; left: 0; width: 5px; height: 100%; content: ""; background: var(--orange); transform: scaleY(.25); transform-origin: top; transition: transform .3s ease; }
.info-card:hover::before { transform: scaleY(1); }
.info-card__icon { display: grid; width: 48px; height: 48px; margin-bottom: 24px; place-items: center; color: var(--white); background: var(--orange); font-family: var(--display); }

.page-hero { position: relative; overflow: hidden; color: var(--white); background: var(--ink); }
.page-hero::after { position: absolute; top: -140px; right: -150px; width: 420px; height: 420px; content: ""; border: 60px solid rgba(255,83,0,.14); transform: rotate(45deg); }
.page-hero__inner { position: relative; z-index: 1; padding: 90px 0 82px; }
.page-hero h1 { max-width: 860px; color: var(--white); }
.page-hero p { max-width: 700px; color: #ced0d4; font-size: 1.12rem; }
.page-hero__crumbs { margin-bottom: 28px; color: #b9bbc0; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.page-hero__crumbs a { color: #ff7a39; text-decoration: none; }
.visual-band { display: grid; min-width: 0; background: var(--paper); }
.visual-band__image { min-height: 340px; background-position: center; background-size: cover; }
.visual-band__content { min-width: 0; padding: 50px max(16px, calc((100vw - 1240px)/2)); }
.visual-band__content ul { margin: 24px 0 0; }

.cta-band { position: relative; overflow: hidden; color: var(--white); background: var(--orange); }
.cta-band::after { position: absolute; top: -80%; right: -5%; width: 340px; height: 340px; content: ""; border: 50px solid rgba(255,255,255,.14); transform: rotate(45deg); }
.cta-band__inner { position: relative; z-index: 1; display: grid; min-width: 0; gap: 24px; align-items: center; }
.cta-band h2, .cta-band p { color: var(--white); }
.cta-band h2 { margin-bottom: 10px; }
.cta-band .btn { justify-self: start; }

.legal-panel { display: grid; min-width: 0; gap: 1px; margin-top: 34px; background: var(--line); border: 1px solid var(--line); }
.legal-panel__item { min-width: 0; padding: 22px; background: var(--white); }
.legal-panel__label { display: block; margin-bottom: 7px; color: var(--muted); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }

.contact-grid { display: grid; min-width: 0; gap: 32px; }
.contact-grid > * { min-width: 0; }
.contact-cards { display: grid; gap: 14px; margin-top: 28px; }
.contact-card { padding: 22px; border-left: 4px solid var(--orange); background: var(--paper); }
.contact-card span { display: block; margin-bottom: 5px; color: var(--muted); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.contact-card a { overflow-wrap: anywhere; color: var(--ink); font-weight: 700; }
.quote-form { padding: 26px; color: var(--ink); background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; min-width: 0; gap: 18px; }
.field { min-width: 0; }
.field label { display: block; margin-bottom: 7px; font-size: .8rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 11px 13px; border: 1px solid #bbbcbf; border-radius: 0; color: var(--ink); background: var(--white); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); outline: 2px solid rgba(255,83,0,.22); }
.field--full { grid-column: 1 / -1; }
.check-field { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; }
.check-field input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--orange); }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: .78rem; }
.hp-field { position: absolute !important; left: -9999px !important; }

.site-footer { color: #bfc1c6; background: #0c0c0d; }
.footer__grid { display: grid; min-width: 0; gap: 36px; padding: 62px 0 42px; }
.footer__grid > * { min-width: 0; }
.footer__brand img { width: 220px; margin-bottom: 20px; padding: 10px 14px; background: var(--white); }
.footer__brand p { max-width: 450px; color: #bfc1c6; }
.footer__title { margin-bottom: 16px; color: var(--white); font-size: .82rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.footer__links { margin: 0; padding: 0; list-style: none; }
.footer__links li + li { margin-top: 8px; }
.footer__links a { color: #c9cbd0; text-decoration: none; }
.footer__links a:hover { color: #ff7a39; }
.footer__contact { overflow-wrap: anywhere; }
.footer__bottom { padding: 22px 0; border-top: 1px solid #2b2c2f; color: #8e9197; font-size: .78rem; }

[data-reveal] { opacity: 1; transform: none; }
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 479px) {
  .hero__actions .btn, .cta-band .btn, .quote-form .btn { width: 100%; }
  .quote-form { padding: 20px 16px; }
}

@media (min-width: 768px) {
  .section { padding: 98px 0; }
  .brand { width: 225px; }
  .hero__markers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 58px; }
  .services-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card img { aspect-ratio: 16/11; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .visual-band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .visual-band__image { min-height: 560px; }
  .visual-band__content { padding: 78px 8vw; align-self: center; }
  .cta-band__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .legal-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1.5fr .7fr .9fr; }
}

@media (min-width: 1024px) {
  .topbar { display: block; }
  .topbar__inner { display: flex; }
  .site-header { top: 0; }
  .header__inner { min-height: 86px; }
  .brand { width: 235px; }
  .nav-toggle { display: none; }
  .site-nav { position: static; width: auto; max-height: none; overflow: visible; visibility: visible; border: 0; background: transparent; }
  .site-nav ul { display: flex; width: auto; align-items: center; gap: 24px; padding: 0; }
  .site-nav a { position: relative; padding: 30px 0 28px; border: 0; font-size: .74rem; }
  .site-nav a::after { position: absolute; right: 0; bottom: 19px; left: 0; height: 3px; content: ""; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
  .site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .header-cta { display: inline-flex; }
  .hero, .hero__inner { min-height: 720px; }
  .hero__inner { padding-top: 92px; }
  .hero__content { margin-left: 4vw; }
  .process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: .78fr 1.22fr; gap: 70px; }
  .legal-panel { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
