/* NAHC v8.12.14: Navy-ice atmosphere and independently layered photo motion.
   Only five existing photo backgrounds are animated; text, logos and layouts
   remain static. The new scale-property animation is independent of the
   current transform-based photo drift, so both run at the same time. */

/* The header and footer borrow the deeper blue tone of the countdown section. */
.site-header {
  background:#082e45 !important;
}
.site-header::after {
  background:linear-gradient(90deg,
    rgba(5,34,54,.94) 0%,
    rgba(7,40,62,.90) 50%,
    rgba(5,33,54,.94) 100%) !important;
}
.site-footer {
  background:#082e45 !important;
}
.site-footer::after {
  background:linear-gradient(180deg,
    rgba(5,33,54,.91) 0%,
    rgba(7,39,62,.85) 39%,
    rgba(5,33,54,.93) 74%,
    #082e45 100%) !important;
}

/* Maintain existing ice texture artwork and blending; make scratches visible. */
.header-ice-texture { opacity:.24 !important; }
.footer-ice-texture { opacity:.25 !important; }
@media (max-width:670px) {
  .header-ice-texture { opacity:.20 !important; }
  .footer-ice-texture { opacity:.21 !important; }
}

/* One complete gentle zoom-in / zoom-out every 72 seconds.
   CSS individual scale is separate from the transform animated by the
   existing motion rules, avoiding transform overrides or snapped loops. */
@keyframes nahc81214-slow-photo-breath {
  0%, 100% { scale:1; }
  50% { scale:1.028; }
}

@media (prefers-reduced-motion:no-preference) {
  .hero-image img {
    animation:
      nahc8128-hero 26s linear infinite alternate,
      nahc81214-slow-photo-breath 72s ease-in-out infinite !important;
    will-change:transform,scale;
  }
  .site-header::before {
    animation:
      nahc81212-header-photo 45s linear infinite alternate,
      nahc81214-slow-photo-breath 72s ease-in-out infinite !important;
    will-change:transform,scale;
  }
  .countdown-skate {
    animation:
      nahc8128-countdown 18s linear infinite alternate,
      nahc81214-slow-photo-breath 72s ease-in-out infinite !important;
    will-change:transform,scale;
  }
  .announcement-scene img {
    animation:
      nahc8128-announcement 21s linear infinite alternate,
      nahc81214-slow-photo-breath 72s ease-in-out infinite !important;
    will-change:transform,scale;
  }
  .site-footer::before {
    animation:
      nahc8128-footer 23s linear infinite alternate,
      nahc81214-slow-photo-breath 72s ease-in-out infinite !important;
    will-change:transform,scale;
  }
}
@media (prefers-reduced-motion:reduce), (forced-colors:active) {
  .hero-image img,
  .site-header::before,
  .countdown-skate,
  .announcement-scene img,
  .site-footer::before {
    animation:none !important;
    transform:none !important;
    scale:none !important;
    will-change:auto !important;
  }
}
@media (forced-colors:active) {
  .site-header,.site-footer { background:Canvas !important; }
  .site-header::after,.site-footer::after,
  .header-ice-texture,.footer-ice-texture { display:none !important; }
}
