/* Extracted from inline <style> in index.html on 2026-05-11 */
/* Goal: -135KB HTML parse on slow mobile CPU. Critical CSS (vars + base) stays inline. */

/* Noise overlay reusable — attach via ::before on any section */
.warm-noise {
  position: relative;
  background-color: var(--warm-cream);
}
.warm-noise::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/></svg>");
  mix-blend-mode: multiply;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.warm-noise > * {
  position: relative;
  z-index: 1;
}

/* Services chapter — visual EXTENSION of Chapter 01 (intro)'s palette.
     2026-04-25 v3 (user feedback): gradient ends at sky tone of van bg image (#b8c4d0)
     so the bottom of services bleeds naturally into the van parallax section below.
     Sky colour sampled from upper portion of images/backgrounds/van.jpg — UK overcast
     blue-grey, dominant hex ~#b8c4d0. */
/* R20 (Tariq 2026-04-27): Services bg = light gradient ending at SKY (#b8c4d0)
     so it flows into the van parallax section below seamlessly. Top of section
     matches intro's #ededea exactly. Decorative scaffold silhouettes drift across
     to give the bg life (replaces "dead" feel). */
.services-sand {
  position: relative;
  background:
    radial-gradient(
      circle at 18% 60%,
      rgba(245, 232, 0, 0.14) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 88% 78%,
      rgba(79, 217, 35, 0.14) 0%,
      transparent 50%
    ),
    linear-gradient(180deg, #ededea 0%, #ededea 14%, #d6d2c4 60%, #b8c4d0 100%);
  color: #0a0a0a;
  overflow: hidden;
}
.services-sand::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/></svg>");
  mix-blend-mode: multiply;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.services-sand > * {
  position: relative;
  z-index: 1;
}

/* Background life — soft drifting scaffold tubes + brand motes. */
.services-life {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.services-life__tube {
  position: absolute;
  width: 2px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(10, 10, 10, 0.18),
    transparent
  );
  border-radius: 2px;
  will-change: transform;
}
.services-life__tube::before,
.services-life__tube::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(10, 10, 10, 0.22);
  background: rgba(255, 255, 255, 0.5);
  transform: translateX(-50%);
}
.services-life__tube::before {
  top: 0;
}
.services-life__tube::after {
  bottom: 0;
}
.services-life__tube--a {
  top: 8%;
  left: 6%;
  height: 180px;
  animation: tubeDrift 14s ease-in-out infinite;
  opacity: 0.45;
}
.services-life__tube--b {
  top: 38%;
  left: 92%;
  height: 220px;
  animation: tubeDrift 18s ease-in-out infinite -4s;
  opacity: 0.4;
}
.services-life__tube--c {
  top: 65%;
  left: 22%;
  height: 140px;
  animation: tubeDrift 16s ease-in-out infinite -8s;
  opacity: 0.42;
}
.services-life__tube--d {
  top: 22%;
  left: 78%;
  height: 160px;
  animation: tubeDrift 20s ease-in-out infinite -2s;
  opacity: 0.36;
}
@keyframes tubeDrift {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-22px) rotate(2deg);
  }
}
.services-life__mote {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  will-change: transform, opacity;
}
.services-life__mote--y {
  background: #f5e800;
  box-shadow: 0 0 12px rgba(245, 232, 0, 0.55);
  top: 28%;
  left: 14%;
  animation: moteFloat 11s ease-in-out infinite;
  opacity: 0.55;
}
.services-life__mote--g {
  background: #4fd923;
  box-shadow: 0 0 12px rgba(79, 217, 35, 0.55);
  top: 72%;
  left: 86%;
  animation: moteFloat 13s ease-in-out infinite -3s;
  opacity: 0.5;
}
.services-life__mote--y2 {
  background: #f5e800;
  box-shadow: 0 0 10px rgba(245, 232, 0, 0.5);
  top: 58%;
  left: 8%;
  animation: moteFloat 15s ease-in-out infinite -7s;
  opacity: 0.42;
}
.services-life__mote--g2 {
  background: #4fd923;
  box-shadow: 0 0 10px rgba(79, 217, 35, 0.5);
  top: 18%;
  left: 88%;
  animation: moteFloat 17s ease-in-out infinite -5s;
  opacity: 0.45;
}
@keyframes moteFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(18px, -28px) scale(1.25);
    opacity: 0.85;
  }
}
@media (prefers-reduced-motion: reduce) {
  .services-life__tube,
  .services-life__mote {
    animation: none !important;
  }
}
@media (max-width: 768px) {
  .services-life__tube--b,
  .services-life__tube--d,
  .services-life__mote--y2,
  .services-life__mote--g2 {
    display: none;
  }
}

/* Seam divider — sits ON the chapter edge (negative margin), no dark backdrop.
     R19 (Tariq 2026-04-27): collapsed from 56px section → 14px hairline that
     overlaps both adjacent chapters by 7px. Glow leaks freely (overflow: visible)
     so the stripe visually breaks the chapter boundary instead of forming a gap.
     Wider line (3px) + 3 pulsing clamp dots (left/centre/right) for movement. */
.seam {
  height: 14px;
  margin-top: -7px;
  margin-bottom: -7px;
  position: relative;
  overflow: visible;
  background: transparent;
  z-index: 5;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.seam__tube {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: 100%;
  max-width: none;
  height: 3px;
  border-radius: 0;
  background: linear-gradient(
    90deg,
    #4fd923 0%,
    #6fdf3a 25%,
    #f5e800 50%,
    #6fdf3a 75%,
    #4fd923 100%
  );
  background-size: 200% 100%;
  filter: drop-shadow(0 0 10px rgba(79, 217, 35, 0.65))
    drop-shadow(0 0 22px rgba(245, 232, 0, 0.32))
    drop-shadow(0 0 48px rgba(79, 217, 35, 0.22));
  z-index: 2;
  will-change: background-position;
  animation: seamRibbon 8s linear infinite;
}
@keyframes seamRibbon {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}
/* Three clamp dots — left lime, centre yellow, right lime — staggered pulse
     creates a "scaffold tube + clamps" rhythm that breaks the hard edge. */
.seam__tube::before,
.seam__tube::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
}
.seam__tube::before {
  left: 22%;
  background: #4fd923;
  box-shadow:
    0 0 12px rgba(79, 217, 35, 0.85),
    0 0 24px rgba(79, 217, 35, 0.45);
  animation: seamPulse 2.4s ease-in-out infinite;
}
.seam__tube::after {
  right: 22%;
  background: #4fd923;
  box-shadow:
    0 0 12px rgba(79, 217, 35, 0.85),
    0 0 24px rgba(79, 217, 35, 0.45);
  animation: seamPulse 2.4s ease-in-out infinite 1.6s;
}
/* Centre clamp — sits on .seam itself (parent), absolutely positioned over the line */
.seam::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #f5e800;
  box-shadow:
    0 0 14px rgba(245, 232, 0, 0.9),
    0 0 28px rgba(245, 232, 0, 0.5);
  animation: seamPulse 2.4s ease-in-out infinite 0.8s;
  z-index: 3;
}
@keyframes seamPulse {
  0%,
  100% {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(-50%) scale(1.45);
    opacity: 0.65;
  }
}
/* Centre clamp uses translate(-50%, -50%) so override the keyframe transform */
@keyframes seamPulseCentre {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.45);
    opacity: 0.65;
  }
}
.seam::after {
  animation-name: seamPulseCentre;
}
@media (max-width: 768px) {
  .seam {
    height: 10px;
    margin-top: -5px;
    margin-bottom: -5px;
  }
  .seam__tube {
    width: 100%;
    max-width: none;
    height: 2.5px;
  }
  .seam__tube::before {
    left: 14%;
  }
  .seam__tube::after {
    right: 14%;
  }
  .seam::after {
    width: 7px;
    height: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .seam__tube,
  .seam__tube::before,
  .seam__tube::after,
  .seam::after {
    animation: none !important;
  }
}

/* Hero bottom warm bleed — dawn into next section */
.hero-warm-bleed {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: radial-gradient(
    120% 100% at 50% 100%,
    rgba(245, 232, 0, 0.1) 0%,
    rgba(245, 200, 100, 0.06) 35%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 3;
}

/* Skip-to-content (WCAG 2.1 AA) — truly hidden unless focused */
.skip-link {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  background: #0a0a0a;
  color: #f5e800;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 10000;
  border: 2px solid #f5e800;
}
.skip-link:focus {
  position: fixed !important;
  left: 1rem !important;
  top: 1rem !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  outline: none;
}

/* Global focus visible (keyboard nav) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #f5e800;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Mobile hamburger menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 5.5rem 1.5rem 2rem;
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
  pointer-events: none;
  overflow-y: auto;
}
.mobile-menu[data-open="true"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-menu-inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #fafaf5;
  border: 1px solid rgba(245, 232, 0, 0.12);
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s;
}
.mobile-menu-link::after {
  content: "\2192";
  color: #f5e800;
  font-size: 1.15rem;
  transform: translateX(0);
  transition: transform 0.25s;
}
.mobile-menu-link:active {
  background: rgba(245, 232, 0, 0.08);
  border-color: rgba(245, 232, 0, 0.4);
  transform: translateX(4px);
}
.mobile-menu-link:active::after {
  transform: translateX(6px);
}
.mobile-menu-footer {
  display: grid;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 250, 245, 0.08);
}
.mobile-menu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.05rem 1.25rem;
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.mobile-menu-cta--call {
  background: #f5e800;
  color: #0a0a0a;
}
.mobile-menu-cta--wa {
  background: #25d366;
  color: #0a0a0a;
}
body.nav-locked {
  overflow: hidden;
}

/* Lightbox — full-image viewer for Services + Gallery */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(6, 6, 6, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox[hidden] {
  display: none;
}
.lightbox[data-open="true"] {
  opacity: 1;
}
.lightbox-body {
  width: 100%;
  max-width: 1120px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
}
.lightbox-figure {
  margin: 0;
  background: #0f0f0f;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(245, 232, 0, 0.16);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(250, 250, 245, 0.03);
  display: flex;
  flex-direction: column;
  max-height: 92vh;
}
.lightbox-img-wrap {
  position: relative;
  background: #0a0a0a;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 68vh;
  object-fit: contain;
  background: #0a0a0a;
}
.lightbox-counter {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(8px);
  color: #f5e800;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(245, 232, 0, 0.25);
}
.lightbox-caption {
  padding: 1.5rem 2rem 1.75rem;
  color: #fafaf5;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: linear-gradient(180deg, #0f0f0f 0%, #050505 100%);
  border-top: 1px solid rgba(245, 232, 0, 0.08);
}
.lightbox-chip {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f5e800;
}
.lightbox-chip:empty {
  display: none;
}
.lightbox-title:empty {
  display: none;
}
.lightbox-caption:has(.lightbox-chip:empty):has(.lightbox-title:empty):has(
    .lightbox-desc:empty
  ) {
  display: none;
}
/* 2026-04-22 (client request): hide title/desc, keep chip + WhatsApp CTA */
.lightbox-title,
.lightbox-desc {
  display: none !important;
}
.lightbox-caption {
  padding: 1rem 1.5rem 1.25rem !important;
  align-items: center !important;
  gap: 0.8rem !important;
}
/* R16 (2026-04-26 Tariq night): lightbox chip = keyword only, white text + soft black border.
     No pill bg, no yellow dot — clean text overlay style. */
.lightbox-chip {
  display: inline-flex !important;
  align-items: center;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #ffffff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  width: fit-content;
  margin: 0 auto;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.95),
    0 0 10px rgba(0, 0, 0, 0.75),
    0 0 2px rgba(0, 0, 0, 0.95);
}
.lightbox-chip::before {
  content: none !important;
  display: none !important;
}
.lightbox-chip:empty {
  display: none !important;
}

/* R12: gallery-meta chips inside the lightbox — transparent text overlay, no pill bg.
     Chips sit at the bottom of the lightbox image via absolute positioning on .lightbox-img-wrap. */
.lightbox-meta-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.5rem;
  width: 100%;
  margin: 0 auto;
}
.lightbox-meta-chips:empty {
  display: none;
}
/* Transparent text chips — same pattern as grid gallery (R12) */
.lightbox-meta-chips .gallery-meta__chip {
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: transparent;
  border: none;
  color: #fafaf5;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.95),
    0 0 8px rgba(0, 0, 0, 0.7);
}
.lightbox-meta-chips .gallery-meta__chip + .gallery-meta__chip::before {
  content: "·";
  margin-right: 0.5rem;
  color: rgba(245, 232, 0, 0.7);
  font-weight: 900;
}
.lightbox-meta-chips .gallery-meta__chip--loc {
  color: #4fd923;
}
.lightbox-meta-chips .gallery-meta__chip--dur {
  color: #f5e800;
}

/* 2026-04-22: ADE logo inside lightbox — pulled further left, fully transparent */
.lightbox-logo {
  position: absolute !important;
  top: 1rem !important;
  right: 5rem !important;
  width: 68px !important;
  height: 68px !important;
  object-fit: contain !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  z-index: 2;
  animation: logoFloat 5s ease-in-out infinite;
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.7));
}
@media (max-width: 768px) {
  .lightbox-logo {
    width: 52px !important;
    height: 52px !important;
    top: 0.75rem !important;
    right: 3.5rem !important;
  }
}
.lightbox-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
}
.lightbox-desc {
  color: rgba(250, 250, 245, 0.78);
  line-height: 1.65;
  font-size: 0.95rem;
  margin: 0;
}
.lightbox-desc:empty {
  display: none;
}
.lightbox-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  background: #4fd923;
  color: #0a0a0a;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  width: fit-content;
  transition:
    transform 0.2s,
    background 0.2s,
    color 0.2s;
}
.lightbox-cta:hover {
  background: #f5e800;
  transform: translateY(-2px);
}
.lightbox-cta .lightbox-arrow {
  transition: transform 0.2s;
}
.lightbox-cta:hover .lightbox-arrow {
  transform: translateX(4px);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.7);
  border: 1px solid rgba(245, 232, 0, 0.25);
  color: #f5e800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition:
    transform 0.2s,
    background 0.2s,
    color 0.2s;
  z-index: 2;
}
.lightbox-close .material-symbols-outlined,
.lightbox-nav .material-symbols-outlined {
  font-size: 1.5rem;
}
.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-prev {
  left: 1.5rem;
}
.lightbox-next {
  right: 1.5rem;
}
.lightbox-close:hover,
.lightbox-nav:hover {
  background: #f5e800;
  color: #0a0a0a;
  transform: scale(1.08);
}
.lightbox-nav:hover {
  transform: translateY(-50%) scale(1.08);
}

