/* ─── 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 ─── */
.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 */
.svc-s1 { background-image: url('https://riseabovethe.rest/images/Double_R_Roofing_homepage_owens_corning_image-800.webp'); background-size: cover; background-position: center; }
.svc-s2 { background-image: url('https://riseabovethe.rest/images/Double_R_Roofing_homepage.webp'); background-size: cover; background-position: center; }
.svc-s3 { background-image: url('https://riseabovethe.rest/images/roof-repairs.webp'); background-size: cover; background-position: center; }
.svc-s4 { background-image: url('https://riseabovethe.rest/images/storm-damage.webp'); background-size: cover; background-position: center; }
@supports not (background-image: url(https://riseabovethe.rest/images/Double_R_Roofings_3d_Logo-150.webp)) {
  .svc-s1 { background-image: url('https://riseabovethe.rest/images/Double_R_Roofing_homepage_owens_corning.jpg'); }
  .svc-s2 { background-image: url('https://riseabovethe.rest/images/Double_R_Roofing_homepage.jpg'); }
  .svc-s3 { background-image: url('https://riseabovethe.rest/images/roof-repairs-400.webp'); }
  .svc-s4 { background-image: url('https://riseabovethe.rest/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 STRIP ─── */
.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 {
  will-change: transform, opacity; 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% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.03); opacity: 0.85; }
}

/* ─── 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);
  animation: stripe 2.8s linear infinite;
  will-change: transform;
}
@keyframes stripe {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
#rr-nav.scrolled { background: rgba(0,0,0,0.97); }
.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;
  will-change: opacity;
}
@keyframes logo-glow {
  0%, 100% { opacity: 0.75; box-shadow: 0 0 20px rgba(255,69,0,0.6); }
  50%       { opacity: 1;    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); }
.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; }
.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; }
.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; }

/* ─── 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: 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: 920px) {
  .rr-menu   { display: none; }
  .rr-burger { display: flex; }
  .rr-btns   { display: none; }
}
@media (max-width: 580px) {
  .services-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .rr-inner        { padding: 0 12px; height: 64px; }
  .rr-logo img     { width: 44px; height: 44px; }
  .brand-main      { font-size: 16px; }
  .brand-sub       { display: none; }
  .rr-burger       { padding: 6px; }
  .rr-burger span  { width: 20px; }
  #rr-mobile       { top: 64px; }
  .mob-tab         { padding: 10px 12px; font-size: 11px; }
  .mob-panel       { max-height: calc(100vh - 110px); }
}

/* ─── 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; }

/* ─── FOOTER KEYFRAMES ─── */
@keyframes kenBurnsRise {
  0%, 100% { transform: scale(1.05) rotate(0deg); }
  50%       { transform: scale(1.2)  rotate(0.8deg); }
}
@keyframes bgDrift {
  0%, 100% { transform: translate(0%,   0%)  scale(1.05); }
  25%       { transform: translate(-2%,  1%) scale(1.1);  }
  50%       { transform: translate(2%,  -1%) scale(1.15); }
  75%       { transform: translate(-1%,  2%) scale(1.1);  }
}
@keyframes letterLaunch {
  0%, 100% { 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); }
}
@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%   { transform: scaleY(0);    opacity: 0;    }
  8%   { transform: scaleY(0.12); opacity: 0.7;  }
  22%  { transform: scaleY(1);    opacity: 1;    }
  65%  { transform: scaleY(0.8);  opacity: 0.85; }
  85%  { transform: scaleY(0.25); opacity: 0.4;  }
  100% { transform: scaleY(0);    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, 0px) * 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;    }
}

/* ─── FOOTER ─── */
#brand-footer {
  position: relative; min-height: auto; overflow: hidden;
  padding: 3rem 2rem 2.5rem; font-family: 'Rubik Lines', sans-serif;
  border-top: 1px solid rgba(255,69,0,.18);
}
#brand-footer::before {
  content: ''; position: absolute; inset: 0;
  background: url('https://riseabovethe.rest/images/Double_R_Roofing_footer_background_image.webp') center/cover no-repeat;
  z-index: 0;
}
.ft-bg {
  position: absolute; inset: -8%;
  background: url('https://riseabovethe.rest/images/Double_R_Roofing_footer_background_image.webp') center/125% no-repeat;
  animation: kenBurnsRise 42s ease-in-out 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: #fff; letter-spacing: 0.08em; line-height: 1; margin-bottom: 0.3rem;
}
.ft-letter { display: inline-block; animation: letterLaunch 5.6s ease-in-out infinite; }
.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;
  animation-play-state: paused;
  will-change: transform, opacity;
}
.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: #fff; letter-spacing: 0.14em; text-transform: uppercase; display: inline-block;
  animation: wordAscend 3.6s ease-in-out infinite;
  text-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; }

/* Social links */
.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; }

/* ─── DEMO ─── */
.demo { padding: 110px 40px 60px; text-align: center; }
.demo p { font-family: var(--rl); font-size: 14px; font-weight: 400; color: #444; }
