/* css/animations.css — Extended animation library */

/* ─────────────────────────────────────────────────
   Keyframes
───────────────────────────────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-48px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(48px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-20px) rotate(1.5deg); }
  66%       { transform: translateY(-9px) rotate(-1deg); }
}

@keyframes orb {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.35; }
  30%       { transform: translate(40px, -30px) scale(1.15); opacity: 0.55; }
  65%       { transform: translate(-25px, 20px) scale(0.9); opacity: 0.25; }
}

@keyframes orbAlt {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.2; }
  40%       { transform: translate(-50px, 25px) scale(1.2); opacity: 0.4; }
  75%       { transform: translate(30px, -15px) scale(0.85); opacity: 0.15; }
}

@keyframes rulerGrow {
  from { width: 0; opacity: 0; }
  to   { width: 40px; opacity: 1; }
}

@keyframes heroLabel {
  from { opacity: 0; transform: translateY(10px); letter-spacing: 0.2em; }
  to   { opacity: 1; transform: translateY(0);    letter-spacing: 0.12em; }
}

@keyframes heroH1 {
  from { opacity: 0; transform: translateY(32px) skewY(1deg); }
  to   { opacity: 1; transform: translateY(0) skewY(0deg); }
}

@keyframes heroSub {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulseCta {
  0%, 100% { box-shadow: 0 0 0 0 rgba(13,43,85,0); }
  50%       { box-shadow: 0 0 0 10px rgba(13,43,85,0); }
}

@keyframes accentSlide {
  from { transform: rotate(-12deg) scaleX(0); transform-origin: left center; }
  to   { transform: rotate(-12deg) scaleX(1); transform-origin: left center; }
}

@keyframes overlaySlideUp {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 0.92; transform: translateY(0); }
}

@keyframes counterPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ─────────────────────────────────────────────────
   Hero entrance (above-fold, CSS-driven)
───────────────────────────────────────────────── */

.hero__eyebrow {
  animation: heroLabel 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.hero h1 {
  animation: heroH1 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.hero__sub {
  animation: heroSub 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

.hero .btn {
  animation: heroSub 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.72s both;
}

.hero__accent {
  animation: accentSlide 1s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both,
             float 9s ease-in-out 2s infinite;
}

/* ─────────────────────────────────────────────────
   Floating orbs (hero background)
───────────────────────────────────────────────── */

.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  right: -100px;
  top: 10%;
  background: radial-gradient(circle, rgba(13,43,85,0.10) 0%, transparent 70%);
  animation: orb 12s ease-in-out infinite;
}

.hero__orb--2 {
  width: 320px;
  height: 320px;
  right: 20%;
  bottom: 15%;
  background: radial-gradient(circle, rgba(13,43,85,0.07) 0%, transparent 70%);
  animation: orbAlt 16s ease-in-out infinite;
}

.hero__orb--3 {
  width: 200px;
  height: 200px;
  left: 55%;
  top: 25%;
  background: radial-gradient(circle, rgba(13,43,85,0.05) 0%, transparent 70%);
  animation: orb 10s ease-in-out 3s infinite;
}

/* ─────────────────────────────────────────────────
   Scroll-triggered variant classes
───────────────────────────────────────────────── */

.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-left.visible { opacity: 1; transform: translateX(0); }

.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-right.visible { opacity: 1; transform: translateX(0); }

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.scale-in.visible { opacity: 1; transform: scale(1); }

/* ─────────────────────────────────────────────────
   Animated rule (replaces static .rule)
───────────────────────────────────────────────── */

.rule.visible {
  animation: rulerGrow 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ─────────────────────────────────────────────────
   Counter pop — fires via JS class
───────────────────────────────────────────────── */

.stats__number.popped {
  animation: counterPop 0.3s ease-out;
}

/* ─────────────────────────────────────────────────
   Project overlay — slide up instead of fade
───────────────────────────────────────────────── */

.project-item__overlay {
  transform: translateY(100%);
  opacity: 1 !important;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-item:hover .project-item__overlay {
  transform: translateY(0);
}

/* ─────────────────────────────────────────────────
   Card lift — applies to both service card types
───────────────────────────────────────────────── */

.service-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(13,43,85,0.10);
}

.service-card-full {
  transition: transform 0.25s ease,
              box-shadow 0.25s ease,
              background var(--transition-fast),
              border-color var(--transition-fast);
}
.service-card-full:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(13,43,85,0.09);
}

/* ─────────────────────────────────────────────────
   Stat number highlight bar
───────────────────────────────────────────────── */

.stats__item {
  position: relative;
  padding-top: var(--space-24);
}

.stats__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-navy);
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.stats__item.visible::before {
  width: 40px;
}

/* ─────────────────────────────────────────────────
   Nav link hover underline
───────────────────────────────────────────────── */

.nav__links a {
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-navy);
  transition: width 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav__links a:hover::after { width: 100%; }

/* ─────────────────────────────────────────────────
   Button — arrow nudge on hover
───────────────────────────────────────────────── */

.btn {
  overflow: hidden;
  position: relative;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.btn:hover::after { opacity: 1; }

/* ─────────────────────────────────────────────────
   Painter Mascot
───────────────────────────────────────────────── */

.hero__painter {
  position: absolute;
  right: 3%;
  bottom: 4%;
  width: 180px;
  pointer-events: none;
  z-index: 1;
  animation: painterFloat 3.5s ease-in-out infinite;
  filter: drop-shadow(0 14px 28px rgba(13, 43, 85, 0.18));
}

.painter__arm {
  transform-origin: 108px 120px;
  animation: painterRoll 1.8s ease-in-out infinite alternate;
}

@keyframes painterFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

@keyframes painterRoll {
  from { transform: rotate(-12deg); }
  to   { transform: rotate(10deg); }
}

@media (max-width: 768px) {
  .hero__painter { display: none; }
}

/* ─────────────────────────────────────────────────
   Paint Roller Heading Reveal
───────────────────────────────────────────────── */

.paint-reveal {
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1) var(--anim-delay, 0ms),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) var(--anim-delay, 0ms);
}