/* Visual hint that cards are clickable */
.service-card[data-lightbox],
.gallery-item[data-lightbox] {
  cursor: zoom-in;
}

@media (max-width: 640px) {
  .lightbox {
    padding: 0.75rem 0.5rem;
  }
  .lightbox-img {
    max-height: 55vh;
  }
  .lightbox-caption {
    padding: 1.1rem 1.25rem 1.4rem;
  }
  .lightbox-title {
    font-size: 1.15rem;
  }
  .lightbox-desc {
    font-size: 0.88rem;
  }
  .lightbox-nav {
    width: 40px;
    height: 40px;
  }
  .lightbox-nav .material-symbols-outlined {
    font-size: 1.25rem;
  }
  .lightbox-prev {
    left: 0.5rem;
  }
  .lightbox-next {
    right: 0.5rem;
  }
  .lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
  }
  .lightbox-close .material-symbols-outlined {
    font-size: 1.25rem;
  }
}

body.lightbox-open {
  overflow: hidden;
}
.font-headline {
  font-family: "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.02em;
}
.font-serif {
  font-family: "Fraunces", serif;
}

/* Custom cursor removed (Tariq R13 2026-04-26 — distracting on hover/images). */

/* Hero */
.hero-img {
  filter: brightness(0.55) contrast(1.1) saturate(0.9);
  animation: heroZoom 20s ease-out infinite alternate;
}
@keyframes heroZoom {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.18);
  }
}
/* Hero video — single native loop (crossfade removed to fix lag) */
.hero-video {
  filter: brightness(1.05) contrast(1.04) saturate(1.08);
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Full centred frame: UK flag + scaffold — no pan, no zoom (crossfade stays seamless) */
  object-position: center center;
  filter: brightness(0.72) contrast(1.08) saturate(1.08);
  will-change: opacity;
  transition: opacity 0.8s cubic-bezier(0.45, 0, 0.55, 1);
}
.hero-video.secondary {
  opacity: 0;
}
/* On narrow screens, shift slightly left so the flag stays in frame */
@media (max-width: 768px) {
  .hero-video {
    object-position: 22% center;
  }
}
.hero-gradient {
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 72%,
      rgba(0, 0, 0, 0.55) 100%
    ),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 35%);
}

/* Glassmorphism CTA */
.glass-cta {
  background: rgba(250, 250, 245, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(250, 250, 245, 0.2);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.glass-cta:hover {
  background: rgba(250, 250, 245, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(13, 27, 42, 0.4);
}

/* Primary CTA */
.btn-primary {
  background: #0d1b2a;
  color: #fafaf5;
  transition:
    all 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  will-change: transform;
}
.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}
.btn-primary .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(232, 197, 71, 0.5);
  pointer-events: none;
  animation: ripple 0.8s linear;
}
@keyframes ripple {
  from {
    transform: scale(0);
    opacity: 1;
  }
  to {
    transform: scale(4);
    opacity: 0;
  }
}
.glass-cta {
  will-change: transform;
}
.glass-cta:active {
  transform: translateY(-1px) scale(0.98);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--x, 50%) var(--y, 50%),
    rgba(232, 197, 71, 0.5),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
}
.btn-primary:hover::before {
  opacity: 1;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(13, 27, 42, 0.4);
}
.btn-primary .arrow {
  transition: transform 0.4s;
}
.btn-primary:hover .arrow {
  transform: translateX(6px);
}

/* Service cards - 3D tilt + floating text frame.
     Ring now lives on .service-img-ring (wraps the image only), not the card container. */
.service-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: 18px;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s;
  transform-style: preserve-3d;
  perspective: 1200px;
  will-change: transform;
  min-height: 420px;
  cursor: pointer;
  background: #0a0a0a;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 1;
  transition: background 0.5s;
  pointer-events: none;
}
.service-card:hover::before {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
}
/* .service-card img is now positioned inside .service-img-ring — the ring provides the border.
     The img itself uses inset: 2px to sit inside the 2px ring, handled by .service-img-ring img. */
.service-card > img {
  /* fallback for any img not wrapped in .service-img-ring */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 17px;
  transition:
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.6s;
  filter: saturate(1.02) contrast(1.02);
}
/* hover scale now handled by .service-card:hover .service-img-ring img above */
.service-card:hover {
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(245, 232, 0, 0.3);
}

/* Service card text — bottom 25% of image, no panel, just text with strong shadow
     (Tariq R20 v2: reverted to pre-R12 — white pill removed) */
.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.5) 40%,
    rgba(0, 0, 0, 0.88) 100%
  );
  z-index: 2;
  pointer-events: none;
  transition:
    height 0.5s,
    background 0.5s;
}
.service-card:hover::after {
  height: 45%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.4) 30%,
    rgba(0, 0, 0, 0.9) 100%
  );
}
.service-card .content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem 1.75rem;
  transform: translateZ(30px);
  transform-origin: bottom center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 3;
}
.service-card:hover .content {
  transform: translateZ(50px) translateY(-6px);
}
.service-card .content h3 {
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.95),
    0 0 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.35rem;
}
.service-card .content p {
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}
.service-card .content .arrow-ic {
  text-shadow: 0 0 8px rgba(245, 232, 0, 0.6);
}
.service-card .content .material-symbols-outlined {
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.8),
    0 0 16px rgba(245, 232, 0, 0.5);
}
.service-card .arrow-ic {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.4s;
}
.service-card:hover .arrow-ic {
  opacity: 1;
  transform: translateX(0);
}
/* Service card category chip — top-left, always visible */
.service-card .svc-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 232, 0, 0.35);
  color: #f5e800;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 4;
  transition:
    transform 0.4s,
    border-color 0.4s;
}
.service-card .svc-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f5e800;
  box-shadow: 0 0 6px rgba(245, 232, 0, 0.75);
}
.service-card .svc-chip.lime {
  color: #4fd923;
  border-color: rgba(79, 217, 35, 0.38);
}
.service-card .svc-chip.lime::before {
  background: #4fd923;
  box-shadow: 0 0 6px rgba(79, 217, 35, 0.75);
}
.service-card:hover .svc-chip {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(245, 232, 0, 0.65);
}
.service-card:hover .svc-chip.lime {
  border-color: rgba(79, 217, 35, 0.7);
}

/* R19 (Tariq 2026-04-27): "Also working on" chip strip — supplementary services
     (chimney, gutters, render, roofing, new builds, handrails, loading bays, etc.)
     listed elegantly below the 2 main cards without crowding the layout. Uses
     existing svc-chip primitive (lessons-scaffolding line 42 — chip system is the
     reusable design primitive). Alternating lime/yellow per chip mirrors the marquee. */
.svc-extra-wrap {
  margin: 4rem auto 0;
  max-width: 56rem;
  text-align: center;
}
/* R20 v3 (Tariq 2026-04-27): eyebrow slightly enlarged. */
.svc-extra-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #0a0a0a;
  -webkit-text-stroke: 0.6px #4fd923;
  text-shadow: 0 0 2px rgba(79, 217, 35, 0.4);
  paint-order: stroke fill;
  margin-bottom: 1.75rem;
}
.svc-extra-eyebrow::before,
.svc-extra-eyebrow::after {
  content: "";
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #4fd923);
  border-radius: 2px;
  -webkit-text-stroke: 0;
}
.svc-extra-eyebrow::after {
  background: linear-gradient(90deg, #4fd923, transparent);
}
.svc-extra-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 0.65rem;
}
/* R20 v3 (Tariq 2026-04-27 evening): inverted — BLACK text + WHITE stroke (halo).
     Larger size. Transparent bg, no border. */
.svc-extra-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: transparent;
  border: 0;
  color: #0a0a0a;
  -webkit-text-stroke: 0.7px #ffffff;
  text-shadow:
    0 1px 2px rgba(255, 255, 255, 0.85),
    0 0 1px rgba(255, 255, 255, 1);
  paint-order: stroke fill;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.svc-extra-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4fd923;
  box-shadow: 0 0 6px rgba(79, 217, 35, 0.65);
  -webkit-text-stroke: 0;
}
.svc-extra-chip:nth-child(even)::before {
  background: #f5e800;
  box-shadow: 0 0 6px rgba(245, 232, 0, 0.7);
}
.svc-extra-chip:hover {
  transform: translateY(-2px) scale(1.02);
}
@media (max-width: 768px) {
  .svc-extra-wrap {
    margin-top: 2.5rem;
  }
  .svc-extra-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    gap: 0.5rem;
  }
  .svc-extra-eyebrow::before,
  .svc-extra-eyebrow::after {
    width: 24px;
  }
  .svc-extra-chip {
    font-size: 0.72rem;
    padding: 0.42rem 0.78rem;
  }
}

/* Service card image ring — thin rotating conic-gradient ring wrapping the image area only.
     Ring matches gallery items: same --gal-angle @property + galleryBorderRotate keyframes.
     The card container retains its shadow/tilt/hover but is now plain dark background. */
