<!DOCTYPE html>
<html lang="en">
<head>
<meta content="width=device-width, initial-scale=1" name="viewport"/>
<title>Complete Peace of Mind | Double R Roofing</title>
<link rel="canonical" href="https://riseabovethe.rest/complete-peace-of-mind/"/>
<meta content="Double R Roofing offers comprehensive warranty protection for all roofing work. Learn about our workmanship, material, and extended warranty coverage in Princeton, WV." name="description"/>
<!-- Open Graph & Twitter Cards -->
<meta content="Warranty Information | Double R Roofing | Princeton WV" property="og:title"/>
<meta content="Double R Roofing offers comprehensive warranty protection for all roofing work." property="og:description"/>
<meta content="https://riseabovethe.rest/images/Double_R_Roofings_3d_Logo-150.webp" property="og:image"/>
<meta content="summary_large_image" name="twitter:card"/>
<link rel="preload" href="/fonts/rubik-lines-v1-latin-regular.woff2" as="font" type="font/woff2" crossorigin="">
<link rel="preload" href="/fonts/walter-turncoat-v24-latin-regular.woff2" as="font" type="font/woff2" crossorigin="">
<link rel="stylesheet" href="/fonts.css">
<title>Double R Roofing | Princeton, WV Roofing Experts</title>
<link rel="canonical" href="https://riseabovethe.rest/index/">
<meta name="description" content="Double R Roofing provides professional roofing services in Princeton, WV. From repairs to full replacements.Metal, shingle, and low slope systems installed.">
<meta name="keywords" content="rise above the rest Princeton, WV, roof repair Princeton, WV, roofing contractor Princeton, WV, roofing Princeton, WV, RiseabovetheRest">
<link rel="canonical" href="https://riseabovethe.rest/">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">

<!-- Preload LCP -->
<link rel="preload" as="image" href="/images/Double_R_Roofing_completion_image-400.webp" type="image/webp" fetchpriority="high">
</x-icon" href="/favicon.ico">
</png" sizes="32x32" href="/favicon-32x32.png">
</png" sizes="16x16" href="/favicon-16x16.png">
</apple-touch-icon.png">
<meta name="robots" content="index, follow, max-image-preview:large">
<!-- Open Graph -->
<meta property="og:title" content="Rise Above The Rest | Double R Roofing">
<meta property="og:description" content="Princeton WV's top-rated roofer. 24/7 Emergency Service. Free estimates. Call (304) 716-5744.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://riseabovethe.rest/">
<meta property="og:image" content="https://riseabovethe.rest/images/Double_R_Roofings_3d_Logo.webp">

<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="https://riseabovethe.rest/images/Double_R_Roofings_3d_Logo.webp">

<!-- Fonts - ASYNC --><noscript></noscript>
<link rel="preload" href="/fonts/rubik-lines-v1-latin-regular.woff2" as="font" type="font/woff2" crossorigin="">
<link rel="preload" href="/fonts/walter-turncoat-v24-latin-regular.woff2" as="font" type="font/woff2" crossorigin="">
<link rel="stylesheet"href="/fonts.css">
<!-- Schema -->
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "Organization",
"@id": "https://riseabovethe.rest/#organization",
"name": "Double R Roofing",
"url": "https://riseabovethe.rest/",
"logo": {
"@type": "ImageObject",
"url": "https://riseabovethe.rest/Double_R_Roofings_3d_Logo-200.webp"
},
"sameAs": [
"https://www.facebook.com/profile.php?id=61560587609585",
"https://www.instagram.com/Double_R_Roofing/",
"https://www.twitter.com/double_r_roofin",
"https://tiktok.com/@aboveallriseabovetherest"
]
},
{
"@type": "WebSite",
"@id": "https://riseabovethe.rest/#website",
"url": "https://riseabovethe.rest/",
"name": "Double R Roofing",
"publisher": {
"@id": "https://riseabovethe.rest/#organization"
},
"inLanguage": "en-US"
},
{
"@type": "LocalBusiness",
"@id": "https://riseabovethe.rest/#business",
"name": "Double R Roofing",
"url": "https://riseabovethe.rest/",
"image": "https://riseabovethe.rest/Double_R_Roofings_3d_Logo-200.webp",
"logo": "https://riseabovethe.rest/Double_R_Roofings_3d_Logo-200.webp",
"telephone": "(304)716-5744",
"priceRange": "$$",
"address": {
"@type": "PostalAddress",
"streetAddress": "510 Oliver Ave",
"addressLocality": "Princeton",
"addressRegion": "WV",
"postalCode": "24740",
"addressCountry": "US"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 37.36722,
"longitude": -81.09250
},
"areaServed": [
"Princeton, WV",
"Mercer County, WV",
"Southern West Virginia"
],
"parentOrganization": {
"@id": "https://riseabovethe.rest/#organization"
}
}
]
}
</script>
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
--orange: #ff4500;
--orange2: #ff4d00;
--dark: #060a0f;
--text: #f0f4f8;
--muted: #8a9ab0;
--border: rgba(255,69,0,.22);
--glass: rgba(0,0,0,0.88);
--white: #ffffff;
--rl: 'Rubik Lines', sans-serif;
--wt: 'Walter Turncoat', cursive; --max: 1240px;
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
background: var(--dark);
color: var(--text);
font-family: var(--wt);
overflow-x: hidden;
font-weight: 400; /* Walter Turncoat body text */
}

/* Force Rubik Lines to 400 (not bold) */
.hero-title, .section-title, .brand-main, .btn-phone, .btn-quote,
.hstat-num, .svc-name, .prot-title, .pc-title, .ft-brand, .rl,
.rise-word, .section-label, .cta-inner h2, .emergency-text h2 {
font-weight: 400 !important; /* Rubik Lines only renders at 400 */
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }


.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

#bg-canvas {
position: fixed; inset: 0;
width: 100%; height: 100%;
z-index: 0; pointer-events: none;
}

/* Header */
.header {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 200;
padding: 1rem 2rem;
background: linear-gradient(to bottom, var(--bg-dark), transparent);
transition: background 0.3s ease;
}

.header.scrolled {
background: hsla(30, 15%, 8%, 0.95);
}

.header-content {
max-width: 1400px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}

.logo {
font-size: 1.5rem;
font-weight: 400;
color: var(--text-primary);
text-decoration: none;
}

.logo span {
color: var(--accent);
}

.nav-links {
display: flex;
gap: 2rem;
list-style: none;
}

.nav-links a {
color: var(--text-secondary);
text-decoration: none;
font-weight: 400;
transition: color 0.2s ease;
}

.nav-links a:hover {
color: var(--accent);
}

.cta-button {
background: linear-gradient(135deg, var(--accent), var(--accent-dark));
color: white;
padding: 0.75rem 1.5rem;
border-radius: 8px;
font-weight: 400;
text-decoration: none;
transition: all 0.3s ease;
border: none;
cursor: pointer;
font-size: 0.95rem;
}

.cta-button:hover {
transform: translateY(-2px);
box-shadow: 0 10px 30px hsla(28, 70%, 45%, 0.3);
}

.cta-button.outline {
background: transparent;
border: 2px solid var(--accent);
color: var(--accent);
}

.cta-button.outline:hover {
background: var(--accent);
color: white;
}

/* Hero */
.hero {
padding-top: 140px; /* 76px nav + 64px breathing room */
min-height: calc(100vh - 76px);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-eyebrow {
display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 999px;
border: 1px solid rgba(255,69,0,.35); background: rgba(255,69,0,.1);
font-size: .88rem; color: #ffd3c4; margin-bottom: 22px;
}
.hero-title { font-family: var(--rl); font-size: clamp(3rem, 7vw, 7.5rem); color: #fff; line-height: .92; margin-bottom: 10px; }
.hero-title .t-orange { color: var(--orange); text-shadow: 0 0 30px rgba(255,69,0,.9); }
.hero-title .t-outline { -webkit-text-stroke: 2px rgba(255,255,255,.3); color: transparent; }
.hero-tagline { font-family: var(--rl); font-size: clamp(1.1rem, 2.5vw, 1.6rem); color: var(--orange); margin-bottom: 24px; }
.hero-desc { font-size: 1.05rem; color: var(--muted); line-height: 1.8; max-width: 560px; margin-bottom: 36px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.btn-primary {
display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 10px;
background: linear-gradient(135deg, var(--orange), var(--orange2)); color: #fff; font-family: var(--rl);
text-decoration: none; box-shadow: 0 6px 30px rgba(255,69,0,.45);
}
.btn-ghost {
display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 10px;
border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.85); text-decoration: none;
}

.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.hstat { padding: 18px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); }
.hstat-num { font-family: var(--rl); font-size: 2.2rem; color: var(--orange); display: block; margin-bottom: 4px; }
.hstat-label { font-size: .9rem; color: #fff; }

/* Hero Image */
.hero-visual { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 12px 40px rgba(0,0,0,.6); }
.hero-visual img { width: 100%; height: 580px; object-fit: cover; display: block; }
.hero-visual-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(6,10,15,.75)); pointer-events: none; }
.hero-badge { position: absolute; padding: 10px 14px; border-radius: 12px; background: rgba(6,10,15,.92); border: 1px solid var(--border); }
.badge-tl { top: 16px; left: 16px; }
.badge-tr { top: 16px; right: 16px; }
.badge-bl { bottom: 16px; left: 16px; }

/* Ticker */
.ticker-bar { background: rgba(255,69,0,.08); border-top: 1px solid rgba(255,69,0,.18); border-bottom: 1px solid rgba(255,69,0,.18); padding: 14px 0; overflow: hidden; }
.ticker-track { display: flex; gap: 60px; width: max-content; animation: tickerScroll 28s linear infinite; }
@keyframes tickerScroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.ticker-item { display: flex; align-items: center; gap: 12px; font-family: var(--rl); font-size: .85rem; color: rgba(255,255,255,.75); white-space: nowrap; }

/* Sections */
section { padding: 90px 0; }
.section-label { font-family: var(--rl); font-size: .78rem; color: var(--orange); text-transform: uppercase; margin-bottom: 14px; }
.section-title { font-family: var(--rl); font-size: clamp(2rem, 4vw, 3.8rem); color: #fff; margin-bottom: 14px; }
.section-title span { color: var(--orange); }
.section-desc { color: var(--muted); font-size: 1rem; line-height: 1.75; max-width: 600px; margin-bottom: 44px; }

/* Services - USING WEBP IMAGES */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-card { position: relative; height: 280px; perspective: 900px; cursor: pointer; }
.svc-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .55s; border-radius: 20px; }
.svc-card:hover .svc-inner { transform: rotateY(180deg); }
.svc-front, .svc-back {
position: absolute; inset: 0; border-radius: 20px; backface-visibility: hidden;
padding: 28px 24px; background: rgba(10,16,24,.9); border: 1px solid rgba(255,255,255,.07);
display: flex; flex-direction: column; justify-content: flex-end;
}
.svc-back { transform: rotateY(180deg); background: linear-gradient(135deg, rgba(255,69,0,.18), rgba(10,16,24,.95)); justify-content: center; align-items: flex-start; }
.svc-icon { font-size: 2.2rem; margin-bottom: 14px; }
.svc-name { font-family: var(--rl); font-size: 1.1rem; text-transform: uppercase; }
.svc-back h3 { font-family: var(--rl); font-size: 1rem; color: var(--orange); margin-bottom: 14px; }
.svc-back p { font-size: .88rem; color: var(--muted); line-height: 1.65; margin-bottom: 14px; }
.svc-back a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 8px; background: var(--orange); color: #fff; font-family: var(--rl); font-size: .82rem; text-decoration: none; }

/* Service Card Backgrounds - WEBP PATHS */
.svc-s1 { background-image: url('/images/Double_R_Roofing_homepage_owens_corning_image-400.webp'); background-size: cover; background-position: center; }
.svc-s2 { background-image: url('images/Double_R_Roofing_homepage.webp'); background-size: cover; background-position: center; }
.svc-s3 { background-image: url('images/roof-repairs.webp'); background-size: cover; background-position: center; }
.svc-s4 { background-image: url('images/storm-damage.webp'); background-size: cover; background-position: center; }