.paint-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.paint-reveal::before {
  content: '';
  position: absolute;
  top: -15%; left: 0;
  width: 100%; height: 130%;
  background: var(--color-navy);
  opacity: 0.8;
  transform: translate(-105%, -50%);
  pointer-events: none;
  z-index: 1;
}

.paint-reveal.visible::before {
  animation: paintRollerPass 0.7s cubic-bezier(0.77, 0, 0.175, 1) calc(var(--anim-delay, 0ms) + 100ms) forwards;
}

@keyframes paintRollerPass {
  0%   { transform: translateX(-101%); }
  45%  { transform: translateX(0%); }
  55%  { transform: translateX(0%); }
  100% { transform: translateX(101%); }
}

/* ─────────────────────────────────────────────────
   Problems Painted Away — word swap animation
───────────────────────────────────────────────── */

.paint-word {
  position: relative;
  overflow: hidden;
  align-self: flex-start;
  width: clamp(220px, 38vw, 390px);
  max-width: 100%;
  height: clamp(3.2rem, 7vw, 5rem);
  isolation: isolate;
}

.paint-word::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 76%;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), transparent 28%),
    var(--color-navy);
  box-shadow:
    inset 0 3px 8px rgba(255,255,255,0.16),
    inset 0 -6px 12px rgba(0,0,0,0.16);
  transform: translateX(-101%);
  z-index: 2;
  will-change: transform;
}

.paint-word.visible::before {
  animation: paintSweepWord 4.2s cubic-bezier(0.54, 0, 0.2, 1) var(--anim-delay, 0ms) forwards;
}

@keyframes paintSweepWord {
  0%   { transform: translate(-105%, -50%); }
  56%  { transform: translate(0%, -50%); }
  72%  { transform: translate(0%, -50%); }
  100% { transform: translate(105%, -50%); }
}

.word--before,
.word--after {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 1;
  line-height: 1;
}

.word--before { color: #c0392b; }

.word--after {
  color: var(--color-navy);
  opacity: 0;
}

.paint-word.visible .word--before {
  opacity: 0;
  transition: opacity 0s var(--word-reveal-delay, 1200ms);
}

.paint-word.visible .word--after {
  opacity: 1;
  transition: opacity 0s var(--word-reveal-delay, 1200ms);
}

/* ─────────────────────────────────────────────────
   Reduced motion — override all animations
───────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────
   Paint Roller SVG — rides on the word sweep
───────────────────────────────────────────────── */

.word-roller {
  position: absolute;
  top: 50%;
  left: -8%;
  width: clamp(70px, 10vw, 96px);
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 4;
  pointer-events: none;
  opacity: 0;
}

.paint-word.visible .word-roller {
  animation: rollerTrack 4.2s cubic-bezier(0.54, 0, 0.2, 1) var(--anim-delay, 0ms) forwards;
}

@keyframes rollerTrack {
  0%   { left: -8%;  opacity: 1; transform: translate(-50%, -50%) rotate(-3deg); }
  56%  { left: 108%; opacity: 1; transform: translate(-50%, -50%) rotate(2deg); }
  68%  { left: 108%; opacity: 1; transform: translate(-50%, -50%) rotate(2deg); }
  74%  { left: 108%; opacity: 0; transform: translate(-50%, -50%) rotate(2deg); }
  100% { left: 108%; opacity: 0; transform: translate(-50%, -50%) rotate(2deg); }
}

.roller-cylinder {
  transform-origin: 28px 24px;
  animation: rollerSpin 0.72s linear infinite;
}

@keyframes rollerSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ─────────────────────────────────────────────────
   Scroll progress bar
───────────────────────────────────────────────── */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 9999;
  background: transparent;
  pointer-events: none;
}