.service-img-ring {
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 18px; /* same as .service-card outer radius */
  background: conic-gradient(
    from var(--gal-angle, 0deg),
    #0a0a0a 0deg,
    #f5e800 90deg,
    #4fd923 180deg,
    #0a0a0a 270deg,
    #f5e800 360deg
  );
  animation: galleryBorderRotate 12s linear infinite;
  z-index: 0;
}
.service-img-ring img {
  position: absolute;
  inset: 2px; /* sits inside the 2px ring */
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  object-fit: cover;
  object-position: center center;
  border-radius: 15px; /* inner: 18px outer − 3px visual gap */
  transition:
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.6s;
  filter: saturate(1.02) contrast(1.02);
}
.service-card:hover .service-img-ring img {
  transform: scale(1.14);
  filter: saturate(1.12) contrast(1.08);
}
.service-card:hover .service-img-ring {
  animation-duration: 4s;
}
@media (prefers-reduced-motion: reduce) {
  .service-img-ring {
    animation: none;
  }
}

/* Emergency card — storm-night scaffold photo fills the card edge-to-edge; text reads over a bottom gradient.
     Ring now on .service-img-ring (wraps image only). Card container is plain dark. */
.service-card-emergency {
  background: #060c16;
  box-shadow: 0 0 0 0 transparent;
}
.service-card-emergency::after {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(6, 12, 22, 0.65) 40%,
    rgba(6, 12, 22, 0.96) 100%
  );
  height: 65%;
}
.service-card-emergency img {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
}
.service-card-emergency:hover img {
  transform: scale(1.06);
  filter: saturate(1.1) brightness(1.05);
}
.service-card-emergency .emergency-overlay {
  display: none;
}
/* Emergency card text — match regular service card (Tariq R20 v2: white pill reverted) */
.service-card-emergency .emergency-content {
  position: absolute;
  bottom: 0;
  top: auto;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem 1.75rem;
  transform: translateZ(30px);
}
@media (max-width: 640px) {
  .service-card-emergency .emergency-content {
    padding: 1rem 1.15rem 1.15rem;
  }
}
.service-card-emergency:hover .emergency-content {
  transform: translateZ(50px) translateY(-2px);
}
.service-card-emergency .emergency-content h3 {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
}
.service-card-emergency .emergency-content p {
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}
.emergency-pulse {
  width: 10px;
  height: 10px;
  background: #f5e800;
  border-radius: 50%;
  display: inline-block;
  animation: emergencyPulse 1.6s ease-in-out infinite;
  box-shadow: 0 0 12px #f5e800;
}
@keyframes emergencyPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(245, 232, 0, 0.8);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(245, 232, 0, 0);
  }
}

/* Before/After slider — overlay method (bulletproof) */
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 16px;
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
  box-shadow: 0 20px 60px rgba(13, 27, 42, 0.15);
}
.ba-base,
.ba-overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.ba-overlay {
  width: 50%;
  transition: width 0.08s linear;
}
.ba-base img,
.ba-overlay-inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ba-overlay-inner {
  width: 100%;
  height: 100%;
}
.ba-overlay-inner img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--bw, 100vw);
  max-width: none !important;
  object-fit: cover;
  pointer-events: none;
}
.ba-slider .divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fafaf5;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}
.ba-slider .handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  background: #fafaf5;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
.ba-slider .label {
  position: absolute;
  top: 16px;
  padding: 6px 14px;
  background: rgba(5, 11, 20, 0.75);
  backdrop-filter: blur(8px);
  color: #fafaf5;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 3;
}

/* Areas — typographic list (image cards removed per client request) */
.areas-list {
  padding-block: 1.5rem;
}
.area-item {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(245, 232, 0, 0.12);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease;
}
.area-item:hover {
  transform: translateX(8px);
  border-color: rgba(245, 232, 0, 0.4);
}
.area-number {
  font-family: "Fraunces", serif;
  font-style: italic;
  color: var(--tw-color-accent, #f5e800);
  opacity: 0.7;
  font-size: 1rem;
  letter-spacing: 0.04em;
  min-width: auto;
}
/* R20 v2 (Tariq 2026-04-27 evening): smaller, subtler black outline. */
.area-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  color: #ffffff;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  -webkit-text-stroke: 0.3px rgba(10, 10, 10, 0.7);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  paint-order: stroke fill;
}
@media (prefers-reduced-motion: reduce) {
  .area-item {
    transition: none;
  }
  .area-item:hover {
    transform: none;
  }
}

/* Review cards with rotating border + float — separated motion/hover */
.review-card-wrap {
  animation: reviewFloat 6s ease-in-out infinite;
  will-change: transform;
  transform-origin: center;
}
.review-card-wrap:nth-child(2) {
  animation-delay: -2s;
}
.review-card-wrap:nth-child(3) {
  animation-delay: -4s;
}
.review-card-wrap:hover {
  animation-play-state: paused;
}
.review-card {
  position: relative;
  border-radius: 18px;
  padding: 2px;
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s;
  cursor: pointer;
}
.review-card-wrap:hover .review-card {
  transform: translateY(-14px) scale(1.03);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.25),
    0 0 0 2px rgba(245, 232, 0, 0.4);
}
@keyframes reviewFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.review-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: conic-gradient(
    from var(--angle, 0deg),
    #0a0a0a,
    #f5e800,
    #4fd923,
    #0a0a0a,
    #f5e800
  );
  animation: rotate 4s linear infinite;
  z-index: 0;
}
.review-card-wrap:hover .review-card::before {
  animation-duration: 1.5s;
  filter: brightness(1.15) saturate(1.3);
}
/* R18 audit fix: removed bogus @supports not (background: paint(something)) block —
     the test was incorrect (paint() worklet is unrelated to @property). Browsers without
     @property registration render the conic-gradient at the initial-value statically,
     which is acceptable graceful degradation. */
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes rotate {
  from {
    --angle: 0deg;
  }
  to {
    --angle: 360deg;
  }
}
@keyframes bgShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}
.review-inner {
  position: relative;
  background: #fafaf5;
  border-radius: 14px;
  padding: 2rem;
  height: 100%;
  z-index: 1;
}
.review-card .quote-ic {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 3rem;
  color: rgba(245, 232, 0, 0.35);
  font-family: "Fraunces", serif;
  line-height: 1;
  z-index: 2;
  pointer-events: none;
  transition:
    transform 0.4s,
    color 0.4s;
}
.review-card-wrap:hover .quote-ic {
  transform: scale(1.15) rotate(-6deg);
  color: rgba(245, 232, 0, 0.7);
}

/* Replaces numbered quote-ic on single-card promises (Chapter 06) — attention-grabbing pill */
.review-card .quote-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(245, 232, 0, 0.18) 0%,
    rgba(79, 217, 35, 0.12) 100%
  );
  border: 1px solid rgba(245, 232, 0, 0.5);
  color: #0a0a0a;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s,
    background 0.4s;
  box-shadow: 0 10px 24px rgba(245, 232, 0, 0.08);
}
.review-card .quote-badge::before {
  content: "→";
  font-style: normal;
  font-weight: 700;
  color: #4fd923;
  font-size: 1.05rem;
}
.review-card-wrap:hover .quote-badge {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(245, 232, 0, 0.9);
  background: linear-gradient(
    135deg,
    rgba(245, 232, 0, 0.28) 0%,
    rgba(79, 217, 35, 0.2) 100%
  );
}
@media (prefers-reduced-motion: reduce) {
  .review-card-wrap:hover .quote-badge {
    transform: none;
  }
}

/* Mobile: shrink badge so it doesn't overlap with card title/icon */
@media (max-width: 640px) {
  .review-card .quote-badge {
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.3rem 0.65rem;
    font-size: 0.7rem;
    gap: 0.3rem;
  }
  .review-card .quote-badge::before {
    font-size: 0.8rem;
  }
}

/* Gallery base styles moved below (enhanced version) */

/* WhatsApp float */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  animation: waPulse 2s infinite;
  transition: transform 0.3s;
}
.wa-float:hover {
  transform: scale(1.1);
}
@keyframes waPulse {
  0%,
  100% {
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow:
      0 8px 40px rgba(37, 211, 102, 0.9),
      0 0 0 12px rgba(37, 211, 102, 0.15);
  }
}

/* Mobile sticky CTA */
.mobile-cta {
  display: none;
}
@media (max-width: 768px) {
  .mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: #0d1b2a;
    padding: 12px;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
    gap: 8px;
  }
  .wa-float {
    bottom: 80px;
  }
  body {
    padding-bottom: 70px;
  }
}
/* R15: desktop has no floating CTA — no padding needed. */

#vanta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
  mix-blend-mode: screen;
}

/* Areas section — eddie-10 backdrop visible on both desktop + mobile.
     Vanta fog layers atmospheric depth on top (desktop only) via mix-blend-mode. */
#areas {
  background-image:
    linear-gradient(
      180deg,
      rgba(5, 11, 20, 0.78) 0%,
      rgba(5, 11, 20, 0.86) 70%,
      rgba(5, 11, 20, 0.94) 100%
    ),
    image-set(
      url("/images/gallery/eddie-10-bg.avif") type("image/avif"),
      url("/images/gallery/eddie-10.webp") type("image/webp")
    );
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}
@media (max-width: 768px) {
  #vanta-bg {
    display: none;
  }
}

/* Parallax pinned-background sections */
.parallax-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.parallax-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.78) 0%,
      rgba(10, 10, 10, 0.6) 50%,
      rgba(0, 0, 0, 0.72) 100%
    ),
    radial-gradient(
      ellipse at 30% 70%,
      rgba(245, 232, 0, 0.12) 0%,
      transparent 55%
    );
  z-index: 1;
}
/* R20 (Tariq 2026-04-27): brighter white + soft black outline so quote/cta text
     reads cleanly over photo backgrounds. */
.parallax-section > .parallax-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 5rem 2rem;
  max-width: 900px;
  font-weight: 500;
  -webkit-text-stroke: 0.4px rgba(10, 10, 10, 0.85);
  text-shadow:
    0 1px 4px rgba(0, 0, 0, 0.7),
    0 0 1px rgba(0, 0, 0, 0.85);
  paint-order: stroke fill;
}
.parallax-section > .parallax-content h2,
.parallax-section > .parallax-content p {
  color: #ffffff;
}
.parallax-section > .parallax-content .editorial-line {
  /* on dark photo bg the eyebrow stays white inside (override the global black) */
  color: #ffffff;
  text-shadow:
    0 0 2px rgba(232, 197, 71, 0.55),
    0 1px 3px rgba(0, 0, 0, 0.65);
}
/* On mobile, background-attachment:fixed has jank issues — revert to scroll */
@media (max-width: 768px) {
  .parallax-section {
    background-attachment: scroll;
    min-height: 60vh;
  }
}

/* van.jpg 504KB → modern formats with image-set() — 2026-05-11 LCP fix A */
.parallax-van {
  background-image: image-set(
    url("/images/backgrounds/van.avif") type("image/avif"),
    url("/images/backgrounds/van.webp") type("image/webp")
  );
}
@media (max-width: 768px) {
  .parallax-van {
    background-image: image-set(
      url("/images/backgrounds/van-mobile.avif") type("image/avif"),
      url("/images/backgrounds/van-mobile.webp") type("image/webp")
    );
  }
}

/* work-11.webp 190KB → AVIF 90KB — 2026-05-11 LCP fix D */
.parallax-work11 {
  background-image: image-set(
    url("/images/gallery/work-11.avif") type("image/avif"),
    url("/images/gallery/work-11.webp?v=clean") type("image/webp")
  );
}

/* R19 (Tariq 2026-04-27): chapter eyebrows now read as polished small labels —
     2px brand-tinted side rules + tiny dot caps. Chapter colour applied via .lime
     (Portfolio + Services + Contact) or .gold (Why ADE + Coverage). */
/* R20 v3 (Tariq 2026-04-27 evening): "Outside this list" tail line under the
     areas grid — bright white, slightly larger, soft black stroke. */