/* JPEG Fallback for older browsers */
@supports not (background-image: url(images/Double_R_Roofings_3d_Logo-150.webp)) {
.svc-s1 { background-image: url('images/Double_R_Roofing_homepage_owens_corning.jpg'); }
.svc-s2 { background-image: url('images/Double_R_Roofing_homepage.jpg'); }
.svc-s3 { background-image: url('roof-repairs-400.webp'); }
.svc-s4 { background-image: url('images/storm-damage-400.webp'); }
}

/* Emergency */
.emergency-banner { background: linear-gradient(135deg, rgba(255,69,0,.2), rgba(255,69,0,.05)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 60px 0; }
.emergency-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: center; }
.emergency-text h2 { font-family: var(--rl); font-size: clamp(1.8rem, 3vw, 2.8rem); color: #fff; margin-bottom: 16px; }
.emergency-text h2 span { color: var(--orange); }
.emergency-text p { color: var(--muted); font-size: 1.05rem; line-height: 1.8; margin-bottom: 24px; }
.emergency-features { display: grid; gap: 16px; }
.ef-item { display: flex; align-items: flex-start; gap: 16px; padding: 20px; background: rgba(10,16,24,.6); border: 1px solid rgba(255,69,0,.2); border-radius: 12px; }
.ef-icon { font-size: 2rem; }
.ef-content h3 { font-family: var(--rl); font-size: 1.1rem; color: #fff; margin-bottom: 6px; }

/* Protection */
.protection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.protection-card { padding: 36px 28px; border-radius: 20px; background: rgba(10,16,24,.9); border: 1px solid rgba(255,255,255,.08); min-height: 380px; display: flex; flex-direction: column; }
.protection-card:hover { transform: translateY(-10px); border-color: rgba(255,69,0,.4); transition: transform .3s, border-color .3s; }
.prot-icon { font-size: 3rem; margin-bottom: 20px; }
.prot-title { font-family: var(--rl); font-size: 1.4rem; color: var(--orange); margin-bottom: 16px; }
.prot-desc { color: var(--muted); font-size: .95rem; line-height: 1.8; margin-bottom: 24px; flex-grow: 1; }
.prot-list { list-style: none; }
.prot-list li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: .9rem; color: #cdd6e0; display: flex; align-items: center; gap: 10px; }
.prot-list li::before { content: '✓'; color: var(--orange); font-weight: bold; }

/* Why Us */
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.promise-card { padding: 36px 28px; border-radius: 20px; background: rgba(10,16,24,.85); border: 1px solid rgba(255,255,255,.07); }
.promise-card:hover { transform: translateY(-8px); border-color: rgba(255,69,0,.35); transition: transform .3s, border-color .3s; }
.pc-icon { font-size: 2.8rem; margin-bottom: 16px; }
.pc-title { font-family: var(--rl); font-size: 1.3rem; color: var(--orange); margin-bottom: 12px; }
.pc-desc { color: var(--muted); font-size: .9rem; line-height: 1.7; margin-bottom: 18px; }
.pc-list { display: grid; gap: 8px; }
.pc-item { padding: 10px 14px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); font-size: .87rem; color: #cdd6e0; }

/* CTA */
.cta-strip { padding: 60px 0; background: linear-gradient(135deg, rgba(255,69,0,.14), rgba(255,69,0,.04)); border-top: 1px solid rgba(255,69,0,.25); border-bottom: 1px solid rgba(255,69,0,.25); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-inner h2 { font-family: var(--rl); font-size: clamp(1.6rem, 3vw, 2.6rem); color: #fff; }
.cta-inner h2 span { color: var(--orange); }
.cta-btns { display: flex; gap: 14px; }
.btn-phone-pulse { display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; border-radius: 10px; background: var(--orange); color: #fff; font-family: var(--rl); font-size: 1.1rem; text-decoration: none; animation: phonePulse 2.4s ease-in-out infinite; }
@keyframes phonePulse { 0%,100%{box-shadow:0 0 0 0 rgba(255,69,0,.5)} 50%{box-shadow:0 0 0 14px rgba(255,69,0,0)} }

/* Footer - USING WEBP BACKGROUND */
#brand-footer { position: relative; padding: 3rem 2rem 2.5rem; overflow: hidden; border-top: 1px solid rgba(255,69,0,.18); }
#brand-footer::before {
content: ''; position: absolute; inset: 0;
background: url('images/Double_R_Roofing_footer_background_image.webp') center/cover no-repeat;
z-index: 0;
}
.ft-bg {
position: absolute; inset: -8%;
background: url('images/Double_R_Roofing_footer_background_image.webp') center/125% no-repeat;
animation: kenBurnsRise 42s ease-in-out infinite;
z-index: 1;
}
@keyframes kenBurnsRise { 0%,100% { transform: scale(1.05); } 50% { transform: scale(1.2); } }
.ft-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,2,0,0.93) 0%, rgba(10,5,0,0.78) 38%, transparent 100%); z-index: 2; }
.ft-inner { position: relative; z-index: 4; max-width: 1100px; margin: 0 auto; text-align: center; color: #fff; }
.ft-brand { font-family: var(--rl); font-size: clamp(3rem, 8.25vw, 6rem); letter-spacing: 0.08em; margin-bottom: 0.3rem; }
.ft-letter { display: inline-block; animation: letterLaunch 5.6s ease-in-out infinite; }
@keyframes letterLaunch { 0%,100% { transform: translateY(0) scale(1); opacity: 1; } 34% { transform: translateY(-100px) scale(0.8); opacity: 0.1; } 35% { transform: translateY(80px) scale(0.6); opacity: 0; } 55% { transform: translateY(6px) scale(1.1); opacity: 0.9; } 72% { transform: translateY(0) scale(1); opacity: 1; } }
.ft-divider { height: 1px; background: linear-gradient(90deg, transparent, #ff4500, #ff9900, #ff4500, transparent); max-width: 460px; margin: 0.4rem auto 1rem; animation: dividerEnergy 3.8s ease-in-out infinite; }
@keyframes dividerEnergy { 0%,100% { opacity: 0.45; transform: scaleX(0.55); } 50% { opacity: 1; transform: scaleX(1); } }
.rise-hero { display: flex; gap: 0.02em; justify-content: center; align-items: baseline; margin-bottom: 0.2rem; }
.rl { font-family: var(--rl); font-size: clamp(4rem, 12vw, 8rem); display: inline-block; line-height: 0.95; animation: letterLaunch 5.6s ease-in-out infinite; }
.rl:nth-child(1) { color: #ff3300; animation-delay: 0s; filter: drop-shadow(0 0 14px rgba(255,51,0,.8)); }
.rl:nth-child(2) { color: #ff4d00; animation-delay: 0.8s; filter: drop-shadow(0 0 14px rgba(255,77,0,.7)); }
.rl:nth-child(3) { color: #ff6600; animation-delay: 1.6s; filter: drop-shadow(0 0 14px rgba(255,102,0,.7)); }
.rl:nth-child(4) { color: #ff8000; animation-delay: 2.4s; filter: drop-shadow(0 0 14px rgba(255,128,0,.6)); }
.above-rest { display: flex; gap: 0.75em; justify-content: center; align-items: baseline; padding: 0.6rem 1.5rem; margin-bottom: 1.5rem; }
.rise-word { font-family: var(--wt); font-size: clamp(1.2rem, 3.4vw, 2.1rem); letter-spacing: 0.14em; text-transform: uppercase; animation: wordAscend 3.6s ease-in-out infinite; }
.rise-word:nth-child(1) { animation-delay: 0s; }
.rise-word:nth-child(2) { animation-delay: 0.5s; }
.rise-word:nth-child(3) { animation-delay: 1.0s; }
@keyframes wordAscend { 0% { transform: translateY(14px); opacity: 0.3; } 55% { transform: translateY(-9px); opacity: 1; } 100% { transform: translateY(14px); opacity: 0.3; } }
.ft-bottom { font-family: var(--wt); font-size: 0.79rem; color: rgba(255,255,255,0.35); padding-top: 1.5rem; border-top: 1px solid rgba(255,69,0,0.14); display: flex; justify-content: center; gap: 1.4rem; flex-wrap: wrap; }

/* Mobile */
@media (max-width: 1060px) {
.hero-grid { grid-template-columns: 1fr; }
.hero-visual { display: none; }
.services-grid { grid-template-columns: repeat(2, 1fr); }
.emergency-grid { grid-template-columns: 1fr; }
.protection-grid { grid-template-columns: 1fr; }
.promise-grid { grid-template-columns: 1fr; }
.cta-inner { flex-direction: column; text-align: center; }
.rr-menu { display: none; }
.rr-burger { display: flex; }
}
@media (max-width: 580px) {
.services-grid { grid-template-columns: 1fr; }
}
/* ══ NAV ══ */
#rr-nav {
position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
background: var(--glass);
backdrop-filter: blur(18px) saturate(180%);
-webkit-backdrop-filter: blur(18px) saturate(180%);
border-bottom: 2px solid var(--orange);
box-shadow: 0 0 36px rgba(255,69,0,0.28), 0 4px 20px rgba(0,0,0,0.9);
}
#rr-nav::before {
content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
background: linear-gradient(90deg, transparent, var(--orange), #ff8000, var(--orange), transparent);
background-size: 200% 100%;
animation: stripe 2.8s linear infinite;
}
@keyframes stripe { 0%{background-position:200% 0;} 100%{background-position:-200% 0;} }

.rr-inner {
max-width: 1460px; margin: 0 auto;
display: flex; align-items: center; gap: 14px;
padding: 0 28px; height: 78px;
}

/* ── LOGO ── */
.rr-logo { display:flex; align-items:center; gap:11px; text-decoration:none; flex-shrink:0; }
.rr-logo img {
width:60px; height:60px; border-radius:50%;
border:2px solid var(--orange);
animation: logo-glow 3s ease-in-out infinite;
}
@keyframes logo-glow {
0%,100%{box-shadow:0 0 12px rgba(255,69,0,0.5);}
50%{box-shadow:0 0 28px rgba(255,69,0,1), 0 0 52px rgba(255,100,0,0.38);}
}
.rr-logo-text { display:flex; flex-direction:column; line-height:1.2; }
.brand-main { font-family:var(--rl); font-size:20px; font-weight:400; color:var(--orange); text-shadow:0 0 10px rgba(255,69,0,0.55); letter-spacing:1px; }
.brand-sub { font-family:var(--rl); font-size:9px; font-weight:400; color:rgba(255,255,255,0.45); letter-spacing:3px; text-transform:uppercase; margin-top:3px; }

/* ── DESKTOP MENU ── */
.rr-menu { display:flex; align-items:center; list-style:none; gap:2px; flex:1; justify-content:center; }
.rr-menu > li { position:relative; }

.rr-tab {
display:flex; align-items:center; gap:5px;
padding:9px 14px;
font-family:var(--rl); font-size:13px; font-weight:400;
color:rgba(255,255,255,0.8); text-transform:uppercase; letter-spacing:0.8px;
cursor:pointer; border:none; background:transparent; border-radius:6px;
white-space:nowrap; position:relative;
transition:color 0.2s, background 0.2s;
}
.rr-tab::after {
content:''; position:absolute; bottom:5px; left:50%; right:50%;
height:2px; background:var(--orange); border-radius:2px;
transition:left 0.25s, right 0.25s;
}
.rr-tab:hover { color:var(--orange); background:rgba(255,69,0,0.07); }
.rr-tab:hover::after { left:14px; right:14px; }
.rr-tab .arrow { font-size:9px; color:var(--orange); transition:transform 0.25s; }
.rr-menu > li:hover .arrow { transform:rotate(180deg); }

/* ── DESKTOP DROPDOWNS ── */
.rr-drop {
position:absolute; top:calc(100% + 12px); left:50%;
transform:translateX(-50%) translateY(8px);
min-width:250px;
background:rgba(6,6,6,0.98);
border:1px solid rgba(255,69,0,0.22); border-top:2px solid var(--orange);
border-radius:0 0 10px 10px; padding:8px 0;
opacity:0; pointer-events:none;
transition:opacity 0.22s, transform 0.22s;
box-shadow:0 24px 55px rgba(0,0,0,0.97);
z-index:100;
}
.rr-drop::before {
content:''; position:absolute; top:-7px; left:50%;
transform:translateX(-50%);
border:6px solid transparent; border-bottom-color:var(--orange); border-top:none;
}
.rr-menu > li:hover .rr-drop { opacity:1; pointer-events:all; transform:translateX(-50%) translateY(0); }

/* BRIDGE CSS removed */

/* Bridge for last-child dropdown too */
.rr-menu > li:last-child::after { left:auto; right:0; width:100%; }
.rr-menu > li:last-child .rr-drop { left:auto; right:0; transform:translateX(0) translateY(8px); }
.rr-menu > li:last-child:hover .rr-drop { transform:translateX(0) translateY(0); }
.rr-menu > li:last-child .rr-drop::before { left:auto; right:22px; }

.rr-drop a {
display:block; padding:9px 20px;
font-family:var(--wt); font-size:14px; font-weight:400;
color:rgba(255,255,255,0.68); text-decoration:none; letter-spacing:0.3px;
border-left:2px solid transparent;
transition:color 0.14s, background 0.14s, padding-left 0.18s;
white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.rr-drop a:hover { color:var(--white); background:rgba(255,69,0,0.1); border-left-color:var(--orange); padding-left:26px; }
.rr-drop-section {
padding:5px 20px 2px; font-family:var(--wt); font-size:10px; font-weight:400;
color:var(--orange); text-transform:uppercase; letter-spacing:2.5px; margin-top:6px;
}
.rr-drop hr { border:none; border-top:1px solid rgba(255,69,0,0.14); margin:5px 12px; }

/* ══ BUTTONS ══ */
.rr-btns { display:flex; align-items:center; gap:12px; flex-shrink:0; }

/* ── PHONE ── */
.btn-phone {
display:inline-flex; align-items:center; justify-content:center;
padding:13px 24px; font-family:var(--rl); font-size:16px; font-weight:400;
color:var(--white); background:var(--orange); border:2px solid var(--orange);
border-radius:8px; text-decoration:none; white-space:nowrap; cursor:pointer;
letter-spacing:0.8px; min-width:210px;
box-shadow:0 4px 18px rgba(255,69,0,0.4);
}
.btn-phone.s-normal { background:var(--orange); border-color:var(--orange); color:var(--white); transform:scale(1); box-shadow:0 4px 18px rgba(255,69,0,0.4); transition:all 0.45s ease; }
.btn-phone.s-grow { background:var(--orange); border-color:var(--orange); color:var(--white); transform:scale(1.13); box-shadow:0 6px 34px rgba(255,69,0,0.9),0 0 52px rgba(255,80,0,0.38); transition:all 0.28s ease; }
.btn-phone.s-black { background:var(--black); border-color:var(--orange); color:var(--orange); transform:scale(1.07); box-shadow:0 4px 26px rgba(255,69,0,0.6); transition:all 0.2s ease; }
.btn-phone.s-shrink { background:var(--orange); border-color:var(--orange); color:var(--white); transform:scale(0.92); box-shadow:0 2px 8px rgba(255,69,0,0.22); transition:all 0.28s ease; }

/* ── QUOTE ── */
.btn-quote {
display:inline-flex; align-items:center; justify-content:center;
padding:13px 28px; font-family:var(--rl); font-size:16px; font-weight:400;
letter-spacing:0.8px; color:var(--white); background:var(--orange);
border:2px solid var(--orange); border-radius:8px;
text-decoration:none; cursor:pointer; white-space:nowrap;
position:relative; overflow:hidden;
animation:qpulse 2.6s ease-in-out infinite;
}
.btn-quote::before {
content:''; position:absolute; top:-60%; left:-80%; width:55%; height:220%;
background:linear-gradient(105deg,transparent 20%,rgba(255,255,255,0.4) 50%,transparent 80%);
transform:skewX(-18deg); animation:shimmer 2.6s ease-in-out infinite; pointer-events:none;
}
.btn-quote::after {
content:''; position:absolute; inset:-5px; border-radius:12px;
border:2px solid var(--orange); opacity:0;
animation:ripple 2.6s ease-in-out infinite; pointer-events:none;
}
@keyframes qpulse {
0%,100%{background:var(--orange);color:var(--white);box-shadow:0 0 10px rgba(255,69,0,0.45);transform:scale(1);}
35%{background:rgba(255,69,0,0.05);color:var(--orange);box-shadow:0 0 30px rgba(255,69,0,1),0 0 62px rgba(255,80,0,0.38);transform:scale(1.06);}
65%{background:var(--orange);color:var(--white);box-shadow:0 0 16px rgba(255,69,0,0.55);transform:scale(0.98);}
}
@keyframes shimmer { 0%{left:-80%;} 65%{left:130%;} 100%{left:130%;} }
@keyframes ripple { 0%,100%{opacity:0;transform:scale(1);} 35%{opacity:0.5;transform:scale(1.1);} 60%{opacity:0;transform:scale(1.18);} }

/* ── HAMBURGER ── */
.rr-burger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:8px; background:none; border:none; margin-left:auto; }
.rr-burger span { display:block; width:24px; height:2px; background:var(--orange); border-radius:2px; transition:0.3s; }

#rr-nav.scrolled { background:rgba(0,0,0,0.97); }

/* ── RESPONSIVE ── */
@media (max-width:1160px) {
.rr-tab { font-size:12px; padding:8px 10px; }
.btn-quote,.btn-phone { font-size:14px; padding:12px 18px; }
.btn-phone { min-width:185px; }
}
@media (max-width:920px) {
.rr-menu { display:none; }
.rr-burger { display:flex; }
.btn-phone { min-width:unset; padding:12px 14px; font-size:13px; }
.btn-quote { font-size:13px; padding:12px 16px; }
}

/* ══ MOBILE MENU ══ */
#rr-mobile {
display:none; position:fixed;
top:78px; left:0; right:0;
background:rgba(0,0,0,0.98);
border-bottom:2px solid var(--orange);
z-index:9998;
}
#rr-mobile.open { display:block; }

.mob-tabs {
display:flex; overflow-x:auto; scrollbar-width:none;
border-bottom:1px solid rgba(255,69,0,0.2);
}
.mob-tabs::-webkit-scrollbar { display:none; }
.mob-tab {
flex-shrink:0; padding:14px 16px;
font-family:var(--rl); font-size:12px; font-weight:400;
color:rgba(255,255,255,0.7); text-transform:uppercase; letter-spacing:0.8px;
cursor:pointer; border:none; background:transparent;
border-bottom:2px solid transparent; margin-bottom:-1px;
transition:color 0.2s, border-color 0.2s; white-space:nowrap;
}
.mob-tab.active { color:var(--orange); border-bottom-color:var(--orange); }

.mob-panel {
display:none; padding:10px 0 16px;
columns:2; column-gap:0;
max-height:calc(100vh - 142px); overflow-y:auto;
}
.mob-panel.open { display:block; }
.mob-panel .mob-head {
display:block; break-inside:avoid; padding:8px 20px 2px;
font-family:var(--wt); font-size:11px; font-weight:400;
color:var(--orange); text-transform:uppercase; letter-spacing:2px;
}
.mob-panel a {
display:block; break-inside:avoid; padding:8px 20px;
font-family:var(--wt); font-size:14px; font-weight:400;
color:rgba(255,255,255,0.75); text-decoration:none;
border-left:2px solid transparent; transition:0.15s;
}
.mob-panel a:hover { color:var(--white); background:rgba(255,69,0,0.1); border-left-color:var(--orange); }
.mob-panel hr { border:none; border-top:1px solid rgba(255,69,0,0.12); margin:4px 12px; break-inside:avoid; }

/* demo */
.demo { padding:110px 40px 60px; text-align:center; }
.demo p { font-family:var(--rl); font-size:14px; font-weight:400; color:#444; }
</style>
<script>
// Custom cursor
const cursor = document.getElementById('cursor');
const ring = document.getElementById('cursor-ring');
if (cursor && ring) {
let rx = 0, ry = 0;
document.addEventListener('mousemove', e => {
cursor.style.left = e.clientX + 'px';
cursor.style.top = e.clientY + 'px';
rx += (e.clientX - rx) * 0.12;
ry += (e.clientY - ry) * 0.12;
ring.style.left = rx + 'px';
ring.style.top = ry + 'px';
});
}

// Counter animation
document.querySelectorAll('.hstat-num[data-count]').forEach(el => {
const target = +el.dataset.count;
let count = 0;
const step = Math.ceil(target / 60);
const timer = setInterval(() => {
count = Math.min(count + step, target);
el.textContent = count + (target >= 100 ? '+' : (target === 24 ? '/7' : ''));
if (count >= target) clearInterval(timer);
}, 30);
});
</script>
</head>
<body>
<canvas id="bg-canvas" aria-hidden="true"></canvas>

<nav id="rr-nav">
<div class="rr-inner">

<a href="index.html" class="rr-logo">
<img src="images/Double_R_Roofings_3d_Logo-150.webp" alt="Double R Roofing Logo" style="height:60px;width:auto;display:block;">
<div class="rr-logo-text">
<span class="brand-main">Double R Roofing</span>
<span class="brand-sub">Rise Above The Rest</span>
</div>
</a>

<ul class="rr-menu">

<li>
<button class="rr-tab">Services <span class="arrow"></span></button>
<div class="rr-drop">
<a href="https://riseabovethe.rest/24hr-emergency-services">24hr Emergency Services</a>
<a href="https://riseabovethe.rest/decks-porches-master.html">Decks and Porches</a>
<a href="https://riseabovethe.rest/premium-metal-roof.html">Premium Metal Roofing</a>
<a href="https://riseabovethe.rest/solar-ready-roofing.html">Solar Ready Roofing</a>
<a href="https://riseabovethe.rest/storm-damage-restoration.html">Storm Damage Restoration</a>
<a href="https://riseabovethe.rest/emergency-roof-repairs.html">Roof Repairs </a>
<a href="https://riseabovethe.rest/metal-roofing-installations.html">Metal Roofing Installations</a>
<a href="https://riseabovethe.rest/routine-maintenance-and-inspection.html">Maintenance and Inspections</a>
<a href="https://riseabovethe.rest/custom-decks-and-porches.html">Custom Decks &amp; Porches</a>
<a href="https://riseabovethe.rest/commercial-roofing-solutions.html">Commercial Roofing Solutions</a>
<a href="https://riseabovethe.rest/carpentry-and-additions.html">Carpentry &amp; Additions</a>
</div>
</li>

<li>
<button class="rr-tab">Our Brands <span class="arrow"></span></button>
<div class="rr-drop">
<div class="rr-drop-section">Shingles</div>
<a href="https://riseabovethe.rest/owens-corning-preferred-contractor.html">Owens Corning Preferred</a>
<a href="https://riseabovethe.rest/premium-pink-panther-products.html">Premium Pink Panther</a>
<hr>
<div class="rr-drop-section">Flat / Rubber</div>
<a href="https://riseabovethe.rest/firestone-roofing-systems.html">Firestone Roofing Systems</a>
<a href="https://riseabovethe.rest/firestones-rubber-roofing.html">Firestone Rubber Roofing</a>
<a href="https://riseabovethe.rest/industry-leading-roofing-warranty.html">Industry's Leading Warranty</a>
<hr>
<div class="rr-drop-section">Metal</div>
<a href="https://riseabovethe.rest/premium-metal-roof.html">Premium Metal Roofing</a>
<a href="https://riseabovethe.rest/premium-roofing-solutions.html">Premium Roofing Solutions</a>
</div>
</li>

<li>
<button class="rr-tab">Commercial <span class="arrow"></span></button>
<div class="rr-drop">
<a href="https://riseabovethe.rest/commercial-roofing-solutions.html">Commercial Roofing Solutions</a>
<a href="https://riseabovethe.rest/most-experienced-commercial-roofing.html">Most Experienced Contractor</a>
<a href="https://riseabovethe.rest/low-slope-roofing-pro.html">Low Slope Roofing Pro</a>
<a href="https://riseabovethe.rest/premium-flat-roofing-solutions.html">Premium Flat Roofing</a>
<a href="https://riseabovethe.rest/firestone-roofing-systems.html">Firestone Systems</a>
<a href="https://riseabovethe.rest/firestones-rubber-roofing.html">Rubber Membrane Systems</a>
</div>
</li>

<li>
<button class="rr-tab">Why Us <span class="arrow"></span></button>
<div class="rr-drop">
<div class="rr-drop-section">Reputation</div>
<a href="https://riseabovethe.rest/princeton-most-trusted-roofers.html">Princeton's Most Trusted</a>
<a href="https://riseabovethe.rest/maximize-your-home-value.html">Maximize Your Home Value</a>
<a href="https://riseabovethe.rest/trustworthy-roofing-services.html">Trustworthy Services</a>
<hr>
<div class="rr-drop-section">Benefits</div>
<a href="https://riseabovethe.rest/exceptional-quality-assurance.html">Exceptional Quality</a>
<a href="https://riseabovethe.rest/professional-roofing-services.html">Professional Services</a>
<a href="https://riseabovethe.rest/complete-peace-of-mind.html">Complete Peace of Mind</a>
<a href="https://riseabovethe.rest/discover-new-roof-benefits.html">New Roof Benefits</a>
<hr>
<div class="rr-drop-section">Warranty</div>
<a href="https://riseabovethe.rest/industry-leading-warranty.html">Industry-Leading Warranty</a>
<a href="https://riseabovethe.rest/industry-leading-roofing-warranty.html">Industry's Best Warranty</a>
<a href="https://riseabovethe.rest/industrys-best-warranty.html">Why Our Warranty Wins</a>
</div>
</li>

<li>
<button class="rr-tab">Payment Options <span class="arrow"></span></button>
<div class="rr-drop">
<a href="https://riseabovethe.rest/finance-your-roof.html">Finance Your Roof</a>
<a href="https://riseabovethe.rest/know-your-roofing-cost.html">Know Your Cost</a>
</div>
</li>

<li>
<button class="rr-tab">More <span class="arrow"></span></button>
<div class="rr-drop">
<div class="rr-drop-section">Solar</div>
<a href="https://riseabovethe.rest/solar-powered-smart-home.html">Solar Powered Smart Home</a>
<a href="https://riseabovethe.rest/solar-ready-roofing.html">Solar Ready Roofing</a>
<hr>
<div class="rr-drop-section">Protection</div>
<a href="https://riseabovethe.rest/storm-proof-protection.html">Storm Proof Protection</a>
<a href="https://riseabovethe.rest/roofing-solutions-in-princeton-wv.html">Princeton WV Solutions</a>
<hr>
<div class="rr-drop-section">Company</div>
<a href="https://riseabovethe.rest/double-r-roofing.html">About Double R Roofing</a>
<a href="https://riseabovethe.rest/contact-double-r-roofing.html">Contact Us</a>
<a href="https://riseabovethe.rest/schedule-your-roofing-services.html">Schedule Services</a>
<a href="https://riseabovethe.rest/index.html">Home</a>
</div>
</li>

</ul>

<div class="rr-btns">
<a class="btn-phone s-normal" id="btn-phone" href="tel:+13047165744">(304) 716-5744</a>
<a class="btn-quote" href="https://riseabovethe.rest/know-your-roofing-cost.html">Get Instant Quote</a>
</div>

<button class="rr-burger" id="rr-burger" aria-label="Toggle menu">
<span></span><span></span><span></span>
</button>

</div>
</nav>

<div id="rr-mobile">
<div class="mob-tabs">
<button class="mob-tab active" data-panel="mp-services">Services</button>
<button class="mob-tab" data-panel="mp-brands">Our Brands</button>
<button class="mob-tab" data-panel="mp-commercial">Commercial</button>
<button class="mob-tab" data-panel="mp-whyus">Why Us</button>
<button class="mob-tab" data-panel="mp-payment">Payment</button>
<button class="mob-tab" data-panel="mp-more">More</button>
</div>

<div class="mob-panel open" id="mp-services">
<a href="https://riseabovethe.rest/24hr-emergency-services">24hr Emergency Services</a>
<a href="https://riseabovethe.rest/decks-porches-master.html">Decks and Porches</a>
<a href="https://riseabovethe.rest/premium-metal-roof.html">Premium Metal Roofing</a>
<a href="https://riseabovethe.rest/solar-ready-roofing.html">Solar Ready Roofing</a>
<a href="https://riseabovethe.rest/storm-damage-restoration.html">Storm Damage Restoration</a>
<a href="https://riseabovethe.rest/emergency-roof-repairs.html">Roof Repairs </a>
<a href="https://riseabovethe.rest/metal-roofing-installations.html">Metal Roofing Installations</a>
<a href="https://riseabovethe.rest/routine-maintenance-and-inspection.html">Maintenance and Inspections</a>
<a href="https://riseabovethe.rest/custom-decks-and-porches.html">Custom Decks &amp; Porches</a>
<a href="https://riseabovethe.rest/commercial-roofing-solutions.html">Commercial Roofing Solutions</a>
<a href="https://riseabovethe.rest/carpentry-and-additions.html">Carpentry &amp; Additions</a>
</div>

<div class="mob-panel" id="mp-brands">
<span class="mob-head">Shingles</span>
<a href="https://riseabovethe.rest/owens-corning-preferred-contractor.html">Owens Corning Preferred</a>
<a href="https://riseabovethe.rest/premium-pink-panther-products.html">Premium Pink Panther</a>
<hr>
<span class="mob-head">Flat / Rubber</span>
<a href="https://riseabovethe.rest/firestone-roofing-systems.html">Firestone Roofing Systems</a>
<a href="https://riseabovethe.rest/firestones-rubber-roofing.html">Firestone Rubber Roofing</a>
<a href="https://riseabovethe.rest/industry-leading-roofing-warranty.html">Industry's Leading Warranty</a>
<hr>
<span class="mob-head">Metal</span>
<a href="https://riseabovethe.rest/premium-metal-roof.html">Premium Metal Roofing</a>
<a href="https://riseabovethe.rest/premium-roofing-solutions.html">Premium Roofing Solutions</a>
</div>

<div class="mob-panel" id="mp-commercial">
<a href="https://riseabovethe.rest/commercial-roofing-solutions.html">Commercial Roofing Solutions</a>
<a href="https://riseabovethe.rest/most-experienced-commercial-roofing.html">Most Experienced Contractor</a>
<a href="https://riseabovethe.rest/low-slope-roofing-pro.html">Low Slope Roofing Pro</a>
<a href="https://riseabovethe.rest/premium-flat-roofing-solutions.html">Premium Flat Roofing</a>
<a href="https://riseabovethe.rest/firestone-roofing-systems.html">Firestone Systems</a>
<a href="https://riseabovethe.rest/firestones-rubber-roofing.html">Rubber Membrane Systems</a>
</div>

<div class="mob-panel" id="mp-whyus">
<span class="mob-head">Reputation</span>
<a href="https://riseabovethe.rest/princeton-most-trusted-roofers.html">Princeton's Most Trusted</a>
<a href="https://riseabovethe.rest/maximize-your-home-value.html">Maximize Your Home Value</a>
<a href="https://riseabovethe.rest/trustworthy-roofing-services.html">Trustworthy Services</a>
<hr>
<span class="mob-head">Benefits</span>
<a href="https://riseabovethe.rest/exceptional-quality-assurance.html">Exceptional Quality</a>
<a href="https://riseabovethe.rest/professional-roofing-services.html">Professional Services</a>
<a href="https://riseabovethe.rest/complete-peace-of-mind.html">Complete Peace of Mind</a>
<a href="https://riseabovethe.rest/discover-new-roof-benefits.html">New Roof Benefits</a>
<hr>
<span class="mob-head">Warranty</span>
<a href="https://riseabovethe.rest/industry-leading-warranty.html">Industry-Leading Warranty</a>
<a href="https://riseabovethe.rest/industry-leading-roofing-warranty.html">Industry's Best Warranty</a>
<a href="https://riseabovethe.rest/industrys-best-warranty.html">Why Our Warranty Wins</a>
</div>

<div class="mob-panel" id="mp-payment">
<a href="https://riseabovethe.rest/finance-your-roof.html">Finance Your Roof</a>
<a href="https://riseabovethe.rest/know-your-roofing-cost.html">Know Your Cost</a>
</div>

<div class="mob-panel" id="mp-more">
<span class="mob-head">Solar</span>
<a href="https://riseabovethe.rest/solar-powered-smart-home.html">Solar Powered Smart Home</a>
<a href="https://riseabovethe.rest/solar-ready-roofing.html">Solar Ready Roofing</a>
<hr>
<span class="mob-head">Protection</span>
<a href="https://riseabovethe.rest/storm-proof-protection.html">Storm Proof Protection</a>
<a href="https://riseabovethe.rest/roofing-solutions-in-princeton-wv.html">Princeton WV Solutions</a>
<hr>
<span class="mob-head">Company</span>
<a href="https://riseabovethe.rest/double-r-roofing.html">About Double R Roofing</a>
<a href="https://riseabovethe.rest/contact-double-r-roofing.html">Contact Us</a>
<a href="https://riseabovethe.rest/schedule-your-roofing-services.html">Schedule Services</a>
<a href="https://riseabovethe.rest/index.html">Home</a>
</div>
</div>

<script>
window.addEventListener('scroll', function() {
document.getElementById('rr-nav').classList.toggle('scrolled', window.scrollY > 30);
});

const burger = document.getElementById('rr-burger');
const mobMenu = document.getElementById('rr-mobile');
if (burger && mobMenu) {
burger.addEventListener('click', function() {
mobMenu.classList.toggle('open');
var sp = burger.querySelectorAll('span');
var o = mobMenu.classList.contains('open');
sp[0].style.transform = o ? 'rotate(45deg) translate(5px,5px)' : '';
sp[1].style.opacity = o ? '0' : '1';
sp[2].style.transform = o ? 'rotate(-45deg) translate(5px,-5px)' : '';
});
}

document.querySelectorAll('.mob-tab').forEach(function(tab) {
tab.addEventListener('click', function() {
document.querySelectorAll('.mob-tab').forEach(function(t) { t.classList.remove('active'); });
document.querySelectorAll('.mob-panel').forEach(function(p) { p.classList.remove('open'); });
tab.classList.add('active');
document.getElementById(tab.dataset.panel).classList.add('open');
});
});

const phone = document.getElementById('btn-phone');
if (phone) {
var seq = [['s-normal',2400],['s-grow',380],['s-black',480],['s-shrink',340]];
var idx = 0;
function tick() {
var cls = seq[idx][0];
var delay = seq[idx][1];
phone.classList.remove('s-normal','s-grow','s-black','s-shrink');
phone.classList.add(cls);
idx = (idx + 1) % seq.length;
setTimeout(tick, delay);
}
setTimeout(tick, 1000);
}
</script>

<section class="hero">
<div class="wrap hero-grid">
<div class="hero-copy">
<div class="hero-eyebrow">Princeton, WV &amp; Surrounding Areas · 24/7 Emergency</div>
<h1 class="hero-title">
<span class="t-outline">RISE</span><br>
<span>ABOVE</span><br>
<span class="t-orange">THE REST</span>
</h1>
<div class="hero-tagline">Double R Roofing</div>
<p class="hero-desc">Princeton, WV's trusted roofing contractor — bold craftsmanship, dependable service, and standout curb appeal on every single job.</p>
<div class="hero-btns">
<a class="btn-primary" href="https://riseabovethe.rest/schedule-your-roofing-services.html">📋 Get Free Estimate</a>
<a class="btn-ghost" href="#services">Explore Services →</a>
</div>
<div class="hero-stats">
<div class="hstat">
<span class="hstat-num" data-count="500">0</span>
<span class="hstat-label">Roofs Completed</span>
<span class="hstat-sub">Residential &amp; commercial</span>
</div>
<div class="hstat">
<span class="hstat-num" data-count="24">0</span>
<span class="hstat-label">Hour Response</span>
<span class="hstat-sub">Emergency calls</span>
</div>
<div class="hstat">
<span class="hstat-num" data-count="30">0</span>
<span class="hstat-label">Year Warranty</span>
<span class="hstat-sub">Workmanship guaranteed</span>
</div>
</div>
</div>

<!-- HERO PICTURE WITH WEBP SOURCES -->
<div class="hero-visual">
<picture>
<source srcset="images/Double_R_Roofing_completion_image-400.webp 400w,," images="" double_r_roofing_completion_image-800.webp="" 800w="" double_r_roofing_completion_image-1200.webp="" 1200w="" sizes="(max-width: 600px) 100vw, 50vw" type="image/webp">

<source srcset="images/Double_R_Roofing_completion_image-400.jpg 400w,," images="" double_r_roofing_completion_image-800.jpg="" 800w="" double_r_roofing_completion_image-1200.jpg="" 1200w="" sizes="(max-width: 600px) 100vw, 50vw" type="image/jpeg">
</picture>

<div class="hero-visual-overlay"></div>
<div class="hero-badge badge-tl">
<strong>⭐ 5-Star Rated</strong>
<span>Princeton's most trusted</span>
</div>
<div class="hero-badge badge-tr">
<strong>🏅 Owens Corning</strong>
<span>Preferred Contractor</span>
</div>
<div class="hero-badge badge-bl">
<strong>🛡️ Licensed &amp; Insured</strong>
<span>WV Certified</span>
</div>
</div>
</div>
</section>

<div class="ticker-bar" role="marquee">
<div class="ticker-track">
<span class="ticker-item">◆ Free Estimates</span>
<span class="ticker-item">◆ Owens Corning Preferred</span>
<span class="ticker-item">◆ 24/7 Emergency Service</span>
<span class="ticker-item">◆ Licensed &amp; Insured</span>
<span class="ticker-item">◆ 30-Year Warranty</span>
<span class="ticker-item">◆ Princeton, WV</span>
</div>
</div>

<section id="services">
<div class="wrap">
<div class="section-label">What We Do</div>
<h2 class="section-title">Roofing Services We Provide in Princeton, WV</h2>
<div class="services-grid">
<div class="svc-card" onclick="this.classList.toggle('flipped')">
<div class="svc-inner">
<div class="svc-front svc-s1">
<div class="svc-icon">🏠</div>
<div class="svc-name">Residential Roofing</div>
</div>
<div class="svc-back">
<h3>Roofing Services We Provide in Princeton, WV</h3>
<p>Shingle replacements built to outlast the neighborhood.</p>
<a href="https://riseabovethe.rest/residential-roofing-contractor.html">Learn More →</a>
</div>
</div>
</div>

<div class="svc-card" onclick="this.classList.toggle('flipped')">
<div class="svc-inner">
<div class="svc-front svc-s2">
<div class="svc-icon">🏢</div>
<div class="svc-name">Commercial Roofing</div>
</div>
<div class="svc-back">
<h3>Roofing Services We Provide in Princeton, WV</h3>
<p>Flat roofs built to take a beating. EPDM, TPO, and rubber systems.</p>
<a href="https://riseabovethe.rest/commercial-roofing-solutions.html">Learn More →</a>
</div>
</div>
</div>

<div class="svc-card" onclick="this.classList.toggle('flipped')">
<div class="svc-inner">
<div class="svc-front svc-s3">
<div class="svc-icon">🛠️</div>
<div class="svc-name">Roof Repairs</div>
</div>
<div class="svc-back">
<h3>Roofing Services We Provide in Princeton, WV</h3>
<p>Leaks fixed today, not next week. We prioritize emergency calls.</p>
<a href="https://riseabovethe.rest/expert-roof-repairs.html">Learn More →</a>
</div>
</div>
</div>

<div class="svc-card" onclick="this.classList.toggle('flipped')">
<div class="svc-inner">
<div class="svc-front svc-s4">
<div class="svc-icon"></div>
<div class="svc-name">Storm Damage</div>
</div>
<div class="svc-back">
<h3>Storm Damage</h3>
<p>24/7 emergency response for storm-damaged roofs.</p>
<a href="https://riseabovethe.rest/storm-damage-restoration.html">Learn More →</a>
</div>
</div>
</div>
</div>
</div>
</section>

<section class="emergency-banner">
<div class="wrap emergency-grid">
<div class="emergency-text">
<h2>Storm Damage? <span>We're On It.</span></h2>
<p>When severe weather strikes Mercer County, you can't wait for regular business hours.</p>
<a class="btn-primary" href="tel:+13047165744">📞 Call Emergency Line</a>
</div>
<div class="emergency-features">
<div class="ef-item">
<div class="ef-icon">🚨</div>
<div class="ef-content">
<h3>Immediate Response</h3>
<p>Average response time under 2 hours for active leaks.</p>
</div>
</div>
<div class="ef-item">
<div class="ef-icon">🛡️</div>
<div class="ef-content">
<h3>Temporary Protection</h3>
<p>Emergency tarping and patching to prevent interior damage.</p>
</div>
</div>
<div class="ef-item">
<div class="ef-icon">📋</div>
<div class="ef-content">
<h3>Insurance Assistance</h3>
<p>We document damage and work directly with your adjuster.</p>
</div>
</div>
</div>
</div>
</section>

<section id="protection">
<div class="wrap">
<div class="section-label">Peace of Mind</div>
<h2 class="section-title">Protection &amp; <span>Warranty</span></h2>
<div class="protection-grid">
<div class="protection-card">
<div class="prot-icon">🏅</div>
<div class="prot-title">Owens Corning Preferred</div>
<div class="prot-desc">As an Owens Corning Preferred Contractor, we meet strict standards.</div>
<ul class="prot-list">
<li>Preferred Contractor since 2018</li>
<li>Exclusive roofing systems</li>
<li>Enhanced warranty options</li>
<li>Factory-trained teams</li>
</ul>
</div>
<div class="protection-card">
<div class="prot-icon">🛡️</div>
<div class="prot-title">30-Year Workmanship</div>
<div class="prot-desc">Our labor warranty covers installation defects for three decades.</div>
<ul class="prot-list">
<li>30-year workmanship guarantee</li>
<li>Transferable to new homeowners</li>
<li>No-leak guarantee</li>
<li>Free repairs on issues</li>
</ul>
</div>
<div class="protection-card">
<div class="prot-icon"></div>
<div class="prot-title">Licensed &amp; Insured</div>
<div class="prot-desc">Full liability coverage and workers' compensation.</div>
<ul class="prot-list">
<li>WV state licensed</li>
<li>$2M general liability</li>
<li>Workers' compensation</li>
<li>Bonded for commercial</li>
</ul>
</div>
</div>
</div>
</section>

<section id="why-us">
<div class="wrap">
<div class="section-label">The Double R Difference</div>
<h2 class="section-title">Why Choose <span>Double R</span></h2>
<div class="promise-grid">
<div class="promise-card">
<div class="pc-icon">🏅</div>
<div class="pc-title">Our Commitment</div>
<p class="pc-desc">We build roofs that fight back with quality materials.</p>
<div class="pc-list">
<div class="pc-item">Owens Corning Preferred</div>
<div class="pc-item">Honest estimates</div>
<div class="pc-item">Premium materials only</div>
<div class="pc-item">Site cleaned spotless</div>
</div>
</div>
<div class="promise-card">
<div class="pc-icon"></div>
<div class="pc-title">Fast Response</div>
<p class="pc-desc">Roof problems can't wait. We prioritize your call.</p>
<div class="pc-list">
<div class="pc-item">24/7 emergency availability</div>
<div class="pc-item">Same-day inspections</div>
<div class="pc-item">Quick turnaround times</div>
<div class="pc-item">Dedicated project managers</div>
</div>
</div>
<div class="promise-card">
<div class="pc-icon">📞</div>
<div class="pc-title">Local Experts</div>
<p class="pc-desc">Born and raised in Mercer County.</p>
<div class="pc-list">
<div class="pc-item">Princeton based since 2010</div>
<div class="pc-item">Mercer County specialists</div>
<div class="pc-item">Local references available</div>
<div class="pc-item">Community invested</div>
</div>
</div>
</div>
</div>
</section>

<div class="cta-strip">
<div class="wrap cta-inner">
<div>
<h2>Ready for a Roof That <span>Gets Noticed?</span></h2>
<p>Free estimates · No pressure · 24/7 emergency response</p>
</div>
<div class="cta-btns">
<a class="btn-phone-pulse" href="tel:+13047165744">📞 (304) 716-5744</a>
<a class="btn-ghost" href="https://riseabovethe.rest/schedule-your-roofing-services.html">Get Estimate →</a>
</div>
</div>
</div>

<!-- Footer -->
<!-- ===== DOUBLE R ROOFING GLOBAL FOOTER ===== -->
<style>
@keyframes kenBurnsRise {
0%,100% { transform:scale(1.05) rotate(0deg); }
50% { transform:scale(1.2) rotate(0.8deg); }
}
@keyframes bgDrift {
0% { background-position:50% 0%; }
25% { background-position:30% 25%; }
50% { background-position:50% 50%; }
75% { background-position:70% 75%; }
100% { background-position:50% 0%; }
}
@keyframes letterLaunch {
0% { transform:translateY(0px) scale(1); opacity:1; filter:blur(0px); }
12% { transform:translateY(-10px) scale(1.07); opacity:1; filter:blur(0px); }
34% { transform:translateY(-100px) scale(0.8); opacity:0.1; filter:blur(8px); }
35% { transform:translateY(80px) scale(0.6); opacity:0; filter:blur(14px); }
55% { transform:translateY(6px) scale(1.1); opacity:0.9; filter:blur(2px); }
64% { transform:translateY(-5px) scale(1.02); opacity:1; filter:blur(0px); }
72% { transform:translateY(0px) scale(1); opacity:1; filter:blur(0px); }
100% { transform:translateY(0px) scale(1); opacity:1; filter:blur(0px); }
}
@keyframes wordAscend {
0% { transform:translateY(14px); opacity:0.3; }
55% { transform:translateY(-9px); opacity:1; }
75% { transform:translateY(-11px); opacity:1; }
100% { transform:translateY(14px); opacity:0.3; }
}
@keyframes rocketRise {
0% { transform:translateY(12px); opacity:0.4; }
8% { transform:translateY(12px); opacity:0.5; }
50% { transform:translateY(-16px); opacity:1; }
68% { transform:translateY(-19px); opacity:1; }
82% { transform:translateY(-16px); opacity:0.8; }
100% { transform:translateY(12px); opacity:0.4; }
}
@keyframes exhaustTrail {
0% { height:0px; opacity:0; }
8% { height:5px; opacity:0.7; }
22% { height:40px; opacity:1; }
65% { height:32px; opacity:0.85; }
85% { height:10px; opacity:0.4; }
100% { height:0px; opacity:0; }
}
@keyframes brandPulse {
0%,100% { text-shadow:0 0 18px rgba(255,69,0,.55),0 0 60px rgba(255,69,0,.08),0 3px 10px rgba(0,0,0,.8); }
50% { text-shadow:0 0 38px rgba(255,69,0,.95),0 0 90px rgba(255,69,0,.28),0 3px 10px rgba(0,0,0,.8); }
}
@keyframes dividerEnergy {
0%,100% { opacity:0.45; transform:scaleX(0.55); }
50% { opacity:1; transform:scaleX(1); }
}
@keyframes emberFloat {
0% { transform:translateY(0) translateX(0); opacity:0; }
6% { opacity:0.9; }
65% { transform:translateY(-280px) translateX(var(--ex,0px)); opacity:0.6; }
100% { transform:translateY(-440px) translateX(calc(var(--ex)*1.4)); opacity:0; }
}
@keyframes scanLine {
0% { transform:translateY(200%); opacity:0; }
6% { opacity:0.85; }
94% { opacity:0.5; }
100% { transform:translateY(-200%); opacity:0; }
}

#brand-footer {
position:relative; min-height:auto; overflow:hidden;
padding:3rem 2rem 2.5rem; font-family:'Rubik Lines',sans-serif;
}
#brand-footer::before {
content:''; position:absolute; inset:0;
background:url('images/Double_R_Roofing_footer_background_image.jpeg') center/cover no-repeat; z-index:0;
}
.ft-bg {
position:absolute; inset:-8%;
background:url('images/Double_R_Roofing_footer_background_image.jpeg') center/125% no-repeat;
animation:kenBurnsRise 42s ease-in-out infinite,bgDrift 58s linear infinite;
will-change:transform; z-index:1;
}
.ft-overlay {
position:absolute; inset:0;
background:linear-gradient(to top,rgba(6,2,0,0.93) 0%,rgba(10,5,0,0.78) 38%,rgba(4,4,16,0.42) 100%);
z-index:2;
}
.ft-embers { position:absolute; inset:0; z-index:3; pointer-events:none; overflow:hidden; }
.ember {
position:absolute; bottom:0; border-radius:50%;
background:radial-gradient(circle,#ffb040 0%,#ff4500 55%,transparent 100%);
filter:blur(0.5px); animation:emberFloat linear infinite;
}
.ft-inner { position:relative; z-index:4; max-width:1100px; margin:0 auto; text-align:center; color:#fff; }
.ft-brand {
font-family:'Rubik Lines',sans-serif; font-size:clamp(3rem,8.25vw,6rem);
color:#ffffff; letter-spacing:0.08em; line-height:1; margin-bottom:0.3rem;
}
.ft-divider {
height:1px;
background:linear-gradient(90deg,transparent 0%,#ff4500 25%,#ff9900 50%,#ff4500 75%,transparent 100%);
max-width:460px; margin:0.4rem auto 1rem;
animation:dividerEnergy 3.8s ease-in-out infinite; transform-origin:center;
}
.rise-hero { display:flex; gap:0.02em; justify-content:center; align-items:baseline; margin-bottom:0.2rem; overflow:visible; }
.rl {
font-family:'Rubik Lines',sans-serif; font-size:clamp(4rem,12vw,8rem);
display:inline-block; line-height:0.95;
animation:letterLaunch 5.6s ease-in-out infinite; will-change:transform,opacity,filter;
}
.rl:nth-child(1) { color:#ff3300; animation-delay:0s; filter:drop-shadow(0 0 14px rgba(255,51,0,.8)); }
.rl:nth-child(2) { color:#ff4d00; animation-delay:0.8s; filter:drop-shadow(0 0 14px rgba(255,77,0,.7)); }
.rl:nth-child(3) { color:#ff6600; animation-delay:1.6s; filter:drop-shadow(0 0 14px rgba(255,102,0,.7)); }
.rl:nth-child(4) { color:#ff8000; animation-delay:2.4s; filter:drop-shadow(0 0 14px rgba(255,128,0,.6)); }

.above-rest {
position:relative; overflow:hidden; display:flex; gap:0.75em;
justify-content:center; align-items:baseline; padding:0.6rem 1.5rem; margin-bottom:1.5rem;
}
.above-rest::before {
content:''; position:absolute; left:-5%; right:-5%; height:2px;
background:linear-gradient(90deg,transparent,#ff8c00,#ffd700,#ff8c00,transparent);
animation:scanLine 7s ease-in-out infinite; animation-delay:2.5s;
}
.rise-word {
font-family:'Walter Turncoat',cursive; font-size:clamp(1.2rem,3.4vw,2.1rem);
color:#ffffff; letter-spacing:0.14em; text-transform:uppercase; display:inline-block;
animation:wordAscend 3.6s ease-in-out infinite; filter:drop-shadow(0 0 7px rgba(255,69,0,.55));
}
.rise-word:nth-child(1) { animation-delay:0s; }
.rise-word:nth-child(2) { animation-delay:0.5s; }
.rise-word:nth-child(3) { animation-delay:1.0s; }

.ft-socials { display:flex; gap:2.2rem; justify-content:center; align-items:flex-end; margin-bottom:3rem; }
.social-link {
text-decoration:none; display:flex; flex-direction:column; align-items:center; gap:0.55rem;
--rise-delay:0s; transition:transform 0.35s cubic-bezier(0.34,1.56,0.64,1),filter 0.35s ease;
}
.social-link:hover { transform:scale(1.32) translateY(-10px); filter:drop-shadow(0 12px 22px rgba(0,0,0,0.55)); }
.social-link:hover .icon-inner svg { filter:drop-shadow(0 0 24px #ff4500) drop-shadow(0 0 44px rgba(255,69,0,.5)); }
.social-link:hover .social-label { opacity:1; transform:translateY(0); }
.icon-inner {
position:relative; display:block; width:54px; height:54px;
animation:rocketRise 3s cubic-bezier(0.4,0,0.3,1) infinite; animation-delay:var(--rise-delay);
}
.icon-inner svg { width:54px; height:54px; filter:drop-shadow(0 0 8px rgba(255,69,0,0.6)); transition:filter 0.3s ease; position:relative; z-index:1; }
.icon-inner::after {
content:''; position:absolute; bottom:-2px; left:50%; transform:translateX(-50%); width:12px;
background:linear-gradient(to bottom,rgba(255,160,40,.98),rgba(255,69,0,.80),rgba(255,30,0,.40),transparent);
border-radius:0 0 50% 50%; filter:blur(3.5px);
animation:exhaustTrail 3s cubic-bezier(0.4,0,0.3,1) infinite; animation-delay:var(--rise-delay); z-index:0;
}
.social-link:nth-child(1) { --rise-delay:0s; }
.social-link:nth-child(2) { --rise-delay:0.55s; }
.social-link:nth-child(3) { --rise-delay:1.1s; }
.social-link:nth-child(4) { --rise-delay:1.65s; }
.social-link:nth-child(5) { --rise-delay:2.2s; }
.social-label {
font-family:'Walter Turncoat',cursive; font-size:0.66rem; color:#ff6020; letter-spacing:0.13em;
text-transform:uppercase; opacity:0; transform:translateY(7px); transition:opacity 0.3s ease,transform 0.3s ease; white-space:nowrap;
}
.ft-bottom {
font-family:'Walter Turncoat',cursive; font-size:0.79rem; color:rgba(255,255,255,0.35); letter-spacing:0.07em;
padding-top:1.5rem; border-top:1px solid rgba(255,69,0,0.14);
display:flex; flex-wrap:wrap; justify-content:center; gap:0.3rem 1.4rem;
}
.ft-bottom .ft-hi { color:rgba(255,255,255,0.65); }
.ft-bottom .ft-accent { color:#ff4500; }
</style>
<!-- ===== DOUBLE R ROOFING GLOBAL FOOTER ===== -->
<style>
@keyframes kenBurnsRise {
0%,100% { transform:scale(1.05) rotate(0deg); }
50% { transform:scale(1.2) rotate(0.8deg); }
}
@keyframes bgDrift {
0% { background-position:50% 0%; }
25% { background-position:30% 25%; }
50% { background-position:50% 50%; }
75% { background-position:70% 75%; }
100% { background-position:50% 0%; }
}
@keyframes letterLaunch {
0% { transform:translateY(0px) scale(1); opacity:1; filter:blur(0px); }
12% { transform:translateY(-10px) scale(1.07); opacity:1; filter:blur(0px); }
34% { transform:translateY(-100px) scale(0.8); opacity:0.1; filter:blur(8px); }
35% { transform:translateY(80px) scale(0.6); opacity:0; filter:blur(14px); }
55% { transform:translateY(6px) scale(1.1); opacity:0.9; filter:blur(2px); }
64% { transform:translateY(-5px) scale(1.02); opacity:1; filter:blur(0px); }
72% { transform:translateY(0px) scale(1); opacity:1; filter:blur(0px); }
100% { transform:translateY(0px) scale(1); opacity:1; filter:blur(0px); }
}
@keyframes wordAscend {
0% { transform:translateY(14px); opacity:0.3; }
55% { transform:translateY(-9px); opacity:1; }
75% { transform:translateY(-11px); opacity:1; }
100% { transform:translateY(14px); opacity:0.3; }
}
@keyframes rocketRise {
0% { transform:translateY(12px); opacity:0.4; }
8% { transform:translateY(12px); opacity:0.5; }
50% { transform:translateY(-16px); opacity:1; }
68% { transform:translateY(-19px); opacity:1; }
82% { transform:translateY(-16px); opacity:0.8; }
100% { transform:translateY(12px); opacity:0.4; }
}
@keyframes exhaustTrail {
0% { height:0px; opacity:0; }
8% { height:5px; opacity:0.7; }
22% { height:40px; opacity:1; }
65% { height:32px; opacity:0.85; }
85% { height:10px; opacity:0.4; }
100% { height:0px; opacity:0; }
}
@keyframes brandPulse {
0%,100% { text-shadow:0 0 18px rgba(255,69,0,.55),0 0 60px rgba(255,69,0,.08),0 3px 10px rgba(0,0,0,.8); }
50% { text-shadow:0 0 38px rgba(255,69,0,.95),0 0 90px rgba(255,69,0,.28),0 3px 10px rgba(0,0,0,.8); }
}
@keyframes dividerEnergy {
0%,100% { opacity:0.45; transform:scaleX(0.55); }
50% { opacity:1; transform:scaleX(1); }
}
@keyframes emberFloat {
0% { transform:translateY(0) translateX(0); opacity:0; }
6% { opacity:0.9; }
65% { transform:translateY(-280px) translateX(var(--ex,0px)); opacity:0.6; }
100% { transform:translateY(-440px) translateX(calc(var(--ex)*1.4)); opacity:0; }
}
@keyframes scanLine {
0% { transform:translateY(200%); opacity:0; }
6% { opacity:0.85; }
94% { opacity:0.5; }
100% { transform:translateY(-200%); opacity:0; }
}

#brand-footer {
position:relative; min-height:auto; overflow:hidden;
padding:3rem 2rem 2.5rem; font-family:'Rubik Lines',sans-serif;
}
#brand-footer::before {
content:''; position:absolute; inset:0;
background:url('images/Double_R_Roofing_footer_background_image.jpeg') center/cover no-repeat; z-index:0;
}
.ft-bg {
position:absolute; inset:-8%;
background:url('images/Double_R_Roofing_footer_background_image.jpeg') center/125% no-repeat;
animation:kenBurnsRise 42s ease-in-out infinite,bgDrift 58s linear infinite;
will-change:transform; z-index:1;
}
.ft-overlay {
position:absolute; inset:0;
background:linear-gradient(to top,rgba(6,2,0,0.93) 0%,rgba(10,5,0,0.78) 38%,rgba(4,4,16,0.42) 100%);
z-index:2;
}
.ft-embers { position:absolute; inset:0; z-index:3; pointer-events:none; overflow:hidden; }
.ember {
position:absolute; bottom:0; border-radius:50%;
background:radial-gradient(circle,#ffb040 0%,#ff4500 55%,transparent 100%);
filter:blur(0.5px); animation:emberFloat linear infinite;
}
.ft-inner { position:relative; z-index:4; max-width:1100px; margin:0 auto; text-align:center; color:#fff; }
.ft-brand {
font-family:'Rubik Lines',sans-serif; font-size:clamp(3rem,8.25vw,6rem);
color:#ffffff; letter-spacing:0.08em; line-height:1; margin-bottom:0.3rem;
}
.ft-divider {
height:1px;
background:linear-gradient(90deg,transparent 0%,#ff4500 25%,#ff9900 50%,#ff4500 75%,transparent 100%);
max-width:460px; margin:0.4rem auto 1rem;
animation:dividerEnergy 3.8s ease-in-out infinite; transform-origin:center;
}
.rise-hero { display:flex; gap:0.02em; justify-content:center; align-items:baseline; margin-bottom:0.2rem; overflow:visible; }
.rl {
font-family:'Rubik Lines',sans-serif; font-size:clamp(4rem,12vw,8rem);
display:inline-block; line-height:0.95;
animation:letterLaunch 5.6s ease-in-out infinite; will-change:transform,opacity,filter;
}
.rl:nth-child(1) { color:#ff3300; animation-delay:0s; filter:drop-shadow(0 0 14px rgba(255,51,0,.8)); }
.rl:nth-child(2) { color:#ff4d00; animation-delay:0.8s; filter:drop-shadow(0 0 14px rgba(255,77,0,.7)); }
.rl:nth-child(3) { color:#ff6600; animation-delay:1.6s; filter:drop-shadow(0 0 14px rgba(255,102,0,.7)); }
.rl:nth-child(4) { color:#ff8000; animation-delay:2.4s; filter:drop-shadow(0 0 14px rgba(255,128,0,.6)); }

.above-rest {
position:relative; overflow:hidden; display:flex; gap:0.75em;
justify-content:center; align-items:baseline; padding:0.6rem 1.5rem; margin-bottom:1.5rem;
}
.above-rest::before {
content:''; position:absolute; left:-5%; right:-5%; height:2px;
background:linear-gradient(90deg,transparent,#ff8c00,#ffd700,#ff8c00,transparent);
animation:scanLine 7s ease-in-out infinite; animation-delay:2.5s;
}
.rise-word {
font-family:'Walter Turncoat',cursive; font-size:clamp(1.2rem,3.4vw,2.1rem);
color:#ffffff; letter-spacing:0.14em; text-transform:uppercase; display:inline-block;
animation:wordAscend 3.6s ease-in-out infinite; filter:drop-shadow(0 0 7px rgba(255,69,0,.55));
}
.rise-word:nth-child(1) { animation-delay:0s; }
.rise-word:nth-child(2) { animation-delay:0.5s; }
.rise-word:nth-child(3) { animation-delay:1.0s; }

.ft-socials { display:flex; gap:2.2rem; justify-content:center; align-items:flex-end; margin-bottom:3rem; }
.social-link {
text-decoration:none; display:flex; flex-direction:column; align-items:center; gap:0.55rem;
--rise-delay:0s; transition:transform 0.35s cubic-bezier(0.34,1.56,0.64,1),filter 0.35s ease;
}
.social-link:hover { transform:scale(1.32) translateY(-10px); filter:drop-shadow(0 12px 22px rgba(0,0,0,0.55)); }
.social-link:hover .icon-inner svg { filter:drop-shadow(0 0 24px #ff4500) drop-shadow(0 0 44px rgba(255,69,0,.5)); }
.social-link:hover .social-label { opacity:1; transform:translateY(0); }
.icon-inner {
position:relative; display:block; width:54px; height:54px;
animation:rocketRise 3s cubic-bezier(0.4,0,0.3,1) infinite; animation-delay:var(--rise-delay);
}
.icon-inner svg { width:54px; height:54px; filter:drop-shadow(0 0 8px rgba(255,69,0,0.6)); transition:filter 0.3s ease; position:relative; z-index:1; }
.icon-inner::after {
content:''; position:absolute; bottom:-2px; left:50%; transform:translateX(-50%); width:12px;
background:linear-gradient(to bottom,rgba(255,160,40,.98),rgba(255,69,0,.80),rgba(255,30,0,.40),transparent);
border-radius:0 0 50% 50%; filter:blur(3.5px);
animation:exhaustTrail 3s cubic-bezier(0.4,0,0.3,1) infinite; animation-delay:var(--rise-delay); z-index:0;
}
.social-link:nth-child(1) { --rise-delay:0s; }
.social-link:nth-child(2) { --rise-delay:0.55s; }
.social-link:nth-child(3) { --rise-delay:1.1s; }
.social-link:nth-child(4) { --rise-delay:1.65s; }
.social-link:nth-child(5) { --rise-delay:2.2s; }
.social-label {
font-family:'Walter Turncoat',cursive; font-size:0.66rem; color:#ff6020; letter-spacing:0.13em;
text-transform:uppercase; opacity:0; transform:translateY(7px); transition:opacity 0.3s ease,transform 0.3s ease; white-space:nowrap;
}
.ft-bottom {
font-family:'Walter Turncoat',cursive; font-size:0.79rem; color:rgba(255,255,255,0.35); letter-spacing:0.07em;
padding-top:1.5rem; border-top:1px solid rgba(255,69,0,0.14);
display:flex; flex-wrap:wrap; justify-content:center; gap:0.3rem 1.4rem;
}
.ft-bottom .ft-hi { color:rgba(255,255,255,0.65); }
.ft-bottom .ft-accent { color:#ff4500; }
</style>
<!-- ===== DOUBLE R ROOFING GLOBAL FOOTER ===== -->
<style>
@keyframes kenBurnsRise {
0%,100% { transform:scale(1.05) rotate(0deg); }
50% { transform:scale(1.2) rotate(0.8deg); }
}
@keyframes bgDrift {
0% { background-position:50% 0%; }
25% { background-position:30% 25%; }
50% { background-position:50% 50%; }
75% { background-position:70% 75%; }
100% { background-position:50% 0%; }
}
@keyframes letterLaunch {
0% { transform:translateY(0px) scale(1); opacity:1; filter:blur(0px); }
12% { transform:translateY(-10px) scale(1.07); opacity:1; filter:blur(0px); }
34% { transform:translateY(-100px) scale(0.8); opacity:0.1; filter:blur(8px); }
35% { transform:translateY(80px) scale(0.6); opacity:0; filter:blur(14px); }
55% { transform:translateY(6px) scale(1.1); opacity:0.9; filter:blur(2px); }
64% { transform:translateY(-5px) scale(1.02); opacity:1; filter:blur(0px); }
72% { transform:translateY(0px) scale(1); opacity:1; filter:blur(0px); }
100% { transform:translateY(0px) scale(1); opacity:1; filter:blur(0px); }
}
@keyframes wordAscend {
0% { transform:translateY(14px); opacity:0.3; }
55% { transform:translateY(-9px); opacity:1; }
75% { transform:translateY(-11px); opacity:1; }
100% { transform:translateY(14px); opacity:0.3; }
}
@keyframes rocketRise {
0% { transform:translateY(12px); opacity:0.4; }
8% { transform:translateY(12px); opacity:0.5; }
50% { transform:translateY(-16px); opacity:1; }
68% { transform:translateY(-19px); opacity:1; }
82% { transform:translateY(-16px); opacity:0.8; }
100% { transform:translateY(12px); opacity:0.4; }
}
@keyframes exhaustTrail {
0% { height:0px; opacity:0; }
8% { height:5px; opacity:0.7; }
22% { height:40px; opacity:1; }
65% { height:32px; opacity:0.85; }
85% { height:10px; opacity:0.4; }
100% { height:0px; opacity:0; }
}
@keyframes brandPulse {
0%,100% { text-shadow:0 0 18px rgba(255,69,0,.55),0 0 60px rgba(255,69,0,.08),0 3px 10px rgba(0,0,0,.8); }
50% { text-shadow:0 0 38px rgba(255,69,0,.95),0 0 90px rgba(255,69,0,.28),0 3px 10px rgba(0,0,0,.8); }
}
@keyframes dividerEnergy {
0%,100% { opacity:0.45; transform:scaleX(0.55); }
50% { opacity:1; transform:scaleX(1); }
}
@keyframes emberFloat {
0% { transform:translateY(0) translateX(0); opacity:0; }
6% { opacity:0.9; }
65% { transform:translateY(-280px) translateX(var(--ex,0px)); opacity:0.6; }
100% { transform:translateY(-440px) translateX(calc(var(--ex)*1.4)); opacity:0; }
}
@keyframes scanLine {
0% { transform:translateY(200%); opacity:0; }
6% { opacity:0.85; }
94% { opacity:0.5; }
100% { transform:translateY(-200%); opacity:0; }
}

#brand-footer {
position:relative; min-height:auto; overflow:hidden;
padding:3rem 2rem 2.5rem; font-family:'Rubik Lines',sans-serif;
}
#brand-footer::before {
content:''; position:absolute; inset:0;
background:url('images/Double_R_Roofing_footer_background_image.jpeg') center/cover no-repeat; z-index:0;
}
.ft-bg {
position:absolute; inset:-8%;
background:url('images/Double_R_Roofing_footer_background_image.jpeg') center/125% no-repeat;
animation:kenBurnsRise 42s ease-in-out infinite,bgDrift 58s linear infinite;
will-change:transform; z-index:1;
}
.ft-overlay {
position:absolute; inset:0;
background:linear-gradient(to top,rgba(6,2,0,0.93) 0%,rgba(10,5,0,0.78) 38%,rgba(4,4,16,0.42) 100%);
z-index:2;
}
.ft-embers { position:absolute; inset:0; z-index:3; pointer-events:none; overflow:hidden; }
.ember {
position:absolute; bottom:0; border-radius:50%;
background:radial-gradient(circle,#ffb040 0%,#ff4500 55%,transparent 100%);
filter:blur(0.5px); animation:emberFloat linear infinite;
}
.ft-inner { position:relative; z-index:4; max-width:1100px; margin:0 auto; text-align:center; color:#fff; }
.ft-brand {
font-family:'Rubik Lines',sans-serif; font-size:clamp(3rem,8.25vw,6rem);
color:#ffffff; letter-spacing:0.08em; line-height:1; margin-bottom:0.3rem;
}
.ft-divider {
height:1px;
background:linear-gradient(90deg,transparent 0%,#ff4500 25%,#ff9900 50%,#ff4500 75%,transparent 100%);
max-width:460px; margin:0.4rem auto 1rem;
animation:dividerEnergy 3.8s ease-in-out infinite; transform-origin:center;
}
.rise-hero { display:flex; gap:0.02em; justify-content:center; align-items:baseline; margin-bottom:0.2rem; overflow:visible; }
.rl {
font-family:'Rubik Lines',sans-serif; font-size:clamp(4rem,12vw,8rem);
display:inline-block; line-height:0.95;
animation:letterLaunch 5.6s ease-in-out infinite; will-change:transform,opacity,filter;
}
.rl:nth-child(1) { color:#ff3300; animation-delay:0s; filter:drop-shadow(0 0 14px rgba(255,51,0,.8)); }
.rl:nth-child(2) { color:#ff4d00; animation-delay:0.8s; filter:drop-shadow(0 0 14px rgba(255,77,0,.7)); }
.rl:nth-child(3) { color:#ff6600; animation-delay:1.6s; filter:drop-shadow(0 0 14px rgba(255,102,0,.7)); }
.rl:nth-child(4) { color:#ff8000; animation-delay:2.4s; filter:drop-shadow(0 0 14px rgba(255,128,0,.6)); }

.above-rest {
position:relative; overflow:hidden; display:flex; gap:0.75em;
justify-content:center; align-items:baseline; padding:0.6rem 1.5rem; margin-bottom:1.5rem;
}
.above-rest::before {
content:''; position:absolute; left:-5%; right:-5%; height:2px;
background:linear-gradient(90deg,transparent,#ff8c00,#ffd700,#ff8c00,transparent);
animation:scanLine 7s ease-in-out infinite; animation-delay:2.5s;
}
.rise-word {
font-family:'Walter Turncoat',cursive; font-size:clamp(1.2rem,3.4vw,2.1rem);
color:#ffffff; letter-spacing:0.14em; text-transform:uppercase; display:inline-block;
animation:wordAscend 3.6s ease-in-out infinite; filter:drop-shadow(0 0 7px rgba(255,69,0,.55));
}
.rise-word:nth-child(1) { animation-delay:0s; }
.rise-word:nth-child(2) { animation-delay:0.5s; }
.rise-word:nth-child(3) { animation-delay:1.0s; }

.ft-socials { display:flex; gap:2.2rem; justify-content:center; align-items:flex-end; margin-bottom:3rem; }
.social-link {
text-decoration:none; display:flex; flex-direction:column; align-items:center; gap:0.55rem;
--rise-delay:0s; transition:transform 0.35s cubic-bezier(0.34,1.56,0.64,1),filter 0.35s ease;
}
.social-link:hover { transform:scale(1.32) translateY(-10px); filter:drop-shadow(0 12px 22px rgba(0,0,0,0.55)); }
.social-link:hover .icon-inner svg { filter:drop-shadow(0 0 24px #ff4500) drop-shadow(0 0 44px rgba(255,69,0,.5)); }
.social-link:hover .social-label { opacity:1; transform:translateY(0); }
.icon-inner {
position:relative; display:block; width:54px; height:54px;
animation:rocketRise 3s cubic-bezier(0.4,0,0.3,1) infinite; animation-delay:var(--rise-delay);
}
.icon-inner svg { width:54px; height:54px; filter:drop-shadow(0 0 8px rgba(255,69,0,0.6)); transition:filter 0.3s ease; position:relative; z-index:1; }
.icon-inner::after {
content:''; position:absolute; bottom:-2px; left:50%; transform:translateX(-50%); width:12px;
background:linear-gradient(to bottom,rgba(255,160,40,.98),rgba(255,69,0,.80),rgba(255,30,0,.40),transparent);
border-radius:0 0 50% 50%; filter:blur(3.5px);
animation:exhaustTrail 3s cubic-bezier(0.4,0,0.3,1) infinite; animation-delay:var(--rise-delay); z-index:0;
}
.social-link:nth-child(1) { --rise-delay:0s; }
.social-link:nth-child(2) { --rise-delay:0.55s; }
.social-link:nth-child(3) { --rise-delay:1.1s; }
.social-link:nth-child(4) { --rise-delay:1.65s; }
.social-link:nth-child(5) { --rise-delay:2.2s; }
.social-label {
font-family:'Walter Turncoat',cursive; font-size:0.66rem; color:#ff6020; letter-spacing:0.13em;
text-transform:uppercase; opacity:0; transform:translateY(7px); transition:opacity 0.3s ease,transform 0.3s ease; white-space:nowrap;
}
.ft-bottom {
font-family:'Walter Turncoat',cursive; font-size:0.79rem; color:rgba(255,255,255,0.35); letter-spacing:0.07em;
padding-top:1.5rem; border-top:1px solid rgba(255,69,0,0.14);
display:flex; flex-wrap:wrap; justify-content:center; gap:0.3rem 1.4rem;
}
.ft-bottom .ft-hi { color:rgba(255,255,255,0.65); }
.ft-bottom .ft-accent { color:#ff4500; }
</style>
<footer id="brand-footer">
<div class="ft-bg"></div>
<div class="ft-overlay"></div>
<div class="ft-embers" id="ftEmbers"></div>
<div class="ft-inner">
<div class="ft-brand"><span class="ft-letter" style="animation-delay:0.0s">D</span><span class="ft-letter" style="animation-delay:0.22s">o</span><span class="ft-letter" style="animation-delay:0.44s">u</span><span class="ft-letter" style="animation-delay:0.66s">b</span><span class="ft-letter" style="animation-delay:0.88s">l</span><span class="ft-letter" style="animation-delay:1.1s">e</span><span style="display:inline-block;width:0.35em"> </span><span class="ft-letter" style="animation-delay:1.54s">R</span><span style="display:inline-block;width:0.35em"> </span><span class="ft-letter" style="animation-delay:1.98s">R</span><span class="ft-letter" style="animation-delay:2.2s">o</span><span class="ft-letter" style="animation-delay:2.42s">o</span><span class="ft-letter" style="animation-delay:2.64s">f</span><span class="ft-letter" style="animation-delay:2.86s">i</span><span class="ft-letter" style="animation-delay:3.08s">n</span><span class="ft-letter" style="animation-delay:3.3s">g</span></div>
<div class="ft-divider"></div>
<div class="rise-hero">
<span class="rl" style="animation-delay:0s">R</span>
<span class="rl" style="animation-delay:0.8s">I</span>
<span class="rl" style="animation-delay:1.6s">S</span>
<span class="rl" style="animation-delay:2.4s">E</span>
</div>
<div class="above-rest">
<span class="rise-word">Above</span>
<span class="rise-word">The</span>
<span class="rise-word">Rest</span>
</div>
<div class="ft-socials">
<a class="social-link" href="https://instagram.com/Double_R_Roofing" rel="noopener" target="_blank" title="Instagram">
<span class="icon-inner">
<svg fill="#ff4500" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.162 6.162 6.162 6.162-2.759 6.162-6.162c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.793-4-4 0-2.209 1.793-4 4-4s4 1.793 4 4c0 2.209-1.793 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.441s.645 1.441 1.441 1.441 1.441-.645 1.441-1.441c0-.796-.645-1.441-1.441-1.441z"></path>
</svg>
</span>
<span class="social-label">Instagram</span>
</a>
<a class="social-link" href="https://youtube.com/double-r-roofing" rel="noopener" target="_blank" title="YouTube">
<span class="icon-inner">
<svg fill="#ff4500" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"></path>
</svg>
</span>
<span class="social-label">YouTube</span>
</a>
<a class="social-link" href="https://www.facebook.com/people/Double-R-Roofing/61560587609585/" rel="noopener" target="_blank" title="Facebook">
<span class="icon-inner">
<svg fill="#ff4500" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"></path>
</svg>
</span>
<span class="social-label">Facebook</span>
</a>
<a class="social-link" href="https://www.x.com/double_r_roofin" rel="noopener" target="_blank" title="X">
<span class="icon-inner">
<svg fill="#ff4500" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"></path>
</svg>
</span>
<span class="social-label">X</span>
</a>
<a class="social-link" href="https://tiktok.com/aboveallriseabovetherest" rel="noopener" target="_blank" title="TikTok">
<span class="icon-inner">
<svg fill="#ff4500" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-2.88 2.5 2.89 2.89 0 0 1-2.89-2.89 2.89 2.89 0 0 1 2.89-2.89c.28 0 .54.04.79.1V9.01a6.27 6.27 0 0 0-.79-.05 6.34 6.34 0 0 0-6.34 6.34 6.34 6.34 0 0 0 6.34 6.34 6.34 6.34 0 0 0 6.33-6.34V9.02a8.16 8.16 0 0 0 4.77 1.52V7.1a4.85 4.85 0 0 1-1-.41z"></path>
</svg>
</span>
<span class="social-label">TikTok</span>
</a>
</div>
<div class="ft-bottom">
<span class="ft-hi">Double R Roofing</span>
<span>Princeton, WV</span>
<span class="ft-accent">Rise Above The Rest</span>
</div>
</div>
</footer>
<!-- ===== END DOUBLE R ROOFING GLOBAL FOOTER ===== -->
<!-- ===== END DOUBLE R ROOFING GLOBAL FOOTER ===== -->
<!-- ===== END DOUBLE R ROOFING GLOBAL FOOTER ===== -->
<!-- JavaScript -->
<script>
// GSAP ScrollTrigger Setup
gsap.registerPlugin(ScrollTrigger);
// Parallax effect on scroll
window.addEventListener('scroll', () => {
const scrolled = window.pageYOffset;
const bg = document.querySelector('.shingle-image');
if (bg) {
bg.style.transform = `translate(-50%, calc(-50% + ${scrolled * 0.3}px)) scale(1.1)`;
}
});
// Counter Animation
function animateCounter(element) {
const target = parseInt(element.getAttribute('data-target'));
if (!target) return;
const duration = 2000;
const step = target / (duration / 16);
let current = 0;
const timer = setInterval(() => {
current += step;
if (current >= target) {
current = target;
clearInterval(timer);
}
element.textContent = Math.floor(current);
}, 16);
}
// Reveal Animations
gsap.utils.toArray('.reveal').forEach(elem => {
gsap.fromTo(elem,
{ opacity: 0, y: 60 },
{
opacity: 1,
y: 0,
duration: 1,
ease: "power3.out",
scrollTrigger: {
trigger: elem,
start: "top 85%",
toggleActions: "play none none none"
}
}
);
});
// Trigger counters
ScrollTrigger.create({
trigger: '.stats-grid',
start: 'top 80%',
onEnter: () => {
document.querySelectorAll('.stat-number[data-target]').forEach(animateCounter);
},
once: true
});
// Warranty card animations
gsap.utils.toArray('.warranty-card').forEach((card, i) => {
gsap.from(card, {
scrollTrigger: {
trigger: card,
start: "top 85%",
toggleActions: "play none none none"
},
y: 100,
opacity: 0,
duration: 0.8,
delay: i * 0.1,
ease: "power3.out"
});
});
// Image showcase zoom
document.querySelectorAll('.image-showcase').forEach(showcase => {
showcase.addEventListener('mouseenter', function() {
gsap.to(this.querySelector('.image-placeholder'), {
scale: 1.15,
duration: 0.6,
ease: "power2.out"
});
});
showcase.addEventListener('mouseleave', function() {
gsap.to(this.querySelector('.image-placeholder'), {
scale: 1,
duration: 0.6,
ease: "power2.out"
});
});
});

// DROPDOWN FIX - Keep dropdowns open briefly after mouse leaves
(function() {
const menuItems = document.querySelectorAll('.rr-menu > li');
let activeDropdown = null;
let timeoutId = null;
menuItems.forEach(item => {
const dropdown = item.querySelector('.rr-drop');
if (!dropdown) return;
item.addEventListener('mouseenter', () => {
clearTimeout(timeoutId);
if (activeDropdown && activeDropdown !== dropdown) {
activeDropdown.style.opacity = '0';
activeDropdown.style.pointerEvents = 'none';
}
dropdown.style.opacity = '1';
dropdown.style.pointerEvents = 'all';
dropdown.style.transform = 'translateX(-50%) translateY(0)';
activeDropdown = dropdown;
});
item.addEventListener('mouseleave', (e) => {
timeoutId = setTimeout(() => {
dropdown.style.opacity = '0';
dropdown.style.pointerEvents = 'none';
dropdown.style.transform = 'translateX(-50%) translateY(8px)';
}, 150);
});
dropdown.addEventListener('mouseenter', () => {
clearTimeout(timeoutId);
});
dropdown.addEventListener('mouseleave', () => {
timeoutId = setTimeout(() => {
dropdown.style.opacity = '0';
dropdown.style.pointerEvents = 'none';
dropdown.style.transform = 'translateX(-50%) translateY(8px)';
}, 100);
});
});
})();
</script>
<script id="double-r-footer-js">
(function spawnEmbers() {
const container = document.getElementById('ftEmbers');
if (!container) return;
const embers = [
{ s:3, left:'5%', delay:0, dur:4.5, ex:'12px' },
{ s:4, left:'12%', delay:1.4, dur:5.8, ex:'-20px' },
{ s:2, left:'22%', delay:0.6, dur:3.9, ex:'10px' },
{ s:5, left:'32%', delay:2.8, dur:6.4, ex:'-14px' },
{ s:3, left:'44%', delay:0.3, dur:5.0, ex:'18px' },
{ s:2, left:'55%', delay:1.9, dur:3.6, ex:'-10px' },
{ s:4, left:'66%', delay:3.3, dur:6.0, ex:'22px' },
{ s:3, left:'76%', delay:0.8, dur:4.3, ex:'-16px' },
{ s:2, left:'86%', delay:2.2, dur:5.3, ex:'14px' },
{ s:5, left:'94%', delay:1.1, dur:7.0, ex:'-26px' },
];
embers.forEach(e => {
const el = document.createElement('span');
el.className = 'ember';
el.style.cssText = `width:${e.s}px;height:${e.s}px;left:${e.left};--ex:${e.ex};animation-duration:${e.dur}s;animation-delay:${e.delay}s;`;
container.appendChild(el);
});
})();

// Stats counter
const statsObs = new IntersectionObserver(entries => {
entries.forEach(e => {
if (e.isIntersecting) {
e.target.querySelectorAll('.hstat-num').forEach(el => {
const target = +el.dataset.count;
const suffix = target >= 100 ? '+' : (target === 24 ? 'hr' : 'yr');
let n = 0;
const t = setInterval(() => {
n += target/60;
if (n >= target) { el.textContent = target+suffix; clearInterval(t); return; }
el.textContent = Math.floor(n)+suffix;
}, 22);
});
statsObs.unobserve(e.target);
}
});
}, {threshold:.5});
document.querySelectorAll('.hero-stats').forEach(el => statsObs.observe(el));

// Nav scroll
window.addEventListener('scroll', () => {
const nav = document.getElementById('rr-nav');
if (nav) nav.classList.toggle('scrolled', window.scrollY > 30);
});
</script>

<script>
// Logo embers rising — runs after DOM is ready
(function() {
const canvas = document.getElementById('bg-canvas');
if (!canvas) return;
const ctx = canvas.getContext('2d');
canvas.style.cssText = 'position:fixed;top:0;left:0;width:100%;height:100%;z-index:2;pointer-events:none;';
let W, H;
function resize() { W = canvas.width = window.innerWidth; H = canvas.height = window.innerHeight; }
resize();
window.addEventListener('resize', resize);

const logoImg = new Image();
logoImg.src = 'images/Double_R_Roofings_3d_Logo-150.webp';

function spawn(randomY) {
const s = Math.random() * 44 + 28;
return {
x: Math.random() * W,
y: randomY ? Math.random() * H : H + s,
s,
vy: -(Math.random() * 0.5 + 0.22),
sway: Math.random() * Math.PI * 2,
swayAmp: Math.random() * 0.5 + 0.15,
swaySpeed: Math.random() * 0.009 + 0.003,
rot: Math.random() * Math.PI * 2,
rotV: (Math.random() - 0.5) * 0.008,
o: Math.random() * 0.12 + 0.07
};
}

let particles = [];
logoImg.onload = function() {
for (let i = 0; i < 22; i++) particles.push(spawn(true));
requestAnimationFrame(draw);
};

function draw() {
ctx.clearRect(0, 0, W, H);
for (let i = 0; i < particles.length; i++) {
const p = particles[i];
p.sway += p.swaySpeed;
p.x += Math.sin(p.sway) * p.swayAmp;
p.y += p.vy;
p.rot += p.rotV;
if (p.y < -p.s) particles[i] = spawn(false);
const fade = Math.max(0, Math.min(1, p.y / (H * 0.3)));
ctx.save();
ctx.globalAlpha = p.o * fade;
ctx.translate(p.x, p.y);
ctx.rotate(p.rot);
ctx.drawImage(logoImg, -p.s / 2, -p.s / 2, p.s, p.s);
ctx.restore();
}
requestAnimationFrame(draw);
}
})();
</script>


</body></html>