.scroll-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1a6fba 0%, #0d2b55 60%, #3a9fd8 100%);
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(26, 111, 186, 0.6);
}

/* ─────────────────────────────────────────────────
   Rain drops (hero bg) — elegant, subtle
───────────────────────────────────────────────── */

.hero__rain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.raindrop {
  position: absolute;
  width: 1.5px;
  background: linear-gradient(to bottom, transparent, rgba(58, 159, 216, 0.75));
  border-radius: 2px;
  top: -40px;
  transform: rotate(10deg);
  animation: rainFall linear infinite;
}

@keyframes rainFall {
  0%   { top: -40px; opacity: 0; }
  5%   { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 105%; opacity: 0; }
}

/* Water bead hit at bottom */
.rain-bead {
  position: absolute;
  bottom: 0;
  width: 6px;
  height: 3px;
  border-radius: 50%;
  background: rgba(58, 159, 216, 0.45);
  animation: beadFade 0.6s ease-out forwards;
}

@keyframes beadFade {
  from { transform: scale(1); opacity: 0.7; }
  to   { transform: scale(2.5); opacity: 0; }
}

/* ─────────────────────────────────────────────────
   Paint drip decorative border
───────────────────────────────────────────────── */

.paint-drips {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -1px;
}

.paint-drips svg {
  display: block;
  width: 100%;
  height: 48px;
}

/* ─────────────────────────────────────────────────
   Magnetic button base (JS adds inline transform)
───────────────────────────────────────────────── */

.btn {
  will-change: transform;
}

.btn:active {
  transform: scale(0.97) !important;
}

/* ─────────────────────────────────────────────────
   3-D card tilt (JS sets CSS vars)
───────────────────────────────────────────────── */

.service-card,
.service-card-full {
  perspective: 800px;
  transform-style: preserve-3d;
}

.service-card:hover,
.service-card-full:hover {
  transform: perspective(800px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-6px);
  box-shadow: 0 20px 48px rgba(13, 43, 85, 0.14);
}

/* ─────────────────────────────────────────────────
   Stats glow pulse
───────────────────────────────────────────────── */

@keyframes statGlow {
  0%, 100% { text-shadow: 0 0 0px transparent; }
  50%       { text-shadow: 0 0 18px rgba(13, 43, 85, 0.25); }
}

.stats__number.popped {
  animation: counterPop 0.3s ease-out, statGlow 1.2s ease-in-out 0.3s;
}

/* ─────────────────────────────────────────────────
   CTA banner animated gradient
───────────────────────────────────────────────── */

.section--navy.cta-banner {
  background: linear-gradient(135deg, #0d2b55 0%, #1245a8 50%, #0d2b55 100%);
  background-size: 200% 200%;
  animation: ctatShift 8s ease infinite;
}

@keyframes ctatShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ─────────────────────────────────────────────────
   Hero accent — enhanced
───────────────────────────────────────────────── */

.hero__accent {
  background: linear-gradient(90deg, #0d2b55, #1a6fba, #0d2b55);
  background-size: 200%;
  animation: accentSlide 1s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both,
             float 9s ease-in-out 2s infinite,
             accentShimmer 4s linear 2s infinite;
}

@keyframes accentShimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ─────────────────────────────────────────────────
   Page-load curtain wipe (body level)
───────────────────────────────────────────────── */

@keyframes curtainReveal {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}

/* ─────────────────────────────────────────────────
   Before / After Slider
───────────────────────────────────────────────── */

.ba-slider {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  user-select: none;
  cursor: col-resize;
  aspect-ratio: 16 / 9;
  box-shadow: 0 32px 80px rgba(13, 43, 85, 0.22);
}

.ba-after, .ba-before {
  position: absolute;
  inset: 0;
}

.ba-after img, .ba-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

.ba-before {
  clip-path: inset(0 50% 0 0);
}

.ba-label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 7px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 4px;
  pointer-events: none;
}

.ba-label--before {
  left: 18px;
  background: rgba(180, 30, 20, 0.85);
  color: white;
}

.ba-label--after {
  right: 18px;
  background: rgba(13, 43, 85, 0.85);
  color: white;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: col-resize;
  z-index: 10;
  width: 44px;
}

.ba-handle__line {
  flex: 1;
  width: 3px;
  background: white;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
}

.ba-handle__knob {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
  transition: transform 0.2s ease;
}

.ba-handle:hover .ba-handle__knob {
  transform: scale(1.12);
}

/* ─────────────────────────────────────────────────
   Hero liquid text headline
───────────────────────────────────────────────── */

.hero__headline {
  background: linear-gradient(90deg, #0d2b55 0%, #1a6fba 35%, #3a9fd8 50%, #1a6fba 65%, #0d2b55 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroH1 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both,
             liquidFlow 6s ease-in-out 2s infinite;
}

@keyframes liquidFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ─────────────────────────────────────────────────
   Animated service cards — water ripple and paint sweep
───────────────────────────────────────────────── */

.service-card {
  position: relative;
  overflow: hidden;
}

/* Waterproofing — radial water ripple on hover */
.service-card--water::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--rx, 50%) var(--ry, 50%),
    rgba(58, 159, 216, 0.14) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.service-card--water:hover::after { opacity: 1; }

/* Painting — animated brush-sweep shimmer */
.service-card--paint::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(13, 43, 85, 0.05), transparent);
  animation: brushSweep 3.5s ease-in-out 1s infinite;
  pointer-events: none;
}
@keyframes brushSweep {
  0%   { left: -80%; }
  50%  { left: 120%; }
  100% { left: 120%; }
}