.areas-tail {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.55;
  -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.85);
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.6),
    0 0 2px rgba(0, 0, 0, 0.7);
  paint-order: stroke fill;
}
@media (max-width: 768px) {
  .areas-tail {
    font-size: 1rem;
  }
}

/* R20 v4 (Tariq 2026-04-27 evening): yellow band redone — UNIFORM full-width
     linear gradient. No radial. Tall enough to cover eyebrow + h2 + lead text.
     No mix-blend-mode (kept causing dark patches over headings on dark bg). */
.why-yellow-band {
  position: absolute;
  top: 4rem;
  left: 0;
  right: 0;
  height: 460px;
  background: linear-gradient(
    180deg,
    rgba(245, 232, 0, 0.22) 0%,
    rgba(245, 232, 0, 0.16) 40%,
    rgba(245, 232, 0, 0.08) 75%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 768px) {
  .why-yellow-band {
    top: 3rem;
    height: 420px;
  }
}

/* R20 v3 (Tariq 2026-04-27 evening): chapter lead — NO frame/bg. Just outlined
     typography. Larger font. Stroke colour depends on chapter bg context:
       - Light bg (light gray, cream): GREEN stroke (Ch04 Portfolio + Ch06 Promises)
       - Dark bg (Why ADE, Coverage): BLACK stroke + white text */
.chapter-lead {
  color: #0a0a0a;
  font-size: 1.18rem;
  line-height: 1.55;
  font-weight: 500;
  -webkit-text-stroke: 0.45px #4fd923;
  text-shadow: 0 0 2px rgba(79, 217, 35, 0.28);
  paint-order: stroke fill;
}
/* Dark-bg chapters: white text with subtle black stroke for legibility.
     R20 v4: shadow tightened so it doesn't paint a faint dark box on the yellow band. */
#work .chapter-lead,
#areas .chapter-lead {
  color: #ffffff;
  -webkit-text-stroke: 0.45px rgba(0, 0, 0, 0.85);
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.65);
}
@media (max-width: 768px) {
  .chapter-lead {
    font-size: 1.04rem;
  }
}

/* R20 (Tariq 2026-04-27): "Recent jobs, real sites." gets a soft yellow outline. */
.portfolio-heading {
  -webkit-text-stroke: 0.5px rgba(245, 232, 0, 0.85);
  text-shadow:
    0 0 2px rgba(245, 232, 0, 0.35),
    0 1px 1px rgba(0, 0, 0, 0.04);
  paint-order: stroke fill;
}
.portfolio-heading .text-secondary {
  -webkit-text-stroke: 0.4px rgba(245, 232, 0, 0.7);
  text-shadow: 0 0 2px rgba(245, 232, 0, 0.3);
}

/* R20 v2 (Tariq 2026-04-27 evening): chapter labels = BLACK text inside with
     soft brand-colored stroke. Outlined typography. */
.editorial-line {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #0a0a0a;
  -webkit-text-stroke: 0.6px #4fd923;
  text-shadow: 0 0 2px rgba(79, 217, 35, 0.4);
  paint-order: stroke fill;
}
.editorial-line::before,
.editorial-line::after {
  content: "";
  width: 36px;
  height: 2px;
  border-radius: 2px;
  background: #4fd923;
  opacity: 0.7;
  -webkit-text-stroke: 0;
}
.editorial-line::before {
  background: linear-gradient(90deg, transparent, #4fd923);
  opacity: 0.85;
}
.editorial-line::after {
  background: linear-gradient(90deg, #4fd923, transparent);
  opacity: 0.85;
}
.editorial-line.gold {
  color: #0a0a0a;
  -webkit-text-stroke: 0.6px #e8c547;
  text-shadow: 0 0 2px rgba(232, 197, 71, 0.45);
}
.editorial-line.gold::before {
  background: linear-gradient(90deg, transparent, #e8c547);
}
.editorial-line.gold::after {
  background: linear-gradient(90deg, #e8c547, transparent);
}
.editorial-line.lime {
  color: #0a0a0a;
  -webkit-text-stroke: 0.6px #4fd923;
}
/* On dark-bg chapters (Why ADE, Coverage) keep eyebrow inside white for legibility.
     R20 v4: shadow softened so it doesn't read as a black rectangle on top of the yellow band. */
#work .editorial-line,
#areas .editorial-line {
  color: #ffffff;
  text-shadow: 0 0 1px rgba(232, 197, 71, 0.7);
}
#work .editorial-line {
  text-shadow: 0 0 1px rgba(232, 197, 71, 0.85);
}
/* Hero top strip — readable pill on dark hero video (high contrast)
     2026-04-25 v4 (user fix): pill chrome lives on outer wrapper (.hero-strip-pill)
     while the inner .hero-strip-track scrolls. Outer is fixed; inner duplicates content
     and translates 0 → -50% for a seamless loop with no visible border seam.
     Animation-delay (-Xs) makes the first frame land mid-flow ("starts from middle of screen"). */
.hero-strip-pill {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f5e800;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.4rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(245, 232, 0, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.hero-strip-track {
  display: inline-flex;
  white-space: nowrap;
  animation: heroStripScroll 22s linear infinite;
  animation-delay: -11s; /* land mid-flow on initial paint */
  will-change: transform;
}
.hero-strip-copy {
  display: inline-block;
  flex: 0 0 auto;
}
@media (min-width: 769px) {
  .hero-strip-pill {
    border-radius: 999px;
  }
  .hero-strip-track {
    animation-duration: 28s;
    animation-delay: -14s;
  }
}
@keyframes heroStripScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-strip-track {
    animation: none;
  }
}

/* Chapter 01 marquee (scrolls on mobile so full text always visible) */
.chapter-marquee-wrap {
  display: block;
  overflow: hidden;
  max-width: 100%;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}
.chapter-marquee {
  display: inline-block;
  white-space: nowrap;
  animation: chapterScroll 32s linear infinite;
  padding-left: 0;
}
.chapter-marquee::before,
.chapter-marquee::after {
  display: none;
}
@keyframes chapterScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (min-width: 769px) {
  /* Desktop — scroll slower so it reads as a subtle editorial ticker */
  .chapter-marquee {
    animation-duration: 48s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .chapter-marquee {
    animation: none;
  }
  .chapter-marquee-wrap {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* Inline stats - smaller & elegant */
.stat-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 3rem;
  align-items: baseline;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1;
  color: #0d1b2a;
  font-style: italic;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3f4651;
  margin-top: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  background: #fafaf5;
  border: 1px solid rgba(13, 27, 42, 0.15);
  border-radius: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  transition: all 0.3s;
}
.form-input:focus {
  outline: none;
  border-color: #0d1b2a;
  box-shadow: 0 0 0 3px rgba(13, 27, 42, 0.1);
}

/* Postcode live feedback (2026-04-25 v2) — appears under the postcode input as the user types.
     Green = inside ADE coverage; amber = outside-but-considered; muted = looking up. */
.postcode-feedback {
  margin-top: 0.4rem;
  min-height: 1.1rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: transparent;
  transition: color 0.2s;
}
.postcode-feedback.is-loading {
  color: #6b6f7a;
  font-weight: 500;
  font-style: italic;
}
.postcode-feedback.is-covered {
  color: #1f7a17;
}
.postcode-feedback.is-edge {
  color: #b56600;
}
.postcode-feedback.is-error {
  color: #b91c1c;
}
.postcode-feedback::before {
  content: attr(data-icon);
  margin-right: 0.4rem;
}

/* Photo upload — drop-zone style, optional, helps us quote without a site visit (2026-04-25) */
/* R18 (2026-04-26 Tariq night): photo input removed. Hint to attach in WhatsApp + inline form status. */
.form-photo-hint {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.28);
  color: #0a0a0a;
  font-size: 0.82rem;
  line-height: 1.45;
}
.form-photo-hint__icon {
  font-size: 1.15rem;
  color: #25d366;
  flex-shrink: 0;
  margin-top: 1px;
}
.form-status {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}
.form-status[hidden] {
  display: none !important;
}
.form-status.is-success {
  background: rgba(79, 217, 35, 0.15);
  border: 1px solid rgba(79, 217, 35, 0.45);
  color: #1a4a08;
}
.form-status.is-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #5b1414;
}
.form-status.is-loading {
  background: rgba(245, 232, 0, 0.12);
  border: 1px solid rgba(245, 232, 0, 0.45);
  color: #4a3f00;
}
.form-photo-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1.4rem 1.25rem;
  margin-top: 0.5rem;
  background: #fafaf5;
  border: 1.5px dashed rgba(13, 27, 42, 0.32);
  border-radius: 12px;
  color: #3f4651;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.2s;
  text-align: center;
}
.form-photo-zone:hover,
.form-photo-zone:focus-within {
  border-color: #4fd923;
  background: #f4fbef;
}
.form-photo-zone.has-files {
  border-color: #4fd923;
  background: #f4fbef;
}
.form-photo-zone__icon {
  font-size: 1.6rem;
  color: #0a0a0a;
  background: #f5e800;
  border-radius: 999px;
  padding: 0.5rem;
  line-height: 1;
}
.form-photo-zone__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0a0a0a;
}
.form-photo-zone__hint {
  font-size: 0.78rem;
  color: #3f4651;
}
.form-photo-zone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.form-photo-zone__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.4rem;
}
.form-photo-zone__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: #0a0a0a;
  color: #f5e800;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Real extracted logo */
.logo-real {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.logo-real:hover img {
  animation-play-state: paused;
  transform: rotate(-4deg) scale(1.08);
  filter: drop-shadow(0 8px 22px rgba(232, 197, 71, 0.45));
}
.logo-real img {
  height: 78px;
  width: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
  animation: logoFloat 5s ease-in-out infinite;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.4s;
}
@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-5px) rotate(-1.2deg);
  }
  50% {
    transform: translateY(-8px) rotate(0deg);
  }
  75% {
    transform: translateY(-5px) rotate(1.2deg);
  }
}
/* Navbar logo — taller, fills the bar height, with breathing room from wordmark */
#navbar .logo-real.nav-logo img {
  height: 72px;
}
#navbar .nav-logo-wrap {
  gap: 1.15rem;
}
@media (max-width: 768px) {
  #navbar .logo-real.nav-logo img {
    height: 56px;
  }
  #navbar .nav-logo-wrap {
    gap: 0.9rem;
  }
}
/* Footer/small logo contexts reset float */
footer .logo-real img,
.map-card-logo img {
  height: 40px !important;
  animation: none;
}

/* Address card — big dominant logo floats beside the info (fits inside 420px map) */
.map-address-card {
  max-width: 460px;
  width: calc(100% - 48px);
}
.map-card-inner {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.1rem;
  align-items: center;
}
.map-card-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: visible;
}
.map-card-hero-logo {
  width: 100%;
  max-width: 150px;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.6))
    drop-shadow(0 0 16px rgba(245, 232, 0, 0.15));
  animation: logoFloat 5s ease-in-out infinite;
}
.map-card-info {
  min-width: 0;
}
@media (max-width: 640px) {
  .map-card-inner {
    grid-template-columns: 110px 1fr;
    gap: 0.85rem;
  }
  .map-card-hero-logo {
    max-width: 110px;
  }
  .map-address-card {
    padding: 1rem;
  }
}
/* Below-fold lazy render — saves ~30ms initial layout/style work on slow devices.
     Per lessons-core line 122: skip parallax/ScrollTrigger sections.
     Safe targets: footer, contact (#contact), areas (#areas), reviews (#reviews). */
footer,
#contact,
#areas {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

