/* Holiday styling for the Traffic Regulators theme. */
/* Original mid-century holiday-storybook refinements for the contact characters. */
.trf-christmas .holiday-contact-scene {
  width: 190px;
  height: 192px;
}

.trf-christmas .holiday-contact-scene::after {
  position: absolute;
  right: 5px;
  bottom: 1px;
  left: 3px;
  z-index: -1;
  height: 20px;
  border: 2px solid rgba(17, 17, 17, 0.16);
  border-top: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 -5px 0 rgba(117, 185, 206, 0.13);
  content: "";
}

.trf-christmas .holiday-reindeer {
  top: 1px;
  width: 128px;
  height: 180px;
  filter: drop-shadow(0 9px 8px rgba(55, 33, 25, 0.18));
}

.trf-christmas .reindeer-head {
  top: 43px;
  left: 23px;
  width: 83px;
  height: 101px;
  border: 4px solid #2d211d;
  border-radius: 52% 52% 46% 46% / 42% 42% 60% 60%;
  background:
    radial-gradient(circle at 31% 32%, rgba(255, 238, 210, 0.34) 0 12%, transparent 13%),
    linear-gradient(145deg, #d59a67 0%, #b66d48 58%, #925039 100%);
  box-shadow: inset -7px -8px 0 rgba(94, 46, 33, 0.12);
}

.trf-christmas .reindeer-head::before {
  position: absolute;
  top: -17px;
  left: 24px;
  width: 31px;
  height: 22px;
  background: #8d4c34;
  clip-path: polygon(0 100%, 15% 20%, 42% 60%, 58% 0, 72% 61%, 100% 25%, 90% 100%);
  content: "";
}

.trf-christmas .reindeer-antler {
  top: 1px;
  width: 33px;
  height: 49px;
  border-top-width: 5px;
  border-left-width: 5px;
  border-color: #513525;
}

.trf-christmas .reindeer-antler::before,
.trf-christmas .reindeer-antler::after {
  height: 5px;
  background: #513525;
}

.trf-christmas .reindeer-antler--left { left: 25px; }
.trf-christmas .reindeer-antler--right { right: 18px; }

.trf-christmas .reindeer-ear {
  top: 49px;
  width: 38px;
  height: 26px;
  border-width: 4px;
  border-color: #2d211d;
  background: linear-gradient(145deg, #d59a67 0 58%, #efb19f 59% 100%);
}

.trf-christmas .reindeer-ear--left { left: 2px; rotate: 14deg; }
.trf-christmas .reindeer-ear--right { right: 0; rotate: 14deg; }

.trf-christmas .reindeer-eye {
  top: 22px;
  width: 17px;
  height: 21px;
  border: 2px solid #2d211d;
  background: #fffdf7;
  box-shadow: none;
}

.trf-christmas .reindeer-eye::after {
  position: absolute;
  right: 3px;
  bottom: 2px;
  width: 8px;
  height: 11px;
  border-radius: 50%;
  background: #181210;
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.88);
  content: "";
}

.trf-christmas .reindeer-eye--left { left: 15px; }
.trf-christmas .reindeer-eye--right { right: 15px; }

.trf-christmas .reindeer-muzzle {
  bottom: 5px;
  left: 12px;
  width: 52px;
  height: 44px;
  border: 3px solid rgba(45, 33, 29, 0.86);
  background: linear-gradient(#f0c39c, #e5ac82);
}

.trf-christmas .reindeer-muzzle::after {
  position: absolute;
  bottom: 5px;
  left: 17px;
  width: 15px;
  height: 8px;
  border-bottom: 3px solid #5b3025;
  border-radius: 50%;
  content: "";
}

.trf-christmas .reindeer-nose {
  right: auto;
  bottom: 24px;
  left: 50%;
  width: 29px;
  height: 23px;
  border: 3px solid #671521;
  background: radial-gradient(circle at 35% 30%, #ff9ba4 0 10%, #e83c4b 11% 52%, #a82030 100%);
  box-shadow: 0 0 8px rgba(232, 60, 75, 0.5);
  transform: translateX(-50%);
}

.trf-christmas .reindeer-bell {
  bottom: 1px;
  left: 47px;
  width: 29px;
  height: 24px;
  border: 3px solid #6f4b12;
  background: linear-gradient(145deg, #ffe39a, #e5a82d);
}

.trf-christmas .reindeer-bell::before {
  position: absolute;
  top: -10px;
  left: -28px;
  z-index: -1;
  width: 79px;
  height: 13px;
  border: 3px solid #671521;
  border-radius: 9px;
  background: #b92838;
  content: "";
}

.trf-christmas .holiday-snowman {
  top: 0;
  width: 134px;
  height: 187px;
  filter: drop-shadow(0 9px 8px rgba(17, 17, 17, 0.14));
}

.trf-christmas .snowman-hat {
  top: 0;
  left: 31px;
  width: 70px;
  height: 35px;
  border: 4px solid #111;
  background: #171717;
  box-shadow: inset 0 -9px 0 #b92838;
}

.trf-christmas .snowman-hat::before {
  position: absolute;
  top: 14px;
  right: 3px;
  width: 11px;
  height: 11px;
  border-radius: 70% 0 70% 0;
  background: #2f725d;
  box-shadow: -7px 3px 0 #2f725d, 1px 7px 0 -3px #d43b49;
  content: "";
  rotate: -26deg;
}

.trf-christmas .snowman-hat::after {
  right: -14px;
  bottom: -8px;
  left: -14px;
  height: 7px;
  background: #111;
}

.trf-christmas .snowman-head {
  top: 28px;
  left: 31px;
  width: 72px;
  height: 70px;
  border-width: 4px;
  background: linear-gradient(145deg, #fff 0 58%, #e9f1f4 100%);
  box-shadow: inset -6px -5px 0 rgba(117, 185, 206, 0.12);
}

.trf-christmas .snowman-head::before,
.trf-christmas .snowman-head::after {
  position: absolute;
  top: 40px;
  width: 10px;
  height: 6px;
  border-radius: 50%;
  background: rgba(217, 91, 100, 0.34);
  content: "";
}

.trf-christmas .snowman-head::before { left: 8px; }
.trf-christmas .snowman-head::after { right: 8px; }

.trf-christmas .snowman-body {
  top: 88px;
  left: 18px;
  width: 99px;
  height: 99px;
  border-width: 4px;
  background: linear-gradient(145deg, #fff 0 58%, #e9f1f4 100%);
  box-shadow: inset -8px -6px 0 rgba(117, 185, 206, 0.12);
}

.trf-christmas .snowman-body::before {
  position: absolute;
  top: -7px;
  left: 7px;
  z-index: 4;
  width: 78px;
  height: 17px;
  border: 3px solid #741c27;
  border-radius: 9px;
  background: #b92838;
  content: "";
  rotate: -3deg;
}

.trf-christmas .snowman-body::after {
  position: absolute;
  top: 2px;
  right: 2px;
  z-index: 3;
  width: 17px;
  height: 45px;
  border: 3px solid #741c27;
  border-radius: 0 0 8px 8px;
  background: repeating-linear-gradient(0deg, #b92838 0 9px, #f4c76b 9px 13px);
  content: "";
  rotate: -12deg;
}

.trf-christmas .snowman-eye {
  top: 21px;
  width: 7px;
  height: 9px;
  background: #111;
}

.trf-christmas .snowman-eye--left { left: 18px; }
.trf-christmas .snowman-eye--right { right: 18px; }

.trf-christmas .snowman-nose {
  top: 32px;
  left: 32px;
  border-top-width: 5px;
  border-bottom-width: 5px;
  border-left: 24px solid #eb7026;
  filter: drop-shadow(1px 1px 0 #9e3f15);
}

.trf-christmas .snowman-smile {
  bottom: 10px;
  left: 18px;
  width: 30px;
  height: 15px;
  border-bottom: 4px dotted #111;
}

.trf-christmas .snowman-button--one { top: 35px; left: 42px; }
.trf-christmas .snowman-button--two { top: 62px; left: 42px; }

.trf-christmas .snowman-arm--wave {
  top: 105px;
  left: 0;
}

.trf-christmas .snowman-arm--paddle {
  top: 108px;
  right: -4px;
}

.trf-christmas .holiday-contact-paddle--snowman {
  right: -1px;
  bottom: 6px;
}

@media (max-width: 760px) {
  .trf-christmas .holiday-contact-scene {
    width: 190px;
    height: 192px;
  }
}

/* Holiday contact-card characters and traffic-control details. */
.trf-christmas .contact-holiday-card {
  isolation: isolate;
}

.trf-christmas .holiday-contact-scene {
  position: absolute;
  top: 286px;
  right: 34px;
  z-index: 3;
  width: 176px;
  height: 184px;
  pointer-events: none;
}

.holiday-reindeer {
  position: absolute;
  top: 12px;
  left: 0;
  width: 112px;
  height: 154px;
  filter: drop-shadow(0 9px 8px rgba(7, 29, 42, 0.17));
}

.reindeer-antler {
  position: absolute;
  top: 0;
  z-index: 0;
  width: 29px;
  height: 46px;
  border-top: 4px solid #3a271f;
  border-left: 4px solid #3a271f;
  border-radius: 70% 0 0;
}

.reindeer-antler::before,
.reindeer-antler::after {
  position: absolute;
  width: 18px;
  height: 4px;
  border-radius: 4px;
  background: #3a271f;
  content: "";
  transform-origin: left center;
}

.reindeer-antler::before { top: 8px; left: -1px; rotate: -48deg; }
.reindeer-antler::after { top: 20px; left: -3px; rotate: -34deg; }
.reindeer-antler--left { left: 24px; rotate: -13deg; }
.reindeer-antler--right { right: 22px; scale: -1 1; rotate: -13deg; }

.reindeer-ear {
  position: absolute;
  top: 42px;
  z-index: 1;
  width: 32px;
  height: 22px;
  border: 3px solid #39251c;
  border-radius: 80% 14% 80% 18%;
  background: #c98659;
}

.reindeer-ear--left { left: 7px; rotate: 18deg; }
.reindeer-ear--right { right: 7px; scale: -1 1; rotate: 18deg; }

.reindeer-head {
  position: absolute;
  top: 37px;
  left: 23px;
  z-index: 2;
  width: 68px;
  height: 89px;
  border: 3px solid #39251c;
  border-radius: 48% 48% 43% 43% / 40% 40% 58% 58%;
  background: linear-gradient(150deg, #c88556, #9a5639);
}

.reindeer-eye {
  position: absolute;
  top: 24px;
  width: 7px;
  height: 10px;
  border-radius: 50%;
  background: #16110f;
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.72);
}

.reindeer-eye--left { left: 16px; }
.reindeer-eye--right { right: 16px; }

.reindeer-muzzle {
  position: absolute;
  bottom: 8px;
  left: 10px;
  width: 42px;
  height: 35px;
  border: 2px solid rgba(57, 37, 28, 0.76);
  border-radius: 48% 48% 55% 55%;
  background: #e8b78c;
}

.reindeer-nose {
  position: absolute;
  right: 22px;
  bottom: 25px;
  z-index: 2;
  width: 20px;
  height: 16px;
  border: 2px solid #6e1520;
  border-radius: 50%;
  background: #cf2f3d;
  box-shadow: 0 0 6px rgba(207, 47, 61, 0.38);
}

.reindeer-bell {
  position: absolute;
  bottom: 8px;
  left: 46px;
  z-index: 3;
  width: 24px;
  height: 20px;
  border: 2px solid #7c5516;
  border-radius: 50% 50% 42% 42%;
  background: #f4c76b;
  box-shadow: inset 0 -5px 0 rgba(124, 85, 22, 0.14);
}

.reindeer-bell::after {
  position: absolute;
  bottom: -3px;
  left: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7c5516;
  content: "";
}

.holiday-contact-paddle {
  position: absolute;
  right: 0;
  bottom: 3px;
  width: 64px;
  height: 150px;
  perspective: 700px;
}

.holiday-contact-paddle-handle {
  position: absolute;
  top: 55px;
  left: 27px;
  width: 11px;
  height: 92px;
  border: 1px solid rgba(116, 28, 39, 0.52);
  border-radius: 0 0 6px 6px;
  background: repeating-linear-gradient(135deg, #fff 0 8px, #c9333e 8px 16px);
  box-shadow: 0 7px 11px rgba(7, 29, 42, 0.2);
}

.holiday-contact-paddle-rotor {
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 2;
  display: block;
  width: 64px;
  height: 64px;
  transform-style: preserve-3d;
}

.holiday-contact-paddle-face {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: auto;
  backface-visibility: hidden;
  filter: drop-shadow(0 6px 5px rgba(7, 29, 42, 0.22));
}

.holiday-contact-paddle-face--slow { transform: rotateY(180deg); }

.holiday-snowman {
  position: absolute;
  top: 4px;
  left: 0;
  width: 118px;
  height: 174px;
  filter: drop-shadow(0 9px 8px rgba(7, 29, 42, 0.14));
}

.snowman-hat {
  position: absolute;
  top: 0;
  left: 28px;
  z-index: 5;
  width: 61px;
  height: 29px;
  border: 3px solid #111;
  border-bottom-width: 5px;
  border-radius: 4px 4px 1px 1px;
  background: #fff;
}

.snowman-hat::after {
  position: absolute;
  right: -12px;
  bottom: -8px;
  left: -12px;
  height: 5px;
  border-radius: 5px;
  background: #111;
  content: "";
}

.snowman-head,
.snowman-body {
  position: absolute;
  border: 3px solid #111;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
}

.snowman-head {
  top: 23px;
  left: 29px;
  z-index: 3;
  width: 61px;
  height: 61px;
}

.snowman-body {
  top: 77px;
  left: 18px;
  z-index: 2;
  width: 84px;
  height: 91px;
}

.snowman-eye,
.snowman-button {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #111;
}

.snowman-eye { top: 20px; }
.snowman-eye--left { left: 15px; }
.snowman-eye--right { right: 15px; }

.snowman-nose {
  position: absolute;
  top: 29px;
  left: 26px;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 18px solid #e96a24;
}

.snowman-smile {
  position: absolute;
  bottom: 9px;
  left: 17px;
  width: 25px;
  height: 13px;
  border-bottom: 3px dotted #111;
  border-radius: 50%;
}

.snowman-button--one { top: 28px; left: 36px; }
.snowman-button--two { top: 51px; left: 36px; }

.snowman-arm {
  position: absolute;
  z-index: 1;
  width: 43px;
  height: 4px;
  border-radius: 4px;
  background: #111;
}

.snowman-arm::after {
  position: absolute;
  top: -8px;
  width: 19px;
  height: 4px;
  border-radius: 4px;
  background: #111;
  content: "";
  rotate: -38deg;
}

.snowman-arm--wave {
  top: 91px;
  left: 1px;
  transform: rotate(31deg);
  transform-origin: right center;
}

.snowman-arm--wave::after { left: -2px; }

.snowman-arm--paddle {
  top: 96px;
  right: -7px;
  transform: rotate(-23deg);
  transform-origin: left center;
}

.snowman-arm--paddle::after { right: -3px; rotate: 38deg; }

.holiday-contact-paddle--snowman {
  right: -2px;
  bottom: 8px;
  rotate: 5deg;
}

.trf-christmas .contact-holiday-card:hover .holiday-contact-paddle-rotor,
.trf-christmas .contact-holiday-card:focus-within .holiday-contact-paddle-rotor,
.trf-christmas .contact-holiday-card.is-in-view .holiday-contact-paddle-rotor {
  animation: trf-contact-paddle-flip 5.8s ease-in-out infinite;
}

.trf-christmas .contact-holiday-card--reindeer:hover .reindeer-nose,
.trf-christmas .contact-holiday-card--reindeer:focus-within .reindeer-nose,
.trf-christmas .contact-holiday-card--reindeer.is-in-view .reindeer-nose {
  animation: trf-reindeer-nose-glow 3.8s ease-in-out infinite;
}

.trf-christmas .contact-holiday-card--snowman:hover .snowman-arm--wave,
.trf-christmas .contact-holiday-card--snowman:focus-within .snowman-arm--wave,
.trf-christmas .contact-holiday-card--snowman.is-in-view .snowman-arm--wave {
  animation: trf-snowman-wave 1.45s ease-in-out infinite;
}

.trf-christmas .contact-holiday-card:hover .office-contact-name .contact-name-letter,
.trf-christmas .contact-holiday-card:focus-within .office-contact-name .contact-name-letter,
.trf-christmas .contact-holiday-card.is-in-view .office-contact-name .contact-name-letter {
  text-shadow: 0 1px 0 #fff, 0 0 8px rgba(255, 255, 255, 0.75);
}

.trf-christmas .contact-holiday-card:hover .contact-name-letter:nth-child(4n + 1),
.trf-christmas .contact-holiday-card:focus-within .contact-name-letter:nth-child(4n + 1),
.trf-christmas .contact-holiday-card.is-in-view .contact-name-letter:nth-child(4n + 1) { color: #b32032; }

.trf-christmas .contact-holiday-card:hover .contact-name-letter:nth-child(4n + 2),
.trf-christmas .contact-holiday-card:focus-within .contact-name-letter:nth-child(4n + 2),
.trf-christmas .contact-holiday-card.is-in-view .contact-name-letter:nth-child(4n + 2) { color: #17604d; }

.trf-christmas .contact-holiday-card:hover .contact-name-letter:nth-child(4n + 3),
.trf-christmas .contact-holiday-card:focus-within .contact-name-letter:nth-child(4n + 3),
.trf-christmas .contact-holiday-card.is-in-view .contact-name-letter:nth-child(4n + 3) { color: #b07816; }

.trf-christmas .contact-holiday-card:hover .contact-name-letter:nth-child(4n),
.trf-christmas .contact-holiday-card:focus-within .contact-name-letter:nth-child(4n),
.trf-christmas .contact-holiday-card.is-in-view .contact-name-letter:nth-child(4n) { color: #256f8d; }

@keyframes trf-contact-paddle-flip {
  0%, 40% { transform: rotateY(0); }
  50%, 90% { transform: rotateY(180deg); }
  100% { transform: rotateY(360deg); }
}

@keyframes trf-reindeer-nose-glow {
  0%, 100% { background: #e83c4b; box-shadow: 0 0 6px rgba(232, 60, 75, 0.45), 0 0 13px rgba(232, 60, 75, 0.2); }
  45% { background: #781c29; box-shadow: 0 0 0 rgba(120, 28, 41, 0); }
  58% { background: #ff4a58; box-shadow: 0 0 10px rgba(255, 74, 88, 0.8), 0 0 22px rgba(255, 74, 88, 0.42); }
}

@keyframes trf-snowman-wave {
  0%, 100% { transform: rotate(31deg); }
  50% { transform: rotate(67deg); }
}

@media (max-width: 760px) {
  .trf-christmas .holiday-contact-scene {
    position: relative;
    top: auto;
    right: auto;
    width: 176px;
    height: 178px;
    margin: 24px auto -8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trf-christmas .holiday-contact-paddle-rotor,
  .trf-christmas .reindeer-nose,
  .trf-christmas .snowman-arm--wave {
    animation: none !important;
  }

  .trf-christmas .reindeer-nose {
    background: #e83c4b;
    box-shadow: 0 0 8px rgba(232, 60, 75, 0.55);
  }
}

/* Holiday Edition: handcrafted winter presentation layered over the 2.2.0 theme. */
body.trf-christmas {
  --winter-navy: #071d2a;
  --winter-blue: #123b52;
  --evergreen: #123f35;
  --evergreen-light: #286956;
  --cranberry: #a72c36;
  --cranberry-dark: #741c27;
  --warm-gold: #f4c76b;
  --snow: #f7fbff;
  --ice: #dbeaf2;
  background:
    linear-gradient(rgba(247, 251, 255, 0.94), rgba(247, 251, 255, 0.94)),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(18, 59, 82, 0.035) 18px 19px);
}

.trf-christmas .site-header {
  position: relative;
  z-index: 20;
  border-bottom-color: rgba(244, 199, 107, 0.42);
  background:
    linear-gradient(90deg, rgba(7, 29, 42, 0.98), rgba(18, 63, 53, 0.98)),
    var(--winter-navy);
  box-shadow: 0 12px 34px rgba(4, 20, 28, 0.26);
}

.trf-christmas .site-header::before {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 10px;
  border-top: 2px solid rgba(38, 58, 45, 0.92);
  background: repeating-linear-gradient(90deg, transparent 0 25px, rgba(38, 58, 45, 0.9) 26px 28px, transparent 29px 52px);
  content: "";
  pointer-events: none;
}

.trf-christmas .site-header::after {
  display: none;
}

.trf-christmas .site-header .primary-navigation {
  position: relative;
  z-index: 4;
}

.trf-christmas .site-header .mobile-navigation:not([hidden]) {
  z-index: 4;
}

.holiday-lights {
  position: absolute;
  right: 0;
  bottom: -22px;
  left: 0;
  z-index: 3;
  display: flex;
  height: 25px;
  align-items: flex-start;
  justify-content: space-around;
  pointer-events: none;
}

.holiday-lights::before {
  position: absolute;
  top: 1px;
  right: 0;
  left: 0;
  height: 2px;
  background: #263a2d;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  content: "";
}

.holiday-lights span {
  position: relative;
  width: 10px;
  height: 13px;
  margin-top: 6px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50% 50% 46% 46%;
  background: #f6d477;
  box-shadow: 0 0 5px #f6d477, 0 0 12px rgba(246, 212, 119, 0.62);
  transform-origin: 50% -5px;
  animation: trf-holiday-bulb-flicker 12s ease-in-out var(--light-delay, 0s) infinite;
}

.holiday-lights span::before {
  position: absolute;
  top: -5px;
  left: 2px;
  width: 4px;
  height: 5px;
  border-radius: 2px 2px 0 0;
  background: #263a2d;
  content: "";
}

.holiday-lights span:nth-child(4n + 2) {
  background: #d6535b;
  box-shadow: 0 0 5px #d6535b, 0 0 12px rgba(214, 83, 91, 0.62);
  rotate: 5deg;
}

.holiday-lights span:nth-child(4n + 3) {
  background: #75b9ce;
  box-shadow: 0 0 5px #75b9ce, 0 0 12px rgba(117, 185, 206, 0.62);
  rotate: -4deg;
}

.holiday-lights span:nth-child(4n) {
  background: #7ac08a;
  box-shadow: 0 0 5px #7ac08a, 0 0 12px rgba(122, 192, 138, 0.62);
  rotate: 3deg;
}

@keyframes trf-holiday-bulb-flicker {
  0%, 30%, 100% { opacity: 0.98; filter: brightness(1.12); }
  48%, 77% { opacity: 0.66; filter: brightness(0.85); }
  62% { opacity: 0.49; filter: brightness(0.71); }
}

.christmas-snow {
  position: fixed;
  inset: 0;
  z-index: 9;
  overflow: hidden;
  pointer-events: none;
}

.christmas-snow span {
  position: absolute;
  top: -7vh;
  left: calc(var(--snow-x) * 1%);
  width: var(--snow-size);
  height: var(--snow-size);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 8px rgba(213, 237, 249, 0.9);
  opacity: 0.86;
  animation: trf-snowfall var(--snow-duration) linear var(--snow-delay) infinite;
}

.christmas-snow span:nth-child(3n) {
  border-radius: 2px;
  transform: rotate(45deg);
}

.christmas-snow.is-paused span {
  animation-play-state: paused;
}

@keyframes trf-snowfall {
  0% { translate: 0 -8vh; rotate: 0deg; }
  35% { translate: 24px 34vh; }
  70% { translate: -18px 72vh; }
  100% { translate: 12px 112vh; rotate: 280deg; }
}

.christmas-snow-toggle {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 90;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(7, 29, 42, 0.92);
  color: white;
  box-shadow: 0 10px 30px rgba(4, 20, 28, 0.28);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.christmas-snow-toggle > span:first-child {
  color: #bfe7f5;
  font-size: 1rem;
}

.trf-christmas .hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 25, 37, 0.9) 0%, rgba(12, 56, 61, 0.55) 53%, rgba(8, 35, 49, 0.14) 84%),
    linear-gradient(0deg, rgba(5, 25, 37, 0.78) 0%, transparent 52%);
}

.trf-christmas .hero-panel {
  border: 1px solid rgba(219, 234, 242, 0.42);
  border-left: 5px solid var(--warm-gold);
  border-radius: 0 14px 14px 0;
  background:
    linear-gradient(110deg, rgba(7, 29, 42, 0.88), rgba(18, 63, 53, 0.56)),
    rgba(7, 29, 42, 0.65);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(9px) saturate(1.08);
}

.trf-christmas .hero-panel h1 em {
  color: var(--warm-gold);
  text-shadow: 0 0 26px rgba(244, 199, 107, 0.24);
}

.trf-christmas .hero::after {
  position: absolute;
  right: -3%;
  bottom: -18px;
  left: -3%;
  z-index: 4;
  height: 54px;
  border-radius: 52% 44% 0 0 / 70% 65% 0 0;
  background:
    radial-gradient(ellipse at 18% 28%, white 0 24%, transparent 25%),
    radial-gradient(ellipse at 54% 38%, #f7fbff 0 28%, transparent 29%),
    radial-gradient(ellipse at 84% 25%, white 0 26%, transparent 27%),
    linear-gradient(#f7fbff, #e8f2f7);
  box-shadow: 0 -8px 24px rgba(222, 240, 248, 0.34);
  content: "";
  pointer-events: none;
}

.trf-christmas .capabilities {
  background: linear-gradient(90deg, #0d332c, #164d40, #0d332c);
}

.trf-christmas .capabilities div {
  border-right-color: rgba(244, 199, 107, 0.2);
}

.trf-christmas .capabilities span {
  color: var(--warm-gold);
}

.christmas-greeting {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 920px);
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(70px, 9vw, 118px) clamp(24px, 7vw, 118px);
  border-top: 1px solid rgba(18, 63, 53, 0.14);
  border-bottom: 1px solid rgba(18, 63, 53, 0.14);
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.45) 0 1px, transparent 1px 5px),
    linear-gradient(135deg, #f8fbfc 0%, #e8f1ee 56%, #f5f0e6 100%);
}

.christmas-greeting::before,
.christmas-greeting::after {
  position: absolute;
  width: 190px;
  height: 190px;
  border: 30px solid rgba(18, 63, 53, 0.07);
  border-radius: 50%;
  content: "";
}

.christmas-greeting::before { top: -105px; left: -70px; }
.christmas-greeting::after { right: -80px; bottom: -112px; }

.christmas-greeting h2 {
  margin: 0 0 20px;
  color: var(--evergreen);
  font-size: clamp(3.1rem, 6.4vw, 6.4rem);
  line-height: 0.92;
}

.christmas-greeting p:last-child {
  max-width: 720px;
  margin: 0;
  color: rgba(7, 29, 42, 0.74);
  font-size: 1.05rem;
  line-height: 1.75;
}

.christmas-greeting > div:first-child {
  position: relative;
  z-index: 2;
}

.holiday-paddle-decor {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.holiday-paddle {
  --paddle-tilt: -10deg;
  position: absolute;
  bottom: -58px;
  display: flex;
  width: clamp(82px, 8vw, 122px);
  align-items: center;
  flex-direction: column;
  opacity: 0.9;
  filter: drop-shadow(0 12px 12px rgba(7, 29, 42, 0.2));
  transform: rotate(var(--paddle-tilt));
  transform-origin: 50% 100%;
  animation: trf-holiday-paddle-sway 4.8s ease-in-out infinite;
}

.holiday-paddle img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.holiday-paddle span {
  width: clamp(10px, 0.85vw, 14px);
  height: clamp(92px, 9vw, 138px);
  margin-top: -7px;
  border: 1px solid rgba(116, 28, 39, 0.45);
  border-radius: 0 0 7px 7px;
  background: repeating-linear-gradient(135deg, #fff 0 9px, #c9333e 9px 18px);
  box-shadow: 0 8px 14px rgba(7, 29, 42, 0.18);
}

.holiday-paddle--stop { left: clamp(24px, 4vw, 74px); }

.holiday-paddle--slow {
  --paddle-tilt: 11deg;
  right: clamp(24px, 4vw, 74px);
  animation-delay: -1.9s;
}

.holiday-paddle--mini {
  --paddle-tilt: 17deg;
  top: -45px;
  bottom: auto;
  left: clamp(175px, 16vw, 310px);
  width: clamp(64px, 6vw, 90px);
  opacity: 0.58;
  animation-delay: -3.1s;
}

@keyframes trf-holiday-paddle-sway {
  0%, 100% { transform: rotate(var(--paddle-tilt)) translateY(0); }
  50% { transform: rotate(calc(var(--paddle-tilt) + 2deg)) translateY(-7px); }
}

.trf-christmas .paddle-visual::after {
  border-color: rgba(116, 28, 39, 0.5);
  background: repeating-linear-gradient(135deg, #fff 0 8px, #c9333e 8px 16px);
}

.trf-christmas .services {
  background:
    radial-gradient(circle at 18px 18px, rgba(18, 59, 82, 0.035) 0 2px, transparent 3px) 0 0 / 44px 44px,
    var(--snow);
}

.trf-christmas .service-card {
  border-top-color: rgba(18, 63, 53, 0.24);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(7, 29, 42, 0.07);
}

.trf-christmas .service-card:hover,
.trf-christmas .service-card:focus-within {
  border-top-color: var(--cranberry);
  background: white;
  box-shadow: 0 24px 58px rgba(7, 29, 42, 0.13);
}

.trf-christmas .service-image::after,
.trf-christmas .safety-image::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), transparent 18%),
    linear-gradient(315deg, rgba(219, 234, 242, 0.22), transparent 22%);
  content: "";
  pointer-events: none;
}

.trf-christmas .service-image span {
  background: var(--cranberry);
  color: white;
}

.trf-christmas .safety-section {
  background: linear-gradient(135deg, #092b27, #12473b 58%, #092b27);
}

.trf-christmas .safety-copy li::before {
  color: var(--warm-gold);
}

.trf-christmas .process {
  background: linear-gradient(#f7fbff, #edf4f6);
}

.trf-christmas .process-grid {
  border-color: rgba(18, 63, 53, 0.2);
  background: rgba(255, 255, 255, 0.68);
}

.trf-christmas .process-grid article:hover,
.trf-christmas .process-grid article:focus-within {
  background: rgba(18, 63, 53, 0.07);
  box-shadow: inset 0 4px 0 var(--cranberry);
}

.trf-christmas .process-grid span {
  color: var(--cranberry);
}

.trf-christmas .careers {
  position: relative;
  color: white;
  background-color: var(--cranberry-dark);
  background-image:
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(255, 255, 255, 0.045) 22px 24px, transparent 24px 46px),
    repeating-linear-gradient(-45deg, transparent 0 22px, rgba(244, 199, 107, 0.055) 22px 24px, transparent 24px 46px),
    linear-gradient(115deg, #6f1b27, #a32d36 55%, #15483c 100%);
}

.trf-christmas .careers .eyebrow,
.trf-christmas .careers p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.trf-christmas .careers-contact,
.trf-christmas .careers-contact span {
  color: white;
}

.trf-christmas .application-hero,
.trf-christmas .contact-hero,
.trf-christmas .policy-hero {
  background-color: var(--winter-navy);
  background-blend-mode: multiply;
}

.trf-christmas .application-section,
.trf-christmas .contact-locations,
.trf-christmas .policy-layout,
.trf-christmas .employee-tool,
.trf-christmas .standard-page {
  background:
    radial-gradient(circle at 20px 20px, rgba(18, 59, 82, 0.03) 0 2px, transparent 3px) 0 0 / 48px 48px,
    var(--snow);
}

.trf-christmas .location-card,
.trf-christmas .application-embed,
.trf-christmas .policy-content,
.trf-christmas .employee-form-embed,
.trf-christmas .standard-page-content {
  border-top-color: var(--cranberry);
  box-shadow: 0 20px 52px rgba(7, 29, 42, 0.09);
}

.trf-christmas .scheduling-card {
  border-top-color: var(--warm-gold);
  background: linear-gradient(120deg, #9f2934 0%, #b63a42 52%, #1e5b4c 100%);
}

.trf-christmas .cookie-consent-modal,
.trf-christmas .access-modal {
  border-top-color: var(--cranberry);
}

.trf-christmas footer {
  position: relative;
  overflow: hidden;
  padding-top: 122px;
  background:
    linear-gradient(120deg, rgba(7, 29, 42, 0.98), rgba(14, 59, 51, 0.98)),
    var(--winter-navy);
}

.trf-christmas footer::before {
  position: absolute;
  top: -22px;
  right: -3%;
  left: -3%;
  height: 62px;
  border-radius: 0 0 48% 54% / 0 0 70% 62%;
  background:
    radial-gradient(ellipse at 15% 60%, white 0 24%, transparent 25%),
    radial-gradient(ellipse at 48% 50%, #f7fbff 0 28%, transparent 29%),
    radial-gradient(ellipse at 82% 58%, white 0 26%, transparent 27%),
    linear-gradient(#e9f3f7, #f7fbff);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  content: "";
}

.trf-christmas .footer-top {
  border-bottom-color: rgba(244, 199, 107, 0.24);
}

.trf-christmas .footer-meta .footer-version,
.trf-christmas .footer-contact-link {
  color: var(--warm-gold);
}

@media (max-width: 760px) {
  .christmas-snow span:nth-child(n + 19) {
    display: none;
  }

  .christmas-snow-toggle {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    padding: 9px 11px;
    font-size: 0.6rem;
  }

  .trf-christmas .site-header::after {
    display: none;
  }

  .holiday-lights span:nth-child(n + 19) {
    display: none;
  }

  .trf-christmas .hero-panel {
    border-right: 1px solid rgba(219, 234, 242, 0.42);
    border-left: 1px solid rgba(219, 234, 242, 0.42);
    border-top-color: var(--warm-gold);
    border-radius: 12px;
  }

  .christmas-greeting {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .christmas-greeting .eyebrow {
    justify-content: center;
  }

  .christmas-greeting p:last-child {
    margin-inline: auto;
  }

  .holiday-paddle {
    bottom: -92px;
    width: 68px;
    opacity: 0.72;
  }

  .holiday-paddle span {
    width: 9px;
    height: 82px;
  }

  .holiday-paddle--stop { left: 12px; }
  .holiday-paddle--slow { right: 12px; }
  .holiday-paddle--mini { display: none; }

  .trf-christmas footer {
    padding-top: 96px;
  }
}

@media (max-width: 430px) {
  .christmas-snow-toggle [data-snow-toggle-label] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
  }

  .christmas-snow-toggle {
    width: 44px;
    justify-content: center;
    padding: 0;
  }

  .christmas-snow-toggle > span:first-child {
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .christmas-snow,
  .christmas-snow-toggle {
    display: none;
  }

  .trf-christmas .site-header::after {
    animation: none;
  }

  .holiday-lights span,
  .holiday-paddle {
    animation: none;
  }
}


/* Final contact-card treatment: paddles only, positioned beside each contact name. */
.trf-christmas .contact-holiday-card .location-contact-group {
  position: relative;
}

.trf-christmas .holiday-contact-paddle-spot {
  position: absolute;
  top: -5px;
  left: clamp(205px, 32%, 220px);
  z-index: 3;
  width: 64px;
  height: 150px;
  pointer-events: none;
}

.trf-christmas .holiday-contact-paddle-spot .holiday-contact-paddle {
  position: absolute;
  inset: 0 auto auto 0;
}

@media (max-width: 760px) {
  .trf-christmas .contact-holiday-card .office-contact-name {
    padding-right: 72px;
  }

  .trf-christmas .holiday-contact-paddle-spot {
    top: -4px;
    right: 0;
    left: auto;
    transform: scale(0.82);
    transform-origin: top right;
  }
}
.trf-christmas .eyebrow > span:empty { display: none; }