/* ─────────────────────────────────────────────────
   Project thumbnail hover — before/after reveal
───────────────────────────────────────────────── */

.project-thumb-wrap {
  position: relative;
  overflow: hidden;
  display: block;
  border: 1px solid rgba(13, 43, 85, 0.1);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(13, 43, 85, 0.08);
  isolation: isolate;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.project-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.4s ease;
  filter: saturate(0.95) contrast(0.98);
  min-height: 240px;
}

.project-thumb-wrap:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 43, 85, 0.22);
  box-shadow: 0 22px 46px rgba(13, 43, 85, 0.13);
}

.project-thumb-wrap:hover img {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.02);
}

.project-thumb__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 43, 85, 0.84) 0%, rgba(13, 43, 85, 0.18) 50%, transparent 76%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.project-thumb-wrap:hover .project-thumb__overlay {
  opacity: 1;
  transform: translateY(0);
}

.project-thumb__overlay span {
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────────
   Shield / Guarantee section
───────────────────────────────────────────────── */

.shield-section { padding-block: var(--space-120); }

.shield-section__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-80);
  align-items: center;
}

.shield-wrap {
  display: flex;
  justify-content: center;
}

.shield-svg {
  width: 160px;
  height: auto;
  filter: drop-shadow(0 12px 36px rgba(26, 111, 186, 0.4));
}

.shield-body {
  animation: shieldPulse 3s ease-in-out infinite;
}

@keyframes shieldPulse {
  0%, 100% { filter: none; }
  50%       { filter: brightness(1.15) drop-shadow(0 0 16px rgba(74, 144, 226, 0.6)); }
}

.shield-tick {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
}
.shield-wrap.visible .shield-tick {
  animation: tickDraw 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}
@keyframes tickDraw {
  to { stroke-dashoffset: 0; }
}

.shield-rain line {
  animation: shieldRain 1.2s linear infinite;
}
.shield-rain line:nth-child(2) { animation-delay: 0.3s; }
.shield-rain line:nth-child(3) { animation-delay: 0.6s; }
.shield-rain line:nth-child(4) { animation-delay: 0.9s; }

@keyframes shieldRain {
  0%   { transform: translateY(-20px); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(40px); opacity: 0; }
}

.shield-text h2 { color: white; margin-bottom: var(--space-16); }
.shield-text__sub { color: rgba(255,255,255,0.7); max-width: 480px; margin-bottom: var(--space-48); }

.shield-stats {
  display: flex;
  gap: var(--space-48);
  margin-bottom: var(--space-48);
}

.shield-stat__number {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  color: white;
  display: block;
  line-height: 1;
  margin-bottom: var(--space-8);
}

.shield-stat__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ─────────────────────────────────────────────────
   Nav logo size
───────────────────────────────────────────────── */

/* Logo heights — kept in sync with nav.css / footer.css */
.nav__logo img { height: 72px !important; width: auto !important; }
.footer__logo img { height: 80px !important; width: auto !important; }

@media (prefers-reduced-motion: reduce) {
  .hero__eyebrow, .hero h1, .hero__sub, .hero .btn,
  .hero__accent, .hero__orb,
  .fade-left, .fade-right, .scale-in,
  .service-card, .service-card-full,
  .project-item__overlay,
  .stats__item::before,
  .hero__painter,
  .painter__arm,
  .paint-reveal,
  .paint-reveal::before,
  .paint-word::before {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .fade-left, .fade-right, .scale-in { opacity: 1; transform: none; }
  .paint-reveal { opacity: 1; transform: none; }
  .word--before { opacity: 0 !important; }
  .word--after  { opacity: 1 !important; }
}