/* Map CTA buttons — solid white bg + black text so they're readable on the light Google Maps tiles */
.map-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  color: #0a0a0a;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(10, 10, 10, 0.12);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.18),
    0 1px 3px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
  text-decoration: none;
}
.map-cta-btn:hover {
  background: #4fd923;
  border-color: #0a0a0a;
  color: #0a0a0a;
  transform: translateY(-1px);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.25),
    0 2px 4px rgba(0, 0, 0, 0.1);
}
.map-cta-btn .material-symbols-outlined {
  color: #0a0a0a;
}
/* Legacy badge (footer fallback) */
.logo-badge {
  height: 60px;
  width: 60px;
  border-radius: 14px;
  overflow: hidden;
  background: #050b14;
  border: 2px solid rgba(232, 197, 71, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(250, 250, 245, 0.06);
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.logo-badge:hover {
  transform: rotate(-3deg) scale(1.05);
  border-color: #e8c547;
}
.logo-badge img {
  width: 140%;
  height: 140%;
  object-fit: cover;
  object-position: center;
}
.logo-wordmark {
  line-height: 1;
}
.logo-wordmark .a {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: #fafaf5;
  display: block;
}
.logo-wordmark .b {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: #e8c547;
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}
.logo-wordmark .logo-suffix {
  display: inline-block;
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #4fd923;
  margin-left: 0.18em;
  vertical-align: 0.18em;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .logo-wordmark .a {
    font-size: 1.15rem;
  }
  .logo-wordmark .b {
    font-size: 0.58rem;
  }
  .logo-wordmark .logo-suffix {
    font-size: 0.6em;
  }
}

/* Noise/grain texture overlay */
.noise-bg {
  position: relative;
}
.noise-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0.05 0 0 0 0 0.11 0 0 0 0 0.16 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
  mix-blend-mode: multiply;
}
.noise-bg > * {
  position: relative;
  z-index: 1;
}

/* Ambient color mesh — behind sections */
.mesh-bg::after {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(13, 27, 42, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(107, 114, 128, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(232, 197, 71, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 0;
}
.mesh-bg > * {
  position: relative;
  z-index: 1;
}

.nav-link {
  position: relative;
  transition: color 0.3s;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #e8c547;
  transition: width 0.3s;
}
.nav-link:hover::after {
  width: 100%;
}

/* Social icons */
.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(250, 250, 245, 0.08);
  border: 1px solid rgba(250, 250, 245, 0.12);
  transition: all 0.3s;
  position: relative;
  z-index: 2;
}
.social-link:hover {
  background: #e8c547;
  color: #050b14;
  transform: translateY(-4px);
}
.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Marquee — Chip-style premium tags */
.marquee-wrap {
  background: linear-gradient(90deg, #0a0a0a 0%, #111111 50%, #0a0a0a 100%);
  border-top: 1px solid rgba(245, 232, 0, 0.15);
  border-bottom: 1px solid rgba(245, 232, 0, 0.15);
  position: relative;
  overflow: hidden;
}
.marquee-wrap::before,
.marquee-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, #0a0a0a 0%, transparent 100%);
}
.marquee-wrap::after {
  right: 0;
  background: linear-gradient(270deg, #0a0a0a 0%, transparent 100%);
}
.marquee {
  display: flex;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: scroll 42s linear infinite;
  white-space: nowrap;
  align-items: center;
}
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.1rem;
  margin: 0 0.45rem;
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: clamp(0.78rem, 0.85vw, 0.92rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fafaf5;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 232, 0, 0.28);
  transition:
    background 0.3s,
    border-color 0.3s,
    transform 0.3s;
  flex-shrink: 0;
}
.marquee-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f5e800;
  box-shadow: 0 0 10px rgba(245, 232, 0, 0.65);
}
.marquee-chip.lime {
  border-color: rgba(79, 217, 35, 0.35);
}
.marquee-chip.lime::before {
  background: #4fd923;
  box-shadow: 0 0 10px rgba(79, 217, 35, 0.65);
}
.marquee-chip.emergency {
  background: linear-gradient(
    90deg,
    rgba(245, 232, 0, 0.14),
    rgba(79, 217, 35, 0.1)
  );
  border-color: rgba(245, 232, 0, 0.5);
  color: #ffffff;
}
.marquee-chip.emergency::before {
  background: #f97316;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.72);
  animation: pulseRed 1.6s ease-in-out infinite;
}
@keyframes pulseRed {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}
.marquee-sep {
  color: rgba(245, 232, 0, 0.32);
  font-weight: 300;
  flex-shrink: 0;
  font-size: 1.1rem;
  padding: 0 0.15rem;
  user-select: none;
}

/* Reveal animations - hidden initially */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
}
.fade-in {
  opacity: 0;
}

/* ═══ INTRO — Daniel's Story with ADE brand (image-free, colour + cards) ═══ */
.intro-section {
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(245, 232, 0, 0.12) 0%,
      transparent 48%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(79, 217, 35, 0.1) 0%,
      transparent 48%
    ),
    linear-gradient(180deg, #fafaf5 0%, #ededea 100%);
  color: #0a0a0a;
}
.intro-bg,
.intro-grain {
  display: none !important;
}
.intro-card {
  position: relative;
  padding: 1.75rem 1.75rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(10, 10, 10, 0.06);
  box-shadow: 0 14px 44px rgba(10, 10, 10, 0.06);
  overflow: hidden;
  min-width: 0;
}
/* Fluid H2 — scales from small mobile to desktop without overflow */
.intro-title-fluid {
  font-size: clamp(1.55rem, 6.5vw, 3.75rem);
}
@media (max-width: 640px) {
  .intro-card {
    padding: 1.15rem 1rem;
  }
  .intro-title br {
    display: none;
  }
}
.intro-stats-card {
  position: relative;
  padding: 1.5rem 2.25rem;
  border-radius: 18px;
  background: #0a0a0a;
  color: #fafaf5;
  border: 1px solid rgba(245, 232, 0, 0.3);
  box-shadow: 0 18px 50px rgba(10, 10, 10, 0.18);
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  gap: 1rem 2.5rem;
}
@media (min-width: 1200px) {
  .intro-stats-card {
    gap: 1rem 3.5rem;
    padding: 1.75rem 3rem;
  }
}
/* Desktop: .stat-track is layout-invisible so stat-items remain direct flex children; duplicates hidden */
.stat-track {
  display: contents;
}
.stat-item.stat-dup {
  display: none;
}

@media (max-width: 640px) {
  /* Stats become an auto-scrolling pill marquee — no manual swipe, continuous motion */
  .intro-stats-card {
    display: block;
    padding: 0.5rem 0;
    background: transparent;
    border: none;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 6%,
      #000 94%,
      transparent 100%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 6%,
      #000 94%,
      transparent 100%
    );
  }
  .intro-stats-card .stat-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    width: max-content;
    animation: statsMarquee 28s linear infinite;
    will-change: transform;
  }
  .intro-stats-card .stat-item {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.95rem;
    background: #0a0a0a;
    border: 1px solid rgba(245, 232, 0, 0.28);
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  }
  .intro-stats-card .stat-item.stat-dup {
    display: inline-flex;
  }
  .intro-stats-card .stat-num {
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-style: normal !important;
    font-size: 0.92rem !important;
    font-weight: 800;
    line-height: 1;
  }
  .intro-stats-card .stat-label {
    margin-top: 0 !important;
    font-size: 0.58rem !important;
    letter-spacing: 0.14em !important;
    white-space: nowrap;
  }
  .intro-stats-card .stat-animated::after {
    display: none;
  }
}
@keyframes statsMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .intro-stats-card .stat-track {
    animation: none !important;
  }
}
.intro-stats-card .stat-num {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  background: linear-gradient(
    135deg,
    #f5e800 0%,
    #ffd700 45%,
    #4fd923 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  filter: drop-shadow(0 2px 8px rgba(245, 232, 0, 0.35));
  font-weight: 800;
}
.intro-stats-card .stat-label {
  color: rgba(250, 250, 245, 0.58) !important;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  text-transform: uppercase;
}
.intro-stats-card .stat-animated::after {
  background: linear-gradient(90deg, #f5e800, #4fd923);
  opacity: 0.7;
}
.intro-stats-card .stat-animated:hover .stat-num {
  filter: drop-shadow(0 3px 12px rgba(79, 217, 35, 0.55));
}
.intro-title,
.intro-body strong {
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}
.intro-body {
  color: #0a0a0a;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.6);
}
.intro-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0.04 0 0 0 0 0.04 0 0 0 0 0.04 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.5;
  mix-blend-mode: multiply;
  z-index: 0;
  pointer-events: none;
}
.intro-eyebrow {
  color: #2fa50a !important;
}
.intro-title {
  color: #0a0a0a;
  letter-spacing: -0.025em;
}
.intro-body {
  color: #1a1a1a;
}
.intro-body strong {
  font-weight: 700;
}

/* WCAG AA fix — highlighter effect for brand colours on light bg */
.intro-body strong.text-accent,
.intro-body .text-accent {
  background: rgba(245, 232, 0, 0.55);
  color: #0a0a0a !important;
  padding: 0.05em 0.3em;
  border-radius: 3px;
  font-weight: 700;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.intro-body strong.text-brand-lime,
.intro-body .text-brand-lime {
  background: rgba(79, 217, 35, 0.42);
  color: #0a0a0a !important;
  padding: 0.05em 0.3em;
  border-radius: 3px;
  font-weight: 700;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
/* Large H2 brand words — darken to accessible variants (highlighter would look bulky at 60px) */
.intro-title .text-accent {
  color: #7a6e00 !important;
}
.intro-title .text-brand-lime {
  color: #1f7a0a !important;
}
/* Intro eyebrow dark green (WCAG AA) */
.intro-eyebrow {
  color: #1a6b05 !important;
}
/* Promises-card decorative icons — darker variant to pass WCAG on cream bg */
.review-inner span.material-symbols-outlined.text-accent {
  color: #6e6400 !important;
}

/* Animated stats with 3D feel */
.stat-animated {
  position: relative;
  padding: 0.5rem 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.stat-animated .stat-num {
  position: relative;
  display: inline-block;
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(245, 232, 0, 0.35))
    drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
  transition:
    transform 0.4s,
    filter 0.4s;
}
.stat-animated:hover .stat-num {
  transform: translateY(-3px) scale(1.05);
  filter: drop-shadow(0 3px 0 rgba(79, 217, 35, 0.6))
    drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
}
.stat-animated::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #f5e800, #4fd923);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.stat-animated:hover::after {
  width: 100%;
}

/* ═══ WHY ADE — 4 pillars grid ═══ */
.why-bg-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 500px;
  background:
    radial-gradient(
      ellipse at center,
      rgba(245, 232, 0, 0.12) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 30% 50%,
      rgba(79, 217, 35, 0.08) 0%,
      transparent 60%
    );
  pointer-events: none;
}
.pillar-card {
  position: relative;
  padding: 2.25rem 1.75rem 2rem;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  border: 1px solid rgba(245, 232, 0, 0.14);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.5s,
    background 0.5s,
    box-shadow 0.5s;
  transform-style: preserve-3d;
  overflow: hidden;
  min-height: 240px;
  cursor: pointer;
}
.pillar-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 0%),
    rgba(245, 232, 0, 0.2) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.pillar-card:hover {
  transform: translateY(-8px) perspective(800px) rotateX(-3deg);
  border-color: rgba(245, 232, 0, 0.55);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(245, 232, 0, 0.03) 100%
  );
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(245, 232, 0, 0.2);
}
.pillar-card:hover::before {
  opacity: 1;
}
.pillar-num {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 3rem;
  font-weight: 500;
  color: rgba(245, 232, 0, 0.18);
  line-height: 1;
  transition:
    color 0.5s,
    transform 0.5s;
  z-index: 2;
}
.pillar-card:hover .pillar-num {
  color: rgba(245, 232, 0, 0.8);
  transform: scale(1.08) rotate(-4deg);
}
.pillar-ic {
  color: #f5e800;
  font-size: 2.5rem !important;
  margin-bottom: 1rem;
  display: inline-block;
  filter: drop-shadow(0 2px 8px rgba(245, 232, 0, 0.35));
  transition:
    transform 0.5s,
    filter 0.5s;
  position: relative;
  z-index: 2;
}
.pillar-card:hover .pillar-ic {
  transform: rotate(-8deg) scale(1.1);
  filter: drop-shadow(0 4px 16px rgba(245, 232, 0, 0.7));
}

/* Bento variants — each pillar gets a distinct personality */
.pillar-card--hero {
  background:
    linear-gradient(
      135deg,
      rgba(245, 232, 0, 0.1) 0%,
      rgba(79, 217, 35, 0.05) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04) 0%,
      rgba(255, 255, 255, 0.01) 100%
    );
  border-color: rgba(245, 232, 0, 0.32);
}
.pillar-card--hero .pillar-num {
  font-size: 6rem;
  top: -0.5rem;
  right: 0.9rem;
  color: rgba(245, 232, 0, 0.12);
  font-weight: 300;
}

.pillar-card--lime {
  border-color: rgba(79, 217, 35, 0.3);
}
.pillar-card--lime .pillar-ic {
  color: #4fd923;
  filter: drop-shadow(0 2px 8px rgba(79, 217, 35, 0.4));
}
.pillar-card--lime .pillar-num {
  color: rgba(79, 217, 35, 0.22);
}
.pillar-card--lime:hover {
  border-color: rgba(79, 217, 35, 0.6);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(79, 217, 35, 0.28);
}
.pillar-card--lime:hover .pillar-num {
  color: rgba(79, 217, 35, 0.85);
}
.pillar-card--lime:hover .pillar-ic {
  filter: drop-shadow(0 4px 16px rgba(79, 217, 35, 0.75));
}
.pillar-card--lime::before {
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 0%),
    rgba(79, 217, 35, 0.22) 0%,
    transparent 60%
  );
}

.pillar-card--live {
  background:
    linear-gradient(
      135deg,
      rgba(249, 115, 22, 0.11) 0%,
      rgba(245, 232, 0, 0.06) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04) 0%,
      rgba(255, 255, 255, 0.01) 100%
    );
  border-color: rgba(249, 115, 22, 0.32);
}
.pillar-card--live .pillar-ic {
  color: #f97316;
  filter: drop-shadow(0 2px 8px rgba(249, 115, 22, 0.45));
}
.pillar-card--live .pillar-num {
  color: rgba(249, 115, 22, 0.2);
}
.pillar-card--live::before {
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 0%),
    rgba(249, 115, 22, 0.22) 0%,
    transparent 60%
  );
}
.pillar-card--live .live-dot {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f97316;
  z-index: 2;
}
.pillar-card--live .live-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f97316;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.78);
  animation: pulseRed 1.6s ease-in-out infinite;
}

.pillar-card--mega {
  background:
    linear-gradient(
      135deg,
      rgba(245, 232, 0, 0.15) 0%,
      rgba(245, 232, 0, 0.02) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04) 0%,
      rgba(255, 255, 255, 0.01) 100%
    );
  border-color: rgba(245, 232, 0, 0.38);
  overflow: hidden;
}
.pillar-card--mega .mega-num {
  position: absolute;
  bottom: -40px;
  right: -20px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 900;
  font-size: 12rem;
  line-height: 0.85;
  color: rgba(245, 232, 0, 0.05);
  letter-spacing: -0.06em;
  pointer-events: none;
  user-select: none;
  transition: color 0.5s;
}
.pillar-card--mega .pillar-num {
  display: none;
}
.pillar-card--mega:hover .mega-num {
  color: rgba(245, 232, 0, 0.11);
}
.pillar-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
  color: #fff;
}
.pillar-text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}

/* ═══ Gallery — editorial cards with persistent chips + hover reveal ═══ */
/* 2026-04-25 v3: rotating conic-gradient border (matches "Owner Answers" card).
     Padding 2px reserves border ring; img + overlays fill the inner area. */
/* @property --gal-angle moved to top of <style> block */
@keyframes galleryBorderRotate {
  from {
    --gal-angle: 0deg;
  }
  to {
    --gal-angle: 360deg;
  }
}
.gallery-item {
  overflow: hidden;
  border-radius: 16px;
  padding: 2px;
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.6s;
  position: relative;
  background: conic-gradient(
    from var(--gal-angle, 0deg),
    #0a0a0a 0deg,
    #f5e800 90deg,
    #4fd923 180deg,
    #0a0a0a 270deg,
    #f5e800 360deg
  );
  /* R16 perf: rotate slower (16s vs 8s) — half the GPU work per second on PC.
       Still visible motion, just calmer. */
  animation: galleryBorderRotate 16s linear infinite;
  cursor: pointer;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
.gallery-item:nth-child(2n) {
  animation-delay: -4s;
}
.gallery-item:nth-child(3n) {
  animation-delay: -8s;
}
.gallery-item:nth-child(4n) {
  animation-delay: -12s;
}
.gallery-item:hover {
  animation-duration: 6s;
}

/* R20: gallery CTA card */
.gallery-cta {
  text-decoration: none;
  color: inherit;
}
.gallery-cta-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background: linear-gradient(155deg, #0a0a0a 0%, #1a1410 60%, #0a0a0a 100%);
  color: #fafaf5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.1rem 1.15rem;
  overflow: hidden;
}
.gallery-cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 80% 18%,
      rgba(245, 232, 0, 0.18),
      transparent 55%
    ),
    radial-gradient(circle at 18% 82%, rgba(79, 217, 35, 0.14), transparent 55%);
  pointer-events: none;
}
.gallery-cta-ic {
  font-size: 1.8rem !important;
  color: #f5e800;
  z-index: 1;
}
.gallery-cta-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.15;
  z-index: 1;
}
.gallery-cta-sub {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(250, 250, 245, 0.72);
  z-index: 1;
}
.gallery-cta-arrow {
  align-self: flex-end;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #4fd923;
  color: #0a0a0a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.32s;
  z-index: 1;
}
.gallery-cta-arrow .material-symbols-outlined {
  font-size: 1.2rem !important;
  font-weight: 700;
}
.gallery-cta:hover .gallery-cta-arrow {
  transform: translate(3px, -3px) scale(1.06);
  background: #f5e800;
}
@media (max-width: 768px) {
  .gallery-cta-inner {
    padding: 0.85rem 0.9rem;
  }
  .gallery-cta-ic {
    font-size: 1.4rem !important;
  }
  .gallery-cta-title {
    font-size: 0.92rem;
  }
  .gallery-cta-sub {
    font-size: 0.62rem;
  }
  .gallery-cta-arrow {
    width: 32px;
    height: 32px;
  }
}

/* R20 v3 (Tariq 2026-04-27 evening): gallery description — outlined typography
     with WHITE stroke halo. Larger text. No bg/frame. */
.gallery-desc-frame {
  display: inline-block;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #1a1410;
  font-size: 1.18rem;
  line-height: 1.55;
  font-weight: 500;
  -webkit-text-stroke: 0.5px #ffffff;
  text-shadow:
    0 1px 3px rgba(255, 255, 255, 0.85),
    0 0 1px rgba(255, 255, 255, 1);
  paint-order: stroke fill;
}
@media (max-width: 768px) {
  .gallery-desc-frame {
    font-size: 1.04rem;
  }
}
/* Browsers without @property registration (Safari < 16.4) keep the conic-gradient
     but render it static at --gal-angle's initial-value (0deg) — acceptable graceful
     degradation. No JS / @supports gymnastics needed. */
@media (prefers-reduced-motion: reduce) {
  .gallery-item {
    animation: none;
  }
}
/* Hover overlay lives on .gal-img-wrap (image container) */
.gal-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.18) 40%,
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.45s;
  z-index: 1;
  pointer-events: none;
}
/* 2026-04-25 (user request, evening): keep tag-chip hidden but restore the floating ADE
     logo badge on each thumbnail (top-left). Lightbox interior logo removed separately. */
.gallery-item .tag-chip {
  display: none !important;
}
/* R11: floating ADE logo badge removed from gallery thumbnails (Tariq request — "yellow ball on hover").
     The logo was a yellow ::before pseudo on each gallery-item; removal confirmed 2026-04-26. */

/* R14 (2026-04-26 Tariq evening): three layers per gallery card —
     1. Floating ADE logo badge (top-left, overlay on image)
     2. Keyword chip inside image (data-chip, e.g. ROOFING) — original yellow tag-chip styling
     3. Meta strip OUTSIDE image (location · date · duration) — below the image */

/* Layer 1: floating ADE logo (was R11-removed; restored R14) */
.gallery-item::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  width: 56px;
  height: 56px;
  background: url("/brand_assets/logo-transparent.png") center/contain no-repeat;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.55))
    drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
  z-index: 4;
  pointer-events: none;
  opacity: 0.96;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-item:hover::before {
  transform: scale(1.06) rotate(-3deg);
}
@media (max-width: 640px) {
  .gallery-item::before {
    width: 44px;
    height: 44px;
    top: 5px;
    left: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-item:hover::before {
    transform: none;
  }
}
/* Override R11 hide-rule */
.gallery-item .tag-chip {
  display: inline-flex !important;
}

/* R16: keyword chip removed from grid. R19 (Tariq 2026-04-27): "View" peel restored
     to grid corner — clearer affordance that the card is clickable. Defined in detail
     below at line ~2280. */
/* R15 (2026-04-26 Tariq evening fix): meta chips back INSIDE image as text overlay (R12 style).
     Transparent bg, text-shadow for legibility. Keyword chip + meta chips both float over image. */
.gallery-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.32rem 0.55rem;
  padding: 1.4rem 0.85rem 0.7rem 0.85rem;
  background: none;
  z-index: 3;
  pointer-events: none;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.gallery-meta__chip {
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: transparent;
  color: #fafaf5;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 0;
  white-space: nowrap;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.95),
    0 0 8px rgba(0, 0, 0, 0.7);
}
.gallery-meta__chip + .gallery-meta__chip::before {
  content: "·";
  margin-right: 0.55rem;
  color: rgba(245, 232, 0, 0.85);
  font-weight: 900;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}
.gallery-meta__chip--loc {
  color: #4fd923;
}
.gallery-meta__chip--dur {
  color: #f5e800;
}
@media (max-width: 768px) {
  .gallery-meta {
    padding: 1.1rem 0.6rem 0.5rem 0.6rem;
    gap: 0.18rem 0.4rem;
  }
  .gallery-meta__chip {
    font-size: 0.58rem;
    letter-spacing: 0.04em;
  }
  .gallery-meta__chip + .gallery-meta__chip::before {
    margin-right: 0.4rem;
  }
}

/* "View" peel — slides in from bottom-right corner on hover (desktop) or always
     visible at bottom-right on touch. Acts as a clear affordance for the lightbox. */
.gallery-item .gallery-view {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.32rem 0.6rem 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(245, 232, 0, 0.95);
  color: #0a0a0a;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transform: translate(8px, -4px) scale(0.92);
  transition:
    opacity 0.32s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 6px 18px rgba(245, 232, 0, 0.25);
}
/* 2026-04-25 v3 (user request): arrow glyph removed — "View" text only. */
.gallery-item .gallery-view::after {
  content: none;
}
.gallery-item:hover .gallery-view {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}
@media (hover: none) {
  .gallery-item .gallery-view {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

.gallery-item--unused-tag-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 232, 0, 0.35);
  color: #f5e800;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 3;
  transition:
    transform 0.4s,
    background 0.4s;
}
.gallery-item .tag-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f5e800;
  box-shadow: 0 0 6px rgba(245, 232, 0, 0.7);
}
.gallery-item .tag-chip.lime {
  color: #4fd923;
  border-color: rgba(79, 217, 35, 0.35);
}
.gallery-item .tag-chip.lime::before {
  background: #4fd923;
  box-shadow: 0 0 6px rgba(79, 217, 35, 0.7);
}
.gallery-item .tag-chip.featured {
  background: linear-gradient(
    90deg,
    rgba(245, 232, 0, 0.95),
    rgba(79, 217, 35, 0.95)
  );
  color: #0a0a0a;
  border-color: transparent;
}
.gallery-item .tag-chip.featured::before {
  background: #0a0a0a;
  box-shadow: none;
}
/* .gal-img-wrap contains img + gallery-view + gallery-meta + hover overlays */
.gal-img-wrap {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border-radius: 14px;
}

/* Lightbox image caption overlay — sits inside the image at the bottom */
.lightbox-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.75rem 1.25rem;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.55) 70%,
    transparent 100%
  );
  color: #fafaf5;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.45;
  pointer-events: none;
  z-index: 4;
  border-radius: 0 0 0 0;
}
.lightbox-img-caption:empty {
  display: none;
}
/* (gallery-peek removed per Daniel's request 2026-04-21) */
.gallery-item:hover .gal-img-wrap::after {
  opacity: 0.55;
}
.gallery-item:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 28px 50px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(245, 232, 0, 0.18);
}
.gallery-item:hover .tag-chip {
  transform: translateY(-2px) scale(1.04);
  background: rgba(10, 10, 10, 0.85);
}
/* Mobile / touch — meta ribbon stays visible without hover */
@media (hover: none), (max-width: 768px) {
  .gal-img-wrap::after {
    opacity: 0.45;
  }
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 14px; /* matches inner radius after 2px padding ring */
  transition:
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.6s;
  display: block;
}
/* .gal-img-wrap fills the card above the label bar */
.gal-img-wrap {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.gal-img-wrap img {
  flex: 1 1 auto;
}
.gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(0.85) saturate(1.1);
}

.gallery-item.gallery-full-build img {
  object-position: center 35%;
}
/* Mobile fallback */
@media (hover: none), (max-width: 768px) {
  .gal-img-wrap::after {
    opacity: 0;
  }
  .service-card::after {
    height: 48%;
  }
}

/* ═══ Cookie banner (UK GDPR / PECR) — 2026-04-25 ═══ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: #0a0a0a;
  color: #fafaf5;
  padding: 1rem 1.25rem env(safe-area-inset-bottom, 1rem);
  border-top: 1px solid rgba(245, 232, 0, 0.32);
  box-shadow: 0 -10px 32px rgba(0, 0, 0, 0.4);
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
}
.cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner__text {
  margin: 0;
  flex: 1 1 320px;
  line-height: 1.5;
}
.cookie-banner__text a {
  color: #f5e800;
  text-decoration: underline;
}
.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.cookie-banner__actions button {
  padding: 0.62rem 1.1rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  letter-spacing: 0.02em;
  transition:
    transform 0.2s,
    opacity 0.2s;
}
.cookie-banner__actions button:hover {
  transform: translateY(-1px);
}
.cookie-banner__actions [data-cc="reject"] {
  background: rgba(250, 250, 245, 0.12);
  color: #fafaf5;
  border: 1px solid rgba(250, 250, 245, 0.22);
}
.cookie-banner__actions [data-cc="accept"] {
  background: #f5e800;
  color: #0a0a0a;
}

/* ═══ Latest Callouts ticker — Currently on site (2026-04-25) ═══ */
.callouts-ticker {
  background: #0a0a0a;
  color: #fafaf5;
  border-top: 1px solid rgba(245, 232, 0, 0.18);
  border-bottom: 1px solid rgba(245, 232, 0, 0.18);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.85rem;
  overflow: hidden;
}
.callouts-ticker__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.72rem 1.25rem;
}
.callouts-ticker__live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4fd923;
  font-size: 0.7rem;
  flex-shrink: 0;
}
.callouts-ticker__pulse {
  width: 9px;
  height: 9px;
  background: #4fd923;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(79, 217, 35, 0.55);
  animation: callouts-pulse 2.2s infinite;
}
@keyframes callouts-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(79, 217, 35, 0.55);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(79, 217, 35, 0);
  }
}
.callouts-ticker__viewport {
  flex: 1;
  overflow: hidden;
  min-width: 0;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 4%,
    #000 96%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 4%,
    #000 96%,
    transparent 100%
  );
}
.callouts-ticker__list {
  display: inline-flex;
  gap: 2.2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  animation: callouts-scroll 38s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.callouts-ticker__list li {
  color: #d6d3c8;
  letter-spacing: 0.02em;
}
.callouts-ticker__list li strong {
  color: #f5e800;
  font-weight: 700;
  margin-right: 0.4rem;
}
.callouts-ticker__list li em {
  color: #4fd923;
  font-style: normal;
  font-weight: 600;
  margin-left: 0.4rem;
}
@keyframes callouts-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.callouts-ticker:hover .callouts-ticker__list {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .callouts-ticker__list {
    animation: none;
  }
  .callouts-ticker__pulse {
    animation: none;
  }
}
@media (max-width: 640px) {
  .callouts-ticker {
    font-size: 0.78rem;
  }
  .callouts-ticker__inner {
    padding: 0.6rem 0.85rem;
    gap: 0.85rem;
  }
  .callouts-ticker__live {
    font-size: 0.62rem;
  }
}

/* ═══ Mobile sticky CTA — 3-button variant (Call · WhatsApp · Quote) 2026-04-25 ═══ */
.mobile-cta--3col {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 0.45rem !important;
}
.mobile-cta--3col a {
  padding: 0.95rem 0.5rem !important;
  font-size: 0.85rem !important;
  min-height: 48px;
}
@media (max-width: 380px) {
  .mobile-cta--3col a span:not(.material-symbols-outlined) {
    font-size: 0.74rem !important;
  }
}

/* ═══ R11: Mobile CTA dock ═══ */
/* Desktop: invisible (footer CTA row handles it) */
.cta-dock {
  display: none;
}
@media (max-width: 768px) {
  .cta-dock {
    display: block;
    background: #0a0a0a;
    border-radius: 16px 16px 0 0;
    margin: 0;
    padding: 0.75rem 1rem env(safe-area-inset-bottom, 0.75rem);
    /* Matches exactly the height/padding of the floating CTA bar for visual continuity */
  }
  .cta-dock__inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.45rem;
  }
  .cta-dock__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.85rem 0.5rem;
    border-radius: 999px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
  }
  .cta-dock__btn:active {
    transform: scale(0.97);
  }
  .cta-dock__btn:focus-visible {
    outline: 3px solid #fafaf5;
    outline-offset: 2px;
  }
}

/* ═══ Footer — subtle motion ═══ */
/* Change 4: footer is position:relative (Tailwind class) + overflow:hidden.
     footer-motion stays z-index:0; social links raised to z-index:2 so they render above orbs. */
footer {
  position: relative;
  overflow: hidden;
}

/* Performance: content-visibility on safe offscreen sections (no ScrollTrigger pins, no sticky children).
     Skipped: hero, services (pinned), gallery (GSAP anim), why-ade, areas (Vanta), parallax sections. */
footer,
#reviews,
#contact {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}
.footer-motion {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.footer-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.16;
  pointer-events: none;
}
.footer-orb-y {
  width: 420px;
  height: 420px;
  top: -120px;
  left: 10%;
  background: radial-gradient(circle, #f5e800 0%, transparent 70%);
  animation: footerOrbY 22s ease-in-out infinite;
}
.footer-orb-g {
  width: 380px;
  height: 380px;
  bottom: -140px;
  right: 8%;
  background: radial-gradient(circle, #4fd923 0%, transparent 70%);
  animation: footerOrbG 28s ease-in-out infinite;
}
@keyframes footerOrbY {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.14;
  }
  50% {
    transform: translate(60px, 40px) scale(1.12);
    opacity: 0.22;
  }
}
@keyframes footerOrbG {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.12;
  }
  50% {
    transform: translate(-50px, -30px) scale(1.08);
    opacity: 0.18;
  }
}
.footer-spark {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #f5e800;
  box-shadow: 0 0 10px rgba(245, 232, 0, 0.9);
  opacity: 0;
}
.footer-spark-1 {
  top: 30%;
  left: 15%;
  animation: footerSpark 7s ease-in-out 0s infinite;
}
.footer-spark-2 {
  top: 65%;
  left: 55%;
  animation: footerSpark 9s ease-in-out 2.2s infinite;
  background: #4fd923;
  box-shadow: 0 0 10px rgba(79, 217, 35, 0.9);
}
.footer-spark-3 {
  top: 45%;
  right: 20%;
  animation: footerSpark 11s ease-in-out 4.5s infinite;
}
@keyframes footerSpark {
  0%,
  100% {
    opacity: 0;
    transform: translateY(0);
  }
  45%,
  55% {
    opacity: 0.9;
    transform: translateY(-8px);
  }
}
.footer-line-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(245, 232, 0, 0.45) 30%,
    rgba(79, 217, 35, 0.45) 70%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: footerLine 12s linear infinite;
  z-index: 1;
}
@keyframes footerLine {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 200% 50%;
  }
}

/* ═══ Contact section — animated decorations ═══ */
.contact-section-wrap {
  position: relative;
  overflow: hidden;
}
.contact-anim-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.contact-anim-bg::before,
.contact-anim-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}
.contact-anim-bg::before {
  width: 380px;
  height: 380px;
  top: -120px;
  left: -100px;
  background: radial-gradient(circle, #f5e800 0%, transparent 70%);
  animation: contactOrb1 14s ease-in-out infinite;
}
.contact-anim-bg::after {
  width: 420px;
  height: 420px;
  bottom: -150px;
  right: -120px;
  background: radial-gradient(circle, #4fd923 0%, transparent 70%);
  animation: contactOrb2 18s ease-in-out infinite;
}
@keyframes contactOrb1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(80px, 60px) scale(1.15);
  }
}
@keyframes contactOrb2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-60px, -40px) scale(1.1);
  }
}

/* Animated CTA ribbon */
.free-quote-ribbon {
  position: relative;
  display: inline-block;
  padding: 0.35rem 1rem;
  background: linear-gradient(90deg, #f5e800, #4fd923, #f5e800);
  background-size: 200% 100%;
  animation: ribbonShift 3s linear infinite;
  color: #0a0a0a;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 20px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 16px rgba(245, 232, 0, 0.35);
}
@keyframes ribbonShift {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 200% 50%;
  }
}
.free-quote-ribbon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -8px;
  width: 10px;
  height: 10px;
  background: #f5e800;
  border-radius: 50%;
  transform: translateY(-50%);
  animation: emergencyPulse 2s ease-in-out infinite;
}

/* Animated arrow sweep on form submit button */
.btn-primary .arrow-sweep {
  display: inline-block;
  animation: arrowSweep 2s ease-in-out infinite;
}
@keyframes arrowSweep {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px);
  }
}

/* Contact method rows — pulse on hover + hang-bounce scroll-in (R12) */
@keyframes hangBounce {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  35% {
    transform: translateY(-16px);
    opacity: 1;
  }
  55% {
    transform: translateY(8px);
    opacity: 1;
  }
  75% {
    transform: translateY(-4px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.contact-method-row {
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.contact-method-row.hang-in {
  animation: hangBounce 1.1s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}
.contact-method-row.hang-in:nth-of-type(2) {
  animation-delay: 0.12s;
}
.contact-method-row.hang-in:nth-of-type(3) {
  animation-delay: 0.24s;
}
@media (prefers-reduced-motion: reduce) {
  .contact-method-row {
    opacity: 1 !important;
    animation: none !important;
  }
}
.contact-method-row:hover {
  transform: translateX(8px);
}
.contact-method-row:hover .contact-ic {
  animation: emergencyPulse 1.2s ease-in-out infinite;
}

/* Floating scaffold tubes decoration */
.scaffold-tubes {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 140px;
  height: 140px;
  pointer-events: none;
  opacity: 0.12;
  z-index: 1;
  animation: tubesFloat 8s ease-in-out infinite;
}
@keyframes tubesFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* ── Change 5: Photo notice modal ── */
.photo-notice-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 6, 6, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.photo-notice-modal[hidden] {
  display: none;
}
.photo-notice-inner {
  background: #0f0f0f;
  border: 1px solid rgba(245, 232, 0, 0.3);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  color: #fafaf5;
  font-family: "Manrope", sans-serif;
}
.photo-notice-icon {
  font-size: 3rem;
  color: #f5e800;
  display: block;
  margin-bottom: 1rem;
}
.photo-notice-inner h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: #fafaf5;
  margin-bottom: 0.75rem;
}
.photo-notice-inner p {
  color: rgba(250, 250, 245, 0.75);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.photo-notice-btn {
  display: block;
  width: 100%;
  background: #25d366;
  color: #0a0a0a;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  margin-bottom: 0.75rem;
  transition: transform 0.2s;
}
.photo-notice-btn:hover {
  transform: translateY(-2px);
}
.photo-notice-close {
  background: none;
  border: none;
  color: rgba(250, 250, 245, 0.45);
  font-size: 0.85rem;
  cursor: pointer;
  font-family: "Manrope", sans-serif;
  transition: color 0.2s;
}
.photo-notice-close:hover {
  color: #fafaf5;
}

/* ── Change 7: Postcode autocomplete dropdown ── */
.postcode-field-wrap {
  position: relative;
}
.postcode-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  background: #ffffff;
  border: 1.5px solid rgba(13, 27, 42, 0.18);
  border-top: none;
  border-radius: 0 0 10px 10px;
  max-height: 220px;
  overflow-y: auto;
  list-style: none;
  padding: 0;
  margin: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  font-family: "Plus Jakarta Sans", sans-serif;
}
.postcode-dropdown[hidden] {
  display: none;
}
.postcode-dropdown li {
  padding: 0.7rem 1rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: #0a0a0a;
  border-bottom: 1px solid rgba(13, 27, 42, 0.06);
  transition: background 0.15s;
}
.postcode-dropdown li:last-child {
  border-bottom: none;
}
.postcode-dropdown li:hover,
.postcode-dropdown li[aria-selected="true"] {
  background: #f5e800;
  color: #0a0a0a;
}
.postcode-dropdown li .dd-postcode {
  font-weight: 700;
}
.postcode-dropdown li .dd-area {
  font-size: 0.75rem;
  color: rgba(10, 10, 10, 0.5);
  margin-left: 0.5rem;
}

/* ── R11: Mobile CTA — transparent floating, no bg bar (Tariq R11 request) ── */
@media (max-width: 768px) {
  .mobile-cta {
    background: transparent !important;
    border-top: none !important;
    box-shadow: none !important;
    padding: 0.75rem 1rem env(safe-area-inset-bottom, 0.75rem) !important;
  }
  .mobile-cta--3col a {
    border-radius: 999px !important;
    box-shadow:
      0 8px 28px rgba(0, 0, 0, 0.45),
      0 2px 10px rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    transform: translateY(0);
    transition:
      transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.25s,
      opacity 0.4s !important;
  }
  .mobile-cta--3col a:active {
    transform: translateY(2px) scale(0.97) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  }
  /* Docked state — invisible swap so dock buttons take over */
  .mobile-cta.cta-docked {
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* ── Change 8: Footer sparks — bigger + 12 total ── */
.footer-spark {
  width: 4px !important;
  height: 4px !important;
}
@keyframes footerSpark {
  0%,
  100% {
    opacity: 0;
    transform: translateY(0) scale(1);
  }
  40%,
  60% {
    opacity: 1;
    transform: translateY(-12px) scale(1.3);
  }
}
.footer-spark-4 {
  top: 20%;
  left: 35%;
  animation: footerSpark 8s ease-in-out 1s infinite;
}
.footer-spark-5 {
  top: 75%;
  left: 72%;
  animation: footerSpark 6s ease-in-out 3s infinite;
  background: #4fd923;
  box-shadow: 0 0 10px rgba(79, 217, 35, 0.9);
}
.footer-spark-6 {
  top: 50%;
  left: 25%;
  animation: footerSpark 10s ease-in-out 5.5s infinite;
}
.footer-spark-7 {
  top: 85%;
  left: 48%;
  animation: footerSpark 7s ease-in-out 2s infinite;
  background: #4fd923;
  box-shadow: 0 0 10px rgba(79, 217, 35, 0.9);
}
.footer-spark-8 {
  top: 35%;
  right: 35%;
  animation: footerSpark 9s ease-in-out 6s infinite;
}
.footer-spark-9 {
  top: 60%;
  right: 12%;
  animation: footerSpark 8.5s ease-in-out 1.5s infinite;
  background: #4fd923;
  box-shadow: 0 0 10px rgba(79, 217, 35, 0.9);
}
.footer-spark-10 {
  top: 15%;
  left: 62%;
  animation: footerSpark 11s ease-in-out 3.8s infinite;
}
.footer-spark-11 {
  top: 90%;
  left: 8%;
  animation: footerSpark 7.5s ease-in-out 7s infinite;
  background: #4fd923;
  box-shadow: 0 0 10px rgba(79, 217, 35, 0.9);
}
.footer-spark-12 {
  top: 40%;
  right: 55%;
  animation: footerSpark 9.5s ease-in-out 0.8s infinite;
}
/* R13 (2026-04-26 Tariq): triple footer sparks — 12 → 36 (18 yellow + 18 green). */
.footer-spark-13 {
  top: 22%;
  left: 8%;
  animation: footerSpark 7s ease-in-out 0.4s infinite;
}
.footer-spark-14 {
  top: 70%;
  left: 18%;
  animation: footerSpark 9s ease-in-out 2.6s infinite;
  background: #4fd923;
  box-shadow: 0 0 10px rgba(79, 217, 35, 0.9);
}
.footer-spark-15 {
  top: 30%;
  right: 8%;
  animation: footerSpark 11s ease-in-out 4.1s infinite;
}
.footer-spark-16 {
  top: 88%;
  right: 28%;
  animation: footerSpark 8s ease-in-out 1.3s infinite;
  background: #4fd923;
  box-shadow: 0 0 10px rgba(79, 217, 35, 0.9);
}
.footer-spark-17 {
  top: 18%;
  left: 78%;
  animation: footerSpark 7.5s ease-in-out 5.8s infinite;
}
.footer-spark-18 {
  top: 55%;
  left: 5%;
  animation: footerSpark 10s ease-in-out 3.2s infinite;
  background: #4fd923;
  box-shadow: 0 0 10px rgba(79, 217, 35, 0.9);
}
.footer-spark-19 {
  top: 12%;
  left: 28%;
  animation: footerSpark 9.5s ease-in-out 0.9s infinite;
}
.footer-spark-20 {
  top: 80%;
  left: 38%;
  animation: footerSpark 6.5s ease-in-out 4.7s infinite;
  background: #4fd923;
  box-shadow: 0 0 10px rgba(79, 217, 35, 0.9);
}
.footer-spark-21 {
  top: 42%;
  left: 88%;
  animation: footerSpark 8.5s ease-in-out 2.1s infinite;
}
.footer-spark-22 {
  top: 65%;
  left: 62%;
  animation: footerSpark 11.5s ease-in-out 6.2s infinite;
  background: #4fd923;
  box-shadow: 0 0 10px rgba(79, 217, 35, 0.9);
}
.footer-spark-23 {
  top: 28%;
  left: 48%;
  animation: footerSpark 7.8s ease-in-out 1.7s infinite;
}
.footer-spark-24 {
  top: 92%;
  left: 75%;
  animation: footerSpark 9.2s ease-in-out 5.1s infinite;
  background: #4fd923;
  box-shadow: 0 0 10px rgba(79, 217, 35, 0.9);
}
.footer-spark-25 {
  top: 8%;
  right: 42%;
  animation: footerSpark 8.2s ease-in-out 3.6s infinite;
}
.footer-spark-26 {
  top: 58%;
  left: 32%;
  animation: footerSpark 10.5s ease-in-out 0.2s infinite;
  background: #4fd923;
  box-shadow: 0 0 10px rgba(79, 217, 35, 0.9);
}
.footer-spark-27 {
  top: 36%;
  left: 12%;
  animation: footerSpark 7.2s ease-in-out 4.4s infinite;
}
.footer-spark-28 {
  top: 78%;
  right: 18%;
  animation: footerSpark 9.8s ease-in-out 2.9s infinite;
  background: #4fd923;
  box-shadow: 0 0 10px rgba(79, 217, 35, 0.9);
}
.footer-spark-29 {
  top: 25%;
  right: 60%;
  animation: footerSpark 8.7s ease-in-out 6.5s infinite;
}
.footer-spark-30 {
  top: 48%;
  right: 5%;
  animation: footerSpark 7.4s ease-in-out 1.1s infinite;
  background: #4fd923;
  box-shadow: 0 0 10px rgba(79, 217, 35, 0.9);
}
.footer-spark-31 {
  top: 15%;
  left: 48%;
  animation: footerSpark 10.8s ease-in-out 3.3s infinite;
}
.footer-spark-32 {
  top: 72%;
  right: 48%;
  animation: footerSpark 6.9s ease-in-out 0.6s infinite;
  background: #4fd923;
  box-shadow: 0 0 10px rgba(79, 217, 35, 0.9);
}
.footer-spark-33 {
  top: 38%;
  left: 68%;
  animation: footerSpark 9.3s ease-in-out 5.4s infinite;
}
.footer-spark-34 {
  top: 85%;
  left: 28%;
  animation: footerSpark 8.1s ease-in-out 2.4s infinite;
  background: #4fd923;
  box-shadow: 0 0 10px rgba(79, 217, 35, 0.9);
}
.footer-spark-35 {
  top: 52%;
  left: 15%;
  animation: footerSpark 11.2s ease-in-out 4.9s infinite;
}
.footer-spark-36 {
  top: 5%;
  left: 92%;
  animation: footerSpark 7.6s ease-in-out 1.9s infinite;
  background: #4fd923;
  box-shadow: 0 0 10px rgba(79, 217, 35, 0.9);
}

/* R14 (2026-04-26 Tariq evening): footer-cta-row removed — desktop now uses
     the same mobile-cta floating + cta-dock pattern as mobile (see below). */

/* ── R15 (2026-04-26 Tariq evening fix): Desktop = static cta-dock at end of page ONLY.
     No floating CTA on PC. Mobile pattern unchanged. ── */
@media (min-width: 769px) {
  .mobile-cta {
    display: none !important;
  }
  .wa-float {
    display: none !important;
  }
  .cta-dock {
    display: block !important;
    background: #0a0a0a;
    border-radius: 18px 18px 0 0;
    max-width: 720px;
    margin: 0 auto;
    padding: 1rem 1.5rem 1.1rem;
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.35);
  }
  .cta-dock__inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.6rem;
  }
  .cta-dock__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.1rem;
    border-radius: 999px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: 0.92rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    transition:
      transform 0.2s,
      box-shadow 0.2s;
  }
  .cta-dock__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  }
  .cta-dock__btn:active {
    transform: scale(0.97);
  }
  .cta-dock__btn:focus-visible {
    outline: 3px solid #fafaf5;
    outline-offset: 2px;
  }
}

/* ── Change 9: Pause animations off-screen ── */
.anim-paused * {
  animation-play-state: paused !important;
}
section#services .grid,
section.py-24.bg-surface-dim .grid {
  contain: layout style;
}
/* contain:paint would break service-card's preserve-3d; gallery-item gets full containment */
.gallery-item {
  contain: layout style paint;
}
.service-card {
  contain: layout style;
}
.gallery-item {
  animation-duration: 12s;
}
.gallery-item:nth-child(2n) {
  animation-delay: -6s;
}
.anim-paused .gallery-item,
.anim-paused .service-card {
  will-change: auto;
}

/* ═══ content-visibility: auto — extend to footer ═══ */
/* #contact already has it (line ~4255). #areas already has it (line ~2618). */
/* Adding footer — safe per lessons-core L122 (no ScrollTrigger/parallax). */
footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}
